Explanation:
The loop is repeated until the
loop-counter
~vt
has reached zero. This happens after the second repetition of the routine.