#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*/ cross(double, double, double, double, double, double,
                         double *, double *, double *);
int /*<<< orphan*/ dotP(double, double, double, double, double, double,
                        double *);
double pow(double, double);
void mid_point(double A1x, double A1y, double A1z, double Ux, double Uy,
               double Uz, double B1x, double B1y, double B1z, double Vx,
               double Vy, double Vz, double *dist, double *XX, double *YY,
               double *ZZ) {
  double Wx, Wy, Wz;
  double P1x, P1y, P1z, P2x, P2y, P2z;
  double cx, cy, cz, tmp1, tmp2;
  cross(Ux, Uy, Uz, Vx, Vy, Vz, &Wx, &Wy, &Wz);
  cross(B1x - A1x, B1y - A1y, B1z - A1z, Vx, Vy, Vz, &cx, &cy, &cz);
  dotP(cx, cy, cz, Wx, Wy, Wz, &tmp1);
  dotP(Wx, Wy, Wz, Wx, Wy, Wz, &tmp2);
  tmp1 = tmp1 / tmp2;
  P1x = A1x + tmp1 * Ux;
  P1y = A1y + tmp1 * Uy;
  P1z = A1z + tmp1 * Uz;
  cross(B1x - A1x, B1y - A1y, B1z - A1z, Ux, Uy, Uz, &cx, &cy, &cz);
  dotP(cx, cy, cz, Wx, Wy, Wz, &tmp1);
  dotP(Wx, Wy, Wz, Wx, Wy, Wz, &tmp2);
  tmp1 = tmp1 / tmp2;
  P2x = B1x + tmp1 * Vx;
  P2y = B1y + tmp1 * Vy;
  P2z = B1z + tmp1 * Vz;
  *dist =
      pow(pow(P2x - P1x, 2.) + pow(P2y - P1y, 2.) + pow(P2z - P1z, 2.), 0.5);
  *XX = 0.5 * (P1x + P2x);
  *YY = 0.5 * (P1y + P2y);
  *ZZ = 0.5 * (P1z + P2z);
}


x86 assembly (clang, -O0):
<mid_point>:
push   %rbp
mov    %rsp,%rbp
sub    $0xe0,%rsp
movsd  0x28(%rbp),%xmm8
movsd  0x20(%rbp),%xmm8
movsd  0x18(%rbp),%xmm8
movsd  0x10(%rbp),%xmm8
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  %xmm3,-0x20(%rbp)
movsd  %xmm4,-0x28(%rbp)
movsd  %xmm5,-0x30(%rbp)
movsd  %xmm6,-0x38(%rbp)
movsd  %xmm7,-0x40(%rbp)
mov    %rdi,-0x48(%rbp)
mov    %rsi,-0x50(%rbp)
mov    %rdx,-0x58(%rbp)
mov    %rcx,-0x60(%rbp)
movsd  -0x20(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  0x18(%rbp),%xmm3
movsd  0x20(%rbp),%xmm4
movsd  0x28(%rbp),%xmm5
lea    -0x68(%rbp),%rdi
lea    -0x70(%rbp),%rsi
lea    -0x78(%rbp),%rdx
call   1050 <cross@plt>
movsd  -0x38(%rbp),%xmm0
subsd  -0x8(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
subsd  -0x10(%rbp),%xmm1
movsd  0x10(%rbp),%xmm2
subsd  -0x18(%rbp),%xmm2
movsd  0x18(%rbp),%xmm3
movsd  0x20(%rbp),%xmm4
movsd  0x28(%rbp),%xmm5
lea    -0xb0(%rbp),%rdi
lea    -0xb8(%rbp),%rsi
lea    -0xc0(%rbp),%rdx
call   1050 <cross@plt>
movsd  -0xb0(%rbp),%xmm0
ff
movsd  -0xb8(%rbp),%xmm1
ff
movsd  -0xc0(%rbp),%xmm2
ff
movsd  -0x68(%rbp),%xmm3
movsd  -0x70(%rbp),%xmm4
movsd  -0x78(%rbp),%xmm5
lea    -0xc8(%rbp),%rdi
call   1030 <dotP@plt>
movsd  -0x68(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm1
movsd  -0x78(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm3
movsd  -0x70(%rbp),%xmm4
movsd  -0x78(%rbp),%xmm5
lea    -0xd0(%rbp),%rdi
call   1030 <dotP@plt>
movsd  -0xc8(%rbp),%xmm0
ff
divsd  -0xd0(%rbp),%xmm0
ff
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0x8(%rbp),%xmm1
movsd  -0xc8(%rbp),%xmm0
ff
movsd  -0x20(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x10(%rbp),%xmm1
movsd  -0xc8(%rbp),%xmm0
ff
movsd  -0x28(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x18(%rbp),%xmm1
movsd  -0xc8(%rbp),%xmm0
ff
movsd  -0x30(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
subsd  -0x8(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
subsd  -0x10(%rbp),%xmm1
movsd  0x10(%rbp),%xmm2
subsd  -0x18(%rbp),%xmm2
movsd  -0x20(%rbp),%xmm3
movsd  -0x28(%rbp),%xmm4
movsd  -0x30(%rbp),%xmm5
lea    -0xb0(%rbp),%rdi
lea    -0xb8(%rbp),%rsi
lea    -0xc0(%rbp),%rdx
call   1050 <cross@plt>
movsd  -0xb0(%rbp),%xmm0
ff
movsd  -0xb8(%rbp),%xmm1
ff
movsd  -0xc0(%rbp),%xmm2
ff
movsd  -0x68(%rbp),%xmm3
movsd  -0x70(%rbp),%xmm4
movsd  -0x78(%rbp),%xmm5
lea    -0xc8(%rbp),%rdi
call   1030 <dotP@plt>
movsd  -0x68(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm1
movsd  -0x78(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm3
movsd  -0x70(%rbp),%xmm4
movsd  -0x78(%rbp),%xmm5
lea    -0xd0(%rbp),%rdi
call   1030 <dotP@plt>
movsd  -0xc8(%rbp),%xmm0
ff
divsd  -0xd0(%rbp),%xmm0
ff
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0x38(%rbp),%xmm1
movsd  -0xc8(%rbp),%xmm0
ff
movsd  0x18(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x40(%rbp),%xmm1
movsd  -0xc8(%rbp),%xmm0
ff
movsd  0x20(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  0x10(%rbp),%xmm1
movsd  -0xc8(%rbp),%xmm0
ff
movsd  0x28(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x98(%rbp),%xmm0
ff
subsd  -0x80(%rbp),%xmm0
movsd  0xbf8(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
subsd  -0x88(%rbp),%xmm0
ff
movsd  0xbd3(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0xe0(%rbp),%xmm0
ff
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0xa8(%rbp),%xmm0
ff
subsd  -0x90(%rbp),%xmm0
ff
movsd  0xb9f(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0xd8(%rbp),%xmm0
ff
addsd  %xmm1,%xmm0
movsd  0xb7b(%rip),%xmm1
call   1040 <pow@plt>
mov    -0x48(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x80(%rbp),%xmm1
addsd  -0x98(%rbp),%xmm1
ff
movsd  0xb59(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x50(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x88(%rbp),%xmm1
ff
addsd  -0xa0(%rbp),%xmm1
ff
movsd  0xb35(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x58(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x90(%rbp),%xmm1
ff
addsd  -0xa8(%rbp),%xmm1
ff
movsd  0xb11(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x60(%rbp),%rax
movsd  %xmm0,(%rax)
add    $0xe0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mid_point>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xb8,%rsp
mov    %rcx,0xb0(%rsp)
mov    %rdx,0xa8(%rsp)
mov    %rsi,0xa0(%rsp)
mov    %rdi,%r13
movsd  %xmm7,0x28(%rsp)
movsd  %xmm6,0x20(%rsp)
movaps %xmm5,%xmm8
movsd  %xmm5,0x48(%rsp)
movaps %xmm4,%xmm7
movsd  %xmm4,0x98(%rsp)
movaps %xmm3,%xmm6
movsd  %xmm3,0x90(%rsp)
movsd  %xmm2,0x18(%rsp)
movsd  %xmm1,0x10(%rsp)
movsd  %xmm0,0x8(%rsp)
movsd  0xf8(%rsp),%xmm3
movsd  0x100(%rsp),%xmm4
movsd  0x108(%rsp),%xmm5
lea    0x40(%rsp),%rdi
lea    0x38(%rsp),%rsi
lea    0x30(%rsp),%rdx
movaps %xmm6,%xmm0
movaps %xmm7,%xmm1
movaps %xmm8,%xmm2
call   1050 <cross@plt>
movsd  0x20(%rsp),%xmm3
subsd  0x8(%rsp),%xmm3
movsd  %xmm3,0x80(%rsp)
movsd  0x28(%rsp),%xmm1
subsd  0x10(%rsp),%xmm1
movsd  %xmm1,0x78(%rsp)
movsd  0xf0(%rsp),%xmm2
subsd  0x18(%rsp),%xmm2
movsd  %xmm2,0x88(%rsp)
lea    0x70(%rsp),%rbx
lea    0x68(%rsp),%rbp
lea    0x60(%rsp),%r14
movapd %xmm3,%xmm0
movsd  0xf8(%rsp),%xmm3
movsd  0x100(%rsp),%xmm4
movsd  0x108(%rsp),%xmm5
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    %r14,%rdx
call   1050 <cross@plt>
movsd  0x70(%rsp),%xmm0
movsd  0x68(%rsp),%xmm1
movsd  0x60(%rsp),%xmm2
movsd  0x40(%rsp),%xmm3
movsd  0x38(%rsp),%xmm4
movsd  0x30(%rsp),%xmm5
lea    0x50(%rsp),%r15
mov    %r15,%rdi
call   1030 <dotP@plt>
movsd  0x40(%rsp),%xmm0
movsd  0x38(%rsp),%xmm1
movsd  0x30(%rsp),%xmm2
lea    0x58(%rsp),%r12
movaps %xmm0,%xmm3
movaps %xmm1,%xmm4
movaps %xmm2,%xmm5
mov    %r12,%rdi
call   1030 <dotP@plt>
movsd  0x50(%rsp),%xmm0
divsd  0x58(%rsp),%xmm0
movsd  %xmm0,0x50(%rsp)
movapd %xmm0,%xmm1
movsd  0x90(%rsp),%xmm3
mulsd  %xmm3,%xmm1
addsd  0x8(%rsp),%xmm1
movsd  %xmm1,0x8(%rsp)
movapd %xmm0,%xmm1
movsd  0x98(%rsp),%xmm4
mulsd  %xmm4,%xmm1
addsd  0x10(%rsp),%xmm1
movsd  %xmm1,0x10(%rsp)
movsd  0x48(%rsp),%xmm5
mulsd  %xmm5,%xmm0
addsd  0x18(%rsp),%xmm0
movsd  %xmm0,0x18(%rsp)
movsd  0x80(%rsp),%xmm0
movsd  0x78(%rsp),%xmm1
movsd  0x88(%rsp),%xmm2
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    %r14,%rdx
call   1050 <cross@plt>
movsd  0x70(%rsp),%xmm0
movsd  0x68(%rsp),%xmm1
movsd  0x60(%rsp),%xmm2
movsd  0x40(%rsp),%xmm3
movsd  0x38(%rsp),%xmm4
movsd  0x30(%rsp),%xmm5
mov    %r15,%rdi
call   1030 <dotP@plt>
movsd  0x40(%rsp),%xmm0
movsd  0x38(%rsp),%xmm1
movsd  0x30(%rsp),%xmm2
movaps %xmm0,%xmm3
movaps %xmm1,%xmm4
movaps %xmm2,%xmm5
mov    %r12,%rdi
call   1030 <dotP@plt>
movsd  0x50(%rsp),%xmm1
divsd  0x58(%rsp),%xmm1
movsd  0xf8(%rsp),%xmm0
mulsd  %xmm1,%xmm0
addsd  0x20(%rsp),%xmm0
movapd %xmm0,%xmm4
movsd  %xmm0,0x48(%rsp)
movsd  0x100(%rsp),%xmm0
mulsd  %xmm1,%xmm0
addsd  0x28(%rsp),%xmm0
movapd %xmm0,%xmm3
movsd  %xmm0,0x28(%rsp)
mulsd  0x108(%rsp),%xmm1
addsd  0xf0(%rsp),%xmm1
movapd %xmm1,%xmm2
movsd  %xmm1,0x20(%rsp)
movapd %xmm4,%xmm0
subsd  0x8(%rsp),%xmm0
mulsd  %xmm0,%xmm0
movapd %xmm3,%xmm1
subsd  0x10(%rsp),%xmm1
mulsd  %xmm1,%xmm1
addsd  %xmm0,%xmm1
movapd %xmm2,%xmm0
subsd  0x18(%rsp),%xmm0
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
movsd  0xbe4(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,0x0(%r13)
movsd  0x48(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
movsd  0xbc5(%rip),%xmm1
mulsd  %xmm1,%xmm0
mov    0xa0(%rsp),%rax
movsd  %xmm0,(%rax)
movsd  0x28(%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
mulsd  %xmm1,%xmm0
mov    0xa8(%rsp),%rax
movsd  %xmm0,(%rax)
movsd  0x20(%rsp),%xmm0
addsd  0x18(%rsp),%xmm0
mulsd  %xmm1,%xmm0
mov    0xb0(%rsp),%rax
movsd  %xmm0,(%rax)
add    $0xb8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @mid_point(double %0, double %1, double %2, double %3, double %4, double %5, double %6, double %7, double %8, double %9, double %10, double %11, double* %12, double* %13, double* %14, double* %15) {
%17 = alloca double
%18 = alloca double
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = alloca double
%23 = alloca double
%24 = alloca double
%25 = alloca double
%26 = alloca double
%27 = alloca double
%28 = alloca double
%29 = alloca double*
%30 = alloca double*
%31 = alloca double*
%32 = alloca double*
%33 = alloca double
%34 = alloca double
%35 = alloca double
%36 = alloca double
%37 = alloca double
%38 = alloca double
%39 = alloca double
%40 = alloca double
%41 = alloca double
%42 = alloca double
%43 = alloca double
%44 = alloca double
%45 = alloca double
%46 = alloca double
store double %0, double* %17
store double %1, double* %18
store double %2, double* %19
store double %3, double* %20
store double %4, double* %21
store double %5, double* %22
store double %6, double* %23
store double %7, double* %24
store double %8, double* %25
store double %9, double* %26
store double %10, double* %27
store double %11, double* %28
store double* %12, double** %29
store double* %13, double** %30
store double* %14, double** %31
store double* %15, double** %32
%47 = load double, double* %20
%48 = load double, double* %21
%49 = load double, double* %22
%50 = load double, double* %26
%51 = load double, double* %27
%52 = load double, double* %28
%53 = call i32 @cross(double %47, double %48, double %49, double %50, double %51, double %52, double* %33, double* %34, double* %35)
%54 = load double, double* %23
%55 = load double, double* %17
%56 = fsub double %54, %55
%57 = load double, double* %24
%58 = load double, double* %18
%59 = fsub double %57, %58
%60 = load double, double* %25
%61 = load double, double* %19
%62 = fsub double %60, %61
%63 = load double, double* %26
%64 = load double, double* %27
%65 = load double, double* %28
%66 = call i32 @cross(double %56, double %59, double %62, double %63, double %64, double %65, double* %42, double* %43, double* %44)
%67 = load double, double* %42
%68 = load double, double* %43
%69 = load double, double* %44
%70 = load double, double* %33
%71 = load double, double* %34
%72 = load double, double* %35
%73 = call i32 @dotP(double %67, double %68, double %69, double %70, double %71, double %72, double* %45)
%74 = load double, double* %33
%75 = load double, double* %34
%76 = load double, double* %35
%77 = load double, double* %33
%78 = load double, double* %34
%79 = load double, double* %35
%80 = call i32 @dotP(double %74, double %75, double %76, double %77, double %78, double %79, double* %46)
%81 = load double, double* %45
%82 = load double, double* %46
%83 = fdiv double %81, %82
store double %83, double* %45
%84 = load double, double* %17
%85 = load double, double* %45
%86 = load double, double* %20
%87 = call double @llvm.fmuladd.f64(double %85, double %86, double %84)
store double %87, double* %36
%88 = load double, double* %18
%89 = load double, double* %45
%90 = load double, double* %21
%91 = call double @llvm.fmuladd.f64(double %89, double %90, double %88)
store double %91, double* %37
%92 = load double, double* %19
%93 = load double, double* %45
%94 = load double, double* %22
%95 = call double @llvm.fmuladd.f64(double %93, double %94, double %92)
store double %95, double* %38
%96 = load double, double* %23
%97 = load double, double* %17
%98 = fsub double %96, %97
%99 = load double, double* %24
%100 = load double, double* %18
%101 = fsub double %99, %100
%102 = load double, double* %25
%103 = load double, double* %19
%104 = fsub double %102, %103
%105 = load double, double* %20
%106 = load double, double* %21
%107 = load double, double* %22
%108 = call i32 @cross(double %98, double %101, double %104, double %105, double %106, double %107, double* %42, double* %43, double* %44)
%109 = load double, double* %42
%110 = load double, double* %43
%111 = load double, double* %44
%112 = load double, double* %33
%113 = load double, double* %34
%114 = load double, double* %35
%115 = call i32 @dotP(double %109, double %110, double %111, double %112, double %113, double %114, double* %45)
%116 = load double, double* %33
%117 = load double, double* %34
%118 = load double, double* %35
%119 = load double, double* %33
%120 = load double, double* %34
%121 = load double, double* %35
%122 = call i32 @dotP(double %116, double %117, double %118, double %119, double %120, double %121, double* %46)
%123 = load double, double* %45
%124 = load double, double* %46
%125 = fdiv double %123, %124
store double %125, double* %45
%126 = load double, double* %23
%127 = load double, double* %45
%128 = load double, double* %26
%129 = call double @llvm.fmuladd.f64(double %127, double %128, double %126)
store double %129, double* %39
%130 = load double, double* %24
%131 = load double, double* %45
%132 = load double, double* %27
%133 = call double @llvm.fmuladd.f64(double %131, double %132, double %130)
store double %133, double* %40
%134 = load double, double* %25
%135 = load double, double* %45
%136 = load double, double* %28
%137 = call double @llvm.fmuladd.f64(double %135, double %136, double %134)
store double %137, double* %41
%138 = load double, double* %39
%139 = load double, double* %36
%140 = fsub double %138, %139
%141 = call double @pow(double %140, double 2.000000e+00)
%142 = load double, double* %40
%143 = load double, double* %37
%144 = fsub double %142, %143
%145 = call double @pow(double %144, double 2.000000e+00)
%146 = fadd double %141, %145
%147 = load double, double* %41
%148 = load double, double* %38
%149 = fsub double %147, %148
%150 = call double @pow(double %149, double 2.000000e+00)
%151 = fadd double %146, %150
%152 = call double @pow(double %151, double 5.000000e-01)
%153 = load double*, double** %29
store double %152, double* %153
%154 = load double, double* %36
%155 = load double, double* %39
%156 = fadd double %154, %155
%157 = fmul double 5.000000e-01, %156
%158 = load double*, double** %30
store double %157, double* %158
%159 = load double, double* %37
%160 = load double, double* %40
%161 = fadd double %159, %160
%162 = fmul double 5.000000e-01, %161
%163 = load double*, double** %31
store double %162, double* %163
%164 = load double, double* %38
%165 = load double, double* %41
%166 = fadd double %164, %165
%167 = fmul double 5.000000e-01, %166
%168 = load double*, double** %32
store double %167, double* %168
ret void
}

LLVM IR (-O2):
define void @mid_point(double %0, double %1, double %2, double %3, double %4, double %5, double %6, double %7, double %8, double %9, double %10, double %11, double* nocapture writeonly %12, double* nocapture writeonly %13, double* nocapture writeonly %14, double* nocapture writeonly %15) {
%17 = alloca double
%18 = alloca double
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = alloca double
%23 = alloca double
%24 = alloca double
%25 = bitcast double* %17 to i8*
%26 = bitcast double* %18 to i8*
%27 = bitcast double* %19 to i8*
%28 = bitcast double* %20 to i8*
%29 = bitcast double* %21 to i8*
%30 = bitcast double* %22 to i8*
%31 = bitcast double* %23 to i8*
%32 = bitcast double* %24 to i8*
%33 = call i32 @cross(double %3, double %4, double %5, double %9, double %10, double %11, double* %17, double* %18, double* %19)
%34 = fsub double %6, %0
%35 = fsub double %7, %1
%36 = fsub double %8, %2
%37 = call i32 @cross(double %34, double %35, double %36, double %9, double %10, double %11, double* %20, double* %21, double* %22)
%38 = load double, double* %20
%39 = load double, double* %21
%40 = load double, double* %22
%41 = load double, double* %17
%42 = load double, double* %18
%43 = load double, double* %19
%44 = call i32 @dotP(double %38, double %39, double %40, double %41, double %42, double %43, double* %23)
%45 = load double, double* %17
%46 = load double, double* %18
%47 = load double, double* %19
%48 = call i32 @dotP(double %45, double %46, double %47, double %45, double %46, double %47, double* %24)
%49 = load double, double* %23
%50 = load double, double* %24
%51 = fdiv double %49, %50
store double %51, double* %23
%52 = call double @llvm.fmuladd.f64(double %51, double %3, double %0)
%53 = call double @llvm.fmuladd.f64(double %51, double %4, double %1)
%54 = call double @llvm.fmuladd.f64(double %51, double %5, double %2)
%55 = call i32 @cross(double %34, double %35, double %36, double %3, double %4, double %5, double* %20, double* %21, double* %22)
%56 = load double, double* %20
%57 = load double, double* %21
%58 = load double, double* %22
%59 = load double, double* %17
%60 = load double, double* %18
%61 = load double, double* %19
%62 = call i32 @dotP(double %56, double %57, double %58, double %59, double %60, double %61, double* %23)
%63 = load double, double* %17
%64 = load double, double* %18
%65 = load double, double* %19
%66 = call i32 @dotP(double %63, double %64, double %65, double %63, double %64, double %65, double* %24)
%67 = load double, double* %23
%68 = load double, double* %24
%69 = fdiv double %67, %68
%70 = call double @llvm.fmuladd.f64(double %69, double %9, double %6)
%71 = call double @llvm.fmuladd.f64(double %69, double %10, double %7)
%72 = call double @llvm.fmuladd.f64(double %69, double %11, double %8)
%73 = fsub double %70, %52
%74 = fmul double %73, %73
%75 = fsub double %71, %53
%76 = fmul double %75, %75
%77 = fadd double %74, %76
%78 = fsub double %72, %54
%79 = fmul double %78, %78
%80 = fadd double %79, %77
%81 = call double @pow(double %80, double 5.000000e-01)
store double %81, double* %12
%82 = fadd double %52, %70
%83 = fmul double %82, 5.000000e-01
store double %83, double* %13
%84 = fadd double %53, %71
%85 = fmul double %84, 5.000000e-01
store double %85, double* %14
%86 = fadd double %54, %72
%87 = fmul double %86, 5.000000e-01
store double %87, double* %15
ret void
}