#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int __VERIFIER_nondet_int();
int main() {
  int x;
  int y;
  int z;
  y = __VERIFIER_nondet_int();
  z = __VERIFIER_nondet_int();
  if (__VERIFIER_nondet_int() != 0) {
    x = 1;
  } else {
    x = -1;
  }
  if (x > 0) {
    x = x + 1;
  } else {
    x = x - 1;
  }
  if (x > 0) {
    x = x + 1;
  } else {
    x = x - 1;
  }
  if (x > 0) {
    x = x + 1;
  } else {
    x = x - 1;
  }
  if (x > 0) {
    x = x + 1;
  } else {
    x = x - 1;
  }
  if (x > 0) {
    x = x + 1;
  } else {
    x = x - 1;
  }
  if (x > 0) {
    x = x + 1;
  } else {
    x = x - 1;
  }
  if (x > 0) {
    x = x + 1;
  } else {
    x = x - 1;
  }
  if (x > 0) {
    x = x + 1;
  } else {
    x = x - 1;
  }
  while (y < 100 && z < 100) {
    y = y + x;
    z = z - x;
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,-0xc(%rbp)
mov    $0x0,%al
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,-0x10(%rbp)
mov    $0x0,%al
call   1030 <__VERIFIER_nondet_int@plt>
cmp    $0x0,%eax
je     114f <main+0x3f>
movl   $0x1,-0x8(%rbp)
jmp    1156 <main+0x46>
movl   $0xffffffff,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jle    116e <main+0x5e>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1177 <main+0x67>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jle    118f <main+0x7f>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1198 <main+0x88>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jle    11b0 <main+0xa0>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11b9 <main+0xa9>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jle    11d1 <main+0xc1>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11da <main+0xca>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jle    11f2 <main+0xe2>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11fb <main+0xeb>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jle    1213 <main+0x103>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    121c <main+0x10c>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jle    1234 <main+0x124>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    123d <main+0x12d>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jle    1255 <main+0x145>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    125e <main+0x14e>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1263 <main+0x153>
xor    %eax,%eax
cmpl   $0x64,-0xc(%rbp)
mov    %al,-0x11(%rbp)
jge    127c <main+0x16c>
cmpl   $0x64,-0x10(%rbp)
setl   %al
mov    %al,-0x11(%rbp)
mov    -0x11(%rbp),%al
test   $0x1,%al
jne    128c <main+0x17c>
jmp    12a3 <main+0x193>
mov    -0xc(%rbp),%eax
add    -0x8(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    -0x10(%rbp),%eax
sub    -0x8(%rbp),%eax
mov    %eax,-0x10(%rbp)
jmp    1263 <main+0x153>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@plt>
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@plt>
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
store i32 0, i32* %1
%5 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %5, i32* %3
%6 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %6, i32* %4
%7 = call i32 (...) @__VERIFIER_nondet_int()
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %0
store i32 1, i32* %2
br label %11
10: ; preds = %0
store i32 -1, i32* %2
br label %11
11: ; preds = %10, %9
%12 = load i32, i32* %2
%13 = icmp sgt i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i32, i32* %2
%16 = add nsw i32 %15, 1
store i32 %16, i32* %2
br label %20
17: ; preds = %11
%18 = load i32, i32* %2
%19 = sub nsw i32 %18, 1
store i32 %19, i32* %2
br label %20
20: ; preds = %17, %14
%21 = load i32, i32* %2
%22 = icmp sgt i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load i32, i32* %2
%25 = add nsw i32 %24, 1
store i32 %25, i32* %2
br label %29
26: ; preds = %20
%27 = load i32, i32* %2
%28 = sub nsw i32 %27, 1
store i32 %28, i32* %2
br label %29
29: ; preds = %26, %23
%30 = load i32, i32* %2
%31 = icmp sgt i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %29
%33 = load i32, i32* %2
%34 = add nsw i32 %33, 1
store i32 %34, i32* %2
br label %38
35: ; preds = %29
%36 = load i32, i32* %2
%37 = sub nsw i32 %36, 1
store i32 %37, i32* %2
br label %38
38: ; preds = %35, %32
%39 = load i32, i32* %2
%40 = icmp sgt i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %38
%42 = load i32, i32* %2
%43 = add nsw i32 %42, 1
store i32 %43, i32* %2
br label %47
44: ; preds = %38
%45 = load i32, i32* %2
%46 = sub nsw i32 %45, 1
store i32 %46, i32* %2
br label %47
47: ; preds = %44, %41
%48 = load i32, i32* %2
%49 = icmp sgt i32 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %47
%51 = load i32, i32* %2
%52 = add nsw i32 %51, 1
store i32 %52, i32* %2
br label %56
53: ; preds = %47
%54 = load i32, i32* %2
%55 = sub nsw i32 %54, 1
store i32 %55, i32* %2
br label %56
56: ; preds = %53, %50
%57 = load i32, i32* %2
%58 = icmp sgt i32 %57, 0
br i1 %58, label %59, label %62
59: ; preds = %56
%60 = load i32, i32* %2
%61 = add nsw i32 %60, 1
store i32 %61, i32* %2
br label %65
62: ; preds = %56
%63 = load i32, i32* %2
%64 = sub nsw i32 %63, 1
store i32 %64, i32* %2
br label %65
65: ; preds = %62, %59
%66 = load i32, i32* %2
%67 = icmp sgt i32 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %65
%69 = load i32, i32* %2
%70 = add nsw i32 %69, 1
store i32 %70, i32* %2
br label %74
71: ; preds = %65
%72 = load i32, i32* %2
%73 = sub nsw i32 %72, 1
store i32 %73, i32* %2
br label %74
74: ; preds = %71, %68
%75 = load i32, i32* %2
%76 = icmp sgt i32 %75, 0
br i1 %76, label %77, label %80
77: ; preds = %74
%78 = load i32, i32* %2
%79 = add nsw i32 %78, 1
store i32 %79, i32* %2
br label %83
80: ; preds = %74
%81 = load i32, i32* %2
%82 = sub nsw i32 %81, 1
store i32 %82, i32* %2
br label %83
83: ; preds = %80, %77
br label %84
84: ; preds = %92, %83
%85 = load i32, i32* %3
%86 = icmp slt i32 %85, 100
br i1 %86, label %87, label %90
87: ; preds = %84
%88 = load i32, i32* %4
%89 = icmp slt i32 %88, 100
br label %90
90: ; preds = %87, %84
%91 = phi i1 [ false, %84 ], [ %89, %87 ]
br i1 %91, label %92, label %99
92: ; preds = %90
%93 = load i32, i32* %3
%94 = load i32, i32* %2
%95 = add nsw i32 %93, %94
store i32 %95, i32* %3
%96 = load i32, i32* %4
%97 = load i32, i32* %2
%98 = sub nsw i32 %96, %97
store i32 %98, i32* %4
br label %84
99: ; preds = %90
ret i32 0
}

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()
ret i32 0
}