XML 15 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
6 Months Ended
Nov. 30, 2022
Nov. 30, 2021
Cash flows from operating activities:    
Net income $ 3,289 $ 1,209
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation 1,138 913
Amortization of intangible assets 1,826 603
Deferred income taxes (852) (820)
Stock-based compensation 1,659 1,226
Other, net 289 (176)
Changes in operating assets and liabilities, net of effects from acquisitions:    
Decrease in trade receivables, net 516 789
Decrease in prepaid expenses and other assets 121 263
Decrease in accounts payable and other liabilities (785) (918)
Decrease in income taxes payable (327) (849)
Increase (decrease) in deferred revenues 369 (531)
Net cash provided by operating activities 7,243 1,709
Cash flows from investing activities:    
Purchases of marketable securities and other investments (603) (9,631)
Proceeds from sales and maturities of marketable securities and other investments 462 21,617
Acquisitions, net of cash acquired (27,799) (50)
Capital expenditures (4,154) (1,987)
Net cash (used for) provided by investing activities (32,094) 9,949
Cash flows from financing activities:    
Payments for repurchases of common stock (1,000) (15,001)
Proceeds from issuances of common stock 661 305
Shares repurchased for tax withholdings upon vesting of restricted stock-based awards (895) (890)
Payments of dividends to stockholders (1,723) (1,748)
Proceeds from issuances of commercial paper, net of repayments 1,880 0
Proceeds from issuances of senior notes and other borrowings, net of issuance costs 28,280 0
Repayments of senior notes and other borrowings (16,692) (5,750)
Other, net (56) (437)
Net cash provided by (used for) financing activities 10,455 (23,521)
Effect of exchange rate changes on cash and cash equivalents (174) (297)
Net decrease in cash and cash equivalents (14,570) (12,160)
Cash and cash equivalents at beginning of period 21,383 30,098
Cash and cash equivalents at end of period 6,813 17,938
Non-cash financing activities:    
Fair values of stock awards assumed in connection with acquisitions $ 55 $ 0