int main(argc, argv)
int argc;
char *argv[];
{
  int i, j, m = 0xFFFF;
  start(50);
  prepare();
  if (argc == 2)
    m = atoi(argv[1]);
  for (j = 0; j < 1; j++) {
    if (m & 00001)
      test50a();
    if (m & 00002)
      test50b();
    if (m & 00004)
      test50c();
    if (m & 00010)
      test50d();
    if (m & 00020)
      test50e();
    if (m & 00040)
      test50f();
    if (m & 00100)
      test50g();
    if (m & 00200)
      test50h();
    if (m & 00400)
      test50i();
  }
  quit();
  return (-1);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0xffff,-0x1c(%rbp)
mov    $0x32,%edi
mov    $0x0,%al
call   1080 <start@plt>
mov    $0x0,%al
call   1090 <prepare@plt>
cmpl   $0x2,-0x8(%rbp)
jne    121c <main+0x4c>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
mov    $0x0,%al
call   10e0 <atoi@plt>
mov    %eax,-0x1c(%rbp)
movl   $0x0,-0x18(%rbp)
cmpl   $0x1,-0x18(%rbp)
jge    130a <main+0x13a>
mov    -0x1c(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     1243 <main+0x73>
mov    $0x0,%al
call   10f0 <test50a@plt>
mov    -0x1c(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     1259 <main+0x89>
mov    $0x0,%al
call   10a0 <test50b@plt>
mov    -0x1c(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     126f <main+0x9f>
mov    $0x0,%al
call   1060 <test50c@plt>
mov    -0x1c(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     1285 <main+0xb5>
mov    $0x0,%al
call   10d0 <test50d@plt>
mov    -0x1c(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     129b <main+0xcb>
mov    $0x0,%al
call   1040 <test50e@plt>
mov    -0x1c(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     12b1 <main+0xe1>
mov    $0x0,%al
call   10c0 <test50f@plt>
mov    -0x1c(%rbp),%eax
and    $0x40,%eax
cmp    $0x0,%eax
je     12c7 <main+0xf7>
mov    $0x0,%al
call   1050 <test50g@plt>
mov    -0x1c(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     12df <main+0x10f>
mov    $0x0,%al
call   10b0 <test50h@plt>
mov    -0x1c(%rbp),%eax
and    $0x100,%eax
cmp    $0x0,%eax
je     12f7 <main+0x127>
mov    $0x0,%al
call   1030 <test50i@plt>
jmp    12fc <main+0x12c>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1223 <main+0x53>
mov    $0x0,%al
call   1070 <quit@plt>
mov    $0xffffffff,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
mov    %rsi,%r14
mov    %edi,%ebp
mov    $0x32,%edi
xor    %eax,%eax
call   1080 <start@plt>
xor    %eax,%eax
call   1090 <prepare@plt>
mov    $0xffff,%ebx
cmp    $0x2,%ebp
jne    124b <main+0x7b>
mov    0x8(%r14),%rdi
xor    %eax,%eax
call   10e0 <atoi@plt>
mov    %eax,%ebx
test   $0x1,%bl
jne    124b <main+0x7b>
test   $0x2,%bl
jne    1257 <main+0x87>
test   $0x4,%bl
jne    1263 <main+0x93>
test   $0x8,%bl
jne    126f <main+0x9f>
test   $0x10,%bl
jne    127b <main+0xab>
test   $0x20,%bl
jne    1287 <main+0xb7>
test   $0x40,%bl
jne    1293 <main+0xc3>
test   $0x80,%bl
jne    129f <main+0xcf>
test   $0x100,%ebx
je     123a <main+0x6a>
xor    %eax,%eax
call   1030 <test50i@plt>
xor    %eax,%eax
call   1070 <quit@plt>
mov    $0xffffffff,%eax
pop    %rbx
pop    %r14
pop    %rbp
ret
xor    %eax,%eax
call   10f0 <test50a@plt>
test   $0x2,%bl
je     120d <main+0x3d>
xor    %eax,%eax
call   10a0 <test50b@plt>
test   $0x4,%bl
je     1212 <main+0x42>
xor    %eax,%eax
call   1060 <test50c@plt>
test   $0x8,%bl
je     1217 <main+0x47>
xor    %eax,%eax
call   10d0 <test50d@plt>
test   $0x10,%bl
je     121c <main+0x4c>
xor    %eax,%eax
call   1040 <test50e@plt>
test   $0x20,%bl
je     1221 <main+0x51>
xor    %eax,%eax
call   10c0 <test50f@plt>
test   $0x40,%bl
je     1226 <main+0x56>
xor    %eax,%eax
call   1050 <test50g@plt>
test   $0x80,%bl
je     122b <main+0x5b>
xor    %eax,%eax
call   10b0 <test50h@plt>
test   $0x100,%ebx
jne    1233 <main+0x63>
jmp    123a <main+0x6a>

LLVM IR (-O0):
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 65535, i32* %8
%9 = call i32 (i32, ...) bitcast (i32 (...)* @start to i32 (i32, ...)*)(i32 50)
%10 = call i32 (...) @prepare()
%11 = load i32, i32* %4
%12 = icmp eq i32 %11, 2
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load i8**, i8*** %5
%15 = getelementptr inbounds i8*, i8** %14, i64 1
%16 = load i8*, i8** %15
%17 = call i32 (i8*, ...) bitcast (i32 (...)* @atoi to i32 (i8*, ...)*)(i8* %16)
store i32 %17, i32* %8
br label %18
18: ; preds = %13, %2
store i32 0, i32* %7
br label %19
19: ; preds = %77, %18
%20 = load i32, i32* %7
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %80
22: ; preds = %19
%23 = load i32, i32* %8
%24 = and i32 %23, 1
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %22
%27 = call i32 (...) @test50a()
br label %28
28: ; preds = %26, %22
%29 = load i32, i32* %8
%30 = and i32 %29, 2
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %28
%33 = call i32 (...) @test50b()
br label %34
34: ; preds = %32, %28
%35 = load i32, i32* %8
%36 = and i32 %35, 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %34
%39 = call i32 (...) @test50c()
br label %40
40: ; preds = %38, %34
%41 = load i32, i32* %8
%42 = and i32 %41, 8
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %40
%45 = call i32 (...) @test50d()
br label %46
46: ; preds = %44, %40
%47 = load i32, i32* %8
%48 = and i32 %47, 16
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %46
%51 = call i32 (...) @test50e()
br label %52
52: ; preds = %50, %46
%53 = load i32, i32* %8
%54 = and i32 %53, 32
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %52
%57 = call i32 (...) @test50f()
br label %58
58: ; preds = %56, %52
%59 = load i32, i32* %8
%60 = and i32 %59, 64
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %58
%63 = call i32 (...) @test50g()
br label %64
64: ; preds = %62, %58
%65 = load i32, i32* %8
%66 = and i32 %65, 128
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %64
%69 = call i32 (...) @test50h()
br label %70
70: ; preds = %68, %64
%71 = load i32, i32* %8
%72 = and i32 %71, 256
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %76
74: ; preds = %70
%75 = call i32 (...) @test50i()
br label %76
76: ; preds = %74, %70
br label %77
77: ; preds = %76
%78 = load i32, i32* %7
%79 = add nsw i32 %78, 1
store i32 %79, i32* %7
br label %19
80: ; preds = %19
%81 = call i32 (...) @quit()
ret i32 -1
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = tail call i32 (i32, ...) bitcast (i32 (...)* @start to i32 (i32, ...)*)(i32 50)
%4 = tail call i32 (...) @prepare()
%5 = icmp eq i32 %0, 2
br i1 %5, label %6, label %12
6: ; preds = %2
%7 = getelementptr inbounds i8*, i8** %1, i64 1
%8 = load i8*, i8** %7
%9 = tail call i32 (i8*, ...) bitcast (i32 (...)* @atoi to i32 (i8*, ...)*)(i8* %8)
%10 = and i32 %9, 1
%11 = icmp eq i32 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %2, %6
%13 = phi i32 [ %9, %6 ], [ 65535, %2 ]
%14 = tail call i32 (...) @test50a()
br label %15
15: ; preds = %12, %6
%16 = phi i32 [ %13, %12 ], [ %9, %6 ]
%17 = and i32 %16, 2
%18 = icmp eq i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = tail call i32 (...) @test50b()
br label %21
21: ; preds = %19, %15
%22 = and i32 %16, 4
%23 = icmp eq i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %21
%25 = tail call i32 (...) @test50c()
br label %26
26: ; preds = %24, %21
%27 = and i32 %16, 8
%28 = icmp eq i32 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %26
%30 = tail call i32 (...) @test50d()
br label %31
31: ; preds = %29, %26
%32 = and i32 %16, 16
%33 = icmp eq i32 %32, 0
br i1 %33, label %36, label %34
34: ; preds = %31
%35 = tail call i32 (...) @test50e()
br label %36
36: ; preds = %34, %31
%37 = and i32 %16, 32
%38 = icmp eq i32 %37, 0
br i1 %38, label %41, label %39
39: ; preds = %36
%40 = tail call i32 (...) @test50f()
br label %41
41: ; preds = %39, %36
%42 = and i32 %16, 64
%43 = icmp eq i32 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %41
%45 = tail call i32 (...) @test50g()
br label %46
46: ; preds = %44, %41
%47 = and i32 %16, 128
%48 = icmp eq i32 %47, 0
br i1 %48, label %51, label %49
49: ; preds = %46
%50 = tail call i32 (...) @test50h()
br label %51
51: ; preds = %49, %46
%52 = and i32 %16, 256
%53 = icmp eq i32 %52, 0
br i1 %53, label %56, label %54
54: ; preds = %51
%55 = tail call i32 (...) @test50i()
br label %56
56: ; preds = %51, %54
%57 = tail call i32 (...) @quit()
ret i32 -1
}