The Vicar of Jesus Christ, Pope Paul IV permits us to withdraw with impunity from an alleged Pontiff who appeared to have deviated from the Faith prior to his election, while he was acting as a Bishop of the Catholic Church.
Vatican Council, Session 4: "We teach and declare that, by divine ordinance …the jurisdictional power of the Roman Pontiff is both episcopal and immediate. Both clergy and faithful are bound to submit to this power by the duty of hierarchical subordination and true obedience, and this not only in matters concerning faith and morals, but also in those which regard the discipline and government of the church throughout the world…This is the teaching of the catholic truth, and no one can depart from it without endangering his faith and salvation. ...Since the Roman pontiff, by the divine right of the apostolic primacy, governs the whole church, we likewise teach and declare that: …The sentence of the apostolic see…is not subject to revision by anyone, nor may anyone lawfully pass judgment thereupon. And so…if anyone says that the Roman Pontiff has…not the full and supreme power of jurisdiction…not only in matters of faith and morals, but also in those which concern the discipline and government of the church…or that this power of his is not ordinary and immediate…let him be anathema.”
There is your "recognize and resist". Repent.
What Must You Do To Get to Heaven?