XML 17 R6.htm IDEA: XBRL DOCUMENT v3.22.1
Unaudited Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Millions
9 Months Ended
Feb. 28, 2022
Feb. 28, 2021
Cash provided (used) by operations:    
Net income $ 4,607 $ 4,218
Adjustments to reconcile net income to net cash provided (used) by operations:    
Depreciation 538 543
Deferred income taxes (234) (291)
Stock-based compensation 467 467
Amortization, impairment and other 6 33
Net foreign currency adjustments 3 (130)
Changes in certain working capital components and other assets and liabilities:    
(Increase) decrease in accounts receivable 466 (837)
(Increase) decrease in inventories (872) 674
(Increase) decrease in prepaid expenses, operating lease right-of-use assets and other current and non-current assets (639) (406)
Increase (decrease) in accounts payable, accrued liabilities, operating lease liabilities and other current and non-current liabilities (305) 374
Cash provided (used) by operations 4,037 4,645
Cash provided (used) by investing activities:    
Purchases of short-term investments (9,229) (7,441)
Maturities of short-term investments 5,152 2,203
Sales of short-term investments 2,921 1,588
Additions to property, plant and equipment (516) (521)
Other investing activities (39) 184
Cash provided (used) by investing activities (1,711) (3,987)
Cash provided (used) by financing activities:    
Increase (decrease) in notes payable 4 (51)
Repayment of borrowings 0 (196)
Proceeds from exercise of stock options and other stock issuances 959 969
Repurchase of common stock (2,923) 0
Dividends — common and preferred (1,356) (1,203)
Other financing activities (140) (131)
Cash provided (used) by financing activities (3,456) (612)
Effect of exchange rate changes on cash and equivalents (55) 122
Net increase (decrease) in cash and equivalents (1,185) 168
Cash and equivalents, beginning of period 9,889 8,348
CASH AND EQUIVALENTS, END OF PERIOD 8,704 8,516
Supplemental disclosure of cash flow information:    
Non-cash additions to property, plant and equipment 126 116
Dividends declared and not paid $ 488 $ 437