Tell me you don't know how a voting machine works without telling me you don't know how a voting machine works.
It really is a simple device that provides a programmable user interface which displays the candidates and any relevant info like party affiliation. The info is loaded under dual party supervision and that is supervised by a dual party team. Test votes are made and outputs are verified by the dual party team. After the program is signed off as correctly collecting data the program is loaded to all the machines at the voting location. They aren't connected to the internet in any way.
From there all the machine does is collect the selections the voter makes and after the voter confirms the selections a machine readable ballot is printed. The ballot has the selections and any control ID number. No data is stored in the machine past that point.
After that the ballot is fed into the main system where the ballots are fed and selections are tallied. The ballot can be ran through 100 times and the same result would be given. Each time a ballot is read the database is queried to see if the ID number exists. If it exists the ballot would ignored. Some systems seem to be internet connected still, kinda dumb cause dum dums automatically assume that machines are instantly hacked as soon as internet connected. This just isn't true and a "hacker" can't print ballots anyway. Even if a voting system was hacked a physical recount of the actual ballots would show any differences.
The whole election machine fake news is just made up BS that only the stupid (generally referred to as trumpies) will believe.