void bioD9_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;
  }
  if (dim == 3)
    Norm = (x0 * x1 * x2);
  if (dim == 2)
    Norm = 1.0;
  if (dim == 1)
    Norm = 1.0 / (x0 * x1 * x2);
  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;
  }
  pairity = 1;
  bio_3d_premult(invector, xlength, ylength, zlength, X0, pairity);
  pairity = 0;
  bio_3d_premult(invector, xlength, ylength, zlength, X1, pairity);
  pairity = 1;
  bio_3d_premult(invector, xlength, ylength, zlength, X2, pairity);
  pairity = 0;
  bio_3d_premult(invector, xlength, ylength, zlength, X3, pairity);
  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):
<bioD9_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  0xe94(%rip),%xmm0
movss  %xmm0,-0x4c(%rbp)
movss  0xe83(%rip),%xmm0
movss  %xmm0,-0x50(%rbp)
movss  0xe72(%rip),%xmm0
movss  %xmm0,-0x54(%rbp)
movss  0xe61(%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     1235 <bioD9_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  0xdf5(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x6c(%rbp)
jmp    1288 <bioD9_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  0xdab(%rip),%xmm0
movss  %xmm0,-0x68(%rbp)
movss  -0x54(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd9d(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x6c(%rbp)
cmpl   $0x3,-0x78(%rbp)
jne    12a6 <bioD9_3d+0x176>
movss  -0x4c(%rbp),%xmm0
mulss  -0x50(%rbp),%xmm0
mulss  -0x54(%rbp),%xmm0
movss  %xmm0,-0x74(%rbp)
cmpl   $0x2,-0x78(%rbp)
jne    12bd <bioD9_3d+0x18d>
movss  0xd58(%rip),%xmm0
movss  %xmm0,-0x74(%rbp)
cmpl   $0x1,-0x78(%rbp)
jne    12ef <bioD9_3d+0x1bf>
movss  -0x4c(%rbp),%xmm0
mulss  -0x50(%rbp),%xmm0
mulss  -0x54(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd36(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
cmpl   $0x1,0x28(%rbp)
jle    1317 <bioD9_3d+0x1e7>
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd16(%rip),%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
cmpl   $0x1,0x30(%rbp)
jle    133f <bioD9_3d+0x20f>
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xcee(%rip),%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
cmpl   $0x1,0x38(%rbp)
jle    1367 <bioD9_3d+0x237>
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xcc6(%rip),%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
cmpl   $0x0,-0x78(%rbp)
jne    13bf <bioD9_3d+0x28f>
movss  0xc97(%rip),%xmm0
movss  %xmm0,-0x74(%rbp)
movss  0xc8a(%rip),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  0xc7d(%rip),%xmm0
movss  %xmm0,-0x60(%rbp)
movss  0xc70(%rip),%xmm0
movss  %xmm0,-0x64(%rbp)
movss  0xc63(%rip),%xmm0
movss  %xmm0,-0x68(%rbp)
movss  0xc56(%rip),%xmm0
movss  %xmm0,-0x6c(%rbp)
movl   $0x1,-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   1050 <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  -0x60(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x70(%rbp),%r8d
mov    $0x1,%al
call   1050 <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  -0x64(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x70(%rbp),%r8d
mov    $0x1,%al
call   1050 <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  -0x68(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x70(%rbp),%r8d
mov    $0x1,%al
call   1050 <bio_3d_premult@plt>
cmpl   $0x0,0x40(%rbp)
je     14d2 <bioD9_3d+0x3a2>
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   1030 <bioD1__3d@plt>
jmp    14fd <bioD9_3d+0x3cd>
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   1040 <bioD1_3dskip@plt>
add    $0x98,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<bioD9_3d>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %r9,0x50(%rsp)
mov    %r8,0x48(%rsp)
mov    %rcx,0x40(%rsp)
mov    %rdx,0x38(%rsp)
mov    %rsi,0x30(%rsp)
mov    %rdi,%r13
mov    0xc0(%rsp),%edi
mov    0xb8(%rsp),%ebx
mov    0xb0(%rsp),%r15d
mov    0xa8(%rsp),%r14d
xor    %eax,%eax
cmp    $0x2,%r14d
setge  %al
xor    %ecx,%ecx
cmp    $0x2,%r15d
setge  %cl
add    %eax,%ecx
xor    %eax,%eax
cmp    $0x2,%ebx
setge  %al
add    %ecx,%eax
xor    %esi,%esi
cmp    $0x2,%eax
sete   %dl
xor    %ecx,%ecx
mov    %edi,0x14(%rsp)
test   %edi,%edi
sete   %dil
cmp    $0x1,%eax
je     11c6 <bioD9_3d+0x96>
mov    %dl,%sil
lea    0xe47(%rip),%rdx
movss  (%rdx,%rsi,4),%xmm0
cmp    $0x2,%r14d
jge    11d4 <bioD9_3d+0xa4>
jmp    11e4 <bioD9_3d+0xb4>
movss  0xe72(%rip),%xmm0
cmp    $0x2,%r14d
jl     11e4 <bioD9_3d+0xb4>
cvtss2sd %xmm0,%xmm0
divsd  0xe38(%rip),%xmm0
cvtsd2ss %xmm0,%xmm0
cmp    $0x2,%r15d
jge    1246 <bioD9_3d+0x116>
cmp    $0x2,%ebx
jge    125b <bioD9_3d+0x12b>
test   %eax,%eax
je     126f <bioD9_3d+0x13f>
mov    %dil,%cl
lea    0xe0b(%rip),%rax
lea    0xe0c(%rip),%rdx
movss  (%rax,%rcx,4),%xmm1
movss  %xmm1,0x8(%rsp)
movss  (%rdx,%rcx,4),%xmm1
movss  %xmm1,0x10(%rsp)
movss  %xmm0,0xc(%rsp)
movsd  0xdf8(%rip),%xmm0
movsd  0xdf8(%rip),%xmm1
movsd  %xmm1,0x18(%rsp)
movsd  0xdf2(%rip),%xmm1
movsd  %xmm1,0x20(%rsp)
jmp    12a0 <bioD9_3d+0x170>
cvtss2sd %xmm0,%xmm0
divsd  0xdc6(%rip),%xmm0
cvtsd2ss %xmm0,%xmm0
cmp    $0x2,%ebx
jl     11ef <bioD9_3d+0xbf>
cvtss2sd %xmm0,%xmm0
divsd  0xdb1(%rip),%xmm0
cvtsd2ss %xmm0,%xmm0
test   %eax,%eax
jne    11f3 <bioD9_3d+0xc3>
movss  0xdcd(%rip),%xmm0
movsd  0xdb9(%rip),%xmm1
movss  %xmm0,0x10(%rsp)
movsd  %xmm1,0x18(%rsp)
movss  %xmm0,0x8(%rsp)
movss  %xmm0,0xc(%rsp)
movsd  %xmm1,0x20(%rsp)
movaps %xmm1,%xmm0
mov    0xa0(%rsp),%r12
mov    0x98(%rsp),%rbp
mov    0x90(%rsp),%rax
mov    %rax,0x28(%rsp)
mov    %r13,%rdi
mov    %r14d,%esi
mov    %r15d,%edx
mov    %ebx,%ecx
mov    $0x1,%r8d
mov    $0x1,%al
call   1050 <bio_3d_premult@plt>
mov    %r13,%rdi
mov    %r14d,%esi
mov    %r15d,%edx
mov    %ebx,%ecx
movsd  0x18(%rsp),%xmm0
xor    %r8d,%r8d
mov    $0x1,%al
call   1050 <bio_3d_premult@plt>
mov    %r13,%rdi
mov    %r14d,%esi
mov    %r15d,%edx
mov    %ebx,%ecx
movsd  0x20(%rsp),%xmm0
mov    $0x1,%r8d
mov    $0x1,%al
call   1050 <bio_3d_premult@plt>
movss  0x8(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    %r14d,%esi
mov    %r15d,%edx
mov    %ebx,%ecx
xor    %r8d,%r8d
mov    $0x1,%al
call   1050 <bio_3d_premult@plt>
movss  0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0xc(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
cmpl   $0x0,0x14(%rsp)
je     1389 <bioD9_3d+0x259>
mov    %r13,%rdi
mov    0x30(%rsp),%rsi
mov    0x38(%rsp),%rdx
mov    0x40(%rsp),%rcx
mov    0x48(%rsp),%r8
mov    0x50(%rsp),%r9
mov    $0x2,%al
push   %rbx
push   %r15
push   %r14
push   %r12
push   %rbp
push   0x50(%rsp)
call   1030 <bioD1__3d@plt>
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %r13,%rdi
mov    %r12,%rsi
mov    %r14d,%edx
mov    %r15d,%ecx
mov    %ebx,%r8d
mov    $0x2,%al
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <bioD1_3dskip@plt>

LLVM IR (-O0):
define void @bioD9_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 0xBFF960CE60000000, float* %27
store float 0xBFAB2035C0000000, float* %28
store float 0x3FEC40CEC0000000, float* %29
store float 0x3FDC626AA0000000, 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 i32, i32* %38
%81 = icmp eq i32 %80, 3
br i1 %81, label %82, label %88
82: ; preds = %79
%83 = load float, float* %27
%84 = load float, float* %28
%85 = fmul float %83, %84
%86 = load float, float* %29
%87 = fmul float %85, %86
store float %87, float* %37
br label %88
88: ; preds = %82, %79
%89 = load i32, i32* %38
%90 = icmp eq i32 %89, 2
br i1 %90, label %91, label %92
91: ; preds = %88
store float 1.000000e+00, float* %37
br label %92
92: ; preds = %91, %88
%93 = load i32, i32* %38
%94 = icmp eq i32 %93, 1
br i1 %94, label %95, label %104
95: ; preds = %92
%96 = load float, float* %27
%97 = load float, float* %28
%98 = fmul float %96, %97
%99 = load float, float* %29
%100 = fmul float %98, %99
%101 = fpext float %100 to double
%102 = fdiv double 1.000000e+00, %101
%103 = fptrunc double %102 to float
store float %103, float* %37
br label %104
104: ; preds = %95, %92
%105 = load i32, i32* %23
%106 = icmp sgt i32 %105, 1
br i1 %106, label %107, label %112
107: ; preds = %104
%108 = load float, float* %37
%109 = fpext float %108 to double
%110 = fdiv double %109, 7.630000e-01
%111 = fptrunc double %110 to float
store float %111, float* %37
br label %112
112: ; preds = %107, %104
%113 = load i32, i32* %24
%114 = icmp sgt i32 %113, 1
br i1 %114, label %115, label %120
115: ; preds = %112
%116 = load float, float* %37
%117 = fpext float %116 to double
%118 = fdiv double %117, 7.630000e-01
%119 = fptrunc double %118 to float
store float %119, float* %37
br label %120
120: ; preds = %115, %112
%121 = load i32, i32* %25
%122 = icmp sgt i32 %121, 1
br i1 %122, label %123, label %128
123: ; preds = %120
%124 = load float, float* %37
%125 = fpext float %124 to double
%126 = fdiv double %125, 7.630000e-01
%127 = fptrunc double %126 to float
store float %127, float* %37
br label %128
128: ; preds = %123, %120
%129 = load i32, i32* %38
%130 = icmp eq i32 %129, 0
br i1 %130, label %131, label %132
131: ; preds = %128
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 %132
132: ; preds = %131, %128
store i32 1, i32* %36
%133 = load float*, float** %14
%134 = load i32, i32* %23
%135 = load i32, i32* %24
%136 = load i32, i32* %25
%137 = load float, float* %31
%138 = fpext float %137 to double
%139 = load i32, i32* %36
%140 = call i32 (float*, i32, i32, i32, double, i32, ...) bitcast (i32 (...)* @bio_3d_premult to i32 (float*, i32, i32, i32, double, i32, ...)*)(float* %133, i32 %134, i32 %135, i32 %136, double %138, i32 %139)
store i32 0, i32* %36
%141 = load float*, float** %14
%142 = load i32, i32* %23
%143 = load i32, i32* %24
%144 = load i32, i32* %25
%145 = load float, float* %32
%146 = fpext float %145 to double
%147 = load i32, i32* %36
%148 = call i32 (float*, i32, i32, i32, double, i32, ...) bitcast (i32 (...)* @bio_3d_premult to i32 (float*, i32, i32, i32, double, i32, ...)*)(float* %141, i32 %142, i32 %143, i32 %144, double %146, i32 %147)
store i32 1, i32* %36
%149 = load float*, float** %14
%150 = load i32, i32* %23
%151 = load i32, i32* %24
%152 = load i32, i32* %25
%153 = load float, float* %33
%154 = fpext float %153 to double
%155 = load i32, i32* %36
%156 = call i32 (float*, i32, i32, i32, double, i32, ...) bitcast (i32 (...)* @bio_3d_premult to i32 (float*, i32, i32, i32, double, i32, ...)*)(float* %149, i32 %150, i32 %151, i32 %152, double %154, i32 %155)
store i32 0, i32* %36
%157 = load float*, float** %14
%158 = load i32, i32* %23
%159 = load i32, i32* %24
%160 = load i32, i32* %25
%161 = load float, float* %34
%162 = fpext float %161 to double
%163 = load i32, i32* %36
%164 = call i32 (float*, i32, i32, i32, double, i32, ...) bitcast (i32 (...)* @bio_3d_premult to i32 (float*, i32, i32, i32, double, i32, ...)*)(float* %157, i32 %158, i32 %159, i32 %160, double %162, i32 %163)
%165 = load i32, i32* %26
%166 = icmp ne i32 %165, 0
br i1 %166, label %167, label %185
167: ; preds = %132
%168 = load float*, float** %14
%169 = load float*, float** %15
%170 = load float*, float** %16
%171 = load float*, float** %17
%172 = load float*, float** %18
%173 = load float*, float** %19
%174 = load float*, float** %20
%175 = load float*, float** %21
%176 = load float*, float** %22
%177 = load i32, i32* %23
%178 = load i32, i32* %24
%179 = load i32, i32* %25
%180 = load float, float* %35
%181 = fpext float %180 to double
%182 = load float, float* %37
%183 = fpext float %182 to double
%184 = 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* %168, float* %169, float* %170, float* %171, float* %172, float* %173, float* %174, float* %175, float* %176, i32 %177, i32 %178, i32 %179, double %181, double %183)
br label %196
185: ; preds = %132
%186 = load float*, float** %14
%187 = load float*, float** %22
%188 = load i32, i32* %23
%189 = load i32, i32* %24
%190 = load i32, i32* %25
%191 = load float, float* %35
%192 = fpext float %191 to double
%193 = load float, float* %37
%194 = fpext float %193 to double
%195 = call i32 (float*, float*, i32, i32, i32, double, double, ...) bitcast (i32 (...)* @bioD1_3dskip to i32 (float*, float*, i32, i32, i32, double, double, ...)*)(float* %186, float* %187, i32 %188, i32 %189, i32 %190, double %192, double %194)
br label %196
196: ; preds = %185, %167
ret void
}

LLVM IR (-O2):
define void @bioD9_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 0x3FF21F32E0000000, float 0x400209BDC0000000
%25 = icmp eq i32 %21, 2
%26 = select i1 %25, float 1.000000e+00, float 0x3FB2FE63C0000000
%27 = icmp eq i32 %21, 1
%28 = select i1 %27, float 0x402AF4CFA0000000, float %26
br i1 %14, label %29, label %33
29: ; preds = %13
%30 = fpext float %28 to double
%31 = fdiv double %30, 7.630000e-01
%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, 7.630000e-01
%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, 7.630000e-01
%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 ], [ 0xBFA7F31EC0000000, %45 ]
%51 = phi float [ 1.000000e+00, %48 ], [ %23, %45 ]
%52 = phi float [ 1.000000e+00, %48 ], [ %24, %45 ]
%53 = phi double [ 1.000000e+00, %48 ], [ 0x3FB5833980000000, %45 ]
%54 = phi float [ 1.000000e+00, %48 ], [ %46, %45 ]
%55 = phi double [ 1.000000e+00, %48 ], [ 0xBFF960CE60000000, %45 ]
%56 = 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 %55, i32 1)
%57 = 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 %53, i32 0)
%58 = 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 %50, i32 1)
%59 = fpext float %51 to double
%60 = 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 %59, i32 0)
%61 = fpext float %52 to double
%62 = fpext float %54 to double
br i1 %22, label %65, label %63
63: ; preds = %49
%64 = 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 %61, double %62)
br label %67
65: ; preds = %49
%66 = 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 %61, double %62)
br label %67
67: ; preds = %65, %63
ret void
}