The taxpayer's "qualified production activities income; or
Taxable income (determined without regard to the U.S. producer deduction) for the tax year.
The amount of the deduction allowable for any tax year cannot exceed 50% of "W-2 wages" for the year.