Herbert Smith Freehills and Baker & McKenzie secured the plum roles in a recent IPO worth more than $300 million.