XML 16 R7.htm IDEA: XBRL DOCUMENT v3.20.4
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
9 Months Ended
Feb. 28, 2021
Feb. 29, 2020
Cash flows from operating activities:    
Net income $ 9,714 $ 7,019
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation 1,127 1,025
Amortization of intangible assets 1,037 1,221
Deferred income taxes (2,475) (398)
Stock-based compensation 1,395 1,204
Other, net 227 167
Changes in operating assets and liabilities, net of effects from acquisitions:    
Decrease in trade receivables, net 1,089 946
Decrease in prepaid expenses and other assets 609 718
Decrease in accounts payable and other liabilities (247) (1,035)
Decrease in income taxes payable (1,181) (789)
Decrease in deferred revenues (250) (553)
Net cash provided by operating activities 11,045 9,525
Cash flows from investing activities:    
Purchases of marketable securities and other investments (26,775) (399)
Proceeds from maturities of marketable securities and other investments 18,182 3,165
Proceeds from sales of marketable securities 853 12,575
Acquisitions, net of cash acquired (29) (111)
Capital expenditures (1,418) (1,131)
Net cash (used for) provided by investing activities (9,187) 14,099
Cash flows from financing activities:    
Payments for repurchases of common stock (12,958) (13,935)
Proceeds from issuances of common stock 915 1,232
Shares repurchased for tax withholdings upon vesting of restricted stock-based awards (597) (624)
Payments of dividends to stockholders (2,146) (2,330)
Repayments of borrowings (2,631) (4,500)
Other, net 241 (108)
Net cash used for financing activities (17,176) (20,265)
Effect of exchange rate changes on cash and cash equivalents 400 (44)
Net (decrease) increase in cash and cash equivalents (14,918) 3,315
Cash and cash equivalents at beginning of period 37,239 20,514
Cash and cash equivalents at end of period 22,321 23,829
Non-cash financing activities:    
Change in unsettled repurchases of common stock $ 42 $ 65