#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*/ branches();
int /*<<< orphan*/ call();
int /*<<< orphan*/ error();
int /*<<< orphan*/ functions();
int /*<<< orphan*/ make();
int nondet();
int /*<<< orphan*/ other();
int /*<<< orphan*/ proceed();
int /*<<< orphan*/ some();
int /*<<< orphan*/ to();
int /*<<< orphan*/ useless();
int main(void) {
  int a;
  int b;
  int z;
  int tmp;
  int tmp___0;
  {
    { tmp___0 = nondet(); }
    if (tmp___0) {
      a = 10;
      b = 1;
    } else {
      { tmp = nondet(); }
      if (tmp) {
        a = 1;
        b = 10;
      } else {
        {
          a = 1;
          b = 1;
          call();
          some();
          useless();
          functions();
          to();
          make();
          other();
          branches();
          proceed();
        }
      }
    }
    z = 10;
    if (a == 1) {
      if (b == 1) {
        { error(); }
      } else {
      }
    } else {
    }
    return (0);
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1060 <nondet@plt>
mov    %eax,-0x18(%rbp)
cmpl   $0x0,-0x18(%rbp)
je     11e6 <main+0x36>
movl   $0xa,-0x8(%rbp)
movl   $0x1,-0xc(%rbp)
jmp    125f <main+0xaf>
mov    $0x0,%al
call   1060 <nondet@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     120d <main+0x5d>
movl   $0x1,-0x8(%rbp)
movl   $0xa,-0xc(%rbp)
jmp    125a <main+0xaa>
movl   $0x1,-0x8(%rbp)
movl   $0x1,-0xc(%rbp)
mov    $0x0,%al
call   10b0 <call@plt>
mov    $0x0,%al
call   1080 <some@plt>
mov    $0x0,%al
call   1030 <useless@plt>
mov    $0x0,%al
call   1070 <functions@plt>
mov    $0x0,%al
call   1040 <to@plt>
mov    $0x0,%al
call   10c0 <make@plt>
mov    $0x0,%al
call   1050 <other@plt>
mov    $0x0,%al
call   10d0 <branches@plt>
mov    $0x0,%al
call   10a0 <proceed@plt>
jmp    125f <main+0xaf>
movl   $0xa,-0x10(%rbp)
cmpl   $0x1,-0x8(%rbp)
jne    1290 <main+0xe0>
cmpl   $0x1,-0xc(%rbp)
jne    1286 <main+0xd6>
mov    $0x0,%al
call   1090 <error@plt>
jmp    128b <main+0xdb>
jmp    128b <main+0xdb>
jmp    1295 <main+0xe5>
jmp    1295 <main+0xe5>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1060 <nondet@plt>
test   %eax,%eax
jne    120d <main+0x5d>
xor    %eax,%eax
call   1060 <nondet@plt>
test   %eax,%eax
jne    120d <main+0x5d>
xor    %eax,%eax
call   10b0 <call@plt>
xor    %eax,%eax
call   1080 <some@plt>
xor    %eax,%eax
call   1030 <useless@plt>
xor    %eax,%eax
call   1070 <functions@plt>
xor    %eax,%eax
call   1040 <to@plt>
xor    %eax,%eax
call   10c0 <make@plt>
xor    %eax,%eax
call   1050 <other@plt>
xor    %eax,%eax
call   10d0 <branches@plt>
xor    %eax,%eax
call   10a0 <proceed@plt>
xor    %eax,%eax
call   1090 <error@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
%6 = alloca i32
store i32 0, i32* %1
%7 = call i32 (...) @nondet()
store i32 %7, i32* %6
%8 = load i32, i32* %6
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %0
store i32 10, i32* %2
store i32 1, i32* %3
br label %27
11: ; preds = %0
%12 = call i32 (...) @nondet()
store i32 %12, i32* %5
%13 = load i32, i32* %5
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %11
store i32 1, i32* %2
store i32 10, i32* %3
br label %26
16: ; preds = %11
store i32 1, i32* %2
store i32 1, i32* %3
%17 = call i32 (...) @call()
%18 = call i32 (...) @some()
%19 = call i32 (...) @useless()
%20 = call i32 (...) @functions()
%21 = call i32 (...) @to()
%22 = call i32 (...) @make()
%23 = call i32 (...) @other()
%24 = call i32 (...) @branches()
%25 = call i32 (...) @proceed()
br label %26
26: ; preds = %16, %15
br label %27
27: ; preds = %26, %10
store i32 10, i32* %4
%28 = load i32, i32* %2
%29 = icmp eq i32 %28, 1
br i1 %29, label %30, label %37
30: ; preds = %27
%31 = load i32, i32* %3
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = call i32 (...) @error()
br label %36
35: ; preds = %30
br label %36
36: ; preds = %35, %33
br label %38
37: ; preds = %27
br label %38
38: ; preds = %37, %36
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @nondet()
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %17
3: ; preds = %0
%4 = tail call i32 (...) @nondet()
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %17
6: ; preds = %3
%7 = tail call i32 (...) @call()
%8 = tail call i32 (...) @some()
%9 = tail call i32 (...) @useless()
%10 = tail call i32 (...) @functions()
%11 = tail call i32 (...) @to()
%12 = tail call i32 (...) @make()
%13 = tail call i32 (...) @other()
%14 = tail call i32 (...) @branches()
%15 = tail call i32 (...) @proceed()
%16 = tail call i32 (...) @error()
br label %17
17: ; preds = %3, %0, %6
ret i32 0
}