XML 37 R8.htm IDEA: XBRL DOCUMENT v3.20.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2018
OPERATING ACTIVITIES:      
Net income $ 84,308 $ 71,918 $ 46,165
Reconciliation of net income to net cash (used in) provided by operating activities:      
Depreciation and amortization 28,472 24,202 21,846
Stock-based compensation expense 20,189 21,184 24,656
Allowance (recoveries) for doubtful accounts (3,081) 7,058 (96)
Provision for excess and obsolete inventories 18,373 32,946 9,649
Other 1,364 733 909
Impairment of investments 0 2,661 0
Share of (income) loss from equity investee (2,402) 2,721 3,607
Foreign currency exchange (gain) loss 1,008 (313) 171
Deferred income taxes, net (13,772) (17,100) 13,570
Changes in operating assets and liabilities:      
Accounts receivable, net (including changes in related party balances of $4,727, $(10,357) and $3,795 in fiscal years 2020, 2019, and 2018, respectively) (7,023) 85,027 (127,082)
Inventories (199,683) 119,314 (126,232)
Prepaid expenses and other assets (including changes in related party balances of $1,511, $2,714 and $(10,689) in fiscal years 2020, 2019, and 2018, respectively) (29,869) 8,410 (15,714)
Accounts payable (including changes in related party balances of $12,559, $(18,001) and $21,882 in fiscal years 2020, 2019, and 2018, respectively) 59,889 (173,410) 132,533
Income taxes payable (8,321) 5,831 5,827
Accrued liabilities (including changes in related party balances of $5,670, $(7,858), and $9,944 in fiscal years 2020, 2019, and 2018, respectively) 27,865 11,456 23,238
Deferred revenue 350 59,800 67,775
Other long-term liabilities (including changes in related party balances of $(1,301), $(500) and $(1,400) in fiscal years 2020, 2019, and 2018, respectively) (8,001) 116 3,525
Net cash (used in) provided by operating activities (30,334) 262,554 84,347
INVESTING ACTIVITIES:      
Purchases of property, plant and equipment (including payments to related parties of $4,386, $4,472 and $6,005 in fiscal years 2020, 2019, and 2018, respectively) (44,338) (24,849) (24,824)
Proceeds from redemption of auction rate security 0 0 1,000
Proceeds from sale of investment in a privately-held company 750 0  
Investments in privately-held companies     (2,100)
Net cash used in investing activities (43,588) (24,849) (25,924)
FINANCING ACTIVITIES:      
Proceeds from borrowings, net of debt issuance costs 164,791 41,760 107,337
Repayment of debt (159,191) (67,700) (220,299)
Net (repayment) borrowings on asset-backed revolving line of credit, net of costs (1,116) (65,945) 64,226
Payment of other fees for debt financing (650) (625) (414)
Proceeds from exercise of stock options 28,343 0 3,043
Payments of obligations under capital leases (138)    
Payments of obligations under capital leases   (267) (253)
Payment of withholding tax on vesting of restricted stock units (8,243) (3,051) (4,472)
Net cash provided by (used in) financing activities 23,796 (95,828) (50,832)
Effect of exchange rate fluctuations on cash 376 (119) (6)
Net (decrease) increase in cash, cash equivalents, and restricted cash (49,750) 141,758 7,585
Cash, cash equivalents and restricted cash at beginning of year 262,140 120,382 112,797
Cash, cash equivalents and restricted cash at end of year 212,390 262,140 120,382
Supplemental disclosure of cash flow information:      
Cash paid for interest 2,172 3,861 4,541
Cash paid for taxes, net of refunds 43,317 23,604 14,734
Non-cash investing and financing activities:      
Unpaid property, plant and equipment purchases (including due to related parties of $2,223, $1,609 and $654 as of June 30, 2020, 2019, and 2018, respectively) 12,051 9,232 2,285
Contribution of certain technology rights to equity investee $ 0 $ 3,000 $ 0