XML 18 R6.htm IDEA: XBRL DOCUMENT v3.25.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2025
Mar. 31, 2024
Cash flows from operating activities:    
Net Loss $ (30,400) $ (3,751)
Adjustments to reconcile net loss to cash provided by (used in) operating activities:    
Depreciation and amortization 36,586 32,656
Debt extinguishment and commitment costs 25 0
Non-cash interest expense 1,524 1,412
Non-cash lower of cost and net realizable value adjustment (2,288) 0
Deferred taxes (6,894) (2,631)
Loss on sale of assets, net 1 51
Stock-based compensation 3,546 16,410
Unrealized (gain) loss on derivative contracts (9,357) 43,849
Equity earnings from Laramie Energy, LLC (726) (4,563)
Equity earnings from refining and logistics investments (7,514) (6,094)
Dividends received from refining and logistics investments 0 5,265
Net changes in operating assets and liabilities:    
Trade accounts receivable 13,803 (81,167)
Prepaid and other assets 40,284 90,745
Inventories 31,873 27,269
Deferred turnaround expenditures (28,177) (13,347)
Obligations under inventory financing agreements 17,273 65,883
Accounts payable, other accrued liabilities, and operating lease ROU assets and liabilities (60,958) (146,556)
Net cash provided by (used in) operating activities (1,399) 25,431
Cash flows from investing activities:    
Capital expenditures (40,933) (22,642)
Proceeds from sale of assets and other 12 10
Net cash used in investing activities (40,921) (22,632)
Cash flows from financing activities:    
Proceeds from borrowings 1,424,000 527,000
Repayments of borrowings (1,388,683) (545,565)
Net borrowings (repayments) of deferred payment arrangements and receivable advances 0 2,443
Payment of deferred loan costs (47) (3,377)
Purchase of common stock for retirement (51,098) (34,107)
Payments for debt extinguishment and commitment costs (25) 0
Net cash used in financing activities (15,853) (53,606)
Net decrease in cash, cash equivalents, and restricted cash (58,173) (50,807)
Cash, cash equivalents, and restricted cash at beginning of period 192,267 279,446
Cash, cash equivalents, and restricted cash at end of period 134,094 228,639
Net cash paid for:    
Interest (19,443) (16,320)
Taxes (26) (3,155)
Non-cash investing and financing activities:    
Accrued capital expenditures 28,705 20,313
ROU assets obtained in exchange for new finance lease liabilities 466 1,544
ROU assets obtained in exchange for new operating lease liabilities 45,167 18,756
ROU assets terminated in exchange for release from operating lease liabilities $ 0 $ 4,177