Sony STR-DN1040 vs Denon AVR X2000?

Right now I have the option to swap my Marantz SR6001 for either of these, but I’m not sure which one is gonna be the better value overall?