XML 19 R7.htm IDEA: XBRL DOCUMENT v3.21.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
May 31, 2021
May 31, 2020
Cash flows provided by operating activities:    
Net income (loss) $ 523,379 $ (12,130)
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 644,743 600,692
Restructuring and related charges 3,043 39,292
Recognition of stock-based compensation expense and related charges 76,119 62,214
Deferred income taxes (15,933) 18,279
Provision for allowance for doubtful accounts 5,395 14,636
Other, net 16,217 20,979
Change in operating assets and liabilities, exclusive of net assets acquired:    
Accounts receivable (365,061) 142,470
Contract assets 47,135 (92,574)
Inventories (839,570) (229,398)
Prepaid expenses and other current assets (73,024) (44,331)
Other assets (32,220) (9,089)
Accounts payable, accrued expenses and other liabilities 680,637 59,686
Net cash provided by operating activities 670,860 570,726
Cash flows used in investing activities:    
Acquisition of property, plant and equipment (878,020) (648,945)
Proceeds and advances from sale of property, plant and equipment 286,702 93,679
Cash paid for business and intangible asset acquisitions, net of cash (49,833) (145,595)
Other, net (3,081) 21,398
Net cash used in investing activities (644,232) (679,463)
Cash flows used in financing activities:    
Borrowings under debt agreements 1,081,486 9,521,853
Payments toward debt agreements (908,265) (9,533,522)
Payments to acquire treasury stock (261,788) (189,500)
Dividends paid to stockholders (37,872) (38,411)
Net proceeds from exercise of stock options and issuance of common stock under employee stock purchase plan 20,354 16,179
Treasury stock minimum tax withholding related to vesting of restricted stock (22,155) (23,085)
Other, net (48,901) (13,106)
Net cash used in financing activities (177,141) (259,592)
Effect of exchange rate changes on cash and cash equivalents (2,315) (31,677)
Net decrease in cash and cash equivalents (152,828) (400,006)
Cash and cash equivalents at beginning of period 1,393,557 1,163,343
Cash and cash equivalents at end of period $ 1,240,729 $ 763,337