#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*/ assert(int);
int /*<<< orphan*/ compute(int, double ***, double ***, double ***, double ***,
                           int);
int /*<<< orphan*/ load(int, double ***, double *, double ***, double *,
                        double ***, double *, double ***, double *, int);
int /*<<< orphan*/ store(int, double *, double ***, double *, double ***, int);
void workload(double *real, double *img, double *real_twid, double *img_twid,
              int num_strides) {
#pragma HLS INTERFACE m_axi port = real offset = slave bundle = gmem
#pragma HLS INTERFACE m_axi port = img offset = slave bundle = gmem
#pragma HLS INTERFACE m_axi port = real_twid offset = slave bundle = gmem
#pragma HLS INTERFACE m_axi port = img_twid offset = slave bundle = gmem
#pragma HLS INTERFACE s_axilite port = real bundle = control
#pragma HLS INTERFACE s_axilite port = img bundle = control
#pragma HLS INTERFACE s_axilite port = real_twid bundle = control
#pragma HLS INTERFACE s_axilite port = img_twid bundle = control
#pragma HLS INTERFACE s_axilite port = num_strides bundle = control
#pragma HLS INTERFACE s_axilite port = return bundle = control
  double local_real_x[4][((64 + 4 - 1) / 4)][128];
#pragma HLS array_partition variable = local_real_x dim = 1 complete
  double local_img_x[4][((64 + 4 - 1) / 4)][128];
#pragma HLS array_partition variable = local_img_x dim = 1 complete
  double local_real_twid_x[4][((64 + 4 - 1) / 4)][128 / 2];
#pragma HLS array_partition variable = local_real_twid_x dim = 1 complete
  double local_img_twid_x[4][((64 + 4 - 1) / 4)][128 / 2];
#pragma HLS array_partition variable = local_img_twid_x dim = 1 complete
  double local_real_y[4][((64 + 4 - 1) / 4)][128];
#pragma HLS array_partition variable = local_real_y dim = 1 complete
  double local_img_y[4][((64 + 4 - 1) / 4)][128];
#pragma HLS array_partition variable = local_img_y dim = 1 complete
  double local_real_twid_y[4][((64 + 4 - 1) / 4)][128 / 2];
#pragma HLS array_partition variable = local_real_twid_y dim = 1 complete
  double local_img_twid_y[4][((64 + 4 - 1) / 4)][128 / 2];
#pragma HLS array_partition variable = local_img_twid_y dim = 1 complete
  double local_real_z[4][((64 + 4 - 1) / 4)][128];
#pragma HLS array_partition variable = local_real_z dim = 1 complete
  double local_img_z[4][((64 + 4 - 1) / 4)][128];
#pragma HLS array_partition variable = local_img_z dim = 1 complete
  double local_real_twid_z[4][((64 + 4 - 1) / 4)][128 / 2];
#pragma HLS array_partition variable = local_real_twid_z dim = 1 complete
  double local_img_twid_z[4][((64 + 4 - 1) / 4)][128 / 2];
#pragma HLS array_partition variable = local_img_twid_z dim = 1 complete
  assert(num_strides == (1 << 18));
  int num_batches = (num_strides + 64 - 1) / 64;
  int tail_strides = num_strides % 64;
  if (tail_strides == 0)
    tail_strides = 64;
  for (int i = 0; i < num_batches + 2; i++) {
    int load_flag = i < num_batches;
    int compute_flag = i > 0 && i < num_batches + 1;
    int store_flag = i > 1;
    int load_strides = i == num_batches - 1 ? tail_strides : 64;
    int compute_strides = i == num_batches ? tail_strides : 64;
    int store_strides = i == num_batches + 1 ? tail_strides : 64;
    if (i % 3 == 0) {
      load(load_flag, local_real_x, real + i * 64 * 128, local_img_x,
           img + i * 64 * 128, local_real_twid_x, real_twid + i * 64 * 128 / 2,
           local_img_twid_x, img_twid + i * 64 * 128 / 2, load_strides);
      compute(compute_flag, local_real_z, local_img_z, local_real_twid_z,
              local_img_twid_z, compute_strides);
      store(store_flag, real + (i - 2) * 64 * 128, local_real_y,
            img + (i - 2) * 64 * 128, local_img_y, store_strides);
    } else if (i % 3 == 1) {
      load(load_flag, local_real_y, real + i * 64 * 128, local_img_y,
           img + i * 64 * 128, local_real_twid_y, real_twid + i * 64 * 128 / 2,
           local_img_twid_y, img_twid + i * 64 * 128 / 2, load_strides);
      compute(compute_flag, local_real_x, local_img_x, local_real_twid_x,
              local_img_twid_x, compute_strides);
      store(store_flag, real + (i - 2) * 64 * 128, local_real_z,
            img + (i - 2) * 64 * 128, local_img_z, store_strides);
    } else {
      load(load_flag, local_real_z, real + i * 64 * 128, local_img_z,
           img + i * 64 * 128, local_real_twid_z, real_twid + i * 64 * 128 / 2,
           local_img_twid_z, img_twid + i * 64 * 128 / 2, load_strides);
      compute(compute_flag, local_real_y, local_img_y, local_real_twid_y,
              local_img_twid_y, compute_strides);
      store(store_flag, real + (i - 2) * 64 * 128, local_real_x,
            img + (i - 2) * 64 * 128, local_img_x, store_strides);
    }
  }
  return;
}


x86 assembly (clang, -O0):
<workload>:
push   %rbp
mov    %rsp,%rbp
push   %r14
push   %rbx
sub    $0x900a0,%rsp
mov    %rdi,-0x18(%rbp)
mov    %rsi,-0x20(%rbp)
mov    %rdx,-0x28(%rbp)
mov    %rcx,-0x30(%rbp)
mov    %r8d,-0x34(%rbp)
cmpl   $0x40000,-0x34(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    -0x34(%rbp),%eax
add    $0x40,%eax
sub    $0x1,%eax
mov    $0x40,%ecx
cltd
idiv   %ecx
mov    %eax,-0x90044(%rbp)
mov    -0x34(%rbp),%eax
mov    $0x40,%ecx
cltd
idiv   %ecx
mov    %edx,-0x90048(%rbp)
cmpl   $0x0,-0x90048(%rbp)
jne    11b5 <workload+0x75>
movl   $0x40,-0x90048(%rbp)
movl   $0x0,-0x9004c(%rbp)
mov    -0x9004c(%rbp),%eax
mov    -0x90044(%rbp),%ecx
add    $0x2,%ecx
cmp    %ecx,%eax
jge    1746 <workload+0x606>
mov    -0x9004c(%rbp),%eax
cmp    -0x90044(%rbp),%eax
setl   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x90050(%rbp)
xor    %eax,%eax
cmpl   $0x0,-0x9004c(%rbp)
mov    %al,-0x90065(%rbp)
jle    121f <workload+0xdf>
mov    -0x9004c(%rbp),%eax
mov    -0x90044(%rbp),%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
setl   %al
mov    %al,-0x90065(%rbp)
mov    -0x90065(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x90054(%rbp)
cmpl   $0x1,-0x9004c(%rbp)
setg   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x90058(%rbp)
mov    -0x9004c(%rbp),%eax
mov    -0x90044(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jne    126d <workload+0x12d>
mov    -0x90048(%rbp),%eax
mov    %eax,-0x9006c(%rbp)
jmp    127d <workload+0x13d>
mov    $0x40,%eax
mov    %eax,-0x9006c(%rbp)
jmp    127d <workload+0x13d>
mov    -0x9006c(%rbp),%eax
mov    %eax,-0x9005c(%rbp)
mov    -0x9004c(%rbp),%eax
cmp    -0x90044(%rbp),%eax
jne    12ac <workload+0x16c>
mov    -0x90048(%rbp),%eax
mov    %eax,-0x90070(%rbp)
jmp    12bc <workload+0x17c>
mov    $0x40,%eax
mov    %eax,-0x90070(%rbp)
jmp    12bc <workload+0x17c>
mov    -0x90070(%rbp),%eax
mov    %eax,-0x90060(%rbp)
mov    -0x9004c(%rbp),%eax
mov    -0x90044(%rbp),%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
jne    12f0 <workload+0x1b0>
mov    -0x90048(%rbp),%eax
mov    %eax,-0x90074(%rbp)
jmp    1300 <workload+0x1c0>
mov    $0x40,%eax
mov    %eax,-0x90074(%rbp)
jmp    1300 <workload+0x1c0>
mov    -0x90074(%rbp),%eax
mov    %eax,-0x90064(%rbp)
mov    -0x9004c(%rbp),%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    1474 <workload+0x334>
mov    -0x90050(%rbp),%edi
lea    -0x10040(%rbp),%rsi
mov    -0x18(%rbp),%rax
mov    -0x9004c(%rbp),%ecx
shl    $0x6,%ecx
shl    $0x7,%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x90080(%rbp)
lea    -0x20040(%rbp),%rcx
mov    -0x20(%rbp),%r8
mov    -0x9004c(%rbp),%eax
shl    $0x6,%eax
shl    $0x7,%eax
cltq
shl    $0x3,%rax
add    %rax,%r8
lea    -0x28040(%rbp),%r9
mov    -0x28(%rbp),%rbx
mov    -0x9004c(%rbp),%eax
shl    $0x6,%eax
shl    $0x7,%eax
mov    $0x2,%r10d
cltd
idiv   %r10d
cltq
shl    $0x3,%rax
add    %rax,%rbx
lea    -0x30040(%rbp),%r11
mov    -0x30(%rbp),%r10
mov    -0x9004c(%rbp),%eax
shl    $0x6,%eax
shl    $0x7,%eax
mov    $0x2,%r14d
cltd
idiv   %r14d
mov    -0x90080(%rbp),%rdx
cltq
shl    $0x3,%rax
add    %rax,%r10
mov    -0x9005c(%rbp),%eax
mov    %rbx,(%rsp)
mov    %r11,0x8(%rsp)
mov    %r10,0x10(%rsp)
mov    %eax,0x18(%rsp)
call   1050 <load@plt>
mov    -0x90054(%rbp),%edi
lea    -0x70040(%rbp),%rsi
lea    -0x80040(%rbp),%rdx
lea    -0x88040(%rbp),%rcx
lea    -0x90040(%rbp),%r8
mov    -0x90060(%rbp),%r9d
call   1060 <compute@plt>
mov    -0x90058(%rbp),%edi
mov    -0x18(%rbp),%rsi
mov    -0x9004c(%rbp),%eax
sub    $0x2,%eax
shl    $0x6,%eax
shl    $0x7,%eax
cltq
shl    $0x3,%rax
add    %rax,%rsi
lea    -0x40040(%rbp),%rdx
mov    -0x20(%rbp),%rcx
mov    -0x9004c(%rbp),%eax
sub    $0x2,%eax
shl    $0x6,%eax
shl    $0x7,%eax
cltq
shl    $0x3,%rax
add    %rax,%rcx
lea    -0x50040(%rbp),%r8
mov    -0x90064(%rbp),%r9d
call   1030 <store@plt>
jmp    172d <workload+0x5ed>
mov    -0x9004c(%rbp),%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
cmp    $0x1,%edx
jne    15dc <workload+0x49c>
mov    -0x90050(%rbp),%edi
lea    -0x40040(%rbp),%rsi
mov    -0x18(%rbp),%rax
mov    -0x9004c(%rbp),%ecx
shl    $0x6,%ecx
shl    $0x7,%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x90088(%rbp)
lea    -0x50040(%rbp),%rcx
mov    -0x20(%rbp),%r8
mov    -0x9004c(%rbp),%eax
shl    $0x6,%eax
shl    $0x7,%eax
cltq
shl    $0x3,%rax
add    %rax,%r8
lea    -0x58040(%rbp),%r9
mov    -0x28(%rbp),%rbx
mov    -0x9004c(%rbp),%eax
shl    $0x6,%eax
shl    $0x7,%eax
mov    $0x2,%r10d
cltd
idiv   %r10d
cltq
shl    $0x3,%rax
add    %rax,%rbx
lea    -0x60040(%rbp),%r11
mov    -0x30(%rbp),%r10
mov    -0x9004c(%rbp),%eax
shl    $0x6,%eax
shl    $0x7,%eax
mov    $0x2,%r14d
cltd
idiv   %r14d
mov    -0x90088(%rbp),%rdx
cltq
shl    $0x3,%rax
add    %rax,%r10
mov    -0x9005c(%rbp),%eax
mov    %rbx,(%rsp)
mov    %r11,0x8(%rsp)
mov    %r10,0x10(%rsp)
mov    %eax,0x18(%rsp)
call   1050 <load@plt>
mov    -0x90054(%rbp),%edi
lea    -0x10040(%rbp),%rsi
lea    -0x20040(%rbp),%rdx
lea    -0x28040(%rbp),%rcx
lea    -0x30040(%rbp),%r8
mov    -0x90060(%rbp),%r9d
call   1060 <compute@plt>
mov    -0x90058(%rbp),%edi
mov    -0x18(%rbp),%rsi
mov    -0x9004c(%rbp),%eax
sub    $0x2,%eax
shl    $0x6,%eax
shl    $0x7,%eax
cltq
shl    $0x3,%rax
add    %rax,%rsi
lea    -0x70040(%rbp),%rdx
mov    -0x20(%rbp),%rcx
mov    -0x9004c(%rbp),%eax
sub    $0x2,%eax
shl    $0x6,%eax
shl    $0x7,%eax
cltq
shl    $0x3,%rax
add    %rax,%rcx
lea    -0x80040(%rbp),%r8
mov    -0x90064(%rbp),%r9d
call   1030 <store@plt>
jmp    1728 <workload+0x5e8>
mov    -0x90050(%rbp),%edi
lea    -0x70040(%rbp),%rsi
mov    -0x18(%rbp),%rax
mov    -0x9004c(%rbp),%ecx
shl    $0x6,%ecx
shl    $0x7,%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x90090(%rbp)
lea    -0x80040(%rbp),%rcx
mov    -0x20(%rbp),%r8
mov    -0x9004c(%rbp),%eax
shl    $0x6,%eax
shl    $0x7,%eax
cltq
shl    $0x3,%rax
add    %rax,%r8
lea    -0x88040(%rbp),%r9
mov    -0x28(%rbp),%rbx
mov    -0x9004c(%rbp),%eax
shl    $0x6,%eax
shl    $0x7,%eax
mov    $0x2,%r10d
cltd
idiv   %r10d
cltq
shl    $0x3,%rax
add    %rax,%rbx
lea    -0x90040(%rbp),%r11
mov    -0x30(%rbp),%r10
mov    -0x9004c(%rbp),%eax
shl    $0x6,%eax
shl    $0x7,%eax
mov    $0x2,%r14d
cltd
idiv   %r14d
mov    -0x90090(%rbp),%rdx
cltq
shl    $0x3,%rax
add    %rax,%r10
mov    -0x9005c(%rbp),%eax
mov    %rbx,(%rsp)
mov    %r11,0x8(%rsp)
mov    %r10,0x10(%rsp)
mov    %eax,0x18(%rsp)
call   1050 <load@plt>
mov    -0x90054(%rbp),%edi
lea    -0x40040(%rbp),%rsi
lea    -0x50040(%rbp),%rdx
lea    -0x58040(%rbp),%rcx
lea    -0x60040(%rbp),%r8
mov    -0x90060(%rbp),%r9d
call   1060 <compute@plt>
mov    -0x90058(%rbp),%edi
mov    -0x18(%rbp),%rsi
mov    -0x9004c(%rbp),%eax
sub    $0x2,%eax
shl    $0x6,%eax
shl    $0x7,%eax
cltq
shl    $0x3,%rax
add    %rax,%rsi
lea    -0x10040(%rbp),%rdx
mov    -0x20(%rbp),%rcx
mov    -0x9004c(%rbp),%eax
sub    $0x2,%eax
shl    $0x6,%eax
shl    $0x7,%eax
cltq
shl    $0x3,%rax
add    %rax,%rcx
lea    -0x20040(%rbp),%r8
mov    -0x90064(%rbp),%r9d
call   1030 <store@plt>
jmp    172d <workload+0x5ed>
jmp    1732 <workload+0x5f2>
mov    -0x9004c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x9004c(%rbp)
jmp    11bf <workload+0x7f>
add    $0x900a0,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

x86 assembly (clang, -O2):
<workload>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x90068,%rsp
mov    %r8d,%ebp
mov    %rcx,0x28(%rsp)
mov    %rdx,0x20(%rsp)
mov    %rsi,0x18(%rsp)
mov    %rdi,0x10(%rsp)
xor    %edi,%edi
cmp    $0x40000,%r8d
sete   %dil
call   1040 <assert@plt>
lea    0x3f(%rbp),%eax
lea    0x7e(%rbp),%ecx
test   %eax,%eax
cmovns %eax,%ecx
test   %ebp,%ebp
cmovns %ebp,%eax
and    $0xffffffc0,%eax
mov    %ebp,%edx
sub    %eax,%edx
mov    $0x40,%eax
cmove  %eax,%edx
mov    %edx,0x34(%rsp)
cmp    $0xffffff42,%ebp
jl     14c8 <workload+0x388>
sar    $0x6,%ecx
lea    0x1(%rcx),%eax
movslq %ecx,%rdx
add    $0xffffffff,%ecx
mov    %rcx,0x58(%rsp)
mov    %rdx,0x48(%rsp)
mov    %edx,%ecx
mov    %rcx,0x40(%rsp)
xor    %r13d,%r13d
test   %eax,%eax
mov    %rax,0x50(%rsp)
cmovle %r13d,%eax
add    $0x1,%eax
mov    %rax,0x38(%rsp)
mov    $0xffffc000,%r12d
xor    %r15d,%r15d
jmp    12c7 <workload+0x187>
nopw   0x0(%rax,%rax,1)
lea    0x4000(%rbp),%ecx
mov    0x10(%rsp),%rdx
lea    (%rdx,%rcx,8),%rdx
mov    0x18(%rsp),%rsi
lea    (%rsi,%rcx,8),%r8
mov    %r13d,%ebx
and    $0xfffff000,%ebx
shl    $0x3,%rbx
mov    0x20(%rsp),%rcx
lea    (%rcx,%rbx,1),%r10
add    0x28(%rsp),%rbx
lea    0x40060(%rsp),%rsi
lea    0x30060(%rsp),%rcx
lea    0x8060(%rsp),%r9
push   %rax
push   %rbx
lea    0x70(%rsp),%rax
push   %rax
push   %r10
call   1050 <load@plt>
add    $0x20,%rsp
mov    0x4(%rsp),%edi
lea    0x60060(%rsp),%rsi
lea    0x50060(%rsp),%rdx
lea    0x18060(%rsp),%rcx
lea    0x10060(%rsp),%r8
mov    %r14d,%r9d
call   1060 <compute@plt>
mov    0x10(%rsp),%rax
lea    (%rax,%rbp,8),%rsi
mov    0x18(%rsp),%rax
lea    (%rax,%rbp,8),%rcx
mov    0x8(%rsp),%edi
lea    0x80060(%rsp),%rdx
lea    0x70060(%rsp),%r8
mov    0xc(%rsp),%r9d
call   1030 <store@plt>
add    $0x1,%r15
add    $0x1000,%r13
add    $0x2000,%r12d
cmp    %r15,0x38(%rsp)
je     14c8 <workload+0x388>
mov    %r15d,%eax
mov    $0xaaaaaaab,%ecx
imul   %rcx,%rax
shr    $0x21,%rax
lea    (%rax,%rax,2),%edx
test   %r15,%r15
setne  %al
xor    %edi,%edi
cmp    0x48(%rsp),%r15
setl   %dil
setle  %cl
and    %al,%cl
xor    %eax,%eax
cmp    $0x2,%r15
setae  %al
mov    %eax,0x8(%rsp)
cmp    %r15,0x58(%rsp)
mov    $0x40,%eax
mov    0x34(%rsp),%esi
cmove  %esi,%eax
cmp    %r15,0x40(%rsp)
mov    $0x40,%r14d
cmove  %esi,%r14d
cmp    %r15,0x50(%rsp)
mov    $0x40,%ebp
cmove  %esi,%ebp
mov    %ebp,0xc(%rsp)
movzbl %cl,%ecx
mov    %ecx,0x4(%rsp)
mov    %r15d,%ecx
sub    %edx,%ecx
movslq %r12d,%rbp
cmp    $0x1,%ecx
je     1410 <workload+0x2d0>
test   %ecx,%ecx
jne    11f0 <workload+0xb0>
lea    0x4000(%rbp),%ecx
mov    0x10(%rsp),%rdx
lea    (%rdx,%rcx,8),%rdx
mov    0x18(%rsp),%rsi
lea    (%rsi,%rcx,8),%r8
mov    %r13d,%ebx
and    $0xfffff000,%ebx
shl    $0x3,%rbx
mov    0x20(%rsp),%rcx
lea    (%rcx,%rbx,1),%r10
add    0x28(%rsp),%rbx
lea    0x80060(%rsp),%rsi
lea    0x70060(%rsp),%rcx
lea    0x28060(%rsp),%r9
push   %rax
push   %rbx
lea    0x20070(%rsp),%rax
push   %rax
push   %r10
call   1050 <load@plt>
add    $0x20,%rsp
mov    0x4(%rsp),%edi
lea    0x40060(%rsp),%rsi
lea    0x30060(%rsp),%rdx
lea    0x8060(%rsp),%rcx
lea    0x60(%rsp),%r8
mov    %r14d,%r9d
call   1060 <compute@plt>
mov    0x10(%rsp),%rax
lea    (%rax,%rbp,8),%rsi
mov    0x18(%rsp),%rax
lea    (%rax,%rbp,8),%rcx
mov    0x8(%rsp),%edi
lea    0x60060(%rsp),%rdx
lea    0x50060(%rsp),%r8
jmp    12a0 <workload+0x160>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
lea    0x4000(%rbp),%ecx
mov    0x10(%rsp),%rdx
lea    (%rdx,%rcx,8),%rdx
mov    0x18(%rsp),%rsi
lea    (%rsi,%rcx,8),%r8
mov    %r13d,%ebx
and    $0xfffff000,%ebx
shl    $0x3,%rbx
mov    0x20(%rsp),%rcx
lea    (%rcx,%rbx,1),%r10
add    0x28(%rsp),%rbx
lea    0x60060(%rsp),%rsi
lea    0x50060(%rsp),%rcx
lea    0x18060(%rsp),%r9
push   %rax
push   %rbx
lea    0x10070(%rsp),%rax
push   %rax
push   %r10
call   1050 <load@plt>
add    $0x20,%rsp
mov    0x4(%rsp),%edi
lea    0x80060(%rsp),%rsi
lea    0x70060(%rsp),%rdx
lea    0x28060(%rsp),%rcx
lea    0x20060(%rsp),%r8
mov    %r14d,%r9d
call   1060 <compute@plt>
mov    0x10(%rsp),%rax
lea    (%rax,%rbp,8),%rsi
mov    0x18(%rsp),%rax
lea    (%rax,%rbp,8),%rcx
mov    0x8(%rsp),%edi
lea    0x40060(%rsp),%rdx
lea    0x30060(%rsp),%r8
jmp    12a0 <workload+0x160>
add    $0x90068,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @workload(double* %0, double* %1, double* %2, double* %3, i32 %4) {
%6 = alloca double*
%7 = alloca double*
%8 = alloca double*
%9 = alloca double*
%10 = alloca i32
%11 = alloca [4 x [16 x [128 x double]]]
%12 = alloca [4 x [16 x [128 x double]]]
%13 = alloca [4 x [16 x [64 x double]]]
%14 = alloca [4 x [16 x [64 x double]]]
%15 = alloca [4 x [16 x [128 x double]]]
%16 = alloca [4 x [16 x [128 x double]]]
%17 = alloca [4 x [16 x [64 x double]]]
%18 = alloca [4 x [16 x [64 x double]]]
%19 = alloca [4 x [16 x [128 x double]]]
%20 = alloca [4 x [16 x [128 x double]]]
%21 = alloca [4 x [16 x [64 x double]]]
%22 = alloca [4 x [16 x [64 x double]]]
%23 = alloca i32
%24 = alloca i32
%25 = alloca i32
%26 = alloca i32
%27 = alloca i32
%28 = alloca i32
%29 = alloca i32
%30 = alloca i32
%31 = alloca i32
store double* %0, double** %6
store double* %1, double** %7
store double* %2, double** %8
store double* %3, double** %9
store i32 %4, i32* %10
%32 = load i32, i32* %10
%33 = icmp eq i32 %32, 262144
%34 = zext i1 %33 to i32
%35 = call i32 @assert(i32 %34)
%36 = load i32, i32* %10
%37 = add nsw i32 %36, 64
%38 = sub nsw i32 %37, 1
%39 = sdiv i32 %38, 64
store i32 %39, i32* %23
%40 = load i32, i32* %10
%41 = srem i32 %40, 64
store i32 %41, i32* %24
%42 = load i32, i32* %24
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %5
store i32 64, i32* %24
br label %45
45: ; preds = %44, %5
store i32 0, i32* %25
br label %46
46: ; preds = %314, %45
%47 = load i32, i32* %25
%48 = load i32, i32* %23
%49 = add nsw i32 %48, 2
%50 = icmp slt i32 %47, %49
br i1 %50, label %51, label %317
51: ; preds = %46
%52 = load i32, i32* %25
%53 = load i32, i32* %23
%54 = icmp slt i32 %52, %53
%55 = zext i1 %54 to i32
store i32 %55, i32* %26
%56 = load i32, i32* %25
%57 = icmp sgt i32 %56, 0
br i1 %57, label %58, label %63
58: ; preds = %51
%59 = load i32, i32* %25
%60 = load i32, i32* %23
%61 = add nsw i32 %60, 1
%62 = icmp slt i32 %59, %61
br label %63
63: ; preds = %58, %51
%64 = phi i1 [ false, %51 ], [ %62, %58 ]
%65 = zext i1 %64 to i32
store i32 %65, i32* %27
%66 = load i32, i32* %25
%67 = icmp sgt i32 %66, 1
%68 = zext i1 %67 to i32
store i32 %68, i32* %28
%69 = load i32, i32* %25
%70 = load i32, i32* %23
%71 = sub nsw i32 %70, 1
%72 = icmp eq i32 %69, %71
br i1 %72, label %73, label %75
73: ; preds = %63
%74 = load i32, i32* %24
br label %76
75: ; preds = %63
br label %76
76: ; preds = %75, %73
%77 = phi i32 [ %74, %73 ], [ 64, %75 ]
store i32 %77, i32* %29
%78 = load i32, i32* %25
%79 = load i32, i32* %23
%80 = icmp eq i32 %78, %79
br i1 %80, label %81, label %83
81: ; preds = %76
%82 = load i32, i32* %24
br label %84
83: ; preds = %76
br label %84
84: ; preds = %83, %81
%85 = phi i32 [ %82, %81 ], [ 64, %83 ]
store i32 %85, i32* %30
%86 = load i32, i32* %25
%87 = load i32, i32* %23
%88 = add nsw i32 %87, 1
%89 = icmp eq i32 %86, %88
br i1 %89, label %90, label %92
90: ; preds = %84
%91 = load i32, i32* %24
br label %93
92: ; preds = %84
br label %93
93: ; preds = %92, %90
%94 = phi i32 [ %91, %90 ], [ 64, %92 ]
store i32 %94, i32* %31
%95 = load i32, i32* %25
%96 = srem i32 %95, 3
%97 = icmp eq i32 %96, 0
br i1 %97, label %98, label %168
98: ; preds = %93
%99 = load i32, i32* %26
%100 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %11, i64 0, i64 0
%101 = bitcast [16 x [128 x double]]* %100 to double***
%102 = load double*, double** %6
%103 = load i32, i32* %25
%104 = mul nsw i32 %103, 64
%105 = mul nsw i32 %104, 128
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, double* %102, i64 %106
%108 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %12, i64 0, i64 0
%109 = bitcast [16 x [128 x double]]* %108 to double***
%110 = load double*, double** %7
%111 = load i32, i32* %25
%112 = mul nsw i32 %111, 64
%113 = mul nsw i32 %112, 128
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, double* %110, i64 %114
%116 = getelementptr inbounds [4 x [16 x [64 x double]]], [4 x [16 x [64 x double]]]* %13, i64 0, i64 0
%117 = bitcast [16 x [64 x double]]* %116 to double***
%118 = load double*, double** %8
%119 = load i32, i32* %25
%120 = mul nsw i32 %119, 64
%121 = mul nsw i32 %120, 128
%122 = sdiv i32 %121, 2
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds double, double* %118, i64 %123
%125 = getelementptr inbounds [4 x [16 x [64 x double]]], [4 x [16 x [64 x double]]]* %14, i64 0, i64 0
%126 = bitcast [16 x [64 x double]]* %125 to double***
%127 = load double*, double** %9
%128 = load i32, i32* %25
%129 = mul nsw i32 %128, 64
%130 = mul nsw i32 %129, 128
%131 = sdiv i32 %130, 2
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds double, double* %127, i64 %132
%134 = load i32, i32* %29
%135 = call i32 @load(i32 %99, double*** %101, double* %107, double*** %109, double* %115, double*** %117, double* %124, double*** %126, double* %133, i32 %134)
%136 = load i32, i32* %27
%137 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %19, i64 0, i64 0
%138 = bitcast [16 x [128 x double]]* %137 to double***
%139 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %20, i64 0, i64 0
%140 = bitcast [16 x [128 x double]]* %139 to double***
%141 = getelementptr inbounds [4 x [16 x [64 x double]]], [4 x [16 x [64 x double]]]* %21, i64 0, i64 0
%142 = bitcast [16 x [64 x double]]* %141 to double***
%143 = getelementptr inbounds [4 x [16 x [64 x double]]], [4 x [16 x [64 x double]]]* %22, i64 0, i64 0
%144 = bitcast [16 x [64 x double]]* %143 to double***
%145 = load i32, i32* %30
%146 = call i32 @compute(i32 %136, double*** %138, double*** %140, double*** %142, double*** %144, i32 %145)
%147 = load i32, i32* %28
%148 = load double*, double** %6
%149 = load i32, i32* %25
%150 = sub nsw i32 %149, 2
%151 = mul nsw i32 %150, 64
%152 = mul nsw i32 %151, 128
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds double, double* %148, i64 %153
%155 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %15, i64 0, i64 0
%156 = bitcast [16 x [128 x double]]* %155 to double***
%157 = load double*, double** %7
%158 = load i32, i32* %25
%159 = sub nsw i32 %158, 2
%160 = mul nsw i32 %159, 64
%161 = mul nsw i32 %160, 128
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds double, double* %157, i64 %162
%164 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %16, i64 0, i64 0
%165 = bitcast [16 x [128 x double]]* %164 to double***
%166 = load i32, i32* %31
%167 = call i32 @store(i32 %147, double* %154, double*** %156, double* %163, double*** %165, i32 %166)
br label %313
168: ; preds = %93
%169 = load i32, i32* %25
%170 = srem i32 %169, 3
%171 = icmp eq i32 %170, 1
br i1 %171, label %172, label %242
172: ; preds = %168
%173 = load i32, i32* %26
%174 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %15, i64 0, i64 0
%175 = bitcast [16 x [128 x double]]* %174 to double***
%176 = load double*, double** %6
%177 = load i32, i32* %25
%178 = mul nsw i32 %177, 64
%179 = mul nsw i32 %178, 128
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds double, double* %176, i64 %180
%182 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %16, i64 0, i64 0
%183 = bitcast [16 x [128 x double]]* %182 to double***
%184 = load double*, double** %7
%185 = load i32, i32* %25
%186 = mul nsw i32 %185, 64
%187 = mul nsw i32 %186, 128
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds double, double* %184, i64 %188
%190 = getelementptr inbounds [4 x [16 x [64 x double]]], [4 x [16 x [64 x double]]]* %17, i64 0, i64 0
%191 = bitcast [16 x [64 x double]]* %190 to double***
%192 = load double*, double** %8
%193 = load i32, i32* %25
%194 = mul nsw i32 %193, 64
%195 = mul nsw i32 %194, 128
%196 = sdiv i32 %195, 2
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds double, double* %192, i64 %197
%199 = getelementptr inbounds [4 x [16 x [64 x double]]], [4 x [16 x [64 x double]]]* %18, i64 0, i64 0
%200 = bitcast [16 x [64 x double]]* %199 to double***
%201 = load double*, double** %9
%202 = load i32, i32* %25
%203 = mul nsw i32 %202, 64
%204 = mul nsw i32 %203, 128
%205 = sdiv i32 %204, 2
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds double, double* %201, i64 %206
%208 = load i32, i32* %29
%209 = call i32 @load(i32 %173, double*** %175, double* %181, double*** %183, double* %189, double*** %191, double* %198, double*** %200, double* %207, i32 %208)
%210 = load i32, i32* %27
%211 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %11, i64 0, i64 0
%212 = bitcast [16 x [128 x double]]* %211 to double***
%213 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %12, i64 0, i64 0
%214 = bitcast [16 x [128 x double]]* %213 to double***
%215 = getelementptr inbounds [4 x [16 x [64 x double]]], [4 x [16 x [64 x double]]]* %13, i64 0, i64 0
%216 = bitcast [16 x [64 x double]]* %215 to double***
%217 = getelementptr inbounds [4 x [16 x [64 x double]]], [4 x [16 x [64 x double]]]* %14, i64 0, i64 0
%218 = bitcast [16 x [64 x double]]* %217 to double***
%219 = load i32, i32* %30
%220 = call i32 @compute(i32 %210, double*** %212, double*** %214, double*** %216, double*** %218, i32 %219)
%221 = load i32, i32* %28
%222 = load double*, double** %6
%223 = load i32, i32* %25
%224 = sub nsw i32 %223, 2
%225 = mul nsw i32 %224, 64
%226 = mul nsw i32 %225, 128
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds double, double* %222, i64 %227
%229 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %19, i64 0, i64 0
%230 = bitcast [16 x [128 x double]]* %229 to double***
%231 = load double*, double** %7
%232 = load i32, i32* %25
%233 = sub nsw i32 %232, 2
%234 = mul nsw i32 %233, 64
%235 = mul nsw i32 %234, 128
%236 = sext i32 %235 to i64
%237 = getelementptr inbounds double, double* %231, i64 %236
%238 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %20, i64 0, i64 0
%239 = bitcast [16 x [128 x double]]* %238 to double***
%240 = load i32, i32* %31
%241 = call i32 @store(i32 %221, double* %228, double*** %230, double* %237, double*** %239, i32 %240)
br label %312
242: ; preds = %168
%243 = load i32, i32* %26
%244 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %19, i64 0, i64 0
%245 = bitcast [16 x [128 x double]]* %244 to double***
%246 = load double*, double** %6
%247 = load i32, i32* %25
%248 = mul nsw i32 %247, 64
%249 = mul nsw i32 %248, 128
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds double, double* %246, i64 %250
%252 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %20, i64 0, i64 0
%253 = bitcast [16 x [128 x double]]* %252 to double***
%254 = load double*, double** %7
%255 = load i32, i32* %25
%256 = mul nsw i32 %255, 64
%257 = mul nsw i32 %256, 128
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds double, double* %254, i64 %258
%260 = getelementptr inbounds [4 x [16 x [64 x double]]], [4 x [16 x [64 x double]]]* %21, i64 0, i64 0
%261 = bitcast [16 x [64 x double]]* %260 to double***
%262 = load double*, double** %8
%263 = load i32, i32* %25
%264 = mul nsw i32 %263, 64
%265 = mul nsw i32 %264, 128
%266 = sdiv i32 %265, 2
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds double, double* %262, i64 %267
%269 = getelementptr inbounds [4 x [16 x [64 x double]]], [4 x [16 x [64 x double]]]* %22, i64 0, i64 0
%270 = bitcast [16 x [64 x double]]* %269 to double***
%271 = load double*, double** %9
%272 = load i32, i32* %25
%273 = mul nsw i32 %272, 64
%274 = mul nsw i32 %273, 128
%275 = sdiv i32 %274, 2
%276 = sext i32 %275 to i64
%277 = getelementptr inbounds double, double* %271, i64 %276
%278 = load i32, i32* %29
%279 = call i32 @load(i32 %243, double*** %245, double* %251, double*** %253, double* %259, double*** %261, double* %268, double*** %270, double* %277, i32 %278)
%280 = load i32, i32* %27
%281 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %15, i64 0, i64 0
%282 = bitcast [16 x [128 x double]]* %281 to double***
%283 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %16, i64 0, i64 0
%284 = bitcast [16 x [128 x double]]* %283 to double***
%285 = getelementptr inbounds [4 x [16 x [64 x double]]], [4 x [16 x [64 x double]]]* %17, i64 0, i64 0
%286 = bitcast [16 x [64 x double]]* %285 to double***
%287 = getelementptr inbounds [4 x [16 x [64 x double]]], [4 x [16 x [64 x double]]]* %18, i64 0, i64 0
%288 = bitcast [16 x [64 x double]]* %287 to double***
%289 = load i32, i32* %30
%290 = call i32 @compute(i32 %280, double*** %282, double*** %284, double*** %286, double*** %288, i32 %289)
%291 = load i32, i32* %28
%292 = load double*, double** %6
%293 = load i32, i32* %25
%294 = sub nsw i32 %293, 2
%295 = mul nsw i32 %294, 64
%296 = mul nsw i32 %295, 128
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds double, double* %292, i64 %297
%299 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %11, i64 0, i64 0
%300 = bitcast [16 x [128 x double]]* %299 to double***
%301 = load double*, double** %7
%302 = load i32, i32* %25
%303 = sub nsw i32 %302, 2
%304 = mul nsw i32 %303, 64
%305 = mul nsw i32 %304, 128
%306 = sext i32 %305 to i64
%307 = getelementptr inbounds double, double* %301, i64 %306
%308 = getelementptr inbounds [4 x [16 x [128 x double]]], [4 x [16 x [128 x double]]]* %12, i64 0, i64 0
%309 = bitcast [16 x [128 x double]]* %308 to double***
%310 = load i32, i32* %31
%311 = call i32 @store(i32 %291, double* %298, double*** %300, double* %307, double*** %309, i32 %310)
br label %312
312: ; preds = %242, %172
br label %313
313: ; preds = %312, %98
br label %314
314: ; preds = %313
%315 = load i32, i32* %25
%316 = add nsw i32 %315, 1
store i32 %316, i32* %25
br label %46
317: ; preds = %46
ret void
}

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