Except as provided in subsection (b) of this section, no funds made available to carry out the Foreign Assistance Act of 1961 [
22 U.S.C.
2151 et seq.] or this chapter may be used for the purpose of providing economic assistance (including assistance under chapter 4 of part II of the Foreign Assistance Act of 1961 [
22 U.S.C.
2346 et seq.]), providing military assistance or grant military education and training, providing assistance under chapter 6 of part II of that Act [
22 U.S.C.
2348 et seq.], or extending military credits or making guarantees, to any country which the President determines delivers nuclear enrichment equipment, materials, or technology to any other country on or after August 4, 1977, or receives such equipment, materials, or technology from any other country on or after August 4, 1977, unless before such delivery—