#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*/ free(float *);
int /*<<< orphan*/ gradient3Dx_float(float *, int *, float *);
int /*<<< orphan*/ gradient3Dy_float(float *, int *, float *);
int /*<<< orphan*/ gradient3Dz_float(float *, int *, float *);
float *mallocf(int);
int mindex3(int, int, int, int, int);
void diffusion_scheme_3D_rotation_invariance(float *u, float *u_new, int *dimsu,
                                             float *Dxx, float *Dxy, float *Dxz,
                                             float *Dyy, float *Dyz, float *Dzz,
                                             double dt_d) {
  float *j1, *j2, *j3, *ud, *du;
  int npixels;
  float dt = 0.5f;
  int i;
  int x, y, z, index;
  dt = (float)dt_d;
  npixels = dimsu[0] * dimsu[1] * dimsu[2];
  j1 = mallocf(npixels);
  j2 = mallocf(npixels);
  j3 = mallocf(npixels);
  ud = mallocf(npixels);
  gradient3Dx_float(u, dimsu, ud);
#pragma omp parallel for
  for (i = 0; i < npixels; i++) {
    j1[i] = Dxx[i] * ud[i];
    j2[i] = Dxy[i] * ud[i];
    j3[i] = Dxz[i] * ud[i];
  }
  gradient3Dy_float(u, dimsu, ud);
#pragma omp parallel for
  for (i = 0; i < npixels; i++) {
    j1[i] += Dxy[i] * ud[i];
    j2[i] += Dyy[i] * ud[i];
    j3[i] += Dyz[i] * ud[i];
  }
  gradient3Dz_float(u, dimsu, ud);
#pragma omp parallel for
  for (i = 0; i < npixels; i++) {
    j1[i] += Dxz[i] * ud[i];
    j2[i] += Dyz[i] * ud[i];
    j3[i] += Dzz[i] * ud[i];
  }
#pragma omp parallel for private(x, index)
  for (y = 0; y < dimsu[1]; y++) {
    for (x = 0; x < dimsu[0]; x++) {
      index = mindex3(x, y, 0, dimsu[0], dimsu[1]);
      j1[index] = 0;
      j2[index] = 0;
      j3[index] = 0;
      index = mindex3(x, y, dimsu[2] - 1, dimsu[0], dimsu[1]);
      j1[index] = 0;
      j2[index] = 0;
      j3[index] = 0;
    }
  }
#pragma omp parallel for private(x, index)
  for (z = 0; z < dimsu[2]; z++) {
    for (x = 0; x < dimsu[0]; x++) {
      index = mindex3(x, 0, z, dimsu[0], dimsu[1]);
      j1[index] = 0;
      j2[index] = 0;
      j3[index] = 0;
      index = mindex3(x, dimsu[1] - 1, z, dimsu[0], dimsu[1]);
      j1[index] = 0;
      j2[index] = 0;
      j3[index] = 0;
    }
  }
#pragma omp parallel for private(y, index)
  for (z = 0; z < dimsu[2]; z++) {
    for (y = 0; y < dimsu[1]; y++) {
      index = mindex3(0, y, z, dimsu[0], dimsu[1]);
      j1[index] = 0;
      j2[index] = 0;
      j3[index] = 0;
      index = mindex3(dimsu[0] - 1, y, z, dimsu[0], dimsu[1]);
      j1[index] = 0;
      j2[index] = 0;
      j3[index] = 0;
    }
  }
  du = mallocf(npixels);
  gradient3Dx_float(j1, dimsu, du);
  gradient3Dy_float(j2, dimsu, ud);
#pragma omp parallel for
  for (i = 0; i < npixels; i++) {
    du[i] += ud[i];
  }
  gradient3Dz_float(j3, dimsu, ud);
#pragma omp parallel for
  for (i = 0; i < npixels; i++) {
    du[i] += ud[i];
  }
  free(j1);
  free(j2);
  free(j3);
  free(ud);
#pragma omp parallel for
  for (i = 0; i < npixels; i++) {
    u_new[i] += u[i] + du[i] * dt;
  }
  free(du);
}


x86 assembly (clang, -O0):
<diffusion_scheme_3D_rotation_invariance>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movsd  %xmm0,-0x38(%rbp)
movss  0xe64(%rip),%xmm0
movss  %xmm0,-0x68(%rbp)
movsd  -0x38(%rbp),%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x68(%rbp)
mov    -0x18(%rbp),%rax
mov    (%rax),%eax
mov    -0x18(%rbp),%rcx
imul   0x4(%rcx),%eax
mov    -0x18(%rbp),%rcx
imul   0x8(%rcx),%eax
mov    %eax,-0x64(%rbp)
mov    -0x64(%rbp),%edi
call   1050 <mallocf@plt>
mov    %rax,-0x40(%rbp)
mov    -0x64(%rbp),%edi
call   1050 <mallocf@plt>
mov    %rax,-0x48(%rbp)
mov    -0x64(%rbp),%edi
call   1050 <mallocf@plt>
mov    %rax,-0x50(%rbp)
mov    -0x64(%rbp),%edi
call   1050 <mallocf@plt>
mov    %rax,-0x58(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x58(%rbp),%rdx
call   1080 <gradient3Dx_float@plt>
movl   $0x0,-0x6c(%rbp)
mov    -0x6c(%rbp),%eax
cmp    -0x64(%rbp),%eax
jge    129f <diffusion_scheme_3D_rotation_invariance+0x13f>
mov    -0x20(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x58(%rbp),%rax
movslq -0x6c(%rbp),%rcx
mulss  (%rax,%rcx,4),%xmm0
mov    -0x40(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x28(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x58(%rbp),%rax
movslq -0x6c(%rbp),%rcx
mulss  (%rax,%rcx,4),%xmm0
mov    -0x48(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x30(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x58(%rbp),%rax
movslq -0x6c(%rbp),%rcx
mulss  (%rax,%rcx,4),%xmm0
mov    -0x50(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x6c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x6c(%rbp)
jmp    1210 <diffusion_scheme_3D_rotation_invariance+0xb0>
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x58(%rbp),%rdx
call   1040 <gradient3Dy_float@plt>
movl   $0x0,-0x6c(%rbp)
mov    -0x6c(%rbp),%eax
cmp    -0x64(%rbp),%eax
jge    136d <diffusion_scheme_3D_rotation_invariance+0x20d>
mov    -0x28(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x58(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm2
mov    -0x40(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    0x10(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x58(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm2
mov    -0x48(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    0x18(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x58(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm2
mov    -0x50(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x6c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x6c(%rbp)
jmp    12b7 <diffusion_scheme_3D_rotation_invariance+0x157>
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x58(%rbp),%rdx
call   1070 <gradient3Dz_float@plt>
movl   $0x0,-0x6c(%rbp)
mov    -0x6c(%rbp),%eax
cmp    -0x64(%rbp),%eax
jge    143b <diffusion_scheme_3D_rotation_invariance+0x2db>
mov    -0x30(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x58(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm2
mov    -0x40(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    0x18(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x58(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm2
mov    -0x48(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    0x20(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x58(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm2
mov    -0x50(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x6c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x6c(%rbp)
jmp    1385 <diffusion_scheme_3D_rotation_invariance+0x225>
movl   $0x0,-0x74(%rbp)
mov    -0x74(%rbp),%eax
mov    -0x18(%rbp),%rcx
cmp    0x4(%rcx),%eax
jge    152d <diffusion_scheme_3D_rotation_invariance+0x3cd>
movl   $0x0,-0x70(%rbp)
mov    -0x70(%rbp),%eax
mov    -0x18(%rbp),%rcx
cmp    (%rcx),%eax
jge    151a <diffusion_scheme_3D_rotation_invariance+0x3ba>
mov    -0x70(%rbp),%edi
mov    -0x74(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%ecx
mov    -0x18(%rbp),%rax
mov    0x4(%rax),%r8d
xor    %edx,%edx
call   1060 <mindex3@plt>
mov    %eax,-0x7c(%rbp)
mov    -0x40(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x48(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x50(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x70(%rbp),%edi
mov    -0x74(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    0x8(%rax),%edx
sub    $0x1,%edx
mov    -0x18(%rbp),%rax
mov    (%rax),%ecx
mov    -0x18(%rbp),%rax
mov    0x4(%rax),%r8d
call   1060 <mindex3@plt>
mov    %eax,-0x7c(%rbp)
mov    -0x40(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x48(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x50(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x70(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x70(%rbp)
jmp    1459 <diffusion_scheme_3D_rotation_invariance+0x2f9>
jmp    151f <diffusion_scheme_3D_rotation_invariance+0x3bf>
mov    -0x74(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
jmp    1442 <diffusion_scheme_3D_rotation_invariance+0x2e2>
movl   $0x0,-0x78(%rbp)
mov    -0x78(%rbp),%eax
mov    -0x18(%rbp),%rcx
cmp    0x8(%rcx),%eax
jge    161f <diffusion_scheme_3D_rotation_invariance+0x4bf>
movl   $0x0,-0x70(%rbp)
mov    -0x70(%rbp),%eax
mov    -0x18(%rbp),%rcx
cmp    (%rcx),%eax
jge    160c <diffusion_scheme_3D_rotation_invariance+0x4ac>
mov    -0x70(%rbp),%edi
mov    -0x78(%rbp),%edx
mov    -0x18(%rbp),%rax
mov    (%rax),%ecx
mov    -0x18(%rbp),%rax
mov    0x4(%rax),%r8d
xor    %esi,%esi
call   1060 <mindex3@plt>
mov    %eax,-0x7c(%rbp)
mov    -0x40(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x48(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x50(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x70(%rbp),%edi
mov    -0x18(%rbp),%rax
mov    0x4(%rax),%esi
sub    $0x1,%esi
mov    -0x78(%rbp),%edx
mov    -0x18(%rbp),%rax
mov    (%rax),%ecx
mov    -0x18(%rbp),%rax
mov    0x4(%rax),%r8d
call   1060 <mindex3@plt>
mov    %eax,-0x7c(%rbp)
mov    -0x40(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x48(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x50(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x70(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x70(%rbp)
jmp    154b <diffusion_scheme_3D_rotation_invariance+0x3eb>
jmp    1611 <diffusion_scheme_3D_rotation_invariance+0x4b1>
mov    -0x78(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x78(%rbp)
jmp    1534 <diffusion_scheme_3D_rotation_invariance+0x3d4>
movl   $0x0,-0x78(%rbp)
mov    -0x78(%rbp),%eax
mov    -0x18(%rbp),%rcx
cmp    0x8(%rcx),%eax
jge    1711 <diffusion_scheme_3D_rotation_invariance+0x5b1>
movl   $0x0,-0x74(%rbp)
mov    -0x74(%rbp),%eax
mov    -0x18(%rbp),%rcx
cmp    0x4(%rcx),%eax
jge    16fe <diffusion_scheme_3D_rotation_invariance+0x59e>
mov    -0x74(%rbp),%esi
mov    -0x78(%rbp),%edx
mov    -0x18(%rbp),%rax
mov    (%rax),%ecx
mov    -0x18(%rbp),%rax
mov    0x4(%rax),%r8d
xor    %edi,%edi
call   1060 <mindex3@plt>
mov    %eax,-0x7c(%rbp)
mov    -0x40(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x48(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x50(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x18(%rbp),%rax
mov    (%rax),%edi
sub    $0x1,%edi
mov    -0x74(%rbp),%esi
mov    -0x78(%rbp),%edx
mov    -0x18(%rbp),%rax
mov    (%rax),%ecx
mov    -0x18(%rbp),%rax
mov    0x4(%rax),%r8d
call   1060 <mindex3@plt>
mov    %eax,-0x7c(%rbp)
mov    -0x40(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x48(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x50(%rbp),%rax
movslq -0x7c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x74(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
jmp    163d <diffusion_scheme_3D_rotation_invariance+0x4dd>
jmp    1703 <diffusion_scheme_3D_rotation_invariance+0x5a3>
mov    -0x78(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x78(%rbp)
jmp    1626 <diffusion_scheme_3D_rotation_invariance+0x4c6>
mov    -0x64(%rbp),%edi
call   1050 <mallocf@plt>
mov    %rax,-0x60(%rbp)
mov    -0x40(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x60(%rbp),%rdx
call   1080 <gradient3Dx_float@plt>
mov    -0x48(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x58(%rbp),%rdx
call   1040 <gradient3Dy_float@plt>
movl   $0x0,-0x6c(%rbp)
mov    -0x6c(%rbp),%eax
cmp    -0x64(%rbp),%eax
jge    177f <diffusion_scheme_3D_rotation_invariance+0x61f>
mov    -0x58(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x60(%rbp),%rax
movslq -0x6c(%rbp),%rcx
addss  (%rax,%rcx,4),%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x6c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x6c(%rbp)
jmp    1746 <diffusion_scheme_3D_rotation_invariance+0x5e6>
mov    -0x50(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x58(%rbp),%rdx
call   1070 <gradient3Dz_float@plt>
movl   $0x0,-0x6c(%rbp)
mov    -0x6c(%rbp),%eax
cmp    -0x64(%rbp),%eax
jge    17d0 <diffusion_scheme_3D_rotation_invariance+0x670>
mov    -0x58(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x60(%rbp),%rax
movslq -0x6c(%rbp),%rcx
addss  (%rax,%rcx,4),%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x6c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x6c(%rbp)
jmp    1797 <diffusion_scheme_3D_rotation_invariance+0x637>
mov    -0x40(%rbp),%rdi
call   1030 <free@plt>
mov    -0x48(%rbp),%rdi
call   1030 <free@plt>
mov    -0x50(%rbp),%rdi
call   1030 <free@plt>
mov    -0x58(%rbp),%rdi
call   1030 <free@plt>
movl   $0x0,-0x6c(%rbp)
mov    -0x6c(%rbp),%eax
cmp    -0x64(%rbp),%eax
jge    184e <diffusion_scheme_3D_rotation_invariance+0x6ee>
mov    -0x8(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
mov    -0x60(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movss  -0x68(%rbp),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
movslq -0x6c(%rbp),%rcx
addss  (%rax,%rcx,4),%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x6c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x6c(%rbp)
jmp    17fb <diffusion_scheme_3D_rotation_invariance+0x69b>
mov    -0x60(%rbp),%rdi
call   1030 <free@plt>
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<diffusion_scheme_3D_rotation_invariance>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
movsd  %xmm0,0x50(%rsp)
mov    %r9,0x30(%rsp)
mov    %r8,%rbp
mov    %rcx,%rbx
mov    %rdx,%r14
mov    %rsi,0x28(%rsp)
mov    %rdi,0x20(%rsp)
mov    0xa0(%rsp),%rax
mov    %rax,0x48(%rsp)
mov    0x98(%rsp),%rax
mov    %rax,0x40(%rsp)
mov    0x90(%rsp),%rax
mov    %rax,0x38(%rsp)
mov    0x4(%rdx),%r13d
imul   (%rdx),%r13d
imul   0x8(%rdx),%r13d
mov    %r13d,0xc(%rsp)
mov    %r13d,%edi
call   1050 <mallocf@plt>
mov    %rax,%r15
mov    %r13d,%edi
call   1050 <mallocf@plt>
mov    %rax,%r12
mov    %r13d,%edi
call   1050 <mallocf@plt>
mov    %rax,%r13
mov    0xc(%rsp),%edi
call   1050 <mallocf@plt>
mov    %rax,0x10(%rsp)
mov    0x20(%rsp),%rdi
mov    %r14,%rsi
mov    %rax,%rdx
call   1080 <gradient3Dx_float@plt>
mov    0x10(%rsp),%rdx
mov    0xc(%rsp),%eax
mov    %eax,%ecx
test   %eax,%eax
mov    0x20(%rsp),%rax
mov    %rcx,0x18(%rsp)
jle    136f <diffusion_scheme_3D_rotation_invariance+0x20f>
xor    %eax,%eax
mov    0x30(%rsp),%rsi
nopl   0x0(%rax,%rax,1)
movss  (%rbx,%rax,4),%xmm0
mulss  (%rdx,%rax,4),%xmm0
movss  %xmm0,(%r15,%rax,4)
movss  0x0(%rbp,%rax,4),%xmm0
mulss  (%rdx,%rax,4),%xmm0
movss  %xmm0,(%r12,%rax,4)
movss  (%rsi,%rax,4),%xmm0
mulss  (%rdx,%rax,4),%xmm0
movss  %xmm0,0x0(%r13,%rax,4)
add    $0x1,%rax
cmp    %rax,%rcx
jne    1230 <diffusion_scheme_3D_rotation_invariance+0xd0>
mov    0x20(%rsp),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1040 <gradient3Dy_float@plt>
mov    0x10(%rsp),%rdx
cmpl   $0x0,0xc(%rsp)
jle    1383 <diffusion_scheme_3D_rotation_invariance+0x223>
xor    %eax,%eax
mov    0x18(%rsp),%rcx
mov    0x40(%rsp),%rbx
mov    0x38(%rsp),%rsi
nopl   0x0(%rax)
movss  0x0(%rbp,%rax,4),%xmm0
mulss  (%rdx,%rax,4),%xmm0
addss  (%r15,%rax,4),%xmm0
movss  %xmm0,(%r15,%rax,4)
movss  (%rsi,%rax,4),%xmm0
mulss  (%rdx,%rax,4),%xmm0
addss  (%r12,%rax,4),%xmm0
movss  %xmm0,(%r12,%rax,4)
movss  (%rbx,%rax,4),%xmm0
mulss  (%rdx,%rax,4),%xmm0
addss  0x0(%r13,%rax,4),%xmm0
movss  %xmm0,0x0(%r13,%rax,4)
add    $0x1,%rax
cmp    %rax,%rcx
jne    12a0 <diffusion_scheme_3D_rotation_invariance+0x140>
mov    0x20(%rsp),%rdi
mov    %r14,%rsi
call   1070 <gradient3Dz_float@plt>
mov    0x10(%rsp),%rdx
mov    0x18(%rsp),%rcx
cmpl   $0x0,0xc(%rsp)
mov    0x30(%rsp),%rsi
mov    0x48(%rsp),%rdi
jle    138e <diffusion_scheme_3D_rotation_invariance+0x22e>
xor    %eax,%eax
nopl   0x0(%rax,%rax,1)
movss  (%rsi,%rax,4),%xmm0
mulss  (%rdx,%rax,4),%xmm0
addss  (%r15,%rax,4),%xmm0
movss  %xmm0,(%r15,%rax,4)
movss  (%rbx,%rax,4),%xmm0
mulss  (%rdx,%rax,4),%xmm0
addss  (%r12,%rax,4),%xmm0
movss  %xmm0,(%r12,%rax,4)
movss  (%rdi,%rax,4),%xmm0
mulss  (%rdx,%rax,4),%xmm0
addss  0x0(%r13,%rax,4),%xmm0
movss  %xmm0,0x0(%r13,%rax,4)
add    $0x1,%rax
cmp    %rax,%rcx
jne    1320 <diffusion_scheme_3D_rotation_invariance+0x1c0>
jmp    138e <diffusion_scheme_3D_rotation_invariance+0x22e>
mov    %rax,%rbx
mov    %rax,%rdi
mov    %r14,%rsi
mov    %rdx,%rbp
call   1040 <gradient3Dy_float@plt>
mov    %rbp,%rdx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1070 <gradient3Dz_float@plt>
mov    0x4(%r14),%r8d
test   %r8d,%r8d
jle    1428 <diffusion_scheme_3D_rotation_invariance+0x2c8>
mov    (%r14),%ecx
xor    %ebx,%ebx
jmp    13b8 <diffusion_scheme_3D_rotation_invariance+0x258>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    $0x1,%ebx
cmp    %r8d,%ebx
jge    1428 <diffusion_scheme_3D_rotation_invariance+0x2c8>
test   %ecx,%ecx
jle    13b0 <diffusion_scheme_3D_rotation_invariance+0x250>
xor    %ebp,%ebp
xchg   %ax,%ax
mov    %ebp,%edi
mov    %ebx,%esi
xor    %edx,%edx
call   1060 <mindex3@plt>
cltq
movl   $0x0,(%r15,%rax,4)
movl   $0x0,(%r12,%rax,4)
movl   $0x0,0x0(%r13,%rax,4)
mov    0x8(%r14),%edx
add    $0xffffffff,%edx
mov    (%r14),%ecx
mov    0x4(%r14),%r8d
mov    %ebp,%edi
mov    %ebx,%esi
call   1060 <mindex3@plt>
cltq
movl   $0x0,(%r15,%rax,4)
movl   $0x0,(%r12,%rax,4)
movl   $0x0,0x0(%r13,%rax,4)
add    $0x1,%ebp
mov    (%r14),%ecx
mov    0x4(%r14),%r8d
cmp    %ecx,%ebp
jl     13c0 <diffusion_scheme_3D_rotation_invariance+0x260>
jmp    13b0 <diffusion_scheme_3D_rotation_invariance+0x250>
mov    0x8(%r14),%eax
test   %eax,%eax
jle    1549 <diffusion_scheme_3D_rotation_invariance+0x3e9>
mov    (%r14),%ecx
xor    %ebx,%ebx
jmp    1447 <diffusion_scheme_3D_rotation_invariance+0x2e7>
nopl   0x0(%rax,%rax,1)
add    $0x1,%ebx
cmp    %eax,%ebx
jge    14b9 <diffusion_scheme_3D_rotation_invariance+0x359>
test   %ecx,%ecx
jle    1440 <diffusion_scheme_3D_rotation_invariance+0x2e0>
xor    %ebp,%ebp
nopl   (%rax)
mov    0x4(%r14),%r8d
mov    %ebp,%edi
xor    %esi,%esi
mov    %ebx,%edx
call   1060 <mindex3@plt>
cltq
movl   $0x0,(%r15,%rax,4)
movl   $0x0,(%r12,%rax,4)
movl   $0x0,0x0(%r13,%rax,4)
mov    (%r14),%ecx
mov    0x4(%r14),%r8d
lea    -0x1(%r8),%esi
mov    %ebp,%edi
mov    %ebx,%edx
call   1060 <mindex3@plt>
cltq
movl   $0x0,(%r15,%rax,4)
movl   $0x0,(%r12,%rax,4)
movl   $0x0,0x0(%r13,%rax,4)
add    $0x1,%ebp
mov    (%r14),%ecx
cmp    %ecx,%ebp
jl     1450 <diffusion_scheme_3D_rotation_invariance+0x2f0>
mov    0x8(%r14),%eax
jmp    1440 <diffusion_scheme_3D_rotation_invariance+0x2e0>
test   %eax,%eax
jle    1549 <diffusion_scheme_3D_rotation_invariance+0x3e9>
mov    0x4(%r14),%r8d
xor    %ebx,%ebx
jmp    14d7 <diffusion_scheme_3D_rotation_invariance+0x377>
nopl   0x0(%rax)
add    $0x1,%ebx
cmp    %eax,%ebx
jge    1549 <diffusion_scheme_3D_rotation_invariance+0x3e9>
test   %r8d,%r8d
jle    14d0 <diffusion_scheme_3D_rotation_invariance+0x370>
xor    %ebp,%ebp
xchg   %ax,%ax
mov    (%r14),%ecx
xor    %edi,%edi
mov    %ebp,%esi
mov    %ebx,%edx
call   1060 <mindex3@plt>
cltq
movl   $0x0,(%r15,%rax,4)
movl   $0x0,(%r12,%rax,4)
movl   $0x0,0x0(%r13,%rax,4)
mov    (%r14),%ecx
mov    0x4(%r14),%r8d
lea    -0x1(%rcx),%edi
mov    %ebp,%esi
mov    %ebx,%edx
call   1060 <mindex3@plt>
cltq
movl   $0x0,(%r15,%rax,4)
movl   $0x0,(%r12,%rax,4)
movl   $0x0,0x0(%r13,%rax,4)
add    $0x1,%ebp
mov    0x4(%r14),%r8d
cmp    %r8d,%ebp
jl     14e0 <diffusion_scheme_3D_rotation_invariance+0x380>
mov    0x8(%r14),%eax
jmp    14d0 <diffusion_scheme_3D_rotation_invariance+0x370>
mov    0xc(%rsp),%ebp
mov    %ebp,%edi
call   1050 <mallocf@plt>
mov    %rax,%rbx
mov    %r15,%rdi
mov    %r14,%rsi
mov    %rax,%rdx
call   1080 <gradient3Dx_float@plt>
mov    %r12,%rdi
mov    %r14,%rsi
mov    0x10(%rsp),%rdx
call   1040 <gradient3Dy_float@plt>
test   %ebp,%ebp
jle    158f <diffusion_scheme_3D_rotation_invariance+0x42f>
cmp    $0x8,%ebp
jae    15ac <diffusion_scheme_3D_rotation_invariance+0x44c>
xor    %eax,%eax
mov    0x18(%rsp),%rdi
mov    0x10(%rsp),%rdx
jmp    167f <diffusion_scheme_3D_rotation_invariance+0x51f>
mov    %r13,%rdi
mov    %r14,%rsi
mov    0x10(%rsp),%rbp
mov    %rbp,%rdx
call   1070 <gradient3Dz_float@plt>
mov    0x28(%rsp),%r14
jmp    18cf <diffusion_scheme_3D_rotation_invariance+0x76f>
mov    0x18(%rsp),%rdi
mov    0x10(%rsp),%rdx
lea    (%rdx,%rdi,4),%rax
cmp    %rax,%rbx
jae    15cf <diffusion_scheme_3D_rotation_invariance+0x46f>
lea    (%rbx,%rdi,4),%rax
cmp    %rax,%rdx
jae    15cf <diffusion_scheme_3D_rotation_invariance+0x46f>
xor    %eax,%eax
jmp    167f <diffusion_scheme_3D_rotation_invariance+0x51f>
mov    %edi,%eax
and    $0xfffffff8,%eax
lea    -0x8(%rax),%rcx
mov    %rcx,%rbp
shr    $0x3,%rbp
add    $0x1,%rbp
test   %rcx,%rcx
je     1a48 <diffusion_scheme_3D_rotation_invariance+0x8e8>
mov    %rbp,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %ecx,%ecx
cs nopw 0x0(%rax,%rax,1)
nop
movups (%rdx,%rcx,4),%xmm0
movups 0x10(%rdx,%rcx,4),%xmm1
movups (%rbx,%rcx,4),%xmm2
addps  %xmm0,%xmm2
movups 0x10(%rbx,%rcx,4),%xmm0
addps  %xmm1,%xmm0
movups 0x20(%rbx,%rcx,4),%xmm1
movups 0x30(%rbx,%rcx,4),%xmm3
movups %xmm2,(%rbx,%rcx,4)
movups %xmm0,0x10(%rbx,%rcx,4)
movups 0x20(%rdx,%rcx,4),%xmm0
addps  %xmm1,%xmm0
movups 0x30(%rdx,%rcx,4),%xmm1
addps  %xmm3,%xmm1
movups %xmm0,0x20(%rbx,%rcx,4)
movups %xmm1,0x30(%rbx,%rcx,4)
add    $0x10,%rcx
add    $0xfffffffffffffffe,%rsi
jne    1600 <diffusion_scheme_3D_rotation_invariance+0x4a0>
test   $0x1,%bpl
je     1676 <diffusion_scheme_3D_rotation_invariance+0x516>
movups (%rdx,%rcx,4),%xmm0
movups 0x10(%rdx,%rcx,4),%xmm1
movups (%rbx,%rcx,4),%xmm2
addps  %xmm0,%xmm2
movups 0x10(%rbx,%rcx,4),%xmm0
addps  %xmm1,%xmm0
movups %xmm2,(%rbx,%rcx,4)
movups %xmm0,0x10(%rbx,%rcx,4)
cmp    %rdi,%rax
je     170e <diffusion_scheme_3D_rotation_invariance+0x5ae>
mov    %rax,%rcx
not    %rcx
add    %rdi,%rcx
mov    %rdi,%rsi
and    $0x3,%rsi
je     16b9 <diffusion_scheme_3D_rotation_invariance+0x559>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movss  (%rdx,%rax,4),%xmm0
addss  (%rbx,%rax,4),%xmm0
movss  %xmm0,(%rbx,%rax,4)
add    $0x1,%rax
add    $0xffffffffffffffff,%rsi
jne    16a0 <diffusion_scheme_3D_rotation_invariance+0x540>
cmp    $0x3,%rcx
jb     170e <diffusion_scheme_3D_rotation_invariance+0x5ae>
nop
movss  (%rdx,%rax,4),%xmm0
addss  (%rbx,%rax,4),%xmm0
movss  %xmm0,(%rbx,%rax,4)
movss  0x4(%rdx,%rax,4),%xmm0
addss  0x4(%rbx,%rax,4),%xmm0
movss  %xmm0,0x4(%rbx,%rax,4)
movss  0x8(%rdx,%rax,4),%xmm0
addss  0x8(%rbx,%rax,4),%xmm0
movss  %xmm0,0x8(%rbx,%rax,4)
movss  0xc(%rdx,%rax,4),%xmm0
addss  0xc(%rbx,%rax,4),%xmm0
movss  %xmm0,0xc(%rbx,%rax,4)
add    $0x4,%rax
cmp    %rax,%rdi
jne    16c0 <diffusion_scheme_3D_rotation_invariance+0x560>
mov    %r13,%rdi
mov    %r14,%rsi
mov    %rdx,%rbp
call   1070 <gradient3Dz_float@plt>
mov    0xc(%rsp),%eax
test   %eax,%eax
jle    173f <diffusion_scheme_3D_rotation_invariance+0x5df>
cmp    $0x8,%eax
jae    1764 <diffusion_scheme_3D_rotation_invariance+0x604>
xor    %eax,%eax
mov    0x28(%rsp),%r14
mov    0x18(%rsp),%rdi
mov    0x10(%rsp),%rbp
jmp    1840 <diffusion_scheme_3D_rotation_invariance+0x6e0>
mov    %r15,%rdi
call   1030 <free@plt>
mov    %r12,%rdi
call   1030 <free@plt>
mov    %r13,%rdi
call   1030 <free@plt>
mov    %rbp,%rdi
call   1030 <free@plt>
jmp    1a32 <diffusion_scheme_3D_rotation_invariance+0x8d2>
mov    0x18(%rsp),%rdi
mov    0x10(%rsp),%rbp
lea    0x0(,%rdi,4),%rax
add    %rbp,%rax
cmp    %rax,%rbx
jae    1793 <diffusion_scheme_3D_rotation_invariance+0x633>
lea    (%rbx,%rdi,4),%rax
cmp    %rax,%rbp
jae    1793 <diffusion_scheme_3D_rotation_invariance+0x633>
xor    %eax,%eax
mov    0x28(%rsp),%r14
jmp    1840 <diffusion_scheme_3D_rotation_invariance+0x6e0>
mov    %edi,%eax
and    $0xfffffff8,%eax
lea    -0x8(%rax),%rcx
mov    %rcx,%rdx
shr    $0x3,%rdx
add    $0x1,%rdx
test   %rcx,%rcx
mov    0x28(%rsp),%r14
je     1a59 <diffusion_scheme_3D_rotation_invariance+0x8f9>
mov    %rdx,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %ecx,%ecx
xchg   %ax,%ax
movups 0x0(%rbp,%rcx,4),%xmm0
movups 0x10(%rbp,%rcx,4),%xmm1
movups (%rbx,%rcx,4),%xmm2
addps  %xmm0,%xmm2
movups 0x10(%rbx,%rcx,4),%xmm0
addps  %xmm1,%xmm0
movups 0x20(%rbx,%rcx,4),%xmm1
movups 0x30(%rbx,%rcx,4),%xmm3
movups %xmm2,(%rbx,%rcx,4)
movups %xmm0,0x10(%rbx,%rcx,4)
movups 0x20(%rbp,%rcx,4),%xmm0
addps  %xmm1,%xmm0
movups 0x30(%rbp,%rcx,4),%xmm1
addps  %xmm3,%xmm1
movups %xmm0,0x20(%rbx,%rcx,4)
movups %xmm1,0x30(%rbx,%rcx,4)
add    $0x10,%rcx
add    $0xfffffffffffffffe,%rsi
jne    17c0 <diffusion_scheme_3D_rotation_invariance+0x660>
test   $0x1,%dl
je     1837 <diffusion_scheme_3D_rotation_invariance+0x6d7>
movups 0x0(%rbp,%rcx,4),%xmm0
movups 0x10(%rbp,%rcx,4),%xmm1
movups (%rbx,%rcx,4),%xmm2
addps  %xmm0,%xmm2
movups 0x10(%rbx,%rcx,4),%xmm0
addps  %xmm1,%xmm0
movups %xmm2,(%rbx,%rcx,4)
movups %xmm0,0x10(%rbx,%rcx,4)
cmp    %rdi,%rax
je     18cf <diffusion_scheme_3D_rotation_invariance+0x76f>
mov    %rax,%rcx
not    %rcx
add    %rdi,%rcx
mov    %rdi,%rdx
and    $0x3,%rdx
je     187a <diffusion_scheme_3D_rotation_invariance+0x71a>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movss  0x0(%rbp,%rax,4),%xmm0
addss  (%rbx,%rax,4),%xmm0
movss  %xmm0,(%rbx,%rax,4)
add    $0x1,%rax
add    $0xffffffffffffffff,%rdx
jne    1860 <diffusion_scheme_3D_rotation_invariance+0x700>
cmp    $0x3,%rcx
jb     18cf <diffusion_scheme_3D_rotation_invariance+0x76f>
movss  0x0(%rbp,%rax,4),%xmm0
addss  (%rbx,%rax,4),%xmm0
movss  %xmm0,(%rbx,%rax,4)
movss  0x4(%rbp,%rax,4),%xmm0
addss  0x4(%rbx,%rax,4),%xmm0
movss  %xmm0,0x4(%rbx,%rax,4)
movss  0x8(%rbp,%rax,4),%xmm0
addss  0x8(%rbx,%rax,4),%xmm0
movss  %xmm0,0x8(%rbx,%rax,4)
movss  0xc(%rbp,%rax,4),%xmm0
addss  0xc(%rbx,%rax,4),%xmm0
movss  %xmm0,0xc(%rbx,%rax,4)
add    $0x4,%rax
cmp    %rax,%rdi
jne    1880 <diffusion_scheme_3D_rotation_invariance+0x720>
mov    %r15,%rdi
mov    %rbp,%r15
call   1030 <free@plt>
mov    %r12,%rdi
call   1030 <free@plt>
mov    %r13,%rdi
call   1030 <free@plt>
mov    %rbp,%rdi
call   1030 <free@plt>
mov    0x18(%rsp),%rsi
mov    0xc(%rsp),%eax
test   %eax,%eax
mov    0x20(%rsp),%rbp
jle    1a32 <diffusion_scheme_3D_rotation_invariance+0x8d2>
movsd  0x50(%rsp),%xmm0
cvtsd2ss %xmm0,%xmm0
cmp    $0x8,%eax
jae    191e <diffusion_scheme_3D_rotation_invariance+0x7be>
xor    %eax,%eax
jmp    19b9 <diffusion_scheme_3D_rotation_invariance+0x859>
lea    0x0(,%rsi,4),%rax
add    %rbp,%rax
cmp    %r14,%rax
seta   %dil
lea    (%r14,%rsi,4),%rax
cmp    %rbp,%rax
seta   %dl
lea    (%rbx,%rsi,4),%rcx
cmp    %r14,%rcx
seta   %cl
cmp    %rax,%rbx
setb   %r8b
xor    %eax,%eax
test   %dl,%dil
jne    19b9 <diffusion_scheme_3D_rotation_invariance+0x859>
and    %r8b,%cl
jne    19b9 <diffusion_scheme_3D_rotation_invariance+0x859>
mov    %esi,%eax
and    $0xfffffff8,%eax
movaps %xmm0,%xmm1
shufps $0x0,%xmm0,%xmm1
xor    %ecx,%ecx
cs nopw 0x0(%rax,%rax,1)
nop
movups 0x0(%rbp,%rcx,4),%xmm2
movups 0x10(%rbp,%rcx,4),%xmm3
movups (%rbx,%rcx,4),%xmm4
movups 0x10(%rbx,%rcx,4),%xmm5
mulps  %xmm1,%xmm4
addps  %xmm2,%xmm4
mulps  %xmm1,%xmm5
addps  %xmm3,%xmm5
movups (%r14,%rcx,4),%xmm2
addps  %xmm4,%xmm2
movups 0x10(%r14,%rcx,4),%xmm3
addps  %xmm5,%xmm3
movups %xmm2,(%r14,%rcx,4)
movups %xmm3,0x10(%r14,%rcx,4)
add    $0x8,%rcx
cmp    %rcx,%rax
jne    1970 <diffusion_scheme_3D_rotation_invariance+0x810>
cmp    %rsi,%rax
je     1a32 <diffusion_scheme_3D_rotation_invariance+0x8d2>
mov    %rax,%rcx
not    %rcx
test   $0x1,%sil
je     19e4 <diffusion_scheme_3D_rotation_invariance+0x884>
movss  (%rbx,%rax,4),%xmm1
mulss  %xmm0,%xmm1
addss  0x0(%rbp,%rax,4),%xmm1
addss  (%r14,%rax,4),%xmm1
movss  %xmm1,(%r14,%rax,4)
or     $0x1,%rax
add    %rsi,%rcx
je     1a32 <diffusion_scheme_3D_rotation_invariance+0x8d2>
nopl   0x0(%rax)
movss  (%rbx,%rax,4),%xmm1
mulss  %xmm0,%xmm1
addss  0x0(%rbp,%rax,4),%xmm1
addss  (%r14,%rax,4),%xmm1
movss  %xmm1,(%r14,%rax,4)
movss  0x4(%rbx,%rax,4),%xmm1
mulss  %xmm0,%xmm1
addss  0x4(%rbp,%rax,4),%xmm1
addss  0x4(%r14,%rax,4),%xmm1
movss  %xmm1,0x4(%r14,%rax,4)
add    $0x2,%rax
cmp    %rax,%rsi
jne    19f0 <diffusion_scheme_3D_rotation_invariance+0x890>
mov    %rbx,%rdi
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <free@plt>
xor    %ecx,%ecx
test   $0x1,%bpl
jne    1655 <diffusion_scheme_3D_rotation_invariance+0x4f5>
jmp    1676 <diffusion_scheme_3D_rotation_invariance+0x516>
xor    %ecx,%ecx
test   $0x1,%dl
jne    1815 <diffusion_scheme_3D_rotation_invariance+0x6b5>
jmp    1837 <diffusion_scheme_3D_rotation_invariance+0x6d7>

LLVM IR (-O0):
define void @diffusion_scheme_3D_rotation_invariance(float* %0, float* %1, i32* %2, float* %3, float* %4, float* %5, float* %6, float* %7, float* %8, double %9) {
%11 = alloca float*
%12 = alloca float*
%13 = alloca i32*
%14 = alloca float*
%15 = alloca float*
%16 = alloca float*
%17 = alloca float*
%18 = alloca float*
%19 = alloca float*
%20 = alloca double
%21 = alloca float*
%22 = alloca float*
%23 = alloca float*
%24 = alloca float*
%25 = alloca float*
%26 = alloca i32
%27 = alloca float
%28 = alloca i32
%29 = alloca i32
%30 = alloca i32
%31 = alloca i32
%32 = alloca i32
store float* %0, float** %11
store float* %1, float** %12
store i32* %2, i32** %13
store float* %3, float** %14
store float* %4, float** %15
store float* %5, float** %16
store float* %6, float** %17
store float* %7, float** %18
store float* %8, float** %19
store double %9, double* %20
store float 5.000000e-01, float* %27
%33 = load double, double* %20
%34 = fptrunc double %33 to float
store float %34, float* %27
%35 = load i32*, i32** %13
%36 = getelementptr inbounds i32, i32* %35, i64 0
%37 = load i32, i32* %36
%38 = load i32*, i32** %13
%39 = getelementptr inbounds i32, i32* %38, i64 1
%40 = load i32, i32* %39
%41 = mul nsw i32 %37, %40
%42 = load i32*, i32** %13
%43 = getelementptr inbounds i32, i32* %42, i64 2
%44 = load i32, i32* %43
%45 = mul nsw i32 %41, %44
store i32 %45, i32* %26
%46 = load i32, i32* %26
%47 = call float* @mallocf(i32 %46)
store float* %47, float** %21
%48 = load i32, i32* %26
%49 = call float* @mallocf(i32 %48)
store float* %49, float** %22
%50 = load i32, i32* %26
%51 = call float* @mallocf(i32 %50)
store float* %51, float** %23
%52 = load i32, i32* %26
%53 = call float* @mallocf(i32 %52)
store float* %53, float** %24
%54 = load float*, float** %11
%55 = load i32*, i32** %13
%56 = load float*, float** %24
%57 = call i32 @gradient3Dx_float(float* %54, i32* %55, float* %56)
store i32 0, i32* %28
br label %58
58: ; preds = %108, %10
%59 = load i32, i32* %28
%60 = load i32, i32* %26
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %111
62: ; preds = %58
%63 = load float*, float** %14
%64 = load i32, i32* %28
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds float, float* %63, i64 %65
%67 = load float, float* %66
%68 = load float*, float** %24
%69 = load i32, i32* %28
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds float, float* %68, i64 %70
%72 = load float, float* %71
%73 = fmul float %67, %72
%74 = load float*, float** %21
%75 = load i32, i32* %28
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds float, float* %74, i64 %76
store float %73, float* %77
%78 = load float*, float** %15
%79 = load i32, i32* %28
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds float, float* %78, i64 %80
%82 = load float, float* %81
%83 = load float*, float** %24
%84 = load i32, i32* %28
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds float, float* %83, i64 %85
%87 = load float, float* %86
%88 = fmul float %82, %87
%89 = load float*, float** %22
%90 = load i32, i32* %28
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds float, float* %89, i64 %91
store float %88, float* %92
%93 = load float*, float** %16
%94 = load i32, i32* %28
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds float, float* %93, i64 %95
%97 = load float, float* %96
%98 = load float*, float** %24
%99 = load i32, i32* %28
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds float, float* %98, i64 %100
%102 = load float, float* %101
%103 = fmul float %97, %102
%104 = load float*, float** %23
%105 = load i32, i32* %28
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds float, float* %104, i64 %106
store float %103, float* %107
br label %108
108: ; preds = %62
%109 = load i32, i32* %28
%110 = add nsw i32 %109, 1
store i32 %110, i32* %28
br label %58
111: ; preds = %58
%112 = load float*, float** %11
%113 = load i32*, i32** %13
%114 = load float*, float** %24
%115 = call i32 @gradient3Dy_float(float* %112, i32* %113, float* %114)
store i32 0, i32* %28
br label %116
116: ; preds = %169, %111
%117 = load i32, i32* %28
%118 = load i32, i32* %26
%119 = icmp slt i32 %117, %118
br i1 %119, label %120, label %172
120: ; preds = %116
%121 = load float*, float** %15
%122 = load i32, i32* %28
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds float, float* %121, i64 %123
%125 = load float, float* %124
%126 = load float*, float** %24
%127 = load i32, i32* %28
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds float, float* %126, i64 %128
%130 = load float, float* %129
%131 = load float*, float** %21
%132 = load i32, i32* %28
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds float, float* %131, i64 %133
%135 = load float, float* %134
%136 = call float @llvm.fmuladd.f32(float %125, float %130, float %135)
store float %136, float* %134
%137 = load float*, float** %17
%138 = load i32, i32* %28
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds float, float* %137, i64 %139
%141 = load float, float* %140
%142 = load float*, float** %24
%143 = load i32, i32* %28
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds float, float* %142, i64 %144
%146 = load float, float* %145
%147 = load float*, float** %22
%148 = load i32, i32* %28
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds float, float* %147, i64 %149
%151 = load float, float* %150
%152 = call float @llvm.fmuladd.f32(float %141, float %146, float %151)
store float %152, float* %150
%153 = load float*, float** %18
%154 = load i32, i32* %28
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds float, float* %153, i64 %155
%157 = load float, float* %156
%158 = load float*, float** %24
%159 = load i32, i32* %28
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds float, float* %158, i64 %160
%162 = load float, float* %161
%163 = load float*, float** %23
%164 = load i32, i32* %28
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds float, float* %163, i64 %165
%167 = load float, float* %166
%168 = call float @llvm.fmuladd.f32(float %157, float %162, float %167)
store float %168, float* %166
br label %169
169: ; preds = %120
%170 = load i32, i32* %28
%171 = add nsw i32 %170, 1
store i32 %171, i32* %28
br label %116
172: ; preds = %116
%173 = load float*, float** %11
%174 = load i32*, i32** %13
%175 = load float*, float** %24
%176 = call i32 @gradient3Dz_float(float* %173, i32* %174, float* %175)
store i32 0, i32* %28
br label %177
177: ; preds = %230, %172
%178 = load i32, i32* %28
%179 = load i32, i32* %26
%180 = icmp slt i32 %178, %179
br i1 %180, label %181, label %233
181: ; preds = %177
%182 = load float*, float** %16
%183 = load i32, i32* %28
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds float, float* %182, i64 %184
%186 = load float, float* %185
%187 = load float*, float** %24
%188 = load i32, i32* %28
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds float, float* %187, i64 %189
%191 = load float, float* %190
%192 = load float*, float** %21
%193 = load i32, i32* %28
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds float, float* %192, i64 %194
%196 = load float, float* %195
%197 = call float @llvm.fmuladd.f32(float %186, float %191, float %196)
store float %197, float* %195
%198 = load float*, float** %18
%199 = load i32, i32* %28
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds float, float* %198, i64 %200
%202 = load float, float* %201
%203 = load float*, float** %24
%204 = load i32, i32* %28
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds float, float* %203, i64 %205
%207 = load float, float* %206
%208 = load float*, float** %22
%209 = load i32, i32* %28
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds float, float* %208, i64 %210
%212 = load float, float* %211
%213 = call float @llvm.fmuladd.f32(float %202, float %207, float %212)
store float %213, float* %211
%214 = load float*, float** %19
%215 = load i32, i32* %28
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds float, float* %214, i64 %216
%218 = load float, float* %217
%219 = load float*, float** %24
%220 = load i32, i32* %28
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds float, float* %219, i64 %221
%223 = load float, float* %222
%224 = load float*, float** %23
%225 = load i32, i32* %28
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds float, float* %224, i64 %226
%228 = load float, float* %227
%229 = call float @llvm.fmuladd.f32(float %218, float %223, float %228)
store float %229, float* %227
br label %230
230: ; preds = %181
%231 = load i32, i32* %28
%232 = add nsw i32 %231, 1
store i32 %232, i32* %28
br label %177
233: ; preds = %177
store i32 0, i32* %30
br label %234
234: ; preds = %298, %233
%235 = load i32, i32* %30
%236 = load i32*, i32** %13
%237 = getelementptr inbounds i32, i32* %236, i64 1
%238 = load i32, i32* %237
%239 = icmp slt i32 %235, %238
br i1 %239, label %240, label %301
240: ; preds = %234
store i32 0, i32* %29
br label %241
241: ; preds = %294, %240
%242 = load i32, i32* %29
%243 = load i32*, i32** %13
%244 = getelementptr inbounds i32, i32* %243, i64 0
%245 = load i32, i32* %244
%246 = icmp slt i32 %242, %245
br i1 %246, label %247, label %297
247: ; preds = %241
%248 = load i32, i32* %29
%249 = load i32, i32* %30
%250 = load i32*, i32** %13
%251 = getelementptr inbounds i32, i32* %250, i64 0
%252 = load i32, i32* %251
%253 = load i32*, i32** %13
%254 = getelementptr inbounds i32, i32* %253, i64 1
%255 = load i32, i32* %254
%256 = call i32 @mindex3(i32 %248, i32 %249, i32 0, i32 %252, i32 %255)
store i32 %256, i32* %32
%257 = load float*, float** %21
%258 = load i32, i32* %32
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds float, float* %257, i64 %259
store float 0.000000e+00, float* %260
%261 = load float*, float** %22
%262 = load i32, i32* %32
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds float, float* %261, i64 %263
store float 0.000000e+00, float* %264
%265 = load float*, float** %23
%266 = load i32, i32* %32
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds float, float* %265, i64 %267
store float 0.000000e+00, float* %268
%269 = load i32, i32* %29
%270 = load i32, i32* %30
%271 = load i32*, i32** %13
%272 = getelementptr inbounds i32, i32* %271, i64 2
%273 = load i32, i32* %272
%274 = sub nsw i32 %273, 1
%275 = load i32*, i32** %13
%276 = getelementptr inbounds i32, i32* %275, i64 0
%277 = load i32, i32* %276
%278 = load i32*, i32** %13
%279 = getelementptr inbounds i32, i32* %278, i64 1
%280 = load i32, i32* %279
%281 = call i32 @mindex3(i32 %269, i32 %270, i32 %274, i32 %277, i32 %280)
store i32 %281, i32* %32
%282 = load float*, float** %21
%283 = load i32, i32* %32
%284 = sext i32 %283 to i64
%285 = getelementptr inbounds float, float* %282, i64 %284
store float 0.000000e+00, float* %285
%286 = load float*, float** %22
%287 = load i32, i32* %32
%288 = sext i32 %287 to i64
%289 = getelementptr inbounds float, float* %286, i64 %288
store float 0.000000e+00, float* %289
%290 = load float*, float** %23
%291 = load i32, i32* %32
%292 = sext i32 %291 to i64
%293 = getelementptr inbounds float, float* %290, i64 %292
store float 0.000000e+00, float* %293
br label %294
294: ; preds = %247
%295 = load i32, i32* %29
%296 = add nsw i32 %295, 1
store i32 %296, i32* %29
br label %241
297: ; preds = %241
br label %298
298: ; preds = %297
%299 = load i32, i32* %30
%300 = add nsw i32 %299, 1
store i32 %300, i32* %30
br label %234
301: ; preds = %234
store i32 0, i32* %31
br label %302
302: ; preds = %366, %301
%303 = load i32, i32* %31
%304 = load i32*, i32** %13
%305 = getelementptr inbounds i32, i32* %304, i64 2
%306 = load i32, i32* %305
%307 = icmp slt i32 %303, %306
br i1 %307, label %308, label %369
308: ; preds = %302
store i32 0, i32* %29
br label %309
309: ; preds = %362, %308
%310 = load i32, i32* %29
%311 = load i32*, i32** %13
%312 = getelementptr inbounds i32, i32* %311, i64 0
%313 = load i32, i32* %312
%314 = icmp slt i32 %310, %313
br i1 %314, label %315, label %365
315: ; preds = %309
%316 = load i32, i32* %29
%317 = load i32, i32* %31
%318 = load i32*, i32** %13
%319 = getelementptr inbounds i32, i32* %318, i64 0
%320 = load i32, i32* %319
%321 = load i32*, i32** %13
%322 = getelementptr inbounds i32, i32* %321, i64 1
%323 = load i32, i32* %322
%324 = call i32 @mindex3(i32 %316, i32 0, i32 %317, i32 %320, i32 %323)
store i32 %324, i32* %32
%325 = load float*, float** %21
%326 = load i32, i32* %32
%327 = sext i32 %326 to i64
%328 = getelementptr inbounds float, float* %325, i64 %327
store float 0.000000e+00, float* %328
%329 = load float*, float** %22
%330 = load i32, i32* %32
%331 = sext i32 %330 to i64
%332 = getelementptr inbounds float, float* %329, i64 %331
store float 0.000000e+00, float* %332
%333 = load float*, float** %23
%334 = load i32, i32* %32
%335 = sext i32 %334 to i64
%336 = getelementptr inbounds float, float* %333, i64 %335
store float 0.000000e+00, float* %336
%337 = load i32, i32* %29
%338 = load i32*, i32** %13
%339 = getelementptr inbounds i32, i32* %338, i64 1
%340 = load i32, i32* %339
%341 = sub nsw i32 %340, 1
%342 = load i32, i32* %31
%343 = load i32*, i32** %13
%344 = getelementptr inbounds i32, i32* %343, i64 0
%345 = load i32, i32* %344
%346 = load i32*, i32** %13
%347 = getelementptr inbounds i32, i32* %346, i64 1
%348 = load i32, i32* %347
%349 = call i32 @mindex3(i32 %337, i32 %341, i32 %342, i32 %345, i32 %348)
store i32 %349, i32* %32
%350 = load float*, float** %21
%351 = load i32, i32* %32
%352 = sext i32 %351 to i64
%353 = getelementptr inbounds float, float* %350, i64 %352
store float 0.000000e+00, float* %353
%354 = load float*, float** %22
%355 = load i32, i32* %32
%356 = sext i32 %355 to i64
%357 = getelementptr inbounds float, float* %354, i64 %356
store float 0.000000e+00, float* %357
%358 = load float*, float** %23
%359 = load i32, i32* %32
%360 = sext i32 %359 to i64
%361 = getelementptr inbounds float, float* %358, i64 %360
store float 0.000000e+00, float* %361
br label %362
362: ; preds = %315
%363 = load i32, i32* %29
%364 = add nsw i32 %363, 1
store i32 %364, i32* %29
br label %309
365: ; preds = %309
br label %366
366: ; preds = %365
%367 = load i32, i32* %31
%368 = add nsw i32 %367, 1
store i32 %368, i32* %31
br label %302
369: ; preds = %302
store i32 0, i32* %31
br label %370
370: ; preds = %434, %369
%371 = load i32, i32* %31
%372 = load i32*, i32** %13
%373 = getelementptr inbounds i32, i32* %372, i64 2
%374 = load i32, i32* %373
%375 = icmp slt i32 %371, %374
br i1 %375, label %376, label %437
376: ; preds = %370
store i32 0, i32* %30
br label %377
377: ; preds = %430, %376
%378 = load i32, i32* %30
%379 = load i32*, i32** %13
%380 = getelementptr inbounds i32, i32* %379, i64 1
%381 = load i32, i32* %380
%382 = icmp slt i32 %378, %381
br i1 %382, label %383, label %433
383: ; preds = %377
%384 = load i32, i32* %30
%385 = load i32, i32* %31
%386 = load i32*, i32** %13
%387 = getelementptr inbounds i32, i32* %386, i64 0
%388 = load i32, i32* %387
%389 = load i32*, i32** %13
%390 = getelementptr inbounds i32, i32* %389, i64 1
%391 = load i32, i32* %390
%392 = call i32 @mindex3(i32 0, i32 %384, i32 %385, i32 %388, i32 %391)
store i32 %392, i32* %32
%393 = load float*, float** %21
%394 = load i32, i32* %32
%395 = sext i32 %394 to i64
%396 = getelementptr inbounds float, float* %393, i64 %395
store float 0.000000e+00, float* %396
%397 = load float*, float** %22
%398 = load i32, i32* %32
%399 = sext i32 %398 to i64
%400 = getelementptr inbounds float, float* %397, i64 %399
store float 0.000000e+00, float* %400
%401 = load float*, float** %23
%402 = load i32, i32* %32
%403 = sext i32 %402 to i64
%404 = getelementptr inbounds float, float* %401, i64 %403
store float 0.000000e+00, float* %404
%405 = load i32*, i32** %13
%406 = getelementptr inbounds i32, i32* %405, i64 0
%407 = load i32, i32* %406
%408 = sub nsw i32 %407, 1
%409 = load i32, i32* %30
%410 = load i32, i32* %31
%411 = load i32*, i32** %13
%412 = getelementptr inbounds i32, i32* %411, i64 0
%413 = load i32, i32* %412
%414 = load i32*, i32** %13
%415 = getelementptr inbounds i32, i32* %414, i64 1
%416 = load i32, i32* %415
%417 = call i32 @mindex3(i32 %408, i32 %409, i32 %410, i32 %413, i32 %416)
store i32 %417, i32* %32
%418 = load float*, float** %21
%419 = load i32, i32* %32
%420 = sext i32 %419 to i64
%421 = getelementptr inbounds float, float* %418, i64 %420
store float 0.000000e+00, float* %421
%422 = load float*, float** %22
%423 = load i32, i32* %32
%424 = sext i32 %423 to i64
%425 = getelementptr inbounds float, float* %422, i64 %424
store float 0.000000e+00, float* %425
%426 = load float*, float** %23
%427 = load i32, i32* %32
%428 = sext i32 %427 to i64
%429 = getelementptr inbounds float, float* %426, i64 %428
store float 0.000000e+00, float* %429
br label %430
430: ; preds = %383
%431 = load i32, i32* %30
%432 = add nsw i32 %431, 1
store i32 %432, i32* %30
br label %377
433: ; preds = %377
br label %434
434: ; preds = %433
%435 = load i32, i32* %31
%436 = add nsw i32 %435, 1
store i32 %436, i32* %31
br label %370
437: ; preds = %370
%438 = load i32, i32* %26
%439 = call float* @mallocf(i32 %438)
store float* %439, float** %25
%440 = load float*, float** %21
%441 = load i32*, i32** %13
%442 = load float*, float** %25
%443 = call i32 @gradient3Dx_float(float* %440, i32* %441, float* %442)
%444 = load float*, float** %22
%445 = load i32*, i32** %13
%446 = load float*, float** %24
%447 = call i32 @gradient3Dy_float(float* %444, i32* %445, float* %446)
store i32 0, i32* %28
br label %448
448: ; preds = %464, %437
%449 = load i32, i32* %28
%450 = load i32, i32* %26
%451 = icmp slt i32 %449, %450
br i1 %451, label %452, label %467
452: ; preds = %448
%453 = load float*, float** %24
%454 = load i32, i32* %28
%455 = sext i32 %454 to i64
%456 = getelementptr inbounds float, float* %453, i64 %455
%457 = load float, float* %456
%458 = load float*, float** %25
%459 = load i32, i32* %28
%460 = sext i32 %459 to i64
%461 = getelementptr inbounds float, float* %458, i64 %460
%462 = load float, float* %461
%463 = fadd float %462, %457
store float %463, float* %461
br label %464
464: ; preds = %452
%465 = load i32, i32* %28
%466 = add nsw i32 %465, 1
store i32 %466, i32* %28
br label %448
467: ; preds = %448
%468 = load float*, float** %23
%469 = load i32*, i32** %13
%470 = load float*, float** %24
%471 = call i32 @gradient3Dz_float(float* %468, i32* %469, float* %470)
store i32 0, i32* %28
br label %472
472: ; preds = %488, %467
%473 = load i32, i32* %28
%474 = load i32, i32* %26
%475 = icmp slt i32 %473, %474
br i1 %475, label %476, label %491
476: ; preds = %472
%477 = load float*, float** %24
%478 = load i32, i32* %28
%479 = sext i32 %478 to i64
%480 = getelementptr inbounds float, float* %477, i64 %479
%481 = load float, float* %480
%482 = load float*, float** %25
%483 = load i32, i32* %28
%484 = sext i32 %483 to i64
%485 = getelementptr inbounds float, float* %482, i64 %484
%486 = load float, float* %485
%487 = fadd float %486, %481
store float %487, float* %485
br label %488
488: ; preds = %476
%489 = load i32, i32* %28
%490 = add nsw i32 %489, 1
store i32 %490, i32* %28
br label %472
491: ; preds = %472
%492 = load float*, float** %21
%493 = call i32 @free(float* %492)
%494 = load float*, float** %22
%495 = call i32 @free(float* %494)
%496 = load float*, float** %23
%497 = call i32 @free(float* %496)
%498 = load float*, float** %24
%499 = call i32 @free(float* %498)
store i32 0, i32* %28
br label %500
500: ; preds = %523, %491
%501 = load i32, i32* %28
%502 = load i32, i32* %26
%503 = icmp slt i32 %501, %502
br i1 %503, label %504, label %526
504: ; preds = %500
%505 = load float*, float** %11
%506 = load i32, i32* %28
%507 = sext i32 %506 to i64
%508 = getelementptr inbounds float, float* %505, i64 %507
%509 = load float, float* %508
%510 = load float*, float** %25
%511 = load i32, i32* %28
%512 = sext i32 %511 to i64
%513 = getelementptr inbounds float, float* %510, i64 %512
%514 = load float, float* %513
%515 = load float, float* %27
%516 = call float @llvm.fmuladd.f32(float %514, float %515, float %509)
%517 = load float*, float** %12
%518 = load i32, i32* %28
%519 = sext i32 %518 to i64
%520 = getelementptr inbounds float, float* %517, i64 %519
%521 = load float, float* %520
%522 = fadd float %521, %516
store float %522, float* %520
br label %523
523: ; preds = %504
%524 = load i32, i32* %28
%525 = add nsw i32 %524, 1
store i32 %525, i32* %28
br label %500
526: ; preds = %500
%527 = load float*, float** %25
%528 = call i32 @free(float* %527)
ret void
}

LLVM IR (-O2):
define void @diffusion_scheme_3D_rotation_invariance(float* %0, float* nocapture %1, i32* %2, float* nocapture %3, float* nocapture %4, float* nocapture %5, float* nocapture %6, float* nocapture %7, float* nocapture %8, double %9) {
%11 = fptrunc double %9 to float
%12 = load i32, i32* %2
%13 = getelementptr inbounds i32, i32* %2, i64 1
%14 = load i32, i32* %13
%15 = mul nsw i32 %14, %12
%16 = getelementptr inbounds i32, i32* %2, i64 2
%17 = load i32, i32* %16
%18 = mul nsw i32 %15, %17
%19 = tail call float* @mallocf(i32 %18)
%20 = tail call float* @mallocf(i32 %18)
%21 = tail call float* @mallocf(i32 %18)
%22 = tail call float* @mallocf(i32 %18)
%23 = tail call i32 @gradient3Dx_float(float* %0, i32* %2, float* %22)
%24 = icmp sgt i32 %18, 0
br i1 %24, label %27, label %25
25: ; preds = %10
%26 = tail call i32 @gradient3Dy_float(float* %0, i32* %2, float* %22)
br label %76
27: ; preds = %10
%28 = zext i32 %18 to i64
br label %29
29: ; preds = %27, %29
%30 = phi i64 [ 0, %27 ], [ %47, %29 ]
%31 = getelementptr inbounds float, float* %3, i64 %30
%32 = load float, float* %31
%33 = getelementptr inbounds float, float* %22, i64 %30
%34 = load float, float* %33
%35 = fmul float %32, %34
%36 = getelementptr inbounds float, float* %19, i64 %30
store float %35, float* %36
%37 = getelementptr inbounds float, float* %4, i64 %30
%38 = load float, float* %37
%39 = load float, float* %33
%40 = fmul float %38, %39
%41 = getelementptr inbounds float, float* %20, i64 %30
store float %40, float* %41
%42 = getelementptr inbounds float, float* %5, i64 %30
%43 = load float, float* %42
%44 = load float, float* %33
%45 = fmul float %43, %44
%46 = getelementptr inbounds float, float* %21, i64 %30
store float %45, float* %46
%47 = add nuw nsw i64 %30, 1
%48 = icmp eq i64 %47, %28
br i1 %48, label %49, label %29
49: ; preds = %29
%50 = tail call i32 @gradient3Dy_float(float* %0, i32* %2, float* %22)
br i1 %24, label %51, label %76
51: ; preds = %49
%52 = zext i32 %18 to i64
br label %53
53: ; preds = %51, %53
%54 = phi i64 [ 0, %51 ], [ %74, %53 ]
%55 = getelementptr inbounds float, float* %4, i64 %54
%56 = load float, float* %55
%57 = getelementptr inbounds float, float* %22, i64 %54
%58 = load float, float* %57
%59 = getelementptr inbounds float, float* %19, i64 %54
%60 = load float, float* %59
%61 = tail call float @llvm.fmuladd.f32(float %56, float %58, float %60)
store float %61, float* %59
%62 = getelementptr inbounds float, float* %6, i64 %54
%63 = load float, float* %62
%64 = load float, float* %57
%65 = getelementptr inbounds float, float* %20, i64 %54
%66 = load float, float* %65
%67 = tail call float @llvm.fmuladd.f32(float %63, float %64, float %66)
store float %67, float* %65
%68 = getelementptr inbounds float, float* %7, i64 %54
%69 = load float, float* %68
%70 = load float, float* %57
%71 = getelementptr inbounds float, float* %21, i64 %54
%72 = load float, float* %71
%73 = tail call float @llvm.fmuladd.f32(float %69, float %70, float %72)
store float %73, float* %71
%74 = add nuw nsw i64 %54, 1
%75 = icmp eq i64 %74, %52
br i1 %75, label %78, label %53
76: ; preds = %25, %49
%77 = tail call i32 @gradient3Dz_float(float* %0, i32* %2, float* %22)
br label %82
78: ; preds = %53
%79 = tail call i32 @gradient3Dz_float(float* %0, i32* %2, float* %22)
br i1 %24, label %80, label %82
80: ; preds = %78
%81 = zext i32 %18 to i64
br label %87
82: ; preds = %87, %76, %78
%83 = load i32, i32* %13
%84 = icmp sgt i32 %83, 0
br i1 %84, label %85, label %115
85: ; preds = %82
%86 = load i32, i32* %2
br label %110
87: ; preds = %80, %87
%88 = phi i64 [ 0, %80 ], [ %108, %87 ]
%89 = getelementptr inbounds float, float* %5, i64 %88
%90 = load float, float* %89
%91 = getelementptr inbounds float, float* %22, i64 %88
%92 = load float, float* %91
%93 = getelementptr inbounds float, float* %19, i64 %88
%94 = load float, float* %93
%95 = tail call float @llvm.fmuladd.f32(float %90, float %92, float %94)
store float %95, float* %93
%96 = getelementptr inbounds float, float* %7, i64 %88
%97 = load float, float* %96
%98 = load float, float* %91
%99 = getelementptr inbounds float, float* %20, i64 %88
%100 = load float, float* %99
%101 = tail call float @llvm.fmuladd.f32(float %97, float %98, float %100)
store float %101, float* %99
%102 = getelementptr inbounds float, float* %8, i64 %88
%103 = load float, float* %102
%104 = load float, float* %91
%105 = getelementptr inbounds float, float* %21, i64 %88
%106 = load float, float* %105
%107 = tail call float @llvm.fmuladd.f32(float %103, float %104, float %106)
store float %107, float* %105
%108 = add nuw nsw i64 %88, 1
%109 = icmp eq i64 %108, %81
br i1 %109, label %82, label %87
110: ; preds = %85, %142
%111 = phi i32 [ %143, %142 ], [ %83, %85 ]
%112 = phi i32 [ %144, %142 ], [ %86, %85 ]
%113 = phi i32 [ %145, %142 ], [ 0, %85 ]
%114 = icmp sgt i32 %112, 0
br i1 %114, label %120, label %142
115: ; preds = %142, %82
%116 = load i32, i32* %16
%117 = icmp sgt i32 %116, 0
br i1 %117, label %118, label %215
118: ; preds = %115
%119 = load i32, i32* %2
br label %147
120: ; preds = %110, %120
%121 = phi i32 [ %141, %120 ], [ %111, %110 ]
%122 = phi i32 [ %139, %120 ], [ %112, %110 ]
%123 = phi i32 [ %138, %120 ], [ 0, %110 ]
%124 = tail call i32 @mindex3(i32 %123, i32 %113, i32 0, i32 %122, i32 %121)
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds float, float* %19, i64 %125
store float 0.000000e+00, float* %126
%127 = getelementptr inbounds float, float* %20, i64 %125
store float 0.000000e+00, float* %127
%128 = getelementptr inbounds float, float* %21, i64 %125
store float 0.000000e+00, float* %128
%129 = load i32, i32* %16
%130 = add nsw i32 %129, -1
%131 = load i32, i32* %2
%132 = load i32, i32* %13
%133 = tail call i32 @mindex3(i32 %123, i32 %113, i32 %130, i32 %131, i32 %132)
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds float, float* %19, i64 %134
store float 0.000000e+00, float* %135
%136 = getelementptr inbounds float, float* %20, i64 %134
store float 0.000000e+00, float* %136
%137 = getelementptr inbounds float, float* %21, i64 %134
store float 0.000000e+00, float* %137
%138 = add nuw nsw i32 %123, 1
%139 = load i32, i32* %2
%140 = icmp slt i32 %138, %139
%141 = load i32, i32* %13
br i1 %140, label %120, label %142
142: ; preds = %120, %110
%143 = phi i32 [ %111, %110 ], [ %141, %120 ]
%144 = phi i32 [ %112, %110 ], [ %139, %120 ]
%145 = add nuw nsw i32 %113, 1
%146 = icmp slt i32 %145, %143
br i1 %146, label %110, label %115
147: ; preds = %118, %178
%148 = phi i32 [ %179, %178 ], [ %116, %118 ]
%149 = phi i32 [ %180, %178 ], [ %119, %118 ]
%150 = phi i32 [ %181, %178 ], [ 0, %118 ]
%151 = icmp sgt i32 %149, 0
br i1 %151, label %156, label %178
152: ; preds = %178
%153 = icmp sgt i32 %179, 0
br i1 %153, label %154, label %215
154: ; preds = %152
%155 = load i32, i32* %13
br label %183
156: ; preds = %147, %156
%157 = phi i32 [ %174, %156 ], [ %149, %147 ]
%158 = phi i32 [ %173, %156 ], [ 0, %147 ]
%159 = load i32, i32* %13
%160 = tail call i32 @mindex3(i32 %158, i32 0, i32 %150, i32 %157, i32 %159)
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds float, float* %19, i64 %161
store float 0.000000e+00, float* %162
%163 = getelementptr inbounds float, float* %20, i64 %161
store float 0.000000e+00, float* %163
%164 = getelementptr inbounds float, float* %21, i64 %161
store float 0.000000e+00, float* %164
%165 = load i32, i32* %13
%166 = add nsw i32 %165, -1
%167 = load i32, i32* %2
%168 = tail call i32 @mindex3(i32 %158, i32 %166, i32 %150, i32 %167, i32 %165)
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds float, float* %19, i64 %169
store float 0.000000e+00, float* %170
%171 = getelementptr inbounds float, float* %20, i64 %169
store float 0.000000e+00, float* %171
%172 = getelementptr inbounds float, float* %21, i64 %169
store float 0.000000e+00, float* %172
%173 = add nuw nsw i32 %158, 1
%174 = load i32, i32* %2
%175 = icmp slt i32 %173, %174
br i1 %175, label %156, label %176
176: ; preds = %156
%177 = load i32, i32* %16
br label %178
178: ; preds = %176, %147
%179 = phi i32 [ %177, %176 ], [ %148, %147 ]
%180 = phi i32 [ %174, %176 ], [ %149, %147 ]
%181 = add nuw nsw i32 %150, 1
%182 = icmp slt i32 %181, %179
br i1 %182, label %147, label %152
183: ; preds = %154, %210
%184 = phi i32 [ %211, %210 ], [ %179, %154 ]
%185 = phi i32 [ %212, %210 ], [ %155, %154 ]
%186 = phi i32 [ %213, %210 ], [ 0, %154 ]
%187 = icmp sgt i32 %185, 0
br i1 %187, label %188, label %210
188: ; preds = %183, %188
%189 = phi i32 [ %206, %188 ], [ %185, %183 ]
%190 = phi i32 [ %205, %188 ], [ 0, %183 ]
%191 = load i32, i32* %2
%192 = tail call i32 @mindex3(i32 0, i32 %190, i32 %186, i32 %191, i32 %189)
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds float, float* %19, i64 %193
store float 0.000000e+00, float* %194
%195 = getelementptr inbounds float, float* %20, i64 %193
store float 0.000000e+00, float* %195
%196 = getelementptr inbounds float, float* %21, i64 %193
store float 0.000000e+00, float* %196
%197 = load i32, i32* %2
%198 = add nsw i32 %197, -1
%199 = load i32, i32* %13
%200 = tail call i32 @mindex3(i32 %198, i32 %190, i32 %186, i32 %197, i32 %199)
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds float, float* %19, i64 %201
store float 0.000000e+00, float* %202
%203 = getelementptr inbounds float, float* %20, i64 %201
store float 0.000000e+00, float* %203
%204 = getelementptr inbounds float, float* %21, i64 %201
store float 0.000000e+00, float* %204
%205 = add nuw nsw i32 %190, 1
%206 = load i32, i32* %13
%207 = icmp slt i32 %205, %206
br i1 %207, label %188, label %208
208: ; preds = %188
%209 = load i32, i32* %16
br label %210
210: ; preds = %208, %183
%211 = phi i32 [ %209, %208 ], [ %184, %183 ]
%212 = phi i32 [ %206, %208 ], [ %185, %183 ]
%213 = add nuw nsw i32 %186, 1
%214 = icmp slt i32 %213, %211
br i1 %214, label %183, label %215
215: ; preds = %210, %115, %152
%216 = tail call float* @mallocf(i32 %18)
%217 = tail call i32 @gradient3Dx_float(float* %19, i32* %2, float* %216)
%218 = tail call i32 @gradient3Dy_float(float* %20, i32* %2, float* %22)
br i1 %24, label %221, label %219
219: ; preds = %215
%220 = tail call i32 @gradient3Dz_float(float* %21, i32* %2, float* %22)
br label %475
221: ; preds = %215
%222 = zext i32 %18 to i64
%223 = icmp ult i32 %18, 8
br i1 %223, label %300, label %224
224: ; preds = %221
%225 = getelementptr float, float* %216, i64 %222
%226 = getelementptr float, float* %22, i64 %222
%227 = icmp ult float* %216, %226
%228 = icmp ult float* %22, %225
%229 = and i1 %227, %228
br i1 %229, label %300, label %230
230: ; preds = %224
%231 = and i64 %222, 4294967288
%232 = add nsw i64 %231, -8
%233 = lshr exact i64 %232, 3
%234 = add nuw nsw i64 %233, 1
%235 = and i64 %234, 1
%236 = icmp eq i64 %232, 0
br i1 %236, label %278, label %237
237: ; preds = %230
%238 = and i64 %234, 4611686018427387902
br label %239
239: ; preds = %239, %237
%240 = phi i64 [ 0, %237 ], [ %275, %239 ]
%241 = phi i64 [ 0, %237 ], [ %276, %239 ]
%242 = getelementptr inbounds float, float* %22, i64 %240
%243 = bitcast float* %242 to <4 x float>*
%244 = load <4 x float>, <4 x float>* %243
%245 = getelementptr inbounds float, float* %242, i64 4
%246 = bitcast float* %245 to <4 x float>*
%247 = load <4 x float>, <4 x float>* %246
%248 = getelementptr inbounds float, float* %216, i64 %240
%249 = bitcast float* %248 to <4 x float>*
%250 = load <4 x float>, <4 x float>* %249
%251 = getelementptr inbounds float, float* %248, i64 4
%252 = bitcast float* %251 to <4 x float>*
%253 = load <4 x float>, <4 x float>* %252
%254 = fadd <4 x float> %244, %250
%255 = fadd <4 x float> %247, %253
%256 = bitcast float* %248 to <4 x float>*
store <4 x float> %254, <4 x float>* %256
%257 = bitcast float* %251 to <4 x float>*
store <4 x float> %255, <4 x float>* %257
%258 = or i64 %240, 8
%259 = getelementptr inbounds float, float* %22, i64 %258
%260 = bitcast float* %259 to <4 x float>*
%261 = load <4 x float>, <4 x float>* %260
%262 = getelementptr inbounds float, float* %259, i64 4
%263 = bitcast float* %262 to <4 x float>*
%264 = load <4 x float>, <4 x float>* %263
%265 = getelementptr inbounds float, float* %216, i64 %258
%266 = bitcast float* %265 to <4 x float>*
%267 = load <4 x float>, <4 x float>* %266
%268 = getelementptr inbounds float, float* %265, i64 4
%269 = bitcast float* %268 to <4 x float>*
%270 = load <4 x float>, <4 x float>* %269
%271 = fadd <4 x float> %261, %267
%272 = fadd <4 x float> %264, %270
%273 = bitcast float* %265 to <4 x float>*
store <4 x float> %271, <4 x float>* %273
%274 = bitcast float* %268 to <4 x float>*
store <4 x float> %272, <4 x float>* %274
%275 = add nuw i64 %240, 16
%276 = add i64 %241, 2
%277 = icmp eq i64 %276, %238
br i1 %277, label %278, label %239
278: ; preds = %239, %230
%279 = phi i64 [ 0, %230 ], [ %275, %239 ]
%280 = icmp eq i64 %235, 0
br i1 %280, label %298, label %281
281: ; preds = %278
%282 = getelementptr inbounds float, float* %22, i64 %279
%283 = bitcast float* %282 to <4 x float>*
%284 = load <4 x float>, <4 x float>* %283
%285 = getelementptr inbounds float, float* %282, i64 4
%286 = bitcast float* %285 to <4 x float>*
%287 = load <4 x float>, <4 x float>* %286
%288 = getelementptr inbounds float, float* %216, i64 %279
%289 = bitcast float* %288 to <4 x float>*
%290 = load <4 x float>, <4 x float>* %289
%291 = getelementptr inbounds float, float* %288, i64 4
%292 = bitcast float* %291 to <4 x float>*
%293 = load <4 x float>, <4 x float>* %292
%294 = fadd <4 x float> %284, %290
%295 = fadd <4 x float> %287, %293
%296 = bitcast float* %288 to <4 x float>*
store <4 x float> %294, <4 x float>* %296
%297 = bitcast float* %291 to <4 x float>*
store <4 x float> %295, <4 x float>* %297
br label %298
298: ; preds = %278, %281
%299 = icmp eq i64 %231, %222
br i1 %299, label %347, label %300
300: ; preds = %224, %221, %298
%301 = phi i64 [ 0, %224 ], [ 0, %221 ], [ %231, %298 ]
%302 = xor i64 %301, -1
%303 = add nsw i64 %302, %222
%304 = and i64 %222, 3
%305 = icmp eq i64 %304, 0
br i1 %305, label %317, label %306
306: ; preds = %300, %306
%307 = phi i64 [ %314, %306 ], [ %301, %300 ]
%308 = phi i64 [ %315, %306 ], [ 0, %300 ]
%309 = getelementptr inbounds float, float* %22, i64 %307
%310 = load float, float* %309
%311 = getelementptr inbounds float, float* %216, i64 %307
%312 = load float, float* %311
%313 = fadd float %310, %312
store float %313, float* %311
%314 = add nuw nsw i64 %307, 1
%315 = add i64 %308, 1
%316 = icmp eq i64 %315, %304
br i1 %316, label %317, label %306
317: ; preds = %306, %300
%318 = phi i64 [ %301, %300 ], [ %314, %306 ]
%319 = icmp ult i64 %303, 3
br i1 %319, label %347, label %320
320: ; preds = %317, %320
%321 = phi i64 [ %345, %320 ], [ %318, %317 ]
%322 = getelementptr inbounds float, float* %22, i64 %321
%323 = load float, float* %322
%324 = getelementptr inbounds float, float* %216, i64 %321
%325 = load float, float* %324
%326 = fadd float %323, %325
store float %326, float* %324
%327 = add nuw nsw i64 %321, 1
%328 = getelementptr inbounds float, float* %22, i64 %327
%329 = load float, float* %328
%330 = getelementptr inbounds float, float* %216, i64 %327
%331 = load float, float* %330
%332 = fadd float %329, %331
store float %332, float* %330
%333 = add nuw nsw i64 %321, 2
%334 = getelementptr inbounds float, float* %22, i64 %333
%335 = load float, float* %334
%336 = getelementptr inbounds float, float* %216, i64 %333
%337 = load float, float* %336
%338 = fadd float %335, %337
store float %338, float* %336
%339 = add nuw nsw i64 %321, 3
%340 = getelementptr inbounds float, float* %22, i64 %339
%341 = load float, float* %340
%342 = getelementptr inbounds float, float* %216, i64 %339
%343 = load float, float* %342
%344 = fadd float %341, %343
store float %344, float* %342
%345 = add nuw nsw i64 %321, 4
%346 = icmp eq i64 %345, %222
br i1 %346, label %347, label %320
347: ; preds = %317, %320, %298
%348 = tail call i32 @gradient3Dz_float(float* %21, i32* %2, float* %22)
br i1 %24, label %349, label %570
349: ; preds = %347
%350 = zext i32 %18 to i64
%351 = icmp ult i32 %18, 8
br i1 %351, label %428, label %352
352: ; preds = %349
%353 = getelementptr float, float* %216, i64 %222
%354 = getelementptr float, float* %22, i64 %222
%355 = icmp ult float* %216, %354
%356 = icmp ult float* %22, %353
%357 = and i1 %355, %356
br i1 %357, label %428, label %358
358: ; preds = %352
%359 = and i64 %222, 4294967288
%360 = add nsw i64 %359, -8
%361 = lshr exact i64 %360, 3
%362 = add nuw nsw i64 %361, 1
%363 = and i64 %362, 1
%364 = icmp eq i64 %360, 0
br i1 %364, label %406, label %365
365: ; preds = %358
%366 = and i64 %362, 4611686018427387902
br label %367
367: ; preds = %367, %365
%368 = phi i64 [ 0, %365 ], [ %403, %367 ]
%369 = phi i64 [ 0, %365 ], [ %404, %367 ]
%370 = getelementptr inbounds float, float* %22, i64 %368
%371 = bitcast float* %370 to <4 x float>*
%372 = load <4 x float>, <4 x float>* %371
%373 = getelementptr inbounds float, float* %370, i64 4
%374 = bitcast float* %373 to <4 x float>*
%375 = load <4 x float>, <4 x float>* %374
%376 = getelementptr inbounds float, float* %216, i64 %368
%377 = bitcast float* %376 to <4 x float>*
%378 = load <4 x float>, <4 x float>* %377
%379 = getelementptr inbounds float, float* %376, i64 4
%380 = bitcast float* %379 to <4 x float>*
%381 = load <4 x float>, <4 x float>* %380
%382 = fadd <4 x float> %372, %378
%383 = fadd <4 x float> %375, %381
%384 = bitcast float* %376 to <4 x float>*
store <4 x float> %382, <4 x float>* %384
%385 = bitcast float* %379 to <4 x float>*
store <4 x float> %383, <4 x float>* %385
%386 = or i64 %368, 8
%387 = getelementptr inbounds float, float* %22, i64 %386
%388 = bitcast float* %387 to <4 x float>*
%389 = load <4 x float>, <4 x float>* %388
%390 = getelementptr inbounds float, float* %387, i64 4
%391 = bitcast float* %390 to <4 x float>*
%392 = load <4 x float>, <4 x float>* %391
%393 = getelementptr inbounds float, float* %216, i64 %386
%394 = bitcast float* %393 to <4 x float>*
%395 = load <4 x float>, <4 x float>* %394
%396 = getelementptr inbounds float, float* %393, i64 4
%397 = bitcast float* %396 to <4 x float>*
%398 = load <4 x float>, <4 x float>* %397
%399 = fadd <4 x float> %389, %395
%400 = fadd <4 x float> %392, %398
%401 = bitcast float* %393 to <4 x float>*
store <4 x float> %399, <4 x float>* %401
%402 = bitcast float* %396 to <4 x float>*
store <4 x float> %400, <4 x float>* %402
%403 = add nuw i64 %368, 16
%404 = add i64 %369, 2
%405 = icmp eq i64 %404, %366
br i1 %405, label %406, label %367
406: ; preds = %367, %358
%407 = phi i64 [ 0, %358 ], [ %403, %367 ]
%408 = icmp eq i64 %363, 0
br i1 %408, label %426, label %409
409: ; preds = %406
%410 = getelementptr inbounds float, float* %22, i64 %407
%411 = bitcast float* %410 to <4 x float>*
%412 = load <4 x float>, <4 x float>* %411
%413 = getelementptr inbounds float, float* %410, i64 4
%414 = bitcast float* %413 to <4 x float>*
%415 = load <4 x float>, <4 x float>* %414
%416 = getelementptr inbounds float, float* %216, i64 %407
%417 = bitcast float* %416 to <4 x float>*
%418 = load <4 x float>, <4 x float>* %417
%419 = getelementptr inbounds float, float* %416, i64 4
%420 = bitcast float* %419 to <4 x float>*
%421 = load <4 x float>, <4 x float>* %420
%422 = fadd <4 x float> %412, %418
%423 = fadd <4 x float> %415, %421
%424 = bitcast float* %416 to <4 x float>*
store <4 x float> %422, <4 x float>* %424
%425 = bitcast float* %419 to <4 x float>*
store <4 x float> %423, <4 x float>* %425
br label %426
426: ; preds = %406, %409
%427 = icmp eq i64 %359, %222
br i1 %427, label %475, label %428
428: ; preds = %352, %349, %426
%429 = phi i64 [ 0, %352 ], [ 0, %349 ], [ %359, %426 ]
%430 = xor i64 %429, -1
%431 = add nsw i64 %430, %222
%432 = and i64 %222, 3
%433 = icmp eq i64 %432, 0
br i1 %433, label %445, label %434
434: ; preds = %428, %434
%435 = phi i64 [ %442, %434 ], [ %429, %428 ]
%436 = phi i64 [ %443, %434 ], [ 0, %428 ]
%437 = getelementptr inbounds float, float* %22, i64 %435
%438 = load float, float* %437
%439 = getelementptr inbounds float, float* %216, i64 %435
%440 = load float, float* %439
%441 = fadd float %438, %440
store float %441, float* %439
%442 = add nuw nsw i64 %435, 1
%443 = add i64 %436, 1
%444 = icmp eq i64 %443, %432
br i1 %444, label %445, label %434
445: ; preds = %434, %428
%446 = phi i64 [ %429, %428 ], [ %442, %434 ]
%447 = icmp ult i64 %431, 3
br i1 %447, label %475, label %448
448: ; preds = %445, %448
%449 = phi i64 [ %473, %448 ], [ %446, %445 ]
%450 = getelementptr inbounds float, float* %22, i64 %449
%451 = load float, float* %450
%452 = getelementptr inbounds float, float* %216, i64 %449
%453 = load float, float* %452
%454 = fadd float %451, %453
store float %454, float* %452
%455 = add nuw nsw i64 %449, 1
%456 = getelementptr inbounds float, float* %22, i64 %455
%457 = load float, float* %456
%458 = getelementptr inbounds float, float* %216, i64 %455
%459 = load float, float* %458
%460 = fadd float %457, %459
store float %460, float* %458
%461 = add nuw nsw i64 %449, 2
%462 = getelementptr inbounds float, float* %22, i64 %461
%463 = load float, float* %462
%464 = getelementptr inbounds float, float* %216, i64 %461
%465 = load float, float* %464
%466 = fadd float %463, %465
store float %466, float* %464
%467 = add nuw nsw i64 %449, 3
%468 = getelementptr inbounds float, float* %22, i64 %467
%469 = load float, float* %468
%470 = getelementptr inbounds float, float* %216, i64 %467
%471 = load float, float* %470
%472 = fadd float %469, %471
store float %472, float* %470
%473 = add nuw nsw i64 %449, 4
%474 = icmp eq i64 %473, %350
br i1 %474, label %475, label %448
475: ; preds = %445, %448, %426, %219
%476 = tail call i32 @free(float* %19)
%477 = tail call i32 @free(float* %20)
%478 = tail call i32 @free(float* %21)
%479 = tail call i32 @free(float* %22)
br i1 %24, label %480, label %575
480: ; preds = %475
%481 = zext i32 %18 to i64
%482 = icmp ult i32 %18, 8
br i1 %482, label %530, label %483
483: ; preds = %480
%484 = getelementptr float, float* %1, i64 %481
%485 = getelementptr float, float* %0, i64 %481
%486 = getelementptr float, float* %216, i64 %481
%487 = icmp ugt float* %485, %1
%488 = icmp ugt float* %484, %0
%489 = and i1 %487, %488
%490 = icmp ugt float* %486, %1
%491 = icmp ult float* %216, %484
%492 = and i1 %490, %491
%493 = or i1 %489, %492
br i1 %493, label %530, label %494
494: ; preds = %483
%495 = and i64 %481, 4294967288
%496 = insertelement <4 x float> poison, float %11, i64 0
%497 = shufflevector <4 x float> %496, <4 x float> poison, <4 x i32> zeroinitializer
%498 = insertelement <4 x float> poison, float %11, i64 0
%499 = shufflevector <4 x float> %498, <4 x float> poison, <4 x i32> zeroinitializer
br label %500
500: ; preds = %500, %494
%501 = phi i64 [ 0, %494 ], [ %526, %500 ]
%502 = getelementptr inbounds float, float* %0, i64 %501
%503 = bitcast float* %502 to <4 x float>*
%504 = load <4 x float>, <4 x float>* %503
%505 = getelementptr inbounds float, float* %502, i64 4
%506 = bitcast float* %505 to <4 x float>*
%507 = load <4 x float>, <4 x float>* %506
%508 = getelementptr inbounds float, float* %216, i64 %501
%509 = bitcast float* %508 to <4 x float>*
%510 = load <4 x float>, <4 x float>* %509
%511 = getelementptr inbounds float, float* %508, i64 4
%512 = bitcast float* %511 to <4 x float>*
%513 = load <4 x float>, <4 x float>* %512
%514 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %510, <4 x float> %497, <4 x float> %504)
%515 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %513, <4 x float> %499, <4 x float> %507)
%516 = getelementptr inbounds float, float* %1, i64 %501
%517 = bitcast float* %516 to <4 x float>*
%518 = load <4 x float>, <4 x float>* %517
%519 = getelementptr inbounds float, float* %516, i64 4
%520 = bitcast float* %519 to <4 x float>*
%521 = load <4 x float>, <4 x float>* %520
%522 = fadd <4 x float> %518, %514
%523 = fadd <4 x float> %521, %515
%524 = bitcast float* %516 to <4 x float>*
store <4 x float> %522, <4 x float>* %524
%525 = bitcast float* %519 to <4 x float>*
store <4 x float> %523, <4 x float>* %525
%526 = add nuw i64 %501, 8
%527 = icmp eq i64 %526, %495
br i1 %527, label %528, label %500
528: ; preds = %500
%529 = icmp eq i64 %495, %481
br i1 %529, label %575, label %530
530: ; preds = %483, %480, %528
%531 = phi i64 [ 0, %483 ], [ 0, %480 ], [ %495, %528 ]
%532 = xor i64 %531, -1
%533 = and i64 %481, 1
%534 = icmp eq i64 %533, 0
br i1 %534, label %545, label %535
535: ; preds = %530
%536 = getelementptr inbounds float, float* %0, i64 %531
%537 = load float, float* %536
%538 = getelementptr inbounds float, float* %216, i64 %531
%539 = load float, float* %538
%540 = tail call float @llvm.fmuladd.f32(float %539, float %11, float %537)
%541 = getelementptr inbounds float, float* %1, i64 %531
%542 = load float, float* %541
%543 = fadd float %542, %540
store float %543, float* %541
%544 = or i64 %531, 1
br label %545
545: ; preds = %535, %530
%546 = phi i64 [ %531, %530 ], [ %544, %535 ]
%547 = sub nsw i64 0, %481
%548 = icmp eq i64 %532, %547
br i1 %548, label %575, label %549
549: ; preds = %545, %549
%550 = phi i64 [ %568, %549 ], [ %546, %545 ]
%551 = getelementptr inbounds float, float* %0, i64 %550
%552 = load float, float* %551
%553 = getelementptr inbounds float, float* %216, i64 %550
%554 = load float, float* %553
%555 = tail call float @llvm.fmuladd.f32(float %554, float %11, float %552)
%556 = getelementptr inbounds float, float* %1, i64 %550
%557 = load float, float* %556
%558 = fadd float %557, %555
store float %558, float* %556
%559 = add nuw nsw i64 %550, 1
%560 = getelementptr inbounds float, float* %0, i64 %559
%561 = load float, float* %560
%562 = getelementptr inbounds float, float* %216, i64 %559
%563 = load float, float* %562
%564 = tail call float @llvm.fmuladd.f32(float %563, float %11, float %561)
%565 = getelementptr inbounds float, float* %1, i64 %559
%566 = load float, float* %565
%567 = fadd float %566, %564
store float %567, float* %565
%568 = add nuw nsw i64 %550, 2
%569 = icmp eq i64 %568, %481
br i1 %569, label %575, label %549
570: ; preds = %347
%571 = tail call i32 @free(float* %19)
%572 = tail call i32 @free(float* %20)
%573 = tail call i32 @free(float* %21)
%574 = tail call i32 @free(float* %22)
br label %575
575: ; preds = %545, %549, %528, %570, %475
%576 = tail call i32 @free(float* %216)
ret void
}