How does the speedometer gear stay in? MY bud took this apart and I cannot find a clip

If you have the system shown in post #7 and the gear falls out, it is because either the seal is shot or missing. Seal friction keeps it from falling out, during handling.
OOps Pishta beat me to it,lol