AMENDED AND RESTATED SENIOR SECURED CREDIT AGREEMENT dated as of November 24, 2021 among BATTALION OIL CORPORATION, as Holdings, HALCÓN HOLDINGS, LLC, as Borrower, MACQUARIE BANK LIMITED, as Administrative Agent, and The Lenders Party Hereto