If the corporation receiving such other property or money distributes it in pursuance of the plan of reorganization, no gain to the corporation shall be recognized from the exchange, but
If the corporation receiving such other property or money does not distribute it in pursuance of the plan of reorganization, the gain, if any, to the corporation shall be recognized.
If subsection (a) would apply to an exchange but for the fact that the property received in exchange consists not only of property permitted by subsection (a) to be received without the recognition of gain or loss, but also of other property or money, then no loss from the exchange shall be recognized.
For purposes of paragraph (1), any transfer of the other property or money received in the exchange by the corporation to its creditors in connection with the reorganization shall be treated as a distribution in pursuance of the plan of reorganization. The Secretary may prescribe such regulations as may be necessary to prevent avoidance of tax through abuse of the preceding sentence or subsection (c)(3). In the case of a reorganization described in section 368(a)(1)(D) with respect to which stock or securities of the corporation to which the assets are transferred are distributed in a transaction which qualifies under section 355, this paragraph shall apply only to the extent that the sum of the money and the fair market value of other property transferred to such creditors does not exceed the adjusted bases of such assets transferred (reduced by the amount of the liabilities assumed (within the meaning of section 357(c))).
Except as provided in paragraph (2), no gain or loss shall be recognized to a corporation a party to a reorganization on the distribution to its shareholders of property in pursuance of the plan of reorganization.
If any property distributed in the distribution referred to in paragraph (1) is subject to a liability or the shareholder assumes a liability of the distributing corporation in connection with the distribution, then, for purposes of subparagraph (A), the fair market value of such property shall be treated as not less than the amount of such liability.
For purposes of this subsection, any transfer of qualified property by the corporation to its creditors in connection with the reorganization shall be treated as a distribution to its shareholders pursuant to the plan of reorganization.
Section 311 and subpart B of part II of this subchapter shall not apply to any distribution referred to in paragraph (1).