(A) In general The requirements of this paragraph are met if the plan provides that compensation deferred under the plan may not be distributed earlier than—
(i) separation from service as determined by the Secretary (except as provided in subparagraph (B)(i)),
(ii) the date the participant becomes disabled (within the meaning of subparagraph (C)),
(iv) a specified time (or pursuant to a fixed schedule) specified under the plan at the date of the deferral of such compensation,
(v) to the extent provided by the Secretary, a change in the ownership or effective control of the corporation, or in the ownership of a substantial portion of the assets of the corporation, or
(vi) the occurrence of an unforeseeable emergency.
(C) Disabled For purposes of subparagraph (A)(ii), a participant shall be considered disabled if the participant—
(i) is unable to engage in any substantial gainful activity by reason of any medically determinable physical or mental impairment which can be expected to result in death or can be expected to last for a continuous period of not less than 12 months, or
(ii) is, by reason of any medically determinable physical or mental impairment which can be expected to result in death or can be expected to last for a continuous period of not less than 12 months, receiving income replacement benefits for a period of not less than 3 months under an accident and health plan covering employees of the participant's employer.