XML 23 R7.htm IDEA: XBRL DOCUMENT v3.19.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2017
Cash flows from operating activities      
Net income (loss) including noncontrolling interest $ (14,638) $ 4,948 $ 9,260
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation and amortization 32,038 29,419 27,188
Share-based compensation expense 13,177 11,412 6,634
Deferred income taxes, net (452) (2,244) 7,224
(Gain) loss on disposal of property and equipment 21 45 (425)
Changes in assets and liabilities:      
Accounts receivable 9,237 (5,345) (1,816)
Inventories (21,461) (13,928) (7,406)
Other current and long-term assets (1,887) (34,625) (4,584)
Accounts payable 6,410 4,872 4,515
Income taxes payable (601) 466 (1,264)
Accrued and other liabilities 9,577 8,460 3,322
Net cash provided by operating activities 31,421 3,480 42,648
Cash flows from investing activities      
Purchases of property and equipment excluding JV Company (36,002) (49,390) (30,799)
Purchases of property and equipment in JV Company (76,049) (128,359) (16,052)
Purchases of land use rights in JV Company 0 0 (8,737)
Purchases of intangible assets (405) (16,384) 0
Proceeds from sale of property and equipment 21 6 603
Investment in a privately held company 0 0 (600)
Net cash used in investing activities (112,435) (194,127) (55,585)
Cash flows from financing activities      
Proceeds from investment by noncontrolling interest 24,000 128,994 33,000
Withholding tax on restricted stock units (2,028) (2,363) (2,071)
Proceeds from exercise of stock options and ESPP 3,018 4,956 10,699
Proceeds from borrowings 77,949 30,950 0
Proceeds from financing lease 0 60,416 0
Payments for repurchase of common shares (1,501) (15,098) 0
Repayments of borrowings (21,947) (74) 0
Principal payments on capital leases (4,392) (828) (819)
Net cash provided by financing activities 75,099 206,953 40,809
Effect of exchange rate changes on cash, cash equivalents and restricted cash (1,514) (511) 95
Net increase (decrease) in cash, cash equivalents and restricted cash (7,429) 15,795 27,967
Cash, cash equivalents and restricted cash at beginning of year 131,724 115,929 87,962
Cash, cash equivalents and restricted cash at end of year 124,295 131,724 115,929
Supplemental disclosures of cash flow information:      
Cash paid for interest 6,582 700 70
Cash paid for income taxes 1,841 2,985 2,550
Supplemental disclosures of non-cash investing and financing information:      
Property and equipment purchased but not yet paid 58,877 68,156 23,155
Property and equipment acquired under capital leases but not yet paid 0 0 0
Reissuance of treasury stock $ 51 $ 53 $ (9)