| | | | | | | | | | | | | | | | | |
| | | |
| Years Ended June 30, |
| 2023 | | 2022 | | 2021 |
Cash Flows from Operating Activities: | | | | | |
Net income | $ | 407,641 | | | $ | 378,657 | | | $ | 616,584 | |
Adjustments to reconcile net income to net cash (used in)/provided by operating activities: | | | | | |
Depreciation and amortization | 16,292 | | | 13,689 | | | 12,100 | |
Amortization of debt issuance costs | 1,405 | | | 1,319 | | | 1,791 | |
Non-cash lease expense | 362 | | | 1,142 | | | 251 | |
Premium amortization and (discount accretion), net | — | | | 88 | | | 16 | |
Write off unamortized debt issuance costs | — | | | — | | | 267 | |
Provision for inventory obsolescence | 13,391 | | | 2,413 | | | (249) | |
Provision for loss on vendor deposits | (3,913) | | | 8,907 | | | 10,712 | |
| | | | | |
Share-based compensation | 4,734 | | | 3,516 | | | 3,029 | |
Deferred taxes | (16,857) | | | (1,842) | | | (674) | |
Change in unrealized loss on available-for-sale securities | 792 | | | — | | | — | |
Provision for sales returns | 553 | | | 1,004 | | | — | |
Other, net | 365 | | | (555) | | | 509 | |
Changes in operating assets and liabilities: | | | | | |
Accounts receivable | (48,200) | | | 52,657 | | | (30,136) | |
Inventories | (487,922) | | | (29,565) | | | 52,890 | |
Vendor deposits | (39,457) | | | (79,034) | | | (17,092) | |
Prepaid expenses and other assets | (10,252) | | | 1,841 | | | (30,543) | |
Accounts payable | 69,730 | | | (28,686) | | | (43,343) | |
Income taxes payable | (14,041) | | | (10,288) | | | (27,774) | |
Deferred revenues | (1,321) | | | (3,593) | | | 7,463 | |
Accrued and other liabilities | (38,730) | | | 58,589 | | | 56,221 | |
Net cash (used in) provided by operating activities | (145,428) | | | 370,259 | | | 612,022 | |
Cash Flows from Investing Activities: | | | | | |
Purchase of property and equipment and other long-term assets | (20,934) | | | (13,468) | | | (18,325) | |
Purchase of investments | — | | | (1,479) | | | (1,863) | |
Proceeds from sale of investments | — | | | 2,457 | | | — | |
Proceeds from maturities of investments | — | | | 1,310 | | | 922 | |
Net cash (used in) investing activities | (20,934) | | | (11,180) | | | (19,266) | |
Cash Flows from Financing Activities: | | | | | |
Proceeds from borrowing under the credit facility - Term | 250,000 | | | — | | | 37,500 | |
Proceeds from borrowing under the credit facility- Revolver | 415,000 | | | 345,000 | | | 75,000 | |
Repayment against credit facility- Revolver | (345,000) | | | (25,000) | | | (255,000) | |
Repayment against credit facility- Term | (28,125) | | | (25,000) | | | (18,750) | |
Debt issuance costs | (1,205) | | | — | | | (3,257) | |
Repurchases of common stock | — | | | (618,131) | | | (219,762) | |
Payment of common stock cash dividends | (145,043) | | | (148,055) | | | (100,813) | |
Proceeds from exercise of stock options | 23 | | | 98 | | | 125 | |
Tax withholdings related to net share settlements of restricted stock units | (686) | | | (1,185) | | | (998) | |
Net cash provided by (used in) financing activities | 144,964 | | | (472,273) | | | (485,955) | |
Net increase (decrease) in cash and cash equivalents | (21,398) | | | (113,194) | | | 106,801 | |
Cash and cash equivalents at beginning of period | 136,224 | | | 249,418 | | | 142,617 | |
Cash and cash equivalents at end of period | $ | 114,826 | | | $ | 136,224 | | | $ | 249,418 | |
Supplemental Disclosure of Cash Flow Information: | | | | | |
Income taxes paid, net of refunds | $ | 109,685 | | | $ | 78,180 | | | $ | 139,623 | |
Interest paid | $ | 53,870 | | | $ | 11,561 | | | $ | 11,811 | |
Non-Cash Investing and Financing Activities: | | | | | |
Right-of-use asset recognized | $ | 7,201 | | | $ | 34,516 | | | $ | 24,281 | |
Unpaid property and equipment and other long-term assets | $ | 1,274 | | | $ | 511 | | | $ | 233 | |