My current question is about both laws #16 and #17 of modern standard soccer rules.
https://en.wikipedia.org/wiki/Goal_kick
A goal kick is awarded to the defending team when the ball goes out of the field of play by crossing, either on the ground or in the air, the goal line, without a goal being scored, when the last player to touch the ball was a member of the attacking team. If the last player to touch the ball was a member of the defending side, a corner kick is instead awarded to the attackers.
What if the ball crossed the goal line (definitely no goal scored) but there were TWO footballers who had touched the ball simultaneously or nearly simultaneously before it went out of the field? Of course, I mean the case when they are opponents. Thus, one player from each opposing team.
How is played restarted in such a case?