XML 30 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
OPERATING ACTIVITIES:      
Net loss $ (231,620) $ (363,475) $ (33,366)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities:      
Depreciation and amortization 34,267 47,824 56,309
Deferred income tax expense (benefit)   117,890 (8,585)
Share-based compensation 8,410 9,037 10,216
Asset impairment charges 103,277 216,550 34,448
Loss (gain) on sale/disposal of assets 742 171 (159)
Gain on sale of intangible assets (900)    
Loss on extinguishment of debt   10,341 2,145
Accrual of payment-in-kind interest on Second Lien Credit Facility 18,380 3,642  
Amortization of debt discount and other debt issuance costs 6,246 10,146 14,336
Provision for inventory write-downs 13,195 24,328 10,341
Accrual of contingent liability 10,946    
Other noncash expenses 879 1,021 1,969
Changes in assets and liabilities which provided (used) cash:      
Accounts receivable, net 42,593 26,854 39,064
Inventories 1,192 8,994 (9,237)
Income taxes receivable/payable (1,724) (20,437) (14,465)
Other assets (2,147) 2,509 4,095
Rebates payable 2,543 (19,150) (8,000)
Royalties payable (8,102) (7,084) 4,648
Restructuring liability 482 (19) (2,288)
Operating lease assets/liabilities (955) (194) (1,464)
Accounts payable 152 (2,950) 19,042
Accrued expenses (356) (1,885) 2,213
Accrued payroll and payroll-related expenses (2,338) (5,624) (3,620)
Other liabilities (2,287) 2,362 (1,628)
Net cash (used in) provided by operating activities (7,125) 60,851 116,014
INVESTING ACTIVITIES:      
Purchases of property, plant and equipment (8,739) (10,415) (18,330)
Proceeds from sale of property, plant and equipment 12,564 114 7,380
Advance to VIE     (250)
Purchases of intangible assets (1,750) (4,500) (28,800)
Net cash provided by (used in) investing activities 2,075 (14,801) (40,000)
FINANCING ACTIVITIES:      
Proceeds from issuance of long-term debt   356,225 86,250
Purchase of capped call     (7,072)
Repayments of long-term debt   (437,926) (146,700)
Proceeds from issuance of stock 309 664 998
Payment of debt issuance costs   (10,088) (3,489)
Purchase of treasury stock (828) (1,047) (1,909)
Net cash used in financing activities (519) (92,172) (71,922)
Effect on cash and cash equivalents of changes in foreign exchange rates 137 79 (12)
NET (DECREASE) INCREASE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH (5,432) (46,043) 4,080
CASH, CASH EQUIVALENTS AND RESTRICTED CASH, BEGINNING OF PERIOD 98,286 144,329 140,249
CASH, CASH EQUIVALENTS AND RESTRICTED CASH, END OF PERIOD 92,854 98,286 144,329
SUPPLEMENTAL DISCLOSURE OF CASH FLOW INFORMATION:      
Interest paid 30,718 34,859 51,928
Income taxes (refunded) paid (580) (36,830) 7,787
Purchases of property, plant and equipment included in accounts payable $ 1,667 1,809 $ 2,295
Issuance of warrant in connection with Second Lien Credit Facility   $ 24,375