int main(argc, argv)
int argc;
char *argv[];
{
  int 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,-0x18(%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,-0x18(%rbp)
movl   $0x0,-0x14(%rbp)
cmpl   $0x1,-0x14(%rbp)
jge    130a <main+0x13a>
mov    -0x18(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     1243 <main+0x73>
mov    $0x0,%al
call   10f0 <test50a@plt>
mov    -0x18(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     1259 <main+0x89>
mov    $0x0,%al
call   10a0 <test50b@plt>
mov    -0x18(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     126f <main+0x9f>
mov    $0x0,%al
call   1060 <test50c@plt>
mov    -0x18(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     1285 <main+0xb5>
mov    $0x0,%al
call   10d0 <test50d@plt>
mov    -0x18(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     129b <main+0xcb>
mov    $0x0,%al
call   1040 <test50e@plt>
mov    -0x18(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     12b1 <main+0xe1>
mov    $0x0,%al
call   10c0 <test50f@plt>
mov    -0x18(%rbp),%eax
and    $0x40,%eax
cmp    $0x0,%eax
je     12c7 <main+0xf7>
mov    $0x0,%al
call   1050 <test50g@plt>
mov    -0x18(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     12df <main+0x10f>
mov    $0x0,%al
call   10b0 <test50h@plt>
mov    -0x18(%rbp),%eax
and    $0x100,%eax
cmp    $0x0,%eax
je     12f7 <main+0x127>
mov    $0x0,%al
call   1030 <test50i@plt>
jmp    12fc <main+0x12c>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%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
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 65535, i32* %7
%8 = call i32 (i32, ...) bitcast (i32 (...)* @start to i32 (i32, ...)*)(i32 50)
%9 = call i32 (...) @prepare()
%10 = load i32, i32* %4
%11 = icmp eq i32 %10, 2
br i1 %11, label %12, label %17
12: ; preds = %2
%13 = load i8**, i8*** %5
%14 = getelementptr inbounds i8*, i8** %13, i64 1
%15 = load i8*, i8** %14
%16 = call i32 (i8*, ...) bitcast (i32 (...)* @atoi to i32 (i8*, ...)*)(i8* %15)
store i32 %16, i32* %7
br label %17
17: ; preds = %12, %2
store i32 0, i32* %6
br label %18
18: ; preds = %76, %17
%19 = load i32, i32* %6
%20 = icmp slt i32 %19, 1
br i1 %20, label %21, label %79
21: ; preds = %18
%22 = load i32, i32* %7
%23 = and i32 %22, 1
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = call i32 (...) @test50a()
br label %27
27: ; preds = %25, %21
%28 = load i32, i32* %7
%29 = and i32 %28, 2
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = call i32 (...) @test50b()
br label %33
33: ; preds = %31, %27
%34 = load i32, i32* %7
%35 = and i32 %34, 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %33
%38 = call i32 (...) @test50c()
br label %39
39: ; preds = %37, %33
%40 = load i32, i32* %7
%41 = and i32 %40, 8
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %39
%44 = call i32 (...) @test50d()
br label %45
45: ; preds = %43, %39
%46 = load i32, i32* %7
%47 = and i32 %46, 16
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %45
%50 = call i32 (...) @test50e()
br label %51
51: ; preds = %49, %45
%52 = load i32, i32* %7
%53 = and i32 %52, 32
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %57
55: ; preds = %51
%56 = call i32 (...) @test50f()
br label %57
57: ; preds = %55, %51
%58 = load i32, i32* %7
%59 = and i32 %58, 64
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %57
%62 = call i32 (...) @test50g()
br label %63
63: ; preds = %61, %57
%64 = load i32, i32* %7
%65 = and i32 %64, 128
%66 = icmp ne i32 %65, 0
br i1 %66, label %67, label %69
67: ; preds = %63
%68 = call i32 (...) @test50h()
br label %69
69: ; preds = %67, %63
%70 = load i32, i32* %7
%71 = and i32 %70, 256
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %75
73: ; preds = %69
%74 = call i32 (...) @test50i()
br label %75
75: ; preds = %73, %69
br label %76
76: ; preds = %75
%77 = load i32, i32* %6
%78 = add nsw i32 %77, 1
store i32 %78, i32* %6
br label %18
79: ; preds = %18
%80 = 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
}