int main(argc, argv)
int argc;
char *argv[];
{
  int i, m = 0xFFFF;
  start(21);
  if (argc == 2)
    m = atoi(argv[1]);
  for (i = 0; i < 1; i++) {
    if (m & 00001)
      test21a();
    if (m & 00002)
      test21b();
    if (m & 00004)
      test21c();
    if (m & 00010)
      test21d();
    if (m & 00020)
      test21e();
    if (m & 00040)
      test21f();
    if (m & 01000)
      test21g();
    if (m & 00200)
      test21h();
    if (m & 00400)
      test21i();
    if (m & 01000)
      test21k();
    if (m & 02000)
      test21l();
    if (m & 04000)
      test21m();
    if (m & 010000)
      test21n();
    if (m & 020000)
      test21o();
  }
  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    $0x15,%edi
mov    $0x0,%al
call   1070 <start@plt>
cmpl   $0x2,-0x8(%rbp)
jne    1255 <main+0x45>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
mov    $0x0,%al
call   1100 <atoi@plt>
mov    %eax,-0x18(%rbp)
movl   $0x0,-0x14(%rbp)
cmpl   $0x1,-0x14(%rbp)
jge    13bd <main+0x1ad>
mov    -0x18(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     127c <main+0x6c>
mov    $0x0,%al
call   1080 <test21a@plt>
mov    -0x18(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     1292 <main+0x82>
mov    $0x0,%al
call   1120 <test21b@plt>
mov    -0x18(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     12a8 <main+0x98>
mov    $0x0,%al
call   1090 <test21c@plt>
mov    -0x18(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     12be <main+0xae>
mov    $0x0,%al
call   1110 <test21d@plt>
mov    -0x18(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     12d4 <main+0xc4>
mov    $0x0,%al
call   10a0 <test21e@plt>
mov    -0x18(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     12ea <main+0xda>
mov    $0x0,%al
call   1130 <test21f@plt>
mov    -0x18(%rbp),%eax
and    $0x200,%eax
cmp    $0x0,%eax
je     1302 <main+0xf2>
mov    $0x0,%al
call   10b0 <test21g@plt>
mov    -0x18(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     131a <main+0x10a>
mov    $0x0,%al
call   1030 <test21h@plt>
mov    -0x18(%rbp),%eax
and    $0x100,%eax
cmp    $0x0,%eax
je     1332 <main+0x122>
mov    $0x0,%al
call   10f0 <test21i@plt>
mov    -0x18(%rbp),%eax
and    $0x200,%eax
cmp    $0x0,%eax
je     134a <main+0x13a>
mov    $0x0,%al
call   10d0 <test21k@plt>
mov    -0x18(%rbp),%eax
and    $0x400,%eax
cmp    $0x0,%eax
je     1362 <main+0x152>
mov    $0x0,%al
call   1050 <test21l@plt>
mov    -0x18(%rbp),%eax
and    $0x800,%eax
cmp    $0x0,%eax
je     137a <main+0x16a>
mov    $0x0,%al
call   10e0 <test21m@plt>
mov    -0x18(%rbp),%eax
and    $0x1000,%eax
cmp    $0x0,%eax
je     1392 <main+0x182>
mov    $0x0,%al
call   1040 <test21n@plt>
mov    -0x18(%rbp),%eax
and    $0x2000,%eax
cmp    $0x0,%eax
je     13aa <main+0x19a>
mov    $0x0,%al
call   10c0 <test21o@plt>
jmp    13af <main+0x19f>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    125c <main+0x4c>
mov    $0x0,%al
call   1060 <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    $0x15,%edi
xor    %eax,%eax
call   1070 <start@plt>
mov    $0xffff,%ebx
cmp    $0x2,%ebp
jne    12e7 <main+0xd7>
mov    0x8(%r14),%rdi
xor    %eax,%eax
call   1100 <atoi@plt>
mov    %eax,%ebx
test   $0x1,%bl
jne    12e7 <main+0xd7>
test   $0x2,%bl
jne    12f7 <main+0xe7>
test   $0x4,%bl
jne    1307 <main+0xf7>
test   $0x8,%bl
jne    1317 <main+0x107>
test   $0x10,%bl
jne    1327 <main+0x117>
test   $0x20,%bl
jne    1337 <main+0x127>
test   $0x200,%ebx
jne    134a <main+0x13a>
test   $0x80,%bl
jne    135a <main+0x14a>
test   $0x100,%ebx
jne    136d <main+0x15d>
test   $0x200,%ebx
jne    1380 <main+0x170>
test   $0x400,%ebx
jne    1393 <main+0x183>
test   $0x800,%ebx
jne    13a6 <main+0x196>
test   $0x1000,%ebx
jne    13b9 <main+0x1a9>
test   $0x2000,%ebx
je     12d6 <main+0xc6>
xor    %eax,%eax
call   10c0 <test21o@plt>
xor    %eax,%eax
call   1060 <quit@plt>
mov    $0xffffffff,%eax
pop    %rbx
pop    %r14
pop    %rbp
ret
xor    %eax,%eax
call   1080 <test21a@plt>
test   $0x2,%bl
je     1252 <main+0x42>
xor    %eax,%eax
call   1120 <test21b@plt>
test   $0x4,%bl
je     125b <main+0x4b>
xor    %eax,%eax
call   1090 <test21c@plt>
test   $0x8,%bl
je     1264 <main+0x54>
xor    %eax,%eax
call   1110 <test21d@plt>
test   $0x10,%bl
je     126d <main+0x5d>
xor    %eax,%eax
call   10a0 <test21e@plt>
test   $0x20,%bl
je     1276 <main+0x66>
xor    %eax,%eax
call   1130 <test21f@plt>
test   $0x200,%ebx
je     1282 <main+0x72>
xor    %eax,%eax
call   10b0 <test21g@plt>
test   $0x80,%bl
je     128b <main+0x7b>
xor    %eax,%eax
call   1030 <test21h@plt>
test   $0x100,%ebx
je     1297 <main+0x87>
xor    %eax,%eax
call   10f0 <test21i@plt>
test   $0x200,%ebx
je     12a3 <main+0x93>
xor    %eax,%eax
call   10d0 <test21k@plt>
test   $0x400,%ebx
je     12af <main+0x9f>
xor    %eax,%eax
call   1050 <test21l@plt>
test   $0x800,%ebx
je     12bb <main+0xab>
xor    %eax,%eax
call   10e0 <test21m@plt>
test   $0x1000,%ebx
je     12c7 <main+0xb7>
xor    %eax,%eax
call   1040 <test21n@plt>
test   $0x2000,%ebx
jne    12cf <main+0xbf>
jmp    12d6 <main+0xc6>

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 21)
%9 = load i32, i32* %4
%10 = icmp eq i32 %9, 2
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = load i8**, i8*** %5
%13 = getelementptr inbounds i8*, i8** %12, i64 1
%14 = load i8*, i8** %13
%15 = call i32 (i8*, ...) bitcast (i32 (...)* @atoi to i32 (i8*, ...)*)(i8* %14)
store i32 %15, i32* %7
br label %16
16: ; preds = %11, %2
store i32 0, i32* %6
br label %17
17: ; preds = %105, %16
%18 = load i32, i32* %6
%19 = icmp slt i32 %18, 1
br i1 %19, label %20, label %108
20: ; preds = %17
%21 = load i32, i32* %7
%22 = and i32 %21, 1
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 (...) @test21a()
br label %26
26: ; preds = %24, %20
%27 = load i32, i32* %7
%28 = and i32 %27, 2
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = call i32 (...) @test21b()
br label %32
32: ; preds = %30, %26
%33 = load i32, i32* %7
%34 = and i32 %33, 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = call i32 (...) @test21c()
br label %38
38: ; preds = %36, %32
%39 = load i32, i32* %7
%40 = and i32 %39, 8
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = call i32 (...) @test21d()
br label %44
44: ; preds = %42, %38
%45 = load i32, i32* %7
%46 = and i32 %45, 16
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = call i32 (...) @test21e()
br label %50
50: ; preds = %48, %44
%51 = load i32, i32* %7
%52 = and i32 %51, 32
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = call i32 (...) @test21f()
br label %56
56: ; preds = %54, %50
%57 = load i32, i32* %7
%58 = and i32 %57, 512
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %62
60: ; preds = %56
%61 = call i32 (...) @test21g()
br label %62
62: ; preds = %60, %56
%63 = load i32, i32* %7
%64 = and i32 %63, 128
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %62
%67 = call i32 (...) @test21h()
br label %68
68: ; preds = %66, %62
%69 = load i32, i32* %7
%70 = and i32 %69, 256
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %68
%73 = call i32 (...) @test21i()
br label %74
74: ; preds = %72, %68
%75 = load i32, i32* %7
%76 = and i32 %75, 512
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %80
78: ; preds = %74
%79 = call i32 (...) @test21k()
br label %80
80: ; preds = %78, %74
%81 = load i32, i32* %7
%82 = and i32 %81, 1024
%83 = icmp ne i32 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %80
%85 = call i32 (...) @test21l()
br label %86
86: ; preds = %84, %80
%87 = load i32, i32* %7
%88 = and i32 %87, 2048
%89 = icmp ne i32 %88, 0
br i1 %89, label %90, label %92
90: ; preds = %86
%91 = call i32 (...) @test21m()
br label %92
92: ; preds = %90, %86
%93 = load i32, i32* %7
%94 = and i32 %93, 4096
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %98
96: ; preds = %92
%97 = call i32 (...) @test21n()
br label %98
98: ; preds = %96, %92
%99 = load i32, i32* %7
%100 = and i32 %99, 8192
%101 = icmp ne i32 %100, 0
br i1 %101, label %102, label %104
102: ; preds = %98
%103 = call i32 (...) @test21o()
br label %104
104: ; preds = %102, %98
br label %105
105: ; preds = %104
%106 = load i32, i32* %6
%107 = add nsw i32 %106, 1
store i32 %107, i32* %6
br label %17
108: ; preds = %17
%109 = 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 21)
%4 = icmp eq i32 %0, 2
br i1 %4, label %5, label %11
5: ; preds = %2
%6 = getelementptr inbounds i8*, i8** %1, i64 1
%7 = load i8*, i8** %6
%8 = tail call i32 (i8*, ...) bitcast (i32 (...)* @atoi to i32 (i8*, ...)*)(i8* %7)
%9 = and i32 %8, 1
%10 = icmp eq i32 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %2, %5
%12 = phi i32 [ %8, %5 ], [ 65535, %2 ]
%13 = tail call i32 (...) @test21a()
br label %14
14: ; preds = %11, %5
%15 = phi i32 [ %12, %11 ], [ %8, %5 ]
%16 = and i32 %15, 2
%17 = icmp eq i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %14
%19 = tail call i32 (...) @test21b()
br label %20
20: ; preds = %18, %14
%21 = and i32 %15, 4
%22 = icmp eq i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %20
%24 = tail call i32 (...) @test21c()
br label %25
25: ; preds = %23, %20
%26 = and i32 %15, 8
%27 = icmp eq i32 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %25
%29 = tail call i32 (...) @test21d()
br label %30
30: ; preds = %28, %25
%31 = and i32 %15, 16
%32 = icmp eq i32 %31, 0
br i1 %32, label %35, label %33
33: ; preds = %30
%34 = tail call i32 (...) @test21e()
br label %35
35: ; preds = %33, %30
%36 = and i32 %15, 32
%37 = icmp eq i32 %36, 0
br i1 %37, label %40, label %38
38: ; preds = %35
%39 = tail call i32 (...) @test21f()
br label %40
40: ; preds = %38, %35
%41 = and i32 %15, 512
%42 = icmp eq i32 %41, 0
br i1 %42, label %45, label %43
43: ; preds = %40
%44 = tail call i32 (...) @test21g()
br label %45
45: ; preds = %43, %40
%46 = and i32 %15, 128
%47 = icmp eq i32 %46, 0
br i1 %47, label %50, label %48
48: ; preds = %45
%49 = tail call i32 (...) @test21h()
br label %50
50: ; preds = %48, %45
%51 = and i32 %15, 256
%52 = icmp eq i32 %51, 0
br i1 %52, label %55, label %53
53: ; preds = %50
%54 = tail call i32 (...) @test21i()
br label %55
55: ; preds = %53, %50
br i1 %42, label %58, label %56
56: ; preds = %55
%57 = tail call i32 (...) @test21k()
br label %58
58: ; preds = %56, %55
%59 = and i32 %15, 1024
%60 = icmp eq i32 %59, 0
br i1 %60, label %63, label %61
61: ; preds = %58
%62 = tail call i32 (...) @test21l()
br label %63
63: ; preds = %61, %58
%64 = and i32 %15, 2048
%65 = icmp eq i32 %64, 0
br i1 %65, label %68, label %66
66: ; preds = %63
%67 = tail call i32 (...) @test21m()
br label %68
68: ; preds = %66, %63
%69 = and i32 %15, 4096
%70 = icmp eq i32 %69, 0
br i1 %70, label %73, label %71
71: ; preds = %68
%72 = tail call i32 (...) @test21n()
br label %73
73: ; preds = %71, %68
%74 = and i32 %15, 8192
%75 = icmp eq i32 %74, 0
br i1 %75, label %78, label %76
76: ; preds = %73
%77 = tail call i32 (...) @test21o()
br label %78
78: ; preds = %73, %76
%79 = tail call i32 (...) @quit()
ret i32 -1
}