#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*/ uint8_t;

/* Variables and functions */
int /*<<< orphan*/ P(int /*<<< orphan*/ *, int /*<<< orphan*/ *,
                     int /*<<< orphan*/ *, int /*<<< orphan*/ *,
                     int /*<<< orphan*/ *, int /*<<< orphan*/ *,
                     int /*<<< orphan*/ *, int /*<<< orphan*/ *);
int /*<<< orphan*/ memcpy(int /*<<< orphan*/ *, int /*<<< orphan*/ *, int);
int /*<<< orphan*/ xor_blocks(int /*<<< orphan*/ *, int /*<<< orphan*/ *,
                              int /*<<< orphan*/ *);
void compression_G(uint8_t *Result, uint8_t *X, uint8_t *Y) {
  uint8_t R_array[1024];
  xor_blocks(R_array, X, Y);
  uint8_t R[8][8][16];
  int h = 0;
  for (int i = 0; i < 8; i++) {
    for (int j = 0; j < 8; j++) {
      memcpy(R[i][j], R_array + 16 * h, 16);
      h++;
    }
  }
  for (int i = 0; i < 8; i++) {
    P(R[i][0], R[i][1], R[i][2], R[i][3], R[i][4], R[i][5], R[i][6], R[i][7]);
  }
  for (int j = 0; j < 8; j++) {
    P(R[0][j], R[1][j], R[2][j], R[3][j], R[4][j], R[5][j], R[6][j], R[7][j]);
  }
  h = 0;
  for (int i = 0; i < 8; i++) {
    for (int j = 0; j < 8; j++) {
      memcpy(R_array + 16 * h, R[i][j], 16);
      h++;
    }
  }
  xor_blocks(Result, X, Y);
  xor_blocks(Result, Result, R_array);
}


x86 assembly (clang, -O0):
<compression_G>:
push   %rbp
mov    %rsp,%rbp
sub    $0x2050,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
lea    -0x1020(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
call   1050 <xor_blocks@plt>
movl   $0x0,-0x2024(%rbp)
movl   $0x0,-0x2028(%rbp)
cmpl   $0x8,-0x2028(%rbp)
jge    1215 <compression_G+0xe5>
movl   $0x0,-0x202c(%rbp)
cmpl   $0x8,-0x202c(%rbp)
jge    11fc <compression_G+0xcc>
movslq -0x2028(%rbp),%rax
lea    -0x2020(%rbp),%rdi
shl    $0x9,%rax
add    %rax,%rdi
movslq -0x202c(%rbp),%rax
shl    $0x6,%rax
add    %rax,%rdi
lea    -0x1020(%rbp),%rsi
mov    -0x2024(%rbp),%eax
shl    $0x4,%eax
cltq
shl    $0x2,%rax
add    %rax,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
mov    -0x2024(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2024(%rbp)
mov    -0x202c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x202c(%rbp)
jmp    1186 <compression_G+0x56>
jmp    1201 <compression_G+0xd1>
mov    -0x2028(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2028(%rbp)
jmp    116f <compression_G+0x3f>
movl   $0x0,-0x2030(%rbp)
cmpl   $0x8,-0x2030(%rbp)
jge    1323 <compression_G+0x1f3>
movslq -0x2030(%rbp),%rax
lea    -0x2020(%rbp),%rdi
shl    $0x9,%rax
add    %rax,%rdi
movslq -0x2030(%rbp),%rax
lea    -0x2020(%rbp),%rsi
shl    $0x9,%rax
add    %rax,%rsi
add    $0x40,%rsi
movslq -0x2030(%rbp),%rax
lea    -0x2020(%rbp),%rdx
shl    $0x9,%rax
add    %rax,%rdx
add    $0x80,%rdx
movslq -0x2030(%rbp),%rax
lea    -0x2020(%rbp),%rcx
shl    $0x9,%rax
add    %rax,%rcx
add    $0xc0,%rcx
movslq -0x2030(%rbp),%rax
lea    -0x2020(%rbp),%r8
shl    $0x9,%rax
add    %rax,%r8
add    $0x100,%r8
movslq -0x2030(%rbp),%rax
lea    -0x2020(%rbp),%r9
shl    $0x9,%rax
add    %rax,%r9
add    $0x140,%r9
movslq -0x2030(%rbp),%rax
lea    -0x2020(%rbp),%r10
shl    $0x9,%rax
add    %rax,%r10
add    $0x180,%r10
movslq -0x2030(%rbp),%r11
lea    -0x2020(%rbp),%rax
shl    $0x9,%r11
add    %r11,%rax
add    $0x1c0,%rax
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
call   1030 <P@plt>
mov    -0x2030(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2030(%rbp)
jmp    121f <compression_G+0xef>
movl   $0x0,-0x2034(%rbp)
cmpl   $0x8,-0x2034(%rbp)
jge    1434 <compression_G+0x304>
lea    -0x2020(%rbp),%rdi
movslq -0x2034(%rbp),%rax
shl    $0x6,%rax
add    %rax,%rdi
lea    -0x2020(%rbp),%rsi
add    $0x200,%rsi
movslq -0x2034(%rbp),%rax
shl    $0x6,%rax
add    %rax,%rsi
lea    -0x2020(%rbp),%rdx
add    $0x400,%rdx
movslq -0x2034(%rbp),%rax
shl    $0x6,%rax
add    %rax,%rdx
lea    -0x2020(%rbp),%rcx
add    $0x600,%rcx
movslq -0x2034(%rbp),%rax
shl    $0x6,%rax
add    %rax,%rcx
lea    -0x2020(%rbp),%r8
add    $0x800,%r8
movslq -0x2034(%rbp),%rax
shl    $0x6,%rax
add    %rax,%r8
lea    -0x2020(%rbp),%r9
add    $0xa00,%r9
movslq -0x2034(%rbp),%rax
shl    $0x6,%rax
add    %rax,%r9
lea    -0x2020(%rbp),%r10
add    $0xc00,%r10
movslq -0x2034(%rbp),%rax
shl    $0x6,%rax
add    %rax,%r10
lea    -0x2020(%rbp),%rax
add    $0xe00,%rax
movslq -0x2034(%rbp),%r11
shl    $0x6,%r11
add    %r11,%rax
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
call   1030 <P@plt>
mov    -0x2034(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2034(%rbp)
jmp    132d <compression_G+0x1fd>
movl   $0x0,-0x2024(%rbp)
movl   $0x0,-0x2038(%rbp)
cmpl   $0x8,-0x2038(%rbp)
jge    14ee <compression_G+0x3be>
movl   $0x0,-0x203c(%rbp)
cmpl   $0x8,-0x203c(%rbp)
jge    14d5 <compression_G+0x3a5>
lea    -0x1020(%rbp),%rdi
mov    -0x2024(%rbp),%eax
shl    $0x4,%eax
cltq
shl    $0x2,%rax
add    %rax,%rdi
movslq -0x2038(%rbp),%rax
lea    -0x2020(%rbp),%rsi
shl    $0x9,%rax
add    %rax,%rsi
movslq -0x203c(%rbp),%rax
shl    $0x6,%rax
add    %rax,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
mov    -0x2024(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2024(%rbp)
mov    -0x203c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x203c(%rbp)
jmp    145f <compression_G+0x32f>
jmp    14da <compression_G+0x3aa>
mov    -0x2038(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2038(%rbp)
jmp    1448 <compression_G+0x318>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
call   1050 <xor_blocks@plt>
mov    -0x8(%rbp),%rdi
mov    -0x8(%rbp),%rsi
lea    -0x1020(%rbp),%rdx
call   1050 <xor_blocks@plt>
add    $0x2050,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<compression_G>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x2028,%rsp
mov    %rdi,0x18(%rsp)
lea    0x1020(%rsp),%rdi
mov    %rsi,0x8(%rsp)
mov    %rdx,0x10(%rsp)
call   1050 <xor_blocks@plt>
xor    %ebx,%ebx
nop
lea    (%rsp,%rbx,1),%rdi
add    $0x20,%rdi
lea    (%rsp,%rbx,1),%rsi
add    $0x1020,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
lea    (%rsp,%rbx,1),%rdi
add    $0x60,%rdi
lea    (%rsp,%rbx,1),%rsi
add    $0x1060,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
lea    (%rsp,%rbx,1),%rdi
add    $0xa0,%rdi
lea    (%rsp,%rbx,1),%rsi
add    $0x10a0,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
lea    (%rsp,%rbx,1),%rdi
add    $0xe0,%rdi
lea    (%rsp,%rbx,1),%rsi
add    $0x10e0,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
lea    (%rsp,%rbx,1),%rdi
add    $0x120,%rdi
lea    (%rsp,%rbx,1),%rsi
add    $0x1120,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
lea    (%rsp,%rbx,1),%rdi
add    $0x160,%rdi
lea    (%rsp,%rbx,1),%rsi
add    $0x1160,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
lea    (%rsp,%rbx,1),%rdi
add    $0x1a0,%rdi
lea    (%rsp,%rbx,1),%rsi
add    $0x11a0,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
lea    (%rsp,%rbx,1),%rdi
add    $0x1e0,%rdi
lea    (%rsp,%rbx,1),%rsi
add    $0x11e0,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
add    $0x200,%rbx
cmp    $0x1000,%rbx
jne    1160 <compression_G+0x30>
lea    0x60(%rsp),%rsi
lea    0xa0(%rsp),%rdx
lea    0xe0(%rsp),%rcx
lea    0x120(%rsp),%r8
lea    0x160(%rsp),%r9
lea    0x1a0(%rsp),%rbp
lea    0x1e0(%rsp),%rax
lea    0x20(%rsp),%rdi
push   %rax
push   %rbp
call   1030 <P@plt>
add    $0x10,%rsp
lea    0x220(%rsp),%rdi
lea    0x260(%rsp),%rsi
lea    0x2a0(%rsp),%rdx
lea    0x2e0(%rsp),%rcx
lea    0x320(%rsp),%r8
lea    0x360(%rsp),%r9
lea    0x3a0(%rsp),%rbp
lea    0x3e0(%rsp),%rax
push   %rax
push   %rbp
call   1030 <P@plt>
add    $0x10,%rsp
lea    0x420(%rsp),%rdi
lea    0x460(%rsp),%rsi
lea    0x4a0(%rsp),%rdx
lea    0x4e0(%rsp),%rcx
lea    0x520(%rsp),%r8
lea    0x560(%rsp),%r9
lea    0x5a0(%rsp),%rbp
lea    0x5e0(%rsp),%rax
push   %rax
push   %rbp
call   1030 <P@plt>
add    $0x10,%rsp
lea    0x620(%rsp),%rdi
lea    0x660(%rsp),%rsi
lea    0x6a0(%rsp),%rdx
lea    0x6e0(%rsp),%rcx
lea    0x720(%rsp),%r8
lea    0x760(%rsp),%r9
lea    0x7a0(%rsp),%rbp
lea    0x7e0(%rsp),%rax
push   %rax
push   %rbp
call   1030 <P@plt>
add    $0x10,%rsp
lea    0x820(%rsp),%rdi
lea    0x860(%rsp),%rsi
lea    0x8a0(%rsp),%rdx
lea    0x8e0(%rsp),%rcx
lea    0x920(%rsp),%r8
lea    0x960(%rsp),%r9
lea    0x9a0(%rsp),%rbp
lea    0x9e0(%rsp),%rax
push   %rax
push   %rbp
call   1030 <P@plt>
add    $0x10,%rsp
lea    0xa20(%rsp),%rdi
lea    0xa60(%rsp),%rsi
lea    0xaa0(%rsp),%rdx
lea    0xae0(%rsp),%rcx
lea    0xb20(%rsp),%r8
lea    0xb60(%rsp),%r9
lea    0xba0(%rsp),%rbp
lea    0xbe0(%rsp),%rax
push   %rax
push   %rbp
call   1030 <P@plt>
add    $0x10,%rsp
lea    0xc20(%rsp),%rbx
lea    0xc60(%rsp),%r14
lea    0xca0(%rsp),%rdx
lea    0xce0(%rsp),%rcx
lea    0xd20(%rsp),%r8
lea    0xd60(%rsp),%r9
lea    0xda0(%rsp),%rbp
lea    0xde0(%rsp),%rax
mov    %rbx,%rdi
mov    %r14,%rsi
push   %rax
push   %rbp
call   1030 <P@plt>
add    $0x10,%rsp
lea    0xe20(%rsp),%r13
lea    0xe60(%rsp),%r12
lea    0xea0(%rsp),%r15
lea    0xee0(%rsp),%rcx
lea    0xf20(%rsp),%r8
lea    0xf60(%rsp),%r9
lea    0xfa0(%rsp),%rbp
lea    0xfe0(%rsp),%rax
mov    %r13,%rdi
mov    %r12,%rsi
mov    %r15,%rdx
push   %rax
push   %rbp
call   1030 <P@plt>
add    $0x10,%rsp
lea    0x20(%rsp),%rdi
lea    0x220(%rsp),%rsi
lea    0x420(%rsp),%rdx
lea    0x620(%rsp),%rcx
lea    0x820(%rsp),%r8
lea    0xa20(%rsp),%r9
push   %r13
push   %rbx
call   1030 <P@plt>
add    $0x10,%rsp
lea    0x60(%rsp),%rdi
lea    0x260(%rsp),%rsi
lea    0x460(%rsp),%rdx
lea    0x660(%rsp),%rcx
lea    0x860(%rsp),%r8
lea    0xa60(%rsp),%r9
push   %r12
push   %r14
call   1030 <P@plt>
add    $0x10,%rsp
lea    0xa0(%rsp),%rdi
lea    0x2a0(%rsp),%rsi
lea    0x4a0(%rsp),%rdx
lea    0x6a0(%rsp),%rcx
lea    0x8a0(%rsp),%r8
lea    0xaa0(%rsp),%r9
push   %r15
lea    0xca8(%rsp),%rax
push   %rax
call   1030 <P@plt>
add    $0x10,%rsp
lea    0xe0(%rsp),%rdi
lea    0x2e0(%rsp),%rsi
lea    0x4e0(%rsp),%rdx
lea    0x6e0(%rsp),%rcx
lea    0x8e0(%rsp),%r8
lea    0xae0(%rsp),%r9
lea    0xee0(%rsp),%rax
push   %rax
lea    0xce8(%rsp),%rax
push   %rax
call   1030 <P@plt>
add    $0x10,%rsp
lea    0x120(%rsp),%rdi
lea    0x320(%rsp),%rsi
lea    0x520(%rsp),%rdx
lea    0x720(%rsp),%rcx
lea    0x920(%rsp),%r8
lea    0xb20(%rsp),%r9
lea    0xf20(%rsp),%rax
push   %rax
lea    0xd28(%rsp),%rax
push   %rax
call   1030 <P@plt>
add    $0x10,%rsp
lea    0x160(%rsp),%rdi
lea    0x360(%rsp),%rsi
lea    0x560(%rsp),%rdx
lea    0x760(%rsp),%rcx
lea    0x960(%rsp),%r8
lea    0xb60(%rsp),%r9
lea    0xf60(%rsp),%rax
push   %rax
lea    0xd68(%rsp),%rax
push   %rax
call   1030 <P@plt>
add    $0x10,%rsp
lea    0x1a0(%rsp),%rdi
lea    0x3a0(%rsp),%rsi
lea    0x5a0(%rsp),%rdx
lea    0x7a0(%rsp),%rcx
lea    0x9a0(%rsp),%r8
lea    0xba0(%rsp),%r9
push   %rbp
lea    0xda8(%rsp),%rax
push   %rax
call   1030 <P@plt>
add    $0x10,%rsp
lea    0x1e0(%rsp),%rdi
lea    0x3e0(%rsp),%rsi
lea    0x5e0(%rsp),%rdx
lea    0x7e0(%rsp),%rcx
lea    0x9e0(%rsp),%r8
lea    0xbe0(%rsp),%r9
lea    0xfe0(%rsp),%rax
push   %rax
lea    0xde8(%rsp),%rax
push   %rax
call   1030 <P@plt>
add    $0x10,%rsp
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
lea    (%rsp,%rbx,1),%rdi
add    $0x1020,%rdi
lea    (%rsp,%rbx,1),%rsi
add    $0x20,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
lea    (%rsp,%rbx,1),%rdi
add    $0x1060,%rdi
lea    (%rsp,%rbx,1),%rsi
add    $0x60,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
lea    (%rsp,%rbx,1),%rdi
add    $0x10a0,%rdi
lea    (%rsp,%rbx,1),%rsi
add    $0xa0,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
lea    (%rsp,%rbx,1),%rdi
add    $0x10e0,%rdi
lea    (%rsp,%rbx,1),%rsi
add    $0xe0,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
lea    (%rsp,%rbx,1),%rdi
add    $0x1120,%rdi
lea    (%rsp,%rbx,1),%rsi
add    $0x120,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
lea    (%rsp,%rbx,1),%rdi
add    $0x1160,%rdi
lea    (%rsp,%rbx,1),%rsi
add    $0x160,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
lea    (%rsp,%rbx,1),%rdi
add    $0x11a0,%rdi
lea    (%rsp,%rbx,1),%rsi
add    $0x1a0,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
lea    (%rsp,%rbx,1),%rdi
add    $0x11e0,%rdi
lea    (%rsp,%rbx,1),%rsi
add    $0x1e0,%rsi
mov    $0x10,%edx
call   1040 <memcpy@plt>
add    $0x200,%rbx
cmp    $0x1000,%rbx
jne    1700 <compression_G+0x5d0>
mov    0x18(%rsp),%rbx
mov    %rbx,%rdi
mov    0x8(%rsp),%rsi
mov    0x10(%rsp),%rdx
call   1050 <xor_blocks@plt>
lea    0x1020(%rsp),%rdx
mov    %rbx,%rdi
mov    %rbx,%rsi
call   1050 <xor_blocks@plt>
add    $0x2028,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @compression_G(i32* %0, i32* %1, i32* %2) {
%4 = alloca i32*
%5 = alloca i32*
%6 = alloca i32*
%7 = alloca [1024 x i32]
%8 = alloca [8 x [8 x [16 x i32]]]
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
store i32* %0, i32** %4
store i32* %1, i32** %5
store i32* %2, i32** %6
%16 = getelementptr inbounds [1024 x i32], [1024 x i32]* %7, i64 0, i64 0
%17 = load i32*, i32** %5
%18 = load i32*, i32** %6
%19 = call i32 @xor_blocks(i32* %16, i32* %17, i32* %18)
store i32 0, i32* %9
store i32 0, i32* %10
br label %20
20: ; preds = %47, %3
%21 = load i32, i32* %10
%22 = icmp slt i32 %21, 8
br i1 %22, label %23, label %50
23: ; preds = %20
store i32 0, i32* %11
br label %24
24: ; preds = %43, %23
%25 = load i32, i32* %11
%26 = icmp slt i32 %25, 8
br i1 %26, label %27, label %46
27: ; preds = %24
%28 = load i32, i32* %10
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 %29
%31 = load i32, i32* %11
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %30, i64 0, i64 %32
%34 = getelementptr inbounds [16 x i32], [16 x i32]* %33, i64 0, i64 0
%35 = getelementptr inbounds [1024 x i32], [1024 x i32]* %7, i64 0, i64 0
%36 = load i32, i32* %9
%37 = mul nsw i32 16, %36
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, i32* %35, i64 %38
%40 = call i32 @memcpy(i32* %34, i32* %39, i32 16)
%41 = load i32, i32* %9
%42 = add nsw i32 %41, 1
store i32 %42, i32* %9
br label %43
43: ; preds = %27
%44 = load i32, i32* %11
%45 = add nsw i32 %44, 1
store i32 %45, i32* %11
br label %24
46: ; preds = %24
br label %47
47: ; preds = %46
%48 = load i32, i32* %10
%49 = add nsw i32 %48, 1
store i32 %49, i32* %10
br label %20
50: ; preds = %20
store i32 0, i32* %12
br label %51
51: ; preds = %96, %50
%52 = load i32, i32* %12
%53 = icmp slt i32 %52, 8
br i1 %53, label %54, label %99
54: ; preds = %51
%55 = load i32, i32* %12
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 %56
%58 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %57, i64 0, i64 0
%59 = getelementptr inbounds [16 x i32], [16 x i32]* %58, i64 0, i64 0
%60 = load i32, i32* %12
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 %61
%63 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %62, i64 0, i64 1
%64 = getelementptr inbounds [16 x i32], [16 x i32]* %63, i64 0, i64 0
%65 = load i32, i32* %12
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 %66
%68 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %67, i64 0, i64 2
%69 = getelementptr inbounds [16 x i32], [16 x i32]* %68, i64 0, i64 0
%70 = load i32, i32* %12
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 %71
%73 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %72, i64 0, i64 3
%74 = getelementptr inbounds [16 x i32], [16 x i32]* %73, i64 0, i64 0
%75 = load i32, i32* %12
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 %76
%78 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %77, i64 0, i64 4
%79 = getelementptr inbounds [16 x i32], [16 x i32]* %78, i64 0, i64 0
%80 = load i32, i32* %12
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 %81
%83 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %82, i64 0, i64 5
%84 = getelementptr inbounds [16 x i32], [16 x i32]* %83, i64 0, i64 0
%85 = load i32, i32* %12
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 %86
%88 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %87, i64 0, i64 6
%89 = getelementptr inbounds [16 x i32], [16 x i32]* %88, i64 0, i64 0
%90 = load i32, i32* %12
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 %91
%93 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %92, i64 0, i64 7
%94 = getelementptr inbounds [16 x i32], [16 x i32]* %93, i64 0, i64 0
%95 = call i32 @P(i32* %59, i32* %64, i32* %69, i32* %74, i32* %79, i32* %84, i32* %89, i32* %94)
br label %96
96: ; preds = %54
%97 = load i32, i32* %12
%98 = add nsw i32 %97, 1
store i32 %98, i32* %12
br label %51
99: ; preds = %51
store i32 0, i32* %13
br label %100
100: ; preds = %145, %99
%101 = load i32, i32* %13
%102 = icmp slt i32 %101, 8
br i1 %102, label %103, label %148
103: ; preds = %100
%104 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 0
%105 = load i32, i32* %13
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %104, i64 0, i64 %106
%108 = getelementptr inbounds [16 x i32], [16 x i32]* %107, i64 0, i64 0
%109 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 1
%110 = load i32, i32* %13
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %109, i64 0, i64 %111
%113 = getelementptr inbounds [16 x i32], [16 x i32]* %112, i64 0, i64 0
%114 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 2
%115 = load i32, i32* %13
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %114, i64 0, i64 %116
%118 = getelementptr inbounds [16 x i32], [16 x i32]* %117, i64 0, i64 0
%119 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 3
%120 = load i32, i32* %13
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %119, i64 0, i64 %121
%123 = getelementptr inbounds [16 x i32], [16 x i32]* %122, i64 0, i64 0
%124 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 4
%125 = load i32, i32* %13
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %124, i64 0, i64 %126
%128 = getelementptr inbounds [16 x i32], [16 x i32]* %127, i64 0, i64 0
%129 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 5
%130 = load i32, i32* %13
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %129, i64 0, i64 %131
%133 = getelementptr inbounds [16 x i32], [16 x i32]* %132, i64 0, i64 0
%134 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 6
%135 = load i32, i32* %13
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %134, i64 0, i64 %136
%138 = getelementptr inbounds [16 x i32], [16 x i32]* %137, i64 0, i64 0
%139 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 7
%140 = load i32, i32* %13
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %139, i64 0, i64 %141
%143 = getelementptr inbounds [16 x i32], [16 x i32]* %142, i64 0, i64 0
%144 = call i32 @P(i32* %108, i32* %113, i32* %118, i32* %123, i32* %128, i32* %133, i32* %138, i32* %143)
br label %145
145: ; preds = %103
%146 = load i32, i32* %13
%147 = add nsw i32 %146, 1
store i32 %147, i32* %13
br label %100
148: ; preds = %100
store i32 0, i32* %9
store i32 0, i32* %14
br label %149
149: ; preds = %176, %148
%150 = load i32, i32* %14
%151 = icmp slt i32 %150, 8
br i1 %151, label %152, label %179
152: ; preds = %149
store i32 0, i32* %15
br label %153
153: ; preds = %172, %152
%154 = load i32, i32* %15
%155 = icmp slt i32 %154, 8
br i1 %155, label %156, label %175
156: ; preds = %153
%157 = getelementptr inbounds [1024 x i32], [1024 x i32]* %7, i64 0, i64 0
%158 = load i32, i32* %9
%159 = mul nsw i32 16, %158
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i32, i32* %157, i64 %160
%162 = load i32, i32* %14
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds [8 x [8 x [16 x i32]]], [8 x [8 x [16 x i32]]]* %8, i64 0, i64 %163
%165 = load i32, i32* %15
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [8 x [16 x i32]], [8 x [16 x i32]]* %164, i64 0, i64 %166
%168 = getelementptr inbounds [16 x i32], [16 x i32]* %167, i64 0, i64 0
%169 = call i32 @memcpy(i32* %161, i32* %168, i32 16)
%170 = load i32, i32* %9
%171 = add nsw i32 %170, 1
store i32 %171, i32* %9
br label %172
172: ; preds = %156
%173 = load i32, i32* %15
%174 = add nsw i32 %173, 1
store i32 %174, i32* %15
br label %153
175: ; preds = %153
br label %176
176: ; preds = %175
%177 = load i32, i32* %14
%178 = add nsw i32 %177, 1
store i32 %178, i32* %14
br label %149
179: ; preds = %149
%180 = load i32*, i32** %4
%181 = load i32*, i32** %5
%182 = load i32*, i32** %6
%183 = call i32 @xor_blocks(i32* %180, i32* %181, i32* %182)
%184 = load i32*, i32** %4
%185 = load i32*, i32** %4
%186 = getelementptr inbounds [1024 x i32], [1024 x i32]* %7, i64 0, i64 0
%187 = call i32 @xor_blocks(i32* %184, i32* %185, i32* %186)
ret void
}

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