XML 20 R7.htm IDEA: XBRL DOCUMENT v3.20.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2020
Dec. 31, 2019
OPERATING ACTIVITIES:    
Net loss $ (178,447) $ (7,073)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 28,717 26,878
Deferred income tax benefit (14,519) (2,209)
Share-based compensation 5,333 6,466
Asset impairment charges 198,000 1,618
Gain on sale/disposal of assets (24) (1,195)
Loss on extinguishment of debt   2,145
Amortization of debt discount and other debt issuance costs 6,239 7,571
Provision for inventory write-downs 23,214 6,054
Other noncash expenses 635 829
Changes in assets and liabilities which provided (used) cash:    
Accounts receivable, net (34,443) 6,254
Inventories (2,551) (14,173)
Income taxes receivable/payable (50,065) (8,982)
Other assets (7,248) 5,801
Rebates payable 5,616 2,272
Royalties payable (81) 4,083
Restructuring liability 134 (1,800)
Operating lease liability 407 (716)
Accounts payable 10,135 17,390
Accrued expenses (10,870) 4,988
Accrued payroll and payroll-related expenses (7,358) (7,686)
Other liabilities 2,586 (801)
Net cash provided by (used in) operating activities (24,590) 47,714
INVESTING ACTIVITIES:    
Purchases of property, plant and equipment (5,129) (8,796)
Proceeds from sale of property, plant and equipment 44 6,288
Advance to VIE   (250)
Purchases of intangible assets (4,000) (27,250)
Net cash used in investing activities (9,085) (30,008)
FINANCING ACTIVITIES:    
Proceeds from issuance of long-term debt   86,250
Purchase of capped call   (7,072)
Repayments of long-term debt (68,516) (113,278)
Proceeds from issuance of stock 443 596
Payment of debt issuance costs (2,390) (3,489)
Purchase of treasury stock (999) (1,823)
Net cash used in financing activities (71,462) (38,816)
Effect on cash and cash equivalents of changes in foreign exchange rates 32 37
NET DECREASE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH (105,105) (21,073)
CASH, CASH EQUIVALENTS AND RESTRICTED CASH, BEGINNING OF PERIOD 144,329 140,249
CASH, CASH EQUIVALENTS AND RESTRICTED CASH, END OF PERIOD 39,224 119,176
SUPPLEMENTAL DISCLOSURE OF CASH FLOW INFORMATION:    
Interest paid 21,844 27,762
Income taxes paid (refunded) (1,473) 7,670
Accrued purchases of property, plant and equipment $ 994 $ 2,304