XML 15 R6.htm IDEA: XBRL DOCUMENT v3.24.1.1.u2
Condensed Consolidated Statements Of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2024
Mar. 31, 2023
Cash flows from operating activities    
Net loss $ (90,667) $ (142,353)
Adjustments to reconcile net loss to net cash from operating activities:    
Depreciation expense 11,932 11,799
Non-cash operating lease expense 4,229 4,024
Amortization expense 4,830 5,622
Amortization of deferred loan fees and line of credit fees 1,380 574
Goodwill and intangible assets impairment losses 5,102 137,929
Stock-based compensation expense 3,047 5,666
Provision for credit losses 2,045 405
Provision for inventory reserves 32,509 10,131
Deferred income tax benefit (331) (24,927)
Loss (gain) on disposition of assets and assets held for sale 4,442 (1,546)
Loss on extinguishment of debt 0 479
Remeasurement of contingent consideration liabilities (6,273) (3,289)
Net loss (gain) on interest rate swap agreements 2,464 (4,892)
Change in operating assets and liabilities:    
Accounts receivable 3,687 742
Other receivables 136 3,144
Inventories 19,473 (16,637)
Prepaid expenses and other current assets 1,055 (11,655)
Other assets (396) 602
Accounts payable 573 10,250
Accrued liabilities and other payables 3,933 15,102
Net change in lease assets and liabilities (3,112) (5,016)
Net cash provided by (used in) operating activities 58 (3,846)
Cash flows from investing activities    
Proceeds from sale of assets 1,367 19,707
Purchases of property, plant, and equipment (7,228) (11,318)
Net cash (used in) provided by investing activities (5,861) 8,389
Cash flows from financing activities    
Principal payments on line of credit (48,313) (136,358)
Proceeds from line of credit 74,504 111,863
Payment of deferred financing costs 0 (1,975)
Change in outstanding checks in excess of cash (3,201) (1,523)
Loan fees (898) (377)
Principal payments on long-term debt (8,462) (73,195)
Proceeds from long-term debt 818 74,640
Principal payments on finance leases (244) (205)
Payments of minimum tax withholdings on stock-based payment awards (120) (976)
Distributions to noncontrolling interest 0 (66)
Repurchase of public warrants 0 (172)
Payments on acquisition earnout (2,207) (375)
Net cash provided by (used in) financing activities 11,877 (28,719)
Net change in cash, cash equivalents and restricted cash 6,074 (24,176)
Cash, cash equivalents and restricted cash, beginning of period 18,233 49,558
Cash and cash equivalents, and restricted cash, end of period 24,307 25,382
Noncash investing and financing activities:    
Increase in operating lease assets and liabilities upon adoption of ASC 842 0 37,759
Increase in finance lease assets and liabilities upon adoption of ASC 842 0 67
Operating lease assets obtained in exchange for operating lease liabilities 1,829 0
Finance lease assets obtained in exchange for finance lease obligations 53 0
Issuance of shares in lieu of payment to consultant 129 0
Accrued interest on term loan and line-of credit refinanced to principal 0 1,726
Line of credit refinanced as term debt 0 9,646
Term debt refinanced with line of credit proceeds 0 3,823
Financing costs deducted from long-term debt proceeds 0 474
Financing costs deducted from line of credit proceeds $ 0 $ 532