#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 /*<<< orphan*/ __ESBMC_assume(int);
scalar_t__ __VERIFIER_nondet_int();
int /*<<< orphan*/ assert(int);
int main() {
  int x = 0;
  int y = 0;
  int z = 0;
  int w = 0;
  __ESBMC_assume(w >= x && x >= 0 && __VERIFIER_nondet_int() == 0 &&
                 100 * x == y && 10 * w == z);
  if (x >= 4)
    assert(y > 2);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
movl   $0x0,-0xc(%rbp)
movl   $0x0,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%ecx
xor    %eax,%eax
cmp    -0x8(%rbp),%ecx
mov    %al,-0x15(%rbp)
jl     11b3 <main+0x83>
xor    %eax,%eax
cmpl   $0x0,-0x8(%rbp)
mov    %al,-0x15(%rbp)
jl     11b3 <main+0x83>
mov    $0x0,%al
call   1050 <__VERIFIER_nondet_int@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    $0x0,%rcx
mov    %al,-0x15(%rbp)
jne    11b3 <main+0x83>
imul   $0x64,-0x8(%rbp),%ecx
xor    %eax,%eax
cmp    -0xc(%rbp),%ecx
mov    %al,-0x15(%rbp)
jne    11b3 <main+0x83>
imul   $0xa,-0x14(%rbp),%eax
cmp    -0x10(%rbp),%eax
sete   %al
mov    %al,-0x15(%rbp)
mov    -0x15(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__ESBMC_assume@plt>
cmpl   $0x4,-0x8(%rbp)
jl     11db <main+0xab>
cmpl   $0x2,-0xc(%rbp)
setg   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1040 <__VERIFIER_nondet_int@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1030 <__ESBMC_assume@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
%5 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %2
store i32 0, i32* %3
store i32 0, i32* %4
store i32 0, i32* %5
%6 = load i32, i32* %5
%7 = load i32, i32* %2
%8 = icmp sge i32 %6, %7
br i1 %8, label %9, label %25
9: ; preds = %0
%10 = load i32, i32* %2
%11 = icmp sge i32 %10, 0
br i1 %11, label %12, label %25
12: ; preds = %9
%13 = call i64 (...) @__VERIFIER_nondet_int()
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %25
15: ; preds = %12
%16 = load i32, i32* %2
%17 = mul nsw i32 100, %16
%18 = load i32, i32* %3
%19 = icmp eq i32 %17, %18
br i1 %19, label %20, label %25
20: ; preds = %15
%21 = load i32, i32* %5
%22 = mul nsw i32 10, %21
%23 = load i32, i32* %4
%24 = icmp eq i32 %22, %23
br label %25
25: ; preds = %20, %15, %12, %9, %0
%26 = phi i1 [ false, %15 ], [ false, %12 ], [ false, %9 ], [ false, %0 ], [ %24, %20 ]
%27 = zext i1 %26 to i32
%28 = call i32 @__ESBMC_assume(i32 %27)
%29 = load i32, i32* %2
%30 = icmp sge i32 %29, 4
br i1 %30, label %31, label %36
31: ; preds = %25
%32 = load i32, i32* %3
%33 = icmp sgt i32 %32, 2
%34 = zext i1 %33 to i32
%35 = call i32 @assert(i32 %34)
br label %36
36: ; preds = %31, %25
%37 = load i32, i32* %1
ret i32 %37
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i64 (...) @__VERIFIER_nondet_int()
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = tail call i32 @__ESBMC_assume(i32 %3)
ret i32 0
}