#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*/ fprintf(int /*<<< orphan*/, char *, ...);
char getopt(int, char **, char *);
char *optarg;
int optopt;
int /*<<< orphan*/ stderr;
scalar_t__ strlen(char *);
int /*<<< orphan*/ strncpy(char *, char *, int);
scalar_t__ sys_create_file(char *, char *, char *);
int /*<<< orphan*/ usage();
int main(int argc, char **argv) {
  if (argc < 4) {
    usage();
    return 1;
  }
  char kernel_file_path[1024];
  kernel_file_path[0] = '\0';
  char romfs_file_path[1024];
  romfs_file_path[0] = '\0';
  char out_file_name[1024];
  out_file_name[0] = '\0';
  char o;
  while ((o = getopt(argc, argv, ":k:i:o:h")) != -1) {
    switch (o) {
    case 'k':
      if (strlen(optarg) > 1024) {
        fprintf(stderr, "%s can not be longer than %d\n", optarg, 1024);
        return 1;
      }
      strncpy(kernel_file_path, optarg, 1024);
      break;
    case 'i':
      if (strlen(optarg) > 1024) {
        fprintf(stderr, "%s can not be longer than %d\n", optarg, 1024);
        return 1;
      }
      strncpy(romfs_file_path, optarg, 1024);
      break;
    case 'o':
      if (strlen(optarg) > 1024) {
        fprintf(stderr, "%s can not be longer than %d\n", optarg, 1024);
        return 1;
      }
      strncpy(out_file_name, optarg, 1024);
      break;
    case 'h':
      usage();
      return 0;
    case '?':
      fprintf(stderr, "Illegal option -%c\n", optopt);
      usage();
      return 1;
    defalt:
      fprintf(stderr, "Option -%c requires an argument.\n", optopt);
      usage();
      return 1;
    }
  }
  if (strlen(kernel_file_path) == 0 || strlen(romfs_file_path) == 0 ||
      strlen(out_file_name) == 0) {
    usage();
    return 1;
  }
  if (sys_create_file(kernel_file_path, romfs_file_path, out_file_name) != 0) {
    fprintf(stderr, "Error while packing system file");
    return 1;
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x4,-0x8(%rbp)
jge    1196 <main+0x36>
mov    $0x0,%al
call   1060 <usage@plt>
movl   $0x1,-0x4(%rbp)
jmp    1438 <main+0x2d8>
movb   $0x0,-0x410(%rbp)
movb   $0x0,-0x810(%rbp)
movb   $0x0,-0xc10(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xf0b(%rip),%rdx
call   1070 <getopt@plt>
mov    %al,-0xc11(%rbp)
movsbl %al,%eax
cmp    $0xffffffff,%eax
je     1395 <main+0x235>
movsbl -0xc11(%rbp),%eax
add    $0xffffffc1,%eax
mov    %eax,%ecx
mov    %rcx,-0xc20(%rbp)
sub    $0x30,%eax
ja     1390 <main+0x230>
mov    -0xc20(%rbp),%rax
lea    0xe06(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    0x2dee(%rip),%rax
mov    (%rax),%rdi
call   1040 <strlen@plt>
cmp    $0x400,%rax
jle    1250 <main+0xf0>
mov    0x2dab(%rip),%rax
mov    (%rax),%edi
mov    0x2dca(%rip),%rax
mov    (%rax),%rdx
lea    0xe95(%rip),%rsi
mov    $0x400,%ecx
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1438 <main+0x2d8>
lea    -0x410(%rbp),%rdi
mov    0x2d9a(%rip),%rax
mov    (%rax),%rsi
mov    $0x400,%edx
call   1030 <strncpy@plt>
jmp    1390 <main+0x230>
mov    0x2d81(%rip),%rax
mov    (%rax),%rdi
call   1040 <strlen@plt>
cmp    $0x400,%rax
jle    12bd <main+0x15d>
mov    0x2d3e(%rip),%rax
mov    (%rax),%edi
mov    0x2d5d(%rip),%rax
mov    (%rax),%rdx
lea    0xe28(%rip),%rsi
mov    $0x400,%ecx
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1438 <main+0x2d8>
lea    -0x810(%rbp),%rdi
mov    0x2d2d(%rip),%rax
mov    (%rax),%rsi
mov    $0x400,%edx
call   1030 <strncpy@plt>
jmp    1390 <main+0x230>
mov    0x2d14(%rip),%rax
mov    (%rax),%rdi
call   1040 <strlen@plt>
cmp    $0x400,%rax
jle    132a <main+0x1ca>
mov    0x2cd1(%rip),%rax
mov    (%rax),%edi
mov    0x2cf0(%rip),%rax
mov    (%rax),%rdx
lea    0xdbb(%rip),%rsi
mov    $0x400,%ecx
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1438 <main+0x2d8>
lea    -0xc10(%rbp),%rdi
mov    0x2cc0(%rip),%rax
mov    (%rax),%rsi
mov    $0x400,%edx
call   1030 <strncpy@plt>
jmp    1390 <main+0x230>
mov    $0x0,%al
call   1060 <usage@plt>
movl   $0x0,-0x4(%rbp)
jmp    1438 <main+0x2d8>
mov    0x2c6c(%rip),%rax
mov    (%rax),%edi
mov    0x2c73(%rip),%rax
mov    (%rax),%edx
lea    0xd75(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    $0x0,%al
call   1060 <usage@plt>
movl   $0x1,-0x4(%rbp)
jmp    1438 <main+0x2d8>
jmp    11ab <main+0x4b>
lea    -0x410(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     13d7 <main+0x277>
lea    -0x810(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     13d7 <main+0x277>
lea    -0xc10(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
jne    13ea <main+0x28a>
mov    $0x0,%al
call   1060 <usage@plt>
movl   $0x1,-0x4(%rbp)
jmp    1438 <main+0x2d8>
lea    -0x410(%rbp),%rdi
lea    -0x810(%rbp),%rsi
lea    -0xc10(%rbp),%rdx
call   1080 <sys_create_file@plt>
cmp    $0x0,%rax
je     1431 <main+0x2d1>
mov    0x2bbb(%rip),%rax
mov    (%rax),%edi
lea    0xd03(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1438 <main+0x2d8>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0xc20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xc18,%rsp
cmp    $0x3,%edi
jle    132d <main+0x1cd>
mov    %rsi,%r12
mov    %edi,%r14d
movb   $0x0,0x810(%rsp)
movb   $0x0,0x410(%rsp)
movb   $0x0,0x10(%rsp)
lea    0xf28(%rip),%rdx
call   1070 <getopt@plt>
cmp    $0xff,%al
je     132d <main+0x1cd>
lea    0xf14(%rip),%r13
lea    0xe49(%rip),%rbp
mov    0x2e3a(%rip),%r15
mov    %r14d,0xc(%rsp)
jmp    11f3 <main+0x93>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %rbx,%rsi
mov    $0x400,%edx
call   1030 <strncpy@plt>
mov    %r14d,%edi
mov    %r12,%rsi
mov    %r13,%rdx
call   1070 <getopt@plt>
cmp    $0xff,%al
je     129d <main+0x13d>
movsbl %al,%eax
add    $0xffffffc1,%eax
cmp    $0x30,%eax
ja     11dd <main+0x7d>
movslq 0x0(%rbp,%rax,4),%rax
add    %rbp,%rax
jmp    *%rax
mov    (%r15),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
cmp    $0x401,%rax
jge    12f8 <main+0x198>
lea    0x410(%rsp),%rdi
jmp    11d0 <main+0x70>
nopl   0x0(%rax)
mov    %r12,%r14
mov    %rbp,%r12
mov    %r15,%rbx
mov    %r15,%rbp
mov    (%r15),%r15
mov    %r15,%rdi
call   1040 <strlen@plt>
cmp    $0x401,%rax
jge    1358 <main+0x1f8>
lea    0x810(%rsp),%rdi
mov    %r15,%rsi
mov    $0x400,%edx
call   1030 <strncpy@plt>
mov    %rbx,%r15
mov    %r12,%rbp
mov    %r14,%r12
mov    0xc(%rsp),%r14d
jmp    11dd <main+0x7d>
nopl   0x0(%rax,%rax,1)
mov    (%r15),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
cmp    $0x401,%rax
jge    12f8 <main+0x198>
lea    0x10(%rsp),%rdi
jmp    11d0 <main+0x70>
cmpb   $0x0,0x810(%rsp)
je     132d <main+0x1cd>
cmpb   $0x0,0x410(%rsp)
je     132d <main+0x1cd>
cmpb   $0x0,0x10(%rsp)
je     132d <main+0x1cd>
lea    0x810(%rsp),%rdi
lea    0x410(%rsp),%rsi
lea    0x10(%rsp),%rdx
call   1080 <sys_create_file@plt>
test   %rax,%rax
je     1379 <main+0x219>
mov    0x2cea(%rip),%rax
mov    (%rax),%edi
lea    0xe10(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
jmp    1334 <main+0x1d4>
mov    0x2cd1(%rip),%rax
mov    (%rax),%edi
lea    0xdc5(%rip),%rsi
mov    %rbx,%rdx
jmp    136b <main+0x20b>
mov    0x2cbc(%rip),%rax
mov    (%rax),%edi
mov    0x2cc3(%rip),%rax
mov    (%rax),%edx
lea    0xdc5(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
xor    %eax,%eax
call   1060 <usage@plt>
mov    $0x1,%ebx
mov    %ebx,%eax
add    $0xc18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
xor    %ebx,%ebx
xor    %eax,%eax
call   1060 <usage@plt>
jmp    1339 <main+0x1d9>
mov    0x2c71(%rip),%rax
mov    (%rax),%edi
lea    0xd65(%rip),%rsi
mov    %r15,%rdx
mov    $0x400,%ecx
xor    %eax,%eax
call   1050 <fprintf@plt>
jmp    1334 <main+0x1d4>
xor    %ebx,%ebx
jmp    1339 <main+0x1d9>

LLVM IR (-O0):
@.str = [9 x i8] c":k:i:o:h\00"
@optarg = global i8* null
@stderr = global i32 0
@.str.1 = [30 x i8] c"%s can not be longer than %d\0A\00"
@.str.2 = [20 x i8] c"Illegal option -%c\0A\00"
@optopt = global i32 0
@.str.3 = [34 x i8] c"Option -%c requires an argument.\0A\00"
@.str.4 = [32 x i8] c"Error while packing system file\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [1024 x i8]
%7 = alloca [1024 x i8]
%8 = alloca [1024 x i8]
%9 = alloca i8
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%10 = load i32, i32* %4
%11 = icmp slt i32 %10, 4
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 (...) @usage()
store i32 1, i32* %3
br label %100
14: ; preds = %2
%15 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
store i8 0, i8* %15
%16 = getelementptr inbounds [1024 x i8], [1024 x i8]* %7, i64 0, i64 0
store i8 0, i8* %16
%17 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
store i8 0, i8* %17
br label %18
18: ; preds = %75, %14
%19 = load i32, i32* %4
%20 = load i8**, i8*** %5
%21 = call signext i8 @getopt(i32 %19, i8** %20, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
store i8 %21, i8* %9
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, -1
br i1 %23, label %24, label %76
24: ; preds = %18
%25 = load i8, i8* %9
%26 = sext i8 %25 to i32
switch i32 %26, label %75 [
i32 107, label %27
i32 105, label %39
i32 111, label %51
i32 104, label %63
i32 63, label %65
]
27: ; preds = %24
%28 = load i8*, i8** @optarg
%29 = call i64 @strlen(i8* %28)
%30 = icmp sgt i64 %29, 1024
br i1 %30, label %31, label %35
31: ; preds = %27
%32 = load i32, i32* @stderr
%33 = load i8*, i8** @optarg
%34 = call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i8* %33, i32 1024)
store i32 1, i32* %3
br label %100
35: ; preds = %27
%36 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%37 = load i8*, i8** @optarg
%38 = call i32 @strncpy(i8* %36, i8* %37, i32 1024)
br label %75
39: ; preds = %24
%40 = load i8*, i8** @optarg
%41 = call i64 @strlen(i8* %40)
%42 = icmp sgt i64 %41, 1024
br i1 %42, label %43, label %47
43: ; preds = %39
%44 = load i32, i32* @stderr
%45 = load i8*, i8** @optarg
%46 = call i32 (i32, i8*, ...) @fprintf(i32 %44, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i8* %45, i32 1024)
store i32 1, i32* %3
br label %100
47: ; preds = %39
%48 = getelementptr inbounds [1024 x i8], [1024 x i8]* %7, i64 0, i64 0
%49 = load i8*, i8** @optarg
%50 = call i32 @strncpy(i8* %48, i8* %49, i32 1024)
br label %75
51: ; preds = %24
%52 = load i8*, i8** @optarg
%53 = call i64 @strlen(i8* %52)
%54 = icmp sgt i64 %53, 1024
br i1 %54, label %55, label %59
55: ; preds = %51
%56 = load i32, i32* @stderr
%57 = load i8*, i8** @optarg
%58 = call i32 (i32, i8*, ...) @fprintf(i32 %56, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i8* %57, i32 1024)
store i32 1, i32* %3
br label %100
59: ; preds = %51
%60 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%61 = load i8*, i8** @optarg
%62 = call i32 @strncpy(i8* %60, i8* %61, i32 1024)
br label %75
63: ; preds = %24
%64 = call i32 (...) @usage()
store i32 0, i32* %3
br label %100
65: ; preds = %24
%66 = load i32, i32* @stderr
%67 = load i32, i32* @optopt
%68 = call i32 (i32, i8*, ...) @fprintf(i32 %66, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i32 %67)
%69 = call i32 (...) @usage()
store i32 1, i32* %3
br label %100
70: ; No predecessors!
%71 = load i32, i32* @stderr
%72 = load i32, i32* @optopt
%73 = call i32 (i32, i8*, ...) @fprintf(i32 %71, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.3, i64 0, i64 0), i32 %72)
%74 = call i32 (...) @usage()
store i32 1, i32* %3
br label %100
75: ; preds = %24, %59, %47, %35
br label %18
76: ; preds = %18
%77 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%78 = call i64 @strlen(i8* %77)
%79 = icmp eq i64 %78, 0
br i1 %79, label %88, label %80
80: ; preds = %76
%81 = getelementptr inbounds [1024 x i8], [1024 x i8]* %7, i64 0, i64 0
%82 = call i64 @strlen(i8* %81)
%83 = icmp eq i64 %82, 0
br i1 %83, label %88, label %84
84: ; preds = %80
%85 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%86 = call i64 @strlen(i8* %85)
%87 = icmp eq i64 %86, 0
br i1 %87, label %88, label %90
88: ; preds = %84, %80, %76
%89 = call i32 (...) @usage()
store i32 1, i32* %3
br label %100
90: ; preds = %84
%91 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%92 = getelementptr inbounds [1024 x i8], [1024 x i8]* %7, i64 0, i64 0
%93 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%94 = call i64 @sys_create_file(i8* %91, i8* %92, i8* %93)
%95 = icmp ne i64 %94, 0
br i1 %95, label %96, label %99
96: ; preds = %90
%97 = load i32, i32* @stderr
%98 = call i32 (i32, i8*, ...) @fprintf(i32 %97, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.4, i64 0, i64 0))
store i32 1, i32* %3
br label %100
99: ; preds = %90
store i32 0, i32* %3
br label %100
100: ; preds = %99, %96, %88, %70, %65, %63, %55, %43, %31, %12
%101 = load i32, i32* %3
ret i32 %101
}

LLVM IR (-O2):
@.str = [9 x i8] c":k:i:o:h\00"
@optarg = global i8* null
@stderr = global i32 0
@.str.1 = [30 x i8] c"%s can not be longer than %d\0A\00"
@.str.2 = [20 x i8] c"Illegal option -%c\0A\00"
@optopt = global i32 0
@.str.4 = [32 x i8] c"Error while packing system file\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca [1024 x i8]
%4 = alloca [1024 x i8]
%5 = alloca [1024 x i8]
%6 = icmp slt i32 %0, 4
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = tail call i32 (...) @usage()
br label %74
9: ; preds = %2
%10 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
store i8 0, i8* %10
%11 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
store i8 0, i8* %11
%12 = getelementptr inbounds [1024 x i8], [1024 x i8]* %5, i64 0, i64 0
store i8 0, i8* %12
%13 = call signext i8 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%14 = icmp eq i8 %13, -1
br i1 %14, label %64, label %15
15: ; preds = %9, %52
%16 = phi i8 [ %53, %52 ], [ %13, %9 ]
%17 = sext i8 %16 to i32
switch i32 %17, label %52 [
i32 107, label %18
i32 105, label %27
i32 111, label %36
i32 104, label %45
i32 63, label %47
]
18: ; preds = %15
%19 = load i8*, i8** @optarg
%20 = call i64 @strlen(i8* dereferenceable(1) %19)
%21 = icmp sgt i64 %20, 1024
br i1 %21, label %22, label %25
22: ; preds = %18
%23 = load i32, i32* @stderr
%24 = call i32 (i32, i8*, ...) @fprintf(i32 %23, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i8* %19, i32 1024)
br label %72
25: ; preds = %18
%26 = call i32 @strncpy(i8* %10, i8* %19, i32 1024)
br label %52
27: ; preds = %15
%28 = load i8*, i8** @optarg
%29 = call i64 @strlen(i8* dereferenceable(1) %28)
%30 = icmp sgt i64 %29, 1024
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = load i32, i32* @stderr
%33 = call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i8* %28, i32 1024)
br label %72
34: ; preds = %27
%35 = call i32 @strncpy(i8* %11, i8* %28, i32 1024)
br label %52
36: ; preds = %15
%37 = load i8*, i8** @optarg
%38 = call i64 @strlen(i8* dereferenceable(1) %37)
%39 = icmp sgt i64 %38, 1024
br i1 %39, label %40, label %43
40: ; preds = %36
%41 = load i32, i32* @stderr
%42 = call i32 (i32, i8*, ...) @fprintf(i32 %41, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i8* %37, i32 1024)
br label %72
43: ; preds = %36
%44 = call i32 @strncpy(i8* %12, i8* %37, i32 1024)
br label %52
45: ; preds = %15
%46 = call i32 (...) @usage()
br label %72
47: ; preds = %15
%48 = load i32, i32* @stderr
%49 = load i32, i32* @optopt
%50 = call i32 (i32, i8*, ...) @fprintf(i32 %48, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i32 %49)
%51 = call i32 (...) @usage()
br label %72
52: ; preds = %15, %43, %34, %25
%53 = call signext i8 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%54 = icmp eq i8 %53, -1
br i1 %54, label %55, label %15
55: ; preds = %52
%56 = load i8, i8* %10
%57 = load i8, i8* %11
%58 = load i8, i8* %12
%59 = icmp eq i8 %56, 0
%60 = icmp eq i8 %57, 0
%61 = select i1 %59, i1 true, i1 %60
%62 = icmp eq i8 %58, 0
%63 = select i1 %61, i1 true, i1 %62
br i1 %63, label %64, label %66
64: ; preds = %9, %55
%65 = call i32 (...) @usage()
br label %72
66: ; preds = %55
%67 = call i64 @sys_create_file(i8* %10, i8* %11, i8* %12)
%68 = icmp eq i64 %67, 0
br i1 %68, label %72, label %69
69: ; preds = %66
%70 = load i32, i32* @stderr
%71 = call i32 (i32, i8*, ...) @fprintf(i32 %70, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.4, i64 0, i64 0))
br label %72
72: ; preds = %66, %69, %64, %47, %45, %40, %31, %22
%73 = phi i32 [ 1, %47 ], [ 0, %45 ], [ 1, %40 ], [ 1, %31 ], [ 1, %22 ], [ 1, %64 ], [ 1, %69 ], [ 0, %66 ]
br label %74
74: ; preds = %72, %7
%75 = phi i32 [ 1, %7 ], [ %73, %72 ]
ret i32 %75
}