A total of 1159 men were randomly assigned to undergo immediate circumcision , and 1140 men were randomly assigned to the control arm ( these individuals were asked to remain uncircumcised until the study ended ) .