#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int EOF;
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fscanf(int /*<<< orphan*/ *, char *, unsigned int *);
int getchar();
int /*<<< orphan*/ putchar(unsigned char);
int main(int argc, char *argv[]) {
  unsigned int target_map[0x100];
  unsigned int source_map[0x100];
  unsigned char xlt[0x100];
  unsigned int ucs2_map[0x10000];
  FILE *f;
  int i;
  int c;
  f = fopen(argv[1], "r");
  for (i = 0; i < 0x100; i++)
    fscanf(f, "%x", source_map + i);
  fclose(f);
  f = fopen(argv[2], "r");
  for (i = 0; i < 0x100; i++)
    fscanf(f, "%x", target_map + i);
  fclose(f);
  for (i = 0; i < 0x100; i++)
    xlt[i] = (unsigned char)i;
  for (i = 0; i < 0x10000; i++)
    ucs2_map[i] = 0xffff;
  for (i = 0xff; i >= 0; i--) {
    if (target_map[i] != 0xffff)
      ucs2_map[target_map[i]] = (unsigned int)i;
  }
  for (i = 0xff; i >= 0; i--) {
    if (source_map[i] != 0xffff && ucs2_map[source_map[i]] != 0xffff)
      xlt[i] = (unsigned char)ucs2_map[source_map[i]];
  }
  while ((c = getchar()) != EOF)
    putchar(xlt[c]);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40920,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe88(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,-0x40918(%rbp)
movl   $0x0,-0x4091c(%rbp)
cmpl   $0x100,-0x4091c(%rbp)
jge    11da <main+0x8a>
mov    -0x40918(%rbp),%rdi
lea    -0x810(%rbp),%rdx
movslq -0x4091c(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rdx
lea    0xe41(%rip),%rsi
call   1050 <fscanf@plt>
mov    -0x4091c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4091c(%rbp)
jmp    118e <main+0x3e>
mov    -0x40918(%rbp),%rdi
call   1040 <fclose@plt>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    0xe0b(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,-0x40918(%rbp)
movl   $0x0,-0x4091c(%rbp)
cmpl   $0x100,-0x4091c(%rbp)
jge    1257 <main+0x107>
mov    -0x40918(%rbp),%rdi
lea    -0x410(%rbp),%rdx
movslq -0x4091c(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rdx
lea    0xdc4(%rip),%rsi
call   1050 <fscanf@plt>
mov    -0x4091c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4091c(%rbp)
jmp    120b <main+0xbb>
mov    -0x40918(%rbp),%rdi
call   1040 <fclose@plt>
movl   $0x0,-0x4091c(%rbp)
cmpl   $0x100,-0x4091c(%rbp)
jge    12a7 <main+0x157>
mov    -0x4091c(%rbp),%eax
mov    %al,%cl
movslq -0x4091c(%rbp),%rax
mov    %cl,-0x910(%rbp,%rax,1)
mov    -0x4091c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4091c(%rbp)
jmp    126d <main+0x11d>
movl   $0x0,-0x4091c(%rbp)
cmpl   $0x10000,-0x4091c(%rbp)
jge    12e7 <main+0x197>
movslq -0x4091c(%rbp),%rax
movl   $0xffff,-0x40910(%rbp,%rax,4)
mov    -0x4091c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4091c(%rbp)
jmp    12b1 <main+0x161>
movl   $0xff,-0x4091c(%rbp)
cmpl   $0x0,-0x4091c(%rbp)
jl     134a <main+0x1fa>
movslq -0x4091c(%rbp),%rax
cmpl   $0xffff,-0x410(%rbp,%rax,4)
je     1331 <main+0x1e1>
mov    -0x4091c(%rbp),%ecx
movslq -0x4091c(%rbp),%rax
mov    -0x410(%rbp,%rax,4),%eax
mov    %ecx,-0x40910(%rbp,%rax,4)
jmp    1336 <main+0x1e6>
mov    -0x4091c(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x4091c(%rbp)
jmp    12f1 <main+0x1a1>
movl   $0xff,-0x4091c(%rbp)
cmpl   $0x0,-0x4091c(%rbp)
jl     13d6 <main+0x286>
movslq -0x4091c(%rbp),%rax
cmpl   $0xffff,-0x810(%rbp,%rax,4)
je     13bd <main+0x26d>
movslq -0x4091c(%rbp),%rax
mov    -0x810(%rbp,%rax,4),%eax
cmpl   $0xffff,-0x40910(%rbp,%rax,4)
je     13bd <main+0x26d>
movslq -0x4091c(%rbp),%rax
mov    -0x810(%rbp,%rax,4),%eax
mov    -0x40910(%rbp,%rax,4),%eax
mov    %al,%cl
movslq -0x4091c(%rbp),%rax
mov    %cl,-0x910(%rbp,%rax,1)
jmp    13c2 <main+0x272>
mov    -0x4091c(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x4091c(%rbp)
jmp    1354 <main+0x204>
jmp    13db <main+0x28b>
mov    $0x0,%al
call   1060 <getchar@plt>
mov    %eax,-0x40920(%rbp)
mov    0x2bf9(%rip),%rcx
cmp    (%rcx),%eax
je     1410 <main+0x2c0>
movslq -0x40920(%rbp),%rax
movzbl -0x910(%rbp,%rax,1),%edi
ff
call   1030 <putchar@plt>
jmp    13db <main+0x28b>
xor    %eax,%eax
add    $0x40920,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x40908,%rsp
mov    %rsi,%r14
mov    0x8(%rsi),%rdi
lea    0xfa4(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,%r12
xor    %ebx,%ebx
lea    0xf95(%rip),%r15
nopl   (%rax)
lea    (%rsp,%rbx,1),%rdx
add    $0x100,%rdx
mov    %r12,%rdi
mov    %r15,%rsi
call   1050 <fscanf@plt>
add    $0x4,%rbx
cmp    $0x400,%rbx
jne    1180 <main+0x30>
mov    %r12,%rdi
call   1040 <fclose@plt>
mov    0x10(%r14),%rdi
lea    0xf5a(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,%r15
xor    %ebx,%ebx
lea    0xf4b(%rip),%r14
nopw   0x0(%rax,%rax,1)
lea    (%rsp,%rbx,1),%rdx
add    $0x500,%rdx
mov    %r15,%rdi
mov    %r14,%rsi
call   1050 <fscanf@plt>
add    $0x4,%rbx
cmp    $0x400,%rbx
jne    11d0 <main+0x80>
mov    %r15,%rdi
call   1040 <fclose@plt>
movaps 0xdfe(%rip),%xmm0
movaps %xmm0,(%rsp)
movaps 0xe03(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xe07(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0xe0b(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0xe0f(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0xe13(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps 0xe17(%rip),%xmm0
movaps %xmm0,0x60(%rsp)
movaps 0xe1b(%rip),%xmm0
movaps %xmm0,0x70(%rsp)
movaps 0xe1f(%rip),%xmm0
movaps %xmm0,0x80(%rsp)
movaps 0xe20(%rip),%xmm0
movaps %xmm0,0x90(%rsp)
movaps 0xe21(%rip),%xmm0
movaps %xmm0,0xa0(%rsp)
movaps 0xe22(%rip),%xmm0
movaps %xmm0,0xb0(%rsp)
movaps 0xe23(%rip),%xmm0
movaps %xmm0,0xc0(%rsp)
movaps 0xe24(%rip),%xmm0
movaps %xmm0,0xd0(%rsp)
movaps 0xe25(%rip),%xmm0
movaps %xmm0,0xe0(%rsp)
movaps 0xe26(%rip),%xmm0
movaps %xmm0,0xf0(%rsp)
xor    %eax,%eax
movaps 0xe25(%rip),%xmm0
nopl   0x0(%rax,%rax,1)
movaps %xmm0,0x900(%rsp,%rax,4)
movaps %xmm0,0x910(%rsp,%rax,4)
movaps %xmm0,0x920(%rsp,%rax,4)
movaps %xmm0,0x930(%rsp,%rax,4)
movaps %xmm0,0x940(%rsp,%rax,4)
movaps %xmm0,0x950(%rsp,%rax,4)
movaps %xmm0,0x960(%rsp,%rax,4)
movaps %xmm0,0x970(%rsp,%rax,4)
movaps %xmm0,0x980(%rsp,%rax,4)
movaps %xmm0,0x990(%rsp,%rax,4)
movaps %xmm0,0x9a0(%rsp,%rax,4)
movaps %xmm0,0x9b0(%rsp,%rax,4)
movaps %xmm0,0x9c0(%rsp,%rax,4)
movaps %xmm0,0x9d0(%rsp,%rax,4)
movaps %xmm0,0x9e0(%rsp,%rax,4)
movaps %xmm0,0x9f0(%rsp,%rax,4)
add    $0x40,%rax
cmp    $0x10000,%rax
jne    12e0 <main+0x190>
mov    $0xff,%eax
mov    $0xfe,%ecx
jmp    138e <main+0x23e>
nopl   0x0(%rax)
add    $0xfffffffffffffffe,%rax
add    $0xfffffffffffffffe,%rcx
cmp    $0xfffffffffffffffe,%rcx
je     13be <main+0x26e>
mov    0x500(%rsp,%rax,4),%edx
cmp    $0xffff,%rdx
je     13a5 <main+0x255>
mov    %eax,0x900(%rsp,%rdx,4)
mov    0x4fc(%rsp,%rax,4),%edx
cmp    $0xffff,%rdx
je     1380 <main+0x230>
mov    %ecx,0x900(%rsp,%rdx,4)
jmp    1380 <main+0x230>
mov    $0xfe,%eax
jmp    13da <main+0x28a>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0xfffffffffffffffe,%rax
cmp    $0xfffffffffffffffe,%rax
je     1421 <main+0x2d1>
mov    0x104(%rsp,%rax,4),%ecx
cmp    $0xffff,%rcx
je     13fd <main+0x2ad>
mov    0x900(%rsp,%rcx,4),%ecx
cmp    $0xffff,%ecx
je     13fd <main+0x2ad>
mov    %cl,0x1(%rsp,%rax,1)
mov    0x100(%rsp,%rax,4),%ecx
cmp    $0xffff,%rcx
je     13d0 <main+0x280>
mov    0x900(%rsp,%rcx,4),%ecx
cmp    $0xffff,%ecx
je     13d0 <main+0x280>
mov    %cl,(%rsp,%rax,1)
jmp    13d0 <main+0x280>
xor    %eax,%eax
call   1060 <getchar@plt>
mov    0x2bb9(%rip),%rbx
cmp    (%rbx),%eax
je     1456 <main+0x306>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
cltq
movzbl (%rsp,%rax,1),%edi
call   1030 <putchar@plt>
xor    %eax,%eax
call   1060 <getchar@plt>
cmp    (%rbx),%eax
jne    1440 <main+0x2f0>
xor    %eax,%eax
add    $0x40908,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [2 x i8] c"r\00"
@.str.1 = [3 x i8] c"%x\00"
@EOF = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [256 x i32]
%7 = alloca [256 x i32]
%8 = alloca [256 x i8]
%9 = alloca [65536 x i32]
%10 = alloca i32*
%11 = alloca i32
%12 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%13 = load i8**, i8*** %5
%14 = getelementptr inbounds i8*, i8** %13, i64 1
%15 = load i8*, i8** %14
%16 = call i32* @fopen(i8* %15, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32* %16, i32** %10
store i32 0, i32* %11
br label %17
17: ; preds = %27, %2
%18 = load i32, i32* %11
%19 = icmp slt i32 %18, 256
br i1 %19, label %20, label %30
20: ; preds = %17
%21 = load i32*, i32** %10
%22 = getelementptr inbounds [256 x i32], [256 x i32]* %7, i64 0, i64 0
%23 = load i32, i32* %11
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, i32* %22, i64 %24
%26 = call i32 @fscanf(i32* %21, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %25)
br label %27
27: ; preds = %20
%28 = load i32, i32* %11
%29 = add nsw i32 %28, 1
store i32 %29, i32* %11
br label %17
30: ; preds = %17
%31 = load i32*, i32** %10
%32 = call i32 @fclose(i32* %31)
%33 = load i8**, i8*** %5
%34 = getelementptr inbounds i8*, i8** %33, i64 2
%35 = load i8*, i8** %34
%36 = call i32* @fopen(i8* %35, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32* %36, i32** %10
store i32 0, i32* %11
br label %37
37: ; preds = %47, %30
%38 = load i32, i32* %11
%39 = icmp slt i32 %38, 256
br i1 %39, label %40, label %50
40: ; preds = %37
%41 = load i32*, i32** %10
%42 = getelementptr inbounds [256 x i32], [256 x i32]* %6, i64 0, i64 0
%43 = load i32, i32* %11
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, i32* %42, i64 %44
%46 = call i32 @fscanf(i32* %41, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %45)
br label %47
47: ; preds = %40
%48 = load i32, i32* %11
%49 = add nsw i32 %48, 1
store i32 %49, i32* %11
br label %37
50: ; preds = %37
%51 = load i32*, i32** %10
%52 = call i32 @fclose(i32* %51)
store i32 0, i32* %11
br label %53
53: ; preds = %62, %50
%54 = load i32, i32* %11
%55 = icmp slt i32 %54, 256
br i1 %55, label %56, label %65
56: ; preds = %53
%57 = load i32, i32* %11
%58 = trunc i32 %57 to i8
%59 = load i32, i32* %11
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [256 x i8], [256 x i8]* %8, i64 0, i64 %60
store i8 %58, i8* %61
br label %62
62: ; preds = %56
%63 = load i32, i32* %11
%64 = add nsw i32 %63, 1
store i32 %64, i32* %11
br label %53
65: ; preds = %53
store i32 0, i32* %11
br label %66
66: ; preds = %73, %65
%67 = load i32, i32* %11
%68 = icmp slt i32 %67, 65536
br i1 %68, label %69, label %76
69: ; preds = %66
%70 = load i32, i32* %11
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [65536 x i32], [65536 x i32]* %9, i64 0, i64 %71
store i32 65535, i32* %72
br label %73
73: ; preds = %69
%74 = load i32, i32* %11
%75 = add nsw i32 %74, 1
store i32 %75, i32* %11
br label %66
76: ; preds = %66
store i32 255, i32* %11
br label %77
77: ; preds = %95, %76
%78 = load i32, i32* %11
%79 = icmp sge i32 %78, 0
br i1 %79, label %80, label %98
80: ; preds = %77
%81 = load i32, i32* %11
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [256 x i32], [256 x i32]* %6, i64 0, i64 %82
%84 = load i32, i32* %83
%85 = icmp ne i32 %84, 65535
br i1 %85, label %86, label %94
86: ; preds = %80
%87 = load i32, i32* %11
%88 = load i32, i32* %11
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [256 x i32], [256 x i32]* %6, i64 0, i64 %89
%91 = load i32, i32* %90
%92 = zext i32 %91 to i64
%93 = getelementptr inbounds [65536 x i32], [65536 x i32]* %9, i64 0, i64 %92
store i32 %87, i32* %93
br label %94
94: ; preds = %86, %80
br label %95
95: ; preds = %94
%96 = load i32, i32* %11
%97 = add nsw i32 %96, -1
store i32 %97, i32* %11
br label %77
98: ; preds = %77
store i32 255, i32* %11
br label %99
99: ; preds = %130, %98
%100 = load i32, i32* %11
%101 = icmp sge i32 %100, 0
br i1 %101, label %102, label %133
102: ; preds = %99
%103 = load i32, i32* %11
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [256 x i32], [256 x i32]* %7, i64 0, i64 %104
%106 = load i32, i32* %105
%107 = icmp ne i32 %106, 65535
br i1 %107, label %108, label %129
108: ; preds = %102
%109 = load i32, i32* %11
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [256 x i32], [256 x i32]* %7, i64 0, i64 %110
%112 = load i32, i32* %111
%113 = zext i32 %112 to i64
%114 = getelementptr inbounds [65536 x i32], [65536 x i32]* %9, i64 0, i64 %113
%115 = load i32, i32* %114
%116 = icmp ne i32 %115, 65535
br i1 %116, label %117, label %129
117: ; preds = %108
%118 = load i32, i32* %11
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [256 x i32], [256 x i32]* %7, i64 0, i64 %119
%121 = load i32, i32* %120
%122 = zext i32 %121 to i64
%123 = getelementptr inbounds [65536 x i32], [65536 x i32]* %9, i64 0, i64 %122
%124 = load i32, i32* %123
%125 = trunc i32 %124 to i8
%126 = load i32, i32* %11
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [256 x i8], [256 x i8]* %8, i64 0, i64 %127
store i8 %125, i8* %128
br label %129
129: ; preds = %117, %108, %102
br label %130
130: ; preds = %129
%131 = load i32, i32* %11
%132 = add nsw i32 %131, -1
store i32 %132, i32* %11
br label %99
133: ; preds = %99
br label %134
134: ; preds = %138, %133
%135 = call i32 (...) @getchar()
store i32 %135, i32* %12
%136 = load i32, i32* @EOF
%137 = icmp ne i32 %135, %136
br i1 %137, label %138, label %144
138: ; preds = %134
%139 = load i32, i32* %12
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [256 x i8], [256 x i8]* %8, i64 0, i64 %140
%142 = load i8, i8* %141
%143 = call i32 @putchar(i8 zeroext %142)
br label %134
144: ; preds = %134
ret i32 0
}

LLVM IR (-O2):
@.str = [2 x i8] c"r\00"
@.str.1 = [3 x i8] c"%x\00"
@EOF = global i32 0
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [256 x i32]
%4 = alloca [256 x i32]
%5 = alloca [256 x i8]
%6 = alloca [65536 x i32]
%7 = bitcast [256 x i32]* %3 to i8*
%8 = bitcast [256 x i32]* %4 to i8*
%9 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 0
%10 = bitcast [65536 x i32]* %6 to i8*
%11 = getelementptr inbounds i8*, i8** %1, i64 1
%12 = load i8*, i8** %11
%13 = tail call i32* @fopen(i8* %12, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %14
14: ; preds = %2, %14
%15 = phi i64 [ 0, %2 ], [ %18, %14 ]
%16 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %15
%17 = call i32 @fscanf(i32* %13, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %16)
%18 = add nuw nsw i64 %15, 1
%19 = icmp eq i64 %18, 256
br i1 %19, label %20, label %14
20: ; preds = %14
%21 = call i32 @fclose(i32* %13)
%22 = getelementptr inbounds i8*, i8** %1, i64 2
%23 = load i8*, i8** %22
%24 = call i32* @fopen(i8* %23, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %25
25: ; preds = %20, %25
%26 = phi i64 [ 0, %20 ], [ %29, %25 ]
%27 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %26
%28 = call i32 @fscanf(i32* %24, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %27)
%29 = add nuw nsw i64 %26, 1
%30 = icmp eq i64 %29, 256
br i1 %30, label %31, label %25
31: ; preds = %25
%32 = call i32 @fclose(i32* %24)
%33 = bitcast [256 x i8]* %5 to <16 x i8>*
store <16 x i8> <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 8, i8 9, i8 10, i8 11, i8 12, i8 13, i8 14, i8 15>, <16 x i8>* %33
%34 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 16
%35 = bitcast i8* %34 to <16 x i8>*
store <16 x i8> <i8 16, i8 17, i8 18, i8 19, i8 20, i8 21, i8 22, i8 23, i8 24, i8 25, i8 26, i8 27, i8 28, i8 29, i8 30, i8 31>, <16 x i8>* %35
%36 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 32
%37 = bitcast i8* %36 to <16 x i8>*
store <16 x i8> <i8 32, i8 33, i8 34, i8 35, i8 36, i8 37, i8 38, i8 39, i8 40, i8 41, i8 42, i8 43, i8 44, i8 45, i8 46, i8 47>, <16 x i8>* %37
%38 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 48
%39 = bitcast i8* %38 to <16 x i8>*
store <16 x i8> <i8 48, i8 49, i8 50, i8 51, i8 52, i8 53, i8 54, i8 55, i8 56, i8 57, i8 58, i8 59, i8 60, i8 61, i8 62, i8 63>, <16 x i8>* %39
%40 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 64
%41 = bitcast i8* %40 to <16 x i8>*
store <16 x i8> <i8 64, i8 65, i8 66, i8 67, i8 68, i8 69, i8 70, i8 71, i8 72, i8 73, i8 74, i8 75, i8 76, i8 77, i8 78, i8 79>, <16 x i8>* %41
%42 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 80
%43 = bitcast i8* %42 to <16 x i8>*
store <16 x i8> <i8 80, i8 81, i8 82, i8 83, i8 84, i8 85, i8 86, i8 87, i8 88, i8 89, i8 90, i8 91, i8 92, i8 93, i8 94, i8 95>, <16 x i8>* %43
%44 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 96
%45 = bitcast i8* %44 to <16 x i8>*
store <16 x i8> <i8 96, i8 97, i8 98, i8 99, i8 100, i8 101, i8 102, i8 103, i8 104, i8 105, i8 106, i8 107, i8 108, i8 109, i8 110, i8 111>, <16 x i8>* %45
%46 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 112
%47 = bitcast i8* %46 to <16 x i8>*
store <16 x i8> <i8 112, i8 113, i8 114, i8 115, i8 116, i8 117, i8 118, i8 119, i8 120, i8 121, i8 122, i8 123, i8 124, i8 125, i8 126, i8 127>, <16 x i8>* %47
%48 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 128
%49 = bitcast i8* %48 to <16 x i8>*
store <16 x i8> <i8 -128, i8 -127, i8 -126, i8 -125, i8 -124, i8 -123, i8 -122, i8 -121, i8 -120, i8 -119, i8 -118, i8 -117, i8 -116, i8 -115, i8 -114, i8 -113>, <16 x i8>* %49
%50 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 144
%51 = bitcast i8* %50 to <16 x i8>*
store <16 x i8> <i8 -112, i8 -111, i8 -110, i8 -109, i8 -108, i8 -107, i8 -106, i8 -105, i8 -104, i8 -103, i8 -102, i8 -101, i8 -100, i8 -99, i8 -98, i8 -97>, <16 x i8>* %51
%52 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 160
%53 = bitcast i8* %52 to <16 x i8>*
store <16 x i8> <i8 -96, i8 -95, i8 -94, i8 -93, i8 -92, i8 -91, i8 -90, i8 -89, i8 -88, i8 -87, i8 -86, i8 -85, i8 -84, i8 -83, i8 -82, i8 -81>, <16 x i8>* %53
%54 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 176
%55 = bitcast i8* %54 to <16 x i8>*
store <16 x i8> <i8 -80, i8 -79, i8 -78, i8 -77, i8 -76, i8 -75, i8 -74, i8 -73, i8 -72, i8 -71, i8 -70, i8 -69, i8 -68, i8 -67, i8 -66, i8 -65>, <16 x i8>* %55
%56 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 192
%57 = bitcast i8* %56 to <16 x i8>*
store <16 x i8> <i8 -64, i8 -63, i8 -62, i8 -61, i8 -60, i8 -59, i8 -58, i8 -57, i8 -56, i8 -55, i8 -54, i8 -53, i8 -52, i8 -51, i8 -50, i8 -49>, <16 x i8>* %57
%58 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 208
%59 = bitcast i8* %58 to <16 x i8>*
store <16 x i8> <i8 -48, i8 -47, i8 -46, i8 -45, i8 -44, i8 -43, i8 -42, i8 -41, i8 -40, i8 -39, i8 -38, i8 -37, i8 -36, i8 -35, i8 -34, i8 -33>, <16 x i8>* %59
%60 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 224
%61 = bitcast i8* %60 to <16 x i8>*
store <16 x i8> <i8 -32, i8 -31, i8 -30, i8 -29, i8 -28, i8 -27, i8 -26, i8 -25, i8 -24, i8 -23, i8 -22, i8 -21, i8 -20, i8 -19, i8 -18, i8 -17>, <16 x i8>* %61
%62 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 240
%63 = bitcast i8* %62 to <16 x i8>*
store <16 x i8> <i8 -16, i8 -15, i8 -14, i8 -13, i8 -12, i8 -11, i8 -10, i8 -9, i8 -8, i8 -7, i8 -6, i8 -5, i8 -4, i8 -3, i8 -2, i8 -1>, <16 x i8>* %63
br label %64
64: ; preds = %64, %31
%65 = phi i64 [ 0, %31 ], [ %105, %64 ]
%66 = getelementptr inbounds [65536 x i32], [65536 x i32]* %6, i64 0, i64 %65
%67 = bitcast i32* %66 to <4 x i32>*
store <4 x i32> <i32 65535, i32 65535, i32 65535, i32 65535>, <4 x i32>* %67
%68 = getelementptr inbounds i32, i32* %66, i64 4
%69 = bitcast i32* %68 to <4 x i32>*
store <4 x i32> <i32 65535, i32 65535, i32 65535, i32 65535>, <4 x i32>* %69
%70 = or i64 %65, 8
%71 = getelementptr inbounds [65536 x i32], [65536 x i32]* %6, i64 0, i64 %70
%72 = bitcast i32* %71 to <4 x i32>*
store <4 x i32> <i32 65535, i32 65535, i32 65535, i32 65535>, <4 x i32>* %72
%73 = getelementptr inbounds i32, i32* %71, i64 4
%74 = bitcast i32* %73 to <4 x i32>*
store <4 x i32> <i32 65535, i32 65535, i32 65535, i32 65535>, <4 x i32>* %74
%75 = or i64 %65, 16
%76 = getelementptr inbounds [65536 x i32], [65536 x i32]* %6, i64 0, i64 %75
%77 = bitcast i32* %76 to <4 x i32>*
store <4 x i32> <i32 65535, i32 65535, i32 65535, i32 65535>, <4 x i32>* %77
%78 = getelementptr inbounds i32, i32* %76, i64 4
%79 = bitcast i32* %78 to <4 x i32>*
store <4 x i32> <i32 65535, i32 65535, i32 65535, i32 65535>, <4 x i32>* %79
%80 = or i64 %65, 24
%81 = getelementptr inbounds [65536 x i32], [65536 x i32]* %6, i64 0, i64 %80
%82 = bitcast i32* %81 to <4 x i32>*
store <4 x i32> <i32 65535, i32 65535, i32 65535, i32 65535>, <4 x i32>* %82
%83 = getelementptr inbounds i32, i32* %81, i64 4
%84 = bitcast i32* %83 to <4 x i32>*
store <4 x i32> <i32 65535, i32 65535, i32 65535, i32 65535>, <4 x i32>* %84
%85 = or i64 %65, 32
%86 = getelementptr inbounds [65536 x i32], [65536 x i32]* %6, i64 0, i64 %85
%87 = bitcast i32* %86 to <4 x i32>*
store <4 x i32> <i32 65535, i32 65535, i32 65535, i32 65535>, <4 x i32>* %87
%88 = getelementptr inbounds i32, i32* %86, i64 4
%89 = bitcast i32* %88 to <4 x i32>*
store <4 x i32> <i32 65535, i32 65535, i32 65535, i32 65535>, <4 x i32>* %89
%90 = or i64 %65, 40
%91 = getelementptr inbounds [65536 x i32], [65536 x i32]* %6, i64 0, i64 %90
%92 = bitcast i32* %91 to <4 x i32>*
store <4 x i32> <i32 65535, i32 65535, i32 65535, i32 65535>, <4 x i32>* %92
%93 = getelementptr inbounds i32, i32* %91, i64 4
%94 = bitcast i32* %93 to <4 x i32>*
store <4 x i32> <i32 65535, i32 65535, i32 65535, i32 65535>, <4 x i32>* %94
%95 = or i64 %65, 48
%96 = getelementptr inbounds [65536 x i32], [65536 x i32]* %6, i64 0, i64 %95
%97 = bitcast i32* %96 to <4 x i32>*
store <4 x i32> <i32 65535, i32 65535, i32 65535, i32 65535>, <4 x i32>* %97
%98 = getelementptr inbounds i32, i32* %96, i64 4
%99 = bitcast i32* %98 to <4 x i32>*
store <4 x i32> <i32 65535, i32 65535, i32 65535, i32 65535>, <4 x i32>* %99
%100 = or i64 %65, 56
%101 = getelementptr inbounds [65536 x i32], [65536 x i32]* %6, i64 0, i64 %100
%102 = bitcast i32* %101 to <4 x i32>*
store <4 x i32> <i32 65535, i32 65535, i32 65535, i32 65535>, <4 x i32>* %102
%103 = getelementptr inbounds i32, i32* %101, i64 4
%104 = bitcast i32* %103 to <4 x i32>*
store <4 x i32> <i32 65535, i32 65535, i32 65535, i32 65535>, <4 x i32>* %104
%105 = add nuw nsw i64 %65, 64
%106 = icmp eq i64 %105, 65536
br i1 %106, label %107, label %64
107: ; preds = %64, %125
%108 = phi i64 [ %126, %125 ], [ 255, %64 ]
%109 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %108
%110 = load i32, i32* %109
%111 = icmp eq i32 %110, 65535
br i1 %111, label %116, label %112
112: ; preds = %107
%113 = zext i32 %110 to i64
%114 = getelementptr inbounds [65536 x i32], [65536 x i32]* %6, i64 0, i64 %113
%115 = trunc i64 %108 to i32
store i32 %115, i32* %114
br label %116
116: ; preds = %107, %112
%117 = add nsw i64 %108, -1
%118 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %117
%119 = load i32, i32* %118
%120 = icmp eq i32 %119, 65535
br i1 %120, label %125, label %121
121: ; preds = %116
%122 = zext i32 %119 to i64
%123 = getelementptr inbounds [65536 x i32], [65536 x i32]* %6, i64 0, i64 %122
%124 = trunc i64 %117 to i32
store i32 %124, i32* %123
br label %125
125: ; preds = %121, %116
%126 = add nsw i64 %108, -2
%127 = icmp eq i64 %117, 0
br i1 %127, label %132, label %107
128: ; preds = %158
%129 = call i32 (...) @getchar()
%130 = load i32, i32* @EOF
%131 = icmp eq i32 %129, %130
br i1 %131, label %170, label %161
132: ; preds = %125, %158
%133 = phi i64 [ %159, %158 ], [ 255, %125 ]
%134 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %133
%135 = load i32, i32* %134
%136 = icmp eq i32 %135, 65535
br i1 %136, label %145, label %137
137: ; preds = %132
%138 = zext i32 %135 to i64
%139 = getelementptr inbounds [65536 x i32], [65536 x i32]* %6, i64 0, i64 %138
%140 = load i32, i32* %139
%141 = icmp eq i32 %140, 65535
br i1 %141, label %145, label %142
142: ; preds = %137
%143 = trunc i32 %140 to i8
%144 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 %133
store i8 %143, i8* %144
br label %145
145: ; preds = %132, %137, %142
%146 = add nsw i64 %133, -1
%147 = getelementptr inbounds [256 x i32], [256 x i32]* %4, i64 0, i64 %146
%148 = load i32, i32* %147
%149 = icmp eq i32 %148, 65535
br i1 %149, label %158, label %150
150: ; preds = %145
%151 = zext i32 %148 to i64
%152 = getelementptr inbounds [65536 x i32], [65536 x i32]* %6, i64 0, i64 %151
%153 = load i32, i32* %152
%154 = icmp eq i32 %153, 65535
br i1 %154, label %158, label %155
155: ; preds = %150
%156 = trunc i32 %153 to i8
%157 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 %146
store i8 %156, i8* %157
br label %158
158: ; preds = %155, %150, %145
%159 = add nsw i64 %133, -2
%160 = icmp eq i64 %146, 0
br i1 %160, label %128, label %132
161: ; preds = %128, %161
%162 = phi i32 [ %167, %161 ], [ %129, %128 ]
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 %163
%165 = load i8, i8* %164
%166 = call i32 @putchar(i8 zeroext %165)
%167 = call i32 (...) @getchar()
%168 = load i32, i32* @EOF
%169 = icmp eq i32 %167, %168
br i1 %169, label %170, label %161
170: ; preds = %161, %128
ret i32 0
}