Note that one of the stated goals of the Republican Party and the Trump administration is - Make America the dominant energy producer in the world, by far! and - Keep the US dollar as the world's reserve currency ( https://www.presidency.ucsb.edu/documents/2024-republican-pa... ). Both are linked - the only way the dollar can remain the reserve currency of the world is if the US control oil and gas production (petro-dollars).
Iranians, in effect, are sadly doomed as victims of modern imperialism (and even face a possible genocide from the current genocidal regime of Israel, as they are unlikely to surrender without a fight). It all depends on how much destiny / luck will favour them. If the other Middle-East countries get really jittery, they will pressure the US to end the war. Or, better yet, Iran may still get to retain some of their sovereignty if they can effectively and successfully block the Strait of Hormuz - China will then be forced to get involved in the war, siding with Iran, as blocking of the Strait could mean the death knell for its economy (40-50% of China's and India's oil and gas is mported through it). If China gets involved, the Russian too would be willing to get involved in the military conflict. India would also be forced to choose a side. We would then see either Word War 3, or Iran falling into the Spheres of Influence of China and / or Russia.