Let's take the shoot a burglar scenario and the mob attack scenario and combine them.
Let's say that for whatever reason, a mob of about 10 people has formed and is determined to run you out of your house. They are carrying cans of fuel and lit torches and are screaming 'burn the motherfucker out'. You have every reason to believe that they are going to do exactly that. Other than the torches and gas cans, the group appears to be unarmed.
You are inside armed with either a semiauto AK or AR15 (your choice) with a fully loaded 30 round magazine (and 2 extra mags) and you are wearing a handgun for backup. The police cannot help as the nearest police station is 30 minutes away. By the time they arrive your house will be in ashes. You can, however, make it to your car and safely flee.
This scenario is taking place in rural Indiana, so the Indiana Code is the governing law.
Section dealing with an attack on one's dwelling is bolded.
Sec. 2. (a) A person is justified in using reasonable force against another person to protect the person or a third person from what the person reasonably believes to be the imminent use of unlawful force. However, a person is justified in using deadly force only if the person reasonably believes that that force is necessary to prevent serious bodily injury to the person or a third person or the commission of a forcible felony. No person in this state shall be placed in legal jeopardy of any kind whatsoever for protecting the person or a third person by reasonable means necessary.
(b) A person is justified in using reasonable force, including deadly force, against another person if the person reasonably believes that the force is necessary to prevent or terminate the other person's unlawful entry of or attack on the person's dwelling or curtilage.
(c) With respect to property other than a dwelling or curtilage, a person is justified in using reasonable force against another person if the person reasonably believes that the force is necessary to immediately prevent or terminate the other person's trespass on or criminal interference with property lawfully in the person's possession, lawfully in possession of a member of the person's immediate family, or belonging to a person whose property the person has authority to protect. However, a person is not justified in using deadly force unless that force is justified under subsection (a).
You have the firepower to repel the mob. What do you do?