Your gun will be confiscated as evidence by the police. You can do nothing about it. Get a lawyer, as you will be viewed as a suspect until proven not guilty.
The gun is the least of your worries. Be prepared to potentially spend thousands, tens of thousands or more depending how they view the scenario.
Of course the laws of your state will have a lot of bearing.