XML 23 R7.htm IDEA: XBRL DOCUMENT v3.21.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities      
Net income (loss) $ (6,311) $ 3,827 $ (16,430)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization 6,389 7,541 10,491
Share-based compensation 9,332 8,152 10,601
Amortization of debt issuance costs 1,356 1,348 1,528
Accretion of interest on debt 4,887 4,168 3,371
Provision for credit losses 133 1,797 3,681
Non-cash revenue transactions related to joint venture (1,365)    
Provision for write-down of inventories 6,914 4,184 2,340
Loss on disposal of property and equipment 106 9 2,588
(Income) loss on equity method investment (872) 149  
Release (deferral) of equity method investment intra-entity profit on sales 310 1,847  
Loss on extinguishment of debt 9,948    
Gain on termination of lease obligation     (1,007)
Gain on contribution to joint venture   (12,964)  
Provision (benefit) for deferred income taxes (114) 353 (86)
Changes in assets and liabilities:      
Accounts receivable, short and long-term 5,235 19,030 (46,165)
Inventories 1,688 (23,178) (14,165)
Prepaid expenses and other assets (951) 4,403 (13,049)
Deferred cost of revenue, short and long-term (296) (2,441) 531
Accounts payable (3,978) (6,770) 9,456
Operating lease liabilities, net (663) (235)  
Accrued liabilities 8,089 (16,595) 10,857
Customer advances 2,237 2,159 (2,549)
Deferred revenues, short and long-term (3,562) 1,747 8,366
Net cash provided by (used in) operating activities 38,512 (1,469) (29,641)
Cash flows from investing activities      
Purchases of property and equipment, net (2,320) (3,558) (4,311)
Purchase of intangible assets   (170)  
Additional investments in joint venture (79)    
Net cash (used in) investing activities (2,399) (3,728) (4,311)
Cash flows from financing activities      
Proceeds from employee stock plans 2,175 2,450 3,927
Proceeds from exercise of options 855    
Taxes paid related to net share settlement of equity awards (343) (207)  
Convertible senior notes exchange and issued, net of issuance costs (142)    
Paydown and Repayment of Prior Term Loan and Prior Revolving Credit Facility, net (115,924)    
Proceeds from New debt, net of costs 103,654 24,716 19,968
Borrowings (repayments) under the New Revolving Credit Facility, net (5,000) (263) 4,578
Stock repurchase (14,080)    
Net cash provided by (used in) financing activities (28,805) 26,696 28,473
Effect of exchange rate changes on cash, cash equivalents and restricted cash 982 234 124
Net increase (decrease) in cash, cash equivalents and restricted cash 8,290 21,733 (5,355)
Cash, cash equivalents and restricted cash at beginning of period 109,911 88,178 93,533
Cash, cash equivalents and restricted cash at end of period 118,201 109,911 88,178
Supplemental Disclosure of Cash Flow Information      
Cash paid for income taxes 1,873 2,806 2,191
Cash paid for interest 11,892 12,332 9,761
Supplemental non-cash disclosure:      
Non-cash effect of pension settlement accounting   178  
Prior convertible note exchanged (82,135)    
New convertible note exchanged 97,148    
Unpaid purchase of property and equipment at end of year 555 226 235
Transfers from inventory to property and equipment $ 564 2,594 $ 1,170
Equity method investment, in exchange for non-cash contributions of assets to China Joint Venture (including gain of $12,964)   $ 15,925