void adjbioR9_3d(invector, HHH, HHL, HLH, HLL, LHH, LHL, LLH, LLL, xlength,
                 ylength, zlength, ifnotAllskip) float *invector;
float *HLL, *HLH, *HHL, *HHH;
float *LLL, *LLH, *LHL, *LHH;
int xlength, ylength, zlength;
int ifnotAllskip;
{
  float x0 = 1.586134342059;
  float x1 = 0.052980118573;
  float x2 = -0.882911075529;
  float x3 = -0.443506852045;
  float X0, X1, X2, X3, X4;
  int pairity;
  float Norm;
  int dim;
  dim = (xlength > 1) + (ylength > 1) + (zlength > 1);
  if (0 || ifnotAllskip) {
    X0 = x0;
    X1 = x0 * x1;
    X2 = x1 * x2;
    X3 = x2 * x3;
    X4 = 1.0 / x3;
  } else {
    X0 = x0;
    X1 = x0 * x1;
    X2 = x1 * x2;
    X3 = 1.0;
    X4 = 1.0 / x2;
  }
  X4 = 1 / X4;
  if (dim == 3)
    Norm = (x0 * x1 * x2 * x3);
  if (dim == 2)
    Norm = 1.0;
  if (dim == 1)
    Norm = 1.0 / (x0 * x1 * x2 * x3);
  if (xlength > 1)
    Norm *= (0.763);
  if (ylength > 1)
    Norm *= (0.763);
  if (zlength > 1)
    Norm *= (0.763);
  if (dim == 0) {
    Norm = 1.0;
    X0 = 1.0;
    X1 = 1.0;
    X2 = 1.0;
    X3 = 1.0;
    X4 = 1.0;
  }
  boundarymultiply(invector, xlength, ylength, zlength, 2.0);
  pairity = 0;
  bio_3d_premult(invector, xlength, ylength, zlength, X0, pairity);
  pairity = 1;
  bio_3d_premult(invector, xlength, ylength, zlength, X1, pairity);
  pairity = 0;
  bio_3d_premult(invector, xlength, ylength, zlength, X2, pairity);
  pairity = 1;
  bio_3d_premult(invector, xlength, ylength, zlength, X3, pairity);
  boundarymultiply(invector, xlength, ylength, zlength, 0.5);
  if (ifnotAllskip) {
    bioD1__3d(invector, HHH, HHL, HLH, HLL, LHH, LHL, LLH, LLL, xlength,
              ylength, zlength, X4, Norm);
  } else
    bioD1_3dskip(invector, LLL, xlength, ylength, zlength, X4, Norm);
}


x86 assembly (clang, -O0):
<adjbioR9_3d>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %rbx
sub    $0x98,%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  0xe84(%rip),%xmm0
movss  %xmm0,-0x4c(%rbp)
movss  0xe73(%rip),%xmm0
movss  %xmm0,-0x50(%rbp)
movss  0xe62(%rip),%xmm0
movss  %xmm0,-0x54(%rbp)
movss  0xe51(%rip),%xmm0
movss  %xmm0,-0x58(%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,-0x78(%rbp)
cmpl   $0x0,0x40(%rbp)
je     1245 <adjbioR9_3d+0x105>
movss  -0x4c(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x4c(%rbp),%xmm0
mulss  -0x50(%rbp),%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x50(%rbp),%xmm0
mulss  -0x54(%rbp),%xmm0
movss  %xmm0,-0x64(%rbp)
movss  -0x54(%rbp),%xmm0
mulss  -0x58(%rbp),%xmm0
movss  %xmm0,-0x68(%rbp)
movss  -0x58(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xde5(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x6c(%rbp)
jmp    1298 <adjbioR9_3d+0x158>
movss  -0x4c(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x4c(%rbp),%xmm0
mulss  -0x50(%rbp),%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x50(%rbp),%xmm0
mulss  -0x54(%rbp),%xmm0
movss  %xmm0,-0x64(%rbp)
movss  0xd9b(%rip),%xmm0
movss  %xmm0,-0x68(%rbp)
movss  -0x54(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd8d(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x6c(%rbp)
movss  0xd70(%rip),%xmm0
divss  -0x6c(%rbp),%xmm0
movss  %xmm0,-0x6c(%rbp)
cmpl   $0x3,-0x78(%rbp)
jne    12cd <adjbioR9_3d+0x18d>
movss  -0x4c(%rbp),%xmm0
mulss  -0x50(%rbp),%xmm0
mulss  -0x54(%rbp),%xmm0
mulss  -0x58(%rbp),%xmm0
movss  %xmm0,-0x74(%rbp)
cmpl   $0x2,-0x78(%rbp)
jne    12e4 <adjbioR9_3d+0x1a4>
movss  0xd31(%rip),%xmm0
movss  %xmm0,-0x74(%rbp)
cmpl   $0x1,-0x78(%rbp)
jne    131b <adjbioR9_3d+0x1db>
movss  -0x4c(%rbp),%xmm0
mulss  -0x50(%rbp),%xmm0
mulss  -0x54(%rbp),%xmm0
mulss  -0x58(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd0a(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
cmpl   $0x1,0x28(%rbp)
jle    1343 <adjbioR9_3d+0x203>
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xcea(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
cmpl   $0x1,0x30(%rbp)
jle    136b <adjbioR9_3d+0x22b>
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xcc2(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
cmpl   $0x1,0x38(%rbp)
jle    1393 <adjbioR9_3d+0x253>
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xc9a(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
cmpl   $0x0,-0x78(%rbp)
jne    13eb <adjbioR9_3d+0x2ab>
movss  0xc6b(%rip),%xmm0
movss  %xmm0,-0x74(%rbp)
movss  0xc5e(%rip),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  0xc51(%rip),%xmm0
movss  %xmm0,-0x60(%rbp)
movss  0xc44(%rip),%xmm0
movss  %xmm0,-0x64(%rbp)
movss  0xc37(%rip),%xmm0
movss  %xmm0,-0x68(%rbp)
movss  0xc2a(%rip),%xmm0
movss  %xmm0,-0x6c(%rbp)
mov    -0x20(%rbp),%rdi
mov    0x28(%rbp),%esi
mov    0x30(%rbp),%edx
mov    0x38(%rbp),%ecx
movsd  0xc30(%rip),%xmm0
mov    $0x1,%al
call   1030 <boundarymultiply@plt>
movl   $0x0,-0x70(%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    -0x70(%rbp),%r8d
mov    $0x1,%al
call   1060 <bio_3d_premult@plt>
movl   $0x1,-0x70(%rbp)
mov    -0x20(%rbp),%rdi
mov    0x28(%rbp),%esi
mov    0x30(%rbp),%edx
mov    0x38(%rbp),%ecx
movss  -0x60(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x70(%rbp),%r8d
mov    $0x1,%al
call   1060 <bio_3d_premult@plt>
movl   $0x0,-0x70(%rbp)
mov    -0x20(%rbp),%rdi
mov    0x28(%rbp),%esi
mov    0x30(%rbp),%edx
mov    0x38(%rbp),%ecx
movss  -0x64(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x70(%rbp),%r8d
mov    $0x1,%al
call   1060 <bio_3d_premult@plt>
movl   $0x1,-0x70(%rbp)
mov    -0x20(%rbp),%rdi
mov    0x28(%rbp),%esi
mov    0x30(%rbp),%edx
mov    0x38(%rbp),%ecx
movss  -0x68(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x70(%rbp),%r8d
mov    $0x1,%al
call   1060 <bio_3d_premult@plt>
mov    -0x20(%rbp),%rdi
mov    0x28(%rbp),%esi
mov    0x30(%rbp),%edx
mov    0x38(%rbp),%ecx
movsd  0xb6c(%rip),%xmm0
mov    $0x1,%al
call   1030 <boundarymultiply@plt>
cmpl   $0x0,0x40(%rbp)
je     1536 <adjbioR9_3d+0x3f6>
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  -0x6c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x74(%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   1040 <bioD1__3d@plt>
jmp    1561 <adjbioR9_3d+0x421>
mov    -0x20(%rbp),%rdi
mov    0x20(%rbp),%rsi
mov    0x28(%rbp),%edx
mov    0x30(%rbp),%ecx
mov    0x38(%rbp),%r8d
movss  -0x6c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mov    $0x2,%al
call   1050 <bioD1_3dskip@plt>
add    $0x98,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<adjbioR9_3d>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
mov    %rsi,0x40(%rsp)
mov    %rdi,%r13
mov    0xc8(%rsp),%r12d
mov    0xc0(%rsp),%r15d
mov    0xb8(%rsp),%r14d
xor    %esi,%esi
cmp    $0x2,%r14d
setge  %sil
xor    %eax,%eax
cmp    $0x2,%r15d
setge  %al
add    %esi,%eax
xor    %edi,%edi
cmp    $0x2,%r12d
setge  %dil
lea    (%rax,%rdi,1),%esi
xor    %ebp,%ebp
cmp    $0x2,%esi
sete   %bl
cmp    $0x1,%esi
je     11ae <adjbioR9_3d+0x6e>
mov    %bl,%bpl
lea    0xe59(%rip),%rsi
movss  (%rsi,%rbp,4),%xmm1
jmp    11b6 <adjbioR9_3d+0x76>
movss  0xe9a(%rip),%xmm1
movsd  0xe4a(%rip),%xmm0
cmp    $0x2,%r14d
jl     11d0 <adjbioR9_3d+0x90>
cvtss2sd %xmm1,%xmm1
mulsd  %xmm0,%xmm1
cvtsd2ss %xmm1,%xmm1
cmp    $0x2,%r15d
mov    %r9,0x60(%rsp)
mov    %r8,0x58(%rsp)
mov    %rcx,0x50(%rsp)
mov    %rdx,0x48(%rsp)
jl     11f6 <adjbioR9_3d+0xb6>
cvtss2sd %xmm1,%xmm1
mulsd  %xmm0,%xmm1
cvtsd2ss %xmm1,%xmm1
mov    0xd0(%rsp),%ebp
cmp    $0x2,%r12d
jl     120f <adjbioR9_3d+0xcf>
cvtss2sd %xmm1,%xmm1
mulsd  %xmm0,%xmm1
cvtsd2ss %xmm1,%xmm1
xor    %edx,%edx
test   %ebp,%ebp
sete   %bl
add    %edi,%eax
je     1272 <adjbioR9_3d+0x132>
mov    %bl,%dl
lea    0xded(%rip),%rax
movss  (%rax,%rdx,4),%xmm0
movss  %xmm0,0xc(%rsp)
lea    0xde3(%rip),%rax
movss  (%rax,%rdx,4),%xmm0
movss  %xmm0,0x14(%rsp)
movsd  0xdd8(%rip),%xmm0
movsd  %xmm0,0x18(%rsp)
movsd  0xdd2(%rip),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0xdcc(%rip),%xmm0
movsd  %xmm0,0x28(%rsp)
movss  %xmm1,0x10(%rsp)
jmp    12a6 <adjbioR9_3d+0x166>
movss  0xdda(%rip),%xmm0
movsd  0xdb6(%rip),%xmm1
movss  %xmm0,0x14(%rsp)
movsd  %xmm1,0x20(%rsp)
movss  %xmm0,0xc(%rsp)
movss  %xmm0,0x10(%rsp)
movsd  %xmm1,0x28(%rsp)
movsd  %xmm1,0x18(%rsp)
mov    0xb0(%rsp),%rbx
mov    0xa8(%rsp),%rax
mov    %rax,0x30(%rsp)
mov    0xa0(%rsp),%rax
mov    %rax,0x38(%rsp)
movsd  0xd70(%rip),%xmm0
mov    %r13,%rdi
mov    %r14d,%esi
mov    %r15d,%edx
mov    %r12d,%ecx
mov    $0x1,%al
call   1030 <boundarymultiply@plt>
mov    %r13,%rdi
mov    %r14d,%esi
mov    %r15d,%edx
mov    %r12d,%ecx
movsd  0x18(%rsp),%xmm0
xor    %r8d,%r8d
mov    $0x1,%al
call   1060 <bio_3d_premult@plt>
mov    %r13,%rdi
mov    %r14d,%esi
mov    %r15d,%edx
mov    %r12d,%ecx
movsd  0x20(%rsp),%xmm0
mov    $0x1,%r8d
mov    $0x1,%al
call   1060 <bio_3d_premult@plt>
mov    %r13,%rdi
mov    %r14d,%esi
mov    %r15d,%edx
mov    %r12d,%ecx
movsd  0x28(%rsp),%xmm0
xor    %r8d,%r8d
mov    $0x1,%al
call   1060 <bio_3d_premult@plt>
movss  0xc(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    %r14d,%esi
mov    %r15d,%edx
mov    %r12d,%ecx
mov    $0x1,%r8d
mov    $0x1,%al
call   1060 <bio_3d_premult@plt>
movsd  0xce3(%rip),%xmm0
mov    %r13,%rdi
mov    %r14d,%esi
mov    %r15d,%edx
mov    %r12d,%ecx
mov    $0x1,%al
call   1030 <boundarymultiply@plt>
movss  0x14(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x10(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r13,%rdi
test   %ebp,%ebp
je     13d4 <adjbioR9_3d+0x294>
mov    0x40(%rsp),%rsi
mov    0x48(%rsp),%rdx
mov    0x50(%rsp),%rcx
mov    0x58(%rsp),%r8
mov    0x60(%rsp),%r9
mov    $0x2,%al
push   %r12
push   %r15
push   %r14
push   %rbx
push   0x50(%rsp)
push   0x60(%rsp)
call   1040 <bioD1__3d@plt>
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %rbx,%rsi
mov    %r14d,%edx
mov    %r15d,%ecx
mov    %r12d,%r8d
mov    $0x2,%al
add    $0x68,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <bioD1_3dskip@plt>

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

LLVM IR (-O2):
define void @adjbioR9_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 0x3FD90F9980000000
%24 = select i1 %22, float 0xBFEC40CEC0000000, float 0xBFDC626AA0000000
%25 = icmp eq i32 %21, 2
%26 = select i1 %25, float 1.000000e+00, float 0x3FA0D901A0000000
%27 = icmp eq i32 %21, 1
%28 = select i1 %27, float 0x403E63D300000000, float %26
%29 = fpext float %28 to double
%30 = fmul double %29, 7.630000e-01
%31 = fptrunc double %30 to float
%32 = select i1 %14, float %31, float %28
%33 = fpext float %32 to double
%34 = fmul double %33, 7.630000e-01
%35 = fptrunc double %34 to float
%36 = select i1 %16, float %35, float %32
%37 = fpext float %36 to double
%38 = fmul double %37, 7.630000e-01
%39 = fptrunc double %38 to float
%40 = select i1 %19, float %39, float %36
%41 = icmp eq i32 %21, 0
br i1 %41, label %42, label %43
42: ; preds = %13
br label %43
43: ; preds = %42, %13
%44 = phi double [ 1.000000e+00, %42 ], [ 0xBFA7F31EC0000000, %13 ]
%45 = phi float [ 1.000000e+00, %42 ], [ %23, %13 ]
%46 = phi float [ 1.000000e+00, %42 ], [ %24, %13 ]
%47 = phi double [ 1.000000e+00, %42 ], [ 0x3FB5833980000000, %13 ]
%48 = phi float [ 1.000000e+00, %42 ], [ %40, %13 ]
%49 = phi double [ 1.000000e+00, %42 ], [ 0x3FF960CE60000000, %13 ]
%50 = tail call i32 (float*, i32, i32, i32, double, ...) bitcast (i32 (...)* @boundarymultiply to i32 (float*, i32, i32, i32, double, ...)*)(float* %0, i32 %9, i32 %10, i32 %11, double 2.000000e+00)
%51 = tail call i32 (float*, i32, i32, i32, double, i32, ...) bitcast (i32 (...)* @bio_3d_premult to i32 (float*, i32, i32, i32, double, i32, ...)*)(float* %0, i32 %9, i32 %10, i32 %11, double %49, i32 0)
%52 = tail call i32 (float*, i32, i32, i32, double, i32, ...) bitcast (i32 (...)* @bio_3d_premult to i32 (float*, i32, i32, i32, double, i32, ...)*)(float* %0, i32 %9, i32 %10, i32 %11, double %47, i32 1)
%53 = tail call i32 (float*, i32, i32, i32, double, i32, ...) bitcast (i32 (...)* @bio_3d_premult to i32 (float*, i32, i32, i32, double, i32, ...)*)(float* %0, i32 %9, i32 %10, i32 %11, double %44, i32 0)
%54 = fpext float %45 to double
%55 = tail call i32 (float*, i32, i32, i32, double, i32, ...) bitcast (i32 (...)* @bio_3d_premult to i32 (float*, i32, i32, i32, double, i32, ...)*)(float* %0, i32 %9, i32 %10, i32 %11, double %54, i32 1)
%56 = tail call i32 (float*, i32, i32, i32, double, ...) bitcast (i32 (...)* @boundarymultiply to i32 (float*, i32, i32, i32, double, ...)*)(float* %0, i32 %9, i32 %10, i32 %11, double 5.000000e-01)
%57 = fpext float %46 to double
%58 = fpext float %48 to double
br i1 %22, label %61, label %59
59: ; preds = %43
%60 = tail call i32 (float*, float*, float*, float*, float*, float*, float*, float*, float*, i32, i32, i32, double, double, ...) bitcast (i32 (...)* @bioD1__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 %57, double %58)
br label %63
61: ; preds = %43
%62 = tail call i32 (float*, float*, i32, i32, i32, double, double, ...) bitcast (i32 (...)* @bioD1_3dskip to i32 (float*, float*, i32, i32, i32, double, double, ...)*)(float* %0, float* %8, i32 %9, i32 %10, i32 %11, double %57, double %58)
br label %63
63: ; preds = %61, %59
ret void
}