Today we have another mystery chip! The marking on the package specified this as an AZ358, sales
which is supposed to be an op-amp, stomach
this is clearly a digital and the number of pins is incorrect. I must be getting sloppy! Here it is in any case.