XML 24 R6.htm IDEA: XBRL DOCUMENT v3.7.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2015
Cash flows from operating activities      
Net loss $ (29,579) $ (25,504) $ (40,209)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization 18,043 18,296 19,493
Share-based compensation 13,629 12,638 13,930
Amortization of debt issuance costs 3,785 1,728 1,503
Amortization and accretion of discount and premium on investments 67 801 1,018
Accretion of interest on debt 4,052 6,321 7,241
Provision for (recovery of) bad debt, net 119 127 (14)
Provision for write-down of inventories 2,253 2,444 1,507
Loss on disposal of property and equipment 8 153 62
Loss on extinguishment of debt   965  
Provision (benefit) for deferred income taxes (268) (404) 664
Changes in assets and liabilities:      
Accounts receivable, short and long-term (15,732) 16,994 (7,172)
Inventories 7,675 (10,502) (21,094)
Prepaid expenses and other assets (4,437) 16 1,083
Deferred cost of revenue 3,321 1,452 7,776
Accounts payable 2,189 2,404 (1,822)
Accrued liabilities 8,316 (1,944) (8,614)
Customer advances (5,158) 2,578 577
Deferred revenues (8,663) 2,362 9,662
Net cash provided by (used in) operating activities (380) 30,925 (14,409)
Cash flows from investing activities      
Purchases of property and equipment, net (5,031) (8,066) (10,445)
Purchases of intangible assets (333)    
Purchases of investments (14,992) (64,356) (107,162)
Sales and maturities of investments 38,179 80,684 121,296
Net cash provided by investing activities 17,823 8,262 3,689
Cash flows from financing activities      
Proceeds from employee stock plans 3,786 3,849 6,555
Taxes paid related to net share settlement of equity awards (1,419) (2,832) (660)
Payments made to note and loan holders (105,158) (66,406)  
Proceeds from debt, net of costs 48,253 64,632  
Net cash provided by (used in) financing activities (54,538) (757) 5,895
Effect of exchange rate changes on cash and cash equivalents 197 (1,006) (5,757)
Net increase (decrease) in cash, cash equivalents and restricted cash (36,898) 37,424 (10,582)
Cash, cash equivalents and restricted cash at beginning of period 122,133 84,709 95,291
Cash, cash equivalents and restricted cash at end of period 85,235 122,133 84,709
Supplemental Disclosure of Cash Flow Information      
Cash paid for income taxes 4,458 1,026 3,184
Cash paid for interest 9,927 10,340 7,207
Non-cash financing activity:      
Purchases of property and equipment recorded in accounts payable and accrued liabilities 210 218 $ 638
Purchase of intangible assets in accrued liabilities 667    
Transfers of equipment to inventory $ 1,395 $ 1,660