If a domestic corporation transfers substantially all of the assets of a foreign branch (within the meaning of , as in effect before the date of the enactment of the Tax Cuts and Jobs Act) to a specified 10-percent owned foreign corporation (as defined in section 245A) with respect to which it is a United States shareholder after such transfer, such domestic corporation shall include in gross income for the taxable year which includes such transfer an amount equal to the transferred loss amount with respect to such transfer.
(1) the sum of losses—
the sum of losses—
(A) which were incurred by the foreign branch after
(B) with respect to which a deduction was allowed to the taxpayer, over
(2) the sum of—
the sum of—
(A) any taxable income of such branch for a taxable year after the taxable year in which the loss was incurred and through the close of the taxable year of the transfer, and
(B) any amount which is recognized under on account of the transfer.
The transferred loss amount shall be reduced (but not below zero) by the amount of gain recognized by the taxpayer on account of the transfer (other than amounts taken into account under subsection (b)(2)(B)).
Amounts included in gross income under this section shall be treated as derived from sources within the United States.
Consistent with such regulations or other guidance as the Secretary shall prescribe, proper adjustments shall be made in the adjusted basis of the taxpayer’s stock in the specified 10-percent owned foreign corporation to which the transfer is made, and in the transferee’s adjusted basis in the property transferred, to reflect amounts included in gross income under this section.