AMENDED AND RESTATED ASSET-BASED REVOLVING CREDIT AGREEMENT