XML 22 R7.htm IDEA: XBRL DOCUMENT v3.22.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Cash flows from operating activities    
Net income including noncontrolling interest through December 1, 2021 $ 438,092 $ 36,274
Adjustments to reconcile net income to net cash provided by operating activities:    
Gain on deconsolidation of the JV Company (399,093) 0
Loss on changes of equity interest in the JV Company, net 3,140 0
Deferred income tax on deconsolidation and changes of equity interest in the JV Company 29,973 0
Depreciation and amortization 34,263 39,434
Loss on equity investment 1,136 0
Share-based compensation expense 21,454 9,925
Deferred income taxes, net 2,182 732
Loss on disposal of property and equipment 57 40
Changes in operating assets and liabilities, net of effects of a divestiture    
Accounts receivable (3,610) (20,448)
Inventories (42,914) (9,582)
Other current and long-term assets (10,078) (2,297)
Other payable, equity investee 34,375 0
Accounts payable 15,608 (224)
Income taxes payable (1) 1,097
Income taxes payable on deconsolidation and changes of equity interest in the JV Company 3,490 0
Accrued and other liabilities 65,122 29,573
Net cash provided by operating activities 193,196 84,524
Cash flows from investing activities    
Proceeds from sale of equity interest in the JV Company 26,347 0
Deconsolidation of cash and cash equivalents of the JV Company (20,734) 0
Purchases of property and equipment excluding the JV Company (82,980) (24,913)
Purchases of property and equipment in JV Company (15,026) (15,628)
Proceeds from sale of property and equipment 9 10
Government grant related to equipment 1,242 119
Net cash used in investing activities (91,142) (40,412)
Cash flows from financing activities    
Withholding tax on restricted stock units (8,354) (6,153)
Proceeds from exercise of stock options and ESPP 3,282 3,326
Proceeds from borrowings 59,262 42,858
Repayments of borrowings (33,663) (44,087)
Principal payments on finance leases (4,176) (12,267)
Net cash provided by (used in) financing activities 16,351 (16,323)
Effect of exchange rate changes on cash, cash equivalents and restricted cash 152 3,982
Net increase in cash, cash equivalents and restricted cash 118,557 31,771
Cash, cash equivalents and restricted cash at beginning of period 204,813 162,704
Cash, cash equivalents and restricted cash at end of period 323,370 194,475
Supplemental disclosures of non-cash investing and financing information:    
Property and equipment purchased but not yet paid $ 25,565 $ 16,912