XML 59 R7.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2019
Dec. 31, 2018
OPERATING ACTIVITIES:    
Net loss $ (7,073) $ (275,166)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 26,878 28,622
Deferred income tax benefit (2,209) (77,950)
Share-based compensation 6,466 4,985
Asset impairment charges 1,618 369,499
Loss (gain) on sale/disposal of assets (1,195) 644
Loss on extinguishment of debt 2,145  
Amortization of debt discount and other debt issuance costs 7,571 8,934
Other noncash expenses 829 (510)
Changes in assets and liabilities which provided (used) cash:    
Accounts receivable, net 6,254 (25,887)
Inventories (8,119) 2,156
Prepaid income taxes/income taxes payable (8,982) 17,516
Other assets 5,801 (678)
Rebates payable 2,272 (5,016)
Royalties payable 4,083 3,660
Restructuring liability (1,800) (1,013)
Operating lease liability (716)  
Accounts payable 17,390 3,701
Accrued expenses 4,988 (4)
Accrued payroll and payroll-related expenses (7,686) 8,501
Settlement liability   8,000
Deferred revenue   23,998
Other liabilities (801)  
Net cash provided by operating activities 47,714 93,992
INVESTING ACTIVITIES:    
Purchases of property, plant and equipment (8,796) (12,030)
Proceeds from sale of property, plant and equipment 6,288 14,091
Proceeds from sale of outstanding loan to Variable Interest Entity ("VIE")   5,600
Advance to VIE 250  
Purchases of intangible assets (27,250) (2,000)
Net cash provided by (used in) provided by investing activities (30,008) 5,661
FINANCING ACTIVITIES:    
Proceeds from issuance of long-term debt 86,250  
Purchase of capped call (7,072)  
Repayments of long-term debt (113,278) (33,422)
Proceeds from issuance of stock 596 521
Payment of deferred financing fees (3,489) (1,102)
Purchase of treasury stock (1,823) (475)
Net cash used in financing activities (38,816) (34,478)
Effect on cash and cash equivalents of changes in foreign exchange rates 37 13
NET (DECREASE) INCREASE IN CASH AND CASH EQUIVALENTS (21,073) 65,188
CASH AND CASH EQUIVALENTS, BEGINNING OF PERIOD 140,249 98,586
CASH AND CASH EQUIVALENTS, END OF PERIOD 119,176 163,774
SUPPLEMENTAL DISCLOSURE OF CASH FLOW INFORMATION:    
Interest paid 27,762 34,190
Income taxes paid (refunded) 7,670 (11,993)
Accrued purchases of property, plant and equipment $ 2,304 $ 2,416