Code:
while (this condition that) {
  var %v1 = $v1, %v2 = $v2
  if (something condition thisthing) {
    ;use $v1 & $v2 for the if part, and %v1,%v2 for checking while things 
  }
}