(i)
in the case of an owner and operator of a farm or ranch, who—
(I)
in the case of a loan made to an individual, individually or with the immediate family of the applicant—
(aa)
materially and substantially participates in the operation of the farm or ranch; and
(bb)
provides substantial day-to-day labor and management of the farm or ranch, consistent with the practices in the State or county in which the farm or ranch is located; or
(II)
(aa)
in the case of a loan made to a cooperative, corporation, partnership, joint operation, or such other legal entity as the Secretary considers appropriate, has members, stockholders, partners, joint operators, or owners, materially and substantially participate in the operation of the farm or ranch; and
(bb)
in the case of a loan made to a cooperative, corporation, partnership, joint operation, or other such legal entity as the Secretary considers appropriate, has members, stockholders, partners, or joint operators, all of whom are qualified beginning farmers or ranchers; and
(ii)
in the case of an applicant seeking to own and operate a farm or ranch, who—
(I)
in the case of a loan made to an individual, individually or with the immediate family of the applicant, will—
(aa)
materially and substantially participate in the operation of the farm or ranch; and
(bb)
provide substantial day-to-day labor and management of the farm or ranch, consistent with the practices in the State or county in which the farm or ranch is located; or
(II)
(aa)
in the case of a loan made to a cooperative, corporation, partnership, joint operation, or such other legal entity as the Secretary considers appropriate, will have members, stockholders, partners, joint operators, or owners, materially and substantially participate in the operation of the farm or ranch; and
(bb)
in the case of a loan made to a cooperative, corporation, partnership, joint operation, or other such legal entity as the Secretary considers appropriate, has members, stockholders, partners, or joint operators, all of whom are qualified beginning farmers or ranchers;