int vernam_cypher(int argc, char **argv) {
  char input[128] = {0};
  char cypher[128] = {0};
  printf("Text to Encode:  ");
  int inputSize = get_input(input, sizeof input);
  printf("Encoding Cypher: ");
  int cypherSize = get_input(cypher, sizeof cypher);
  for (int i = 0; i < inputSize; ++i)
    input[i] ^= cypher[i];
  printf("Encoded HEX:  ");
  for (int i = 0; i < inputSize; ++i)
    printf("0x%02x ", input[i]);
  printf("\n");
  for (int i = 0; i < inputSize; ++i)
    input[i] ^= cypher[i];
  printf("Decoded Text: '%.*s'\n", inputSize, input);
  system("pause");
  return 0;
}


x86 assembly (clang, -O0):
<vernam_cypher>:
push   %rbp
mov    %rsp,%rbp
sub    $0x130,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
lea    -0x90(%rbp),%rdi
xor    %esi,%esi
mov    $0x80,%edx
call   1050 <memset@plt>
lea    -0x110(%rbp),%rdi
xor    %esi,%esi
mov    $0x80,%edx
call   1050 <memset@plt>
lea    0xe81(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x90(%rbp),%rdi
mov    $0x80,%esi
mov    $0x0,%al
call   1060 <get_input@plt>
mov    %eax,-0x114(%rbp)
lea    0xe6c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x110(%rbp),%rdi
mov    $0x80,%esi
mov    $0x0,%al
call   1060 <get_input@plt>
mov    %eax,-0x118(%rbp)
movl   $0x0,-0x11c(%rbp)
mov    -0x11c(%rbp),%eax
cmp    -0x114(%rbp),%eax
jge    121d <vernam_cypher+0xdd>
movslq -0x11c(%rbp),%rax
movsbl -0x110(%rbp,%rax,1),%edx
ff
movslq -0x11c(%rbp),%rax
movsbl -0x90(%rbp,%rax,1),%ecx
ff
xor    %edx,%ecx
mov    %cl,-0x90(%rbp,%rax,1)
mov    -0x11c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x11c(%rbp)
jmp    11d0 <vernam_cypher+0x90>
lea    0xe00(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x120(%rbp)
mov    -0x120(%rbp),%eax
cmp    -0x114(%rbp),%eax
jge    1278 <vernam_cypher+0x138>
movslq -0x120(%rbp),%rax
movsbl -0x90(%rbp,%rax,1),%esi
ff
lea    0xdd6(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x120(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x120(%rbp)
jmp    1235 <vernam_cypher+0xf5>
lea    0xdd0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x124(%rbp)
mov    -0x124(%rbp),%eax
cmp    -0x114(%rbp),%eax
jge    12dd <vernam_cypher+0x19d>
movslq -0x124(%rbp),%rax
movsbl -0x110(%rbp,%rax,1),%edx
ff
movslq -0x124(%rbp),%rax
movsbl -0x90(%rbp,%rax,1),%ecx
ff
xor    %edx,%ecx
mov    %cl,-0x90(%rbp,%rax,1)
mov    -0x124(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x124(%rbp)
jmp    1290 <vernam_cypher+0x150>
mov    -0x114(%rbp),%esi
lea    -0x90(%rbp),%rdx
lea    0xd4a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xd52(%rip),%rdi
mov    $0x0,%al
call   1030 <system@plt>
xor    %eax,%eax
add    $0x130,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<vernam_cypher>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x108,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,(%rsp)
movaps %xmm0,0xf0(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
lea    0xe42(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rsp,%rdi
mov    $0x80,%esi
xor    %eax,%eax
call   1060 <get_input@plt>
mov    %eax,%r14d
lea    0xe34(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x80(%rsp),%rdi
mov    $0x80,%esi
xor    %eax,%eax
call   1060 <get_input@plt>
test   %r14d,%r14d
jle    120e <vernam_cypher+0xce>
mov    %r14d,%r15d
cmp    $0x8,%r14d
jae    1221 <vernam_cypher+0xe1>
xor    %eax,%eax
jmp    1310 <vernam_cypher+0x1d0>
lea    0xe0f(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    1377 <vernam_cypher+0x237>
cmp    $0x20,%r14d
jae    122e <vernam_cypher+0xee>
xor    %eax,%eax
jmp    12e2 <vernam_cypher+0x1a2>
mov    %r15d,%eax
and    $0xffffffe0,%eax
lea    -0x20(%rax),%rcx
mov    %rcx,%rdx
shr    $0x5,%rdx
add    $0x1,%rdx
test   %rcx,%rcx
je     14b6 <vernam_cypher+0x376>
mov    %rdx,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %ecx,%ecx
cs nopw 0x0(%rax,%rax,1)
nop
movaps (%rsp,%rcx,1),%xmm0
movaps 0x10(%rsp,%rcx,1),%xmm1
movaps 0x20(%rsp,%rcx,1),%xmm2
movaps 0x30(%rsp,%rcx,1),%xmm3
xorps  0x80(%rsp,%rcx,1),%xmm0
xorps  0x90(%rsp,%rcx,1),%xmm1
movaps %xmm0,(%rsp,%rcx,1)
movaps %xmm1,0x10(%rsp,%rcx,1)
xorps  0xa0(%rsp,%rcx,1),%xmm2
xorps  0xb0(%rsp,%rcx,1),%xmm3
movaps %xmm2,0x20(%rsp,%rcx,1)
movaps %xmm3,0x30(%rsp,%rcx,1)
add    $0x40,%rcx
add    $0xfffffffffffffffe,%rsi
jne    1260 <vernam_cypher+0x120>
test   $0x1,%dl
je     12d7 <vernam_cypher+0x197>
movaps (%rsp,%rcx,1),%xmm0
movaps 0x10(%rsp,%rcx,1),%xmm1
xorps  0x80(%rsp,%rcx,1),%xmm0
xorps  0x90(%rsp,%rcx,1),%xmm1
movaps %xmm0,(%rsp,%rcx,1)
movaps %xmm1,0x10(%rsp,%rcx,1)
cmp    %r15,%rax
je     1324 <vernam_cypher+0x1e4>
test   $0x18,%r15b
je     1310 <vernam_cypher+0x1d0>
mov    %rax,%rcx
mov    %r15d,%eax
and    $0xfffffff8,%eax
nopl   0x0(%rax,%rax,1)
mov    0x80(%rsp,%rcx,1),%rdx
xor    %rdx,(%rsp,%rcx,1)
add    $0x8,%rcx
cmp    %rcx,%rax
jne    12f0 <vernam_cypher+0x1b0>
cmp    %r15,%rax
je     1324 <vernam_cypher+0x1e4>
nopw   0x0(%rax,%rax,1)
movzbl 0x80(%rsp,%rax,1),%ecx
xor    %cl,(%rsp,%rax,1)
add    $0x1,%rax
cmp    %rax,%r15
jne    1310 <vernam_cypher+0x1d0>
lea    0xcf9(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
test   %r14d,%r14d
jle    1377 <vernam_cypher+0x237>
lea    0xcf5(%rip),%rbx
xor    %ebp,%ebp
movsbl (%rsp,%rbp,1),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbp
cmp    %rbp,%r15
jne    1340 <vernam_cypher+0x200>
mov    $0xa,%edi
call   1030 <putchar@plt>
test   %r14d,%r14d
jle    1484 <vernam_cypher+0x344>
cmp    $0x8,%r14d
jae    1386 <vernam_cypher+0x246>
xor    %eax,%eax
jmp    1470 <vernam_cypher+0x330>
mov    $0xa,%edi
call   1030 <putchar@plt>
jmp    1484 <vernam_cypher+0x344>
cmp    $0x20,%r14d
jae    1393 <vernam_cypher+0x253>
xor    %eax,%eax
jmp    1442 <vernam_cypher+0x302>
mov    %r15d,%eax
and    $0xffffffe0,%eax
lea    -0x20(%rax),%rcx
mov    %rcx,%rdx
shr    $0x5,%rdx
add    $0x1,%rdx
test   %rcx,%rcx
je     14c6 <vernam_cypher+0x386>
mov    %rdx,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %ecx,%ecx
nopw   0x0(%rax,%rax,1)
movaps (%rsp,%rcx,1),%xmm0
movaps 0x10(%rsp,%rcx,1),%xmm1
movaps 0x20(%rsp,%rcx,1),%xmm2
movaps 0x30(%rsp,%rcx,1),%xmm3
xorps  0x80(%rsp,%rcx,1),%xmm0
xorps  0x90(%rsp,%rcx,1),%xmm1
movaps %xmm0,(%rsp,%rcx,1)
movaps %xmm1,0x10(%rsp,%rcx,1)
xorps  0xa0(%rsp,%rcx,1),%xmm2
xorps  0xb0(%rsp,%rcx,1),%xmm3
movaps %xmm2,0x20(%rsp,%rcx,1)
movaps %xmm3,0x30(%rsp,%rcx,1)
add    $0x40,%rcx
add    $0xfffffffffffffffe,%rsi
jne    13c0 <vernam_cypher+0x280>
test   $0x1,%dl
je     1437 <vernam_cypher+0x2f7>
movaps (%rsp,%rcx,1),%xmm0
movaps 0x10(%rsp,%rcx,1),%xmm1
xorps  0x80(%rsp,%rcx,1),%xmm0
xorps  0x90(%rsp,%rcx,1),%xmm1
movaps %xmm0,(%rsp,%rcx,1)
movaps %xmm1,0x10(%rsp,%rcx,1)
cmp    %r15,%rax
je     1484 <vernam_cypher+0x344>
test   $0x18,%r15b
je     1470 <vernam_cypher+0x330>
mov    %rax,%rcx
mov    %r15d,%eax
and    $0xfffffff8,%eax
nopl   0x0(%rax,%rax,1)
mov    0x80(%rsp,%rcx,1),%rdx
xor    %rdx,(%rsp,%rcx,1)
add    $0x8,%rcx
cmp    %rcx,%rax
jne    1450 <vernam_cypher+0x310>
cmp    %r15,%rax
je     1484 <vernam_cypher+0x344>
nopw   0x0(%rax,%rax,1)
movzbl 0x80(%rsp,%rax,1),%ecx
xor    %cl,(%rsp,%rax,1)
add    $0x1,%rax
cmp    %rax,%r15
jne    1470 <vernam_cypher+0x330>
lea    0xbb0(%rip),%rdi
mov    %rsp,%rdx
mov    %r14d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xbb2(%rip),%rdi
xor    %eax,%eax
call   1040 <system@plt>
xor    %eax,%eax
add    $0x108,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret
xor    %ecx,%ecx
test   $0x1,%dl
jne    12b5 <vernam_cypher+0x175>
jmp    12d7 <vernam_cypher+0x197>
xor    %ecx,%ecx
test   $0x1,%dl
jne    1415 <vernam_cypher+0x2d5>
jmp    1437 <vernam_cypher+0x2f7>

LLVM IR (-O0):
@.str = [18 x i8] c"Text to Encode: \00"
@.str.1 = [18 x i8] c"Encoding Cypher: \00"
@.str.2 = [15 x i8] c"Encoded HEX: \00"
@.str.3 = [8 x i8] c"0x%02x \00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [22 x i8] c"Decoded Text: '%.*s'\0A\00"
@.str.6 = [6 x i8] c"pause\00"
define i32 @vernam_cypher(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8**
%5 = alloca [128 x i8]
%6 = alloca [128 x i8]
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store i32 %0, i32* %3
store i8** %1, i8*** %4
%12 = bitcast [128 x i8]* %5 to i8*
%13 = bitcast [128 x i8]* %6 to i8*
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
%15 = getelementptr inbounds [128 x i8], [128 x i8]* %5, i64 0, i64 0
%16 = call i32 (i8*, i64, ...) bitcast (i32 (...)* @get_input to i32 (i8*, i64, ...)*)(i8* %15, i64 128)
store i32 %16, i32* %7
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
%18 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 0
%19 = call i32 (i8*, i64, ...) bitcast (i32 (...)* @get_input to i32 (i8*, i64, ...)*)(i8* %18, i64 128)
store i32 %19, i32* %8
store i32 0, i32* %9
br label %20
20: ; preds = %37, %2
%21 = load i32, i32* %9
%22 = load i32, i32* %7
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %40
24: ; preds = %20
%25 = load i32, i32* %9
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 %26
%28 = load i8, i8* %27
%29 = sext i8 %28 to i32
%30 = load i32, i32* %9
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [128 x i8], [128 x i8]* %5, i64 0, i64 %31
%33 = load i8, i8* %32
%34 = sext i8 %33 to i32
%35 = xor i32 %34, %29
%36 = trunc i32 %35 to i8
store i8 %36, i8* %32
br label %37
37: ; preds = %24
%38 = load i32, i32* %9
%39 = add nsw i32 %38, 1
store i32 %39, i32* %9
br label %20
40: ; preds = %20
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %10
br label %42
42: ; preds = %53, %40
%43 = load i32, i32* %10
%44 = load i32, i32* %7
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %56
46: ; preds = %42
%47 = load i32, i32* %10
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [128 x i8], [128 x i8]* %5, i64 0, i64 %48
%50 = load i8, i8* %49
%51 = sext i8 %50 to i32
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i32 %51)
br label %53
53: ; preds = %46
%54 = load i32, i32* %10
%55 = add nsw i32 %54, 1
store i32 %55, i32* %10
br label %42
56: ; preds = %42
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %11
br label %58
58: ; preds = %75, %56
%59 = load i32, i32* %11
%60 = load i32, i32* %7
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %78
62: ; preds = %58
%63 = load i32, i32* %11
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 %64
%66 = load i8, i8* %65
%67 = sext i8 %66 to i32
%68 = load i32, i32* %11
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [128 x i8], [128 x i8]* %5, i64 0, i64 %69
%71 = load i8, i8* %70
%72 = sext i8 %71 to i32
%73 = xor i32 %72, %67
%74 = trunc i32 %73 to i8
store i8 %74, i8* %70
br label %75
75: ; preds = %62
%76 = load i32, i32* %11
%77 = add nsw i32 %76, 1
store i32 %77, i32* %11
br label %58
78: ; preds = %58
%79 = load i32, i32* %7
%80 = getelementptr inbounds [128 x i8], [128 x i8]* %5, i64 0, i64 0
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i32 %79, i8* %80)
%82 = call i32 (i8*, ...) bitcast (i32 (...)* @system to i32 (i8*, ...)*)(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [18 x i8] c"Text to Encode: \00"
@.str.1 = [18 x i8] c"Encoding Cypher: \00"
@.str.2 = [15 x i8] c"Encoded HEX: \00"
@.str.3 = [8 x i8] c"0x%02x \00"
@.str.5 = [22 x i8] c"Decoded Text: '%.*s'\0A\00"
@.str.6 = [6 x i8] c"pause\00"
define i32 @vernam_cypher(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [128 x i8]
%4 = alloca [128 x i8]
%5 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 0
%6 = getelementptr inbounds [128 x i8], [128 x i8]* %4, i64 0, i64 0
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
%8 = call i32 (i8*, i64, ...) bitcast (i32 (...)* @get_input to i32 (i8*, i64, ...)*)(i8* %5, i64 128)
%9 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
%10 = call i32 (i8*, i64, ...) bitcast (i32 (...)* @get_input to i32 (i8*, i64, ...)*)(i8* %6, i64 128)
%11 = icmp sgt i32 %8, 0
br i1 %11, label %14, label %12
12: ; preds = %2
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0))
br label %124
14: ; preds = %2
%15 = zext i32 %8 to i64
%16 = icmp ult i32 %8, 8
br i1 %16, label %109, label %17
17: ; preds = %14
%18 = icmp ult i32 %8, 32
br i1 %18, label %92, label %19
19: ; preds = %17
%20 = and i64 %15, 4294967264
%21 = add nsw i64 %20, -32
%22 = lshr exact i64 %21, 5
%23 = add nuw nsw i64 %22, 1
%24 = and i64 %23, 1
%25 = icmp eq i64 %21, 0
br i1 %25, label %67, label %26
26: ; preds = %19
%27 = and i64 %23, 1152921504606846974
br label %28
28: ; preds = %28, %26
%29 = phi i64 [ 0, %26 ], [ %64, %28 ]
%30 = phi i64 [ 0, %26 ], [ %65, %28 ]
%31 = getelementptr inbounds [128 x i8], [128 x i8]* %4, i64 0, i64 %29
%32 = bitcast i8* %31 to <16 x i8>*
%33 = load <16 x i8>, <16 x i8>* %32
%34 = getelementptr inbounds i8, i8* %31, i64 16
%35 = bitcast i8* %34 to <16 x i8>*
%36 = load <16 x i8>, <16 x i8>* %35
%37 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 %29
%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 = xor <16 x i8> %39, %33
%44 = xor <16 x i8> %42, %36
%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 = or i64 %29, 32
%48 = getelementptr inbounds [128 x i8], [128 x i8]* %4, i64 0, i64 %47
%49 = bitcast i8* %48 to <16 x i8>*
%50 = load <16 x i8>, <16 x i8>* %49
%51 = getelementptr inbounds i8, i8* %48, i64 16
%52 = bitcast i8* %51 to <16 x i8>*
%53 = load <16 x i8>, <16 x i8>* %52
%54 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 %47
%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 = xor <16 x i8> %56, %50
%61 = xor <16 x i8> %59, %53
%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
%64 = add nuw i64 %29, 64
%65 = add i64 %30, 2
%66 = icmp eq i64 %65, %27
br i1 %66, label %67, label %28
67: ; preds = %28, %19
%68 = phi i64 [ 0, %19 ], [ %64, %28 ]
%69 = icmp eq i64 %24, 0
br i1 %69, label %87, label %70
70: ; preds = %67
%71 = getelementptr inbounds [128 x i8], [128 x i8]* %4, i64 0, i64 %68
%72 = bitcast i8* %71 to <16 x i8>*
%73 = load <16 x i8>, <16 x i8>* %72
%74 = getelementptr inbounds i8, i8* %71, i64 16
%75 = bitcast i8* %74 to <16 x i8>*
%76 = load <16 x i8>, <16 x i8>* %75
%77 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 %68
%78 = bitcast i8* %77 to <16 x i8>*
%79 = load <16 x i8>, <16 x i8>* %78
%80 = getelementptr inbounds i8, i8* %77, i64 16
%81 = bitcast i8* %80 to <16 x i8>*
%82 = load <16 x i8>, <16 x i8>* %81
%83 = xor <16 x i8> %79, %73
%84 = xor <16 x i8> %82, %76
%85 = bitcast i8* %77 to <16 x i8>*
store <16 x i8> %83, <16 x i8>* %85
%86 = bitcast i8* %80 to <16 x i8>*
store <16 x i8> %84, <16 x i8>* %86
br label %87
87: ; preds = %67, %70
%88 = icmp eq i64 %20, %15
br i1 %88, label %111, label %89
89: ; preds = %87
%90 = and i64 %15, 24
%91 = icmp eq i64 %90, 0
br i1 %91, label %109, label %92
92: ; preds = %17, %89
%93 = phi i64 [ %20, %89 ], [ 0, %17 ]
%94 = and i64 %15, 4294967288
br label %95
95: ; preds = %95, %92
%96 = phi i64 [ %93, %92 ], [ %105, %95 ]
%97 = getelementptr inbounds [128 x i8], [128 x i8]* %4, i64 0, i64 %96
%98 = bitcast i8* %97 to <8 x i8>*
%99 = load <8 x i8>, <8 x i8>* %98
%100 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 %96
%101 = bitcast i8* %100 to <8 x i8>*
%102 = load <8 x i8>, <8 x i8>* %101
%103 = xor <8 x i8> %102, %99
%104 = bitcast i8* %100 to <8 x i8>*
store <8 x i8> %103, <8 x i8>* %104
%105 = add nuw i64 %96, 8
%106 = icmp eq i64 %105, %94
br i1 %106, label %107, label %95
107: ; preds = %95
%108 = icmp eq i64 %94, %15
br i1 %108, label %111, label %109
109: ; preds = %14, %89, %107
%110 = phi i64 [ 0, %14 ], [ %20, %89 ], [ %94, %107 ]
br label %115
111: ; preds = %115, %107, %87
%112 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0))
br i1 %11, label %113, label %124
113: ; preds = %111
%114 = zext i32 %8 to i64
br label %225
115: ; preds = %109, %115
%116 = phi i64 [ %122, %115 ], [ %110, %109 ]
%117 = getelementptr inbounds [128 x i8], [128 x i8]* %4, i64 0, i64 %116
%118 = load i8, i8* %117
%119 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 %116
%120 = load i8, i8* %119
%121 = xor i8 %120, %118
store i8 %121, i8* %119
%122 = add nuw nsw i64 %116, 1
%123 = icmp eq i64 %122, %15
br i1 %123, label %111, label %115
124: ; preds = %12, %111
%125 = call i32 @putchar(i32 10)
br label %233
126: ; preds = %225
%127 = call i32 @putchar(i32 10)
br i1 %11, label %128, label %233
128: ; preds = %126
%129 = zext i32 %8 to i64
%130 = icmp ult i32 %8, 8
br i1 %130, label %223, label %131
131: ; preds = %128
%132 = icmp ult i32 %8, 32
br i1 %132, label %206, label %133
133: ; preds = %131
%134 = and i64 %15, 4294967264
%135 = add nsw i64 %134, -32
%136 = lshr exact i64 %135, 5
%137 = add nuw nsw i64 %136, 1
%138 = and i64 %137, 1
%139 = icmp eq i64 %135, 0
br i1 %139, label %181, label %140
140: ; preds = %133
%141 = and i64 %137, 1152921504606846974
br label %142
142: ; preds = %142, %140
%143 = phi i64 [ 0, %140 ], [ %178, %142 ]
%144 = phi i64 [ 0, %140 ], [ %179, %142 ]
%145 = getelementptr inbounds [128 x i8], [128 x i8]* %4, i64 0, i64 %143
%146 = bitcast i8* %145 to <16 x i8>*
%147 = load <16 x i8>, <16 x i8>* %146
%148 = getelementptr inbounds i8, i8* %145, i64 16
%149 = bitcast i8* %148 to <16 x i8>*
%150 = load <16 x i8>, <16 x i8>* %149
%151 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 %143
%152 = bitcast i8* %151 to <16 x i8>*
%153 = load <16 x i8>, <16 x i8>* %152
%154 = getelementptr inbounds i8, i8* %151, i64 16
%155 = bitcast i8* %154 to <16 x i8>*
%156 = load <16 x i8>, <16 x i8>* %155
%157 = xor <16 x i8> %153, %147
%158 = xor <16 x i8> %156, %150
%159 = bitcast i8* %151 to <16 x i8>*
store <16 x i8> %157, <16 x i8>* %159
%160 = bitcast i8* %154 to <16 x i8>*
store <16 x i8> %158, <16 x i8>* %160
%161 = or i64 %143, 32
%162 = getelementptr inbounds [128 x i8], [128 x i8]* %4, i64 0, i64 %161
%163 = bitcast i8* %162 to <16 x i8>*
%164 = load <16 x i8>, <16 x i8>* %163
%165 = getelementptr inbounds i8, i8* %162, i64 16
%166 = bitcast i8* %165 to <16 x i8>*
%167 = load <16 x i8>, <16 x i8>* %166
%168 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 %161
%169 = bitcast i8* %168 to <16 x i8>*
%170 = load <16 x i8>, <16 x i8>* %169
%171 = getelementptr inbounds i8, i8* %168, i64 16
%172 = bitcast i8* %171 to <16 x i8>*
%173 = load <16 x i8>, <16 x i8>* %172
%174 = xor <16 x i8> %170, %164
%175 = xor <16 x i8> %173, %167
%176 = bitcast i8* %168 to <16 x i8>*
store <16 x i8> %174, <16 x i8>* %176
%177 = bitcast i8* %171 to <16 x i8>*
store <16 x i8> %175, <16 x i8>* %177
%178 = add nuw i64 %143, 64
%179 = add i64 %144, 2
%180 = icmp eq i64 %179, %141
br i1 %180, label %181, label %142
181: ; preds = %142, %133
%182 = phi i64 [ 0, %133 ], [ %178, %142 ]
%183 = icmp eq i64 %138, 0
br i1 %183, label %201, label %184
184: ; preds = %181
%185 = getelementptr inbounds [128 x i8], [128 x i8]* %4, i64 0, i64 %182
%186 = bitcast i8* %185 to <16 x i8>*
%187 = load <16 x i8>, <16 x i8>* %186
%188 = getelementptr inbounds i8, i8* %185, i64 16
%189 = bitcast i8* %188 to <16 x i8>*
%190 = load <16 x i8>, <16 x i8>* %189
%191 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 %182
%192 = bitcast i8* %191 to <16 x i8>*
%193 = load <16 x i8>, <16 x i8>* %192
%194 = getelementptr inbounds i8, i8* %191, i64 16
%195 = bitcast i8* %194 to <16 x i8>*
%196 = load <16 x i8>, <16 x i8>* %195
%197 = xor <16 x i8> %193, %187
%198 = xor <16 x i8> %196, %190
%199 = bitcast i8* %191 to <16 x i8>*
store <16 x i8> %197, <16 x i8>* %199
%200 = bitcast i8* %194 to <16 x i8>*
store <16 x i8> %198, <16 x i8>* %200
br label %201
201: ; preds = %181, %184
%202 = icmp eq i64 %134, %15
br i1 %202, label %233, label %203
203: ; preds = %201
%204 = and i64 %15, 24
%205 = icmp eq i64 %204, 0
br i1 %205, label %223, label %206
206: ; preds = %131, %203
%207 = phi i64 [ %134, %203 ], [ 0, %131 ]
%208 = and i64 %15, 4294967288
br label %209
209: ; preds = %209, %206
%210 = phi i64 [ %207, %206 ], [ %219, %209 ]
%211 = getelementptr inbounds [128 x i8], [128 x i8]* %4, i64 0, i64 %210
%212 = bitcast i8* %211 to <8 x i8>*
%213 = load <8 x i8>, <8 x i8>* %212
%214 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 %210
%215 = bitcast i8* %214 to <8 x i8>*
%216 = load <8 x i8>, <8 x i8>* %215
%217 = xor <8 x i8> %216, %213
%218 = bitcast i8* %214 to <8 x i8>*
store <8 x i8> %217, <8 x i8>* %218
%219 = add nuw i64 %210, 8
%220 = icmp eq i64 %219, %208
br i1 %220, label %221, label %209
221: ; preds = %209
%222 = icmp eq i64 %208, %15
br i1 %222, label %233, label %223
223: ; preds = %128, %203, %221
%224 = phi i64 [ 0, %128 ], [ %134, %203 ], [ %208, %221 ]
br label %236
225: ; preds = %113, %225
%226 = phi i64 [ 0, %113 ], [ %231, %225 ]
%227 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 %226
%228 = load i8, i8* %227
%229 = sext i8 %228 to i32
%230 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i32 %229)
%231 = add nuw nsw i64 %226, 1
%232 = icmp eq i64 %231, %114
br i1 %232, label %126, label %225
233: ; preds = %236, %201, %221, %124, %126
%234 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i32 %8, i8* %5)
%235 = call i32 (i8*, ...) bitcast (i32 (...)* @system to i32 (i8*, ...)*)(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
ret i32 0
236: ; preds = %223, %236
%237 = phi i64 [ %243, %236 ], [ %224, %223 ]
%238 = getelementptr inbounds [128 x i8], [128 x i8]* %4, i64 0, i64 %237
%239 = load i8, i8* %238
%240 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 %237
%241 = load i8, i8* %240
%242 = xor i8 %241, %239
store i8 %242, i8* %240
%243 = add nuw nsw i64 %237, 1
%244 = icmp eq i64 %243, %129
br i1 %244, label %233, label %236
}