99% totaled.
It's probable that your firewall is meaningfully out of true, and i'd bet that your front subframe is bent to hell as well.
Food for thought:
– Make sure the insurance company values you based on current market
(
https://www.cargurus.com/Cars/price-trends/BMW-M4-d2258)
If feasible, try to buy the car back from insurance after the payout, tell them you're going to use it as a track car, and either do that, or part it out and profit.