In intensive lipid modulation group , the patients were given atorvastatin 40 mg every night before surgery , 80 mg 12 h before surgery , and 40 mg 2 h before surgery , and 40 mg every night after noncardiac surgery .