In your situation most likely it'd be a total loss, which is not bad as it's a good time to buy a new car.
The insurance company will decide if it's a repair or total loss
In your situation most likely it'd be a total loss, which is not bad as it's a good time to buy a new car.