Looks like a Briggs engine. Get the model number information from the valve cover and that will assist us in recommending a replacement engine.
#3
StarTech
It came with either the 33R877-0004-G1 or 31P677–0239–B1 depending on when it was built. I would recommend the enlarger CI engine. Note Briggs doesn't show the second engine it might be a typo on JD part IPL.
33R877-0004-G1 direct replacement is the 33R877-0003-G1 or the Promo 33S877-0019-G1 19 hp