XML 17 R6.htm IDEA: XBRL DOCUMENT v3.22.4
UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
6 Months Ended
Nov. 30, 2022
Nov. 30, 2021
Cash provided (used) by operations:    
Net income $ 2,799 $ 3,211
Adjustments to reconcile net income to net cash provided (used) by operations:    
Depreciation 342 358
Deferred income taxes (150) (222)
Stock-based compensation 364 306
Amortization, impairment and other 137 3
Net foreign currency adjustments (125) 48
Changes in certain working capital components and other assets and liabilities:    
(Increase) decrease in accounts receivable (878) 543
(Increase) decrease in inventories (948) 268
(Increase) decrease in prepaid expenses, operating lease right-of-use assets and other current and non-current assets (239) (444)
Increase (decrease) in accounts payable, accrued liabilities, operating lease liabilities and other current and non-current liabilities 56 (203)
Cash provided (used) by operations 1,358 3,868
Cash provided (used) by investing activities:    
Purchases of short-term investments (3,500) (6,699)
Maturities of short-term investments 1,951 3,891
Sales of short-term investments 1,972 2,032
Additions to property, plant and equipment (500) (362)
Other investing activities 54 33
Cash provided (used) by investing activities (23) (1,105)
Cash provided (used) by financing activities:    
Increase (decrease) in notes payable (3) 13
Proceeds from exercise of stock options and other stock issuances 260 846
Repurchase of common stock (2,550) (1,723)
Dividends — common and preferred (960) (873)
Other financing activities (68) (109)
Cash provided (used) by financing activities (3,321) (1,846)
Effect of exchange rate changes on cash and equivalents (98) (55)
Net increase (decrease) in cash and equivalents (2,084) 862
Cash and equivalents, beginning of period 8,574 9,889
CASH AND EQUIVALENTS, END OF PERIOD 6,490 10,751
Supplemental disclosure of cash flow information:    
Non-cash additions to property, plant and equipment 124 103
Dividends declared and not paid $ 526 $ 481