| | | | | | |
| Year Ended | |
| September 30, | |
| 2023 | | 2022 | |
Cash flows from operating activities | | | | | | |
Net income (loss) | $ | (14,257) | | $ | 2,132,859 | |
Adjustments to reconcile net income (loss) to net cash provided by operating activities: | | | | | | |
Depreciation and amortization | | 85,584 | | | 53,702 | |
Stock-based compensation | | 9,376 | | | 10,666 | |
Contingent consideration adjustment | | (18,549) | | | 600 | |
Amortization and accretion on marketable securities | | (7,870) | | | (1,894) | |
Deferred income taxes | | (28,236) | | | 24,469 | |
Loss on extinguishment of debt | | — | | | 632 | |
Purchase accounting impact on inventory | | 9,664 | | | — | |
(Gain) loss on disposals of property, plant and equipment | | 43 | | | (21) | |
(Gain) loss on divestiture, net of tax | | — | | | (2,130,265) | |
Fees paid stemming from divestiture | | — | | | (52,461) | |
Taxes paid stemming from divestiture | | — | | | (431,600) | |
Changes in operating assets and liabilities: | | | | | | |
Accounts receivable | | 33,992 | | | (31,397) | |
Inventories | | 5,771 | | | (66,629) | |
Accounts payable | | (14,710) | | | (3,926) | |
Deferred revenue | | (7,564) | | | 16,599 | |
Accrued warranty and retrofit costs | | 5,604 | | | 303 | |
Accrued compensation and tax withholdings | | (15,434) | | | 11,404 | |
Other current assets and liabilities | | (25,924) | | | 1,513 | |
Net cash provided by (used in) operating activities | | 17,490 | | | (466,046) | |
Cash flows from investing activities | | | | | | |
Purchases of property, plant and equipment | | (39,436) | | | (73,435) | |
Purchases of technology intangibles | | — | | | (4,000) | |
Purchases of marketable securities | | (236,194) | | | (1,975,599) | |
Sales and maturities of marketable securities | | 1,064,209 | | | 705,384 | |
Proceeds from divestiture, net of cash transferred | | — | | | 2,939,116 | |
Net Investment hedge settlement | | 29,313 | | | — | |
Acquisitions, net of cash acquired | | (386,508) | | | (125,876) | |
Net cash provided by (used in) investing activities | | 431,384 | | | 1,465,590 | |
Cash flows from financing activities | | | | | | |
Proceeds from issuance of common stock | | — | | | 5,245 | |
Principal payments on debt | | — | | | (49,725) | |
Payments of finance leases | | (578) | | | (388) | |
Payment for contingent consideration related to acquisition | | — | | | (10,400) | |
Withholding tax payments on net share settlements on equity awards | | (4,988) | | | — | |
Stock repurchase | | (838,514) | | | — | |
Common stock dividends | | — | | | (7,494) | |
Net cash used in financing activities | | (844,080) | | | (62,762) | |
Effects of exchange rate changes on cash and cash equivalents | | 37,955 | | | (180,819) | |
Net (decrease) increase in cash, cash equivalents and restricted cash | | (357,251) | | | 755,963 | |
Cash, cash equivalents and restricted cash, beginning of period | | 1,041,296 | | | 285,333 | |
Cash, cash equivalents and restricted cash, end of period | $ | 684,045 | | $ | 1,041,296 | |
Supplemental disclosures: | | | | | | |
Cash paid for interest | | — | | | 469 | |
Cash paid for income taxes, net | | 43,073 | | | 452,461 | |
Reconciliation of cash, cash equivalents, and restricted cash to the consolidated balance sheets | | | | | | |
| | | | | | |
| | | | | | |
Cash and cash equivalents of continuing operations | $ | 678,910 | | $ | 658,274 | |
Short-term restricted cash | | 4,650 | | | 382,596 | |
Long-term restricted cash included in other assets | | 485 | | | 426 | |
Total cash, cash equivalents and restricted cash shown in the consolidated statements of cash flows | $ | 684,045 | | $ | 1,041,296 | |