XML 21 R9.htm IDEA: XBRL DOCUMENT v3.22.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities:      
Net income (loss) $ 340,660 $ 948,581 $ (295,697)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation and amortization 67,855 57,844 51,807
Stock-based compensation 188,420 183,006 177,877
Deferred income taxes (including benefit from valuation allowance release) 57,091 (465,604) (350)
Unrealized foreign exchange losses (gains) and other, net 17,366 1,417 546
Unrealized loss (gain) on long term investments 87,590 24,072 (10,426)
Loss on change in fair value of acquisition-related contingent consideration 12,149 14,741 23,385
Changes in operating assets and liabilities:      
Accounts receivable (28,579) (134,306) (173,185)
Prepaid expenses and other assets (30,739) (64,080) (8,050)
Inventory (67,504) (20,965) (19,468)
Accounts payable 105,436 73,343 15,120
Accrued and other liabilities 220,196 131,439 113,842
Net cash provided by (used in) operating activities 969,941 749,488 (124,599)
Cash flows from investing activities:      
Purchase of long term investments 0 (33,510) (95,468)
Sale of long term investments 0 10,473 17,250
Capital expenditures (77,833) (181,006) (187,379)
Purchases of marketable securities (79,860) (235,167) (516,874)
Sale and maturities of marketable securities 79,151 231,511 513,470
Net cash used in investing activities (78,542) (207,699) (269,001)
Cash flows from financing activities:      
Proceeds from issuance of common stock under stock plans 61,115 58,626 133,064
Tax withholdings related to restricted and performance share vesting (26,301) (29,940) (22,759)
Payment of finance lease liabilities (2,862) (2,417) (836)
Payment of contingent consideration (32,746) (20,093) (37,760)
Net cash (used in) provided by financing activities (794) 6,176 71,709
Effect of exchange rates on cash, cash equivalents, and restricted cash 3,355 (3,570) 2,949
Net increase (decrease) in cash, cash equivalents, and restricted cash 893,960 544,395 (318,942)
Cash, cash equivalents, and restricted cash at beginning of period 2,059,160 1,514,765 1,833,707
Cash, cash equivalents, restricted cash and investments at end of period 2,953,120 2,059,160 1,514,765
Supplemental Schedule of Cash Flow Information      
Income taxes paid 136,242 67,731 70,712
Reclassification to common stock and additional paid in capital in connection with conversions of 1.25% convertible senior notes due 2020 0 0 18,999
Unpaid purchases of property and equipment 3,493 27,098 22,807
Leased assets obtained in exchange for new operating lease liabilities 6,745 14,416 19,908
Leased assets obtained in exchange for new finance lease liabilities $ 1,862 $ 1,513 $ 2,160