#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*/ feof(int /*<<< orphan*/ *);
int /*<<< orphan*/ fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ freeMem(char *, int);
int /*<<< orphan*/ isdigit(char);
char *mallocMem(int);
int /*<<< orphan*/ memset(char *, int /*<<< orphan*/, int);
int /*<<< orphan*/ splitStr(char *, char *, char **, int *);
int /*<<< orphan*/ *strchr(char *, char);
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
int get_file_content(FILE *fp, char **content, int *total_line) {
  char fileline[(1024)];
  char *str[(10)];
  int line_num = 0;
  int total_item = 0;
  int i = 0;
  for (i = 0; i < (10); i++)
    str[i] = mallocMem((1024));
  while (!feof(fp)) {
    memset(fileline, 0, (1024));
    fgets(fileline, (1024), fp);
    int line_len = strlen(fileline);
    if (line_len > 2)
      fileline[strlen(fileline) - 2] = '\0';
    if (0 == line_num) {
      splitStr(fileline, " ", str, &total_item);
      if (!isdigit(fileline[0]))
        return (0x1 << 0);
      if (strlen(str[0]) > (7))
        return (0x1 << 0);
      strcpy(content[line_num++], str[0]);
      continue;
    }
    if (NULL == strchr(fileline, ',') || !isdigit(fileline[0]))
      continue;
    strcpy(content[line_num++], fileline);
  }
  *total_line = line_num;
  for (i = 0; i < (10); i++)
    freeMem(str[i], (1024));
  if (*total_line < 2)
    return (0x1 << 0);
  else
    return (0x0);
}


x86 assembly (clang, -O0):
<get_file_content>:
push   %rbp
mov    %rsp,%rbp
sub    $0x480,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
movl   $0x0,-0x474(%rbp)
movl   $0x0,-0x478(%rbp)
movl   $0x0,-0x47c(%rbp)
movl   $0x0,-0x47c(%rbp)
cmpl   $0xa,-0x47c(%rbp)
jge    121c <get_file_content+0x7c>
mov    $0x400,%edi
call   10c0 <mallocMem@plt>
mov    %rax,%rcx
movslq -0x47c(%rbp),%rax
mov    %rcx,-0x470(%rbp,%rax,8)
ff
mov    -0x47c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x47c(%rbp)
jmp    11df <get_file_content+0x3f>
jmp    1221 <get_file_content+0x81>
mov    -0x10(%rbp),%rdi
call   10b0 <feof@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
test   $0x1,%al
jne    123f <get_file_content+0x9f>
jmp    13a3 <get_file_content+0x203>
lea    -0x420(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1090 <memset@plt>
lea    -0x420(%rbp),%rdi
mov    -0x10(%rbp),%rdx
mov    $0x400,%esi
call   10a0 <fgets@plt>
lea    -0x420(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,-0x480(%rbp)
cmpl   $0x2,-0x480(%rbp)
jle    129f <get_file_content+0xff>
lea    -0x420(%rbp),%rdi
call   1060 <strlen@plt>
sub    $0x2,%eax
cltq
movb   $0x0,-0x420(%rbp,%rax,1)
xor    %eax,%eax
cmp    -0x474(%rbp),%eax
jne    133d <get_file_content+0x19d>
lea    -0x420(%rbp),%rdi
lea    -0x470(%rbp),%rdx
lea    0xd3e(%rip),%rsi
lea    -0x478(%rbp),%rcx
call   1040 <splitStr@plt>
movsbl -0x420(%rbp),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%eax
jne    12ef <get_file_content+0x14f>
movl   $0x1,-0x4(%rbp)
jmp    1413 <get_file_content+0x273>
mov    -0x470(%rbp),%rdi
call   1060 <strlen@plt>
cmp    $0x7,%eax
jle    1310 <get_file_content+0x170>
movl   $0x1,-0x4(%rbp)
jmp    1413 <get_file_content+0x273>
mov    -0x18(%rbp),%rax
mov    -0x474(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x474(%rbp)
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rdi
mov    -0x470(%rbp),%rsi
call   1050 <strcpy@plt>
jmp    1221 <get_file_content+0x81>
lea    -0x420(%rbp),%rdi
mov    $0x2c,%esi
call   1070 <strchr@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     1371 <get_file_content+0x1d1>
movsbl -0x420(%rbp),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%eax
jne    1376 <get_file_content+0x1d6>
jmp    1221 <get_file_content+0x81>
mov    -0x18(%rbp),%rax
mov    -0x474(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x474(%rbp)
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rdi
lea    -0x420(%rbp),%rsi
call   1050 <strcpy@plt>
jmp    1221 <get_file_content+0x81>
mov    -0x474(%rbp),%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,(%rax)
movl   $0x0,-0x47c(%rbp)
cmpl   $0xa,-0x47c(%rbp)
jge    13f3 <get_file_content+0x253>
movslq -0x47c(%rbp),%rax
mov    -0x470(%rbp,%rax,8),%rdi
ff
mov    $0x400,%esi
call   1080 <freeMem@plt>
mov    -0x47c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x47c(%rbp)
jmp    13b9 <get_file_content+0x219>
mov    -0x20(%rbp),%rax
cmpl   $0x2,(%rax)
jge    140c <get_file_content+0x26c>
movl   $0x1,-0x4(%rbp)
jmp    1413 <get_file_content+0x273>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x480,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_file_content>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x478,%rsp
mov    %rdx,%r14
mov    %rsi,%r15
mov    %rdi,%r12
movl   $0x0,0xc(%rsp)
mov    $0x400,%edi
call   10c0 <mallocMem@plt>
mov    %rax,%rbx
mov    %rax,0x10(%rsp)
mov    $0x400,%edi
call   10c0 <mallocMem@plt>
mov    %rax,0x18(%rsp)
mov    $0x400,%edi
call   10c0 <mallocMem@plt>
mov    %rax,0x20(%rsp)
mov    $0x400,%edi
call   10c0 <mallocMem@plt>
mov    %rax,0x28(%rsp)
mov    $0x400,%edi
call   10c0 <mallocMem@plt>
mov    %rax,0x30(%rsp)
mov    $0x400,%edi
call   10c0 <mallocMem@plt>
mov    %rax,0x38(%rsp)
mov    $0x400,%edi
call   10c0 <mallocMem@plt>
mov    %rax,0x40(%rsp)
mov    $0x400,%edi
call   10c0 <mallocMem@plt>
mov    %rax,0x48(%rsp)
mov    $0x400,%edi
call   10c0 <mallocMem@plt>
mov    %rax,0x50(%rsp)
mov    $0x400,%edi
call   10c0 <mallocMem@plt>
mov    %rax,0x58(%rsp)
mov    %r12,%rdi
call   10b0 <feof@plt>
test   %eax,%eax
je     126e <get_file_content+0xce>
xor    %ebp,%ebp
jmp    137a <get_file_content+0x1da>
mov    %r14,0x68(%rsp)
xor    %ebp,%ebp
lea    0x70(%rsp),%rbx
lea    0xc(%rsp),%r14
mov    $0x1,%r13d
jmp    12a0 <get_file_content+0x100>
nopw   0x0(%rax,%rax,1)
mov    %r12,%rdi
call   10b0 <feof@plt>
test   %eax,%eax
jne    1370 <get_file_content+0x1d0>
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1090 <memset@plt>
mov    %rbx,%rdi
mov    $0x400,%esi
mov    %r12,%rdx
call   10a0 <fgets@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cmp    $0x3,%eax
jl     12db <get_file_content+0x13b>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x0,-0x2(%rax,%rbx,1)
mov    %rbx,%rdi
test   %ebp,%ebp
je     1320 <get_file_content+0x180>
mov    $0x2c,%esi
call   1070 <strchr@plt>
test   %rax,%rax
je     1290 <get_file_content+0xf0>
movsbl 0x70(%rsp),%edi
call   1030 <isdigit@plt>
test   %eax,%eax
je     1290 <get_file_content+0xf0>
movslq %ebp,%rax
add    $0x1,%ebp
mov    (%r15,%rax,8),%rdi
mov    %rbx,%rsi
call   1050 <strcpy@plt>
jmp    1290 <get_file_content+0xf0>
cs nopw 0x0(%rax,%rax,1)
lea    0xcd9(%rip),%rsi
lea    0x10(%rsp),%rdx
mov    %r14,%rcx
call   1040 <splitStr@plt>
movsbl 0x70(%rsp),%edi
call   1030 <isdigit@plt>
test   %eax,%eax
je     141c <get_file_content+0x27c>
mov    0x10(%rsp),%rdi
call   1060 <strlen@plt>
cmp    $0x7,%eax
jg     141c <get_file_content+0x27c>
mov    (%r15),%rdi
mov    0x10(%rsp),%rsi
call   1050 <strcpy@plt>
mov    $0x1,%ebp
jmp    1290 <get_file_content+0xf0>
mov    0x10(%rsp),%rbx
mov    0x68(%rsp),%r14
mov    %ebp,(%r14)
mov    %rbx,%rdi
mov    $0x400,%esi
call   1080 <freeMem@plt>
mov    0x18(%rsp),%rdi
mov    $0x400,%esi
call   1080 <freeMem@plt>
mov    0x20(%rsp),%rdi
mov    $0x400,%esi
call   1080 <freeMem@plt>
mov    0x28(%rsp),%rdi
mov    $0x400,%esi
call   1080 <freeMem@plt>
mov    0x30(%rsp),%rdi
mov    $0x400,%esi
call   1080 <freeMem@plt>
mov    0x38(%rsp),%rdi
mov    $0x400,%esi
call   1080 <freeMem@plt>
mov    0x40(%rsp),%rdi
mov    $0x400,%esi
call   1080 <freeMem@plt>
mov    0x48(%rsp),%rdi
mov    $0x400,%esi
call   1080 <freeMem@plt>
mov    0x50(%rsp),%rdi
mov    $0x400,%esi
call   1080 <freeMem@plt>
mov    0x58(%rsp),%rdi
mov    $0x400,%esi
call   1080 <freeMem@plt>
xor    %r13d,%r13d
cmpl   $0x2,(%r14)
setl   %r13b
mov    %r13d,%eax
add    $0x478,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [2 x i8] c" \00"
define i32 @get_file_content(i32* %0, i8** %1, i32* %2) {
%4 = alloca i32
%5 = alloca i32*
%6 = alloca i8**
%7 = alloca i32*
%8 = alloca [1024 x i8]
%9 = alloca [10 x i8*]
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
store i32* %0, i32** %5
store i8** %1, i8*** %6
store i32* %2, i32** %7
store i32 0, i32* %10
store i32 0, i32* %11
store i32 0, i32* %12
store i32 0, i32* %12
br label %14
14: ; preds = %22, %3
%15 = load i32, i32* %12
%16 = icmp slt i32 %15, 10
br i1 %16, label %17, label %25
17: ; preds = %14
%18 = call i8* @mallocMem(i32 1024)
%19 = load i32, i32* %12
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [10 x i8*], [10 x i8*]* %9, i64 0, i64 %20
store i8* %18, i8** %21
br label %22
22: ; preds = %17
%23 = load i32, i32* %12
%24 = add nsw i32 %23, 1
store i32 %24, i32* %12
br label %14
25: ; preds = %14
br label %26
26: ; preds = %85, %84, %65, %25
%27 = load i32*, i32** %5
%28 = call i32 @feof(i32* %27)
%29 = icmp ne i32 %28, 0
%30 = xor i1 %29, true
br i1 %30, label %31, label %94
31: ; preds = %26
%32 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%33 = call i32 @memset(i8* %32, i32 0, i32 1024)
%34 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%35 = load i32*, i32** %5
%36 = call i32 @fgets(i8* %34, i32 1024, i32* %35)
%37 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%38 = call i32 @strlen(i8* %37)
store i32 %38, i32* %13
%39 = load i32, i32* %13
%40 = icmp sgt i32 %39, 2
br i1 %40, label %41, label %47
41: ; preds = %31
%42 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%43 = call i32 @strlen(i8* %42)
%44 = sub nsw i32 %43, 2
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 %45
store i8 0, i8* %46
br label %47
47: ; preds = %41, %31
%48 = load i32, i32* %10
%49 = icmp eq i32 0, %48
br i1 %49, label %50, label %75
50: ; preds = %47
%51 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%52 = getelementptr inbounds [10 x i8*], [10 x i8*]* %9, i64 0, i64 0
%53 = call i32 @splitStr(i8* %51, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8** %52, i32* %11)
%54 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%55 = load i8, i8* %54
%56 = call i32 @isdigit(i8 signext %55)
%57 = icmp ne i32 %56, 0
br i1 %57, label %59, label %58
58: ; preds = %50
store i32 1, i32* %4
br label %115
59: ; preds = %50
%60 = getelementptr inbounds [10 x i8*], [10 x i8*]* %9, i64 0, i64 0
%61 = load i8*, i8** %60
%62 = call i32 @strlen(i8* %61)
%63 = icmp sgt i32 %62, 7
br i1 %63, label %64, label %65
64: ; preds = %59
store i32 1, i32* %4
br label %115
65: ; preds = %59
%66 = load i8**, i8*** %6
%67 = load i32, i32* %10
%68 = add nsw i32 %67, 1
store i32 %68, i32* %10
%69 = sext i32 %67 to i64
%70 = getelementptr inbounds i8*, i8** %66, i64 %69
%71 = load i8*, i8** %70
%72 = getelementptr inbounds [10 x i8*], [10 x i8*]* %9, i64 0, i64 0
%73 = load i8*, i8** %72
%74 = call i32 @strcpy(i8* %71, i8* %73)
br label %26
75: ; preds = %47
%76 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%77 = call i32* @strchr(i8* %76, i8 signext 44)
%78 = icmp eq i32* null, %77
br i1 %78, label %84, label %79
79: ; preds = %75
%80 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%81 = load i8, i8* %80
%82 = call i32 @isdigit(i8 signext %81)
%83 = icmp ne i32 %82, 0
br i1 %83, label %85, label %84
84: ; preds = %79, %75
br label %26
85: ; preds = %79
%86 = load i8**, i8*** %6
%87 = load i32, i32* %10
%88 = add nsw i32 %87, 1
store i32 %88, i32* %10
%89 = sext i32 %87 to i64
%90 = getelementptr inbounds i8*, i8** %86, i64 %89
%91 = load i8*, i8** %90
%92 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%93 = call i32 @strcpy(i8* %91, i8* %92)
br label %26
94: ; preds = %26
%95 = load i32, i32* %10
%96 = load i32*, i32** %7
store i32 %95, i32* %96
store i32 0, i32* %12
br label %97
97: ; preds = %106, %94
%98 = load i32, i32* %12
%99 = icmp slt i32 %98, 10
br i1 %99, label %100, label %109
100: ; preds = %97
%101 = load i32, i32* %12
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [10 x i8*], [10 x i8*]* %9, i64 0, i64 %102
%104 = load i8*, i8** %103
%105 = call i32 @freeMem(i8* %104, i32 1024)
br label %106
106: ; preds = %100
%107 = load i32, i32* %12
%108 = add nsw i32 %107, 1
store i32 %108, i32* %12
br label %97
109: ; preds = %97
%110 = load i32*, i32** %7
%111 = load i32, i32* %110
%112 = icmp slt i32 %111, 2
br i1 %112, label %113, label %114
113: ; preds = %109
store i32 1, i32* %4
br label %115
114: ; preds = %109
store i32 0, i32* %4
br label %115
115: ; preds = %114, %113, %64, %58
%116 = load i32, i32* %4
ret i32 %116
}

LLVM IR (-O2):
@.str = [2 x i8] c" \00"
define i32 @get_file_content(i32* nocapture %0, i8** nocapture %1, i32* nocapture %2) {
%4 = alloca [1024 x i8]
%5 = alloca [10 x i8*]
%6 = alloca i32
%7 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%8 = bitcast [10 x i8*]* %5 to i8*
%9 = bitcast i32* %6 to i8*
store i32 0, i32* %6
%10 = tail call i8* @mallocMem(i32 1024)
%11 = getelementptr inbounds [10 x i8*], [10 x i8*]* %5, i64 0, i64 0
store i8* %10, i8** %11
%12 = tail call i8* @mallocMem(i32 1024)
%13 = getelementptr inbounds [10 x i8*], [10 x i8*]* %5, i64 0, i64 1
store i8* %12, i8** %13
%14 = tail call i8* @mallocMem(i32 1024)
%15 = getelementptr inbounds [10 x i8*], [10 x i8*]* %5, i64 0, i64 2
store i8* %14, i8** %15
%16 = tail call i8* @mallocMem(i32 1024)
%17 = getelementptr inbounds [10 x i8*], [10 x i8*]* %5, i64 0, i64 3
store i8* %16, i8** %17
%18 = tail call i8* @mallocMem(i32 1024)
%19 = getelementptr inbounds [10 x i8*], [10 x i8*]* %5, i64 0, i64 4
store i8* %18, i8** %19
%20 = tail call i8* @mallocMem(i32 1024)
%21 = getelementptr inbounds [10 x i8*], [10 x i8*]* %5, i64 0, i64 5
store i8* %20, i8** %21
%22 = tail call i8* @mallocMem(i32 1024)
%23 = getelementptr inbounds [10 x i8*], [10 x i8*]* %5, i64 0, i64 6
store i8* %22, i8** %23
%24 = tail call i8* @mallocMem(i32 1024)
%25 = getelementptr inbounds [10 x i8*], [10 x i8*]* %5, i64 0, i64 7
store i8* %24, i8** %25
%26 = tail call i8* @mallocMem(i32 1024)
%27 = getelementptr inbounds [10 x i8*], [10 x i8*]* %5, i64 0, i64 8
store i8* %26, i8** %27
%28 = tail call i8* @mallocMem(i32 1024)
%29 = getelementptr inbounds [10 x i8*], [10 x i8*]* %5, i64 0, i64 9
store i8* %28, i8** %29
%30 = call i32 @feof(i32* %0)
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %77
32: ; preds = %3, %71
%33 = phi i32 [ %72, %71 ], [ 0, %3 ]
%34 = call i32 @memset(i8* %7, i32 0, i32 1024)
%35 = call i32 @fgets(i8* %7, i32 1024, i32* %0)
%36 = call i32 @strlen(i8* %7)
%37 = icmp sgt i32 %36, 2
br i1 %37, label %38, label %43
38: ; preds = %32
%39 = call i32 @strlen(i8* %7)
%40 = add nsw i32 %39, -2
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 %41
store i8 0, i8* %42
br label %43
43: ; preds = %38, %32
%44 = icmp eq i32 %33, 0
br i1 %44, label %45, label %58
45: ; preds = %43
%46 = call i32 @splitStr(i8* %7, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8** %11, i32* %6)
%47 = load i8, i8* %7
%48 = call i32 @isdigit(i8 signext %47)
%49 = icmp eq i32 %48, 0
br i1 %49, label %102, label %50
50: ; preds = %45
%51 = load i8*, i8** %11
%52 = call i32 @strlen(i8* %51)
%53 = icmp sgt i32 %52, 7
br i1 %53, label %102, label %54
54: ; preds = %50
%55 = load i8*, i8** %1
%56 = load i8*, i8** %11
%57 = call i32 @strcpy(i8* %55, i8* %56)
br label %71
58: ; preds = %43
%59 = call i32* @strchr(i8* %7, i8 signext 44)
%60 = icmp eq i32* %59, null
br i1 %60, label %71, label %61
61: ; preds = %58
%62 = load i8, i8* %7
%63 = call i32 @isdigit(i8 signext %62)
%64 = icmp eq i32 %63, 0
br i1 %64, label %71, label %65
65: ; preds = %61
%66 = add nsw i32 %33, 1
%67 = sext i32 %33 to i64
%68 = getelementptr inbounds i8*, i8** %1, i64 %67
%69 = load i8*, i8** %68
%70 = call i32 @strcpy(i8* %69, i8* %7)
br label %71
71: ; preds = %58, %61, %65, %54
%72 = phi i32 [ 1, %54 ], [ %66, %65 ], [ %33, %61 ], [ %33, %58 ]
%73 = call i32 @feof(i32* %0)
%74 = icmp eq i32 %73, 0
br i1 %74, label %32, label %75
75: ; preds = %71
%76 = load i8*, i8** %11
br label %77
77: ; preds = %75, %3
%78 = phi i8* [ %10, %3 ], [ %76, %75 ]
%79 = phi i32 [ 0, %3 ], [ %72, %75 ]
store i32 %79, i32* %2
%80 = call i32 @freeMem(i8* %78, i32 1024)
%81 = load i8*, i8** %13
%82 = call i32 @freeMem(i8* %81, i32 1024)
%83 = load i8*, i8** %15
%84 = call i32 @freeMem(i8* %83, i32 1024)
%85 = load i8*, i8** %17
%86 = call i32 @freeMem(i8* %85, i32 1024)
%87 = load i8*, i8** %19
%88 = call i32 @freeMem(i8* %87, i32 1024)
%89 = load i8*, i8** %21
%90 = call i32 @freeMem(i8* %89, i32 1024)
%91 = load i8*, i8** %23
%92 = call i32 @freeMem(i8* %91, i32 1024)
%93 = load i8*, i8** %25
%94 = call i32 @freeMem(i8* %93, i32 1024)
%95 = load i8*, i8** %27
%96 = call i32 @freeMem(i8* %95, i32 1024)
%97 = load i8*, i8** %29
%98 = call i32 @freeMem(i8* %97, i32 1024)
%99 = load i32, i32* %2
%100 = icmp slt i32 %99, 2
%101 = zext i1 %100 to i32
br label %102
102: ; preds = %50, %45, %77
%103 = phi i32 [ %101, %77 ], [ 1, %45 ], [ 1, %50 ]
ret i32 %103
}