#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*/ EXIT_FAILURE;
int cp_by_fgetc_fputc(char const *, char const *);
int /*<<< orphan*/ does_exist(char const *);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int getchar();
int /*<<< orphan*/ print_help(char const *);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ strcmp(char const *, char *);
int main(int argc, const char *argv[]) {
  const char *source, *dest, *option;
  int opt;
  int ch;
  int ret;
  int i;
  source = dest = option = NULL;
  opt = 0;
  if (argc == 2 || argc == 3) {
    for (i = 1; argv[i] != NULL; i++) {
      if (argv[i][0] == '-') {
        if (strcmp(argv[i], "-h") == 0)
          opt = 1;
        else if (strcmp(argv[i], "-f") == 0)
          opt = 2;
        else
          opt = 3;
        option = argv[i];
        continue;
      }
      if (source == NULL)
        source = argv[i];
      else
        dest = argv[i];
    }
    switch (opt) {
    case 0: {
      if (does_exist(dest)) {
        printf("The destination file '%s' exists\n", argv[2]);
        printf("Are you sure to overwrite it?[y/n]");
        ch = getchar();
        if (ch == 'y')
          goto COPY;
        return 0;
      }
    }
    case 2:
      goto COPY;
    case 1:
      goto HELP;
    case 3:
      printf("No option '%s'\n", argv[1]);
      printf("Please use '%s -h' to see usage\n", argv[0]);
      return 1;
    }
  } else {
  HELP:
    print_help(argv[0]);
    return 0;
  }
COPY:
  ret = cp_by_fgetc_fputc(source, dest);
  if (ret == 0)
    return 0;
  else if (ret == 1) {
    printf("The source file '%s' does not exist\n", argv[1]);
    exit(EXIT_FAILURE);
  } else {
    printf("Copy error\n");
    return 1;
  }
}


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)
movq   $0x0,-0x28(%rbp)
movq   $0x0,-0x20(%rbp)
movq   $0x0,-0x18(%rbp)
movl   $0x0,-0x2c(%rbp)
cmpl   $0x2,-0x8(%rbp)
je     11b9 <main+0x49>
cmpl   $0x3,-0x8(%rbp)
jne    1376 <main+0x206>
movl   $0x1,-0x38(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x38(%rbp),%rcx
cmpq   $0x0,(%rax,%rcx,8)
je     12ab <main+0x13b>
mov    -0x10(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movsbl (%rax),%eax
cmp    $0x2d,%eax
jne    1268 <main+0xf8>
mov    -0x10(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xe12(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    1219 <main+0xa9>
movl   $0x1,-0x2c(%rbp)
jmp    1253 <main+0xe3>
mov    -0x10(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xde7(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    1247 <main+0xd7>
movl   $0x2,-0x2c(%rbp)
jmp    124e <main+0xde>
movl   $0x3,-0x2c(%rbp)
jmp    1253 <main+0xe3>
mov    -0x10(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %rax,-0x28(%rbp)
jmp    129d <main+0x12d>
cmpq   $0x0,-0x18(%rbp)
jne    1288 <main+0x118>
mov    -0x10(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %rax,-0x18(%rbp)
jmp    1298 <main+0x128>
mov    -0x10(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %rax,-0x20(%rbp)
jmp    129d <main+0x12d>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    11c0 <main+0x50>
mov    -0x2c(%rbp),%eax
mov    %rax,-0x40(%rbp)
sub    $0x3,%rax
ja     1371 <main+0x201>
mov    -0x40(%rbp),%rax
lea    0xd39(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x20(%rbp),%rdi
call   1090 <does_exist@plt>
cmp    $0x0,%eax
je     132b <main+0x1bb>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rsi
lea    0xd25(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd39(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1050 <getchar@plt>
mov    %eax,-0x30(%rbp)
cmpl   $0x79,-0x30(%rbp)
jne    131f <main+0x1af>
jmp    1398 <main+0x228>
movl   $0x0,-0x4(%rbp)
jmp    1401 <main+0x291>
jmp    1330 <main+0x1c0>
jmp    1398 <main+0x228>
jmp    137b <main+0x20b>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xd12(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xd0d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1401 <main+0x291>
jmp    1393 <main+0x223>
jmp    137b <main+0x20b>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   1070 <print_help@plt>
movl   $0x0,-0x4(%rbp)
jmp    1401 <main+0x291>
jmp    1398 <main+0x228>
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1060 <cp_by_fgetc_fputc@plt>
mov    %eax,-0x34(%rbp)
cmpl   $0x0,-0x34(%rbp)
jne    13be <main+0x24e>
movl   $0x0,-0x4(%rbp)
jmp    1401 <main+0x291>
cmpl   $0x1,-0x34(%rbp)
jne    13ec <main+0x27c>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xcb5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2bfb(%rip),%rax
mov    (%rax),%edi
call   1080 <exit@plt>
lea    0xcbe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%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
mov    %rsi,%r14
and    $0xfffffffe,%edi
cmp    $0x2,%edi
jne    122b <main+0xab>
mov    0x8(%r14),%rdi
xor    %eax,%eax
test   %rdi,%rdi
je     123a <main+0xba>
lea    0x10(%r14),%rbp
lea    0xe4c(%rip),%r12
lea    0xe48(%rip),%r13
xor    %ebx,%ebx
xor    %r15d,%r15d
jmp    11e8 <main+0x68>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
test   %rbx,%rbx
cmovne %rdi,%r15
cmove  %rdi,%rbx
mov    0x0(%rbp),%rdi
add    $0x8,%rbp
test   %rdi,%rdi
je     121b <main+0x9b>
cmpb   $0x2d,(%rdi)
jne    11d0 <main+0x50>
mov    %r12,%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1214 <main+0x94>
mov    -0x8(%rbp),%rdi
mov    %r13,%rsi
call   1050 <strcmp@plt>
cmp    $0x1,%rax
mov    $0x3,%eax
sbb    $0x0,%eax
jmp    11db <main+0x5b>
mov    $0x1,%eax
jmp    11db <main+0x5b>
cmp    $0x3,%eax
je     129d <main+0x11d>
cmp    $0x1,%eax
je     122b <main+0xab>
test   %eax,%eax
je     123f <main+0xbf>
jmp    1279 <main+0xf9>
mov    (%r14),%rdi
call   1080 <print_help@plt>
xor    %ebp,%ebp
jmp    12c5 <main+0x145>
xor    %ebx,%ebx
xor    %r15d,%r15d
mov    %r15,%rdi
call   10a0 <does_exist@plt>
test   %eax,%eax
je     1279 <main+0xf9>
mov    0x10(%r14),%rsi
lea    0xdb0(%rip),%rdi
xor    %ebp,%ebp
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdc2(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1060 <getchar@plt>
cmp    $0x79,%eax
jne    12c5 <main+0x145>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <cp_by_fgetc_fputc@plt>
mov    %eax,%ebp
test   %eax,%eax
je     12c5 <main+0x145>
cmp    $0x1,%ebp
je     12d6 <main+0x156>
lea    0xe0b(%rip),%rdi
call   1030 <puts@plt>
jmp    12c0 <main+0x140>
mov    0x8(%r14),%rsi
lea    0xda3(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%r14),%rsi
lea    0xda2(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1,%ebp
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x8(%r14),%rsi
lea    0xd9b(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2cf1(%rip),%rax
mov    (%rax),%edi
call   1090 <exit@plt>

LLVM IR (-O0):
@.str = [3 x i8] c"-h\00"
@.str.1 = [3 x i8] c"-f\00"
@.str.2 = [34 x i8] c"The destination file '%s' exists\0A\00"
@.str.3 = [35 x i8] c"Are you sure to overwrite it?[y/n]\00"
@.str.4 = [16 x i8] c"No option '%s'\0A\00"
@.str.5 = [33 x i8] c"Please use '%s -h' to see usage\0A\00"
@.str.6 = [37 x i8] c"The source file '%s' does not exist\0A\00"
@EXIT_FAILURE = global i32 0
@.str.7 = [12 x i8] c"Copy error\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i8* null, i8** %8
store i8* null, i8** %7
store i8* null, i8** %6
store i32 0, i32* %9
%13 = load i32, i32* %4
%14 = icmp eq i32 %13, 2
br i1 %14, label %18, label %15
15: ; preds = %2
%16 = load i32, i32* %4
%17 = icmp eq i32 %16, 3
br i1 %17, label %18, label %111
18: ; preds = %15, %2
store i32 1, i32* %12
br label %19
19: ; preds = %78, %18
%20 = load i8**, i8*** %5
%21 = load i32, i32* %12
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8*, i8** %20, i64 %22
%24 = load i8*, i8** %23
%25 = icmp ne i8* %24, null
br i1 %25, label %26, label %81
26: ; preds = %19
%27 = load i8**, i8*** %5
%28 = load i32, i32* %12
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8*, i8** %27, i64 %29
%31 = load i8*, i8** %30
%32 = getelementptr inbounds i8, i8* %31, i64 0
%33 = load i8, i8* %32
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 45
br i1 %35, label %36, label %62
36: ; preds = %26
%37 = load i8**, i8*** %5
%38 = load i32, i32* %12
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8*, i8** %37, i64 %39
%41 = load i8*, i8** %40
%42 = call i64 @strcmp(i8* %41, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %36
store i32 1, i32* %9
br label %56
45: ; preds = %36
%46 = load i8**, i8*** %5
%47 = load i32, i32* %12
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8*, i8** %46, i64 %48
%50 = load i8*, i8** %49
%51 = call i64 @strcmp(i8* %50, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %45
store i32 2, i32* %9
br label %55
54: ; preds = %45
store i32 3, i32* %9
br label %55
55: ; preds = %54, %53
br label %56
56: ; preds = %55, %44
%57 = load i8**, i8*** %5
%58 = load i32, i32* %12
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8*, i8** %57, i64 %59
%61 = load i8*, i8** %60
store i8* %61, i8** %8
br label %78
62: ; preds = %26
%63 = load i8*, i8** %6
%64 = icmp eq i8* %63, null
br i1 %64, label %65, label %71
65: ; preds = %62
%66 = load i8**, i8*** %5
%67 = load i32, i32* %12
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8*, i8** %66, i64 %68
%70 = load i8*, i8** %69
store i8* %70, i8** %6
br label %77
71: ; preds = %62
%72 = load i8**, i8*** %5
%73 = load i32, i32* %12
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8*, i8** %72, i64 %74
%76 = load i8*, i8** %75
store i8* %76, i8** %7
br label %77
77: ; preds = %71, %65
br label %78
78: ; preds = %77, %56
%79 = load i32, i32* %12
%80 = add nsw i32 %79, 1
store i32 %80, i32* %12
br label %19
81: ; preds = %19
%82 = load i32, i32* %9
switch i32 %82, label %110 [
i32 0, label %83
i32 2, label %99
i32 1, label %100
i32 3, label %101
]
83: ; preds = %81
%84 = load i8*, i8** %7
%85 = call i32 @does_exist(i8* %84)
%86 = icmp ne i32 %85, 0
br i1 %86, label %87, label %98
87: ; preds = %83
%88 = load i8**, i8*** %5
%89 = getelementptr inbounds i8*, i8** %88, i64 2
%90 = load i8*, i8** %89
%91 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0), i8* %90)
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
%93 = call i32 (...) @getchar()
store i32 %93, i32* %10
%94 = load i32, i32* %10
%95 = icmp eq i32 %94, 121
br i1 %95, label %96, label %97
96: ; preds = %87
br label %118
97: ; preds = %87
store i32 0, i32* %3
br label %137
98: ; preds = %83
br label %99
99: ; preds = %81, %98
br label %118
100: ; preds = %81
br label %112
101: ; preds = %81
%102 = load i8**, i8*** %5
%103 = getelementptr inbounds i8*, i8** %102, i64 1
%104 = load i8*, i8** %103
%105 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i8* %104)
%106 = load i8**, i8*** %5
%107 = getelementptr inbounds i8*, i8** %106, i64 0
%108 = load i8*, i8** %107
%109 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0), i8* %108)
store i32 1, i32* %3
br label %137
110: ; preds = %81
br label %117
111: ; preds = %15
br label %112
112: ; preds = %111, %100
%113 = load i8**, i8*** %5
%114 = getelementptr inbounds i8*, i8** %113, i64 0
%115 = load i8*, i8** %114
%116 = call i32 @print_help(i8* %115)
store i32 0, i32* %3
br label %137
117: ; preds = %110
br label %118
118: ; preds = %117, %99, %96
%119 = load i8*, i8** %6
%120 = load i8*, i8** %7
%121 = call i32 @cp_by_fgetc_fputc(i8* %119, i8* %120)
store i32 %121, i32* %11
%122 = load i32, i32* %11
%123 = icmp eq i32 %122, 0
br i1 %123, label %124, label %125
124: ; preds = %118
store i32 0, i32* %3
br label %137
125: ; preds = %118
%126 = load i32, i32* %11
%127 = icmp eq i32 %126, 1
br i1 %127, label %128, label %135
128: ; preds = %125
%129 = load i8**, i8*** %5
%130 = getelementptr inbounds i8*, i8** %129, i64 1
%131 = load i8*, i8** %130
%132 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0), i8* %131)
%133 = load i32, i32* @EXIT_FAILURE
%134 = call i32 @exit(i32 %133)
unreachable
135: ; preds = %125
%136 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0))
store i32 1, i32* %3
br label %137
137: ; preds = %135, %124, %112, %101, %97
%138 = load i32, i32* %3
ret i32 %138
}

LLVM IR (-O2):
@.str = [3 x i8] c"-h\00"
@.str.1 = [3 x i8] c"-f\00"
@.str.2 = [34 x i8] c"The destination file '%s' exists\0A\00"
@.str.3 = [35 x i8] c"Are you sure to overwrite it?[y/n]\00"
@.str.4 = [16 x i8] c"No option '%s'\0A\00"
@.str.5 = [33 x i8] c"Please use '%s -h' to see usage\0A\00"
@.str.6 = [37 x i8] c"The source file '%s' does not exist\0A\00"
@EXIT_FAILURE = global i32 0
@str = [11 x i8] c"Copy error\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = and i32 %0, -2
%4 = icmp eq i32 %3, 2
br i1 %4, label %5, label %56
5: ; preds = %2
%6 = getelementptr inbounds i8*, i8** %1, i64 1
%7 = load i8*, i8** %6
%8 = icmp eq i8* %7, null
br i1 %8, label %39, label %9
9: ; preds = %5, %30
%10 = phi i64 [ %34, %30 ], [ 1, %5 ]
%11 = phi i8* [ %36, %30 ], [ %7, %5 ]
%12 = phi i8** [ %35, %30 ], [ %6, %5 ]
%13 = phi i8* [ %33, %30 ], [ null, %5 ]
%14 = phi i32 [ %32, %30 ], [ 0, %5 ]
%15 = phi i8* [ %31, %30 ], [ null, %5 ]
%16 = load i8, i8* %11
%17 = icmp eq i8 %16, 45
br i1 %17, label %18, label %26
18: ; preds = %9
%19 = tail call i64 @strcmp(i8* %11, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%20 = icmp eq i64 %19, 0
br i1 %20, label %30, label %21
21: ; preds = %18
%22 = load i8*, i8** %12
%23 = tail call i64 @strcmp(i8* %22, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%24 = icmp eq i64 %23, 0
%25 = select i1 %24, i32 2, i32 3
br label %30
26: ; preds = %9
%27 = icmp eq i8* %13, null
%28 = select i1 %27, i8* %15, i8* %11
%29 = select i1 %27, i8* %11, i8* %13
br label %30
30: ; preds = %26, %18, %21
%31 = phi i8* [ %15, %21 ], [ %15, %18 ], [ %28, %26 ]
%32 = phi i32 [ %25, %21 ], [ 1, %18 ], [ %14, %26 ]
%33 = phi i8* [ %13, %21 ], [ %13, %18 ], [ %29, %26 ]
%34 = add nuw i64 %10, 1
%35 = getelementptr inbounds i8*, i8** %1, i64 %34
%36 = load i8*, i8** %35
%37 = icmp eq i8* %36, null
br i1 %37, label %38, label %9
38: ; preds = %30
switch i32 %32, label %59 [
i32 0, label %39
i32 3, label %51
i32 1, label %56
]
39: ; preds = %5, %38
%40 = phi i8* [ %33, %38 ], [ null, %5 ]
%41 = phi i8* [ %31, %38 ], [ null, %5 ]
%42 = tail call i32 @does_exist(i8* %41)
%43 = icmp eq i32 %42, 0
br i1 %43, label %59, label %44
44: ; preds = %39
%45 = getelementptr inbounds i8*, i8** %1, i64 2
%46 = load i8*, i8** %45
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0), i8* %46)
%48 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
%49 = tail call i32 (...) @getchar()
%50 = icmp eq i32 %49, 121
br i1 %50, label %59, label %70
51: ; preds = %38
%52 = load i8*, i8** %6
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i8* %52)
%54 = load i8*, i8** %1
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0), i8* %54)
br label %70
56: ; preds = %2, %38
%57 = load i8*, i8** %1
%58 = tail call i32 @print_help(i8* %57)
br label %70
59: ; preds = %38, %39, %44
%60 = phi i8* [ %33, %38 ], [ %40, %39 ], [ %40, %44 ]
%61 = phi i8* [ %31, %38 ], [ %41, %39 ], [ %41, %44 ]
%62 = tail call i32 @cp_by_fgetc_fputc(i8* %60, i8* %61)
switch i32 %62, label %68 [
i32 0, label %70
i32 1, label %63
]
63: ; preds = %59
%64 = load i8*, i8** %6
%65 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0), i8* %64)
%66 = load i32, i32* @EXIT_FAILURE
%67 = tail call i32 @exit(i32 %66)
unreachable
68: ; preds = %59
%69 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str, i64 0, i64 0))
br label %70
70: ; preds = %59, %44, %68, %56, %51
%71 = phi i32 [ 1, %68 ], [ 0, %56 ], [ 1, %51 ], [ 0, %44 ], [ %62, %59 ]
ret i32 %71
}