hammer out

Verb

 * 1)  To come to (a difficult agreement or settlement) after much arguing and conflict.