XML 17 R7.htm IDEA: XBRL DOCUMENT v3.23.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities    
Net income before noncontrolling interests $ 52,991 $ 124,637
Adjustments to reconcile net income to net cash provided by (used in) operating activities:    
Gains attributable to the fair value of future servicing rights, net of guaranty obligation (72,071) (104,679)
Change in the fair value of premiums and origination fees 1,812 7,852
Amortization and depreciation 113,258 117,255
Provision (benefit) for credit losses (11,509) (14,338)
Gain from revaluation of previously held equity-method investment   (39,641)
Originations of loans held for sale (5,406,027) (8,805,659)
Proceeds from transfers of loans held for sale 4,504,278 9,637,859
Other operating activities, net (63,763) (69,417)
Net cash provided by (used in) operating activities (881,031) 853,869
Cash flows from investing activities    
Capital expenditures (9,501) (11,902)
Purchases of equity-method investments (15,231) (12,029)
Purchases of pledged available-for-sale ("AFS") securities   (46,395)
Proceeds from prepayment and sale of pledged AFS securities 4,807 6,101
Investments in joint ventures   (5,040)
Distributions from joint ventures 1,524 11,359
Originations of loans held for investment (243) (49,057)
Principal collected on loans held for investment 129,260 71,500
Acquisitions, net of cash acquired   (78,465)
Net cash provided by (used in) investing activities 110,616 (113,928)
Cash flows from financing activities    
Borrowings (repayments) of warehouse notes payable, net 902,144 (826,454)
Borrowings of interim warehouse notes payable   36,459
Repayments of interim warehouse notes payable (91,586) (26,000)
Repayments of notes payable (118,046) (21,244)
Borrowings of notes payable 196,000  
Proceeds from issuance of common stock 449 263
Repurchase of common stock (18,057) (39,380)
Cash dividends paid (42,401) (40,143)
Payment of contingent consideration (25,690) (17,612)
Distributions to noncontrolling interest holders (2,335) (1,675)
Debt issuance costs (4,454) (1,573)
Net cash provided by (used in) financing activities 796,024 (937,359)
Net increase (decrease) in cash, cash equivalents, restricted cash, and restricted cash equivalents (NOTE 2) 25,609 (197,418)
Cash, cash equivalents, restricted cash, and restricted cash equivalents at beginning of period 258,283 393,180
Total of cash, cash equivalents, restricted cash, and restricted cash equivalents at end of period 283,892 195,762
Supplemental Disclosure of Cash Flow Information:    
Cash paid to third parties for interest 52,147 28,023
Cash paid for income taxes $ 20,807 $ 45,300