first AMENDED AND RESTATED CREDIT AGREEMENT