Quarterly report pursuant to Section 13 or 15(d)

CONSOLIDATED STATEMENTS OF CASH FLOWS

v3.19.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Cash Flows From Operating Activities:    
Net (loss) income $ (116,492) $ 474,299
Adjustments to reconcile net (loss) income to net cash provided by operating activities:    
Amortization of premiums and discounts on investment securities, net 65,126 44,891
Amortization of deferred debt issuance costs on convertible senior notes 475 441
Other-than-temporary impairment losses 5,054 268
Realized and unrealized (gains) losses on investment securities (3,149) 53,846
Loss (gain) on servicing asset 441,406 (81,660)
Realized and unrealized losses (gains) on interest rate swaps, caps and swaptions 218,629 (162,029)
Unrealized (gain) loss on other derivative instruments (72,300) 22,040
Equity based compensation 4,358 6,398
Net change in assets and liabilities:    
(Increase) decrease in accrued interest receivable (11,042) 7,201
Increase in deferred income taxes, net (18,466) (1,954)
Increase in accrued interest payable (14,155) (3,402)
Change in other operating assets and liabilities, net 28,062 (901)
Net cash provided by operating activities 527,506 359,438
Cash Flows From Investing Activities:    
Purchases of available-for-sale securities (13,264,312) (3,221,949)
Proceeds from sales of available-for-sale securities 7,953,676 3,719,959
Principal payments on available-for-sale securities 1,276,880 949,116
Purchases of mortgage servicing rights, net of purchase price adjustments (249,081) (282,283)
Proceeds from sales of mortgage servicing rights 289 399
(Purchases) short sales of derivative instruments, net (64,302) (78,944)
(Payments for termination and settlement) proceeds from sales and settlement of derivative instruments, net (829,376) 278,460
Proceeds from reverse repurchase agreements 1,663,190 0
Repayments of reverse repurchase agreements (1,010,875) 0
(Decrease) increase in due to counterparties, net (703,732) 743,977
Change in other investing assets and liabilities, net 37,737 12,981
Net cash (used in) provided by investing activities (5,189,906) 2,121,716
Cash Flows From Financing Activities:    
Proceeds from repurchase agreements 140,318,287 64,622,311
Principal payments on repurchase agreements (135,283,719) (66,867,695)
Principal payments on Federal Home Loan Bank advances (815,024) (350,000)
Proceeds from revolving credit facilities 150,000 170,000
Principal payments on revolving credit facilities (460,000) (20,000)
Proceeds from issuance of term notes payable 394,061 0
Proceeds from issuance of preferred stock, net of offering costs 0 13
Proceeds from issuance of common stock, net of offering costs 335,449 195
Dividends paid on preferred stock (37,900) (25,696)
Dividends paid on common stock (244,830) (83,057)
Net cash provided by (used in) financing activities 4,356,324 (2,553,929)
Net decrease in cash, cash equivalents and restricted cash (306,076) (72,775)
Cash, cash equivalents and restricted cash at beginning of period 1,097,764 1,054,995
Cash, cash equivalents and restricted cash at end of period 791,688 982,220
Supplemental Disclosure of Cash Flow Information:    
Cash paid for interest 370,122 208,377
Cash paid for taxes 5,820 3
Noncash Activities:    
Cumulative-effect adjustment for adoption of new accounting principle 442 9,918
Dividends declared but not paid at end of period $ 128,110 $ 96,219