#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ print_usage();
int /*<<< orphan*/ printf(char *, ...);
unsigned char *read_bmp_file(char *, int *, int *);
scalar_t__ strcmp(char *, char *);
int main(int argc, char *argv[]) {
  FILE *file;
  int i, j, width, height;
  char *file_name;
  unsigned char *bmp;
  if (argc < 2 || argc > 3) {
    print_usage();
    exit(0);
  } else {
    if (argc == 3)
      file_name = argv[2];
    else
      file_name = argv[1];
    file = fopen(file_name, "r");
    if (file == 0) {
      printf("No such file\n");
      exit(0);
    }
    bmp = read_bmp_file(file_name, &width, &height);
    if (strcmp(argv[1], "-a")) {
      printf("static const unsigned char bmp [] PROGMEM = {\n");
      printf("  ");
    }
    int new_line = 0;
    for (i = 0; i < height; i++) {
      for (j = 0; j < width; j++) {
        if (!strcmp(argv[1], "-a")) {
          printf("%c ", bmp[i * width + j] ? '.' : ' ');
        } else {
          if (bmp[i * width + j] == 1) {
            printf("0x%02x, 0x%02x, ", j, i);
            new_line += 1;
          }
          if (new_line == 15) {
            new_line = 0;
            printf("\n  ");
          }
        }
      }
      if (!strcmp(argv[1], "-a"))
        printf("\n");
    }
    if (strcmp(argv[1], "-a"))
      printf("};\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
jl     118a <main+0x2a>
cmpl   $0x3,-0x8(%rbp)
jle    1198 <main+0x38>
mov    $0x0,%al
call   1080 <print_usage@plt>
xor    %edi,%edi
call   1070 <exit@plt>
cmpl   $0x3,-0x8(%rbp)
jne    11b3 <main+0x53>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rax
mov    %rax,-0x30(%rbp)
jmp    11bf <main+0x5f>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rdi
lea    0xe36(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
jne    11f3 <main+0x93>
lea    0xe1d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1070 <exit@plt>
mov    -0x30(%rbp),%rdi
lea    -0x24(%rbp),%rsi
lea    -0x28(%rbp),%rdx
call   1050 <read_bmp_file@plt>
mov    %rax,-0x38(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xdf9(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     1242 <main+0xe2>
lea    0xde6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe1d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x3c(%rbp)
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    1376 <main+0x216>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    1337 <main+0x1d7>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd92(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    12c5 <main+0x165>
mov    -0x38(%rbp),%rax
mov    -0x1c(%rbp),%ecx
imul   -0x24(%rbp),%ecx
add    -0x20(%rbp),%ecx
movslq %ecx,%rcx
movzbl (%rax,%rcx,1),%ecx
mov    $0x20,%esi
mov    $0x2e,%eax
cmp    $0x0,%ecx
cmovne %eax,%esi
lea    0xd89(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1324 <main+0x1c4>
mov    -0x38(%rbp),%rax
mov    -0x1c(%rbp),%ecx
imul   -0x24(%rbp),%ecx
add    -0x20(%rbp),%ecx
movslq %ecx,%rcx
movzbl (%rax,%rcx,1),%eax
cmp    $0x1,%eax
jne    1300 <main+0x1a0>
mov    -0x20(%rbp),%esi
mov    -0x1c(%rbp),%edx
lea    0xd56(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
cmpl   $0xf,-0x3c(%rbp)
jne    131f <main+0x1bf>
movl   $0x0,-0x3c(%rbp)
lea    0xd3f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1324 <main+0x1c4>
jmp    1329 <main+0x1c9>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1263 <main+0x103>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xcca(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    1363 <main+0x203>
lea    0xd01(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1368 <main+0x208>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1250 <main+0xf0>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xc8b(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13a2 <main+0x242>
lea    0xcc0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13a7 <main+0x247>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    -0x4(%rdi),%eax
cmp    $0xfffffffd,%eax
jbe    1331 <main+0x1b1>
mov    %rsi,%r14
xor    %eax,%eax
cmp    $0x3,%edi
sete   %al
mov    0x8(%rsi,%rax,8),%rbx
lea    0xe52(%rip),%rsi
mov    %rbx,%rdi
call   1080 <fopen@plt>
test   %rax,%rax
je     133f <main+0x1bf>
mov    %rsp,%rsi
lea    0x4(%rsp),%rdx
mov    %rbx,%rdi
call   1070 <read_bmp_file@plt>
mov    %rax,%rbx
mov    0x8(%r14),%rdi
lea    0xe25(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1201 <main+0x81>
lea    0xe33(%rip),%rdi
call   1040 <puts@plt>
lea    0xe21(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmpl   $0x0,0x4(%rsp)
jle    12ff <main+0x17f>
lea    0xdef(%rip),%r15
xor    %r12d,%r12d
xor    %ebp,%ebp
jmp    1242 <main+0xc2>
nopw   0x0(%rax,%rax,1)
mov    0x8(%r14),%rdi
mov    %r15,%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     12f0 <main+0x170>
add    $0x1,%ebp
cmp    0x4(%rsp),%ebp
jge    12ff <main+0x17f>
cmpl   $0x0,(%rsp)
jle    1220 <main+0xa0>
xor    %r13d,%r13d
jmp    1268 <main+0xe8>
nopl   (%rax)
lea    0xdae(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%r13
cmp    (%rsp),%r13d
jge    1220 <main+0xa0>
mov    0x8(%r14),%rdi
mov    %r15,%rsi
call   1060 <strcmp@plt>
movslq (%rsp),%rcx
movslq %ebp,%rdx
imul   %rcx,%rdx
add    %rbx,%rdx
movzbl 0x0(%r13,%rdx,1),%ecx
test   %rax,%rax
je     12d0 <main+0x150>
cmp    $0x1,%cl
jne    12a9 <main+0x129>
lea    0xd70(%rip),%rdi
mov    %r13d,%esi
mov    %ebp,%edx
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%r12d
cmp    $0xf,%r12d
jne    125e <main+0xde>
xor    %r12d,%r12d
lea    0xd61(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    125e <main+0xde>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    $0x20,%esi
test   %cl,%cl
je     1250 <main+0xd0>
mov    $0x2e,%esi
jmp    1250 <main+0xd0>
nopw   0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
jmp    1235 <main+0xb5>
mov    0x8(%r14),%rdi
lea    0xcf8(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1320 <main+0x1a0>
lea    0xd03(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
xor    %eax,%eax
call   10a0 <print_usage@plt>
xor    %edi,%edi
call   1090 <exit@plt>
lea    0xd09(%rip),%rdi
call   1040 <puts@plt>
xor    %edi,%edi
call   1090 <exit@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"r\00"
@.str.1 = [14 x i8] c"No such file\0A\00"
@.str.2 = [3 x i8] c"-a\00"
@.str.3 = [47 x i8] c"static const unsigned char bmp [] PROGMEM = {\0A\00"
@.str.4 = [3 x i8] c" \00"
@.str.5 = [4 x i8] c"%c \00"
@.str.6 = [17 x i8] c"0x%02x, 0x%02x, \00"
@.str.7 = [4 x i8] c"\0A \00"
@.str.8 = [2 x i8] c"\0A\00"
@.str.9 = [4 x i8] c"};\0A\00"
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
%9 = alloca i32
%10 = alloca i32
%11 = alloca i8*
%12 = alloca i8*
%13 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%14 = load i32, i32* %4
%15 = icmp slt i32 %14, 2
br i1 %15, label %19, label %16
16: ; preds = %2
%17 = load i32, i32* %4
%18 = icmp sgt i32 %17, 3
br i1 %18, label %19, label %22
19: ; preds = %16, %2
%20 = call i32 (...) @print_usage()
%21 = call i32 @exit(i32 0)
unreachable
22: ; preds = %16
%23 = load i32, i32* %4
%24 = icmp eq i32 %23, 3
br i1 %24, label %25, label %29
25: ; preds = %22
%26 = load i8**, i8*** %5
%27 = getelementptr inbounds i8*, i8** %26, i64 2
%28 = load i8*, i8** %27
store i8* %28, i8** %11
br label %33
29: ; preds = %22
%30 = load i8**, i8*** %5
%31 = getelementptr inbounds i8*, i8** %30, i64 1
%32 = load i8*, i8** %31
store i8* %32, i8** %11
br label %33
33: ; preds = %29, %25
%34 = load i8*, i8** %11
%35 = call i32* @fopen(i8* %34, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32* %35, i32** %6
%36 = load i32*, i32** %6
%37 = icmp eq i32* %36, null
br i1 %37, label %38, label %41
38: ; preds = %33
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0))
%40 = call i32 @exit(i32 0)
unreachable
41: ; preds = %33
%42 = load i8*, i8** %11
%43 = call i8* @read_bmp_file(i8* %42, i32* %9, i32* %10)
store i8* %43, i8** %12
%44 = load i8**, i8*** %5
%45 = getelementptr inbounds i8*, i8** %44, i64 1
%46 = load i8*, i8** %45
%47 = call i64 @strcmp(i8* %46, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %52
49: ; preds = %41
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0))
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
br label %52
52: ; preds = %49, %41
store i32 0, i32* %13
store i32 0, i32* %7
br label %53
53: ; preds = %120, %52
%54 = load i32, i32* %7
%55 = load i32, i32* %10
%56 = icmp slt i32 %54, %55
br i1 %56, label %57, label %123
57: ; preds = %53
store i32 0, i32* %8
br label %58
58: ; preds = %108, %57
%59 = load i32, i32* %8
%60 = load i32, i32* %9
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %111
62: ; preds = %58
%63 = load i8**, i8*** %5
%64 = getelementptr inbounds i8*, i8** %63, i64 1
%65 = load i8*, i8** %64
%66 = call i64 @strcmp(i8* %65, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%67 = icmp ne i64 %66, 0
br i1 %67, label %83, label %68
68: ; preds = %62
%69 = load i8*, i8** %12
%70 = load i32, i32* %7
%71 = load i32, i32* %9
%72 = mul nsw i32 %70, %71
%73 = load i32, i32* %8
%74 = add nsw i32 %72, %73
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, i8* %69, i64 %75
%77 = load i8, i8* %76
%78 = zext i8 %77 to i32
%79 = icmp ne i32 %78, 0
%80 = zext i1 %79 to i64
%81 = select i1 %79, i32 46, i32 32
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i32 %81)
br label %107
83: ; preds = %62
%84 = load i8*, i8** %12
%85 = load i32, i32* %7
%86 = load i32, i32* %9
%87 = mul nsw i32 %85, %86
%88 = load i32, i32* %8
%89 = add nsw i32 %87, %88
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i8, i8* %84, i64 %90
%92 = load i8, i8* %91
%93 = zext i8 %92 to i32
%94 = icmp eq i32 %93, 1
br i1 %94, label %95, label %101
95: ; preds = %83
%96 = load i32, i32* %8
%97 = load i32, i32* %7
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0), i32 %96, i32 %97)
%99 = load i32, i32* %13
%100 = add nsw i32 %99, 1
store i32 %100, i32* %13
br label %101
101: ; preds = %95, %83
%102 = load i32, i32* %13
%103 = icmp eq i32 %102, 15
br i1 %103, label %104, label %106
104: ; preds = %101
store i32 0, i32* %13
%105 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
br label %106
106: ; preds = %104, %101
br label %107
107: ; preds = %106, %68
br label %108
108: ; preds = %107
%109 = load i32, i32* %8
%110 = add nsw i32 %109, 1
store i32 %110, i32* %8
br label %58
111: ; preds = %58
%112 = load i8**, i8*** %5
%113 = getelementptr inbounds i8*, i8** %112, i64 1
%114 = load i8*, i8** %113
%115 = call i64 @strcmp(i8* %114, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%116 = icmp ne i64 %115, 0
br i1 %116, label %119, label %117
117: ; preds = %111
%118 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
br label %119
119: ; preds = %117, %111
br label %120
120: ; preds = %119
%121 = load i32, i32* %7
%122 = add nsw i32 %121, 1
store i32 %122, i32* %7
br label %53
123: ; preds = %53
%124 = load i8**, i8*** %5
%125 = getelementptr inbounds i8*, i8** %124, i64 1
%126 = load i8*, i8** %125
%127 = call i64 @strcmp(i8* %126, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%128 = icmp ne i64 %127, 0
br i1 %128, label %129, label %131
129: ; preds = %123
%130 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
br label %131
131: ; preds = %129, %123
br label %132
132: ; preds = %131
ret i32 0
}

LLVM IR (-O2):
@.str = [2 x i8] c"r\00"
@.str.2 = [3 x i8] c"-a\00"
@.str.4 = [3 x i8] c" \00"
@.str.5 = [4 x i8] c"%c \00"
@.str.6 = [17 x i8] c"0x%02x, 0x%02x, \00"
@.str.7 = [4 x i8] c"\0A \00"
@str = [3 x i8] c"};\00"
@str.10 = [46 x i8] c"static const unsigned char bmp [] PROGMEM = {\00"
@str.11 = [13 x i8] c"No such file\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca i32
%4 = alloca i32
%5 = bitcast i32* %3 to i8*
%6 = bitcast i32* %4 to i8*
%7 = add i32 %0, -4
%8 = icmp ult i32 %7, -2
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = tail call i32 (...) @print_usage()
%11 = tail call i32 @exit(i32 0)
unreachable
12: ; preds = %2
%13 = icmp eq i32 %0, 3
%14 = getelementptr inbounds i8*, i8** %1, i64 2
%15 = getelementptr inbounds i8*, i8** %1, i64 1
%16 = select i1 %13, i8** %14, i8** %15
%17 = load i8*, i8** %16
%18 = tail call i32* @fopen(i8* %17, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%19 = icmp eq i32* %18, null
br i1 %19, label %20, label %23
20: ; preds = %12
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str.11, i64 0, i64 0))
%22 = tail call i32 @exit(i32 0)
unreachable
23: ; preds = %12
%24 = call i8* @read_bmp_file(i8* %17, i32* %3, i32* %4)
%25 = load i8*, i8** %15
%26 = call i64 @strcmp(i8* %25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%27 = icmp eq i64 %26, 0
br i1 %27, label %31, label %28
28: ; preds = %23
%29 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.10, i64 0, i64 0))
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
br label %31
31: ; preds = %28, %23
%32 = load i32, i32* %4
%33 = icmp sgt i32 %32, 0
br i1 %33, label %34, label %81
34: ; preds = %31, %77
%35 = phi i32 [ %71, %77 ], [ 0, %31 ]
%36 = phi i32 [ %78, %77 ], [ 0, %31 ]
%37 = load i32, i32* %3
%38 = icmp sgt i32 %37, 0
br i1 %38, label %39, label %70
39: ; preds = %34, %65
%40 = phi i32 [ %66, %65 ], [ %35, %34 ]
%41 = phi i32 [ %67, %65 ], [ 0, %34 ]
%42 = load i8*, i8** %15
%43 = call i64 @strcmp(i8* %42, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%44 = icmp eq i64 %43, 0
%45 = load i32, i32* %3
%46 = mul nsw i32 %45, %36
%47 = add nsw i32 %46, %41
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, i8* %24, i64 %48
%50 = load i8, i8* %49
br i1 %44, label %51, label %55
51: ; preds = %39
%52 = icmp eq i8 %50, 0
%53 = select i1 %52, i32 32, i32 46
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i32 %53)
br label %65
55: ; preds = %39
%56 = icmp eq i8 %50, 1
br i1 %56, label %57, label %60
57: ; preds = %55
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0), i32 %41, i32 %36)
%59 = add nsw i32 %40, 1
br label %60
60: ; preds = %57, %55
%61 = phi i32 [ %59, %57 ], [ %40, %55 ]
%62 = icmp eq i32 %61, 15
br i1 %62, label %63, label %65
63: ; preds = %60
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
br label %65
65: ; preds = %51, %63, %60
%66 = phi i32 [ 0, %63 ], [ %61, %60 ], [ %40, %51 ]
%67 = add nuw nsw i32 %41, 1
%68 = load i32, i32* %3
%69 = icmp slt i32 %67, %68
br i1 %69, label %39, label %70
70: ; preds = %65, %34
%71 = phi i32 [ %35, %34 ], [ %66, %65 ]
%72 = load i8*, i8** %15
%73 = call i64 @strcmp(i8* %72, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%74 = icmp eq i64 %73, 0
br i1 %74, label %75, label %77
75: ; preds = %70
%76 = call i32 @putchar(i32 10)
br label %77
77: ; preds = %70, %75
%78 = add nuw nsw i32 %36, 1
%79 = load i32, i32* %4
%80 = icmp slt i32 %78, %79
br i1 %80, label %34, label %81
81: ; preds = %77, %31
%82 = load i8*, i8** %15
%83 = call i64 @strcmp(i8* %82, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%84 = icmp eq i64 %83, 0
br i1 %84, label %87, label %85
85: ; preds = %81
%86 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str, i64 0, i64 0))
br label %87
87: ; preds = %85, %81
ret i32 0
}