XML 21 R7.htm IDEA: XBRL DOCUMENT v3.22.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities    
Net income including noncontrolling interest through December 1, 2021 $ 406,442 $ 21,307
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 on equity interest of the JV Company, net 7,641 0
Deferred income tax on deconsolidation and changes of equity interest in the JV Company 29,292 0
Depreciation and amortization 25,660 25,689
Share-based compensation expense 13,182 6,100
Deferred income taxes, net 728 278
Loss on disposal of property and equipment 57 40
Changes in operating assets and liabilities, net of effects of a divestiture    
Accounts receivable 3,936 (11,662)
Inventories (28,460) (8,779)
Other current and long-term assets (8,858) (1,793)
Other receivable, equity investee (5,826) 0
Accounts payable 11,639 (370)
Income taxes payable 1,269 824
Income taxes payable on deconsolidation and changes of equity interest in the JV Company 3,490 0
Accrued and other liabilities 70,275 14,299
Net cash provided by operating activities 131,374 45,933
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 (39,547) (14,842)
Purchases of property and equipment in JV Company (15,026) (9,926)
Proceeds from sale of property and equipment 9 10
Government grant related to equipment 1,242 119
Net cash used in investing activities (47,709) (24,639)
Cash flows from financing activities    
Withholding tax on restricted stock units (622) (953)
Proceeds from exercise of stock options and ESPP 2,724 3,197
Proceeds from borrowings 14,262 31,008
Repayments of borrowings (31,353) (29,912)
Principal payments on finance leases (4,176) (8,119)
Net cash used in financing activities (19,165) (4,779)
Effect of exchange rate changes on cash, cash equivalents and restricted cash 307 4,120
Net increase in cash, cash equivalents and restricted cash 64,807 20,635
Cash, cash equivalents and restricted cash at beginning of period 204,813 162,704
Cash, cash equivalents and restricted cash at end of period 269,620 183,339
Supplemental disclosures of non-cash investing and financing information:    
Property and equipment purchased but not yet paid $ 23,182 $ 12,621