Patients undergoing elective carotid endarterectomy were randomized to darapladib @ mg ( n = @ ) , @ mg ( n = @ ) , or placebo ( n = @ ) for @ days , followed by carotid endarterectomy @ hours after the last dose of study medication .