v3.21.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (unaudited) - USD ($)
$ in Thousands
9 Months Ended
Mar. 26, 2021
Mar. 27, 2020
Cash flows from operating activities    
Net income $ 105,928 $ 85,455
Adjustments to reconcile net income to net cash provided by operating activities    
Depreciation and amortization 26,781 23,115
(Gain) loss on disposal of property, plant and equipment (24) 444
(Gain) loss from sales and maturities of available-for-sale securities (187) (93)
Amortization of investment discount 1,479 (624)
Amortization of deferred debt issuance costs 24 18
(Reversal of) allowance for doubtful accounts (317) (17)
Unrealized (gain) loss on exchange rate and fair value of foreign currency forward contracts (825) 942
Unrealized loss (gain) on fair value of interest rate swaps 0 1,672
Amortization of fair value at hedge inception of interest rate swaps (1,009) (838)
Share-based compensation 18,742 18,301
Deferred income tax (382) 1,335
Other non-cash expenses (614) (559)
Changes in operating assets and liabilities    
Trade accounts receivable (36,437) (23,136)
Contract assets (3,874) (3,966)
Inventories (43,497) 3,404
Other current assets and non-current assets (22,919) 5,830
Trade accounts payable 25,589 (15,571)
Contract liabilities (147) (298)
Income tax payable 911 1,056
Severance liabilities 2,204 2,266
Other current liabilities and non-current liabilities 3,731 5,712
Net cash provided by operating activities 75,157 104,448
Cash flows from investing activities    
Purchase of short-term investments (183,041) (123,980)
Proceeds from sales of short-term investments 84,049 48,808
Proceeds from maturities of short-term investments 97,721 97,358
Funds provided to customer to support transfer of manufacturing operations (Note 8) 0 (24,310)
Purchase of property, plant and equipment (29,061) (27,482)
Purchase of intangibles (1,961) (797)
Proceeds from disposal of property, plant and equipment 38 1,482
Net cash used in investing activities (32,255) (28,921)
Cash flows from financing activities    
Payment of debt issuance costs 0 (153)
Proceeds from long-term borrowings 0 60,938
Repayment of long-term borrowings (9,141) (67,032)
Repayment of finance lease liability (100) (304)
Repurchase of ordinary shares (8,312) (20,722)
Withholding tax related to net share settlement of restricted share units (11,362) (4,727)
Net cash used in financing activities (28,915) (32,000)
Net increase (decrease) in cash, cash equivalents and restricted cash 13,987 43,527
Movement in cash, cash equivalents and restricted cash    
Cash, cash equivalents and restricted cash at the beginning of period 232,832 188,241
Increase (decrease) in cash, cash equivalents and restricted cash 13,987 43,527
Effect of exchange rate on cash, cash equivalents and restricted cash 345 (228)
Cash, cash equivalents and restricted cash at the end of period 247,164 231,540
Non-cash investing and financing activities    
Construction, software and equipment-related payables $ 11,060 $ 11,906