depends on that they want for it, my 6R had only cosmetic damage, frame, engine, and even the tank where not even scratched. They wrote it off, and let me buy it back for $455.
I could part it out for a couple grand, but since it's fine, I am just repairing the plastics I can, and replacing the ones I can't.