Third-seeded Hayata lost the opening game before seizing control by winning the next three en route to winning an Olympic medal in Paris.
Japanese badminton medal hopeful Yamaguchi faces a stiff test in the Olympic quarterfinals against South Korea's Se Young An, the top women's singles seed.