XML 23 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2018
Jul. 01, 2017
Jul. 02, 2016
Cash flows from operating activities:      
Net income $ 62,453 $ 127,859 $ 8,580
Adjustments to reconcile net income to net cash provided by operating activities:      
Change in deferred tax assets, net 9,244 (25,680) 0
Accretion of premiums on short-term investments (1,194) 0 0
Amortization and write-off of debt discount and issuance costs 0 102 812
Amortization of deferred gain on sale-leaseback (792) (743) (842)
Depreciation and amortization 30,180 21,544 16,755
(Gain) loss on disposal of property and equipment 1,581 (130) 32
Interest make-whole charge and induced conversion expense related to convertible notes 0 8,463 0
Stock-based compensation expense 14,964 11,195 8,201
Write-down of inventories designated to be sold to ZTE 3,083 0 0
Other adjustments (91) 0 0
Changes in operating assets and liabilities:      
Accounts receivable, net 24,086 (28,811) (23,409)
Inventories (7,033) (26,997) (11,008)
Prepaid expenses and other current assets 6,566 (17,940) (2,383)
Other non-current assets 699 (255) 98
Accounts payable (16,812) 17,819 11,293
Accrued expenses and other liabilities (1,880) 9,128 (24)
Net cash provided by operating activities 125,054 95,554 8,105
Cash flows from investing activities:      
Purchases of property and equipment (57,607) (70,069) (29,588)
Purchases of short-term investments (219,270) (69,415) 0
Maturities of short-term investments 180,579 32,000 0
Proceeds from sale of property and equipment 0 231 0
Transfer (to) from restricted cash 716 (1) 2,418
Net cash used in investing activities (95,582) (107,254) (27,170)
Cash flows from financing activities:      
Proceeds from the exercise of stock options 0 135,153 0
Proceeds from the exercise of stock options 2,643 4,873 286
Shares repurchased for tax withholdings on vesting of restricted stock units (3,738) (4,426) (1,641)
Payments on capital lease obligations (1,186) (2,183) (3,151)
Net cash provided by (used in) financing activities (2,281) 133,417 (4,506)
Effect of exchange rate on cash and cash equivalents (773) 1,624 7,660
Net increase (decrease) in cash and cash equivalents 26,418 123,341 (15,911)
Cash and cash equivalents at beginning of fiscal year 219,270 95,929 111,840
Cash and cash equivalents at end of fiscal year 245,688 219,270 95,929
Supplemental disclosures of cash flow information:      
Cash paid for interest 24 13,313 3,936
Cash paid for income taxes 549 1,939 334
Cash paid for interest make-whole and induced conversion charges related to the exercise of convertible notes 0 4,700 0
Supplemental disclosures of non-cash transactions:      
Issuance of common stock in exchange for the net carrying value of the liability component of convertible notes 0 62,125 0
Unpaid property and equipment in accounts payable 5,933 10,388 8,176
Capital lease obligations incurred for purchases of property and equipment $ 1,259 $ 397 $ 2,390