Where did you take the car to be repaired? If you have a cert BMW Repair shop that est will go +++. I hit a deer with a crimson e90 and had about 10k in dmg. That was just to paint, replace hood, bumper, xenon light, intake, and rad.
Sounds like you had alot more dmg and this should be totaled esp with airbag deployment.
If you were not at fault try for diminished value through the other part's insurance. Once a car has "Airbag Deployment" your resale value is about as credible as a Nigerian lottery winner email.
GL because the car is worth next to nothing now IMO.