XML 18 R7.htm IDEA: XBRL DOCUMENT v3.24.2.u1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Cash flows from operating activities:    
Net income (loss) $ (288,129) $ 257,888
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 30,430 26,725
Stock-based compensation expenses 76,177 78,200
Deferred income taxes, net (50,843) (7,636)
Gain from repurchasing of convertible notes (15,455) 0
Loss (gain) from exchange rate fluctuations 10,499 (23,214)
Other items 3,340 4,783
Changes in assets and liabilities:    
Trade receivables, net 317,574 (235,086)
Inventories, net (58,764) (246,193)
Prepaid expenses and other assets 2,486 (33,285)
Right-of-use assets 11,392 8,004
Trade payables, net (245,612) (22,304)
Warranty obligations (27,178) 103,524
Deferred revenues and customers advances (4,028) 17,222
Operating lease liabilities (11,042) (7,928)
Accrued expenses and other liabilities, net (12,638) (1,488)
Net cash used in operating activities (261,791) (80,788)
Cash flows from investing activities:    
Investment in available-for-sale marketable securities (155,334) (124,138)
Proceeds from maturities of available-for-sale marketable securities 480,727 84,006
Proceeds from sales of available-for-sale marketable securities 51,918 2,807
Purchase of property, plant and equipment (48,535) (84,075)
Business combinations, net of cash acquired (11,662) (16,653)
Purchase of intangible assets (10,000) (10,000)
Disbursements for loans receivables (37,500) 0
Investment in privately-held companies (25,650) (6,750)
Other investing activities (740) 10,349
Net cash provided by (used in) investing activities 243,224 (144,454)
Cash flows from financing activities:    
Repurchase of common stock (50,015) 0
Partial repurchase of Notes 2025 (267,900) 0
Proceeds from issuance of Notes 2029, net of issuance costs 293,625 0
Capped call transactions related to Notes 2029 25,230 0
Tax withholding in connection with stock-based awards, net 75 (8,811)
Other financing activities (1,239) (1,330)
Net cash used in financing activities (50,684) (10,141)
Effect of exchange rate differences on cash and cash equivalents (9,719) 10,015
Decrease in cash and cash equivalents (78,970) (225,368)
Cash and cash equivalents at the beginning of the period 338,468 783,112
Cash and cash equivalents at the end of the period 259,498 557,744
Supplemental disclosure of non-cash activities:    
Purchase of intangible assets and business combinations 0 11,245
Right-of-use asset recognized with a corresponding lease liability 1,505 12,063
Purchase of property, plant and equipment $ 5,968 $ 16,300