XML 88 R8.htm IDEA: XBRL DOCUMENT v3.20.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2020
Mar. 31, 2019
OPERATING ACTIVITIES:    
Net income $ 65,858 $ 48,208
Reconciliation of net income to net cash provided by operating activities:    
Depreciation and amortization 20,972 18,185
Stock-based compensation expense 14,823 16,081
Allowances for doubtful accounts 1,544 3,110
Provision for excess and obsolete inventories 18,093 24,585
Share of loss from equity investee 1,066 3,572
Foreign currency exchange (gain) loss 311 (292)
Deferred income taxes, net (4,436) (9,751)
Other 1,105 923
Changes in operating assets and liabilities:    
Accounts receivable (including changes in related party balances of $1,612 and ($8,813) during the nine months ended March 31, 2020 and 2019, respectively) 58,935 155,232
Inventories (214,131) 36,750
Prepaid expenses and other assets (including changes in related party balances of ($52) and $9,741 during the nine months ended March 31, 2020 and 2019, respectively) (34,790) 26,392
Accounts payable (including changes in related party balances of ($4,685) and ($24,882) during the nine months ended March 31, 2020 and 2019, respectively) 103,880 (201,624)
Income taxes payable (11,042) 1,538
Deferred revenue 2,063 49,710
Accrued liabilities (including changes in related party balances of $9,734 and ($9,288) during the nine months ended March 31, 2020 and 2019, respectively) 49,924 9,706
Other long-term liabilities (including changes in related party balances of ($129) and $0 during the nine months ended March 31, 2020 and 2019, respectively) (8,459) (1,625)
Net cash provided by operating activities 65,716 180,700
INVESTING ACTIVITIES:    
Purchases of property, plant and equipment (including payments to related parties of $4,384 and $4,203 during the nine months ended March 31, 2020 and 2019, respectively) (34,886) (15,781)
Proceeds from sale of investment in a privately-held company 750 0
Net cash used in investing activities (34,136) (15,781)
FINANCING ACTIVITIES:    
Proceeds from debt 10,000 41,760
Repayment of debt 0 (67,700)
Net repayment on asset-backed revolving line of credit (1,116) (67,099)
Payment of other fees for debt financing 0 (375)
Proceeds from exercise of stock options 23,053 0
Payment of withholding tax on vesting of restricted stock units (6,434) (2,323)
Payments of obligations under finance leases (122) (206)
Net cash provided by (used in) financing activities 25,381 (95,943)
Effect of exchange rate fluctuations on cash 163 (88)
Net increase in cash, cash equivalents and restricted cash 57,124 68,888
Cash, cash equivalents and restricted cash at the beginning of the period 262,140 120,382
Cash, cash equivalents and restricted cash at the end of the period 319,264 189,270
Supplemental disclosure of cash flow information:    
Cash paid for interest 1,651 3,402
Cash paid for taxes, net of refunds 42,516 21,657
Non-cash investing and financing activities:    
Unpaid property, plant and equipment purchases (including due to related parties of $215 and $1,067 as of March 31, 2020 and 2019, respectively) 12,609 9,039
Contribution of certain technology rights to equity investee $ 0 $ 3,000