XML 19 R7.htm IDEA: XBRL DOCUMENT v3.22.1
Consolidated Statements of Cash Flows - USD ($)
$ in Millions
9 Months Ended
Apr. 30, 2022
May 01, 2021
Cash flows from operating activities:    
Net income $ 8,997 $ 7,582
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation, amortization, and other 1,527 1,373
Share-based compensation expense 1,407 1,337
Provision (benefit) for receivables 49 (4)
Deferred income taxes (167) (89)
(Gains) losses on divestitures, investments and other, net (470) (201)
Change in operating assets and liabilities, net of effects of acquisitions and divestitures:    
Accounts receivable (134) 1,250
Inventories (683) (260)
Financing receivables 1,431 1,160
Other assets (1,295) (233)
Accounts payable (54) 24
Income taxes, net (730) (828)
Accrued compensation (730) 145
Deferred revenue 292 263
Other liabilities 109 (569)
Net cash provided by operating activities 9,549 10,950
Cash flows from investing activities:    
Purchases of investments (5,383) (7,855)
Proceeds from sales of investments 2,488 2,724
Proceeds from maturities of investments 4,308 6,445
Acquisitions, net of cash and cash equivalents acquired and divestitures (373) (6,333)
Purchases of investments in privately held companies (158) (138)
Return of investments in privately held companies 149 96
Acquisition of property and equipment (338) (530)
Proceeds from sales of property and equipment 6 14
Other (15) (56)
Net cash provided by (used in) investing activities 684 (5,633)
Cash flows from financing activities:    
Issuances of common stock 306 307
Repurchases of common stock—repurchase program (5,347) (2,096)
Shares repurchased for tax withholdings on vesting of restricted stock units (546) (419)
Short-term borrowings, original maturities of 90 days or less, net 9 0
Issuances of debt 1,049 0
Repayments of debt (3,050) (3,000)
Dividends paid (4,657) (4,601)
Other (230) 39
Net cash used in financing activities (12,466) (9,770)
Net decrease in cash, cash equivalents, restricted cash and restricted cash equivalents (2,233) (4,453)
Cash, cash equivalents, restricted cash and restricted cash equivalents, beginning of period 9,942 11,812
Cash, cash equivalents, restricted cash and restricted cash equivalents, end of period 7,709 7,359
Supplemental cash flow information:    
Cash paid for interest 292 377
Cash paid for income taxes, net $ 2,960 $ 2,862