; and (B) based on credible information, poses— (i) a threat of committing an act of international terrorism or domestic terrorism with respect to an aircraft (including a threat of piracy, or a threat to airline, passenger, or civil aviation security); (ii) a threat of committing an act of domestic terrorism with respect to the homeland; (iii) a threat of committing an act of international terrorism against any United States Government facility abroad and associated or supporting personnel, including United States embassies, consulates and missions, military installations, United States ships, United States aircraft, or other auxiliary craft owned or leased by the United States Government; or (iv) a threat of engaging in or conducting a violent act of terrorism and is operationally capable of doing so; or (2) that the transferee or applicant— (A) based on the totality of the circumstances, represents a threat to public safety based on a reasonable suspicion that the transferee or applicant is engaged, or has been engaged, in conduct constituting, in preparation of, in aid of, or related to terrorism, or providing material support or resources therefor; and (B) based on credible information— (i) is a member of a terrorist organization (including a foreign terrorist organization) designated pursuant to a statute or Executive order; and (ii) is associated with terrorist activity, unless information exists that demonstrates that the application of secondary screening to such individual is not necessary. (f) Effect of quashing If the district court quashes a denial by the Attorney General under subsection (e), notwithstanding any other provision of law, the Attorney General shall— (1) for a denial of the transfer of a firearm, cause a unique identifier to issue pursuant to section 922(t)(2) of title 18, United States Code, not later than 3 days after the issuance of the order under subsection (e)