Talk out (a problem)

To discuss something until everything is agreed upon, to settle something.

We stayed up late last night and talked out the problem.