For example

The two companies sorted out their several responsibilities prior to the merge.