XML 29 R7.htm IDEA: XBRL DOCUMENT v3.22.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
CASH FLOWS FROM OPERATING ACTIVITIES    
Net (loss) income $ (315,141) $ 454,137
Adjustments to reconcile net (loss) income to net    
Depreciation and amortization expense 21,867 17,139
Amortization of operating lease right-of-use asset 11,272 11,594
Amortization of debt issuance costs 8,067 6,744
Gain on origination and sale of loans (809,990) (2,041,979)
Gain on sale of servicing rights (20,041) (11,478)
Fair value change in trading securities 13,883 0
Provision for loss obligation on sold loans and servicing rights 108,120 5,752
(Decrease) increase in provision for deferred income taxes (39,643) 202,871
Fair value change in derivative assets 191,682 303,639
Fair value change in derivative liabilities 34,961 (109,364)
Premium (paid) received on derivatives (150,624) 5,061
Purchase of options contracts 0 (10,383)
Fair value change in loans held for sale 174,519 33,191
Fair value change in servicing rights (154,290) 122,120
Stock-based compensation expense 7,021 61,752
Originations of loans (37,142,855) (75,814,894)
Proceeds from sales of loans 40,992,588 75,281,888
Proceeds from principal payments 100,885 66,506
Payments to investors for loan repurchases (376,387) (671,166)
Gain on extinguishment of debt (10,528) 0
Goodwill impairment 40,736 0
Disbursements from joint ventures 4,565 5,790
Other changes in operating assets and liabilities (19,739) (189,193)
Net cash provided by (used in) operating activities 2,670,928 (2,270,273)
CASH FLOWS FROM INVESTING ACTIVITIES    
Purchase of property and equipment (28,844) (30,400)
Proceeds from sale of servicing rights 387,968 176,995
Cash flows received on trading securities 4,109 0
Investments in joint ventures (350) (1,115)
Return of capital from joint ventures 0 189
Net cash flows provided by investing activities 362,883 145,669
CASH FLOWS FROM FINANCING ACTIVITIES    
Proceeds from borrowings on warehouse and other lines of credit 42,522,401 85,132,551
Repayment of borrowings on warehouse and other lines of credit (45,714,257) (83,211,614)
Proceeds from debt obligations 2,099,247 1,044,221
Payments on debt obligations (1,290,746) (276,947)
Payments of debt issuance costs (4,135) (13,913)
Payments on financing lease obligation 0 (1,367)
Treasury stock purchased to net settle and withhold taxes on vested shares (235) 0
Dividends and shareholder distributions (117,107) (400,298)
Net cash (used in) provided by financing activities (2,504,832) 2,272,633
Net change in cash and cash equivalents and restricted cash 528,979 148,029
Cash and cash equivalents and restricted cash at beginning of the period 620,596 488,689
Cash and cash equivalents and restricted cash at end of the period 1,149,575 636,718
SUPPLEMENTAL DISCLOSURES OF CASH FLOW INFORMATION    
Cash paid (received) during the period for interest 120,060 126,497
Cash paid (received) during the period for income taxes 24,223 7,628
Supplemental disclosure of noncash investing and financing activities    
Operating leases right-of-use assets obtained in exchange for lease liabilities 8,656 5,285
Trading securities retained in securitizations 50,426 16,757
Purchase of equipment under financing leases $ 0 $ 168