#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*/ printf(char *, ...);
int /*<<< orphan*/ strcpy(char *, char *);
int system(char *);
int main() {
  char cmd[256];
  int r;
  strcpy(cmd, "./enc -i tst/msg0.txt -o tst/msg0.crypto -p fish");
  printf("%s\n", cmd);
  system(cmd);
  strcpy(cmd, "./dec -i tst/msg0.crypto -o tst/msg0.plain -p fish");
  printf("%s\n", cmd);
  system(cmd);
  r = system("diff tst/msg0.txt tst/msg0.plain");
  (!r) ? printf("pass\n\n") : printf("fail\n\n");
  strcpy(cmd, "./enc -i tst/msg1.txt -o tst/msg1.crypto -p fish");
  printf("%s\n", cmd);
  system(cmd);
  strcpy(cmd, "./dec -i tst/msg1.crypto -o tst/msg1.plain -p fish");
  printf("%s\n", cmd);
  system(cmd);
  r = system("diff tst/msg1.txt tst/msg1.plain");
  (!r) ? printf("pass\n\n") : printf("fail\n\n");
  strcpy(cmd, "./enc -i tst/msg2.txt -o tst/msg2.crypto -p fish");
  printf("%s\n", cmd);
  system(cmd);
  strcpy(cmd, "./dec -i tst/msg2.crypto -o tst/msg2.plain -p fish");
  printf("%s\n", cmd);
  system(cmd);
  r = system("diff tst/msg2.txt tst/msg2.plain");
  (!r) ? printf("pass\n\n") : printf("fail\n\n");
  strcpy(cmd, "./emb -c covers/logo.ppm -m tst/msg0.txt -s tst/msg0.ppm");
  printf("%s\n", cmd);
  system(cmd);
  strcpy(cmd, "./ext -s tst/msg0.ppm -m tst/msg0.plain2");
  printf("%s\n", cmd);
  system(cmd);
  r = system("diff tst/msg0.txt tst/msg0.plain2");
  (!r) ? printf("pass\n\n") : printf("fail\n\n");
  strcpy(cmd, "./emb -c covers/logo.ppm -m tst/msg1.txt -s tst/msg1.ppm");
  printf("%s\n", cmd);
  system(cmd);
  strcpy(cmd, "./ext -s tst/msg1.ppm -m tst/msg1.plain2");
  printf("%s\n", cmd);
  system(cmd);
  r = system("diff tst/msg1.txt tst/msg1.plain2");
  (!r) ? printf("pass\n\n") : printf("fail\n\n");
  strcpy(cmd, "./emb -c covers/logo.ppm -m tst/msg2.txt -s tst/msg2.ppm");
  printf("%s\n", cmd);
  system(cmd);
  strcpy(cmd, "./ext -s tst/msg2.ppm -m tst/msg2.plain2");
  printf("%s\n", cmd);
  system(cmd);
  r = system("diff tst/msg2.txt tst/msg2.plain2");
  (!r) ? printf("pass\n\n") : printf("fail\n\n");
  strcpy(cmd,
         "./encemb -c covers/logo.ppm -m tst/msg0.txt -s tst/msg0.ppm -p fish");
  printf("%s\n", cmd);
  system(cmd);
  strcpy(cmd, "./extdec -s tst/msg0.ppm -m tst/msg0.plain3 -p fish");
  printf("%s\n", cmd);
  system(cmd);
  r = system("diff tst/msg0.txt tst/msg0.plain3");
  (!r) ? printf("pass\n\n") : printf("fail\n\n");
  strcpy(cmd,
         "./encemb -c covers/logo.ppm -m tst/msg1.txt -s tst/msg1.ppm -p fish");
  printf("%s\n", cmd);
  system(cmd);
  strcpy(cmd, "./extdec -s tst/msg1.ppm -m tst/msg1.plain3 -p fish");
  printf("%s\n", cmd);
  system(cmd);
  r = system("diff tst/msg1.txt tst/msg1.plain3");
  (!r) ? printf("pass\n\n") : printf("fail\n\n");
  strcpy(cmd,
         "./encemb -c covers/logo.ppm -m tst/msg2.txt -s tst/msg2.ppm -p fish");
  printf("%s\n", cmd);
  system(cmd);
  strcpy(cmd, "./extdec -s tst/msg2.ppm -m tst/msg2.plain3 -p fish");
  printf("%s\n", cmd);
  system(cmd);
  r = system("diff tst/msg2.txt tst/msg2.plain3");
  (!r) ? printf("pass\n\n") : printf("fail\n\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x120,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x110(%rbp),%rdi
lea    0xeb0(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0xece(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    -0x110(%rbp),%rdi
lea    0xeb1(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0xe9a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    0xeb7(%rip),%rdi
call   1040 <system@plt>
mov    %eax,-0x114(%rbp)
cmpl   $0x0,-0x114(%rbp)
jne    11dc <main+0xac>
lea    0xeb9(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    11ea <main+0xba>
lea    0xead(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
lea    0xe9f(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0xe26(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    -0x110(%rbp),%rdi
lea    0xe9c(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0xdf2(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    0xea2(%rip),%rdi
call   1040 <system@plt>
mov    %eax,-0x114(%rbp)
cmpl   $0x0,-0x114(%rbp)
jne    1284 <main+0x154>
lea    0xe11(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1292 <main+0x162>
lea    0xe05(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
lea    0xe7c(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0xd7e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    -0x110(%rbp),%rdi
lea    0xe79(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0xd4a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    0xe7f(%rip),%rdi
call   1040 <system@plt>
mov    %eax,-0x114(%rbp)
cmpl   $0x0,-0x114(%rbp)
jne    132c <main+0x1fc>
lea    0xd69(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    133a <main+0x20a>
lea    0xd5d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
lea    0xe59(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0xcd6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    -0x110(%rbp),%rdi
lea    0xe5e(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0xca2(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    0xe5a(%rip),%rdi
call   1040 <system@plt>
mov    %eax,-0x114(%rbp)
cmpl   $0x0,-0x114(%rbp)
jne    13d4 <main+0x2a4>
lea    0xcc1(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13e2 <main+0x2b2>
lea    0xcb5(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
lea    0xe35(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0xc2e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    -0x110(%rbp),%rdi
lea    0xe3a(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0xbfa(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    0xe36(%rip),%rdi
call   1040 <system@plt>
mov    %eax,-0x114(%rbp)
cmpl   $0x0,-0x114(%rbp)
jne    147c <main+0x34c>
lea    0xc19(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    148a <main+0x35a>
lea    0xc0d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
lea    0xe11(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0xb86(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    -0x110(%rbp),%rdi
lea    0xe16(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0xb52(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    0xe12(%rip),%rdi
call   1040 <system@plt>
mov    %eax,-0x114(%rbp)
cmpl   $0x0,-0x114(%rbp)
jne    1524 <main+0x3f4>
lea    0xb71(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1532 <main+0x402>
lea    0xb65(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
lea    0xded(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0xade(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    -0x110(%rbp),%rdi
lea    0xdfd(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0xaaa(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    0xe04(%rip),%rdi
call   1040 <system@plt>
mov    %eax,-0x114(%rbp)
cmpl   $0x0,-0x114(%rbp)
jne    15cc <main+0x49c>
lea    0xac9(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    15da <main+0x4aa>
lea    0xabd(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
lea    0xddf(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0xa36(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    -0x110(%rbp),%rdi
lea    0xdef(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0xa02(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    0xdf6(%rip),%rdi
call   1040 <system@plt>
mov    %eax,-0x114(%rbp)
cmpl   $0x0,-0x114(%rbp)
jne    1674 <main+0x544>
lea    0xa21(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1682 <main+0x552>
lea    0xa15(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
lea    0xdd1(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0x98e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    -0x110(%rbp),%rdi
lea    0xde1(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rsi
lea    0x95a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    0xde8(%rip),%rdi
call   1040 <system@plt>
mov    %eax,-0x114(%rbp)
cmpl   $0x0,-0x114(%rbp)
jne    171c <main+0x5ec>
lea    0x979(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    172a <main+0x5fa>
lea    0x96d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x120,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x100,%rsp
lea    0xebd(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0xecc(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0xee0(%rip),%rdi
call   1050 <system@plt>
test   %eax,%eax
lea    0x1357(%rip),%r15
lea    0x1356(%rip),%r14
mov    %r14,%rdi
cmove  %r15,%rdi
call   1040 <puts@plt>
lea    0xed9(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0xeeb(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0xeff(%rip),%rdi
call   1050 <system@plt>
test   %eax,%eax
mov    %r14,%rdi
cmove  %r15,%rdi
call   1040 <puts@plt>
lea    0xf06(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0xf18(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0xf2c(%rip),%rdi
call   1050 <system@plt>
test   %eax,%eax
mov    %r14,%rdi
cmove  %r15,%rdi
call   1040 <puts@plt>
lea    0xf33(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0xf4d(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0xf57(%rip),%rdi
call   1050 <system@plt>
test   %eax,%eax
mov    %r14,%rdi
cmove  %r15,%rdi
call   1040 <puts@plt>
lea    0xf5f(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0xf79(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0xf83(%rip),%rdi
call   1050 <system@plt>
test   %eax,%eax
mov    %r14,%rdi
cmove  %r15,%rdi
call   1040 <puts@plt>
lea    0xf8b(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0xfa5(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0xfaf(%rip),%rdi
call   1050 <system@plt>
test   %eax,%eax
mov    %r14,%rdi
cmove  %r15,%rdi
call   1040 <puts@plt>
lea    0xfb7(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0xfdc(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0xff1(%rip),%rdi
call   1050 <system@plt>
test   %eax,%eax
mov    %r14,%rdi
cmove  %r15,%rdi
call   1040 <puts@plt>
lea    0xff9(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0x101e(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0x1033(%rip),%rdi
call   1050 <system@plt>
test   %eax,%eax
mov    %r14,%rdi
cmove  %r15,%rdi
call   1040 <puts@plt>
lea    0x103b(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0x1060(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <system@plt>
lea    0x1075(%rip),%rdi
call   1050 <system@plt>
test   %eax,%eax
cmove  %r15,%r14
mov    %r14,%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x100,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [49 x i8] c"./enc -i tst/msg0.txt -o tst/msg0.crypto -p fish\00"
@.str.1 = [4 x i8] c"%s\0A\00"
@.str.2 = [51 x i8] c"./dec -i tst/msg0.crypto -o tst/msg0.plain -p fish\00"
@.str.3 = [33 x i8] c"diff tst/msg0.txt tst/msg0.plain\00"
@.str.4 = [7 x i8] c"pass\0A\0A\00"
@.str.5 = [7 x i8] c"fail\0A\0A\00"
@.str.6 = [49 x i8] c"./enc -i tst/msg1.txt -o tst/msg1.crypto -p fish\00"
@.str.7 = [51 x i8] c"./dec -i tst/msg1.crypto -o tst/msg1.plain -p fish\00"
@.str.8 = [33 x i8] c"diff tst/msg1.txt tst/msg1.plain\00"
@.str.9 = [49 x i8] c"./enc -i tst/msg2.txt -o tst/msg2.crypto -p fish\00"
@.str.10 = [51 x i8] c"./dec -i tst/msg2.crypto -o tst/msg2.plain -p fish\00"
@.str.11 = [33 x i8] c"diff tst/msg2.txt tst/msg2.plain\00"
@.str.12 = [57 x i8] c"./emb -c covers/logo.ppm -m tst/msg0.txt -s tst/msg0.ppm\00"
@.str.13 = [41 x i8] c"./ext -s tst/msg0.ppm -m tst/msg0.plain2\00"
@.str.14 = [34 x i8] c"diff tst/msg0.txt tst/msg0.plain2\00"
@.str.15 = [57 x i8] c"./emb -c covers/logo.ppm -m tst/msg1.txt -s tst/msg1.ppm\00"
@.str.16 = [41 x i8] c"./ext -s tst/msg1.ppm -m tst/msg1.plain2\00"
@.str.17 = [34 x i8] c"diff tst/msg1.txt tst/msg1.plain2\00"
@.str.18 = [57 x i8] c"./emb -c covers/logo.ppm -m tst/msg2.txt -s tst/msg2.ppm\00"
@.str.19 = [41 x i8] c"./ext -s tst/msg2.ppm -m tst/msg2.plain2\00"
@.str.20 = [34 x i8] c"diff tst/msg2.txt tst/msg2.plain2\00"
@.str.21 = [68 x i8] c"./encemb -c covers/logo.ppm -m tst/msg0.txt -s tst/msg0.ppm -p fish\00"
@.str.22 = [52 x i8] c"./extdec -s tst/msg0.ppm -m tst/msg0.plain3 -p fish\00"
@.str.23 = [34 x i8] c"diff tst/msg0.txt tst/msg0.plain3\00"
@.str.24 = [68 x i8] c"./encemb -c covers/logo.ppm -m tst/msg1.txt -s tst/msg1.ppm -p fish\00"
@.str.25 = [52 x i8] c"./extdec -s tst/msg1.ppm -m tst/msg1.plain3 -p fish\00"
@.str.26 = [34 x i8] c"diff tst/msg1.txt tst/msg1.plain3\00"
@.str.27 = [68 x i8] c"./encemb -c covers/logo.ppm -m tst/msg2.txt -s tst/msg2.ppm -p fish\00"
@.str.28 = [52 x i8] c"./extdec -s tst/msg2.ppm -m tst/msg2.plain3 -p fish\00"
@.str.29 = [34 x i8] c"diff tst/msg2.txt tst/msg2.plain3\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [256 x i8]
%3 = alloca i32
store i32 0, i32* %1
%4 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%5 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str, i64 0, i64 0))
%6 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %6)
%8 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%9 = call i32 @system(i8* %8)
%10 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%11 = call i32 @strcpy(i8* %10, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.2, i64 0, i64 0))
%12 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %12)
%14 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%15 = call i32 @system(i8* %14)
%16 = call i32 @system(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0))
store i32 %16, i32* %3
%17 = load i32, i32* %3
%18 = icmp ne i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %0
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
br label %23
21: ; preds = %0
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br label %23
23: ; preds = %21, %19
%24 = phi i32 [ %20, %19 ], [ %22, %21 ]
%25 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%26 = call i32 @strcpy(i8* %25, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.6, i64 0, i64 0))
%27 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %27)
%29 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%30 = call i32 @system(i8* %29)
%31 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%32 = call i32 @strcpy(i8* %31, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.7, i64 0, i64 0))
%33 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %33)
%35 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%36 = call i32 @system(i8* %35)
%37 = call i32 @system(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.8, i64 0, i64 0))
store i32 %37, i32* %3
%38 = load i32, i32* %3
%39 = icmp ne i32 %38, 0
br i1 %39, label %42, label %40
40: ; preds = %23
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
br label %44
42: ; preds = %23
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br label %44
44: ; preds = %42, %40
%45 = phi i32 [ %41, %40 ], [ %43, %42 ]
%46 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%47 = call i32 @strcpy(i8* %46, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.9, i64 0, i64 0))
%48 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %48)
%50 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%51 = call i32 @system(i8* %50)
%52 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%53 = call i32 @strcpy(i8* %52, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.10, i64 0, i64 0))
%54 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %54)
%56 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%57 = call i32 @system(i8* %56)
%58 = call i32 @system(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.11, i64 0, i64 0))
store i32 %58, i32* %3
%59 = load i32, i32* %3
%60 = icmp ne i32 %59, 0
br i1 %60, label %63, label %61
61: ; preds = %44
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
br label %65
63: ; preds = %44
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br label %65
65: ; preds = %63, %61
%66 = phi i32 [ %62, %61 ], [ %64, %63 ]
%67 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%68 = call i32 @strcpy(i8* %67, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.12, i64 0, i64 0))
%69 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %69)
%71 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%72 = call i32 @system(i8* %71)
%73 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%74 = call i32 @strcpy(i8* %73, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.13, i64 0, i64 0))
%75 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %75)
%77 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%78 = call i32 @system(i8* %77)
%79 = call i32 @system(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.14, i64 0, i64 0))
store i32 %79, i32* %3
%80 = load i32, i32* %3
%81 = icmp ne i32 %80, 0
br i1 %81, label %84, label %82
82: ; preds = %65
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
br label %86
84: ; preds = %65
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br label %86
86: ; preds = %84, %82
%87 = phi i32 [ %83, %82 ], [ %85, %84 ]
%88 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%89 = call i32 @strcpy(i8* %88, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.15, i64 0, i64 0))
%90 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%91 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %90)
%92 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%93 = call i32 @system(i8* %92)
%94 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%95 = call i32 @strcpy(i8* %94, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.16, i64 0, i64 0))
%96 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %96)
%98 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%99 = call i32 @system(i8* %98)
%100 = call i32 @system(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.17, i64 0, i64 0))
store i32 %100, i32* %3
%101 = load i32, i32* %3
%102 = icmp ne i32 %101, 0
br i1 %102, label %105, label %103
103: ; preds = %86
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
br label %107
105: ; preds = %86
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br label %107
107: ; preds = %105, %103
%108 = phi i32 [ %104, %103 ], [ %106, %105 ]
%109 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%110 = call i32 @strcpy(i8* %109, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.18, i64 0, i64 0))
%111 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %111)
%113 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%114 = call i32 @system(i8* %113)
%115 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%116 = call i32 @strcpy(i8* %115, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.19, i64 0, i64 0))
%117 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%118 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %117)
%119 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%120 = call i32 @system(i8* %119)
%121 = call i32 @system(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.20, i64 0, i64 0))
store i32 %121, i32* %3
%122 = load i32, i32* %3
%123 = icmp ne i32 %122, 0
br i1 %123, label %126, label %124
124: ; preds = %107
%125 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
br label %128
126: ; preds = %107
%127 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br label %128
128: ; preds = %126, %124
%129 = phi i32 [ %125, %124 ], [ %127, %126 ]
%130 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%131 = call i32 @strcpy(i8* %130, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.21, i64 0, i64 0))
%132 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%133 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %132)
%134 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%135 = call i32 @system(i8* %134)
%136 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%137 = call i32 @strcpy(i8* %136, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i64 0, i64 0))
%138 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%139 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %138)
%140 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%141 = call i32 @system(i8* %140)
%142 = call i32 @system(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.23, i64 0, i64 0))
store i32 %142, i32* %3
%143 = load i32, i32* %3
%144 = icmp ne i32 %143, 0
br i1 %144, label %147, label %145
145: ; preds = %128
%146 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
br label %149
147: ; preds = %128
%148 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br label %149
149: ; preds = %147, %145
%150 = phi i32 [ %146, %145 ], [ %148, %147 ]
%151 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%152 = call i32 @strcpy(i8* %151, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.24, i64 0, i64 0))
%153 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%154 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %153)
%155 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%156 = call i32 @system(i8* %155)
%157 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%158 = call i32 @strcpy(i8* %157, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.25, i64 0, i64 0))
%159 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%160 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %159)
%161 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%162 = call i32 @system(i8* %161)
%163 = call i32 @system(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.26, i64 0, i64 0))
store i32 %163, i32* %3
%164 = load i32, i32* %3
%165 = icmp ne i32 %164, 0
br i1 %165, label %168, label %166
166: ; preds = %149
%167 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
br label %170
168: ; preds = %149
%169 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br label %170
170: ; preds = %168, %166
%171 = phi i32 [ %167, %166 ], [ %169, %168 ]
%172 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%173 = call i32 @strcpy(i8* %172, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.27, i64 0, i64 0))
%174 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%175 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %174)
%176 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%177 = call i32 @system(i8* %176)
%178 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%179 = call i32 @strcpy(i8* %178, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.28, i64 0, i64 0))
%180 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%181 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %180)
%182 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%183 = call i32 @system(i8* %182)
%184 = call i32 @system(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.29, i64 0, i64 0))
store i32 %184, i32* %3
%185 = load i32, i32* %3
%186 = icmp ne i32 %185, 0
br i1 %186, label %189, label %187
187: ; preds = %170
%188 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
br label %191
189: ; preds = %170
%190 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br label %191
191: ; preds = %189, %187
%192 = phi i32 [ %188, %187 ], [ %190, %189 ]
ret i32 0
}

LLVM IR (-O2):
@.str = [49 x i8] c"./enc -i tst/msg0.txt -o tst/msg0.crypto -p fish\00"
@.str.2 = [51 x i8] c"./dec -i tst/msg0.crypto -o tst/msg0.plain -p fish\00"
@.str.3 = [33 x i8] c"diff tst/msg0.txt tst/msg0.plain\00"
@.str.6 = [49 x i8] c"./enc -i tst/msg1.txt -o tst/msg1.crypto -p fish\00"
@.str.7 = [51 x i8] c"./dec -i tst/msg1.crypto -o tst/msg1.plain -p fish\00"
@.str.8 = [33 x i8] c"diff tst/msg1.txt tst/msg1.plain\00"
@.str.9 = [49 x i8] c"./enc -i tst/msg2.txt -o tst/msg2.crypto -p fish\00"
@.str.10 = [51 x i8] c"./dec -i tst/msg2.crypto -o tst/msg2.plain -p fish\00"
@.str.11 = [33 x i8] c"diff tst/msg2.txt tst/msg2.plain\00"
@.str.12 = [57 x i8] c"./emb -c covers/logo.ppm -m tst/msg0.txt -s tst/msg0.ppm\00"
@.str.13 = [41 x i8] c"./ext -s tst/msg0.ppm -m tst/msg0.plain2\00"
@.str.14 = [34 x i8] c"diff tst/msg0.txt tst/msg0.plain2\00"
@.str.15 = [57 x i8] c"./emb -c covers/logo.ppm -m tst/msg1.txt -s tst/msg1.ppm\00"
@.str.16 = [41 x i8] c"./ext -s tst/msg1.ppm -m tst/msg1.plain2\00"
@.str.17 = [34 x i8] c"diff tst/msg1.txt tst/msg1.plain2\00"
@.str.18 = [57 x i8] c"./emb -c covers/logo.ppm -m tst/msg2.txt -s tst/msg2.ppm\00"
@.str.19 = [41 x i8] c"./ext -s tst/msg2.ppm -m tst/msg2.plain2\00"
@.str.20 = [34 x i8] c"diff tst/msg2.txt tst/msg2.plain2\00"
@.str.21 = [68 x i8] c"./encemb -c covers/logo.ppm -m tst/msg0.txt -s tst/msg0.ppm -p fish\00"
@.str.22 = [52 x i8] c"./extdec -s tst/msg0.ppm -m tst/msg0.plain3 -p fish\00"
@.str.23 = [34 x i8] c"diff tst/msg0.txt tst/msg0.plain3\00"
@.str.24 = [68 x i8] c"./encemb -c covers/logo.ppm -m tst/msg1.txt -s tst/msg1.ppm -p fish\00"
@.str.25 = [52 x i8] c"./extdec -s tst/msg1.ppm -m tst/msg1.plain3 -p fish\00"
@.str.26 = [34 x i8] c"diff tst/msg1.txt tst/msg1.plain3\00"
@.str.27 = [68 x i8] c"./encemb -c covers/logo.ppm -m tst/msg2.txt -s tst/msg2.ppm -p fish\00"
@.str.28 = [52 x i8] c"./extdec -s tst/msg2.ppm -m tst/msg2.plain3 -p fish\00"
@.str.29 = [34 x i8] c"diff tst/msg2.txt tst/msg2.plain3\00"
@str.37 = [6 x i8] c"pass\0A\00"
@str.46 = [6 x i8] c"fail\0A\00"
define i32 @main() {
%1 = alloca [256 x i8]
%2 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%3 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str, i64 0, i64 0))
%4 = call i32 @puts(i8* %2)
%5 = call i32 @system(i8* %2)
%6 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 @puts(i8* %2)
%8 = call i32 @system(i8* %2)
%9 = call i32 @system(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0))
%10 = icmp eq i32 %9, 0
%11 = select i1 %10, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.37, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.46, i64 0, i64 0)
%12 = call i32 @puts(i8* dereferenceable(1) %11)
%13 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.6, i64 0, i64 0))
%14 = call i32 @puts(i8* %2)
%15 = call i32 @system(i8* %2)
%16 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.7, i64 0, i64 0))
%17 = call i32 @puts(i8* %2)
%18 = call i32 @system(i8* %2)
%19 = call i32 @system(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.8, i64 0, i64 0))
%20 = icmp eq i32 %19, 0
%21 = select i1 %20, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.37, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.46, i64 0, i64 0)
%22 = call i32 @puts(i8* dereferenceable(1) %21)
%23 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.9, i64 0, i64 0))
%24 = call i32 @puts(i8* %2)
%25 = call i32 @system(i8* %2)
%26 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.10, i64 0, i64 0))
%27 = call i32 @puts(i8* %2)
%28 = call i32 @system(i8* %2)
%29 = call i32 @system(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.11, i64 0, i64 0))
%30 = icmp eq i32 %29, 0
%31 = select i1 %30, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.37, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.46, i64 0, i64 0)
%32 = call i32 @puts(i8* dereferenceable(1) %31)
%33 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.12, i64 0, i64 0))
%34 = call i32 @puts(i8* %2)
%35 = call i32 @system(i8* %2)
%36 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.13, i64 0, i64 0))
%37 = call i32 @puts(i8* %2)
%38 = call i32 @system(i8* %2)
%39 = call i32 @system(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.14, i64 0, i64 0))
%40 = icmp eq i32 %39, 0
%41 = select i1 %40, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.37, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.46, i64 0, i64 0)
%42 = call i32 @puts(i8* dereferenceable(1) %41)
%43 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.15, i64 0, i64 0))
%44 = call i32 @puts(i8* %2)
%45 = call i32 @system(i8* %2)
%46 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.16, i64 0, i64 0))
%47 = call i32 @puts(i8* %2)
%48 = call i32 @system(i8* %2)
%49 = call i32 @system(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.17, i64 0, i64 0))
%50 = icmp eq i32 %49, 0
%51 = select i1 %50, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.37, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.46, i64 0, i64 0)
%52 = call i32 @puts(i8* dereferenceable(1) %51)
%53 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.18, i64 0, i64 0))
%54 = call i32 @puts(i8* %2)
%55 = call i32 @system(i8* %2)
%56 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.19, i64 0, i64 0))
%57 = call i32 @puts(i8* %2)
%58 = call i32 @system(i8* %2)
%59 = call i32 @system(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.20, i64 0, i64 0))
%60 = icmp eq i32 %59, 0
%61 = select i1 %60, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.37, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.46, i64 0, i64 0)
%62 = call i32 @puts(i8* dereferenceable(1) %61)
%63 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.21, i64 0, i64 0))
%64 = call i32 @puts(i8* %2)
%65 = call i32 @system(i8* %2)
%66 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i64 0, i64 0))
%67 = call i32 @puts(i8* %2)
%68 = call i32 @system(i8* %2)
%69 = call i32 @system(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.23, i64 0, i64 0))
%70 = icmp eq i32 %69, 0
%71 = select i1 %70, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.37, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.46, i64 0, i64 0)
%72 = call i32 @puts(i8* dereferenceable(1) %71)
%73 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.24, i64 0, i64 0))
%74 = call i32 @puts(i8* %2)
%75 = call i32 @system(i8* %2)
%76 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.25, i64 0, i64 0))
%77 = call i32 @puts(i8* %2)
%78 = call i32 @system(i8* %2)
%79 = call i32 @system(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.26, i64 0, i64 0))
%80 = icmp eq i32 %79, 0
%81 = select i1 %80, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.37, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.46, i64 0, i64 0)
%82 = call i32 @puts(i8* dereferenceable(1) %81)
%83 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.27, i64 0, i64 0))
%84 = call i32 @puts(i8* %2)
%85 = call i32 @system(i8* %2)
%86 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.28, i64 0, i64 0))
%87 = call i32 @puts(i8* %2)
%88 = call i32 @system(i8* %2)
%89 = call i32 @system(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.29, i64 0, i64 0))
%90 = icmp eq i32 %89, 0
%91 = select i1 %90, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.37, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @str.46, i64 0, i64 0)
%92 = call i32 @puts(i8* dereferenceable(1) %91)
ret i32 0
}