XML 32 R8.htm IDEA: XBRL DOCUMENT v3.19.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2015
OPERATING ACTIVITIES:      
Net income $ 66,854 $ 72,081 $ 92,555
Reconciliation of net income to net cash provided by (used in) operating activities:      
Depreciation and amortization 16,357 13,282 8,094
Stock-based compensation expense 19,665 16,930 14,436
Excess tax benefits from stock-based compensation (2,310) (2,812) (8,046)
Allowance for doubtful accounts 334 1,216 80
Provision for excess and obsolete inventories 15,729 9,384 5,930
Share of loss from equity investee 303 0 0
Foreign currency exchange loss (gain) 1,274 (1,339) (830)
Deferred income taxes, net (5,434) (5,212) (3,576)
Changes in operating assets and liabilities:      
Accounts receivable, net (including changes in related party balances of $(6,828), $80, and $492 in fiscal years 2017, 2016, and 2015, respectively) (149,455) 53,575 (78,186)
Inventories (235,590) 7,709 (177,557)
Prepaid expenses and other assets (including changes in related party balances of $(3,705), $652, and $(10,274) in fiscal years 2017, 2016, and 2015, respectively) (2,856) (23,539) (11,326)
Accounts payable (including changes in related party balances of $10,987, $(21,887), and $22,188 in fiscal years 2017, 2016, and 2015, respectively) 135,320 (65,835) 81,701
Income taxes payable (1,873) (386) 8,979
Accrued liabilities (including changes in related party balances of $3,096, $(340), and $1,364 in fiscal years 2017, 2016, and 2015, respectively) 27,555 12,911 13,893
Other long-term liabilities (including changes in related party balances of $4,900, $0, and $0 in fiscal years 2017, 2016, and 2015, respectively) 17,939 20,022 7,728
Net cash provided by (used in) operating activities (96,188) 107,987 (46,125)
INVESTING ACTIVITIES:      
Purchases of property, plant and equipment (including payments to related parties of $(4,570), $(4,641), and $(4,070) in fiscal years 2017, 2016, and 2015, respectively) (29,365) (34,108) (35,100)
Change in restricted cash (340) (1,020) (416)
Investment in a privately held company 0 0 (661)
Net cash used in investing activities (29,705) (35,128) (36,177)
FINANCING ACTIVITIES:      
Proceeds from debt, net of debt issuance costs 207,029 34,200 84,900
Repayment of debt (140,452) (34,100) (36,000)
Payments to acquire treasury stock (18,461) 0 0
Proceeds from exercise of stock options 10,878 12,186 23,338
Excess tax benefits from stock-based compensation 2,310 2,812 8,046
Payments of obligations under capital leases (253) (189) (134)
Advances (payments) under receivable financing arrangements 227 (21) 33
Payment of withholding tax on vesting of restricted stock units (3,554) (1,786) (175)
Net cash provided by financing activities 57,724 13,102 80,008
Effect of exchange rate fluctuations on cash (45) (61) (268)
Net increase (decrease) in cash and cash equivalents (68,214) 85,900 (2,562)
Cash and cash equivalents at beginning of year 178,820 92,920 95,482
Cash and cash equivalents at end of year 110,606 178,820 92,920
Supplemental disclosure of cash flow information:      
Cash paid for interest 2,082 1,632 933
Cash paid for taxes, net of refunds 30,809 36,951 30,671
Non-cash investing and financing activities:      
Equipment purchased under capital leases 314 299 442
Unpaid property, plant and equipment purchases (including due to related parties of $1,168, $2,246 and$724 as of June 30, 2017, 2016 and 2015, respectively) 5,056 10,849 7,062
Contribution of certain technology rights to equity investee $ 7,000 $ 0 $ 0