New lease residual based off MSRP or discounted sales price

Looking for help on a rv question. If I lease a msrp 50k car but negotiate price to 45k, should the rv be based on discounted price or msrp? Thanks in advance

RV is based on MSRP.

It may be reduced if it is a loaner, depending on make/brand.

Always based on MSRP.