Austin Hill, who had dominated most of the race, went to block Noah Gregson with four of 113 laps remaining, giving Mayer the opportunity to take the lead.
On the last lap, Allmendinger he appeared to finish behind Mayer, but made another run and cut to Mayer’s right as Mayer tried to block him. He edged Mayer by 0.015 seconds at the finish to earn his first career superspeedway win.
It is his fourth win of the 2022 season and his win automatically sends him into the semi-final round of the playoffs regardless of how he finishes next weekend at Charlotte Roval.
“I still hate it, still hate it,” Allmendinger said of the superspeedway races, “but gosh, we were so close to winning, and I feel like I keep giving them away. I thought I gave it away. I’m still learning what too much advantage is.
“Honestly, everything is appropriate Landon Cassill – he continued to push me. He stuck with me. That’s what’s great about Kaulig Racing when you have teammates like Landon and Daniel (Gemrick). Wherever you go, you know they will go with you. This makes it a little easier.
“I just wanted to win at Superspeedway. I finally got it.”
Mayer finished second, just shy of his first win in the series. Cassil was third, Ryan Sieg fourth and Josh Berry rounded out the top five.
Rounding out the top 10 are Parker Kligerman, Ty Gibbs, Hemrick, Brandon Jones and Gragson.
There is one race left in this round of players. The four lowest-scoring drivers facing elimination next weekend in Charlotte are Hemrick, Jones, Riley Herbst and Jeremy Clements.
After the break between stages 2 and 3, all the leading cars hit pit road with Trevor Bain first. Mayer was penalized for speeding on pit road and had to restart from the back of the field.
On the restart on lap 56, Bayne was followed by Gregson, Jones and Gibbs.
Thanks to a push from Jones, Gregson cleared Bayne on the restart and took the lead for the first time in the race.
Allmendinger moved into the lead on lap 59 only to see Sieg pass him for the lead on lap 60.
On lap 68, the first group of cars made their final green flag pit stop to refresh their tires and fuel to make it to the finish line of the race.
Mayette Snyder they were spun by Blaine Perkins while they made their respective stops.
After a cycle of stops was completed on lap 81, Austin Hill retook the lead.
With 15 laps to go, the front of the field remained solitary with Hill leading the way, followed by Allmendinger and Gregson.
With four laps to go, Hill went to block Gregson, allowing Mayer to take the lead.
Hill got a push from Allmendinger to hold Justin Allgaier and win stage 2.
Allmendinger finished third, Bain fourth Jeb Burton close the top five.
After a break between Stages 1 and 2, most of the pit is field and Hill is first off the pit road. He led on the restart for 31 laps.
Bain quickly took the lead on the restart.
On lap 41, Sheldon Creed came out of a three-wide battle with the leader Brandon Brown moved to second place.
Hill returned to the lead on lap 43.
Hill held off teammate Creed to take the Stage 1 win.
Gemrick was third, Jones was fourth and Bain rounded out the top five.
Hill started on pole and led early until Gibbs spun on the backstretch after contact with Allgaier to bring out the caution on lap 4.
On lap seven, the race went back to green with Hill still ahead. Allgaier quickly took the lead after the restart.
With a push from Creed, Hill was back in the lead on lap 14.
With two laps to go in the stage, Hill and Creed continued to lead.