![LOGO](https://capedge.com/proxy/8-K/0001193125-23-103832/g484375g72c72.jpg)
Walmart Inc.
April 17, 2023
Page 2
2028 (the “2028 Notes”), $500,000,000 aggregate principal amount of the Company’s 4.000% Notes Due 2030 (the “2030 Notes”), $1,500,000,000 aggregate principal amount of the Company’s 4.100% Notes Due 2033 (the “2033 Notes”), and $1,500,000,000 aggregate principal amount of the Company’s 4.500% Notes Due 2053 (the “2053 Notes” and, together with the 2026 Notes, the 2028 Notes, the 2030 Notes and the 2033 Notes, the “Notes”), which was filed with the Commission on April 12, 2023 pursuant to Rule 433 under the Securities Act and given a filing date of April 13, 2023 (the “Final Term Sheet”); (v) the Prospectus Supplement, dated April 12, 2023, which supplemented the Base Prospectus and which was filed with the Commission pursuant to Rule 424(b)(2) under the Securities Act on April 13, 2023 and given a filing date of April 14, 2023 (the “Prospectus Supplement”); and (vi) the Indenture, dated as of July 19, 2005 (the “Original Indenture”), between the Company and The Bank of New York Mellon Trust Company, N.A., as successor trustee under such indenture (in such capacity, the “Trustee”), as supplemented by the First Supplemental Indenture, dated as of December 1, 2006, between the Company and the Trustee (the “First Supplemental Indenture”), the Second Supplemental Indenture, dated as of December 19, 2014, between the Company and the Trustee (the “Second Supplemental Indenture”) and the Third Supplemental Indenture, dated as of June 26, 2018, between the Company and the Trustee (the “Third Supplemental Indenture” and, the Original Indenture as supplemented by the First Supplemental Indenture, the Second Supplemental Indenture and the Third Supplemental Indenture, the “Indenture”).
We have acted as counsel to the Company in connection with the offer and sale of the Notes by the Company.
In rendering this opinion, we have examined and relied upon, without independent investigation or verification, executed originals, counterparts or copies of: (i) (a) the Restated Certificate of Incorporation of the Company, executed October 25, 1988, as amended, and as in effect at all times during the period from October 26, 1988 to 12:10 am Eastern Time on February 1, 2018; (b) the Restated Certificate of Incorporation of the Company, executed January 31, 2018, as in effect at all times during the period from 12:10 am Eastern Time on February 1, 2018 to, and including, the date hereof; and (c) the bylaws of the Company, as amended and as amended and restated from time to time, and in effect at all times, during the period from June 3, 1993 to, and including, the date hereof; (ii) the Registration Statement; (iii) the Base Prospectus; (iv) the Preliminary Prospectus Supplement; (v) the Final Term Sheet; (vi) the Prospectus Supplement; (vii) the Indenture; (viii) the Agreement; (ix) the form of each of two global notes, one of which will be in the principal amount of $500,000,000 and one of which will be in the principal amount of $250,000,000, and each of which will be dated April 18, 2023 and will be payable to Cede & Co., as nominee of The Depository Trust Company, as the depositary (the “Nominee”), which global notes will represent the 2026 Notes being sold to