Sales Lease back - unearned profit (GAAP)

hi fellas! I am confused about the unearned gain on the sales-lease back under US GAAP and IFRS. I have established for IFRS it is always Selling Price- Carrying Value. I cant come up with a US GAAP working for the unearned gain is it the PV of MLP- Selling Price! Please help Thanks