XML 15 R5.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Mar. 30, 2018
Mar. 31, 2017
Cash flows from operating activities    
Net income for the period $ 61,399 $ 69,714
Adjustments to reconcile net income to net cash provided by operating activities    
Depreciation and amortization 21,288 16,956
(Gain) loss on disposal of property, plant and equipment (153) 7
Loss from sales and maturities of available-for-sale securities 362 407
Amortization of investment (premium) discount (31) 397
Amortization of deferred debt issuance costs 433 1,591
Allowance for doubtful accounts 44 3
Unrealized loss (gain) on exchange rate and fair value of derivative instruments 1,393 (718)
Share-based compensation 17,704 21,936
Deferred income tax 19 1,008
Other non-cash expenses 1,941 1,775
Reversal of inventory obsolescence (291) (72)
Changes in operating assets and liabilities    
Trade accounts receivable 21,411 (50,839)
Inventory (973) (39,766)
Other current assets and non-current assets (9,853) 3,921
Trade accounts payable (22,518) 32,653
Income tax payable (1,678) 166
Other current liabilities and non-current liabilities (703) 1,249
Net cash provided by operating activities 89,794 60,388
Cash flows from investing activities    
Purchase of marketable securities (84,519) (100,751)
Proceeds from sales of marketable securities 22,169 33,812
Proceeds from maturities of marketable securities 42,977 54,745
Payments in connection with business acquisition, net of cash acquired   (9,917)
Purchase of property, plant and equipment (28,268) (57,224)
Purchase of intangibles (1,487) (1,910)
Proceeds from disposal of property, plant and equipment 202 190
Net cash used in investing activities (48,926) (81,055)
Cash flows from financing activities    
Proceeds of short-term loans from banks 5,000 27,665
Repayment of short-term loans from bank (1,003)  
Repayment of long-term loans from bank (10,200) (14,700)
Repayment of capital lease liability (293) (182)
Repurchase of ordinary shares (22,407)  
Proceeds from issuance of ordinary shares under employee share option plans 993 5,890
Withholding tax related to net share settlement of restricted share units (4,030) (1,272)
Net cash provided by (used in) financing activities (31,940) 17,401
Net increase (decrease) in cash, cash equivalents and restricted cash 8,928 (3,266)
Movement in cash, cash equivalents and restricted cash    
Cash, cash equivalents and restricted cash at beginning of period 137,137 142,804
Increase (decrease) in cash, cash equivalents and restricted cash 8,928 (3,266)
Effect of exchange rate on cash, cash equivalents and restricted cash (89) 271
Cash, cash equivalents and restricted cash at end of period 145,976 139,809
Non-cash investing and financing activities    
Construction, software-related and equipment-related payables $ 4,684 $ 12,409