beat one's brains out to do something
beat one’s brains out (to do something)
tv. to work hard at a task. I’m tired of beating my brains out to do what you want.
McGraw-Hill's Dictionary of American Slang and Colloquial Expressions Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.