MOSCOW — Eight teams have secured spots in the knockout stage at the World Cup after the chaotic conclusions of Monday’s matches. Nine teams have been eliminated. Fifteen teams still have a chance. With two groups finished and six still playing, here’s a look at who’s in, who’s out and possible scenarios at the World Cup.

GROUP A

Uruguay locked up first place with a 3-0 win Monday over Russia, which advanced anyway after winning its first two matches. Uruguay will play Portugal on Saturday in Sochi. Russia takes on Spain on Sunday at Luzhniki Stadium, the larger of the two Moscow venues. Egypt and Saudi Arabia have been eliminated.

GROUP B

Spain emerged atop the group after simultaneous, frenetic finishes in the night games. Spain got a late equalizer in a 2-2 draw with Morocco and Portugal had a 1-1 draw with Iran . The 2010 World Cup champion Spaniards will play the host Russians to start the knockout stage, while reigning European champion Portugal will play Uruguay. Morocco and Iran have been eliminated.

GROUP C

France has advanced and leads with six points. Denmark is second with four after a 1-1 draw against Australia, which has one point. Peru is out of contention. Denmark plays France on Tuesday, when Australia takes on Peru. Australia needs to win, probably by more than one goal, and needs Denmark to lose by as many as possible.

GROUP D

Croatia has secured a trip to the round of 16 and tops the group with six points. Nigeria (three points) will advance with a win over Argentina (one point) on Tuesday, when Iceland plays Croatia. But Iceland (one point) or the last-place Argentines could survive with a win and a Nigeria loss or draw, depending on goal difference.

GROUP E

Brazil and Switzerland have four points apiece, Serbia has three, and any of them could grab one of the group’s two spots in the knockout stage. Serbia meets Brazil on Wednesday, likely needing a win. Switzerland plays Costa Rica at the same time. Costa Rica has been eliminated.

GROUP F

Mexico leads with six points but isn’t safe yet. If defending champion Germany defeats South Korea on Wednesday and Sweden simultaneously tops Mexico, three teams would finish with six points, sending it to tiebreakers that start with the best goal differential. If Mexico and South Korea win, Mexico would top the group and the other three teams would be equal on three points.

GROUP G

Belgium and England play each other Thursday to determine who wins the group and who finishes second. Tunisia and Panama are out of contention.

GROUP H

Japan and Senegal lead the group with four points apiece. Colombia has three and would advance if it beats Senegal, and both could go through with a draw if Japan loses. Poland is eliminated.