M&A commision and compensation

<p>How much do firms get paid for doing deals? I am not only asking how much typical analysts make but also how much the company receives from the deal</p>