XML 15 R5.htm IDEA: XBRL DOCUMENT v3.8.0.1
Unaudited Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Cash flows from operating activities    
Net loss $ (22,953) $ (24,324)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 7,387 13,848
Share-based compensation 9,074 9,985
Amortization of debt issuance costs 1,259 1,165
Amortization and accretion of discount and premium on investments (15) 70
Accretion of interest on debt 2,589 2,117
Loss on sales of investment 77  
Recovery of bad debt, net (74) (64)
Provision for write-down of inventories 1,104 1,131
(Gain) loss on disposal of property and equipment (8) 4
Loss on extinguishment of debt 3,452  
Changes in assets and liabilities:    
Accounts receivable (8,435) (28,676)
Inventories (14,656) (2,386)
Prepaid expenses and other assets 3,851 (3,411)
Deferred cost of revenue 630 2,474
Accounts payable 5,463 8,249
Accrued liabilities (2,000) 2,120
Customer advances 5,321 (2,914)
Deferred revenues (1,621) (2,907)
Net cash used in operating activities (9,555) (23,519)
Cash flows from investing activities    
Purchases of property and equipment, net (4,598) (3,619)
Purchases of investments (5,940) (14,992)
Sales and maturities of investments 29,875 38,179
Net cash provided by investing activities 19,337 19,568
Cash flows from financing activities    
Proceeds from employee stock plans 2,880 3,075
Taxes paid related to net share settlement of equity awards (293) (841)
Proceeds from issuance of Term Loan, net 38,829  
Proceeds from issuance of Convertible Notes, net 27,282  
Payments made to note holders (69,797) (43,658)
Borrowings (repayments) under Revolving Credit Facility, net (23,541)  
Net cash used in financing activities (24,640) (41,424)
Effect of exchange rate changes on cash, cash equivalents and restricted cash 2,533 (2,349)
Net decrease in cash, cash equivalents and restricted cash (12,325) (47,724)
Cash, cash equivalents and restricted cash at beginning of period 85,235 122,133
Cash, cash equivalents and restricted cash at end of period $ 72,910 $ 74,409