#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*/ sqlite3OsRandomSeed(char *);
int randomByte() {
  unsigned char t;
  static struct {
    unsigned char isInit;
    unsigned char i, j;
    unsigned char s[256];
  } prng;
  if (!prng.isInit) {
    int i;
    char k[256];
    prng.j = 0;
    prng.i = 0;
    sqlite3OsRandomSeed(k);
    for (i = 0; i < 256; i++) {
      prng.s[i] = i;
    }
    for (i = 0; i < 256; i++) {
      prng.j += prng.s[i] + k[i];
      t = prng.s[prng.j];
      prng.s[prng.j] = prng.s[i];
      prng.s[i] = t;
    }
    prng.isInit = 1;
  }
  prng.i++;
  t = prng.s[prng.i];
  prng.j += t;
  prng.s[prng.i] = prng.s[prng.j];
  prng.s[prng.j] = t;
  t += prng.s[prng.i];
  return prng.s[t];
}


x86 assembly (clang, -O0):
<randomByte>:
push   %rbp
mov    %rsp,%rbp
sub    $0x110,%rsp
cmpb   $0x0,0x2f07(%rip)
jne    121a <randomByte+0x10a>
movb   $0x0,0x2efc(%rip)
movb   $0x0,0x2ef4(%rip)
lea    -0x110(%rbp),%rdi
call   1030 <sqlite3OsRandomSeed@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x100,-0x8(%rbp)
jge    1178 <randomByte+0x68>
mov    -0x8(%rbp),%eax
mov    %al,%dl
movslq -0x8(%rbp),%rcx
lea    0x2ec3(%rip),%rax
mov    %dl,0x3(%rax,%rcx,1)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1149 <randomByte+0x39>
movl   $0x0,-0x8(%rbp)
cmpl   $0x100,-0x8(%rbp)
jge    1213 <randomByte+0x103>
movslq -0x8(%rbp),%rcx
lea    0x2e92(%rip),%rax
movzbl 0x3(%rax,%rcx,1),%ecx
movslq -0x8(%rbp),%rax
movsbl -0x110(%rbp,%rax,1),%eax
ff
add    %eax,%ecx
movzbl 0x2e7a(%rip),%eax
add    %ecx,%eax
mov    %al,0x2e72(%rip)
movzbl 0x2e6b(%rip),%eax
mov    %eax,%ecx
lea    0x2e60(%rip),%rax
mov    0x3(%rax,%rcx,1),%al
mov    %al,-0x1(%rbp)
movslq -0x8(%rbp),%rcx
lea    0x2e4e(%rip),%rax
mov    0x3(%rax,%rcx,1),%dl
movzbl 0x2e45(%rip),%eax
mov    %eax,%ecx
lea    0x2e3a(%rip),%rax
mov    %dl,0x3(%rax,%rcx,1)
mov    -0x1(%rbp),%dl
movslq -0x8(%rbp),%rcx
lea    0x2e28(%rip),%rax
mov    %dl,0x3(%rax,%rcx,1)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    117f <randomByte+0x6f>
movb   $0x1,0x2e0f(%rip)
mov    0x2e0a(%rip),%al
add    $0x1,%al
mov    %al,0x2e02(%rip)
movzbl 0x2dfb(%rip),%eax
mov    %eax,%ecx
lea    0x2df1(%rip),%rax
mov    0x3(%rax,%rcx,1),%al
mov    %al,-0x1(%rbp)
movzbl -0x1(%rbp),%ecx
movzbl 0x2de1(%rip),%eax
add    %ecx,%eax
mov    %al,0x2dd9(%rip)
movzbl 0x2dd2(%rip),%eax
mov    %eax,%ecx
lea    0x2dc7(%rip),%rax
mov    0x3(%rax,%rcx,1),%dl
movzbl 0x2dbd(%rip),%eax
mov    %eax,%ecx
lea    0x2db3(%rip),%rax
mov    %dl,0x3(%rax,%rcx,1)
mov    -0x1(%rbp),%dl
movzbl 0x2da7(%rip),%eax
mov    %eax,%ecx
lea    0x2d9c(%rip),%rax
mov    %dl,0x3(%rax,%rcx,1)
movzbl 0x2d92(%rip),%eax
mov    %eax,%ecx
lea    0x2d88(%rip),%rax
movzbl 0x3(%rax,%rcx,1),%ecx
movzbl -0x1(%rbp),%eax
add    %ecx,%eax
mov    %al,-0x1(%rbp)
movzbl -0x1(%rbp),%eax
mov    %eax,%ecx
lea    0x2d6d(%rip),%rax
movzbl 0x3(%rax,%rcx,1),%eax
add    $0x110,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<randomByte>:
sub    $0x108,%rsp
cmpb   $0x0,0x2f0b(%rip)
je     112b <randomByte+0x1b>
mov    0x2f05(%rip),%al
jmp    1285 <randomByte+0x175>
movw   $0x0,0x2ef6(%rip)
mov    %rsp,%rdi
call   1030 <sqlite3OsRandomSeed@plt>
movaps 0xebd(%rip),%xmm0
movups %xmm0,0x2ee2(%rip)
movaps 0xebf(%rip),%xmm0
movups %xmm0,0x2ee4(%rip)
movaps 0xec1(%rip),%xmm0
movups %xmm0,0x2ee6(%rip)
movaps 0xec3(%rip),%xmm0
movups %xmm0,0x2ee8(%rip)
movaps 0xec5(%rip),%xmm0
movups %xmm0,0x2eea(%rip)
movaps 0xec7(%rip),%xmm0
movups %xmm0,0x2eec(%rip)
movaps 0xec9(%rip),%xmm0
movups %xmm0,0x2eee(%rip)
movaps 0xecb(%rip),%xmm0
movups %xmm0,0x2ef0(%rip)
movaps 0xecd(%rip),%xmm0
movups %xmm0,0x2ef2(%rip)
movaps 0xecf(%rip),%xmm0
movups %xmm0,0x2ef4(%rip)
movaps 0xed1(%rip),%xmm0
movups %xmm0,0x2ef6(%rip)
movaps 0xed3(%rip),%xmm0
movups %xmm0,0x2ef8(%rip)
movaps 0xed5(%rip),%xmm0
movups %xmm0,0x2efa(%rip)
movaps 0xed7(%rip),%xmm0
movups %xmm0,0x2efc(%rip)
movaps 0xed9(%rip),%xmm0
movups %xmm0,0x2efe(%rip)
movaps 0xedb(%rip),%xmm0
movups %xmm0,0x2f00(%rip)
xor    %ecx,%ecx
mov    0x2e07(%rip),%al
lea    0x2dfe(%rip),%rsi
nopl   0x0(%rax,%rax,1)
movzbl 0x3(%rcx,%rsi,1),%edi
movzbl (%rsp,%rcx,1),%edx
add    %dil,%dl
add    %al,%dl
movzbl %dl,%eax
movzbl 0x3(%rax,%rsi,1),%edx
mov    %dil,0x3(%rax,%rsi,1)
mov    %dl,0x3(%rcx,%rsi,1)
movzbl 0x4(%rcx,%rsi,1),%edi
movzbl 0x1(%rsp,%rcx,1),%edx
add    %dil,%dl
add    %dl,%al
movzbl %al,%edx
movzbl 0x3(%rdx,%rsi,1),%r8d
mov    %dil,0x3(%rdx,%rsi,1)
mov    %r8b,0x4(%rcx,%rsi,1)
add    $0x2,%rcx
cmp    $0x100,%rcx
jne    1230 <randomByte+0x120>
movb   $0x1,0x2da4(%rip)
lea    0x2d9d(%rip),%rsi
mov    0x2d98(%rip),%dl
add    $0x1,%dl
mov    %dl,0x2d8f(%rip)
movzbl %dl,%edx
mov    0x3(%rdx,%rsi,1),%cl
add    %cl,%al
mov    %al,0x2d81(%rip)
movzbl %al,%edi
mov    0x3(%rdi,%rsi,1),%al
mov    %al,0x3(%rdx,%rsi,1)
mov    %cl,0x3(%rdi,%rsi,1)
add    0x3(%rdx,%rsi,1),%cl
movzbl %cl,%eax
movzbl 0x3(%rax,%rsi,1),%eax
add    $0x108,%rsp
ret

LLVM IR (-O0):
%struct.anon = type { i8, i8, i8, [256 x i8] }
@randomByte.prng = internal global %struct.anon zeroinitializer
define i32 @randomByte() {
%1 = alloca i8
%2 = alloca i32
%3 = alloca [256 x i8]
%4 = load i8, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 0)
%5 = icmp ne i8 %4, 0
br i1 %5, label %60, label %6
6: ; preds = %0
store i8 0, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 2)
store i8 0, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 1)
%7 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%8 = call i32 @sqlite3OsRandomSeed(i8* %7)
store i32 0, i32* %2
br label %9
9: ; preds = %18, %6
%10 = load i32, i32* %2
%11 = icmp slt i32 %10, 256
br i1 %11, label %12, label %21
12: ; preds = %9
%13 = load i32, i32* %2
%14 = trunc i32 %13 to i8
%15 = load i32, i32* %2
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [256 x i8], [256 x i8]* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 3), i64 0, i64 %16
store i8 %14, i8* %17
br label %18
18: ; preds = %12
%19 = load i32, i32* %2
%20 = add nsw i32 %19, 1
store i32 %20, i32* %2
br label %9
21: ; preds = %9
store i32 0, i32* %2
br label %22
22: ; preds = %56, %21
%23 = load i32, i32* %2
%24 = icmp slt i32 %23, 256
br i1 %24, label %25, label %59
25: ; preds = %22
%26 = load i32, i32* %2
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [256 x i8], [256 x i8]* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 3), i64 0, i64 %27
%29 = load i8, i8* %28
%30 = zext i8 %29 to i32
%31 = load i32, i32* %2
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 %32
%34 = load i8, i8* %33
%35 = sext i8 %34 to i32
%36 = add nsw i32 %30, %35
%37 = load i8, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 2)
%38 = zext i8 %37 to i32
%39 = add nsw i32 %38, %36
%40 = trunc i32 %39 to i8
store i8 %40, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 2)
%41 = load i8, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 2)
%42 = zext i8 %41 to i64
%43 = getelementptr inbounds [256 x i8], [256 x i8]* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 3), i64 0, i64 %42
%44 = load i8, i8* %43
store i8 %44, i8* %1
%45 = load i32, i32* %2
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [256 x i8], [256 x i8]* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 3), i64 0, i64 %46
%48 = load i8, i8* %47
%49 = load i8, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 2)
%50 = zext i8 %49 to i64
%51 = getelementptr inbounds [256 x i8], [256 x i8]* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 3), i64 0, i64 %50
store i8 %48, i8* %51
%52 = load i8, i8* %1
%53 = load i32, i32* %2
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [256 x i8], [256 x i8]* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 3), i64 0, i64 %54
store i8 %52, i8* %55
br label %56
56: ; preds = %25
%57 = load i32, i32* %2
%58 = add nsw i32 %57, 1
store i32 %58, i32* %2
br label %22
59: ; preds = %22
store i8 1, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 0)
br label %60
60: ; preds = %59, %0
%61 = load i8, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 1)
%62 = add i8 %61, 1
store i8 %62, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 1)
%63 = load i8, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 1)
%64 = zext i8 %63 to i64
%65 = getelementptr inbounds [256 x i8], [256 x i8]* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 3), i64 0, i64 %64
%66 = load i8, i8* %65
store i8 %66, i8* %1
%67 = load i8, i8* %1
%68 = zext i8 %67 to i32
%69 = load i8, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 2)
%70 = zext i8 %69 to i32
%71 = add nsw i32 %70, %68
%72 = trunc i32 %71 to i8
store i8 %72, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 2)
%73 = load i8, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 2)
%74 = zext i8 %73 to i64
%75 = getelementptr inbounds [256 x i8], [256 x i8]* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 3), i64 0, i64 %74
%76 = load i8, i8* %75
%77 = load i8, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 1)
%78 = zext i8 %77 to i64
%79 = getelementptr inbounds [256 x i8], [256 x i8]* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 3), i64 0, i64 %78
store i8 %76, i8* %79
%80 = load i8, i8* %1
%81 = load i8, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 2)
%82 = zext i8 %81 to i64
%83 = getelementptr inbounds [256 x i8], [256 x i8]* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 3), i64 0, i64 %82
store i8 %80, i8* %83
%84 = load i8, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 1)
%85 = zext i8 %84 to i64
%86 = getelementptr inbounds [256 x i8], [256 x i8]* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 3), i64 0, i64 %85
%87 = load i8, i8* %86
%88 = zext i8 %87 to i32
%89 = load i8, i8* %1
%90 = zext i8 %89 to i32
%91 = add nsw i32 %90, %88
%92 = trunc i32 %91 to i8
store i8 %92, i8* %1
%93 = load i8, i8* %1
%94 = zext i8 %93 to i64
%95 = getelementptr inbounds [256 x i8], [256 x i8]* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i32 0, i32 3), i64 0, i64 %94
%96 = load i8, i8* %95
%97 = zext i8 %96 to i32
ret i32 %97
}

LLVM IR (-O2):
%struct.anon = type { i8, i8, i8, [256 x i8] }
@randomByte.prng = internal unnamed_addr global %struct.anon zeroinitializer
define i32 @randomByte() {
%1 = alloca [256 x i8]
%2 = load i8, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 0)
%3 = icmp eq i8 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %0
%5 = load i8, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 2)
br label %35
6: ; preds = %0
%7 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
store i8 0, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 2)
store i8 0, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 1)
%8 = call i32 @sqlite3OsRandomSeed(i8* %7)
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>* bitcast (i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 0) 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>* bitcast (i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 16) 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>* bitcast (i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 32) 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>* bitcast (i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 48) 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>* bitcast (i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 64) 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>* bitcast (i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 80) 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>* bitcast (i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 96) 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>* bitcast (i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 112) 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>* bitcast (i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 128) 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>* bitcast (i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 144) 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>* bitcast (i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 160) 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>* bitcast (i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 176) 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>* bitcast (i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 192) 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>* bitcast (i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 208) 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>* bitcast (i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 224) 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>* bitcast (i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 240) to <16 x i8>*)
%9 = load i8, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 2)
br label %10
10: ; preds = %10, %6
%11 = phi i64 [ 0, %6 ], [ %32, %10 ]
%12 = phi i8 [ %9, %6 ], [ %28, %10 ]
%13 = getelementptr inbounds %struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 %11
%14 = load i8, i8* %13
%15 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 %11
%16 = load i8, i8* %15
%17 = add i8 %16, %14
%18 = add i8 %17, %12
%19 = zext i8 %18 to i64
%20 = getelementptr inbounds %struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 %19
%21 = load i8, i8* %20
store i8 %14, i8* %20
store i8 %21, i8* %13
%22 = or i64 %11, 1
%23 = getelementptr inbounds %struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 %22
%24 = load i8, i8* %23
%25 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 %22
%26 = load i8, i8* %25
%27 = add i8 %26, %24
%28 = add i8 %27, %18
%29 = zext i8 %28 to i64
%30 = getelementptr inbounds %struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 %29
%31 = load i8, i8* %30
store i8 %24, i8* %30
store i8 %31, i8* %23
%32 = add nuw nsw i64 %11, 2
%33 = icmp eq i64 %32, 256
br i1 %33, label %34, label %10
34: ; preds = %10
store i8 1, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 0)
br label %35
35: ; preds = %4, %34
%36 = phi i8 [ %5, %4 ], [ %28, %34 ]
%37 = load i8, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 1)
%38 = add i8 %37, 1
store i8 %38, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 1)
%39 = zext i8 %38 to i64
%40 = getelementptr inbounds %struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 %39
%41 = load i8, i8* %40
%42 = add i8 %36, %41
store i8 %42, i8* getelementptr inbounds (%struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 2)
%43 = zext i8 %42 to i64
%44 = getelementptr inbounds %struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 %43
%45 = load i8, i8* %44
store i8 %45, i8* %40
store i8 %41, i8* %44
%46 = load i8, i8* %40
%47 = add i8 %46, %41
%48 = zext i8 %47 to i64
%49 = getelementptr inbounds %struct.anon, %struct.anon* @randomByte.prng, i64 0, i32 3, i64 %48
%50 = load i8, i8* %49
%51 = zext i8 %50 to i32
ret i32 %51
}