Much of the movie is set in Mexico, to excellent effect, and arguably the main lines of the plot mirror some themes from Nahua culture and history:
“…the Aztec saw themselves as “the People of the Sun,” whose divine duty was to wage cosmic war in order to provide the sun with his tlaxcaltiliztli (“nourishment”). Without it, the sun would disappear from the heavens.” Link here.
Quetzalcoatl descending into the land of the dead, and the breaking of the bones.
“…a sibling rivalry grew between Quetzalcoatl and his brother the mighty sun, who Quetzalcoatl knocked from the sky with a stone club.”
“…When the Aztecs sacrificed people to Huitzilopochtli (the god with warlike aspects) the victim would be placed on a sacrificial stone. The priest would then cut through the abdomen with an obsidian or flint blade.” Link here.
Overall the movie reminded me of Rogue One. Rogue One did not have the freshness or originality of the core Star Wars movies, but it was a member of the actual franchise in a way that some of the later sequels were not, and thus a refreshing reminder of what the whole thing was all about in the first place.