; and (ii) the total number of aliens who may be issued visas or otherwise provided H–2A nonimmigrant status under paragraph (1) for such fiscal year may not exceed such numerical limitation. (D) Emergency procedures The Secretary of Agriculture and the Secretary of Labor, in consultation with the Secretary of Homeland Security, shall jointly establish, by regulation, procedures for immediately adjusting a numerical limitation imposed pursuant to subparagraph (B) or (C) to account for significant labor shortages. (3) Allocation of visas (A) Bi-annual allocation The annual allocation of visas described in paragraph (2) shall be evenly allocated between two halves of the fiscal year unless the Secretary of Homeland Security, in consultation with the Secretary of Agriculture and Secretary of Labor, determines that an alternative allocation would better accommodate demand for visas. Any unused visas in the first half of the fiscal year shall be added to the allocation for the subsequent half of the same fiscal year. (B) Reserve for dairy labor or services (i) In general Of the visa numbers made available in each half of the fiscal year pursuant to subparagraph (A), 50 percent of such visas shall be reserved for employers filing petitions seeking H–2A workers to engage in agricultural labor or services in the dairy industry. (ii) Exception If, after 4 months have elapsed in one half of the fiscal year, the Secretary of Homeland Security determines that application of clause (i) will result in visas going unused during that half of the fiscal year, clause (i) shall not apply to visas under this paragraph during the remainder of such calendar half. (C) Reserve for small farmer labor or services (i) In general Except as provided in clause (ii), of the visas made available during each 6-month period of a fiscal year pursuant to subparagraph (A), 20 percent shall be reserved for employers (excluding employers eligible for a reserve under subparagraph (B)) with fewer than 50 domestic employees that file a petition seeking