The only way I can see for the US to get back to a functioning state is for the GOP and its supporting societies and individuals to be recognized as a criminal organization, like the Mafia in the 1930s -- devoted to the government of criminals, by criminals, for the criminals.
As a consequence, all elections won by GOP candidates since 2016 would be nullified for having been won by criminals. In particular, it would be established that there was no 45th President, nor a 47th.