XML 20 R8.htm IDEA: XBRL DOCUMENT v3.23.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
May 31, 2023
May 31, 2022
May 31, 2021
Cash Flows From Operating Activities      
Net (loss) income $ (22,870) $ 48,307 $ 60,882
Adjustments to reconcile net (loss) income to net cash from operating activities:      
Depreciation and amortization 88,377 23,694 21,041
Impairment of discontinued product lines 3,109 0 0
Loss on sale of minority interest and investment 2,016 0 0
Deferred income taxes (19,230) (4,695) (640)
Share-based compensation 10,177 7,154 6,437
Gain on disposal of property and equipment (486) 0 0
Amortization of debt issuance costs 2,720 0 0
Changes in operating assets and liabilities, net of business acquisitions:      
Accounts receivable (53,879) (7,798) (2,595)
Inventories 9,955 (21,072) 2,450
Prepaid expenses and other assets (3,121) (4,054) (3,386)
Accounts payable, accruals and changes 18,642 20,238 (2,221)
Interest expense accrual 4,052 0 0
Changes in other non-current assets and non-current liabilities 1,566 6,264 (879)
Net Cash From Operating Activities 41,028 68,038 81,089
Cash Flows From (For) Investing Activities      
Purchase of property, equipment and other non-current intangible assets (65,757) (24,429) (26,712)
Proceeds from the maturities of marketable securities 266,772 381,839 764,597
Purchase of marketable securities (12,523) (415,894) (792,678)
Proceeds from the sale of property and equipment 826 0 0
Business acquisitions, net of working capital adjustments and cash acquired 11,721 (38,745) (50,771)
Net Cash From (For) Investing Activities 201,039 (97,229) (105,564)
Cash Flows (For) From Financing Activities      
Exercise of stock options and issuance of employee stock purchase plan shares 1,195 7,933 34,631
Debt issuance costs paid (19,276) 0 0
Repayment of debt (100,000) 0 0
Payment of contingent consideration 0 (1,120) (1,087)
Net Cash (For) From Financing Activities (118,081) 6,813 33,544
Effects of Foreign Exchange Rate on Cash (5,219) (8,751) 264
Net Increase (Decrease) in Cash and Cash Equivalents 118,767 (31,129) 9,333
Cash and Cash Equivalents, Beginning of Year 44,473 75,602 66,269
Cash and Cash Equivalents, End of Year 163,240 44,473 75,602
Supplementary Cash Flow Information      
Cash paid for interest 42,616 72 78
Income taxes paid, net of refunds $ 15,473 $ 17,242 $ 14,966