main() {
  int x = __VERIFIER_nondet_int();
  int y = __VERIFIER_nondet_int();
  int z = __VERIFIER_nondet_int();
  __VERIFIER_assume(x < 100);
  __VERIFIER_assume(z < 100);
  while (x < 100 && 100 < z) {
    _Bool tmp = __VERIFIER_nondet_bool();
    if (tmp) {
      x++;
    } else {
      x--;
      z--;
    }
  }
  __VERIFIER_assert(x >= 100 || z <= 100);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1040 <__VERIFIER_nondet_int@plt>
mov    %eax,-0x8(%rbp)
mov    $0x0,%al
call   1040 <__VERIFIER_nondet_int@plt>
mov    %eax,-0xc(%rbp)
mov    $0x0,%al
call   1040 <__VERIFIER_nondet_int@plt>
mov    %eax,-0x10(%rbp)
cmpl   $0x64,-0x8(%rbp)
setl   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1060 <__VERIFIER_assume@plt>
cmpl   $0x64,-0x10(%rbp)
setl   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1060 <__VERIFIER_assume@plt>
xor    %eax,%eax
cmpl   $0x64,-0x8(%rbp)
mov    %al,-0x12(%rbp)
jge    11b0 <main+0x70>
mov    $0x64,%eax
cmp    -0x10(%rbp),%eax
setl   %al
mov    %al,-0x12(%rbp)
mov    -0x12(%rbp),%al
test   $0x1,%al
jne    11c0 <main+0x80>
jmp    1201 <main+0xc1>
mov    $0x0,%al
call   1030 <__VERIFIER_nondet_bool@plt>
cmp    $0x0,%eax
setne  %al
and    $0x1,%al
mov    %al,-0x11(%rbp)
testb  $0x1,-0x11(%rbp)
je     11ea <main+0xaa>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11fc <main+0xbc>
mov    -0x8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x8(%rbp)
mov    -0x10(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x10(%rbp)
jmp    1193 <main+0x53>
mov    $0x1,%al
cmpl   $0x64,-0x8(%rbp)
mov    %al,-0x13(%rbp)
jge    121a <main+0xda>
cmpl   $0x64,-0x10(%rbp)
setle  %al
mov    %al,-0x13(%rbp)
mov    -0x13(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <__VERIFIER_assert@plt>
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
xor    %eax,%eax
call   1040 <__VERIFIER_nondet_int@plt>
mov    %eax,%ebp
xor    %eax,%eax
call   1040 <__VERIFIER_nondet_int@plt>
xor    %eax,%eax
call   1040 <__VERIFIER_nondet_int@plt>
mov    %eax,%ebx
xor    %edi,%edi
cmp    $0x64,%ebp
setl   %dil
xor    %eax,%eax
call   1060 <__VERIFIER_assume@plt>
xor    %edi,%edi
cmp    $0x64,%ebx
setl   %dil
xor    %eax,%eax
call   1060 <__VERIFIER_assume@plt>
cmp    $0x63,%ebp
jg     11b5 <main+0x75>
cmp    $0x65,%ebx
jl     11b5 <main+0x75>
nopw   0x0(%rax,%rax,1)
mov    %ebp,%r14d
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_bool@plt>
cmp    $0x1,%eax
sbb    $0x0,%ebx
cmp    $0x1,%eax
sbb    %ebp,%ebp
or     $0x1,%ebp
add    %r14d,%ebp
cmp    $0x63,%ebp
jg     11b5 <main+0x75>
cmp    $0x64,%ebx
ja     1190 <main+0x50>
cmp    $0x64,%ebp
setge  %al
cmp    $0x65,%ebx
setl   %cl
or     %al,%cl
movzbl %cl,%edi
xor    %eax,%eax
call   1050 <__VERIFIER_assert@plt>
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8
store i32 0, i32* %1
%6 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %6, i32* %2
%7 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %7, i32* %3
%8 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %8, i32* %4
%9 = load i32, i32* %2
%10 = icmp slt i32 %9, 100
%11 = zext i1 %10 to i32
%12 = call i32 (i32, ...) bitcast (i32 (...)* @__VERIFIER_assume to i32 (i32, ...)*)(i32 %11)
%13 = load i32, i32* %4
%14 = icmp slt i32 %13, 100
%15 = zext i1 %14 to i32
%16 = call i32 (i32, ...) bitcast (i32 (...)* @__VERIFIER_assume to i32 (i32, ...)*)(i32 %15)
br label %17
17: ; preds = %39, %0
%18 = load i32, i32* %2
%19 = icmp slt i32 %18, 100
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = load i32, i32* %4
%22 = icmp slt i32 100, %21
br label %23
23: ; preds = %20, %17
%24 = phi i1 [ false, %17 ], [ %22, %20 ]
br i1 %24, label %25, label %40
25: ; preds = %23
%26 = call i32 (...) @__VERIFIER_nondet_bool()
%27 = icmp ne i32 %26, 0
%28 = zext i1 %27 to i8
store i8 %28, i8* %5
%29 = load i8, i8* %5
%30 = trunc i8 %29 to i1
br i1 %30, label %31, label %34
31: ; preds = %25
%32 = load i32, i32* %2
%33 = add nsw i32 %32, 1
store i32 %33, i32* %2
br label %39
34: ; preds = %25
%35 = load i32, i32* %2
%36 = add nsw i32 %35, -1
store i32 %36, i32* %2
%37 = load i32, i32* %4
%38 = add nsw i32 %37, -1
store i32 %38, i32* %4
br label %39
39: ; preds = %34, %31
br label %17
40: ; preds = %23
%41 = load i32, i32* %2
%42 = icmp sge i32 %41, 100
br i1 %42, label %46, label %43
43: ; preds = %40
%44 = load i32, i32* %4
%45 = icmp sle i32 %44, 100
br label %46
46: ; preds = %43, %40
%47 = phi i1 [ true, %40 ], [ %45, %43 ]
%48 = zext i1 %47 to i32
%49 = call i32 (i32, ...) bitcast (i32 (...)* @__VERIFIER_assert to i32 (i32, ...)*)(i32 %48)
%50 = load i32, i32* %1
ret i32 %50
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @__VERIFIER_nondet_int()
%2 = tail call i32 (...) @__VERIFIER_nondet_int()
%3 = tail call i32 (...) @__VERIFIER_nondet_int()
%4 = icmp slt i32 %1, 100
%5 = zext i1 %4 to i32
%6 = tail call i32 (i32, ...) bitcast (i32 (...)* @__VERIFIER_assume to i32 (i32, ...)*)(i32 %5)
%7 = icmp slt i32 %3, 100
%8 = zext i1 %7 to i32
%9 = tail call i32 (i32, ...) bitcast (i32 (...)* @__VERIFIER_assume to i32 (i32, ...)*)(i32 %8)
%10 = icmp sgt i32 %3, 100
%11 = select i1 %4, i1 %10, i1 false
br i1 %11, label %12, label %24
12: ; preds = %0, %12
%13 = phi i32 [ %20, %12 ], [ %1, %0 ]
%14 = phi i32 [ %18, %12 ], [ %3, %0 ]
%15 = tail call i32 (...) @__VERIFIER_nondet_bool()
%16 = icmp eq i32 %15, 0
%17 = sext i1 %16 to i32
%18 = add nsw i32 %14, %17
%19 = select i1 %16, i32 -1, i32 1
%20 = add nsw i32 %19, %13
%21 = icmp slt i32 %20, 100
%22 = icmp ugt i32 %18, 100
%23 = select i1 %21, i1 %22, i1 false
br i1 %23, label %12, label %24
24: ; preds = %12, %0
%25 = phi i32 [ %3, %0 ], [ %18, %12 ]
%26 = phi i32 [ %1, %0 ], [ %20, %12 ]
%27 = icmp sgt i32 %26, 99
%28 = icmp slt i32 %25, 101
%29 = select i1 %27, i1 true, i1 %28
%30 = zext i1 %29 to i32
%31 = tail call i32 (i32, ...) bitcast (i32 (...)* @__VERIFIER_assert to i32 (i32, ...)*)(i32 %30)
ret i32 0
}