Quarterly report pursuant to Section 13 or 15(d)

Condensed Consolidated Statements of Cash Flows (Unaudited)

v3.10.0.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash flows from operating activities:    
Net income $ 185,803 $ 19,566
Adjustments to reconcile net income to net cash provided by operating activities:    
Non-cash change in estimated fair value of contingent liabilities 3,637 2,302
Depreciation and amortization 11,421 7,581
Amortization of debt discount and issuance fees 25,155 8,647
Share-based compensation 14,837 15,917
Deferred income taxes 44,149 6,855
Change in fair value of Viking warrants (20,438) (426)
(Gain) / loss from investment in Viking (101,645) 3,350
Royalties recorded in retained earnings upon adoption of ASC 606 32,707 0
Changes in operating assets and liabilities:    
Accounts receivable, net (21,380) 1,909
Inventory (3,763) (1,985)
Accounts payable, accrued liabilities and Other (5,129) (1,458)
Contingent liabilities (3,867) (4,998)
Net cash provided by operating activities 161,487 57,260
Cash flows from investing activities:    
Payments to CVR holders and other contingency payments (1,000) 0
Purchase of short-term investments (1,158,290) (205,121)
Proceeds from sale of short-term investments 75,993 83,390
Proceeds from maturity of short-term investments 381,690 75,887
Other 3,036 2,839
Net cash used in investing activities (698,571) (43,005)
Cash flows from financing activities:    
Repayment of debt (21,785) 0
Gross proceeds from issuance of 2023 Convertible Senior Notes 750,000 0
Payment of debt issuance costs (16,900) 0
Proceeds from issuance of warrants 90,000 0
Purchase of convertible bond hedge (140,250) 0
Proceeds from convertible bond hedge settlement 52,129 0
Net proceeds from stock option exercises and ESPP 18,860 3,864
Taxes paid related to net share settlement of equity awards (3,657) (4,132)
Share repurchase (52,727) 0
Net cash provided by (used in) financing activities 675,670 (268)
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect, Total 138,586 13,987
Cash and cash equivalents and restricted cash at beginning of period 20,620 18,752
Cash and cash equivalents and restricted cash at end of period 159,206 32,739
Supplemental disclosure of cash flow information:    
Interest paid 1,513 1,838
Taxes paid 341 145
Supplemental schedule of non-cash activity:    
Accrued fixed asset purchases 4 1,700
Accrued inventory purchases 0 499
Unrealized gain on AFS investments 0 628
Excess of conversion value over the principal amount of 2019 Notes paid in shares (31,571) 0
Value of shares reacquired under convertible bond hedge transaction entered into with 2019 Notes $ 31,571 $ 0