Annual report pursuant to Section 13 and 15(d)

Income Taxes - Schedule of Deferred Tax Assets and Liabilities (Details)

v3.10.0.1
Income Taxes - Schedule of Deferred Tax Assets and Liabilities (Details) - USD ($)
$ in Thousands
Jun. 30, 2018
Jun. 30, 2017
Deferred tax assets:    
Tax credits and net operating losses $ 171,701 $ 134,052
Employee benefits accrual 64,707 106,637
Stock-based compensation 8,902 15,252
Inventory reserves 62,232 95,200
Non-deductible reserves 29,841 43,140
Depreciation and amortization 701 3,415
Unearned revenue 11,104 15,757
Unrealized loss on investments 956 0
Other 25,602 26,538
Gross deferred tax assets 375,746 439,991
Valuation allowance (163,570) (120,708)
Net deferred tax assets 212,176 319,283
Deferred tax liabilities:    
Unremitted earnings of foreign subsidiaries not indefinitely reinvested (7,146) (13,213)
Deferred profit (13,027) (13,657)
Unrealized gain on investments 0 (2,707)
Total deferred tax liabilities (20,173) (29,577)
Total net deferred tax assets $ 192,003 $ 289,706