XML 25 R8.htm IDEA: XBRL DOCUMENT v3.25.2
CONSOLIDATED STATEMENTS OF CASH FLOWS
$ in Thousands, ¥ in Millions
12 Months Ended
Jun. 30, 2025
USD ($)
Jun. 30, 2024
USD ($)
Jun. 30, 2023
USD ($)
Cash flows from operating activities      
Net income (loss) before equity method investment loss $ (96,976) $ (11,081) $ 12,364
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation and amortization 62,396 53,757 43,207
Equity method investment loss 77,805 4,789 1,411
Share-based compensation expense 29,569 21,641 37,488
Deferred income taxes, net (13,274) (880) (1,418)
Loss on disposal of property and equipment 80 78 182
Impairment of property and equipment 1,045 0 0
Impairment of privately-held investment 100 0 0
Changes in operating assets and liabilities:      
Accounts receivable (22,226) 9,873 43,262
Inventories 6,073 (12,503) (25,207)
Other current and long-term assets (465) 1,927 (18,695)
Payable related to equity investee, net 2,127 1,731 (17,038)
Accounts payable 13,289 (2,406) (19,568)
Income taxes payable (399) (1,974) 1,957
Deferred revenue (2,591) (5,482) 8,073
Accrued and other liabilities (26,885) (33,760) (45,545)
Net cash provided by operating activities 29,668 25,710 20,473
Cash flows from investing activities      
Purchases of property and equipment (37,180) (37,088) (110,428)
Proceeds from sale of property and equipment 61 383 167
Government grants related to equipment 678 961 631
Net cash used in investing activities (36,441) (35,744) (109,630)
Cash flows from financing activities      
Withholding tax on restricted stock units (10,698) (7,678) (6,381)
Proceeds from exercise of stock options and ESPP 7,801 10,114 8,978
Payments for repurchase of common shares 0 0 (13,432)
Proceeds from borrowings 0 0 8,632
Repayments of borrowings (11,664) (11,472) (26,598)
Principal payments on finance leases (935) (867) (810)
Net cash used in financing activities (15,496) (9,903) (29,611)
Effect of exchange rate changes on cash, cash equivalents and restricted cash 227 (126) (280)
Net decrease in cash, cash equivalents and restricted cash (22,042) (20,063) (119,048)
Cash, cash equivalents and restricted cash at beginning of year 175,540 195,603 314,651
Cash, cash equivalents and restricted cash at end of year 153,498 175,540 195,603
Supplemental disclosures of cash flow information:      
Cash paid for interest 2,920 2,564 3,711
Cash paid for income taxes 4,615 5,758 1,537
Supplemental disclosures of non-cash investing and financing information:      
Property and equipment purchased but not yet paid 10,574 7,381 12,715
Reissuance of treasury stock 155 152 67
Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents [Abstract]      
Cash and cash equivalents 153,079 175,127 195,188
Restricted cash 419 413 415
Total cash, cash equivalents, and restricted cash $ 153,498 $ 175,540 $ 195,603