wrestle with

Verb

 * 1)  To agonize over (something); to debate a quandary or endeavor to come to a conclusion about a difficult issue.
 * I've been wrestling with your problem all night.