XML 16 R7.htm IDEA: XBRL DOCUMENT v3.21.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
6 Months Ended
Nov. 30, 2021
Nov. 30, 2020
Cash flows from operating activities:    
Net income $ 1,209 $ 4,693
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation 913 742
Amortization of intangible assets 603 690
Deferred income taxes (820) (43)
Stock-based compensation 1,226 916
Other, net (176) 184
Changes in operating assets and liabilities, net of effects from acquisitions:    
Decrease in trade receivables, net 789 1,263
Decrease in prepaid expenses and other assets 263 545
Decrease in accounts payable and other liabilities (918) (248)
Decrease in income taxes payable (849) (1,243)
Decrease in deferred revenues (531) (158)
Net cash provided by operating activities 1,709 7,341
Cash flows from investing activities:    
Purchases of marketable securities and other investments (9,631) (15,578)
Proceeds from sales and maturities of marketable securities and other investments 21,617 10,779
Acquisitions, net of cash acquired (50) 0
Capital expenditures (1,987) (1,004)
Net cash provided by (used for) investing activities 9,949 (5,803)
Cash flows from financing activities:    
Payments for repurchases of common stock (15,001) (8,962)
Proceeds from issuances of common stock 305 772
Shares repurchased for tax withholdings upon vesting of restricted stock-based awards (890) (520)
Payments of dividends to stockholders (1,748) (1,447)
Repayments of borrowings (5,750) (1,000)
Other, net (437) 110
Net cash used for financing activities (23,521) (11,047)
Effect of exchange rate changes on cash and cash equivalents (297) 271
Net decrease in cash and cash equivalents (12,160) (9,238)
Cash and cash equivalents at beginning of period 30,098 37,239
Cash and cash equivalents at end of period 17,938 28,001
Non-cash financing activities:    
Change in unsettled repurchases of common stock $ (1) $ 38