XML 25 R8.htm IDEA: XBRL DOCUMENT v3.20.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2018
Cash flows from operating activities      
Net income (loss) including noncontrolling interest $ (18,257) $ (14,638) $ 4,948
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation and amortization 45,090 32,038 29,419
Share-based compensation expense 10,454 13,177 11,412
Deferred income taxes, net 85 (452) (2,244)
(Gain) loss on disposal of property and equipment (102) 21 45
Impairment of privately-held investment 600 0 0
Changes in assets and liabilities:      
Accounts receivable 11,024 9,237 (5,345)
Inventories (22,793) (21,461) (13,928)
Other current and long-term assets 27,306 (1,887) (34,625)
Accounts payable (1,777) 6,410 4,872
Income taxes payable (270) (601) 466
Accrued and other liabilities 10,955 9,577 8,460
Net cash provided by operating activities 62,315 31,421 3,480
Cash flows from investing activities      
Purchases of property and equipment excluding JV Company (42,389) (36,002) (49,390)
Purchases of property and equipment in JV Company (20,009) (76,049) (128,359)
Purchases of intangible assets 0 (405) (16,384)
Proceeds from sale of property and equipment 295 21 6
Government grant related to equipment in JV Company 1,254 0 0
Net cash used in investing activities (60,849) (112,435) (194,127)
Cash flows from financing activities      
Proceeds from investment by noncontrolling interest 0 24,000 128,994
Withholding tax on restricted stock units (1,509) (2,028) (2,363)
Proceeds from exercise of stock options and ESPP 3,350 3,018 4,956
Payments for repurchase of common shares 0 (1,501) (15,098)
Proceeds from borrowings 96,232 77,949 30,950
Repayments of borrowings (49,394) (21,947) (74)
Proceeds from financing lease 0 0 60,416
Principal payments on capital leases (11,028) (4,392) (828)
Net cash provided by financing activities 37,651 75,099 206,953
Effect of exchange rate changes on cash, cash equivalents and restricted cash (708) (1,514) (511)
Net increase (decrease) in cash, cash equivalents and restricted cash 38,409 (7,429) 15,795
Cash, cash equivalents and restricted cash at beginning of year 124,295 131,724 115,929
Cash, cash equivalents and restricted cash at end of year 162,704 124,295 131,724
Supplemental disclosures of cash flow information:      
Cash paid for interest 2,223 6,582 700
Cash paid for income taxes 2,258 1,841 2,985
Supplemental disclosures of non-cash investing and financing information:      
Property and equipment purchased but not yet paid (fiscal year 2019 and 2018 amounts are presented as revised, see Note 1) 17,370 44,799 66,063
Reissuance of treasury stock $ 56 $ 51 $ 53