XML 27 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities      
Net income (loss) $ (5,347) $ (6,311) $ 3,827
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization 5,513 6,389 7,541
Share-based compensation 10,600 9,332 8,152
Amortization of debt issuance costs 817 1,356 1,348
Accretion of interest on debt 0 4,887 4,168
Provision for credit losses 266 133 1,797
Non-cash revenue transactions related to joint venture 0 (1,365) 0
Provision for write-down of inventories 3,478 6,914 4,184
Loss on disposal of property and equipment 28 106 9
(Income) loss on equity method investment (241) (872) 149
Release (deferral) of equity method investment intra-entity profit on sales 3,300 310 1,847
Loss on extinguishment of debt 0 9,948 0
Gain on contribution to joint venture 0 0 (12,964)
Provision (benefit) for deferred income taxes 1,785 (114) 353
Changes in assets and liabilities:      
Accounts receivable, short and long-term (12,519) 5,235 19,030
Inventories (22,861) 1,688 (23,178)
Prepaid expenses and other assets (6,042) (951) 4,403
Deferred cost of revenue, short and long-term 1,549 (296) (2,441)
Accounts payable 11,676 (3,978) (6,770)
Operating lease liabilities, net (880) (663) (235)
Accrued liabilities 6,685 8,089 (16,595)
Customer advances 1,238 2,237 2,159
Deferred revenues, short and long-term (1,445) (3,562) 1,747
Net cash provided by (used in) operating activities (2,400) 38,512 (1,469)
Cash flows from investing activities      
Purchases of property and equipment, net (4,717) (2,320) (3,558)
Purchase of intangible assets 0 0 (170)
Additional investments in joint venture 0 (79) 0
Net cash (used in) investing activities (4,717) (2,399) (3,728)
Cash flows from financing activities      
Proceeds from employee stock plans 2,341 2,175 2,450
Proceeds from exercise of options 1,548 855 0
Taxes paid related to net share settlement of equity awards (258) (343) (207)
Convertible senior notes exchange and issued, net of issuance costs 0 (142) 0
Paydown and repayment of prior term loan and prior revolving credit facility 0 (115,924) 0
Proceeds from New Debt, net of costs 0 103,654 24,716
Repayments under the New Term loan (4,000) 0 0
Borrowings (repayments) under the New Revolving Credit Facility, net (15,000) (5,000) (263)
Stock repurchase 0 (14,080) 0
Net cash provided by (used in) financing activities (15,369) (28,805) 26,696
Effect of exchange rate changes on cash, cash equivalents and restricted cash (5,561) 982 234
Net increase (decrease) in cash, cash equivalents and restricted cash (28,047) 8,290 21,733
Cash, cash equivalents and restricted cash at beginning of period 118,201 109,911 88,178
Cash, cash equivalents and restricted cash at end of period 90,154 118,201 109,911
Supplemental Disclosure of Cash Flow Information      
Cash paid for income taxes 1,398 1,873 2,806
Cash paid for interest 7,462 11,892 12,332
Supplemental non-cash disclosure:      
Non-cash effect of pension settlement accounting 0 0 178
Prior convertible note exchanged 0 (82,135) 0
New convertible note exchanged 0 97,148 0
Unpaid purchase of property and equipment at end of year 813 555 226
Transfers from inventory to property and equipment 0 564 2,594
Equity method investment, in exchange for non-cash contributions of assets to China Joint Venture (including gain of $12,964) $ 0 $ 0 $ 15,925