XML 23 R7.htm IDEA: XBRL DOCUMENT v3.20.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2018
Cash flows from operating activities      
Net income (loss) $ 3,827 $ (16,430) $ (23,899)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization 7,541 10,491 9,732
Share-based compensation 8,152 10,601 12,289
Amortization of debt issuance costs 1,348 1,528 1,629
Amortization and accretion of discount and premium on investments     (15)
Loss on sales of investments     171
Accretion of interest on debt 4,168 3,371 3,376
Provision for (recovery of) bad debt, net 1,797 3,681 (73)
Provision for write-down of inventories 4,184 2,340 1,603
(Gain) loss on disposal of property and equipment 9 2,588 (8)
Loss on equity method investment 149    
Elimination of equity method investment intra-entity profit on sales 1,847    
Loss on extinguishment of debt     3,452
Gain on termination of lease obligation   (1,007)  
Gain on contribution to joint venture (12,964)    
Provision (benefit) for deferred income taxes 353 (86) 30
Changes in assets and liabilities:      
Accounts receivable, short and long-term 19,030 (46,165) 7,223
Inventories (23,178) (14,165) (8,685)
Prepaid expenses and other assets 4,403 (13,049) 4,209
Deferred cost of revenue, short and long-term (2,441) 531 2,422
Accounts payable (6,770) 9,456 2,002
Operating lease liabilities, net (235)    
Accrued liabilities (16,242) 10,857 1,577
Customer advances 2,159 (2,549) 6,189
Deferred revenues, short and long-term 1,747 8,366 (4,893)
Net cash provided by (used in) operating activities (1,469) (29,641) 18,331
Cash flows from investing activities      
Purchases of property and equipment, net (3,558) (4,311) (6,276)
Purchase of intangible assets (170)   (333)
Purchases of investments     (5,940)
Sales and maturities of investments     30,315
Net cash provided by (used in) investing activities (3,728) (4,311) 17,766
Cash flows from financing activities      
Proceeds from employee stock plans 2,450 3,927 4,389
Taxes paid related to net share settlement of equity awards (207)   (293)
Payments made to note and loan holders     (69,797)
Proceeds from debt, net of costs 24,716 19,968 66,111
Borrowings (repayments) under Revolving Credit Facility, net (263) 4,578 (27,863)
Net cash provided by (used in) financing activities 26,696 28,473 (27,453)
Effect of exchange rate changes on cash, cash equivalents and restricted cash 234 124 (346)
Net increase (decrease) in cash, cash equivalents and restricted cash 21,733 (5,355) 8,298
Cash, cash equivalents and restricted cash at beginning of period 88,178 93,533 85,235
Cash, cash equivalents and restricted cash at end of period 109,911 88,178 93,533
Supplemental Disclosure of Cash Flow Information      
Cash paid for income taxes 2,806 2,191 1,460
Cash paid for interest 12,332 9,761 9,187
Supplemental non-cash disclosure:      
Non-cash effect of pension settlement accounting 178    
Exchange of Convertible Notes     6,641
Modification of Revolving Credit Facility     1,997
Unpaid purchase of property and equipment at end of year 226 235 399
Transfers from inventory to property and equipment 2,594 $ 1,170 $ 174
An equity method investment, in exchange for non-cash contributions of assets to China Joint Venture (including gain of $12,964) $ 15,925