XML 44 R8.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2019
Mar. 31, 2018
OPERATING ACTIVITIES:    
Net income $ 48,208 $ 19,891
Reconciliation of net income to net cash provided by operating activities:    
Depreciation and amortization 18,185 16,186
Stock-based compensation expense 16,081 18,649
Allowances for doubtful accounts 3,110 151
Provision for excess and obsolete inventories 24,585 6,203
Share of loss from equity investee 3,572 2,508
Foreign currency exchange (gain) loss (292) 838
Deferred income taxes, net (9,751) 10,693
Other 923 675
Changes in operating assets and liabilities:    
Accounts receivable, net (including changes in related party balances of ($8,813) and $5,154 during the nine months ended March 31, 2019 and 2018, respectively) 155,232 (23,413)
Inventories 36,750 (91,604)
Prepaid expenses and other assets (including changes in related party balances of $9,741 and ($6,964) during the nine months ended March 31, 2019 and 2018, respectively) 26,392 (25,315)
Accounts payable (including changes in related party balances of ($24,882) and $24,832 during the nine months ended March 31, 2019 and 2018, respectively) (201,624) 12,206
Income taxes payable 1,538 3,378
Deferred revenue 49,710 43,127
Accrued liabilities (including changes in related party balances of ($9,288) and $8,616 during the nine months ended March 31, 2019 and 2018, respectively) 9,706 24,441
Other long-term liabilities (including changes in related party balances of $0 and ($1,050) during the nine months ended March 31, 2019 and 2018, respectively) (1,625) 771
Net cash provided by operating activities 180,700 19,385
INVESTING ACTIVITIES:    
Purchases of property, plant and equipment (including payments to related parties of $4,203 and $4,537 during the nine months ended March 31, 2019 and 2018, respectively) (15,781) (16,635)
Proceeds from redemption of auction rate security 0 1,000
Net cash used in investing activities 0 (2,100)
Net cash used in investing activities (15,781) (17,735)
FINANCING ACTIVITIES:    
Proceeds from debt, net of debt issuance costs 41,760 107,337
Repayment of debt (67,700) (83,600)
Net repayment on asset-backed revolving line of credit, net of costs (67,099) 0
Payment of other fees for debt financing (375) 0
Proceeds from exercise of stock options 0 3,043
Payment of withholding tax on vesting of restricted stock units (2,323) (3,152)
Payments of obligations under capital leases (206) (203)
Net cash (used in) provided by financing activities (95,943) 23,425
Effect of exchange rate fluctuations on cash (88) 265
Net increase in cash, cash equivalents and restricted cash 68,888 25,340
Cash, cash equivalents and restricted cash at beginning of period 120,382 112,797
Cash, cash equivalents and restricted cash at end of period 189,270 138,137
Supplemental disclosure of cash flow information:    
Cash paid for interest 3,402 3,217
Cash paid for taxes, net of refunds 21,657 14,735
Non-cash investing and financing activities:    
Unpaid property, plant and equipment purchases (including due to related parties of $1,067 and $1,423 as of March 31, 2019 and 2018, respectively) 9,039 6,389
Contribution of certain technology rights to equity investee $ 3,000 $ 0