int main(int argc, char *argv[]) {
  if (argc != 9) {
    printf("usage: %s -c <coverfile (.ppm)> -m <message filename> -s "
           "<stegofile> -p <password>\n",
           argv[0]);
    return 0;
  }
  unsigned char *cover;
  unsigned char *message;
  unsigned char *stego;
  unsigned char *password;
  for (int i = 0; i < argc; i++) {
    if (!strcmp(argv[i], "-c")) {
      cover = malloc(sizeof(argv[i + 1]) + 1);
      strcpy(cover, argv[i + 1]);
    } else if (!strcmp(argv[i], "-m")) {
      message = malloc(sizeof(argv[i + 1]) + 1);
      strcpy(message, argv[i + 1]);
    } else if (!strcmp(argv[i], "-s")) {
      stego = malloc(sizeof(argv[i + 1]) + 1);
      strcpy(stego, argv[i + 1]);
    } else if (!strcmp(argv[i], "-p")) {
      password = malloc(sizeof(argv[i + 1]) + 1);
      strcpy(password, argv[i + 1]);
    }
  }
  char cmd[256];
  strcpy(cmd, "./enc -i ");
  strcat(cmd, message);
  strcat(cmd, " -o crypto.txt -p ");
  strcat(cmd, password);
  system(cmd);
  strcpy(cmd, "./emb -c ");
  strcat(cmd, cover);
  strcat(cmd, " -m crypto.txt -s ");
  strcat(cmd, stego);
  system(cmd);
  system("rm crypto.txt");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x140,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x9,-0x8(%rbp)
je     11a4 <main+0x44>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xe6f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    13c9 <main+0x269>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    130c <main+0x1ac>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xe8a(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%eax
jne    1205 <main+0xa5>
mov    $0x9,%edi
call   1070 <malloc@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    -0x34(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rsi
call   1030 <strcpy@plt>
jmp    12f9 <main+0x199>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xe3f(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%eax
jne    1253 <main+0xf3>
mov    $0x9,%edi
call   1070 <malloc@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    -0x34(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rsi
call   1030 <strcpy@plt>
jmp    12f4 <main+0x194>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xdf4(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%eax
jne    12a1 <main+0x141>
mov    $0x9,%edi
call   1070 <malloc@plt>
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    -0x34(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rsi
call   1030 <strcpy@plt>
jmp    12ef <main+0x18f>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xda9(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%eax
jne    12ea <main+0x18a>
mov    $0x9,%edi
call   1070 <malloc@plt>
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    -0x34(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rsi
call   1030 <strcpy@plt>
jmp    12ef <main+0x18f>
jmp    12f4 <main+0x194>
jmp    12f9 <main+0x199>
jmp    12fe <main+0x19e>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11ab <main+0x4b>
lea    -0x140(%rbp),%rdi
lea    0xd46(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x140(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1080 <strcat@plt>
lea    -0x140(%rbp),%rdi
lea    0xd2d(%rip),%rsi
call   1080 <strcat@plt>
lea    -0x140(%rbp),%rdi
mov    -0x30(%rbp),%rsi
call   1080 <strcat@plt>
lea    -0x140(%rbp),%rdi
mov    $0x0,%al
call   1040 <system@plt>
lea    -0x140(%rbp),%rdi
lea    0xd0f(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x140(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1080 <strcat@plt>
lea    -0x140(%rbp),%rdi
lea    0xcf6(%rip),%rsi
call   1080 <strcat@plt>
lea    -0x140(%rbp),%rdi
mov    -0x28(%rbp),%rsi
call   1080 <strcat@plt>
lea    -0x140(%rbp),%rdi
mov    $0x0,%al
call   1040 <system@plt>
lea    0xcdf(%rip),%rdi
mov    $0x0,%al
call   1040 <system@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x140,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x118,%rsp
mov    %rsi,%rbx
cmp    $0x9,%edi
jne    126b <main+0xfb>
xor    %ebp,%ebp
lea    0xebe(%rip),%r13
jmp    11c8 <main+0x58>
nopl   0x0(%rax,%rax,1)
mov    $0x9,%edi
call   1080 <malloc@plt>
mov    %rax,%r15
mov    0x8(%rbx,%rbp,8),%rsi
add    $0x1,%rbp
mov    %rax,%rdi
call   1030 <strcpy@plt>
cmp    $0x9,%rbp
je     1281 <main+0x111>
mov    (%rbx,%rbp,8),%r14
mov    %r14,%rdi
mov    %r13,%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
je     11a0 <main+0x30>
mov    %r14,%rdi
lea    0xe72(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
je     1220 <main+0xb0>
mov    %r14,%rdi
lea    0xe62(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
je     1232 <main+0xc2>
mov    %r14,%rdi
lea    0xe52(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
je     124f <main+0xdf>
add    $0x1,%rbp
cmp    $0x9,%rbp
jne    11c8 <main+0x58>
jmp    1281 <main+0x111>
mov    $0x9,%edi
call   1080 <malloc@plt>
mov    %rax,%r12
jmp    11ad <main+0x3d>
mov    $0x9,%edi
call   1080 <malloc@plt>
mov    0x8(%rbx,%rbp,8),%rsi
add    $0x1,%rbp
mov    %rax,0x8(%rsp)
jmp    11b6 <main+0x46>
mov    $0x9,%edi
call   1080 <malloc@plt>
mov    0x8(%rbx,%rbp,8),%rsi
add    $0x1,%rbp
mov    %rax,(%rsp)
jmp    11b6 <main+0x46>
mov    (%rbx),%rsi
lea    0xd8b(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
jmp    133b <main+0x1cb>
movabs $0x692d20636e652f2e,%rax
20 2d 69
mov    %rax,0x10(%rsp)
movw   $0x20,0x18(%rsp)
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
mov    %r12,%rsi
call   1090 <strcat@plt>
mov    %rbx,%rdi
call   1040 <strlen@plt>
movups 0xdb4(%rip),%xmm0
movups %xmm0,0x10(%rsp,%rax,1)
movl   $0x20702d,0x1f(%rsp,%rax,1)
mov    %rbx,%rdi
mov    (%rsp),%rsi
call   1090 <strcat@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <system@plt>
movabs $0x632d20626d652f2e,%rax
20 2d 63
mov    %rax,0x10(%rsp)
movw   $0x20,0x18(%rsp)
mov    %rbx,%rdi
mov    %r15,%rsi
call   1090 <strcat@plt>
mov    %rbx,%rdi
call   1040 <strlen@plt>
movups 0xd7e(%rip),%xmm0
movups %xmm0,0x10(%rsp,%rax,1)
movl   $0x20732d,0x1f(%rsp,%rax,1)
mov    %rbx,%rdi
mov    0x8(%rsp),%rsi
call   1090 <strcat@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <system@plt>
lea    0xd66(%rip),%rdi
xor    %eax,%eax
call   1050 <system@plt>
xor    %eax,%eax
add    $0x118,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [84 x i8] c"usage: %s -c <coverfile (.ppm)> -m <message filename> -s <stegofile> -p <password>\0A\00"
@.str.1 = [3 x i8] c"-c\00"
@.str.2 = [3 x i8] c"-m\00"
@.str.3 = [3 x i8] c"-s\00"
@.str.4 = [3 x i8] c"-p\00"
@.str.5 = [10 x i8] c"./enc -i \00"
@.str.6 = [19 x i8] c" -o crypto.txt -p \00"
@.str.7 = [10 x i8] c"./emb -c \00"
@.str.8 = [19 x i8] c" -m crypto.txt -s \00"
@.str.9 = [14 x i8] c"rm crypto.txt\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 i8*
%10 = alloca i32
%11 = alloca [256 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%12 = load i32, i32* %4
%13 = icmp ne i32 %12, 9
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load i8**, i8*** %5
%16 = getelementptr inbounds i8*, i8** %15, i64 0
%17 = load i8*, i8** %16
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str, i64 0, i64 0), i8* %17)
store i32 0, i32* %3
br label %129
19: ; preds = %2
store i32 0, i32* %10
br label %20
20: ; preds = %100, %19
%21 = load i32, i32* %10
%22 = load i32, i32* %4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %103
24: ; preds = %20
%25 = load i8**, i8*** %5
%26 = load i32, i32* %10
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8*, i8** %25, i64 %27
%29 = load i8*, i8** %28
%30 = call i32 @strcmp(i8* %29, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%31 = icmp ne i32 %30, 0
br i1 %31, label %42, label %32
32: ; preds = %24
%33 = call i8* @malloc(i64 9)
store i8* %33, i8** %6
%34 = load i8*, i8** %6
%35 = load i8**, i8*** %5
%36 = load i32, i32* %10
%37 = add nsw i32 %36, 1
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8*, i8** %35, i64 %38
%40 = load i8*, i8** %39
%41 = call i8* @strcpy(i8* %34, i8* %40)
br label %99
42: ; preds = %24
%43 = load i8**, i8*** %5
%44 = load i32, i32* %10
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8*, i8** %43, i64 %45
%47 = load i8*, i8** %46
%48 = call i32 @strcmp(i8* %47, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%49 = icmp ne i32 %48, 0
br i1 %49, label %60, label %50
50: ; preds = %42
%51 = call i8* @malloc(i64 9)
store i8* %51, i8** %7
%52 = load i8*, i8** %7
%53 = load i8**, i8*** %5
%54 = load i32, i32* %10
%55 = add nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8*, i8** %53, i64 %56
%58 = load i8*, i8** %57
%59 = call i8* @strcpy(i8* %52, i8* %58)
br label %98
60: ; preds = %42
%61 = load i8**, i8*** %5
%62 = load i32, i32* %10
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8*, i8** %61, i64 %63
%65 = load i8*, i8** %64
%66 = call i32 @strcmp(i8* %65, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%67 = icmp ne i32 %66, 0
br i1 %67, label %78, label %68
68: ; preds = %60
%69 = call i8* @malloc(i64 9)
store i8* %69, i8** %8
%70 = load i8*, i8** %8
%71 = load i8**, i8*** %5
%72 = load i32, i32* %10
%73 = add nsw i32 %72, 1
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8*, i8** %71, i64 %74
%76 = load i8*, i8** %75
%77 = call i8* @strcpy(i8* %70, i8* %76)
br label %97
78: ; preds = %60
%79 = load i8**, i8*** %5
%80 = load i32, i32* %10
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8*, i8** %79, i64 %81
%83 = load i8*, i8** %82
%84 = call i32 @strcmp(i8* %83, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%85 = icmp ne i32 %84, 0
br i1 %85, label %96, label %86
86: ; preds = %78
%87 = call i8* @malloc(i64 9)
store i8* %87, i8** %9
%88 = load i8*, i8** %9
%89 = load i8**, i8*** %5
%90 = load i32, i32* %10
%91 = add nsw i32 %90, 1
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8*, i8** %89, i64 %92
%94 = load i8*, i8** %93
%95 = call i8* @strcpy(i8* %88, i8* %94)
br label %96
96: ; preds = %86, %78
br label %97
97: ; preds = %96, %68
br label %98
98: ; preds = %97, %50
br label %99
99: ; preds = %98, %32
br label %100
100: ; preds = %99
%101 = load i32, i32* %10
%102 = add nsw i32 %101, 1
store i32 %102, i32* %10
br label %20
103: ; preds = %20
%104 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%105 = call i8* @strcpy(i8* %104, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%106 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%107 = load i8*, i8** %7
%108 = call i8* @strcat(i8* %106, i8* %107)
%109 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%110 = call i8* @strcat(i8* %109, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0))
%111 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%112 = load i8*, i8** %9
%113 = call i8* @strcat(i8* %111, i8* %112)
%114 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%115 = call i32 (i8*, ...) bitcast (i32 (...)* @system to i32 (i8*, ...)*)(i8* %114)
%116 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%117 = call i8* @strcpy(i8* %116, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0))
%118 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%119 = load i8*, i8** %6
%120 = call i8* @strcat(i8* %118, i8* %119)
%121 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%122 = call i8* @strcat(i8* %121, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0))
%123 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%124 = load i8*, i8** %8
%125 = call i8* @strcat(i8* %123, i8* %124)
%126 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%127 = call i32 (i8*, ...) bitcast (i32 (...)* @system to i32 (i8*, ...)*)(i8* %126)
%128 = call i32 (i8*, ...) bitcast (i32 (...)* @system to i32 (i8*, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0))
store i32 0, i32* %3
br label %129
129: ; preds = %103, %14
%130 = load i32, i32* %3
ret i32 %130
}

LLVM IR (-O2):
@.str = [84 x i8] c"usage: %s -c <coverfile (.ppm)> -m <message filename> -s <stegofile> -p <password>\0A\00"
@.str.1 = [3 x i8] c"-c\00"
@.str.2 = [3 x i8] c"-m\00"
@.str.3 = [3 x i8] c"-s\00"
@.str.4 = [3 x i8] c"-p\00"
@.str.5 = [10 x i8] c"./enc -i \00"
@.str.6 = [19 x i8] c" -o crypto.txt -p \00"
@.str.7 = [10 x i8] c"./emb -c \00"
@.str.8 = [19 x i8] c" -m crypto.txt -s \00"
@.str.9 = [14 x i8] c"rm crypto.txt\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [256 x i8]
%4 = icmp eq i32 %0, 9
br i1 %4, label %21, label %5
5: ; preds = %2
%6 = load i8*, i8** %1
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([84 x i8], [84 x i8]* @.str, i64 0, i64 0), i8* %6)
br label %73
8: ; preds = %66
%9 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%10 = call i8* @strcat(i8* %9, i8* dereferenceable(1) %69)
%11 = call i64 @strlen(i8* %9)
%12 = getelementptr [256 x i8], [256 x i8]* %3, i64 0, i64 %11
%13 = call i8* @strcat(i8* %9, i8* dereferenceable(1) %71)
%14 = call i32 (i8*, ...) bitcast (i32 (...)* @system to i32 (i8*, ...)*)(i8* %9)
%15 = call i8* @strcat(i8* %9, i8* dereferenceable(1) %68)
%16 = call i64 @strlen(i8* %9)
%17 = getelementptr [256 x i8], [256 x i8]* %3, i64 0, i64 %16
%18 = call i8* @strcat(i8* %9, i8* dereferenceable(1) %70)
%19 = call i32 (i8*, ...) bitcast (i32 (...)* @system to i32 (i8*, ...)*)(i8* %9)
%20 = call i32 (i8*, ...) bitcast (i32 (...)* @system to i32 (i8*, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0))
br label %73
21: ; preds = %2, %66
%22 = phi i64 [ %67, %66 ], [ 0, %2 ]
%23 = phi i8* [ %71, %66 ], [ undef, %2 ]
%24 = phi i8* [ %70, %66 ], [ undef, %2 ]
%25 = phi i8* [ %69, %66 ], [ undef, %2 ]
%26 = phi i8* [ %68, %66 ], [ undef, %2 ]
%27 = getelementptr inbounds i8*, i8** %1, i64 %22
%28 = load i8*, i8** %27
%29 = tail call i32 @strcmp(i8* dereferenceable(1) %28, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %37
31: ; preds = %21
%32 = tail call dereferenceable_or_null(9) i8* @malloc(i64 9)
%33 = add nuw nsw i64 %22, 1
%34 = getelementptr inbounds i8*, i8** %1, i64 %33
%35 = load i8*, i8** %34
%36 = tail call i8* @strcpy(i8* dereferenceable(1) %32, i8* dereferenceable(1) %35)
br label %66
37: ; preds = %21
%38 = tail call i32 @strcmp(i8* dereferenceable(1) %28, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %46
40: ; preds = %37
%41 = tail call dereferenceable_or_null(9) i8* @malloc(i64 9)
%42 = add nuw nsw i64 %22, 1
%43 = getelementptr inbounds i8*, i8** %1, i64 %42
%44 = load i8*, i8** %43
%45 = tail call i8* @strcpy(i8* dereferenceable(1) %41, i8* dereferenceable(1) %44)
br label %66
46: ; preds = %37
%47 = tail call i32 @strcmp(i8* dereferenceable(1) %28, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %55
49: ; preds = %46
%50 = tail call dereferenceable_or_null(9) i8* @malloc(i64 9)
%51 = add nuw nsw i64 %22, 1
%52 = getelementptr inbounds i8*, i8** %1, i64 %51
%53 = load i8*, i8** %52
%54 = tail call i8* @strcpy(i8* dereferenceable(1) %50, i8* dereferenceable(1) %53)
br label %66
55: ; preds = %46
%56 = tail call i32 @strcmp(i8* dereferenceable(1) %28, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%57 = icmp eq i32 %56, 0
br i1 %57, label %60, label %58
58: ; preds = %55
%59 = add nuw nsw i64 %22, 1
br label %66
60: ; preds = %55
%61 = tail call dereferenceable_or_null(9) i8* @malloc(i64 9)
%62 = add nuw nsw i64 %22, 1
%63 = getelementptr inbounds i8*, i8** %1, i64 %62
%64 = load i8*, i8** %63
%65 = tail call i8* @strcpy(i8* dereferenceable(1) %61, i8* dereferenceable(1) %64)
br label %66
66: ; preds = %58, %31, %49, %60, %40
%67 = phi i64 [ %59, %58 ], [ %33, %31 ], [ %51, %49 ], [ %62, %60 ], [ %42, %40 ]
%68 = phi i8* [ %26, %58 ], [ %32, %31 ], [ %26, %49 ], [ %26, %60 ], [ %26, %40 ]
%69 = phi i8* [ %25, %58 ], [ %25, %31 ], [ %25, %49 ], [ %25, %60 ], [ %41, %40 ]
%70 = phi i8* [ %24, %58 ], [ %24, %31 ], [ %50, %49 ], [ %24, %60 ], [ %24, %40 ]
%71 = phi i8* [ %23, %58 ], [ %23, %31 ], [ %23, %49 ], [ %61, %60 ], [ %23, %40 ]
%72 = icmp eq i64 %67, 9
br i1 %72, label %8, label %21
73: ; preds = %8, %5
ret i32 0
}