Annual report pursuant to Section 13 and 15(d)

CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS

v3.22.4
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Cash Flows From Operating Activities:      
Net income (loss) $ 220,239 $ 187,227 $ (1,630,135)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Amortization of premiums and discounts on investment securities, net 79,794 228,344 238,840
Amortization of deferred debt issuance costs on term notes payable and convertible senior notes 2,678 2,999 2,336
Provision for credit losses on investment securities 2,730 9,763 58,440
Realized and unrealized losses (gains) on investment securities 601,207 (131,380) 941,419
(Gain) loss on servicing asset (425,376) 114,941 935,697
Realized and unrealized (gains) losses on interest rate swaps, caps and swaptions (34,328) (27,830) 244,631
Unrealized losses (gains) on other derivative instruments 13,797 (5,217) (25,530)
Gains on mortgage loans held-for-sale (9) (1,812) (580)
Equity based compensation 11,630 11,485 9,730
Purchases of mortgage loans held-for-sale (264) (64,008) 0
Proceeds from sales of mortgage loans held-for-sale 0 65,772 9,001
Proceeds from repayment of mortgage loans held-for-sale 30 8 212
Net change in assets and liabilities:      
(Increase) decrease in accrued interest receivable (9,752) 20,908 45,460
Decrease (increase) in deferred income taxes, net 105,241 5,960 (40,267)
Increase (decrease) in accrued interest payable 75,652 (3,284) (127,960)
Change in other operating assets and liabilities, net (19,867) 9,634 (29,691)
Net cash provided by operating activities 623,402 423,510 631,603
Cash Flows From Investing Activities:      
Purchases of available-for-sale securities (10,662,518) (2,494,603) (7,120,871)
Proceeds from sales of available-for-sale securities 7,793,705 6,274,193 18,349,338
Principal payments on available-for-sale securities 1,102,994 3,147,647 4,239,445
Purchases of trading securities 0 0 (1,052,500)
Proceeds from sales of trading securities 0 0 1,053,477
Purchases of mortgage servicing rights, net of purchase price adjustments (629,810) (742,153) (620,394)
Proceeds from (payments for) sales of mortgage servicing rights 261,827 31,787 (2,012)
(Purchases) short sales of derivative instruments, net (71,291) 51,438 (29,286)
Proceeds from sales and settlement (payments for termination and settlement) of derivative instruments, net 125,908 40,012 (93,383)
Payments for reverse repurchase agreements (3,241,834) (1,174,883) (2,208,977)
Proceeds from reverse repurchase agreements 2,309,581 1,131,726 2,337,452
Increase in due to counterparties, net 260,157 38,773 48,921
Change in other investing assets and liabilities, net 0 10,000 2,508
Net cash (used in) provided by investing activities (2,751,281) 6,313,937 14,903,718
Cash Flows From Financing Activities:      
Proceeds from repurchase agreements 35,927,488 29,934,379 83,480,699
Principal payments on repurchase agreements (34,980,922) (37,421,832) (97,484,264)
Proceeds from revolving credit facilities 720,000 296,500 152,000
Principal payments on revolving credit facilities (21,930) (159,569) (168,170)
Proceeds from convertible senior notes 0 279,930 0
Repayment of convertible senior notes (143,774) (143,118) 0
Proceeds from Federal Home Loan Bank advances 0 0 585,000
Principal payments on Federal Home Loan bank advances 0 0 (795,000)
Redemption/repurchase and retirement of preferred stock (51,402) (274,951) 0
Proceeds from issuance of common stock, net of offering costs 6,614 450,602 372
Repurchase of common stock 0 0 (1,064)
Dividends paid on preferred stock (54,989) (63,661) (75,802)
Dividends paid on common stock (235,371) (193,488) (199,487)
Net cash provided by (used in) financing activities 1,165,714 (7,295,208) (14,505,716)
Net (decrease) increase in cash, cash equivalents and restricted cash (962,165) (557,761) 1,029,605
Cash, cash equivalents and restricted cash at beginning of period 2,088,670 2,646,431 1,616,826
Cash, cash equivalents and restricted cash at end of period 1,126,505 2,088,670 2,646,431
Supplemental Disclosure of Cash Flow Information:      
Cash paid for interest 153,181 81,248 404,261
Cash (received) paid for taxes, net (1,575) (23,322) 9,574
Noncash Activities:      
Dividends declared but not paid at end of period $ 64,504 $ 72,412 $ 65,480