THIRD AMENDED AND RESTATED CREDIT AND GUARANTY AGREEMENT