XML 15 R7.htm IDEA: XBRL DOCUMENT v3.22.4
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
9 Months Ended
Feb. 28, 2023
Feb. 28, 2022
Cash flows from operating activities:    
Net income $ 5,184 $ 3,528
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation 1,810 1,409
Amortization of intangible assets 2,712 882
Deferred income taxes (1,253) (983)
Stock-based compensation 2,583 1,900
Other, net 487 82
Changes in operating assets and liabilities, net of effects from acquisitions:    
Decrease in trade receivables, net 460 652
Decrease in prepaid expenses and other assets 515 71
Decrease in accounts payable and other liabilities (783) (683)
Decrease in income taxes payable (453) (661)
Increase (decrease) in deferred revenues 256 (643)
Net cash provided by operating activities 11,518 5,554
Cash flows from investing activities:    
Purchases of marketable securities and other investments (921) (10,134)
Proceeds from sales and maturities of marketable securities and other investments 552 25,735
Acquisitions, net of cash acquired (27,721) (132)
Capital expenditures (6,782) (3,088)
Net cash (used for) provided by investing activities (34,872) 12,381
Cash flows from financing activities:    
Payments for repurchases of common stock (1,150) (15,654)
Proceeds from issuances of common stock 759 357
Shares repurchased for tax withholdings upon vesting of restricted stock-based awards (1,040) (1,011)
Payments of dividends to stockholders (2,586) (2,603)
Proceeds from issuances of commercial paper, net of repayments 1,874 0
Proceeds from issuances of senior notes and other borrowings, net of issuance costs 33,494 0
Repayments of senior notes and other borrowings (21,050) (5,750)
Other, net 49 (439)
Net cash provided by (used for) financing activities 10,350 (25,100)
Effect of exchange rate changes on cash and cash equivalents (160) (251)
Net decrease in cash and cash equivalents (13,164) (7,416)
Cash and cash equivalents at beginning of period 21,383 30,098
Cash and cash equivalents at end of period 8,219 22,682
Non-cash financing activities:    
Fair values of stock awards assumed in connection with acquisitions $ 55 $ 0