AMENDED AND RESTATED AGREEMENT ON REGISTRATION RIGHTS AND OTHER RESALES dated as of October 1, 2021 among XP INC. And THE SHAREHOLDERS NAMED HEREIN