1. Short title This Act may be cited as the Restoring Energy Market Freedom Act . 2. Repeal of credits (a) In general Subpart D of part IV of subchapter A of chapter 1 of the Internal Revenue Code of 1986 is amended by striking sections 45, 45J, 45Q, 45U, 45V, 45X, 45Y, 48, 48A, 48B, 48C, 48D, and 48E (and by striking the items relating to such sections in the table of sections for such subpart). (b) General business credit Section 38 of such Code is amended— (1) in subsection (b), by striking paragraphs (8), (21), (29), (36), (37), (38), and (39) and redesignating paragraphs (9)–(20), (22)–(28), (30)–(35), and (40)–(41) as paragraphs (8)–(19), (20)–(26), (27)–(32), and (33)–(34), respectively, and (2) in subsection (c)(4)(B), by striking clauses (iv), (v), and (x) and redesignating clauses (vi)–(ix) and (xi)–(xii) as clauses (iv)–(vii) and (viii)–(ix), respectively. (c) Conforming amendments (1) Section 25(e)(3) of such Code is amended by adding (as in effect immediately before its repeal) before the period at the end. (2) Section 30C of such Code is amended— (A) in subsection (g)(2)(B), by inserting (as in effect immediately prior to its repeal) after section 45(b)(7)(B) , and (B) in subsection (g)(3), by inserting (as in effect immediately prior to its repeal) after section 45(b)(8) . (3) Section 45K(b)(3) of such Code is amended by striking (within the meaning of section 48(a)(4)(C)) and inserting (within the meaning of section 48(a)(4)(C) as in effect immediately before its repeal) . (4) Section 45K(g)(2) of such Code is amended by striking subparagraph (E). (5) Section 45L(g)(2)(B) of such Code is amended by inserting (as in effect immediately prior to its repeal) after section 45(b)(7)(B) . (6) Section 45Z of such Code is amended— (A) in subsection (c), by inserting (as in effect immediately prior to its repeal) after pursuant to section 45Y(c) , (B) by amending subsection (d)(4) to read as follows: (4) Qualified facility The term qualified facility means a facility used for the production of