(a) reduced the amount of salaries or wages for the purpose of computing, i. in the case of assistance referred to in subparagraph a of the first paragraph of section 1029.8.36.0.3.65, the amount that the qualified corporation is deemed to have paid to the Minister for a taxation year under subparagraph a of the first paragraph of section 1029.8.36.0.3.61 or 1029.8.36.0.3.62, or
ii. in the case of assistance referred to in subparagraph b of the first paragraph of section 1029.8.36.0.3.65, the excess amount referred to in paragraph a or c of section 1029.8.36.0.3.63 determined, in respect of a calendar year, in relation to all of the qualified corporations that are associated with each other;