void adjbioD5_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.50;
  float ix1 = 0.25;
  float iX0, iX1, iX2;
  int pairity;
  float Norm;
  int dim;
  dim = (xlength > 1) + (ylength > 1) + (zlength > 1);
  if (ifnotAllskip) {
    iX2 = ix1;
    iX1 = 1.0 / (ix1 * ix0);
    iX0 = 1.0 / ix0;
  } else {
    iX2 = ix0;
    iX1 = 1.0;
    iX0 = 1.0 / ix0;
  }
  iX2 = 1 / iX2;
  if (dim == 3)
    Norm = 1.0 / (ix0 * ix1);
  if (dim == 2)
    Norm = 1.0;
  if (dim == 1)
    Norm = (ix0 * ix1);
  if (xlength > 1)
    Norm /= (0.5);
  if (ylength > 1)
    Norm /= (0.5);
  if (zlength > 1)
    Norm /= (0.5);
  if (dim == 0) {
    Norm = 1.0;
    iX0 = 1.0;
    iX1 = 1.0;
    iX2 = 1.0;
  }
  if (ifnotAllskip) {
    bioR1__3d(HHH, HHL, HLH, HLL, LHH, LHL, LLH, LLL, outvector, xlength,
              ylength, zlength, iX2, Norm);
    pairity = 1;
    boundarymultiply(outvector, xlength, ylength, zlength, 2.0);
    bio_3d_postmult(outvector, xlength, ylength, zlength, iX1, pairity);
  } else {
    bioR1_3dskip(LLL, outvector, xlength, ylength, zlength, iX2, Norm);
    boundarymultiply(outvector, xlength, ylength, zlength, 2.0);
  }
  pairity = 0;
  bio_3d_postmult(outvector, xlength, ylength, zlength, iX0, pairity);
  boundarymultiply(outvector, xlength, ylength, zlength, 0.5);
}


x86 assembly (clang, -O0):
<adjbioD5_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  0xe7c(%rip),%xmm0
movss  %xmm0,-0x4c(%rbp)
movss  0xe6b(%rip),%xmm0
movss  %xmm0,-0x50(%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,-0x68(%rbp)
cmpl   $0x0,0x40(%rbp)
je     1221 <adjbioD5_3d+0xe1>
movss  -0x50(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x50(%rbp),%xmm0
mulss  -0x4c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xe1f(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x4c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xe01(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x54(%rbp)
jmp    1256 <adjbioD5_3d+0x116>
movss  -0x4c(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  0xdd5(%rip),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x4c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xdc7(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x54(%rbp)
movss  0xdaa(%rip),%xmm0
divss  -0x5c(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
cmpl   $0x3,-0x68(%rbp)
jne    1295 <adjbioD5_3d+0x155>
movss  -0x4c(%rbp),%xmm0
mulss  -0x50(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd88(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x64(%rbp)
cmpl   $0x2,-0x68(%rbp)
jne    12ac <adjbioD5_3d+0x16c>
movss  0xd61(%rip),%xmm0
movss  %xmm0,-0x64(%rbp)
cmpl   $0x1,-0x68(%rbp)
jne    12c5 <adjbioD5_3d+0x185>
movss  -0x4c(%rbp),%xmm0
mulss  -0x50(%rbp),%xmm0
movss  %xmm0,-0x64(%rbp)
cmpl   $0x1,0x28(%rbp)
jle    12ed <adjbioD5_3d+0x1ad>
movss  -0x64(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd38(%rip),%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x64(%rbp)
cmpl   $0x1,0x30(%rbp)
jle    1315 <adjbioD5_3d+0x1d5>
movss  -0x64(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd10(%rip),%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x64(%rbp)
cmpl   $0x1,0x38(%rbp)
jle    133d <adjbioD5_3d+0x1fd>
movss  -0x64(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xce8(%rip),%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x64(%rbp)
cmpl   $0x0,-0x68(%rbp)
jne    137b <adjbioD5_3d+0x23b>
movss  0xcb9(%rip),%xmm0
movss  %xmm0,-0x64(%rbp)
movss  0xcac(%rip),%xmm0
movss  %xmm0,-0x54(%rbp)
movss  0xc9f(%rip),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  0xc92(%rip),%xmm0
movss  %xmm0,-0x5c(%rbp)
cmpl   $0x0,0x40(%rbp)
je     1432 <adjbioD5_3d+0x2f2>
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  -0x5c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x64(%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,-0x60(%rbp)
mov    0x20(%rbp),%rdi
mov    0x28(%rbp),%esi
mov    0x30(%rbp),%edx
mov    0x38(%rbp),%ecx
movsd  0xc1b(%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  -0x58(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x60(%rbp),%r8d
mov    $0x1,%al
call   1050 <bio_3d_postmult@plt>
jmp    1479 <adjbioD5_3d+0x339>
mov    0x18(%rbp),%rdi
mov    0x20(%rbp),%rsi
mov    0x28(%rbp),%edx
mov    0x30(%rbp),%ecx
mov    0x38(%rbp),%r8d
movss  -0x5c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x64(%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  0xbae(%rip),%xmm0
mov    $0x1,%al
call   1040 <boundarymultiply@plt>
movl   $0x0,-0x60(%rbp)
mov    0x20(%rbp),%rdi
mov    0x28(%rbp),%esi
mov    0x30(%rbp),%edx
mov    0x38(%rbp),%ecx
movss  -0x54(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x60(%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  0xb62(%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):
<adjbioD5_3d>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x10,%rsp
mov    0x68(%rsp),%r14d
mov    0x60(%rsp),%r15d
mov    0x58(%rsp),%r12d
xor    %ebp,%ebp
cmp    $0x2,%r12d
setge  %bpl
xor    %eax,%eax
cmp    $0x2,%r15d
setge  %al
add    %ebp,%eax
xor    %r10d,%r10d
cmp    $0x2,%r14d
setge  %r10b
lea    (%rax,%r10,1),%ebp
movss  0xe79(%rip),%xmm2
movss  0xe75(%rip),%xmm0
movaps %xmm2,%xmm1
cmp    $0x2,%ebp
jne    11ed <adjbioD5_3d+0xad>
cmp    $0x1,%ebp
je     11f5 <adjbioD5_3d+0xb5>
cmp    $0x2,%r12d
jge    1203 <adjbioD5_3d+0xc3>
cmp    $0x2,%r15d
jl     11ac <adjbioD5_3d+0x6c>
addss  %xmm1,%xmm1
mov    0x70(%rsp),%r11d
cmp    $0x2,%r14d
jl     11bb <adjbioD5_3d+0x7b>
addss  %xmm1,%xmm1
xor    %ebx,%ebx
test   %r11d,%r11d
sete   %bpl
je     11c9 <adjbioD5_3d+0x89>
movaps %xmm0,%xmm2
add    %r10d,%eax
je     120f <adjbioD5_3d+0xcf>
mov    %bpl,%bl
lea    0xe38(%rip),%rax
movss  (%rax,%rbx,4),%xmm0
movsd  0xe33(%rip),%xmm3
movsd  %xmm3,0x8(%rsp)
jmp    122b <adjbioD5_3d+0xeb>
movaps %xmm0,%xmm1
cmp    $0x1,%ebp
jne    119c <adjbioD5_3d+0x5c>
movss  0xe0b(%rip),%xmm1
cmp    $0x2,%r12d
jl     11a2 <adjbioD5_3d+0x62>
addss  %xmm1,%xmm1
cmp    $0x2,%r15d
jge    11a8 <adjbioD5_3d+0x68>
jmp    11ac <adjbioD5_3d+0x6c>
movsd  0xe09(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movss  0xddb(%rip),%xmm2
movaps %xmm2,%xmm0
movaps %xmm2,%xmm1
mov    0x50(%rsp),%rbx
mov    0x48(%rsp),%r10
cvtss2sd %xmm0,%xmm0
cvtss2sd %xmm1,%xmm1
test   %r11d,%r11d
je     12a0 <adjbioD5_3d+0x160>
mov    $0x2,%al
push   %r14
push   %r15
push   %r12
push   %rbx
push   %r10
push   0x68(%rsp)
movss  %xmm2,0x34(%rsp)
call   1030 <bioR1__3d@plt>
add    $0x30,%rsp
movsd  0xdc0(%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    12d1 <adjbioD5_3d+0x191>
mov    %r10,%rdi
mov    %rbx,%rsi
mov    %r12d,%edx
mov    %r15d,%ecx
mov    %r14d,%r8d
mov    $0x2,%al
call   1060 <bioR1_3dskip@plt>
movsd  0xd6a(%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>
movsd  0xd3b(%rip),%xmm0
mov    %rbx,%rdi
mov    %r12d,%esi
mov    %r15d,%edx
mov    %r14d,%ecx
mov    $0x1,%al
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <boundarymultiply@plt>

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

LLVM IR (-O2):
define void @adjbioD5_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 -8.000000e+00
%24 = select i1 %22, float -2.000000e+00, float 4.000000e+00
%25 = icmp eq i32 %21, 2
%26 = select i1 %25, float 1.000000e+00, float -8.000000e+00
%27 = icmp eq i32 %21, 1
%28 = select i1 %27, float -1.250000e-01, float %26
%29 = fmul float %28, 2.000000e+00
%30 = select i1 %14, float %29, float %28
%31 = fmul float %30, 2.000000e+00
%32 = select i1 %16, float %31, float %30
%33 = fmul float %32, 2.000000e+00
%34 = select i1 %19, float %33, float %32
%35 = icmp eq i32 %21, 0
br i1 %35, label %36, label %37
36: ; preds = %13
br label %37
37: ; preds = %36, %13
%38 = phi float [ 1.000000e+00, %36 ], [ %23, %13 ]
%39 = phi float [ 1.000000e+00, %36 ], [ %24, %13 ]
%40 = phi float [ 1.000000e+00, %36 ], [ %34, %13 ]
%41 = phi double [ 1.000000e+00, %36 ], [ -2.000000e+00, %13 ]
%42 = fpext float %39 to double
%43 = fpext float %40 to double
br i1 %22, label %49, label %44
44: ; preds = %37
%45 = 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 %42, double %43)
%46 = 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)
%47 = fpext float %38 to double
%48 = 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 %47, i32 1)
br label %52
49: ; preds = %37
%50 = 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 %42, double %43)
%51 = 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 %52
52: ; preds = %49, %44
%53 = 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 %41, i32 0)
%54 = 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
}