XML 18 R7.htm IDEA: XBRL DOCUMENT v3.24.3
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2024
Sep. 30, 2023
Cash flows from operating activities    
Net income (loss) $ (26,523) $ (88,277)
Adjustments to reconcile net loss to net cash used in operating activities    
Depreciation and amortization 69,141 73,911
Amortization of debt issuance costs and non-cash interest expense 1,758 2,172
Gain on sale of assets (30,723) (5,651)
Inventory lower of cost or net realizable value adjustment 10,086 1,663
Loss on extinguishment debt 1,763 0
Deferred income taxes (2,122) (5,799)
Stock-based compensation 10,162 9,413
Loss (income) from equity method investees, net of income taxes 2,384 (532)
Other 404 1,374
Changes in operating assets and liabilities before effects of asset dispositions    
Accounts receivable 19,185 (34,180)
Inventories 12,837 65,480
Derivative financial instruments 3,245 2,187
Prepaid expenses and other assets 5,541 (3,635)
Accounts payable and accrued liabilities (80,514) (76,134)
Current income taxes 577 1,094
Other (197) 1,528
Net cash used in operating activities (2,996) (55,386)
Cash flows from investing activities:    
Purchases of property and equipment, net (67,825) (77,876)
Proceeds from the sale of assets 48,879 25,106
Investment in equity method investees (15,672) (16,299)
Net cash used in investing activities (34,618) (69,069)
Cash flows from financing activities    
Payments of principal on long-term debt (61,230) (4,325)
Proceeds from short-term borrowings 544,525 1,027,268
Payments on short-term borrowings (528,128) (1,006,163)
Debt prepayment cost (29,196) 0
Payments of transaction costs (5,951) 0
Payments of dividends and distributions 0 (17,465)
Payments of loan fees (1,544) (16)
Payments related to tax withholdings for stock-based compensation (4,604) (8,960)
Other financing activities (3,060) 0
Net cash used in financing activities (89,188) (9,661)
Net change in cash and cash equivalents, and restricted cash (126,802) (134,116)
Cash, cash equivalents and restricted cash, beginning of period 378,762 500,276
Cash, cash equivalents and restricted cash, end of period 251,960 366,160
Reconciliation of total cash and cash equivalents, and restricted cash    
Cash and cash equivalents 227,460 326,701
Restricted cash 24,500 39,459
Total cash and cash equivalents, and restricted cash 251,960 366,160
Supplemental disclosures of cash flow    
Assets disposed of in sale 21,358 22,314
Less: liabilities relinquished (3,456) (3,984)
Net assets disposed 17,902 18,330
Cash paid for income taxes, net 631 787
Cash paid for interest 25,608 28,160
Capital expenditures in accounts payable 6,103 3,940
Capital expenditures in other liabilities 7,213 0
Issuance of common stock as a result of the Merger 5 0
Non-cash extinguishment of non-controlling interest within additional paid-in capital 133,765 0
Non-cash ARO additions $ 1,460 $ 2,777