XML 17 R6.htm IDEA: XBRL DOCUMENT v3.24.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2024
Sep. 30, 2023
Cash flows from operating activities:    
Net Income $ 22,373 $ 439,318
Adjustments to reconcile net income to cash provided by operating activities:    
Depreciation and amortization 96,679 87,887
Debt extinguishment and commitment costs 1,418 17,682
Non-cash interest expense 4,202 2,886
Non-cash lower of cost and net realizable value adjustment 10,224 0
Deferred taxes 9,237 3,676
Loss on sale of assets, net 114 0
Stock-based compensation 22,485 8,956
Unrealized (gain) loss on derivative contracts 33,756 (1,152)
Equity earnings from Laramie Energy, LLC (2,867) (10,706)
Equity earnings from refining and logistics investments (12,845) (4,359)
Dividends received from refining and logistics investments 10,160 1,528
Net changes in operating assets and liabilities:    
Trade accounts receivable (57,237) (272,556)
Prepaid and other assets 24,827 17,325
Inventories 72,652 113,606
Deferred turnaround expenditures (57,751) (4,178)
Obligations under inventory financing agreements (82,528) 1,128
Accounts payable, other accrued liabilities, and operating lease ROU assets and liabilities 4,343 180,404
Net cash provided by operating activities 99,242 581,445
Cash flows from investing activities:    
Acquisition of business 0 (595,420)
Capital expenditures (87,864) (53,718)
Proceeds from sale of assets and other 60 50
Net cash used in investing activities (86,319) (631,752)
Cash flows from financing activities:    
Proceeds from borrowings 3,196,000 913,768
Repayments of borrowings (2,826,019) (901,094)
Net repayments of deferred payment arrangements and receivable advances (165,459) (52,355)
Payment of deferred loan costs (8,038) (12,037)
Purchase of common stock for retirement (126,683) (32,210)
Exercise of stock options 0 13,014
Proceeds from inventory financing agreements 203,074 0
Payments for termination of inventory financing agreements (382,143) 0
Payments for debt extinguishment and commitment costs (977) (8,742)
Other financing activities, net 1,198 617
Net cash used in financing activities (109,047) (79,039)
Net decrease in cash, cash equivalents, and restricted cash (96,124) (129,346)
Cash, cash equivalents, and restricted cash at beginning of period 279,446 494,926
Cash, cash equivalents, and restricted cash at end of period 183,322 365,580
Net cash paid for:    
Interest (47,838) (58,248)
Taxes (11,379) (2,187)
Non-cash investing and financing activities:    
Accrued capital expenditures 31,162 9,781
ROU assets obtained in exchange for new finance lease liabilities 1,619 3,021
ROU assets obtained in exchange for new operating lease liabilities 150,308 35,822
ROU assets terminated in exchange for release from operating lease liabilities 41 1,439
Laramie Energy Company    
Cash flows from investing activities:    
Return of capital 1,485 10,706
Refining and logistics equity investments    
Cash flows from investing activities:    
Return of capital $ 0 $ 6,630