XML 24 R7.htm IDEA: XBRL DOCUMENT v3.21.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities:      
Net income (loss) $ 1,936 $ (126,845) $ (25,853)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation 22,961 28,603 26,889
Amortization of intangible assets 32,356 35,218 25,984
Reduction in carrying amount of right-of-use asset 16,134 16,420  
Provision for doubtful accounts 409 1,289 1,407
Share-based compensation 39,051 37,842 32,897
Deferred income taxes 1,785 1,760 (5,766)
Non-cash restructuring and impairment charges   7,622  
Unrealized/realized gain on equity investment     508
Non-cash interest expense 5,055 4,196 3,022
Other 3,989 (349) 54
Changes in operating assets and liabilities, net of acquisition:      
Accounts receivable (34,158) 62,151 36,331
Inventories 22,729 19,951 278
Prepaid expenses and other assets (18,979) 781 (6,979)
Accounts payable 10,810 (26,080) (9,850)
Accrued compensation and benefits 20,088 (8,080) 1,274
Operating lease liabilities (19,986) (17,345)  
Deferred revenue 54,398 19,530 28,716
Other current and long-term liabilities (14,043) (20,780) (3,967)
Net cash provided by operating activities 144,535 35,884 104,945
Cash flows from investing activities:      
Capital expenditures (17,176) (15,268) (22,730)
Business acquisition, net of cash acquired   (219,458)  
Maturities and sales of investments   45,249 921
Net cash used in investing activities (17,176) (189,477) (21,809)
Cash flows from financing activities:      
Borrowings under Revolving Facility   55,000  
Borrowings under Term Loan   199,500  
Payments on debt obligations (74,000) (34,517) (19,875)
Loan fees on borrowings   (12,029) (545)
Repurchase of common stock   (30,000) (15,000)
Proceeds from issuance of common stock, net of tax withholding 4,516 8,789 11,484
Payment of contingent consideration obligations (1,298) (4,251) (6,506)
Deferred payments on an acquisition (4,000) (4,000) (4,000)
Net cash (used in) provided by financing activities (74,782) 178,492 (34,442)
Foreign currency effect on cash 445 (634) (226)
Net increase in cash 53,022 24,265 48,468
Cash at beginning of period 193,872 169,607 121,139
Cash at end of period 246,894 193,872 169,607
Supplemental disclosure of cash flow information:      
Cash paid for interest 18,741 20,411 8,490
Cash paid for taxes, net 4,488 5,309 5,974
Non-cash investing activities:      
Unpaid capital expenditures $ 3,004 $ 1,860 $ 4,142