; (C) the possession of a gas-operated semi-automatic firearm that, before the date of enactment of this subsection, was lawfully— (i) manufactured; and (ii) transferred by the manufacturer to another party; or (D) the transfer of a gas-operated semi-automatic firearm that is lawfully possessed before the date of enactment of this subsection in accordance with subparagraph (C), in which— (i) the transferee is an immediate family member of the transferor; (ii) the transfer occurs after a licensed importer, licensed manufacturer, or licensed dealer has first taken possession of the firearm for the purpose of complying with subsection (t) before such transfer to the immediate family member occurs; and (iii) upon taking possession of the firearm under clause (ii), the licensee to whom the firearm was transferred under clause (ii) complies with all requirements of this chapter as if the licensee were transferring the firearm from the business inventory of the licensee to the unlicensed transferee. (3) Licensed importers and licensed manufacturers shall mark all gas-operated semi-automatic firearms imported or manufactured under subparagraphs (A) and (B) of paragraph (2) after the date of enactment of this subsection in the manner prescribed by the Attorney General before any transfer under subparagraph (A) or (B) of paragraph (2). (4) For purposes of this subsection— (A) the term gas-operated semi-automatic firearm does not include— (i) any firearm designed to accept, and capable of operating only with, .22 caliber rimfire ammunition; (ii) a rifle that— (I) is a single-shot rifle; (II) is a breech loading rifle with a capacity not to exceed 2 rounds of ammunition; (III) is a muzzle-loading rifle or smoothbore shoulder-fired firearm; (IV) uses a bolt action, lever action, or pump action to cycle the action of the rifle; or (V) has a permanently fixed magazine with a capacity not to exceed 10 rounds of ammunition that cannot be converted or changed to accept more than 10 rounds of ammunition