sounds like a relatively easy repair however your insurance will most likely total it
when, and if, they do, you should have the option to purchase the bike back, however it will now have a salvage title
you'll have to repair it and get it safety tested again for it to be deemed road worthy...