XML 19 R6.htm IDEA: XBRL DOCUMENT v3.5.0.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2016
Jun. 30, 2015
Jun. 30, 2014
Cash Flows From Operating Activities      
Net loss $ (25,504) $ (40,209) $ (35,448)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization 18,296 19,493 20,564
Share-based compensation 12,638 13,930 11,313
Amortization of debt issuance costs 1,728 1,503 1,408
Amortization and accretion of investment premiums/discounts 801 1,018 1,584
Accretion of interest on long term debt 6,321 7,241 5,105
Provision for bad debt 127 (14) (707)
Provision for write-down of inventories 2,444 1,507 2,836
Loss on disposal of property and equipment 153 62 666
Loss on extinguishment of debt 965    
Provision (benefit) for deferred income taxes (404) 664 92
Changes in assets and liabilities:      
Restricted cash 2,660 (2,353) (163)
Accounts receivable 22,951 (8,331) (14,786)
Inventories (10,502) (21,094) (8,341)
Prepaid expenses and other assets (5,988) 2,271 (5,241)
Deferred cost of revenue 1,452 7,776 (4,875)
Accounts payable 2,404 (1,822) (1,057)
Accrued liabilities (1,944) (8,614) 21,696
Customer advances 2,578 577 1,744
Deferred revenue 2,362 9,662 3,956
Net cash provided by (used in) operating activities 33,538 (16,733) 346
Cash Flows From Investing Activities      
Purchases of property and equipment, net (8,066) (10,445) (11,931)
Purchases of investments (64,356) (107,162) (44,155)
Sales and maturities of investments 80,684 121,296 64,578
Net cash provided by investing activities 8,262 3,689 8,492
Cash Flows From Financing Activities      
Proceeds from issuance of common stock 3,849 6,555 9,054
Repayments of debt (66,406)   (417)
Proceeds from debt, net of costs 64,632    
Taxes paid related to net share settlement of equity awards (2,832) (660) (260)
Net cash provided by (used in) financing activities (757) 5,895 8,377
Effect of exchange rate changes on cash and cash equivalents (823) (5,646) 1,818
Net increase (decrease) in cash and cash equivalent 40,220 (12,795) 19,033
Cash and cash equivalents at beginning of period 79,551 92,346 73,313
Cash and cash equivalents at end of period 119,771 79,551 92,346
Supplemental Disclosure of Cash Flow Information      
Cash paid for income taxes 1,026 3,184 2,499
Cash paid for interest 10,340 7,207 8,208
Non-cash financing activity:      
Exchange of Convertible Notes (Note 13)     7,844
Purchases of property and equipment recorded in accounts payable and accrued liabilities 218 $ 638 $ 1,142
Transfers of equipment to inventory $ 1,660