Any person, other than a law enforcement officer or school sentinel under § 13-64-1, who intentionally carries, possesses, stores, keeps, leaves, places, or puts into the possession of another person, any dangerous weapon, firearm, or air gun, whether or not the firearm or air gun is designed, adapted, used, or intended to be used primarily for imitative or noisemaking purposes, on or in any public elementary or secondary school premises, vehicle, or building, or on or in any premises, vehicle, or building used or leased for public elementary or secondary school functions, whether or not any person is endangered by any action under this section, is guilty of a Class 1 misdemeanor. The provisions of this section do not apply to;
SDCL 13-32-7