My daddy loved deer hunting with his 1873 Winchester 38-40. Gave him complete pass through.
The .40 oughta make a nice multi-purpose carbine, self defense as well as meeting the deer hunting regs.
I don't think the .40 S&W will meet the criteria for hunting deer. It most certainly would kill a deer.