; (B) at least 40 percent of the funds shall be used for the purposes described in paragraph (2) of such subsection; and (C) not more than 20 percent of the funds may be used for the purposes described in paragraph (3) of such subsection. . 912. Livestock, dairy, and poultry supply chain infrastructure grants and loans Subtitle D of title III of the Consolidated Farm and Rural Development Act ( 7 U.S.C. 1981 et seq.) is amended by adding at the end the following new section: 379I. Livestock, dairy, and poultry supply chain infrastructure (a) In general The Secretary is authorized to provide grants or make or insure loans under any of the programs authorized by this Act, the Agricultural Marketing Act of 1946 ( 7 U.S.C. 1621 et seq.), or the Rural Electrification Act of 1936 ( 7 U.S.C. 901 et seq.), as the Secretary determines to be appropriate, to assist farmers and rural businesses and cooperatives to maintain or increase the production, aggregation, processing, distribution, and marketing of value-added, niche, or regionally-marketed meat, dairy, and poultry products. (b) Priority In implementing subsection (a), the Secretary shall give priority to grants or loans that will help increase or enhance the availability and geographic distribution of State- and Department of Agriculture-inspected small processing facilities. (c) Small processing facility defined In this section, the term small processing facility means— (1) with respect to an establishment that is subject to the requirements of the Federal Meat Inspection Act ( 21 U.S.C. 601 et seq.), a certain small establishment that is eligible to be selected under section 501(b) of such Act