If neither candidate gets 270 EV’s, constitution requires state legislatures are required to vote, one vote per state.
Game over.
You almost have it correct. It is not State Legislatures which vote for the President, it is the House of Represenatives voting by State delegation of which the Republicans control at least 27 in the new Congress.
dvwjr