AMENDED AND RESTATED CREDIT AGREEMENT Originally dated as of July 11, 2005 among ALLIS-CHALMERS ENERGY INC., as the Borrower, ROYAL BANK OF CANADA, as Administrative Agent and as Collateral Agent and The Lenders Party Hereto SENIOR CREDIT FACILITY RBC...