If a motion for judgment of acquittal is made at the close of all the evidence, a court may reserve decision on the motion, submit the case to the jury and decide the motion either before the jury returns a verdict or after it returns a verdict of guilty or is discharged without having returned a verdict.
SDCL 23A-23-2