If there’s a war in the Pacific, who defends Australia?

The US wants Australia to clarify its role in any Taiwan-related conflict. But what happens if it spreads?