AMENDED AND RESTATED CREDIT AGREEMENT dated as of October 19, 2021,