A legitimate pope is infallible only on matters of faith and morals when preached to the universal Church.
It is obvious that Jorge Bergoglio has neither faith nor morals.
A legitimate pope....
Is chosen by the College of Cardinals who declare him to be the Pope. Thats as legit as it gets according the RCC doctrine.
L