v3.20.2
Condensed Consolidated Statements of Cash Flows (unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2020
Sep. 30, 2019
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net income (loss) $ 104,532 $ (121,447)
Net income (loss) from discontinuing operations 0 (8,672)
Net income (loss) from continuing operations 104,532 (112,775)
Adjustments to reconcile net income (loss) to net cash flows from operating activities:    
Depreciation expense 27,425 27,349
Amortization expense of assets and liabilities, net 12,026 16,170
Accretion of convertible note discount 652 2,561
Amortization of marketable securities 366 (146)
Change in fair value of contingent consideration 0 566
Gain on sale of property, plant and equipment (187) 0
(Gain) loss on debt extinguishment (1,809) 2
Provision for doubtful accounts 716 17
Impairment of property, plant and equipment 19,256 11,613
Stock compensation expense 5,033 4,981
Deferred tax expense (benefit) 2,092 (1,159)
Gain on lease termination (4,459) 0
Other operating activities 3 212
Changes in assets and liabilities:    
Accounts receivable, net 670,395 (7,227)
Inventories 15,445 5,437
Prepaid expenses and other assets (36,827) 2,947
Accounts payable (236,213) (6,694)
Accrued expenses and other liabilities (13,607) 1,952
Operating lease obligations (11,489) (13,778)
Deferred revenue 1,034 655
Net cash flows provided by (used in) operating activities - continuing operations 554,384 (67,317)
Net cash flows used in operating activities - discontinuing operations 0 (9,832)
Cash provided by (used in) operating activities 554,384 (77,149)
CASH FLOWS FROM INVESTING ACTIVITIES:    
Cash paid for marketable securities (305,726) (3,478)
Cash received from maturities of marketable securities 19,000 54,584
Cash paid for purchase of property, plant and equipment (46,945) (31,088)
Cash paid for investments 0 (2,713)
Other investing activities 187 0
Net cash flows (used in) provided by investing activities - continuing operations (333,484) 17,305
Net cash flows provided by investing activities - discontinuing operations 0 3,100
Cash (used in) provided by investing activities (333,484) 20,405
CASH FLOWS FROM FINANCING ACTIVITIES:    
Net (repayments) borrowings on revolving line of credit (76,990) 77,758
Borrowings on other lines of credit 0 66,186
Repayments on other lines of credit 0 (60,918)
Cash paid on notes payable (91,590) (73,067)
Cash paid for debt issuance costs 0 (70)
Cash paid for contingent consideration settlement 0 (9,003)
Cash paid for conversion of restricted stock units and stock appreciation rights (5,649) (3,517)
Net cash flows used in financing activities - continuing operations (174,229) (2,631)
Net cash flows used in financing activities - discontinuing operations 0 0
Cash used in financing activities (174,229) (2,631)
NET CHANGE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH 46,671 (59,375)
CASH, CASH EQUIVALENTS AND RESTRICTED CASH, Beginning of period 53,436 126,575
Effect of exchange rate changes on cash 80 (107)
CASH, CASH EQUIVALENTS AND RESTRICTED CASH, End of period 100,187 67,093
SUPPLEMENTAL DISCLOSURES OF CASH FLOWS INFORMATION:    
Cash paid for income taxes 15 1,515
Cash paid for interest 4,651 6,007
Leased assets obtained in exchange for new operating lease liabilities 3,807 11,347
Amounts included in period-end accounts payable for:    
Purchases of property, plant and equipment 5,497 7,824
Issuance of treasury stock to settle 2019 Convertible Senior Notes conversion premium 0 (18,779)
Receipt in treasury stock for settlement of capped call options $ 0 $ 8,952

Source