XML 16 R8.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2019
Dec. 31, 2018
OPERATING ACTIVITIES:    
Net income $ 50,051 $ 37,562
Reconciliation of net income to net cash provided by operating activities:    
Depreciation and amortization 13,889 12,109
Stock-based compensation expense 10,018 11,121
Allowances for doubtful accounts 43 1,577
Provision for excess and obsolete inventories 14,218 14,143
Share of loss from equity investee 9 3,213
Foreign currency exchange (gain) loss 428 (112)
Deferred income taxes, net (889) (7,979)
Other 581 (125)
Changes in operating assets and liabilities:    
Accounts receivable (including changes in related party balances of ($4,318) and ($10,037) during the six months ended December 31, 2019 and 2018, respectively) 33,444 54,568
Inventories (48,460) (20,861)
Prepaid expenses and other assets (including changes in related party balances of ($3,673) and ($8,514) during the six months ended December 31, 2019 and 2018, respectively) (35,450) (3,978)
Accounts payable (including changes in related party balances of $16,107 and $4,655 during the six months ended December 31, 2019 and 2018, respectively) 32,415 (70,109)
Income taxes payable (9,492) 2,533
Deferred revenue 12,192 38,169
Accrued liabilities (including changes in related party balances of $5,249 and ($4,436) during the six months ended December 31, 2019 and 2018, respectively) 17,810 8,847
Other long-term liabilities (including changes in related party balances of $430 and $500 during the six months ended December 31, 2019 and 2018, respectively) (3,654) 424
Net cash provided by operating activities 87,153 81,102
INVESTING ACTIVITIES:    
Purchases of property, plant and equipment (including payments to related parties of $2,274 and $2,980 during the six months ended December 31, 2019 and 2018, respectively) (24,089) (9,306)
Proceeds from sale of investment in a privately-held company 750 0
Net cash used in investing activities (23,339) (9,306)
FINANCING ACTIVITIES:    
Proceeds from debt 0 41,760
Repayment of debt 0 (67,700)
Net repayment on asset-backed revolving line of credit (1,116) (41,644)
Proceeds from exercise of stock options 2,704 0
Payment of withholding tax on vesting of restricted stock units (3,574) (1,601)
Payments of obligations under finance leases (90) (139)
Net cash used in financing activities (2,076) (69,324)
Effect of exchange rate fluctuations on cash 175 (101)
Net increase in cash, cash equivalents and restricted cash 61,913 2,371
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 324,053 122,753
Supplemental disclosure of cash flow information:    
Cash paid for interest 1,261 2,687
Cash paid for taxes, net of refunds 37,741 18,388
Non-cash investing and financing activities:    
Unpaid property, plant and equipment purchases (including due to related parties of $1,729 and $1,963 as of December 31, 2019 and 2018, respectively) 9,222 5,015
Contribution of certain technology rights to equity investee 0 3,000
Receivable from exercise of stock options $ 1,229 $ 0