PURCHASE AND SALE AGREEMENT by and between MALLARD FUNDING LLC, as the Purchaser and APOLLO DEBT SOLUTIONS BDC, as the Transferor Dated as of January 7, 2022