| | | | | | | | |
| | Nine Months Ended | |
(in thousands of U.S. dollars) | | March 27, 2020 | | | March 29, 2019 | |
Cash flows from operating activities | | | | | | | | |
Net income for the period | | $ | 85,455 | | | $ | 87,998 | |
Adjustments to reconcile net income to net cash provided by operating activities | | | | | | | | |
Depreciation and amortization | | | 23,115 | | | | 22,521 | |
Loss on disposal of property, plant and equipment | | | 444 | | | | 81 | |
Loss on disposal of intangibles | | | — | | | | 149 | |
Gain from sales and maturities ofavailable-for-sale securities | | | (93 | ) | | | (196 | ) |
Accretion of premiums on short-term investments | | | (624 | ) | | | (604 | ) |
Amortization of deferred debt issuance costs | | | 18 | | | | — | |
(Reversal) allowance for doubtful accounts | | | (17 | ) | | | 12 | |
Unrealized loss (gain) on exchange rate and fair value of foreign currency forward contracts | | | 942 | | | | (5,351 | ) |
Unrealized loss on fair value of interest rate swaps | | | 1,672 | | | | 1,564 | |
Amortization of fair value at hedge inception of interest rate swaps | | | (838 | ) | | | — | |
Share-based compensation | | | 18,301 | | | | 13,373 | |
Deferred income tax | | | 1,335 | | | | 438 | |
Othernon-cash expenses | | | (559 | ) | | | (699 | ) |
Changes in operating assets and liabilities | | | | | | | | |
Trade accounts receivable | | | (23,136 | ) | | | (17,942 | ) |
Contract assets | | | (3,966 | ) | | | (666 | ) |
Inventories | | | 3,404 | | | | (36,418 | ) |
Other current assets andnon-current assets | | | 5,830 | | | | (1,568 | ) |
Trade accounts payable | | | (15,571 | ) | | | 37,576 | |
Contract liabilities | | | (298 | ) | | | — | |
Income tax payable | | | 1,056 | | | | 1,942 | |
Severance liabilities | | | 2,266 | | | | 1,841 | |
Other current liabilities andnon-current liabilities | | | 5,712 | | | | 1,453 | |
| | | | | | | | |
Net cash provided by operating activities | | | 104,448 | | | | 105,504 | |
| | | | | | | | |
Cash flows from investing activities | | | | | | | | |
Purchase of short-term investments | | | (123,980 | ) | | | (202,328 | ) |
Proceeds from sales of short-term investments | | | 48,808 | | | | 85,941 | |
Proceeds from maturities of short-term investments | | | 97,358 | | | | 50,370 | |
Funds provided to customer to support transfer of manufacturing operations | | | (24,310 | ) | | | — | |
Purchase of property, plant and equipment | | | (27,482 | ) | | | (13,211 | ) |
Purchase of intangibles | | | (797 | ) | | | (290 | ) |
Proceeds from disposal of property, plant and equipment | | | 1,482 | | | | 473 | |
| | | | | | | | |
Net cash used in investing activities | | | (28,921 | ) | | | (79,045 | ) |
| | | | | | | | |
Cash flows from financing activities | | | | | | | | |
Payment of debt issuance costs | | | (153 | ) | | | — | |
Proceeds from long-term borrowings | | | 60,938 | | | | — | |
Repayment of long-term borrowings | | | (67,032 | ) | | | (2,438 | ) |
Repayment of finance lease liabilities | | | (304 | ) | | | (342 | ) |
Repurchase of ordinary shares | | | (20,722 | ) | | | (5,378 | ) |
Release of restricted cash held in connection with business acquisition | | | — | | | | (3,478 | ) |
Withholding tax related to net share settlement of restricted share units | | | (4,727 | ) | | | (10,427 | ) |
| | | | | | | | |
Net cash used in financing activities | | | (32,000 | ) | | | (22,063 | ) |
| | | | | | | | |
Net increase in cash, cash equivalents and restricted cash | | | 43,527 | | | | 4,396 | |
| | | | | | | | |
Movement in cash, cash equivalents and restricted cash | | | | | | | | |
Cash, cash equivalents and restricted cashat beginning of period | | | 188,241 | | | | 161,433 | |
Increase in cash, cash equivalents and restricted cash | | | 43,527 | | | | 4,396 | |
Effect of exchange rate on cash, cash equivalents and restricted cash | | | (228 | ) | | | 578 | |
| | | | | | | | |
Cash, cash equivalents and restricted cash at end of period | | $ | 231,540 | | | $ | 166,407 | |
| | | | | | | | |
Non-cash investing and financing activities | | | | | | | | |
Construction, software and equipment-related payables | | $ | 11,906 | | | $ | 3,286 | |