#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 */
void rc4(unsigned char *dst, const unsigned char *src, size_t len,
         const unsigned char *key, size_t keylen) {
  unsigned char box[256];
  size_t x, y, z;
  for (x = 0; x < 256; x++)
    box[x] = x;
  for (x = y = z = 0; x < 256; x++) {
    y = (y + box[x] + key[z]) % 256;
    {
      unsigned tmp = box[x];
      box[x] = box[y];
      box[y] = tmp;
    };
    if (++z == keylen)
      z = 0;
  }
  for (x = y = z = 0; x < len; x++) {
    y = (y + 1) % 256;
    z = (z + box[y]) % 256;
    {
      unsigned tmp = box[y];
      box[y] = box[z];
      box[z] = tmp;
    };
    dst[x] = src[x] ^ box[(box[y] + box[z]) % 256];
  }
}


x86 assembly (clang, -O0):
<rc4>:
push   %rbp
mov    %rsp,%rbp
sub    $0xe0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
movq   $0x0,-0x138(%rbp)
cmpq   $0x100,-0x138(%rbp)
jae    1169 <rc4+0x69>
mov    -0x138(%rbp),%rax
mov    %al,%cl
mov    -0x138(%rbp),%rax
mov    %cl,-0x130(%rbp,%rax,1)
mov    -0x138(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x138(%rbp)
jmp    112a <rc4+0x2a>
movq   $0x0,-0x148(%rbp)
movq   $0x0,-0x140(%rbp)
movq   $0x0,-0x138(%rbp)
cmpq   $0x100,-0x138(%rbp)
jae    125d <rc4+0x15d>
mov    -0x140(%rbp),%rax
mov    -0x138(%rbp),%rcx
movzbl -0x130(%rbp,%rcx,1),%ecx
ff
add    %rcx,%rax
mov    -0x20(%rbp),%rcx
mov    -0x148(%rbp),%rdx
movzbl (%rcx,%rdx,1),%ecx
add    %rcx,%rax
and    $0xff,%rax
mov    %rax,-0x140(%rbp)
mov    -0x138(%rbp),%rax
movzbl -0x130(%rbp,%rax,1),%eax
ff
mov    %eax,-0x14c(%rbp)
mov    -0x140(%rbp),%rax
mov    -0x130(%rbp,%rax,1),%cl
mov    -0x138(%rbp),%rax
mov    %cl,-0x130(%rbp,%rax,1)
mov    -0x14c(%rbp),%eax
mov    %al,%cl
mov    -0x140(%rbp),%rax
mov    %cl,-0x130(%rbp,%rax,1)
mov    -0x148(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x148(%rbp)
cmp    -0x28(%rbp),%rax
jne    1241 <rc4+0x141>
movq   $0x0,-0x148(%rbp)
jmp    1246 <rc4+0x146>
mov    -0x138(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x138(%rbp)
jmp    118a <rc4+0x8a>
movq   $0x0,-0x148(%rbp)
movq   $0x0,-0x140(%rbp)
movq   $0x0,-0x138(%rbp)
mov    -0x138(%rbp),%rax
cmp    -0x18(%rbp),%rax
jae    138b <rc4+0x28b>
mov    -0x140(%rbp),%rax
add    $0x1,%rax
and    $0xff,%rax
mov    %rax,-0x140(%rbp)
mov    -0x148(%rbp),%rax
mov    -0x140(%rbp),%rcx
movzbl -0x130(%rbp,%rcx,1),%ecx
ff
add    %rcx,%rax
and    $0xff,%rax
mov    %rax,-0x148(%rbp)
mov    -0x140(%rbp),%rax
movzbl -0x130(%rbp,%rax,1),%eax
ff
mov    %eax,-0x150(%rbp)
mov    -0x148(%rbp),%rax
mov    -0x130(%rbp,%rax,1),%cl
mov    -0x140(%rbp),%rax
mov    %cl,-0x130(%rbp,%rax,1)
mov    -0x150(%rbp),%eax
mov    %al,%cl
mov    -0x148(%rbp),%rax
mov    %cl,-0x130(%rbp,%rax,1)
mov    -0x10(%rbp),%rax
mov    -0x138(%rbp),%rcx
movzbl (%rax,%rcx,1),%eax
mov    %eax,-0x154(%rbp)
mov    -0x140(%rbp),%rax
movzbl -0x130(%rbp,%rax,1),%eax
ff
mov    -0x148(%rbp),%rcx
movzbl -0x130(%rbp,%rcx,1),%ecx
ff
add    %ecx,%eax
mov    $0x100,%ecx
cltd
idiv   %ecx
mov    -0x154(%rbp),%eax
movslq %edx,%rcx
movzbl -0x130(%rbp,%rcx,1),%ecx
ff
xor    %ecx,%eax
mov    %al,%dl
mov    -0x8(%rbp),%rax
mov    -0x138(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x138(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x138(%rbp)
jmp    127e <rc4+0x17e>
add    $0xe0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<rc4>:
push   %rbp
push   %rbx
sub    $0x88,%rsp
movaps 0xef0(%rip),%xmm0
movaps %xmm0,-0x80(%rsp)
movaps 0xef4(%rip),%xmm0
movaps %xmm0,-0x70(%rsp)
movaps 0xef8(%rip),%xmm0
movaps %xmm0,-0x60(%rsp)
movaps 0xefc(%rip),%xmm0
movaps %xmm0,-0x50(%rsp)
movaps 0xf00(%rip),%xmm0
movaps %xmm0,-0x40(%rsp)
movaps 0xf04(%rip),%xmm0
movaps %xmm0,-0x30(%rsp)
movaps 0xf08(%rip),%xmm0
movaps %xmm0,-0x20(%rsp)
movaps 0xf0c(%rip),%xmm0
movaps %xmm0,-0x10(%rsp)
movaps 0xf10(%rip),%xmm0
movaps %xmm0,(%rsp)
movaps 0xf15(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xf19(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0xf1d(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0xf21(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0xf25(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps 0xf29(%rip),%xmm0
movaps %xmm0,0x60(%rsp)
movaps 0xf2d(%rip),%xmm0
movaps %xmm0,0x70(%rsp)
xor    %r9d,%r9d
xor    %r10d,%r10d
xor    %eax,%eax
movzbl -0x80(%rsp,%r9,1),%r11d
mov    %r11d,%ebp
add    %r10d,%ebp
movzbl (%rcx,%rax,1),%ebx
add    %ebp,%ebx
movzbl %bl,%r10d
movzbl -0x80(%rsp,%r10,1),%ebx
mov    %bl,-0x80(%rsp,%r9,1)
mov    %r11b,-0x80(%rsp,%r10,1)
add    $0x1,%rax
cmp    %r8,%rax
mov    $0x0,%ebp
cmove  %rbp,%rax
add    $0x1,%r9
cmp    $0x100,%r9
jne    11d0 <rc4+0xd0>
test   %rdx,%rdx
je     125e <rc4+0x15e>
xor    %r8d,%r8d
xor    %ecx,%ecx
xor    %eax,%eax
nop
add    $0x1,%ecx
movzbl %cl,%ecx
movzbl -0x80(%rsp,%rcx,1),%ebp
add    %ebp,%eax
movzbl %al,%eax
movzbl -0x80(%rsp,%rax,1),%ebx
mov    %bl,-0x80(%rsp,%rcx,1)
mov    %bpl,-0x80(%rsp,%rax,1)
movzbl -0x80(%rsp,%rcx,1),%ebx
add    %ebp,%ebx
movzbl %bl,%ebp
movzbl -0x80(%rsp,%rbp,1),%ebx
xor    (%rsi,%r8,1),%bl
mov    %bl,(%rdi,%r8,1)
add    $0x1,%r8
cmp    %r8,%rdx
jne    1220 <rc4+0x120>
add    $0x88,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
define void @rc4(i8* %0, i8* %1, i64 %2, i8* %3, i64 %4) {
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i64
%9 = alloca i8*
%10 = alloca i64
%11 = alloca [256 x i8]
%12 = alloca i64
%13 = alloca i64
%14 = alloca i64
%15 = alloca i32
%16 = alloca i32
store i8* %0, i8** %6
store i8* %1, i8** %7
store i64 %2, i64* %8
store i8* %3, i8** %9
store i64 %4, i64* %10
store i64 0, i64* %12
br label %17
17: ; preds = %25, %5
%18 = load i64, i64* %12
%19 = icmp ult i64 %18, 256
br i1 %19, label %20, label %28
20: ; preds = %17
%21 = load i64, i64* %12
%22 = trunc i64 %21 to i8
%23 = load i64, i64* %12
%24 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 %23
store i8 %22, i8* %24
br label %25
25: ; preds = %20
%26 = load i64, i64* %12
%27 = add i64 %26, 1
store i64 %27, i64* %12
br label %17
28: ; preds = %17
store i64 0, i64* %14
store i64 0, i64* %13
store i64 0, i64* %12
br label %29
29: ; preds = %65, %28
%30 = load i64, i64* %12
%31 = icmp ult i64 %30, 256
br i1 %31, label %32, label %68
32: ; preds = %29
%33 = load i64, i64* %13
%34 = load i64, i64* %12
%35 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 %34
%36 = load i8, i8* %35
%37 = zext i8 %36 to i64
%38 = add i64 %33, %37
%39 = load i8*, i8** %9
%40 = load i64, i64* %14
%41 = getelementptr inbounds i8, i8* %39, i64 %40
%42 = load i8, i8* %41
%43 = zext i8 %42 to i64
%44 = add i64 %38, %43
%45 = urem i64 %44, 256
store i64 %45, i64* %13
%46 = load i64, i64* %12
%47 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 %46
%48 = load i8, i8* %47
%49 = zext i8 %48 to i32
store i32 %49, i32* %15
%50 = load i64, i64* %13
%51 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 %50
%52 = load i8, i8* %51
%53 = load i64, i64* %12
%54 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 %53
store i8 %52, i8* %54
%55 = load i32, i32* %15
%56 = trunc i32 %55 to i8
%57 = load i64, i64* %13
%58 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 %57
store i8 %56, i8* %58
%59 = load i64, i64* %14
%60 = add i64 %59, 1
store i64 %60, i64* %14
%61 = load i64, i64* %10
%62 = icmp eq i64 %60, %61
br i1 %62, label %63, label %64
63: ; preds = %32
store i64 0, i64* %14
br label %64
64: ; preds = %63, %32
br label %65
65: ; preds = %64
%66 = load i64, i64* %12
%67 = add i64 %66, 1
store i64 %67, i64* %12
br label %29
68: ; preds = %29
store i64 0, i64* %14
store i64 0, i64* %13
store i64 0, i64* %12
br label %69
69: ; preds = %121, %68
%70 = load i64, i64* %12
%71 = load i64, i64* %8
%72 = icmp ult i64 %70, %71
br i1 %72, label %73, label %124
73: ; preds = %69
%74 = load i64, i64* %13
%75 = add i64 %74, 1
%76 = urem i64 %75, 256
store i64 %76, i64* %13
%77 = load i64, i64* %14
%78 = load i64, i64* %13
%79 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 %78
%80 = load i8, i8* %79
%81 = zext i8 %80 to i64
%82 = add i64 %77, %81
%83 = urem i64 %82, 256
store i64 %83, i64* %14
%84 = load i64, i64* %13
%85 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 %84
%86 = load i8, i8* %85
%87 = zext i8 %86 to i32
store i32 %87, i32* %16
%88 = load i64, i64* %14
%89 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 %88
%90 = load i8, i8* %89
%91 = load i64, i64* %13
%92 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 %91
store i8 %90, i8* %92
%93 = load i32, i32* %16
%94 = trunc i32 %93 to i8
%95 = load i64, i64* %14
%96 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 %95
store i8 %94, i8* %96
%97 = load i8*, i8** %7
%98 = load i64, i64* %12
%99 = getelementptr inbounds i8, i8* %97, i64 %98
%100 = load i8, i8* %99
%101 = zext i8 %100 to i32
%102 = load i64, i64* %13
%103 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 %102
%104 = load i8, i8* %103
%105 = zext i8 %104 to i32
%106 = load i64, i64* %14
%107 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 %106
%108 = load i8, i8* %107
%109 = zext i8 %108 to i32
%110 = add nsw i32 %105, %109
%111 = srem i32 %110, 256
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 %112
%114 = load i8, i8* %113
%115 = zext i8 %114 to i32
%116 = xor i32 %101, %115
%117 = trunc i32 %116 to i8
%118 = load i8*, i8** %6
%119 = load i64, i64* %12
%120 = getelementptr inbounds i8, i8* %118, i64 %119
store i8 %117, i8* %120
br label %121
121: ; preds = %73
%122 = load i64, i64* %12
%123 = add i64 %122, 1
store i64 %123, i64* %12
br label %69
124: ; preds = %69
ret void
}

LLVM IR (-O2):
define void @rc4(i8* nocapture writeonly %0, i8* nocapture %1, i64 %2, i8* nocapture %3, i64 %4) {
%6 = alloca [256 x i8]
%7 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 0
%8 = bitcast [256 x i8]* %6 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>* %8
%9 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 16
%10 = bitcast i8* %9 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>* %10
%11 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 32
%12 = bitcast i8* %11 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>* %12
%13 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 48
%14 = bitcast i8* %13 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>* %14
%15 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 64
%16 = bitcast i8* %15 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>* %16
%17 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 80
%18 = bitcast i8* %17 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>* %18
%19 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 96
%20 = bitcast i8* %19 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>* %20
%21 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 112
%22 = bitcast i8* %21 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>* %22
%23 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 128
%24 = bitcast i8* %23 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>* %24
%25 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 144
%26 = bitcast i8* %25 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>* %26
%27 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 160
%28 = bitcast i8* %27 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>* %28
%29 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 176
%30 = bitcast i8* %29 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>* %30
%31 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 192
%32 = bitcast i8* %31 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>* %32
%33 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 208
%34 = bitcast i8* %33 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>* %34
%35 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 224
%36 = bitcast i8* %35 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>* %36
%37 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 240
%38 = bitcast i8* %37 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>* %38
br label %41
39: ; preds = %41
%40 = icmp eq i64 %2, 0
br i1 %40, label %86, label %61
41: ; preds = %5, %41
%42 = phi i64 [ %59, %41 ], [ 0, %5 ]
%43 = phi i64 [ %53, %41 ], [ 0, %5 ]
%44 = phi i64 [ %58, %41 ], [ 0, %5 ]
%45 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 %42
%46 = load i8, i8* %45
%47 = zext i8 %46 to i64
%48 = add nuw nsw i64 %43, %47
%49 = getelementptr inbounds i8, i8* %3, i64 %44
%50 = load i8, i8* %49
%51 = zext i8 %50 to i64
%52 = add nuw nsw i64 %48, %51
%53 = and i64 %52, 255
%54 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 %53
%55 = load i8, i8* %54
store i8 %55, i8* %45
store i8 %46, i8* %54
%56 = add i64 %44, 1
%57 = icmp eq i64 %56, %4
%58 = select i1 %57, i64 0, i64 %56
%59 = add nuw nsw i64 %42, 1
%60 = icmp eq i64 %59, 256
br i1 %60, label %39, label %41
61: ; preds = %39, %61
%62 = phi i64 [ %84, %61 ], [ 0, %39 ]
%63 = phi i64 [ %66, %61 ], [ 0, %39 ]
%64 = phi i64 [ %71, %61 ], [ 0, %39 ]
%65 = add nuw nsw i64 %63, 1
%66 = and i64 %65, 255
%67 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 %66
%68 = load i8, i8* %67
%69 = zext i8 %68 to i64
%70 = add nuw nsw i64 %64, %69
%71 = and i64 %70, 255
%72 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 %71
%73 = load i8, i8* %72
store i8 %73, i8* %67
store i8 %68, i8* %72
%74 = getelementptr inbounds i8, i8* %1, i64 %62
%75 = load i8, i8* %74
%76 = load i8, i8* %67
%77 = zext i8 %76 to i64
%78 = add nuw nsw i64 %77, %69
%79 = and i64 %78, 255
%80 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 %79
%81 = load i8, i8* %80
%82 = xor i8 %81, %75
%83 = getelementptr inbounds i8, i8* %0, i64 %62
store i8 %82, i8* %83
%84 = add nuw i64 %62, 1
%85 = icmp eq i64 %84, %2
br i1 %85, label %86, label %61
86: ; preds = %61, %39
ret void
}