Legal really will depend on the firm. For my exit, I used a boutique firm that ended up costing around $75k, but when I spoke to even my friends at the larger tech legal firms like Orrick, they wouldn't even consider it for under $250-300k.
It can be pricey.