In general
Except as provided in paragraphs (2) and (7), any savings association is a qualified thrift lender if—
(A) the savings association qualifies as a domestic building and loan association, as such term is defined in section 7701(a)(19) of title 26 ; or
(B) (i) the savings association’s qualified thrift investments equal or exceed 65 percent of the savings association’s portfolio assets; and (ii) the savings association’s qualified thrift investments continue to equal or exceed 65 percent of the savings association’s portfolio assets on a monthly average basis in 9 out of every 12 months.