#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*/ hill3_crack(char *, int *, int);
int /*<<< orphan*/ hill3_encipher(char *, char *, int *, int);
int /*<<< orphan*/ invert_hill3_key(int *, int *);
char *malloc(int);
int /*<<< orphan*/ printf(char *, char *);
int strlen(char *);
int main(int argc, char *argv[]) {
  char str[] =
      "THISPOSTWILLDISCUSSTHEAUTOCORRELATIONORYULEWALKERMETHODOFCOMPUTING";
  int i;
  int L = strlen(str);
  for (i = 0; i < L; i++)
    str[i] -= 'A';
  char *ctext = malloc(sizeof(char) * (L + 1));
  char *ptext = malloc(sizeof(char) * (L + 1));
  int key[] = {11, 13, 3, 5, 17, 6, 1, 6, 19};
  int invkey[] = {0, 0, 0, 0, 0, 0, 0, 0, 0};
  hill3_encipher(ctext, str, key, L);
  invert_hill3_key(key, invkey);
  hill3_encipher(ptext, ctext, invkey, L);
  hill3_crack(ctext, invkey, L);
  for (i = 0; i < L; i++)
    str[i] += 'A';
  for (i = 0; i < L; i++)
    ctext[i] += 'A';
  for (i = 0; i < L; i++)
    ptext[i] += 'A';
  printf("str: %s\n", str);
  printf("ctext: %s\n", ctext);
  printf("ptext: %s\n", ptext);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xe5c(%rip),%rsi
mov    $0x43,%edx
call   1090 <memcpy@plt>
lea    -0x60(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,-0x68(%rbp)
movl   $0x0,-0x64(%rbp)
mov    -0x64(%rbp),%eax
cmp    -0x68(%rbp),%eax
jge    11eb <main+0x6b>
movslq -0x64(%rbp),%rax
movsbl -0x60(%rbp,%rax,1),%ecx
sub    $0x41,%ecx
mov    %cl,-0x60(%rbp,%rax,1)
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    11c1 <main+0x41>
mov    -0x68(%rbp),%eax
add    $0x1,%eax
cltq
shl    $0x0,%rax
mov    %eax,%edi
call   10a0 <malloc@plt>
mov    %rax,-0x70(%rbp)
mov    -0x68(%rbp),%eax
add    $0x1,%eax
cltq
shl    $0x0,%rax
mov    %eax,%edi
call   10a0 <malloc@plt>
mov    %rax,-0x78(%rbp)
lea    -0xa0(%rbp),%rdi
lea    0xe29(%rip),%rsi
mov    $0x24,%edx
call   1090 <memcpy@plt>
lea    -0xd0(%rbp),%rdi
xor    %esi,%esi
mov    $0x24,%edx
call   1080 <memset@plt>
mov    -0x70(%rbp),%rdi
lea    -0x60(%rbp),%rsi
lea    -0xa0(%rbp),%rdx
mov    -0x68(%rbp),%ecx
call   1050 <hill3_encipher@plt>
lea    -0xa0(%rbp),%rdi
lea    -0xd0(%rbp),%rsi
call   1030 <invert_hill3_key@plt>
mov    -0x78(%rbp),%rdi
mov    -0x70(%rbp),%rsi
lea    -0xd0(%rbp),%rdx
mov    -0x68(%rbp),%ecx
call   1050 <hill3_encipher@plt>
mov    -0x70(%rbp),%rdi
lea    -0xd0(%rbp),%rsi
mov    -0x68(%rbp),%edx
call   1040 <hill3_crack@plt>
movl   $0x0,-0x64(%rbp)
mov    -0x64(%rbp),%eax
cmp    -0x68(%rbp),%eax
jge    12c9 <main+0x149>
movslq -0x64(%rbp),%rax
movsbl -0x60(%rbp,%rax,1),%ecx
add    $0x41,%ecx
mov    %cl,-0x60(%rbp,%rax,1)
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    129f <main+0x11f>
movl   $0x0,-0x64(%rbp)
mov    -0x64(%rbp),%eax
cmp    -0x68(%rbp),%eax
jge    12fc <main+0x17c>
mov    -0x70(%rbp),%rax
movslq -0x64(%rbp),%rcx
movsbl (%rax,%rcx,1),%edx
add    $0x41,%edx
mov    %dl,(%rax,%rcx,1)
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    12d0 <main+0x150>
movl   $0x0,-0x64(%rbp)
mov    -0x64(%rbp),%eax
cmp    -0x68(%rbp),%eax
jge    132f <main+0x1af>
mov    -0x78(%rbp),%rax
movslq -0x64(%rbp),%rcx
movsbl (%rax,%rcx,1),%edx
add    $0x41,%edx
mov    %dl,(%rax,%rcx,1)
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    1303 <main+0x183>
lea    -0x60(%rbp),%rsi
lea    0xd3a(%rip),%rdi
call   1070 <printf@plt>
mov    -0x70(%rbp),%rsi
lea    0xd33(%rip),%rdi
call   1070 <printf@plt>
mov    -0x78(%rbp),%rsi
lea    0xd2e(%rip),%rdi
call   1070 <printf@plt>
xor    %eax,%eax
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xa8,%rsp
movaps 0xef8(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0xedc(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0xec0(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movdqa 0xea3(%rip),%xmm0
movdqa %xmm0,(%rsp)
movl   $0x474e49,0x3f(%rsp)
mov    %rsp,%rdi
call   1060 <strlen@plt>
mov    %eax,%r14d
mov    %eax,%r13d
test   %eax,%eax
jle    12cd <main+0x16d>
cmp    $0x8,%r14d
jae    11cd <main+0x6d>
xor    %eax,%eax
jmp    12c0 <main+0x160>
cmp    $0x20,%r14d
jae    11da <main+0x7a>
xor    %eax,%eax
jmp    128a <main+0x12a>
mov    %r13d,%eax
and    $0xffffffe0,%eax
lea    -0x20(%rax),%rcx
mov    %rcx,%rdx
shr    $0x5,%rdx
add    $0x1,%rdx
test   %rcx,%rcx
je     16ff <main+0x59f>
mov    %rdx,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %ecx,%ecx
movdqa 0xdf7(%rip),%xmm0
nopl   0x0(%rax)
movdqa (%rsp,%rcx,1),%xmm1
paddb  %xmm0,%xmm1
movdqa 0x10(%rsp,%rcx,1),%xmm2
paddb  %xmm0,%xmm2
movdqa %xmm1,(%rsp,%rcx,1)
movdqa %xmm2,0x10(%rsp,%rcx,1)
movdqa 0x20(%rsp,%rcx,1),%xmm1
paddb  %xmm0,%xmm1
movdqa 0x30(%rsp,%rcx,1),%xmm2
paddb  %xmm0,%xmm2
movdqa %xmm1,0x20(%rsp,%rcx,1)
movdqa %xmm2,0x30(%rsp,%rcx,1)
add    $0x40,%rcx
add    $0xfffffffffffffffe,%rsi
jne    1210 <main+0xb0>
test   $0x1,%dl
je     127f <main+0x11f>
movdqa 0xd9b(%rip),%xmm0
movdqa (%rsp,%rcx,1),%xmm1
paddb  %xmm0,%xmm1
paddb  0x10(%rsp,%rcx,1),%xmm0
movdqa %xmm1,(%rsp,%rcx,1)
movdqa %xmm0,0x10(%rsp,%rcx,1)
cmp    %r13,%rax
je     12cd <main+0x16d>
test   $0x18,%r13b
je     12c0 <main+0x160>
mov    %rax,%rcx
mov    %r13d,%eax
and    $0xfffffff8,%eax
movdqa 0xd75(%rip),%xmm0
nopl   0x0(%rax,%rax,1)
movq   (%rsp,%rcx,1),%xmm1
paddb  %xmm0,%xmm1
movq   %xmm1,(%rsp,%rcx,1)
add    $0x8,%rcx
cmp    %rcx,%rax
jne    12a0 <main+0x140>
cmp    %r13,%rax
je     12cd <main+0x16d>
nopl   0x0(%rax)
addb   $0xbf,(%rsp,%rax,1)
add    $0x1,%rax
cmp    %rax,%r13
jne    12c0 <main+0x160>
lea    0x1(%r14),%ebp
mov    %ebp,%edi
call   1080 <malloc@plt>
mov    %rax,%rbx
mov    %ebp,%edi
call   1080 <malloc@plt>
mov    %rax,%r15
mov    0xdc5(%rip),%eax
mov    %eax,0xa0(%rsp)
movaps 0xda7(%rip),%xmm0
movaps %xmm0,0x90(%rsp)
movdqa 0xd87(%rip),%xmm0
movdqa %xmm0,0x80(%rsp)
pxor   %xmm0,%xmm0
movdqa %xmm0,0x60(%rsp)
movdqa %xmm0,0x50(%rsp)
movl   $0x0,0x70(%rsp)
mov    %rsp,%rsi
lea    0x80(%rsp),%r12
mov    %rbx,%rdi
mov    %r12,%rdx
mov    %r14d,%ecx
call   1050 <hill3_encipher@plt>
lea    0x50(%rsp),%rbp
mov    %r12,%rdi
mov    %rbp,%rsi
call   1030 <invert_hill3_key@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %rbp,%rdx
mov    %r14d,%ecx
call   1050 <hill3_encipher@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    %r14d,%edx
call   1040 <hill3_crack@plt>
test   %r14d,%r14d
jle    16be <main+0x55e>
cmp    $0x8,%r14d
jae    1388 <main+0x228>
xor    %eax,%eax
jmp    1480 <main+0x320>
cmp    $0x20,%r14d
jae    1395 <main+0x235>
xor    %eax,%eax
jmp    144a <main+0x2ea>
mov    %r13d,%eax
and    $0xffffffe0,%eax
lea    -0x20(%rax),%rcx
mov    %rcx,%rdx
shr    $0x5,%rdx
add    $0x1,%rdx
test   %rcx,%rcx
je     170f <main+0x5af>
mov    %rdx,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %ecx,%ecx
movdqa 0xc5c(%rip),%xmm0
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movdqa (%rsp,%rcx,1),%xmm1
paddb  %xmm0,%xmm1
movdqa 0x10(%rsp,%rcx,1),%xmm2
paddb  %xmm0,%xmm2
movdqa %xmm1,(%rsp,%rcx,1)
movdqa %xmm2,0x10(%rsp,%rcx,1)
movdqa 0x20(%rsp,%rcx,1),%xmm1
paddb  %xmm0,%xmm1
movdqa 0x30(%rsp,%rcx,1),%xmm2
paddb  %xmm0,%xmm2
movdqa %xmm1,0x20(%rsp,%rcx,1)
movdqa %xmm2,0x30(%rsp,%rcx,1)
add    $0x40,%rcx
add    $0xfffffffffffffffe,%rsi
jne    13d0 <main+0x270>
test   $0x1,%dl
je     143f <main+0x2df>
movdqa 0xbfb(%rip),%xmm0
movdqa (%rsp,%rcx,1),%xmm1
paddb  %xmm0,%xmm1
paddb  0x10(%rsp,%rcx,1),%xmm0
movdqa %xmm1,(%rsp,%rcx,1)
movdqa %xmm0,0x10(%rsp,%rcx,1)
cmp    %r13,%rax
je     148d <main+0x32d>
test   $0x18,%r13b
je     1480 <main+0x320>
mov    %rax,%rcx
mov    %r13d,%eax
and    $0xfffffff8,%eax
movdqa 0xbd5(%rip),%xmm0
nopl   0x0(%rax,%rax,1)
movq   (%rsp,%rcx,1),%xmm1
paddb  %xmm0,%xmm1
movq   %xmm1,(%rsp,%rcx,1)
add    $0x8,%rcx
cmp    %rcx,%rax
jne    1460 <main+0x300>
cmp    %r13,%rax
je     148d <main+0x32d>
nopl   0x0(%rax)
addb   $0x41,(%rsp,%rax,1)
add    $0x1,%rax
cmp    %rax,%r13
jne    1480 <main+0x320>
test   %r14d,%r14d
jle    16be <main+0x55e>
cmp    $0x8,%r14d
jae    14a3 <main+0x343>
xor    %eax,%eax
jmp    1590 <main+0x430>
cmp    $0x20,%r14d
jae    14b0 <main+0x350>
xor    %eax,%eax
jmp    155e <main+0x3fe>
mov    %r13d,%eax
and    $0xffffffe0,%eax
lea    -0x20(%rax),%rcx
mov    %rcx,%rdx
shr    $0x5,%rdx
add    $0x1,%rdx
test   %rcx,%rcx
je     171f <main+0x5bf>
mov    %rdx,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %ecx,%ecx
movdqa 0xb41(%rip),%xmm0
nop
movdqu (%rbx,%rcx,1),%xmm1
movdqu 0x10(%rbx,%rcx,1),%xmm2
movdqu 0x20(%rbx,%rcx,1),%xmm3
movdqu 0x30(%rbx,%rcx,1),%xmm4
paddb  %xmm0,%xmm1
paddb  %xmm0,%xmm2
movdqu %xmm1,(%rbx,%rcx,1)
movdqu %xmm2,0x10(%rbx,%rcx,1)
paddb  %xmm0,%xmm3
paddb  %xmm0,%xmm4
movdqu %xmm3,0x20(%rbx,%rcx,1)
movdqu %xmm4,0x30(%rbx,%rcx,1)
add    $0x40,%rcx
add    $0xfffffffffffffffe,%rsi
jne    14e0 <main+0x380>
test   $0x1,%dl
je     1553 <main+0x3f3>
movdqu (%rbx,%rcx,1),%xmm0
movdqu 0x10(%rbx,%rcx,1),%xmm1
movdqa 0xae0(%rip),%xmm2
paddb  %xmm2,%xmm0
paddb  %xmm2,%xmm1
movdqu %xmm0,(%rbx,%rcx,1)
movdqu %xmm1,0x10(%rbx,%rcx,1)
cmp    %r13,%rax
je     159d <main+0x43d>
test   $0x18,%r13b
je     1590 <main+0x430>
mov    %rax,%rcx
mov    %r13d,%eax
and    $0xfffffff8,%eax
movdqa 0xac1(%rip),%xmm0
nop
movq   (%rbx,%rcx,1),%xmm1
paddb  %xmm0,%xmm1
movq   %xmm1,(%rbx,%rcx,1)
add    $0x8,%rcx
cmp    %rcx,%rax
jne    1570 <main+0x410>
cmp    %r13,%rax
je     159d <main+0x43d>
nopl   0x0(%rax)
addb   $0x41,(%rbx,%rax,1)
add    $0x1,%rax
cmp    %rax,%r13
jne    1590 <main+0x430>
test   %r14d,%r14d
jle    16be <main+0x55e>
cmp    $0x8,%r14d
jae    15b3 <main+0x453>
xor    %eax,%eax
jmp    16b0 <main+0x550>
cmp    $0x20,%r14d
jae    15c0 <main+0x460>
xor    %eax,%eax
jmp    167a <main+0x51a>
mov    %r13d,%eax
and    $0xffffffe0,%eax
lea    -0x20(%rax),%rcx
mov    %rcx,%rdx
shr    $0x5,%rdx
add    $0x1,%rdx
test   %rcx,%rcx
je     172f <main+0x5cf>
mov    %rdx,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %ecx,%ecx
movdqa 0xa31(%rip),%xmm0
nop
movdqu (%r15,%rcx,1),%xmm1
movdqu 0x10(%r15,%rcx,1),%xmm2
movdqu 0x20(%r15,%rcx,1),%xmm3
movdqu 0x30(%r15,%rcx,1),%xmm4
paddb  %xmm0,%xmm1
paddb  %xmm0,%xmm2
movdqu %xmm1,(%r15,%rcx,1)
movdqu %xmm2,0x10(%r15,%rcx,1)
paddb  %xmm0,%xmm3
paddb  %xmm0,%xmm4
movdqu %xmm3,0x20(%r15,%rcx,1)
movdqu %xmm4,0x30(%r15,%rcx,1)
add    $0x40,%rcx
add    $0xfffffffffffffffe,%rsi
jne    15f0 <main+0x490>
test   $0x1,%dl
je     166f <main+0x50f>
movdqu (%r15,%rcx,1),%xmm0
movdqu 0x10(%r15,%rcx,1),%xmm1
movdqa 0x9c6(%rip),%xmm2
paddb  %xmm2,%xmm0
paddb  %xmm2,%xmm1
movdqu %xmm0,(%r15,%rcx,1)
movdqu %xmm1,0x10(%r15,%rcx,1)
cmp    %r13,%rax
je     16be <main+0x55e>
test   $0x18,%r13b
je     16b0 <main+0x550>
mov    %rax,%rcx
mov    %r13d,%eax
and    $0xfffffff8,%eax
movdqa 0x9a5(%rip),%xmm0
nopl   0x0(%rax,%rax,1)
movq   (%r15,%rcx,1),%xmm1
paddb  %xmm0,%xmm1
movq   %xmm1,(%r15,%rcx,1)
add    $0x8,%rcx
cmp    %rcx,%rax
jne    1690 <main+0x530>
cmp    %r13,%rax
je     16be <main+0x55e>
xchg   %ax,%ax
addb   $0x41,(%r15,%rax,1)
add    $0x1,%rax
cmp    %rax,%r13
jne    16b0 <main+0x550>
lea    0x9ef(%rip),%rdi
mov    %rsp,%rsi
call   1070 <printf@plt>
lea    0x9e9(%rip),%rdi
mov    %rbx,%rsi
call   1070 <printf@plt>
lea    0x9e5(%rip),%rdi
mov    %r15,%rsi
call   1070 <printf@plt>
xor    %eax,%eax
add    $0xa8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
xor    %ecx,%ecx
test   $0x1,%dl
jne    125d <main+0xfd>
jmp    127f <main+0x11f>
xor    %ecx,%ecx
test   $0x1,%dl
jne    141d <main+0x2bd>
jmp    143f <main+0x2df>
xor    %ecx,%ecx
test   $0x1,%dl
jne    152d <main+0x3cd>
jmp    1553 <main+0x3f3>
xor    %ecx,%ecx
test   $0x1,%dl
jne    1645 <main+0x4e5>
jmp    166f <main+0x50f>

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

LLVM IR (-O2):
@__const.main.str = [67 x i8] c"THISPOSTWILLDISCUSSTHEAUTOCORRELATIONORYULEWALKERMETHODOFCOMPUTING\00"
@__const.main.key = [9 x i32] [i32 11, i32 13, i32 3, i32 5, i32 17, i32 6, i32 1, i32 6, i32 19]
@.str = [9 x i8] c"str: %s\0A\00"
@.str.1 = [11 x i8] c"ctext: %s\0A\00"
@.str.2 = [11 x i8] c"ptext: %s\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [67 x i8]
%4 = alloca [9 x i32]
%5 = alloca [9 x i32]
%6 = getelementptr inbounds [67 x i8], [67 x i8]* %3, i64 0, i64 0
%7 = call i32 @strlen(i8* %6)
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %92
9: ; preds = %2
%10 = zext i32 %7 to i64
%11 = icmp ult i32 %7, 8
br i1 %11, label %83, label %12
12: ; preds = %9
%13 = icmp ult i32 %7, 32
br i1 %13, label %69, label %14
14: ; preds = %12
%15 = and i64 %10, 4294967264
%16 = add nsw i64 %15, -32
%17 = lshr exact i64 %16, 5
%18 = add nuw nsw i64 %17, 1
%19 = and i64 %18, 1
%20 = icmp eq i64 %16, 0
br i1 %20, label %50, label %21
21: ; preds = %14
%22 = and i64 %18, 1152921504606846974
br label %23
23: ; preds = %23, %21
%24 = phi i64 [ 0, %21 ], [ %47, %23 ]
%25 = phi i64 [ 0, %21 ], [ %48, %23 ]
%26 = getelementptr inbounds [67 x i8], [67 x i8]* %3, i64 0, i64 %24
%27 = bitcast i8* %26 to <16 x i8>*
%28 = load <16 x i8>, <16 x i8>* %27
%29 = getelementptr inbounds i8, i8* %26, i64 16
%30 = bitcast i8* %29 to <16 x i8>*
%31 = load <16 x i8>, <16 x i8>* %30
%32 = add <16 x i8> %28, <i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65>
%33 = add <16 x i8> %31, <i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65>
%34 = bitcast i8* %26 to <16 x i8>*
store <16 x i8> %32, <16 x i8>* %34
%35 = bitcast i8* %29 to <16 x i8>*
store <16 x i8> %33, <16 x i8>* %35
%36 = or i64 %24, 32
%37 = getelementptr inbounds [67 x i8], [67 x i8]* %3, i64 0, i64 %36
%38 = bitcast i8* %37 to <16 x i8>*
%39 = load <16 x i8>, <16 x i8>* %38
%40 = getelementptr inbounds i8, i8* %37, i64 16
%41 = bitcast i8* %40 to <16 x i8>*
%42 = load <16 x i8>, <16 x i8>* %41
%43 = add <16 x i8> %39, <i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65>
%44 = add <16 x i8> %42, <i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65>
%45 = bitcast i8* %37 to <16 x i8>*
store <16 x i8> %43, <16 x i8>* %45
%46 = bitcast i8* %40 to <16 x i8>*
store <16 x i8> %44, <16 x i8>* %46
%47 = add nuw i64 %24, 64
%48 = add i64 %25, 2
%49 = icmp eq i64 %48, %22
br i1 %49, label %50, label %23
50: ; preds = %23, %14
%51 = phi i64 [ 0, %14 ], [ %47, %23 ]
%52 = icmp eq i64 %19, 0
br i1 %52, label %64, label %53
53: ; preds = %50
%54 = getelementptr inbounds [67 x i8], [67 x i8]* %3, i64 0, i64 %51
%55 = bitcast i8* %54 to <16 x i8>*
%56 = load <16 x i8>, <16 x i8>* %55
%57 = getelementptr inbounds i8, i8* %54, i64 16
%58 = bitcast i8* %57 to <16 x i8>*
%59 = load <16 x i8>, <16 x i8>* %58
%60 = add <16 x i8> %56, <i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65>
%61 = add <16 x i8> %59, <i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65>
%62 = bitcast i8* %54 to <16 x i8>*
store <16 x i8> %60, <16 x i8>* %62
%63 = bitcast i8* %57 to <16 x i8>*
store <16 x i8> %61, <16 x i8>* %63
br label %64
64: ; preds = %50, %53
%65 = icmp eq i64 %15, %10
br i1 %65, label %92, label %66
66: ; preds = %64
%67 = and i64 %10, 24
%68 = icmp eq i64 %67, 0
br i1 %68, label %83, label %69
69: ; preds = %12, %66
%70 = phi i64 [ %15, %66 ], [ 0, %12 ]
%71 = and i64 %10, 4294967288
br label %72
72: ; preds = %72, %69
%73 = phi i64 [ %70, %69 ], [ %79, %72 ]
%74 = getelementptr inbounds [67 x i8], [67 x i8]* %3, i64 0, i64 %73
%75 = bitcast i8* %74 to <8 x i8>*
%76 = load <8 x i8>, <8 x i8>* %75
%77 = add <8 x i8> %76, <i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65, i8 -65>
%78 = bitcast i8* %74 to <8 x i8>*
store <8 x i8> %77, <8 x i8>* %78
%79 = add nuw i64 %73, 8
%80 = icmp eq i64 %79, %71
br i1 %80, label %81, label %72
81: ; preds = %72
%82 = icmp eq i64 %71, %10
br i1 %82, label %92, label %83
83: ; preds = %9, %66, %81
%84 = phi i64 [ 0, %9 ], [ %15, %66 ], [ %71, %81 ]
br label %85
85: ; preds = %83, %85
%86 = phi i64 [ %90, %85 ], [ %84, %83 ]
%87 = getelementptr inbounds [67 x i8], [67 x i8]* %3, i64 0, i64 %86
%88 = load i8, i8* %87
%89 = add i8 %88, -65
store i8 %89, i8* %87
%90 = add nuw nsw i64 %86, 1
%91 = icmp eq i64 %90, %10
br i1 %91, label %92, label %85
92: ; preds = %85, %64, %81, %2
%93 = add nsw i32 %7, 1
%94 = call i8* @malloc(i32 %93)
%95 = call i8* @malloc(i32 %93)
%96 = bitcast [9 x i32]* %4 to i8*
%97 = bitcast [9 x i32]* %5 to i8*
%98 = getelementptr inbounds [9 x i32], [9 x i32]* %4, i64 0, i64 0
%99 = call i32 @hill3_encipher(i8* %94, i8* %6, i32* %98, i32 %7)
%100 = getelementptr inbounds [9 x i32], [9 x i32]* %5, i64 0, i64 0
%101 = call i32 @invert_hill3_key(i32* %98, i32* %100)
%102 = call i32 @hill3_encipher(i8* %95, i8* %94, i32* %100, i32 %7)
%103 = call i32 @hill3_crack(i8* %94, i32* %100, i32 %7)
br i1 %8, label %104, label %355
104: ; preds = %92
%105 = zext i32 %7 to i64
%106 = icmp ult i32 %7, 8
br i1 %106, label %178, label %107
107: ; preds = %104
%108 = icmp ult i32 %7, 32
br i1 %108, label %164, label %109
109: ; preds = %107
%110 = and i64 %105, 4294967264
%111 = add nsw i64 %110, -32
%112 = lshr exact i64 %111, 5
%113 = add nuw nsw i64 %112, 1
%114 = and i64 %113, 1
%115 = icmp eq i64 %111, 0
br i1 %115, label %145, label %116
116: ; preds = %109
%117 = and i64 %113, 1152921504606846974
br label %118
118: ; preds = %118, %116
%119 = phi i64 [ 0, %116 ], [ %142, %118 ]
%120 = phi i64 [ 0, %116 ], [ %143, %118 ]
%121 = getelementptr inbounds [67 x i8], [67 x i8]* %3, i64 0, i64 %119
%122 = bitcast i8* %121 to <16 x i8>*
%123 = load <16 x i8>, <16 x i8>* %122
%124 = getelementptr inbounds i8, i8* %121, i64 16
%125 = bitcast i8* %124 to <16 x i8>*
%126 = load <16 x i8>, <16 x i8>* %125
%127 = add <16 x i8> %123, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%128 = add <16 x i8> %126, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%129 = bitcast i8* %121 to <16 x i8>*
store <16 x i8> %127, <16 x i8>* %129
%130 = bitcast i8* %124 to <16 x i8>*
store <16 x i8> %128, <16 x i8>* %130
%131 = or i64 %119, 32
%132 = getelementptr inbounds [67 x i8], [67 x i8]* %3, i64 0, i64 %131
%133 = bitcast i8* %132 to <16 x i8>*
%134 = load <16 x i8>, <16 x i8>* %133
%135 = getelementptr inbounds i8, i8* %132, i64 16
%136 = bitcast i8* %135 to <16 x i8>*
%137 = load <16 x i8>, <16 x i8>* %136
%138 = add <16 x i8> %134, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%139 = add <16 x i8> %137, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%140 = bitcast i8* %132 to <16 x i8>*
store <16 x i8> %138, <16 x i8>* %140
%141 = bitcast i8* %135 to <16 x i8>*
store <16 x i8> %139, <16 x i8>* %141
%142 = add nuw i64 %119, 64
%143 = add i64 %120, 2
%144 = icmp eq i64 %143, %117
br i1 %144, label %145, label %118
145: ; preds = %118, %109
%146 = phi i64 [ 0, %109 ], [ %142, %118 ]
%147 = icmp eq i64 %114, 0
br i1 %147, label %159, label %148
148: ; preds = %145
%149 = getelementptr inbounds [67 x i8], [67 x i8]* %3, i64 0, i64 %146
%150 = bitcast i8* %149 to <16 x i8>*
%151 = load <16 x i8>, <16 x i8>* %150
%152 = getelementptr inbounds i8, i8* %149, i64 16
%153 = bitcast i8* %152 to <16 x i8>*
%154 = load <16 x i8>, <16 x i8>* %153
%155 = add <16 x i8> %151, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%156 = add <16 x i8> %154, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%157 = bitcast i8* %149 to <16 x i8>*
store <16 x i8> %155, <16 x i8>* %157
%158 = bitcast i8* %152 to <16 x i8>*
store <16 x i8> %156, <16 x i8>* %158
br label %159
159: ; preds = %145, %148
%160 = icmp eq i64 %110, %105
br i1 %160, label %180, label %161
161: ; preds = %159
%162 = and i64 %105, 24
%163 = icmp eq i64 %162, 0
br i1 %163, label %178, label %164
164: ; preds = %107, %161
%165 = phi i64 [ %110, %161 ], [ 0, %107 ]
%166 = and i64 %105, 4294967288
br label %167
167: ; preds = %167, %164
%168 = phi i64 [ %165, %164 ], [ %174, %167 ]
%169 = getelementptr inbounds [67 x i8], [67 x i8]* %3, i64 0, i64 %168
%170 = bitcast i8* %169 to <8 x i8>*
%171 = load <8 x i8>, <8 x i8>* %170
%172 = add <8 x i8> %171, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%173 = bitcast i8* %169 to <8 x i8>*
store <8 x i8> %172, <8 x i8>* %173
%174 = add nuw i64 %168, 8
%175 = icmp eq i64 %174, %166
br i1 %175, label %176, label %167
176: ; preds = %167
%177 = icmp eq i64 %166, %105
br i1 %177, label %180, label %178
178: ; preds = %104, %161, %176
%179 = phi i64 [ 0, %104 ], [ %110, %161 ], [ %166, %176 ]
br label %257
180: ; preds = %257, %176, %159
br i1 %8, label %181, label %355
181: ; preds = %180
%182 = zext i32 %7 to i64
%183 = icmp ult i32 %7, 8
br i1 %183, label %255, label %184
184: ; preds = %181
%185 = icmp ult i32 %7, 32
br i1 %185, label %241, label %186
186: ; preds = %184
%187 = and i64 %105, 4294967264
%188 = add nsw i64 %187, -32
%189 = lshr exact i64 %188, 5
%190 = add nuw nsw i64 %189, 1
%191 = and i64 %190, 1
%192 = icmp eq i64 %188, 0
br i1 %192, label %222, label %193
193: ; preds = %186
%194 = and i64 %190, 1152921504606846974
br label %195
195: ; preds = %195, %193
%196 = phi i64 [ 0, %193 ], [ %219, %195 ]
%197 = phi i64 [ 0, %193 ], [ %220, %195 ]
%198 = getelementptr inbounds i8, i8* %94, i64 %196
%199 = bitcast i8* %198 to <16 x i8>*
%200 = load <16 x i8>, <16 x i8>* %199
%201 = getelementptr inbounds i8, i8* %198, i64 16
%202 = bitcast i8* %201 to <16 x i8>*
%203 = load <16 x i8>, <16 x i8>* %202
%204 = add <16 x i8> %200, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%205 = add <16 x i8> %203, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%206 = bitcast i8* %198 to <16 x i8>*
store <16 x i8> %204, <16 x i8>* %206
%207 = bitcast i8* %201 to <16 x i8>*
store <16 x i8> %205, <16 x i8>* %207
%208 = or i64 %196, 32
%209 = getelementptr inbounds i8, i8* %94, i64 %208
%210 = bitcast i8* %209 to <16 x i8>*
%211 = load <16 x i8>, <16 x i8>* %210
%212 = getelementptr inbounds i8, i8* %209, i64 16
%213 = bitcast i8* %212 to <16 x i8>*
%214 = load <16 x i8>, <16 x i8>* %213
%215 = add <16 x i8> %211, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%216 = add <16 x i8> %214, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%217 = bitcast i8* %209 to <16 x i8>*
store <16 x i8> %215, <16 x i8>* %217
%218 = bitcast i8* %212 to <16 x i8>*
store <16 x i8> %216, <16 x i8>* %218
%219 = add nuw i64 %196, 64
%220 = add i64 %197, 2
%221 = icmp eq i64 %220, %194
br i1 %221, label %222, label %195
222: ; preds = %195, %186
%223 = phi i64 [ 0, %186 ], [ %219, %195 ]
%224 = icmp eq i64 %191, 0
br i1 %224, label %236, label %225
225: ; preds = %222
%226 = getelementptr inbounds i8, i8* %94, i64 %223
%227 = bitcast i8* %226 to <16 x i8>*
%228 = load <16 x i8>, <16 x i8>* %227
%229 = getelementptr inbounds i8, i8* %226, i64 16
%230 = bitcast i8* %229 to <16 x i8>*
%231 = load <16 x i8>, <16 x i8>* %230
%232 = add <16 x i8> %228, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%233 = add <16 x i8> %231, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%234 = bitcast i8* %226 to <16 x i8>*
store <16 x i8> %232, <16 x i8>* %234
%235 = bitcast i8* %229 to <16 x i8>*
store <16 x i8> %233, <16 x i8>* %235
br label %236
236: ; preds = %222, %225
%237 = icmp eq i64 %187, %105
br i1 %237, label %264, label %238
238: ; preds = %236
%239 = and i64 %105, 24
%240 = icmp eq i64 %239, 0
br i1 %240, label %255, label %241
241: ; preds = %184, %238
%242 = phi i64 [ %187, %238 ], [ 0, %184 ]
%243 = and i64 %105, 4294967288
br label %244
244: ; preds = %244, %241
%245 = phi i64 [ %242, %241 ], [ %251, %244 ]
%246 = getelementptr inbounds i8, i8* %94, i64 %245
%247 = bitcast i8* %246 to <8 x i8>*
%248 = load <8 x i8>, <8 x i8>* %247
%249 = add <8 x i8> %248, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%250 = bitcast i8* %246 to <8 x i8>*
store <8 x i8> %249, <8 x i8>* %250
%251 = add nuw i64 %245, 8
%252 = icmp eq i64 %251, %243
br i1 %252, label %253, label %244
253: ; preds = %244
%254 = icmp eq i64 %243, %105
br i1 %254, label %264, label %255
255: ; preds = %181, %238, %253
%256 = phi i64 [ 0, %181 ], [ %187, %238 ], [ %243, %253 ]
br label %341
257: ; preds = %178, %257
%258 = phi i64 [ %262, %257 ], [ %179, %178 ]
%259 = getelementptr inbounds [67 x i8], [67 x i8]* %3, i64 0, i64 %258
%260 = load i8, i8* %259
%261 = add i8 %260, 65
store i8 %261, i8* %259
%262 = add nuw nsw i64 %258, 1
%263 = icmp eq i64 %262, %105
br i1 %263, label %180, label %257
264: ; preds = %341, %253, %236
br i1 %8, label %265, label %355
265: ; preds = %264
%266 = zext i32 %7 to i64
%267 = icmp ult i32 %7, 8
br i1 %267, label %339, label %268
268: ; preds = %265
%269 = icmp ult i32 %7, 32
br i1 %269, label %325, label %270
270: ; preds = %268
%271 = and i64 %105, 4294967264
%272 = add nsw i64 %271, -32
%273 = lshr exact i64 %272, 5
%274 = add nuw nsw i64 %273, 1
%275 = and i64 %274, 1
%276 = icmp eq i64 %272, 0
br i1 %276, label %306, label %277
277: ; preds = %270
%278 = and i64 %274, 1152921504606846974
br label %279
279: ; preds = %279, %277
%280 = phi i64 [ 0, %277 ], [ %303, %279 ]
%281 = phi i64 [ 0, %277 ], [ %304, %279 ]
%282 = getelementptr inbounds i8, i8* %95, i64 %280
%283 = bitcast i8* %282 to <16 x i8>*
%284 = load <16 x i8>, <16 x i8>* %283
%285 = getelementptr inbounds i8, i8* %282, i64 16
%286 = bitcast i8* %285 to <16 x i8>*
%287 = load <16 x i8>, <16 x i8>* %286
%288 = add <16 x i8> %284, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%289 = add <16 x i8> %287, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%290 = bitcast i8* %282 to <16 x i8>*
store <16 x i8> %288, <16 x i8>* %290
%291 = bitcast i8* %285 to <16 x i8>*
store <16 x i8> %289, <16 x i8>* %291
%292 = or i64 %280, 32
%293 = getelementptr inbounds i8, i8* %95, i64 %292
%294 = bitcast i8* %293 to <16 x i8>*
%295 = load <16 x i8>, <16 x i8>* %294
%296 = getelementptr inbounds i8, i8* %293, i64 16
%297 = bitcast i8* %296 to <16 x i8>*
%298 = load <16 x i8>, <16 x i8>* %297
%299 = add <16 x i8> %295, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%300 = add <16 x i8> %298, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%301 = bitcast i8* %293 to <16 x i8>*
store <16 x i8> %299, <16 x i8>* %301
%302 = bitcast i8* %296 to <16 x i8>*
store <16 x i8> %300, <16 x i8>* %302
%303 = add nuw i64 %280, 64
%304 = add i64 %281, 2
%305 = icmp eq i64 %304, %278
br i1 %305, label %306, label %279
306: ; preds = %279, %270
%307 = phi i64 [ 0, %270 ], [ %303, %279 ]
%308 = icmp eq i64 %275, 0
br i1 %308, label %320, label %309
309: ; preds = %306
%310 = getelementptr inbounds i8, i8* %95, i64 %307
%311 = bitcast i8* %310 to <16 x i8>*
%312 = load <16 x i8>, <16 x i8>* %311
%313 = getelementptr inbounds i8, i8* %310, i64 16
%314 = bitcast i8* %313 to <16 x i8>*
%315 = load <16 x i8>, <16 x i8>* %314
%316 = add <16 x i8> %312, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%317 = add <16 x i8> %315, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%318 = bitcast i8* %310 to <16 x i8>*
store <16 x i8> %316, <16 x i8>* %318
%319 = bitcast i8* %313 to <16 x i8>*
store <16 x i8> %317, <16 x i8>* %319
br label %320
320: ; preds = %306, %309
%321 = icmp eq i64 %271, %105
br i1 %321, label %355, label %322
322: ; preds = %320
%323 = and i64 %105, 24
%324 = icmp eq i64 %323, 0
br i1 %324, label %339, label %325
325: ; preds = %268, %322
%326 = phi i64 [ %271, %322 ], [ 0, %268 ]
%327 = and i64 %105, 4294967288
br label %328
328: ; preds = %328, %325
%329 = phi i64 [ %326, %325 ], [ %335, %328 ]
%330 = getelementptr inbounds i8, i8* %95, i64 %329
%331 = bitcast i8* %330 to <8 x i8>*
%332 = load <8 x i8>, <8 x i8>* %331
%333 = add <8 x i8> %332, <i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65, i8 65>
%334 = bitcast i8* %330 to <8 x i8>*
store <8 x i8> %333, <8 x i8>* %334
%335 = add nuw i64 %329, 8
%336 = icmp eq i64 %335, %327
br i1 %336, label %337, label %328
337: ; preds = %328
%338 = icmp eq i64 %327, %105
br i1 %338, label %355, label %339
339: ; preds = %265, %322, %337
%340 = phi i64 [ 0, %265 ], [ %271, %322 ], [ %327, %337 ]
br label %348
341: ; preds = %255, %341
%342 = phi i64 [ %346, %341 ], [ %256, %255 ]
%343 = getelementptr inbounds i8, i8* %94, i64 %342
%344 = load i8, i8* %343
%345 = add i8 %344, 65
store i8 %345, i8* %343
%346 = add nuw nsw i64 %342, 1
%347 = icmp eq i64 %346, %182
br i1 %347, label %264, label %341
348: ; preds = %339, %348
%349 = phi i64 [ %353, %348 ], [ %340, %339 ]
%350 = getelementptr inbounds i8, i8* %95, i64 %349
%351 = load i8, i8* %350
%352 = add i8 %351, 65
store i8 %352, i8* %350
%353 = add nuw nsw i64 %349, 1
%354 = icmp eq i64 %353, %266
br i1 %354, label %355, label %348
355: ; preds = %348, %320, %337, %92, %180, %264
%356 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* %6)
%357 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i8* %94)
%358 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* %95)
ret i32 0
}