He'll step down, next guy will come in and start passing legislation. It'll be another fight over legitimacy, but they'll pass some bill about funding Israel, the Senate will take that one up, Biden will sign it, then we'll effectively never need a speaker again. Israel gets its money, and the government will still shut down on November 15.