#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*/ cryptl(char *, char *);
void setup(char *pw, char *t1, char *t2, char *t3, char *buf, char *deck,
           long *seed) {
  int ic, i, k, temp;
  unsigned random;
  buf[0] = pw[0];
  buf[1] = pw[1];
  buf[2] = 0;
  cryptl(pw, buf);
  for (i = 0; i < 13; i++)
    buf[i] = pw[i];
  *seed = 123;
  for (i = 0; i < 13; i++)
    *seed = *seed * buf[i] + i;
  for (i = 0; i < 256; i++) {
    t1[i] = i;
    deck[i] = i;
  }
  for (i = 0; i < 256; i++) {
    *seed = 5 * *seed + buf[i % 13];
    if (sizeof(long) > 4) {
      if (*seed & 0x80000000)
        *seed = *seed | (-1L & ~0xFFFFFFFFL);
      else
        *seed &= 0x7FFFFFFF;
    }
    random = *seed % 65521;
    k = 256 - 1 - i;
    ic = (random & 0377) % (k + 1);
    random >>= 8;
    temp = t1[k];
    t1[k] = t1[ic];
    t1[ic] = temp;
    if (t3[k] != 0)
      continue;
    ic = (random & 0377) % k;
    while (t3[ic] != 0)
      ic = (ic + 1) % k;
    t3[k] = ic;
    t3[ic] = k;
  }
  for (i = 0; i < 256; i++)
    t2[t1[i] & 0377] = i;
}


x86 assembly (clang, -O0):
<setup>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%cl
mov    -0x28(%rbp),%rax
mov    %cl,(%rax)
mov    -0x8(%rbp),%rax
mov    0x1(%rax),%cl
mov    -0x28(%rbp),%rax
mov    %cl,0x1(%rax)
mov    -0x28(%rbp),%rax
movb   $0x0,0x2(%rax)
mov    -0x8(%rbp),%rdi
mov    -0x28(%rbp),%rsi
call   1030 <cryptl@plt>
movl   $0x0,-0x38(%rbp)
cmpl   $0xd,-0x38(%rbp)
jge    1198 <setup+0x88>
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,1),%dl
mov    -0x28(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    116a <setup+0x5a>
mov    0x10(%rbp),%rax
movq   $0x7b,(%rax)
movl   $0x0,-0x38(%rbp)
cmpl   $0xd,-0x38(%rbp)
jge    11e8 <setup+0xd8>
mov    0x10(%rbp),%rax
mov    (%rax),%rcx
mov    -0x28(%rbp),%rax
movslq -0x38(%rbp),%rdx
movsbq (%rax,%rdx,1),%rax
imul   %rax,%rcx
movslq -0x38(%rbp),%rax
add    %rax,%rcx
mov    0x10(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    11aa <setup+0x9a>
movl   $0x0,-0x38(%rbp)
cmpl   $0x100,-0x38(%rbp)
jge    122a <setup+0x11a>
mov    -0x38(%rbp),%eax
mov    %al,%dl
mov    -0x10(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x38(%rbp),%eax
mov    %al,%dl
mov    -0x30(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    11ef <setup+0xdf>
movl   $0x0,-0x38(%rbp)
cmpl   $0x100,-0x38(%rbp)
jge    13ab <setup+0x29b>
mov    0x10(%rbp),%rax
imul   $0x5,(%rax),%rcx
mov    -0x28(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    -0x38(%rbp),%eax
mov    $0xd,%esi
cltd
idiv   %esi
mov    -0x50(%rbp),%rax
movslq %edx,%rdx
movsbq (%rax,%rdx,1),%rax
add    %rax,%rcx
mov    0x10(%rbp),%rax
mov    %rcx,(%rax)
mov    0x10(%rbp),%rcx
movabs $0x80000000,%rax
and    (%rcx),%rax
cmp    $0x0,%rax
je     12a7 <setup+0x197>
mov    0x10(%rbp),%rax
movabs $0xffffffff00000000,%rcx
ff ff ff
or     (%rax),%rcx
mov    0x10(%rbp),%rax
mov    %rcx,(%rax)
jmp    12b8 <setup+0x1a8>
mov    0x10(%rbp),%rax
mov    (%rax),%rcx
and    $0x7fffffff,%rcx
mov    %rcx,(%rax)
mov    0x10(%rbp),%rax
mov    (%rax),%rax
mov    $0xfff1,%ecx
cqto
idiv   %rcx
mov    %edx,%eax
mov    %eax,-0x44(%rbp)
mov    $0xff,%eax
sub    -0x38(%rbp),%eax
mov    %eax,-0x3c(%rbp)
mov    -0x44(%rbp),%eax
and    $0xff,%eax
mov    -0x3c(%rbp),%ecx
add    $0x1,%ecx
xor    %edx,%edx
div    %ecx
mov    %edx,-0x34(%rbp)
mov    -0x44(%rbp),%eax
shr    $0x8,%eax
mov    %eax,-0x44(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
mov    %eax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,1),%dl
mov    -0x10(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x40(%rbp),%eax
mov    %al,%dl
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x20(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x0,%eax
je     1346 <setup+0x236>
jmp    139d <setup+0x28d>
mov    -0x44(%rbp),%eax
and    $0xff,%eax
xor    %edx,%edx
divl   -0x3c(%rbp)
mov    %edx,-0x34(%rbp)
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x0,%eax
je     137d <setup+0x26d>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
cltd
idivl  -0x3c(%rbp)
mov    %edx,-0x34(%rbp)
jmp    1356 <setup+0x246>
mov    -0x34(%rbp),%eax
mov    %al,%dl
mov    -0x20(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x3c(%rbp),%eax
mov    %al,%dl
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1231 <setup+0x121>
movl   $0x0,-0x38(%rbp)
cmpl   $0x100,-0x38(%rbp)
jge    13ee <setup+0x2de>
mov    -0x38(%rbp),%eax
mov    %al,%dl
mov    -0x18(%rbp),%rax
mov    -0x10(%rbp),%rcx
movslq -0x38(%rbp),%rsi
movsbl (%rcx,%rsi,1),%ecx
and    $0xff,%ecx
movslq %ecx,%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    13b2 <setup+0x2a2>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<setup>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %r9,%r13
mov    %r8,%rbx
mov    %rcx,%r15
mov    %rdx,%r14
mov    %rsi,%r12
mov    %rdi,%rbp
mov    (%rdi),%al
mov    %al,(%r8)
mov    0x1(%rdi),%al
mov    %al,0x1(%r8)
movb   $0x0,0x2(%r8)
mov    %r8,%rsi
call   1030 <cryptl@plt>
mov    0x40(%rsp),%r10
mov    %rbx,%rdi
mov    0x0(%rbp),%al
mov    %al,(%rbx)
mov    0x1(%rbp),%al
mov    %al,0x1(%rbx)
mov    0x2(%rbp),%al
mov    %al,0x2(%rbx)
mov    0x3(%rbp),%al
mov    %al,0x3(%rbx)
mov    0x4(%rbp),%al
mov    %al,0x4(%rbx)
mov    0x5(%rbp),%al
mov    %al,0x5(%rbx)
mov    0x6(%rbp),%al
mov    %al,0x6(%rbx)
mov    0x7(%rbp),%al
mov    %al,0x7(%rbx)
mov    0x8(%rbp),%al
mov    %al,0x8(%rbx)
mov    0x9(%rbp),%al
mov    %al,0x9(%rbx)
mov    0xa(%rbp),%al
mov    %al,0xa(%rbx)
mov    0xb(%rbp),%al
mov    %al,0xb(%rbx)
mov    0xc(%rbp),%al
mov    %al,0xc(%rbx)
movq   $0x7b,(%r10)
movsbq (%rbx),%rax
imul   $0x7b,%rax,%rax
mov    %rax,(%r10)
movsbq 0x1(%rbx),%rcx
imul   %rax,%rcx
add    $0x1,%rcx
mov    %rcx,(%r10)
movsbq 0x2(%rbx),%rax
imul   %rcx,%rax
add    $0x2,%rax
mov    %rax,(%r10)
movsbq 0x3(%rbx),%rcx
imul   %rax,%rcx
add    $0x3,%rcx
mov    %rcx,(%r10)
movsbq 0x4(%rbx),%rax
imul   %rcx,%rax
add    $0x4,%rax
mov    %rax,(%r10)
movsbq 0x5(%rbx),%rcx
imul   %rax,%rcx
add    $0x5,%rcx
mov    %rcx,(%r10)
movsbq 0x6(%rbx),%rax
imul   %rcx,%rax
add    $0x6,%rax
mov    %rax,(%r10)
movsbq 0x7(%rbx),%rcx
imul   %rax,%rcx
add    $0x7,%rcx
mov    %rcx,(%r10)
movsbq 0x8(%rbx),%rax
imul   %rcx,%rax
add    $0x8,%rax
mov    %rax,(%r10)
movsbq 0x9(%rbx),%rcx
imul   %rax,%rcx
add    $0x9,%rcx
mov    %rcx,(%r10)
movsbq 0xa(%rbx),%rax
imul   %rcx,%rax
add    $0xa,%rax
mov    %rax,(%r10)
movsbq 0xb(%rbx),%rcx
imul   %rax,%rcx
add    $0xb,%rcx
mov    %rcx,(%r10)
movsbq 0xc(%rbx),%rax
imul   %rcx,%rax
add    $0xc,%rax
mov    %rax,(%r10)
lea    0x100(%r13),%rax
cmp    %r12,%rax
jbe    12d1 <setup+0x1c1>
lea    0x100(%r12),%rax
cmp    %r13,%rax
jbe    12d1 <setup+0x1c1>
xor    %eax,%eax
nopl   0x0(%rax,%rax,1)
mov    %al,(%r12,%rax,1)
mov    %al,0x0(%r13,%rax,1)
lea    0x1(%rax),%ecx
mov    %cl,0x1(%r12,%rax,1)
mov    %cl,0x1(%r13,%rax,1)
lea    0x2(%rax),%ecx
mov    %cl,0x2(%r12,%rax,1)
mov    %cl,0x2(%r13,%rax,1)
lea    0x3(%rax),%ecx
mov    %cl,0x3(%r12,%rax,1)
mov    %cl,0x3(%r13,%rax,1)
add    $0x4,%rax
cmp    $0x100,%rax
jne    1290 <setup+0x180>
jmp    1420 <setup+0x310>
movaps 0xd28(%rip),%xmm0
movups %xmm0,(%r12)
movups %xmm0,0x0(%r13)
movaps 0xd27(%rip),%xmm0
movups %xmm0,0x10(%r12)
movups %xmm0,0x10(%r13)
movaps 0xd25(%rip),%xmm0
movups %xmm0,0x20(%r12)
movups %xmm0,0x20(%r13)
movaps 0xd23(%rip),%xmm0
movups %xmm0,0x30(%r12)
movups %xmm0,0x30(%r13)
movaps 0xd21(%rip),%xmm0
movups %xmm0,0x40(%r12)
movups %xmm0,0x40(%r13)
movaps 0xd1f(%rip),%xmm0
movups %xmm0,0x50(%r12)
movups %xmm0,0x50(%r13)
movaps 0xd1d(%rip),%xmm0
movups %xmm0,0x60(%r12)
movups %xmm0,0x60(%r13)
movaps 0xd1b(%rip),%xmm0
movups %xmm0,0x70(%r12)
movups %xmm0,0x70(%r13)
movaps 0xd19(%rip),%xmm0
movups %xmm0,0x80(%r12)
movups %xmm0,0x80(%r13)
movaps 0xd11(%rip),%xmm0
movups %xmm0,0x90(%r12)
movups %xmm0,0x90(%r13)
movaps 0xd09(%rip),%xmm0
movups %xmm0,0xa0(%r12)
movups %xmm0,0xa0(%r13)
movaps 0xd01(%rip),%xmm0
movups %xmm0,0xb0(%r12)
movups %xmm0,0xb0(%r13)
movaps 0xcf9(%rip),%xmm0
movups %xmm0,0xc0(%r12)
movups %xmm0,0xc0(%r13)
movaps 0xcf1(%rip),%xmm0
movups %xmm0,0xd0(%r12)
movups %xmm0,0xd0(%r13)
movaps 0xce9(%rip),%xmm0
movups %xmm0,0xe0(%r12)
movups %xmm0,0xe0(%r13)
movaps 0xce1(%rip),%xmm0
movups %xmm0,0xf0(%r12)
movups %xmm0,0xf0(%r13)
movabs $0xffffffff00000000,%r8
ff ff ff
movabs $0x800780708697e2e7,%r9
80 07 80
xor    %ebp,%ebp
jmp    1459 <setup+0x349>
nopl   0x0(%rax,%rax,1)
mov    %dl,(%r15,%rsi,1)
mov    %bl,(%r15,%rax,1)
add    $0x1,%rbp
cmp    $0x100,%rbp
je     1527 <setup+0x417>
mov    (%r10),%rax
lea    (%rax,%rax,4),%rax
movzbl %bpl,%ecx
imul   $0x4f,%ecx,%ecx
shr    $0xa,%ecx
lea    (%rcx,%rcx,2),%edx
lea    (%rcx,%rdx,4),%ecx
mov    %ebp,%edx
sub    %cl,%dl
movzbl %dl,%ecx
movsbq (%rdi,%rcx,1),%rdx
add    %rax,%rdx
mov    %edx,%ecx
and    $0x7fffffff,%ecx
mov    %rdx,%rax
or     %r8,%rax
test   $0x80000000,%edx
cmovne %rax,%rcx
mov    %rcx,(%r10)
mov    %rcx,%rax
imul   %r9
add    %rcx,%rdx
mov    %rdx,%rax
shr    $0x3f,%rax
sar    $0xf,%rdx
add    %rax,%rdx
imul   $0xfff1,%rdx,%rax
sub    %rax,%rcx
mov    $0xff,%esi
sub    %rbp,%rsi
movzbl %cl,%eax
mov    $0x100,%ebx
sub    %ebp,%ebx
xor    %edx,%edx
div    %bx
mov    (%r12,%rsi,1),%al
movzwl %dx,%edx
mov    (%r12,%rdx,1),%bl
mov    %bl,(%r12,%rsi,1)
mov    %al,(%r12,%rdx,1)
cmpb   $0x0,(%r15,%rsi,1)
jne    1448 <setup+0x338>
mov    %ebp,%ebx
not    %bl
shr    $0x8,%rcx
movzbl %cl,%eax
div    %bl
movzbl %ah,%eax
mov    %eax,%edx
cmpb   $0x0,(%r15,%rax,1)
je     1440 <setup+0x330>
nopl   (%rax)
add    $0x1,%edx
mov    %edx,%eax
cltd
idiv   %esi
movslq %edx,%rax
cmpb   $0x0,(%r15,%rax,1)
jne    1510 <setup+0x400>
jmp    1440 <setup+0x330>
xor    %eax,%eax
nopl   0x0(%rax)
movzbl (%r12,%rax,1),%ecx
mov    %al,(%r14,%rcx,1)
movzbl 0x1(%r12,%rax,1),%ecx
lea    0x1(%rax),%edx
mov    %dl,(%r14,%rcx,1)
movzbl 0x2(%r12,%rax,1),%ecx
lea    0x2(%rax),%edx
mov    %dl,(%r14,%rcx,1)
movzbl 0x3(%r12,%rax,1),%ecx
lea    0x3(%rax),%edx
mov    %dl,(%r14,%rcx,1)
add    $0x4,%rax
cmp    $0x100,%rax
jne    1530 <setup+0x420>
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @setup(i8* %0, i8* %1, i8* %2, i8* %3, i8* %4, i8* %5, i64* %6) {
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca i8*
%11 = alloca i8*
%12 = alloca i8*
%13 = alloca i8*
%14 = alloca i64*
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
store i8* %0, i8** %8
store i8* %1, i8** %9
store i8* %2, i8** %10
store i8* %3, i8** %11
store i8* %4, i8** %12
store i8* %5, i8** %13
store i64* %6, i64** %14
%20 = load i8*, i8** %8
%21 = getelementptr inbounds i8, i8* %20, i64 0
%22 = load i8, i8* %21
%23 = load i8*, i8** %12
%24 = getelementptr inbounds i8, i8* %23, i64 0
store i8 %22, i8* %24
%25 = load i8*, i8** %8
%26 = getelementptr inbounds i8, i8* %25, i64 1
%27 = load i8, i8* %26
%28 = load i8*, i8** %12
%29 = getelementptr inbounds i8, i8* %28, i64 1
store i8 %27, i8* %29
%30 = load i8*, i8** %12
%31 = getelementptr inbounds i8, i8* %30, i64 2
store i8 0, i8* %31
%32 = load i8*, i8** %8
%33 = load i8*, i8** %12
%34 = call i32 @cryptl(i8* %32, i8* %33)
store i32 0, i32* %16
br label %35
35: ; preds = %48, %7
%36 = load i32, i32* %16
%37 = icmp slt i32 %36, 13
br i1 %37, label %38, label %51
38: ; preds = %35
%39 = load i8*, i8** %8
%40 = load i32, i32* %16
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, i8* %39, i64 %41
%43 = load i8, i8* %42
%44 = load i8*, i8** %12
%45 = load i32, i32* %16
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, i8* %44, i64 %46
store i8 %43, i8* %47
br label %48
48: ; preds = %38
%49 = load i32, i32* %16
%50 = add nsw i32 %49, 1
store i32 %50, i32* %16
br label %35
51: ; preds = %35
%52 = load i64*, i64** %14
store i64 123, i64* %52
store i32 0, i32* %16
br label %53
53: ; preds = %70, %51
%54 = load i32, i32* %16
%55 = icmp slt i32 %54, 13
br i1 %55, label %56, label %73
56: ; preds = %53
%57 = load i64*, i64** %14
%58 = load i64, i64* %57
%59 = load i8*, i8** %12
%60 = load i32, i32* %16
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, i8* %59, i64 %61
%63 = load i8, i8* %62
%64 = sext i8 %63 to i64
%65 = mul nsw i64 %58, %64
%66 = load i32, i32* %16
%67 = sext i32 %66 to i64
%68 = add nsw i64 %65, %67
%69 = load i64*, i64** %14
store i64 %68, i64* %69
br label %70
70: ; preds = %56
%71 = load i32, i32* %16
%72 = add nsw i32 %71, 1
store i32 %72, i32* %16
br label %53
73: ; preds = %53
store i32 0, i32* %16
br label %74
74: ; preds = %90, %73
%75 = load i32, i32* %16
%76 = icmp slt i32 %75, 256
br i1 %76, label %77, label %93
77: ; preds = %74
%78 = load i32, i32* %16
%79 = trunc i32 %78 to i8
%80 = load i8*, i8** %9
%81 = load i32, i32* %16
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, i8* %80, i64 %82
store i8 %79, i8* %83
%84 = load i32, i32* %16
%85 = trunc i32 %84 to i8
%86 = load i8*, i8** %13
%87 = load i32, i32* %16
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i8, i8* %86, i64 %88
store i8 %85, i8* %89
br label %90
90: ; preds = %77
%91 = load i32, i32* %16
%92 = add nsw i32 %91, 1
store i32 %92, i32* %16
br label %74
93: ; preds = %74
store i32 0, i32* %16
br label %94
94: ; preds = %197, %93
%95 = load i32, i32* %16
%96 = icmp slt i32 %95, 256
br i1 %96, label %97, label %200
97: ; preds = %94
%98 = load i64*, i64** %14
%99 = load i64, i64* %98
%100 = mul nsw i64 5, %99
%101 = load i8*, i8** %12
%102 = load i32, i32* %16
%103 = srem i32 %102, 13
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8, i8* %101, i64 %104
%106 = load i8, i8* %105
%107 = sext i8 %106 to i64
%108 = add nsw i64 %100, %107
%109 = load i64*, i64** %14
store i64 %108, i64* %109
%110 = load i64*, i64** %14
%111 = load i64, i64* %110
%112 = and i64 %111, 2147483648
%113 = icmp ne i64 %112, 0
br i1 %113, label %114, label %119
114: ; preds = %97
%115 = load i64*, i64** %14
%116 = load i64, i64* %115
%117 = or i64 %116, -4294967296
%118 = load i64*, i64** %14
store i64 %117, i64* %118
br label %123
119: ; preds = %97
%120 = load i64*, i64** %14
%121 = load i64, i64* %120
%122 = and i64 %121, 2147483647
store i64 %122, i64* %120
br label %123
123: ; preds = %119, %114
%124 = load i64*, i64** %14
%125 = load i64, i64* %124
%126 = srem i64 %125, 65521
%127 = trunc i64 %126 to i32
store i32 %127, i32* %19
%128 = load i32, i32* %16
%129 = sub nsw i32 255, %128
store i32 %129, i32* %17
%130 = load i32, i32* %19
%131 = and i32 %130, 255
%132 = load i32, i32* %17
%133 = add nsw i32 %132, 1
%134 = urem i32 %131, %133
store i32 %134, i32* %15
%135 = load i32, i32* %19
%136 = lshr i32 %135, 8
store i32 %136, i32* %19
%137 = load i8*, i8** %9
%138 = load i32, i32* %17
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds i8, i8* %137, i64 %139
%141 = load i8, i8* %140
%142 = sext i8 %141 to i32
store i32 %142, i32* %18
%143 = load i8*, i8** %9
%144 = load i32, i32* %15
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds i8, i8* %143, i64 %145
%147 = load i8, i8* %146
%148 = load i8*, i8** %9
%149 = load i32, i32* %17
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds i8, i8* %148, i64 %150
store i8 %147, i8* %151
%152 = load i32, i32* %18
%153 = trunc i32 %152 to i8
%154 = load i8*, i8** %9
%155 = load i32, i32* %15
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds i8, i8* %154, i64 %156
store i8 %153, i8* %157
%158 = load i8*, i8** %11
%159 = load i32, i32* %17
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i8, i8* %158, i64 %160
%162 = load i8, i8* %161
%163 = sext i8 %162 to i32
%164 = icmp ne i32 %163, 0
br i1 %164, label %165, label %166
165: ; preds = %123
br label %197
166: ; preds = %123
%167 = load i32, i32* %19
%168 = and i32 %167, 255
%169 = load i32, i32* %17
%170 = urem i32 %168, %169
store i32 %170, i32* %15
br label %171
171: ; preds = %179, %166
%172 = load i8*, i8** %11
%173 = load i32, i32* %15
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds i8, i8* %172, i64 %174
%176 = load i8, i8* %175
%177 = sext i8 %176 to i32
%178 = icmp ne i32 %177, 0
br i1 %178, label %179, label %184
179: ; preds = %171
%180 = load i32, i32* %15
%181 = add nsw i32 %180, 1
%182 = load i32, i32* %17
%183 = srem i32 %181, %182
store i32 %183, i32* %15
br label %171
184: ; preds = %171
%185 = load i32, i32* %15
%186 = trunc i32 %185 to i8
%187 = load i8*, i8** %11
%188 = load i32, i32* %17
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds i8, i8* %187, i64 %189
store i8 %186, i8* %190
%191 = load i32, i32* %17
%192 = trunc i32 %191 to i8
%193 = load i8*, i8** %11
%194 = load i32, i32* %15
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds i8, i8* %193, i64 %195
store i8 %192, i8* %196
br label %197
197: ; preds = %184, %165
%198 = load i32, i32* %16
%199 = add nsw i32 %198, 1
store i32 %199, i32* %16
br label %94
200: ; preds = %94
store i32 0, i32* %16
br label %201
201: ; preds = %217, %200
%202 = load i32, i32* %16
%203 = icmp slt i32 %202, 256
br i1 %203, label %204, label %220
204: ; preds = %201
%205 = load i32, i32* %16
%206 = trunc i32 %205 to i8
%207 = load i8*, i8** %10
%208 = load i8*, i8** %9
%209 = load i32, i32* %16
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds i8, i8* %208, i64 %210
%212 = load i8, i8* %211
%213 = sext i8 %212 to i32
%214 = and i32 %213, 255
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds i8, i8* %207, i64 %215
store i8 %206, i8* %216
br label %217
217: ; preds = %204
%218 = load i32, i32* %16
%219 = add nsw i32 %218, 1
store i32 %219, i32* %16
br label %201
220: ; preds = %201
ret void
}

LLVM IR (-O2):
define void @setup(i8* %0, i8* nocapture %1, i8* nocapture writeonly %2, i8* nocapture %3, i8* %4, i8* nocapture writeonly %5, i64* nocapture %6) {
%8 = load i8, i8* %0
store i8 %8, i8* %4
%9 = getelementptr inbounds i8, i8* %0, i64 1
%10 = load i8, i8* %9
%11 = getelementptr inbounds i8, i8* %4, i64 1
store i8 %10, i8* %11
%12 = getelementptr inbounds i8, i8* %4, i64 2
store i8 0, i8* %12
%13 = tail call i32 @cryptl(i8* %0, i8* %4)
%14 = load i8, i8* %0
store i8 %14, i8* %4
%15 = load i8, i8* %9
store i8 %15, i8* %11
%16 = getelementptr inbounds i8, i8* %0, i64 2
%17 = load i8, i8* %16
store i8 %17, i8* %12
%18 = getelementptr inbounds i8, i8* %0, i64 3
%19 = load i8, i8* %18
%20 = getelementptr inbounds i8, i8* %4, i64 3
store i8 %19, i8* %20
%21 = getelementptr inbounds i8, i8* %0, i64 4
%22 = load i8, i8* %21
%23 = getelementptr inbounds i8, i8* %4, i64 4
store i8 %22, i8* %23
%24 = getelementptr inbounds i8, i8* %0, i64 5
%25 = load i8, i8* %24
%26 = getelementptr inbounds i8, i8* %4, i64 5
store i8 %25, i8* %26
%27 = getelementptr inbounds i8, i8* %0, i64 6
%28 = load i8, i8* %27
%29 = getelementptr inbounds i8, i8* %4, i64 6
store i8 %28, i8* %29
%30 = getelementptr inbounds i8, i8* %0, i64 7
%31 = load i8, i8* %30
%32 = getelementptr inbounds i8, i8* %4, i64 7
store i8 %31, i8* %32
%33 = getelementptr inbounds i8, i8* %0, i64 8
%34 = load i8, i8* %33
%35 = getelementptr inbounds i8, i8* %4, i64 8
store i8 %34, i8* %35
%36 = getelementptr inbounds i8, i8* %0, i64 9
%37 = load i8, i8* %36
%38 = getelementptr inbounds i8, i8* %4, i64 9
store i8 %37, i8* %38
%39 = getelementptr inbounds i8, i8* %0, i64 10
%40 = load i8, i8* %39
%41 = getelementptr inbounds i8, i8* %4, i64 10
store i8 %40, i8* %41
%42 = getelementptr inbounds i8, i8* %0, i64 11
%43 = load i8, i8* %42
%44 = getelementptr inbounds i8, i8* %4, i64 11
store i8 %43, i8* %44
%45 = getelementptr inbounds i8, i8* %0, i64 12
%46 = load i8, i8* %45
%47 = getelementptr inbounds i8, i8* %4, i64 12
store i8 %46, i8* %47
store i64 123, i64* %6
%48 = load i8, i8* %4
%49 = sext i8 %48 to i64
%50 = mul nsw i64 %49, 123
store i64 %50, i64* %6
%51 = load i8, i8* %11
%52 = sext i8 %51 to i64
%53 = mul nsw i64 %50, %52
%54 = add nsw i64 %53, 1
store i64 %54, i64* %6
%55 = load i8, i8* %12
%56 = sext i8 %55 to i64
%57 = mul nsw i64 %54, %56
%58 = add nsw i64 %57, 2
store i64 %58, i64* %6
%59 = load i8, i8* %20
%60 = sext i8 %59 to i64
%61 = mul nsw i64 %58, %60
%62 = add nsw i64 %61, 3
store i64 %62, i64* %6
%63 = load i8, i8* %23
%64 = sext i8 %63 to i64
%65 = mul nsw i64 %62, %64
%66 = add nsw i64 %65, 4
store i64 %66, i64* %6
%67 = load i8, i8* %26
%68 = sext i8 %67 to i64
%69 = mul nsw i64 %66, %68
%70 = add nsw i64 %69, 5
store i64 %70, i64* %6
%71 = load i8, i8* %29
%72 = sext i8 %71 to i64
%73 = mul nsw i64 %70, %72
%74 = add nsw i64 %73, 6
store i64 %74, i64* %6
%75 = load i8, i8* %32
%76 = sext i8 %75 to i64
%77 = mul nsw i64 %74, %76
%78 = add nsw i64 %77, 7
store i64 %78, i64* %6
%79 = load i8, i8* %35
%80 = sext i8 %79 to i64
%81 = mul nsw i64 %78, %80
%82 = add nsw i64 %81, 8
store i64 %82, i64* %6
%83 = load i8, i8* %38
%84 = sext i8 %83 to i64
%85 = mul nsw i64 %82, %84
%86 = add nsw i64 %85, 9
store i64 %86, i64* %6
%87 = load i8, i8* %41
%88 = sext i8 %87 to i64
%89 = mul nsw i64 %86, %88
%90 = add nsw i64 %89, 10
store i64 %90, i64* %6
%91 = load i8, i8* %44
%92 = sext i8 %91 to i64
%93 = mul nsw i64 %90, %92
%94 = add nsw i64 %93, 11
store i64 %94, i64* %6
%95 = load i8, i8* %47
%96 = sext i8 %95 to i64
%97 = mul nsw i64 %94, %96
%98 = add nsw i64 %97, 12
store i64 %98, i64* %6
%99 = getelementptr i8, i8* %1, i64 256
%100 = getelementptr i8, i8* %5, i64 256
%101 = icmp ugt i8* %100, %1
%102 = icmp ugt i8* %99, %5
%103 = and i1 %101, %102
br i1 %103, label %167, label %104
104: ; preds = %7
%105 = bitcast i8* %1 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>* %105
%106 = bitcast 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>* %106
%107 = getelementptr inbounds i8, i8* %1, i64 16
%108 = bitcast i8* %107 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>* %108
%109 = getelementptr inbounds i8, i8* %5, i64 16
%110 = bitcast i8* %109 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>* %110
%111 = getelementptr inbounds i8, i8* %1, i64 32
%112 = bitcast i8* %111 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>* %112
%113 = getelementptr inbounds i8, i8* %5, i64 32
%114 = bitcast i8* %113 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>* %114
%115 = getelementptr inbounds i8, i8* %1, i64 48
%116 = bitcast i8* %115 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>* %116
%117 = getelementptr inbounds i8, i8* %5, i64 48
%118 = bitcast i8* %117 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>* %118
%119 = getelementptr inbounds i8, i8* %1, i64 64
%120 = bitcast i8* %119 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>* %120
%121 = getelementptr inbounds i8, i8* %5, i64 64
%122 = bitcast i8* %121 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>* %122
%123 = getelementptr inbounds i8, i8* %1, i64 80
%124 = bitcast i8* %123 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>* %124
%125 = getelementptr inbounds i8, i8* %5, i64 80
%126 = bitcast i8* %125 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>* %126
%127 = getelementptr inbounds i8, i8* %1, i64 96
%128 = bitcast i8* %127 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>* %128
%129 = getelementptr inbounds i8, i8* %5, i64 96
%130 = bitcast i8* %129 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>* %130
%131 = getelementptr inbounds i8, i8* %1, i64 112
%132 = bitcast i8* %131 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>* %132
%133 = getelementptr inbounds i8, i8* %5, i64 112
%134 = bitcast i8* %133 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>* %134
%135 = getelementptr inbounds i8, i8* %1, i64 128
%136 = bitcast i8* %135 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>* %136
%137 = getelementptr inbounds i8, i8* %5, i64 128
%138 = bitcast i8* %137 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>* %138
%139 = getelementptr inbounds i8, i8* %1, i64 144
%140 = bitcast i8* %139 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>* %140
%141 = getelementptr inbounds i8, i8* %5, i64 144
%142 = bitcast i8* %141 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>* %142
%143 = getelementptr inbounds i8, i8* %1, i64 160
%144 = bitcast i8* %143 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>* %144
%145 = getelementptr inbounds i8, i8* %5, i64 160
%146 = bitcast i8* %145 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>* %146
%147 = getelementptr inbounds i8, i8* %1, i64 176
%148 = bitcast i8* %147 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>* %148
%149 = getelementptr inbounds i8, i8* %5, i64 176
%150 = bitcast i8* %149 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>* %150
%151 = getelementptr inbounds i8, i8* %1, i64 192
%152 = bitcast i8* %151 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>* %152
%153 = getelementptr inbounds i8, i8* %5, i64 192
%154 = bitcast i8* %153 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>* %154
%155 = getelementptr inbounds i8, i8* %1, i64 208
%156 = bitcast i8* %155 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>* %156
%157 = getelementptr inbounds i8, i8* %5, i64 208
%158 = bitcast i8* %157 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>* %158
%159 = getelementptr inbounds i8, i8* %1, i64 224
%160 = bitcast i8* %159 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>* %160
%161 = getelementptr inbounds i8, i8* %5, i64 224
%162 = bitcast i8* %161 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>* %162
%163 = getelementptr inbounds i8, i8* %1, i64 240
%164 = bitcast i8* %163 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>* %164
%165 = getelementptr inbounds i8, i8* %5, i64 240
%166 = bitcast i8* %165 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>* %166
br label %186
167: ; preds = %7, %167
%168 = phi i64 [ %184, %167 ], [ 0, %7 ]
%169 = trunc i64 %168 to i8
%170 = getelementptr inbounds i8, i8* %1, i64 %168
store i8 %169, i8* %170
%171 = getelementptr inbounds i8, i8* %5, i64 %168
store i8 %169, i8* %171
%172 = or i64 %168, 1
%173 = trunc i64 %172 to i8
%174 = getelementptr inbounds i8, i8* %1, i64 %172
store i8 %173, i8* %174
%175 = getelementptr inbounds i8, i8* %5, i64 %172
store i8 %173, i8* %175
%176 = or i64 %168, 2
%177 = trunc i64 %176 to i8
%178 = getelementptr inbounds i8, i8* %1, i64 %176
store i8 %177, i8* %178
%179 = getelementptr inbounds i8, i8* %5, i64 %176
store i8 %177, i8* %179
%180 = or i64 %168, 3
%181 = trunc i64 %180 to i8
%182 = getelementptr inbounds i8, i8* %1, i64 %180
store i8 %181, i8* %182
%183 = getelementptr inbounds i8, i8* %5, i64 %180
store i8 %181, i8* %183
%184 = add nuw nsw i64 %168, 4
%185 = icmp eq i64 %184, 256
br i1 %185, label %186, label %167
186: ; preds = %167, %104
br label %187
187: ; preds = %186, %244
%188 = phi i64 [ %245, %244 ], [ 0, %186 ]
%189 = load i64, i64* %6
%190 = mul nsw i64 %189, 5
%191 = trunc i64 %188 to i8
%192 = urem i8 %191, 13
%193 = zext i8 %192 to i64
%194 = getelementptr inbounds i8, i8* %4, i64 %193
%195 = load i8, i8* %194
%196 = sext i8 %195 to i64
%197 = add nsw i64 %190, %196
%198 = and i64 %197, 2147483648
%199 = icmp eq i64 %198, 0
%200 = and i64 %197, 2147483647
%201 = or i64 %197, -4294967296
%202 = select i1 %199, i64 %200, i64 %201
store i64 %202, i64* %6
%203 = srem i64 %202, 65521
%204 = sub nuw nsw i64 255, %188
%205 = trunc i64 %203 to i16
%206 = and i16 %205, 255
%207 = trunc i64 %188 to i16
%208 = sub i16 256, %207
%209 = urem i16 %206, %208
%210 = getelementptr inbounds i8, i8* %1, i64 %204
%211 = load i8, i8* %210
%212 = zext i16 %209 to i64
%213 = getelementptr inbounds i8, i8* %1, i64 %212
%214 = load i8, i8* %213
store i8 %214, i8* %210
store i8 %211, i8* %213
%215 = getelementptr inbounds i8, i8* %3, i64 %204
%216 = load i8, i8* %215
%217 = icmp eq i8 %216, 0
br i1 %217, label %218, label %244
218: ; preds = %187
%219 = trunc i64 %188 to i8
%220 = xor i8 %219, -1
%221 = lshr i64 %203, 8
%222 = trunc i64 %221 to i8
%223 = urem i8 %222, %220
%224 = zext i8 %223 to i32
%225 = zext i8 %223 to i64
%226 = getelementptr inbounds i8, i8* %3, i64 %225
%227 = load i8, i8* %226
%228 = icmp eq i8 %227, 0
br i1 %228, label %239, label %229
229: ; preds = %218
%230 = trunc i64 %204 to i32
br label %231
231: ; preds = %229, %231
%232 = phi i32 [ %234, %231 ], [ %224, %229 ]
%233 = add nsw i32 %232, 1
%234 = srem i32 %233, %230
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds i8, i8* %3, i64 %235
%237 = load i8, i8* %236
%238 = icmp eq i8 %237, 0
br i1 %238, label %239, label %231
239: ; preds = %231, %218
%240 = phi i64 [ %225, %218 ], [ %235, %231 ]
%241 = phi i32 [ %224, %218 ], [ %234, %231 ]
%242 = getelementptr inbounds i8, i8* %3, i64 %240
%243 = trunc i32 %241 to i8
store i8 %243, i8* %215
store i8 %220, i8* %242
br label %244
244: ; preds = %187, %239
%245 = add nuw nsw i64 %188, 1
%246 = icmp eq i64 %245, 256
br i1 %246, label %247, label %187
247: ; preds = %244, %247
%248 = phi i64 [ %272, %247 ], [ 0, %244 ]
%249 = trunc i64 %248 to i8
%250 = getelementptr inbounds i8, i8* %1, i64 %248
%251 = load i8, i8* %250
%252 = zext i8 %251 to i64
%253 = getelementptr inbounds i8, i8* %2, i64 %252
store i8 %249, i8* %253
%254 = or i64 %248, 1
%255 = trunc i64 %254 to i8
%256 = getelementptr inbounds i8, i8* %1, i64 %254
%257 = load i8, i8* %256
%258 = zext i8 %257 to i64
%259 = getelementptr inbounds i8, i8* %2, i64 %258
store i8 %255, i8* %259
%260 = or i64 %248, 2
%261 = trunc i64 %260 to i8
%262 = getelementptr inbounds i8, i8* %1, i64 %260
%263 = load i8, i8* %262
%264 = zext i8 %263 to i64
%265 = getelementptr inbounds i8, i8* %2, i64 %264
store i8 %261, i8* %265
%266 = or i64 %248, 3
%267 = trunc i64 %266 to i8
%268 = getelementptr inbounds i8, i8* %1, i64 %266
%269 = load i8, i8* %268
%270 = zext i8 %269 to i64
%271 = getelementptr inbounds i8, i8* %2, i64 %270
store i8 %267, i8* %271
%272 = add nuw nsw i64 %248, 4
%273 = icmp eq i64 %272, 256
br i1 %273, label %274, label %247
274: ; preds = %247
ret void
}