#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*/ display(int);
int /*<<< orphan*/ display_info(int);
int getIndexFor(char *);
int /*<<< orphan*/ print_usage();
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ strcmpi(char *, char *);
int main(int argc, char *argv[]) {
  register int i;
  register int index;
  printf("FreeDOS 1.0 Final Distribution"
         "\n\n");
  for (i = 1; i < argc; i++) {
    if ((argv[i][1] == '?') || (strcmpi(argv[i] + 1, "HELP") == 0)) {
      print_usage();
      return 0;
    } else if (strcmpi(argv[i], "ALL") == 0) {
      display((1 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 32768));
    } else if (strcmpi(argv[i], "NA") == 0) {
      display(1);
    } else if (strcmpi(argv[i], "INTERNAL") == 0) {
      display((signed int)32768);
    } else if (strcmpi(argv[i], "BETA") == 0) {
      display((64 | 32 | 16 | 8));
    } else if (strcmpi(argv[i], "BETA6") == 0) {
      display(8);
    } else if (strcmpi(argv[i], "BETA7") == 0) {
      display(16);
    } else if (strcmpi(argv[i], "BETA8") == 0) {
      display(32);
    } else if (strcmpi(argv[i], "BETA9") == 0) {
      display(64);
    } else if (strcmpi(argv[i], "1.0") == 0) {
      display(128);
    } else {
      index = getIndexFor(argv[i]);
      if ((index >= 0) && (index < 102))
        display_info(index);
      else
        printf("Unknown program [%s]\n", argv[i]);
    }
  }
  return 0;
}


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)
lea    0xe83(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x1,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1436 <main+0x2d6>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movsbl 0x1(%rax),%eax
cmp    $0x3f,%eax
je     11d6 <main+0x76>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
add    $0x1,%rdi
lea    0xe5a(%rip),%rsi
call   1060 <strcmpi@plt>
cmp    $0x0,%rax
jne    11e9 <main+0x89>
mov    $0x0,%al
call   1080 <print_usage@plt>
movl   $0x0,-0x4(%rbp)
jmp    143d <main+0x2dd>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xe2a(%rip),%rsi
call   1060 <strcmpi@plt>
cmp    $0x0,%rax
jne    121a <main+0xba>
mov    $0x80ff,%edi
call   1030 <display@plt>
jmp    141e <main+0x2be>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xdfd(%rip),%rsi
call   1060 <strcmpi@plt>
cmp    $0x0,%rax
jne    124b <main+0xeb>
mov    $0x1,%edi
call   1030 <display@plt>
jmp    1419 <main+0x2b9>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xdcf(%rip),%rsi
call   1060 <strcmpi@plt>
cmp    $0x0,%rax
jne    127c <main+0x11c>
mov    $0x8000,%edi
call   1030 <display@plt>
jmp    1414 <main+0x2b4>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xda7(%rip),%rsi
call   1060 <strcmpi@plt>
cmp    $0x0,%rax
jne    12ad <main+0x14d>
mov    $0x78,%edi
call   1030 <display@plt>
jmp    140f <main+0x2af>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xd7b(%rip),%rsi
call   1060 <strcmpi@plt>
cmp    $0x0,%rax
jne    12de <main+0x17e>
mov    $0x8,%edi
call   1030 <display@plt>
jmp    140a <main+0x2aa>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xd50(%rip),%rsi
call   1060 <strcmpi@plt>
cmp    $0x0,%rax
jne    130f <main+0x1af>
mov    $0x10,%edi
call   1030 <display@plt>
jmp    1405 <main+0x2a5>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xd25(%rip),%rsi
call   1060 <strcmpi@plt>
cmp    $0x0,%rax
jne    1340 <main+0x1e0>
mov    $0x20,%edi
call   1030 <display@plt>
jmp    1400 <main+0x2a0>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xcfa(%rip),%rsi
call   1060 <strcmpi@plt>
cmp    $0x0,%rax
jne    1371 <main+0x211>
mov    $0x40,%edi
call   1030 <display@plt>
jmp    13fb <main+0x29b>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xccf(%rip),%rsi
call   1060 <strcmpi@plt>
cmp    $0x0,%rax
jne    13a2 <main+0x242>
mov    $0x80,%edi
call   1030 <display@plt>
jmp    13f6 <main+0x296>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1070 <getIndexFor@plt>
mov    %eax,-0x18(%rbp)
cmpl   $0x0,-0x18(%rbp)
jl     13d7 <main+0x277>
cmpl   $0x66,-0x18(%rbp)
jge    13d7 <main+0x277>
mov    -0x18(%rbp),%edi
call   1050 <display_info@plt>
jmp    13f1 <main+0x291>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
lea    0xc6d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    13f6 <main+0x296>
jmp    13fb <main+0x29b>
jmp    1400 <main+0x2a0>
jmp    1405 <main+0x2a5>
jmp    140a <main+0x2aa>
jmp    140f <main+0x2af>
jmp    1414 <main+0x2b4>
jmp    1419 <main+0x2b9>
jmp    141e <main+0x2be>
jmp    1423 <main+0x2c3>
jmp    1428 <main+0x2c8>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    118b <main+0x2b>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%rbx
mov    %edi,%ebp
lea    0xec5(%rip),%rdi
call   1030 <puts@plt>
cmp    $0x2,%ebp
jl     134f <main+0x1df>
mov    %ebp,%ebp
mov    $0x1,%r13d
lea    0xe5c(%rip),%r14
lea    0xe5a(%rip),%r15
lea    0xe57(%rip),%r12
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    (%rbx,%r13,8),%rdi
cmpb   $0x3f,0x1(%rdi)
je     1348 <main+0x1d8>
add    $0x1,%rdi
mov    %r14,%rsi
call   1070 <strcmpi@plt>
test   %rax,%rax
je     1348 <main+0x1d8>
mov    (%rbx,%r13,8),%rdi
mov    %r15,%rsi
call   1070 <strcmpi@plt>
test   %rax,%rax
je     12d0 <main+0x160>
mov    (%rbx,%r13,8),%rdi
mov    %r12,%rsi
call   1070 <strcmpi@plt>
test   %rax,%rax
je     12e0 <main+0x170>
mov    (%rbx,%r13,8),%rdi
lea    0xdf4(%rip),%rsi
call   1070 <strcmpi@plt>
test   %rax,%rax
je     12e7 <main+0x177>
mov    (%rbx,%r13,8),%rdi
lea    0xde4(%rip),%rsi
call   1070 <strcmpi@plt>
test   %rax,%rax
je     12ee <main+0x17e>
mov    (%rbx,%r13,8),%rdi
lea    0xdd0(%rip),%rsi
call   1070 <strcmpi@plt>
test   %rax,%rax
je     12f5 <main+0x185>
mov    (%rbx,%r13,8),%rdi
lea    0xdbd(%rip),%rsi
call   1070 <strcmpi@plt>
test   %rax,%rax
je     12fc <main+0x18c>
mov    (%rbx,%r13,8),%rdi
lea    0xdaa(%rip),%rsi
call   1070 <strcmpi@plt>
test   %rax,%rax
je     1303 <main+0x193>
mov    (%rbx,%r13,8),%rdi
lea    0xd9b(%rip),%rsi
call   1070 <strcmpi@plt>
test   %rax,%rax
je     130a <main+0x19a>
mov    (%rbx,%r13,8),%rdi
lea    0xd8c(%rip),%rsi
call   1070 <strcmpi@plt>
test   %rax,%rax
je     1311 <main+0x1a1>
mov    (%rbx,%r13,8),%rdi
call   1080 <getIndexFor@plt>
cmp    $0x65,%eax
ja     1334 <main+0x1c4>
mov    %eax,%edi
call   1060 <display_info@plt>
jmp    1325 <main+0x1b5>
nopw   0x0(%rax,%rax,1)
mov    $0x80ff,%edi
jmp    1320 <main+0x1b0>
nopw   0x0(%rax,%rax,1)
mov    $0x1,%edi
jmp    1320 <main+0x1b0>
mov    $0x8000,%edi
jmp    1320 <main+0x1b0>
mov    $0x78,%edi
jmp    1320 <main+0x1b0>
mov    $0x8,%edi
jmp    1320 <main+0x1b0>
mov    $0x10,%edi
jmp    1320 <main+0x1b0>
mov    $0x20,%edi
jmp    1320 <main+0x1b0>
mov    $0x40,%edi
jmp    1320 <main+0x1b0>
mov    $0x80,%edi
cs nopw 0x0(%rax,%rax,1)
call   1040 <display@plt>
add    $0x1,%r13
cmp    %r13,%rbp
jne    11c0 <main+0x50>
jmp    134f <main+0x1df>
mov    (%rbx,%r13,8),%rsi
lea    0xcf7(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    1325 <main+0x1b5>
xor    %eax,%eax
call   1090 <print_usage@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [33 x i8] c"FreeDOS 1.0 Final Distribution\0A\0A\00"
@.str.1 = [5 x i8] c"HELP\00"
@.str.2 = [4 x i8] c"ALL\00"
@.str.3 = [3 x i8] c"NA\00"
@.str.4 = [9 x i8] c"INTERNAL\00"
@.str.5 = [5 x i8] c"BETA\00"
@.str.6 = [6 x i8] c"BETA6\00"
@.str.7 = [6 x i8] c"BETA7\00"
@.str.8 = [6 x i8] c"BETA8\00"
@.str.9 = [6 x i8] c"BETA9\00"
@.str.10 = [4 x i8] c"1.0\00"
@.str.11 = [22 x i8] c"Unknown program [%s]\0A\00"
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
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
store i32 1, i32* %6
br label %9
9: ; preds = %157, %2
%10 = load i32, i32* %6
%11 = load i32, i32* %4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %160
13: ; preds = %9
%14 = load i8**, i8*** %5
%15 = load i32, i32* %6
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8*, i8** %14, i64 %16
%18 = load i8*, i8** %17
%19 = getelementptr inbounds i8, i8* %18, i64 1
%20 = load i8, i8* %19
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 63
br i1 %22, label %32, label %23
23: ; preds = %13
%24 = load i8**, i8*** %5
%25 = load i32, i32* %6
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8*, i8** %24, i64 %26
%28 = load i8*, i8** %27
%29 = getelementptr inbounds i8, i8* %28, i64 1
%30 = call i64 @strcmpi(i8* %29, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %23, %13
%33 = call i32 (...) @print_usage()
store i32 0, i32* %3
br label %161
34: ; preds = %23
%35 = load i8**, i8*** %5
%36 = load i32, i32* %6
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8*, i8** %35, i64 %37
%39 = load i8*, i8** %38
%40 = call i64 @strcmpi(i8* %39, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %34
%43 = call i32 @display(i32 33023)
br label %155
44: ; preds = %34
%45 = load i8**, i8*** %5
%46 = load i32, i32* %6
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8*, i8** %45, i64 %47
%49 = load i8*, i8** %48
%50 = call i64 @strcmpi(i8* %49, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %54
52: ; preds = %44
%53 = call i32 @display(i32 1)
br label %154
54: ; preds = %44
%55 = load i8**, i8*** %5
%56 = load i32, i32* %6
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8*, i8** %55, i64 %57
%59 = load i8*, i8** %58
%60 = call i64 @strcmpi(i8* %59, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %54
%63 = call i32 @display(i32 32768)
br label %153
64: ; preds = %54
%65 = load i8**, i8*** %5
%66 = load i32, i32* %6
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8*, i8** %65, i64 %67
%69 = load i8*, i8** %68
%70 = call i64 @strcmpi(i8* %69, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %64
%73 = call i32 @display(i32 120)
br label %152
74: ; preds = %64
%75 = load i8**, i8*** %5
%76 = load i32, i32* %6
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8*, i8** %75, i64 %77
%79 = load i8*, i8** %78
%80 = call i64 @strcmpi(i8* %79, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %84
82: ; preds = %74
%83 = call i32 @display(i32 8)
br label %151
84: ; preds = %74
%85 = load i8**, i8*** %5
%86 = load i32, i32* %6
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8*, i8** %85, i64 %87
%89 = load i8*, i8** %88
%90 = call i64 @strcmpi(i8* %89, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%91 = icmp eq i64 %90, 0
br i1 %91, label %92, label %94
92: ; preds = %84
%93 = call i32 @display(i32 16)
br label %150
94: ; preds = %84
%95 = load i8**, i8*** %5
%96 = load i32, i32* %6
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i8*, i8** %95, i64 %97
%99 = load i8*, i8** %98
%100 = call i64 @strcmpi(i8* %99, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%101 = icmp eq i64 %100, 0
br i1 %101, label %102, label %104
102: ; preds = %94
%103 = call i32 @display(i32 32)
br label %149
104: ; preds = %94
%105 = load i8**, i8*** %5
%106 = load i32, i32* %6
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i8*, i8** %105, i64 %107
%109 = load i8*, i8** %108
%110 = call i64 @strcmpi(i8* %109, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%111 = icmp eq i64 %110, 0
br i1 %111, label %112, label %114
112: ; preds = %104
%113 = call i32 @display(i32 64)
br label %148
114: ; preds = %104
%115 = load i8**, i8*** %5
%116 = load i32, i32* %6
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds i8*, i8** %115, i64 %117
%119 = load i8*, i8** %118
%120 = call i64 @strcmpi(i8* %119, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
%121 = icmp eq i64 %120, 0
br i1 %121, label %122, label %124
122: ; preds = %114
%123 = call i32 @display(i32 128)
br label %147
124: ; preds = %114
%125 = load i8**, i8*** %5
%126 = load i32, i32* %6
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds i8*, i8** %125, i64 %127
%129 = load i8*, i8** %128
%130 = call i32 @getIndexFor(i8* %129)
store i32 %130, i32* %7
%131 = load i32, i32* %7
%132 = icmp sge i32 %131, 0
br i1 %132, label %133, label %139
133: ; preds = %124
%134 = load i32, i32* %7
%135 = icmp slt i32 %134, 102
br i1 %135, label %136, label %139
136: ; preds = %133
%137 = load i32, i32* %7
%138 = call i32 @display_info(i32 %137)
br label %146
139: ; preds = %133, %124
%140 = load i8**, i8*** %5
%141 = load i32, i32* %6
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds i8*, i8** %140, i64 %142
%144 = load i8*, i8** %143
%145 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.11, i64 0, i64 0), i8* %144)
br label %146
146: ; preds = %139, %136
br label %147
147: ; preds = %146, %122
br label %148
148: ; preds = %147, %112
br label %149
149: ; preds = %148, %102
br label %150
150: ; preds = %149, %92
br label %151
151: ; preds = %150, %82
br label %152
152: ; preds = %151, %72
br label %153
153: ; preds = %152, %62
br label %154
154: ; preds = %153, %52
br label %155
155: ; preds = %154, %42
br label %156
156: ; preds = %155
br label %157
157: ; preds = %156
%158 = load i32, i32* %6
%159 = add nsw i32 %158, 1
store i32 %159, i32* %6
br label %9
160: ; preds = %9
store i32 0, i32* %3
br label %161
161: ; preds = %160, %32
%162 = load i32, i32* %3
ret i32 %162
}

LLVM IR (-O2):
@.str.1 = [5 x i8] c"HELP\00"
@.str.2 = [4 x i8] c"ALL\00"
@.str.3 = [3 x i8] c"NA\00"
@.str.4 = [9 x i8] c"INTERNAL\00"
@.str.5 = [5 x i8] c"BETA\00"
@.str.6 = [6 x i8] c"BETA6\00"
@.str.7 = [6 x i8] c"BETA7\00"
@.str.8 = [6 x i8] c"BETA8\00"
@.str.9 = [6 x i8] c"BETA9\00"
@.str.10 = [4 x i8] c"1.0\00"
@.str.11 = [22 x i8] c"Unknown program [%s]\0A\00"
@str = [32 x i8] c"FreeDOS 1.0 Final Distribution\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str, i64 0, i64 0))
%4 = icmp sgt i32 %0, 1
br i1 %4, label %5, label %85
5: ; preds = %2
%6 = zext i32 %0 to i64
br label %7
7: ; preds = %5, %82
%8 = phi i64 [ 1, %5 ], [ %83, %82 ]
%9 = getelementptr inbounds i8*, i8** %1, i64 %8
%10 = load i8*, i8** %9
%11 = getelementptr inbounds i8, i8* %10, i64 1
%12 = load i8, i8* %11
%13 = icmp eq i8 %12, 63
br i1 %13, label %17, label %14
14: ; preds = %7
%15 = tail call i64 @strcmpi(i8* %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %14, %7
%18 = tail call i32 (...) @print_usage()
br label %85
19: ; preds = %14
%20 = load i8*, i8** %9
%21 = tail call i64 @strcmpi(i8* %20, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = tail call i32 @display(i32 33023)
br label %82
25: ; preds = %19
%26 = load i8*, i8** %9
%27 = tail call i64 @strcmpi(i8* %26, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %25
%30 = tail call i32 @display(i32 1)
br label %82
31: ; preds = %25
%32 = load i8*, i8** %9
%33 = tail call i64 @strcmpi(i8* %32, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = tail call i32 @display(i32 32768)
br label %82
37: ; preds = %31
%38 = load i8*, i8** %9
%39 = tail call i64 @strcmpi(i8* %38, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %37
%42 = tail call i32 @display(i32 120)
br label %82
43: ; preds = %37
%44 = load i8*, i8** %9
%45 = tail call i64 @strcmpi(i8* %44, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = tail call i32 @display(i32 8)
br label %82
49: ; preds = %43
%50 = load i8*, i8** %9
%51 = tail call i64 @strcmpi(i8* %50, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %49
%54 = tail call i32 @display(i32 16)
br label %82
55: ; preds = %49
%56 = load i8*, i8** %9
%57 = tail call i64 @strcmpi(i8* %56, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %61
59: ; preds = %55
%60 = tail call i32 @display(i32 32)
br label %82
61: ; preds = %55
%62 = load i8*, i8** %9
%63 = tail call i64 @strcmpi(i8* %62, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%64 = icmp eq i64 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %61
%66 = tail call i32 @display(i32 64)
br label %82
67: ; preds = %61
%68 = load i8*, i8** %9
%69 = tail call i64 @strcmpi(i8* %68, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
%70 = icmp eq i64 %69, 0
br i1 %70, label %71, label %73
71: ; preds = %67
%72 = tail call i32 @display(i32 128)
br label %82
73: ; preds = %67
%74 = load i8*, i8** %9
%75 = tail call i32 @getIndexFor(i8* %74)
%76 = icmp ult i32 %75, 102
br i1 %76, label %77, label %79
77: ; preds = %73
%78 = tail call i32 @display_info(i32 %75)
br label %82
79: ; preds = %73
%80 = load i8*, i8** %9
%81 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.11, i64 0, i64 0), i8* %80)
br label %82
82: ; preds = %29, %41, %53, %65, %77, %79, %71, %59, %47, %35, %23
%83 = add nuw nsw i64 %8, 1
%84 = icmp eq i64 %83, %6
br i1 %84, label %85, label %7
85: ; preds = %82, %2, %17
ret i32 0
}