void adjbioD7_3d(HHH, HHL, HLH, HLL, LHH, LHL, LLH, LLL, outvector, xlength,
                 ylength, zlength, ifnotAllskip) float *HLL,
    *HLH, *HHL, *HHH;
float *LLL, *LLH, *LHL, *LHH;
float *outvector;
int xlength, ylength;
int ifnotAllskip;
{
  float ix0 = 0.2;
  float ix1 = -0.357142857136;
  float ix2 = 0.21;
  float iX0, iX1, iX2, iX3;
  int pairity;
  float Norm;
  int dim;
  dim = (xlength > 1) + (ylength > 1) + (zlength > 1);
  if (ifnotAllskip) {
    iX3 = ix2;
    iX2 = 1.0 / (ix2 * ix1);
    iX1 = 1.0 / (ix1 * ix0);
    iX0 = 1.0 / ix0;
  } else {
    iX3 = ix1;
    iX2 = 1.0;
    iX1 = 1.0 / (ix1 * ix0);
    iX0 = 1.0 / ix0;
  }
  iX3 = 1 / iX3;
  if (dim == 3)
    Norm = 1.0 / (ix0 * ix1 * ix2);
  if (dim == 2)
    Norm = 1.0;
  if (dim == 1)
    Norm = (ix0 * ix1 * ix2);
  if (xlength > 1)
    Norm /= (0.98);
  if (ylength > 1)
    Norm /= (0.98);
  if (zlength > 1)
    Norm /= (0.98);
  if (dim == 0) {
    Norm = 1.0;
    iX0 = 1.0;
    iX1 = 1.0;
    iX2 = 1.0;
    iX3 = 1.0;
  }
  if (ifnotAllskip) {
    bioR1__3d(HHH, HHL, HLH, HLL, LHH, LHL, LLH, LLL, outvector, xlength,
              ylength, zlength, iX3, Norm);
    pairity = 1;
    boundarymultiply(outvector, xlength, ylength, zlength, 2.0);
    bio_3d_postmult(outvector, xlength, ylength, zlength, iX2, pairity);
  } else {
    bioR1_3dskip(LLL, outvector, xlength, ylength, zlength, iX3, Norm);
    boundarymultiply(outvector, xlength, ylength, zlength, 2.0);
  }
  pairity = 0;
  bio_3d_postmult(outvector, xlength, ylength, zlength, iX1, pairity);
  pairity = 1;
  bio_3d_postmult(outvector, xlength, ylength, zlength, iX0, pairity);
  boundarymultiply(outvector, xlength, ylength, zlength, 0.5);
}


x86 assembly (clang, -O0):
<adjbioD7_3d>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %rbx
sub    $0x88,%rsp
mov    0x40(%rbp),%eax
mov    0x38(%rbp),%eax
mov    0x30(%rbp),%eax
mov    0x28(%rbp),%eax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x20(%rbp)
mov    %rsi,-0x28(%rbp)
mov    %rdx,-0x30(%rbp)
mov    %rcx,-0x38(%rbp)
mov    %r8,-0x40(%rbp)
mov    %r9,-0x48(%rbp)
movss  0xe80(%rip),%xmm0
movss  %xmm0,-0x4c(%rbp)
movss  0xe6f(%rip),%xmm0
movss  %xmm0,-0x50(%rbp)
movss  0xe5e(%rip),%xmm0
movss  %xmm0,-0x54(%rbp)
cmpl   $0x1,0x28(%rbp)
setg   %al
and    $0x1,%al
movzbl %al,%eax
cmpl   $0x1,0x30(%rbp)
setg   %cl
and    $0x1,%cl
movzbl %cl,%ecx
add    %ecx,%eax
cmpl   $0x1,0x38(%rbp)
setg   %cl
and    $0x1,%cl
movzbl %cl,%ecx
add    %ecx,%eax
mov    %eax,-0x70(%rbp)
cmpl   $0x0,0x40(%rbp)
je     1251 <adjbioD7_3d+0x111>
movss  -0x54(%rbp),%xmm0
movss  %xmm0,-0x64(%rbp)
movss  -0x54(%rbp),%xmm0
mulss  -0x50(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xe12(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x50(%rbp),%xmm0
mulss  -0x4c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xdef(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x4c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xdd1(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x58(%rbp)
jmp    12a9 <adjbioD7_3d+0x169>
movss  -0x50(%rbp),%xmm0
movss  %xmm0,-0x64(%rbp)
movss  0xda9(%rip),%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x50(%rbp),%xmm0
mulss  -0x4c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd92(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x4c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd74(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x58(%rbp)
movss  0xd5b(%rip),%xmm0
divss  -0x64(%rbp),%xmm0
movss  %xmm0,-0x64(%rbp)
cmpl   $0x3,-0x70(%rbp)
jne    12ed <adjbioD7_3d+0x1ad>
movss  -0x4c(%rbp),%xmm0
mulss  -0x50(%rbp),%xmm0
mulss  -0x54(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd30(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x6c(%rbp)
cmpl   $0x2,-0x70(%rbp)
jne    1304 <adjbioD7_3d+0x1c4>
movss  0xd0d(%rip),%xmm0
movss  %xmm0,-0x6c(%rbp)
cmpl   $0x1,-0x70(%rbp)
jne    1322 <adjbioD7_3d+0x1e2>
movss  -0x4c(%rbp),%xmm0
mulss  -0x50(%rbp),%xmm0
mulss  -0x54(%rbp),%xmm0
movss  %xmm0,-0x6c(%rbp)
cmpl   $0x1,0x28(%rbp)
jle    134a <adjbioD7_3d+0x20a>
movss  -0x6c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xcdb(%rip),%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x6c(%rbp)
cmpl   $0x1,0x30(%rbp)
jle    1372 <adjbioD7_3d+0x232>
movss  -0x6c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xcb3(%rip),%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x6c(%rbp)
cmpl   $0x1,0x38(%rbp)
jle    139a <adjbioD7_3d+0x25a>
movss  -0x6c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xc8b(%rip),%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x6c(%rbp)
cmpl   $0x0,-0x70(%rbp)
jne    13e5 <adjbioD7_3d+0x2a5>
movss  0xc60(%rip),%xmm0
movss  %xmm0,-0x6c(%rbp)
movss  0xc53(%rip),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  0xc46(%rip),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  0xc39(%rip),%xmm0
movss  %xmm0,-0x60(%rbp)
movss  0xc2c(%rip),%xmm0
movss  %xmm0,-0x64(%rbp)
cmpl   $0x0,0x40(%rbp)
je     149c <adjbioD7_3d+0x35c>
mov    -0x20(%rbp),%rdi
mov    -0x28(%rbp),%rsi
mov    -0x30(%rbp),%rdx
mov    -0x38(%rbp),%rcx
mov    -0x40(%rbp),%r8
mov    -0x48(%rbp),%r9
mov    0x10(%rbp),%r15
mov    0x18(%rbp),%r14
mov    0x20(%rbp),%rbx
mov    0x28(%rbp),%r11d
mov    0x30(%rbp),%r10d
mov    0x38(%rbp),%eax
movss  -0x64(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x6c(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,(%rsp)
mov    %r14,0x8(%rsp)
mov    %rbx,0x10(%rsp)
mov    %r11d,0x18(%rsp)
mov    %r10d,0x20(%rsp)
mov    %eax,0x28(%rsp)
mov    $0x2,%al
call   1030 <bioR1__3d@plt>
movl   $0x1,-0x68(%rbp)
mov    0x20(%rbp),%rdi
mov    0x28(%rbp),%esi
mov    0x30(%rbp),%edx
mov    0x38(%rbp),%ecx
movsd  0xbb1(%rip),%xmm0
mov    $0x1,%al
call   1040 <boundarymultiply@plt>
mov    0x20(%rbp),%rdi
mov    0x28(%rbp),%esi
mov    0x30(%rbp),%edx
mov    0x38(%rbp),%ecx
movss  -0x60(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x68(%rbp),%r8d
mov    $0x1,%al
call   1050 <bio_3d_postmult@plt>
jmp    14e3 <adjbioD7_3d+0x3a3>
mov    0x18(%rbp),%rdi
mov    0x20(%rbp),%rsi
mov    0x28(%rbp),%edx
mov    0x30(%rbp),%ecx
mov    0x38(%rbp),%r8d
movss  -0x64(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x6c(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mov    $0x2,%al
call   1060 <bioR1_3dskip@plt>
mov    0x20(%rbp),%rdi
mov    0x28(%rbp),%esi
mov    0x30(%rbp),%edx
mov    0x38(%rbp),%ecx
movsd  0xb44(%rip),%xmm0
mov    $0x1,%al
call   1040 <boundarymultiply@plt>
movl   $0x0,-0x68(%rbp)
mov    0x20(%rbp),%rdi
mov    0x28(%rbp),%esi
mov    0x30(%rbp),%edx
mov    0x38(%rbp),%ecx
movss  -0x5c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x68(%rbp),%r8d
mov    $0x1,%al
call   1050 <bio_3d_postmult@plt>
movl   $0x1,-0x68(%rbp)
mov    0x20(%rbp),%rdi
mov    0x28(%rbp),%esi
mov    0x30(%rbp),%edx
mov    0x38(%rbp),%ecx
movss  -0x58(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x68(%rbp),%r8d
mov    $0x1,%al
call   1050 <bio_3d_postmult@plt>
mov    0x20(%rbp),%rdi
mov    0x28(%rbp),%esi
mov    0x30(%rbp),%edx
mov    0x38(%rbp),%ecx
movsd  0xae0(%rip),%xmm0
mov    $0x1,%al
call   1040 <boundarymultiply@plt>
add    $0x88,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<adjbioD7_3d>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    0x80(%rsp),%r11d
mov    0x78(%rsp),%r14d
mov    0x70(%rsp),%r15d
mov    0x68(%rsp),%r12d
xor    %eax,%eax
cmp    $0x2,%r12d
setge  %al
xor    %ebp,%ebp
cmp    $0x2,%r15d
setge  %bpl
add    %eax,%ebp
xor    %ebx,%ebx
cmp    $0x2,%r14d
setge  %bl
add    %ebp,%ebx
xor    %eax,%eax
cmp    $0x2,%ebx
sete   %bpl
xor    %r13d,%r13d
test   %r11d,%r11d
sete   %r10b
cmp    $0x1,%ebx
je     11b5 <adjbioD7_3d+0x75>
mov    %bpl,%al
lea    0xe59(%rip),%rbp
movss  0x0(%rbp,%rax,4),%xmm1
cmp    $0x2,%r12d
jge    11c3 <adjbioD7_3d+0x83>
jmp    11d6 <adjbioD7_3d+0x96>
movss  0xe8b(%rip),%xmm1
cmp    $0x2,%r12d
jl     11d6 <adjbioD7_3d+0x96>
cvtss2sd %xmm1,%xmm0
divsd  0xe49(%rip),%xmm0
xorps  %xmm1,%xmm1
cvtsd2ss %xmm0,%xmm1
cmp    $0x2,%r15d
jge    1222 <adjbioD7_3d+0xe2>
cmp    $0x2,%r14d
jge    123e <adjbioD7_3d+0xfe>
test   %ebx,%ebx
je     1258 <adjbioD7_3d+0x118>
mov    %r10b,%r13b
lea    0xe18(%rip),%rax
lea    0xe19(%rip),%rbp
movss  (%rax,%r13,4),%xmm3
movss  0x0(%rbp,%r13,4),%xmm0
movsd  0xe14(%rip),%xmm2
movsd  %xmm2,0x10(%rsp)
movsd  0xe0e(%rip),%xmm2
movsd  %xmm2,0x8(%rsp)
jmp    127a <adjbioD7_3d+0x13a>
xorps  %xmm0,%xmm0
cvtss2sd %xmm1,%xmm0
divsd  0xde7(%rip),%xmm0
xorps  %xmm1,%xmm1
cvtsd2ss %xmm0,%xmm1
cmp    $0x2,%r14d
jl     11e2 <adjbioD7_3d+0xa2>
xorps  %xmm0,%xmm0
cvtss2sd %xmm1,%xmm0
divsd  0xdcb(%rip),%xmm0
xorps  %xmm1,%xmm1
cvtsd2ss %xmm0,%xmm1
test   %ebx,%ebx
jne    11e6 <adjbioD7_3d+0xa6>
movss  0xdec(%rip),%xmm3
movsd  0xdc8(%rip),%xmm2
movaps %xmm3,%xmm0
movaps %xmm3,%xmm1
movsd  %xmm2,0x8(%rsp)
movsd  %xmm2,0x10(%rsp)
mov    0x60(%rsp),%rbx
mov    0x58(%rsp),%r10
cvtss2sd %xmm0,%xmm0
cvtss2sd %xmm1,%xmm1
test   %r11d,%r11d
je     12ef <adjbioD7_3d+0x1af>
mov    $0x2,%al
push   %r14
push   %r15
push   %r12
push   %rbx
push   %r10
push   0x78(%rsp)
movss  %xmm3,0x34(%rsp)
call   1030 <bioR1__3d@plt>
add    $0x30,%rsp
movsd  0xd81(%rip),%xmm0
mov    %rbx,%rdi
mov    %r12d,%esi
mov    %r15d,%edx
mov    %r14d,%ecx
mov    $0x1,%al
call   1040 <boundarymultiply@plt>
movss  0x4(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    %r12d,%esi
mov    %r15d,%edx
mov    %r14d,%ecx
mov    $0x1,%r8d
mov    $0x1,%al
call   1050 <bio_3d_postmult@plt>
jmp    1320 <adjbioD7_3d+0x1e0>
mov    %r10,%rdi
mov    %rbx,%rsi
mov    %r12d,%edx
mov    %r15d,%ecx
mov    %r14d,%r8d
mov    $0x2,%al
call   1060 <bioR1_3dskip@plt>
movsd  0xd2b(%rip),%xmm0
mov    %rbx,%rdi
mov    %r12d,%esi
mov    %r15d,%edx
mov    %r14d,%ecx
mov    $0x1,%al
call   1040 <boundarymultiply@plt>
mov    %rbx,%rdi
mov    %r12d,%esi
mov    %r15d,%edx
mov    %r14d,%ecx
movsd  0x8(%rsp),%xmm0
xor    %r8d,%r8d
mov    $0x1,%al
call   1050 <bio_3d_postmult@plt>
mov    %rbx,%rdi
mov    %r12d,%esi
mov    %r15d,%edx
mov    %r14d,%ecx
movsd  0x10(%rsp),%xmm0
mov    $0x1,%r8d
mov    $0x1,%al
call   1050 <bio_3d_postmult@plt>
movsd  0xcdd(%rip),%xmm0
mov    %rbx,%rdi
mov    %r12d,%esi
mov    %r15d,%edx
mov    %r14d,%ecx
mov    $0x1,%al
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <boundarymultiply@plt>

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

LLVM IR (-O2):
define void @adjbioD7_3d(float* %0, float* %1, float* %2, float* %3, float* %4, float* %5, float* %6, float* %7, float* %8, i32 %9, i32 %10, i32 %11, i32 %12) {
%14 = icmp sgt i32 %9, 1
%15 = zext i1 %14 to i32
%16 = icmp sgt i32 %10, 1
%17 = zext i1 %16 to i32
%18 = add nuw nsw i32 %17, %15
%19 = icmp sgt i32 %11, 1
%20 = zext i1 %19 to i32
%21 = add nuw nsw i32 %18, %20
%22 = icmp eq i32 %12, 0
%23 = select i1 %22, float 1.000000e+00, float 0xC02AAAAAA0000000
%24 = select i1 %22, float 0xC006666660000000, float 0x40130C30C0000000
%25 = icmp eq i32 %21, 2
%26 = select i1 %25, float 1.000000e+00, float 0xC050AAAAA0000000
%27 = icmp eq i32 %21, 1
%28 = select i1 %27, float 0xBF8EB85200000000, float %26
br i1 %14, label %29, label %33
29: ; preds = %13
%30 = fpext float %28 to double
%31 = fdiv double %30, 0x3FEF5C28F5C28F5C
%32 = fptrunc double %31 to float
br label %33
33: ; preds = %29, %13
%34 = phi float [ %32, %29 ], [ %28, %13 ]
br i1 %16, label %35, label %39
35: ; preds = %33
%36 = fpext float %34 to double
%37 = fdiv double %36, 0x3FEF5C28F5C28F5C
%38 = fptrunc double %37 to float
br label %39
39: ; preds = %35, %33
%40 = phi float [ %38, %35 ], [ %34, %33 ]
br i1 %19, label %41, label %45
41: ; preds = %39
%42 = fpext float %40 to double
%43 = fdiv double %42, 0x3FEF5C28F5C28F5C
%44 = fptrunc double %43 to float
br label %45
45: ; preds = %41, %39
%46 = phi float [ %44, %41 ], [ %40, %39 ]
%47 = icmp eq i32 %21, 0
br i1 %47, label %48, label %49
48: ; preds = %45
br label %49
49: ; preds = %48, %45
%50 = phi double [ 1.000000e+00, %48 ], [ 0xC02BFFFFE0000000, %45 ]
%51 = phi float [ 1.000000e+00, %48 ], [ %23, %45 ]
%52 = phi float [ 1.000000e+00, %48 ], [ %24, %45 ]
%53 = phi float [ 1.000000e+00, %48 ], [ %46, %45 ]
%54 = phi double [ 1.000000e+00, %48 ], [ 5.000000e+00, %45 ]
%55 = fpext float %52 to double
%56 = fpext float %53 to double
br i1 %22, label %62, label %57
57: ; preds = %49
%58 = tail call i32 (float*, float*, float*, float*, float*, float*, float*, float*, float*, i32, i32, i32, double, double, ...) bitcast (i32 (...)* @bioR1__3d to i32 (float*, float*, float*, float*, float*, float*, float*, float*, float*, i32, i32, i32, double, double, ...)*)(float* %0, float* %1, float* %2, float* %3, float* %4, float* %5, float* %6, float* %7, float* %8, i32 %9, i32 %10, i32 %11, double %55, double %56)
%59 = tail call i32 (float*, i32, i32, i32, double, ...) bitcast (i32 (...)* @boundarymultiply to i32 (float*, i32, i32, i32, double, ...)*)(float* %8, i32 %9, i32 %10, i32 %11, double 2.000000e+00)
%60 = fpext float %51 to double
%61 = tail call i32 (float*, i32, i32, i32, double, i32, ...) bitcast (i32 (...)* @bio_3d_postmult to i32 (float*, i32, i32, i32, double, i32, ...)*)(float* %8, i32 %9, i32 %10, i32 %11, double %60, i32 1)
br label %65
62: ; preds = %49
%63 = tail call i32 (float*, float*, i32, i32, i32, double, double, ...) bitcast (i32 (...)* @bioR1_3dskip to i32 (float*, float*, i32, i32, i32, double, double, ...)*)(float* %7, float* %8, i32 %9, i32 %10, i32 %11, double %55, double %56)
%64 = tail call i32 (float*, i32, i32, i32, double, ...) bitcast (i32 (...)* @boundarymultiply to i32 (float*, i32, i32, i32, double, ...)*)(float* %8, i32 %9, i32 %10, i32 %11, double 2.000000e+00)
br label %65
65: ; preds = %62, %57
%66 = tail call i32 (float*, i32, i32, i32, double, i32, ...) bitcast (i32 (...)* @bio_3d_postmult to i32 (float*, i32, i32, i32, double, i32, ...)*)(float* %8, i32 %9, i32 %10, i32 %11, double %50, i32 0)
%67 = tail call i32 (float*, i32, i32, i32, double, i32, ...) bitcast (i32 (...)* @bio_3d_postmult to i32 (float*, i32, i32, i32, double, i32, ...)*)(float* %8, i32 %9, i32 %10, i32 %11, double %54, i32 1)
%68 = tail call i32 (float*, i32, i32, i32, double, ...) bitcast (i32 (...)* @boundarymultiply to i32 (float*, i32, i32, i32, double, ...)*)(float* %8, i32 %9, i32 %10, i32 %11, double 5.000000e-01)
ret void
}