XML 17 R6.htm IDEA: XBRL DOCUMENT v3.24.2.u1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Cash flows from operating activities:    
Net Income $ 14,887 $ 267,903
Adjustments to reconcile net income to cash provided by operating activities:    
Depreciation and amortization 64,800 52,576
Debt extinguishment and commitment costs 1,418 17,682
Non-cash interest expense 2,775 1,615
Deferred taxes 3,530 1,226
Loss on sale of assets, net 114 0
Stock-based compensation 19,502 6,082
Unrealized loss on derivative contracts 64,948 7,621
Equity earnings from Laramie Energy, LLC (3,203) (10,706)
Equity earnings from refining and logistics investments (9,837) (425)
Dividends received from refining and logistics investments 9,105 425
Net changes in operating assets and liabilities:    
Trade accounts receivable (114,010) (134,440)
Prepaid and other assets 54,805 4,630
Inventories (101,270) 99,582
Deferred turnaround expenditures (42,159) 0
Obligations under inventory financing agreements 3,362 (78,038)
Accounts payable, other accrued liabilities, and operating lease ROU assets and liabilities 51,988 76,507
Net cash provided by operating activities 20,755 312,240
Cash flows from investing activities:    
Acquisition of business 0 608,223
Capital expenditures (59,532) (30,729)
Proceeds from sale of assets and other 60 50
Net cash used in investing activities (57,987) (626,021)
Cash flows from financing activities:    
Proceeds from borrowings 1,857,000 763,765
Repayments of borrowings (1,464,163) (702,499)
Net borrowings (repayments) on deferred payment arrangements and receivable advances (165,459) (31,405)
Payment of deferred loan costs (7,234) (9,127)
Purchase of common stock for retirement (103,509) (5,171)
Exercise of stock options 0 6,374
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 provided by (used in) financing activities (62,213) 13,812
Net decrease in cash, cash equivalents, and restricted cash (99,445) (299,969)
Cash, cash equivalents, and restricted cash at beginning of period 279,446 494,926
Cash, cash equivalents, and restricted cash at end of period 180,001 194,957
Net cash paid for:    
Interest (27,205) (37,969)
Taxes (10,857) (2,810)
Non-cash investing and financing activities:    
Accrued capital expenditures 17,052 7,706
ROU assets obtained in exchange for new finance lease liabilities 1,619 944
ROU assets obtained in exchange for new operating lease liabilities 42,058 16,684
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 $ 2,175