void angle_Psi(x1, y1, z1, x2, y2, z2, x3, y3, z3, x0, y0, z0, Psi) double x1,
    y1, z1, x2, y2, z2, x3, y3, z3, x0, y0, z0, *Psi;
{
  double p1x, p1y, p1z, p2x, p2y, p2z, dx, dy, dz;
  double n1x, n2x, n1y, n2y, n1z, n2z, n1, n2, cosinus;
  double px, py, pz, cs;
  p1x = x0 - x2;
  p1y = y0 - y2;
  p1z = z0 - z2;
  dx = x3 - x2;
  dy = y3 - y2;
  dz = z3 - z2;
  p2x = x3 - x1;
  p2y = y3 - y1;
  p2z = z3 - z1;
  n1x = dy * p1z - dz * p1y;
  n1y = dz * p1x - dx * p1z;
  n1z = dx * p1y - dy * p1x;
  n1 = sqrt(n1x * n1x + n1y * n1y + n1z * n1z);
  n2x = dy * p2z - dz * p2y;
  n2y = dz * p2x - dx * p2z;
  n2z = dx * p2y - dy * p2x;
  n2 = sqrt(n2x * n2x + n2y * n2y + n2z * n2z);
  cosinus = (n1x * n2x + n1y * n2y + n1z * n2z) / (n1 * n2);
  *Psi = acos(cosinus) * 90. / acos(0.);
  px = n2y * n1z - n2z * n1y;
  py = n2z * n1x - n2x * n1z;
  pz = n2x * n1y - n2y * n1x;
  cs = (px * dx + py * dy + pz * dz);
  if (cs < 0.)
    *Psi = 360. - *Psi;
}


x86 assembly (clang, -O0):
<angle_Psi>:
push   %rbp
mov    %rsp,%rbp
sub    $0x100,%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)
movsd  0x18(%rbp),%xmm0
subsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0x20(%rbp),%xmm0
subsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0x28(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
subsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
subsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  0x10(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
subsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
subsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  0x10(%rbp),%xmm0
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x88(%rbp),%xmm0
ff
movsd  -0x60(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  -0x58(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
movsd  -0x50(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  -0x60(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  -0x50(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x98(%rbp),%xmm1
ff
movsd  -0x98(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm0
ff
mulsd  -0xa8(%rbp),%xmm0
ff
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xb8(%rbp),%xmm0
ff
movsd  -0xb8(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1040 <sqrt@plt>
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0x88(%rbp),%xmm0
ff
movsd  -0x78(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  -0x70(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
movsd  -0x68(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  -0x78(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  -0x68(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0xa0(%rbp),%xmm1
ff
movsd  -0xa0(%rbp),%xmm2
ff
movsd  -0xb0(%rbp),%xmm0
ff
mulsd  -0xb0(%rbp),%xmm0
ff
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xc0(%rbp),%xmm0
ff
movsd  -0xc0(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1040 <sqrt@plt>
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  -0x98(%rbp),%xmm1
ff
movsd  -0xa0(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm0
ff
mulsd  -0xb0(%rbp),%xmm0
ff
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xb8(%rbp),%xmm0
ff
movsd  -0xc0(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0xc8(%rbp),%xmm1
ff
mulsd  -0xd0(%rbp),%xmm1
ff
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0xd8(%rbp),%xmm0
ff
call   1030 <acos@plt>
movsd  0xb7f(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x100(%rbp)
ff
xorps  %xmm0,%xmm0
call   1030 <acos@plt>
movaps %xmm0,%xmm1
movsd  -0x100(%rbp),%xmm0
ff
divsd  %xmm1,%xmm0
mov    -0x48(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0xb0(%rbp),%xmm0
ff
movsd  -0xb8(%rbp),%xmm2
ff
movsd  -0xc0(%rbp),%xmm1
ff
mulsd  -0xa8(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  -0xc0(%rbp),%xmm0
ff
movsd  -0x98(%rbp),%xmm2
ff
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  -0xb8(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xe8(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
movsd  -0xa8(%rbp),%xmm2
ff
movsd  -0xb0(%rbp),%xmm1
ff
mulsd  -0x98(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
movsd  -0xe0(%rbp),%xmm1
ff
movsd  -0x80(%rbp),%xmm2
movsd  -0xe8(%rbp),%xmm0
ff
mulsd  -0x88(%rbp),%xmm0
ff
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xf0(%rbp),%xmm0
ff
movsd  -0x90(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
xorps  %xmm0,%xmm0
ucomisd -0xf8(%rbp),%xmm0
ff
jbe    15ef <angle_Psi+0x4cf>
mov    -0x48(%rbp),%rax
movsd  0xa25(%rip),%xmm0
subsd  (%rax),%xmm0
mov    -0x48(%rbp),%rax
movsd  %xmm0,(%rax)
add    $0x100,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<angle_Psi>:
push   %rbx
sub    $0xc0,%rsp
mov    %rdi,%rbx
movsd  0xd0(%rsp),%xmm13
movsd  0xe8(%rsp),%xmm9
movsd  0xe0(%rsp),%xmm10
movsd  0xd8(%rsp),%xmm8
subsd  %xmm3,%xmm8
subsd  %xmm4,%xmm10
subsd  %xmm5,%xmm9
movapd %xmm6,%xmm12
subsd  %xmm3,%xmm12
movapd %xmm7,%xmm11
subsd  %xmm4,%xmm11
movapd %xmm13,%xmm3
subsd  %xmm5,%xmm3
subsd  %xmm0,%xmm6
subsd  %xmm1,%xmm7
subsd  %xmm2,%xmm13
movapd 0xe6c(%rip),%xmm4
movapd %xmm3,%xmm14
xorpd  %xmm4,%xmm14
movapd %xmm12,%xmm2
mulsd  %xmm10,%xmm2
mulsd  %xmm3,%xmm10
movapd %xmm11,%xmm1
mulsd  %xmm9,%xmm1
subsd  %xmm10,%xmm1
movapd %xmm12,%xmm5
xorpd  %xmm4,%xmm5
movapd %xmm12,0x90(%rsp)
mulsd  %xmm12,%xmm9
movapd %xmm3,0x80(%rsp)
movapd %xmm3,%xmm0
mulsd  %xmm8,%xmm0
subsd  %xmm9,%xmm0
xorpd  %xmm11,%xmm4
movapd %xmm11,0x70(%rsp)
mulsd  %xmm11,%xmm8
subsd  %xmm8,%xmm2
movapd %xmm0,0x40(%rsp)
mulsd  %xmm0,%xmm0
movapd %xmm1,0x60(%rsp)
mulsd  %xmm1,%xmm1
addsd  %xmm0,%xmm1
movapd %xmm2,0x50(%rsp)
movapd %xmm2,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
xorpd  %xmm3,%xmm3
ucomisd %xmm3,%xmm0
jb     123e <angle_Psi+0x11e>
xorps  %xmm2,%xmm2
sqrtsd %xmm0,%xmm2
jmp    12a3 <angle_Psi+0x183>
movsd  %xmm7,0x8(%rsp)
movsd  %xmm6,0x20(%rsp)
movsd  %xmm13,0x10(%rsp)
movapd %xmm4,0x30(%rsp)
movapd %xmm14,0xb0(%rsp)
movapd %xmm5,0xa0(%rsp)
call   1040 <sqrt@plt>
xorpd  %xmm3,%xmm3
movapd 0xa0(%rsp),%xmm5
movapd 0xb0(%rsp),%xmm14
movapd 0x30(%rsp),%xmm4
movsd  0x10(%rsp),%xmm13
movsd  0x20(%rsp),%xmm6
movsd  0x8(%rsp),%xmm7
movapd %xmm0,%xmm2
mulsd  %xmm7,%xmm14
movapd 0x70(%rsp),%xmm1
mulsd  %xmm13,%xmm1
addsd  %xmm14,%xmm1
mulsd  %xmm13,%xmm5
movapd 0x80(%rsp),%xmm0
mulsd  %xmm6,%xmm0
addsd  %xmm5,%xmm0
mulsd  %xmm6,%xmm4
mulsd  0x90(%rsp),%xmm7
addsd  %xmm4,%xmm7
movapd %xmm0,0x10(%rsp)
mulsd  %xmm0,%xmm0
movapd %xmm1,0x20(%rsp)
mulsd  %xmm1,%xmm1
addsd  %xmm0,%xmm1
movapd %xmm7,%xmm0
mulsd  %xmm7,%xmm0
addsd  %xmm1,%xmm0
ucomisd %xmm3,%xmm0
movsd  %xmm7,0x8(%rsp)
jb     1315 <angle_Psi+0x1f5>
sqrtsd %xmm0,%xmm0
jmp    132c <angle_Psi+0x20c>
movsd  %xmm2,0x30(%rsp)
call   1040 <sqrt@plt>
movsd  0x30(%rsp),%xmm2
movsd  0x8(%rsp),%xmm7
mulsd  %xmm0,%xmm2
movapd 0x10(%rsp),%xmm0
mulsd  0x40(%rsp),%xmm0
movapd 0x60(%rsp),%xmm1
mulsd  0x20(%rsp),%xmm1
addsd  %xmm0,%xmm1
movapd 0x50(%rsp),%xmm0
mulsd  %xmm7,%xmm0
addsd  %xmm1,%xmm0
divsd  %xmm2,%xmm0
call   1030 <acos@plt>
mulsd  0xca5(%rip),%xmm0
divsd  0xca5(%rip),%xmm0
movapd 0x40(%rsp),%xmm4
movapd %xmm4,%xmm1
movsd  0x8(%rsp),%xmm6
mulsd  %xmm6,%xmm1
movapd 0x10(%rsp),%xmm5
movapd %xmm5,%xmm2
movapd 0x50(%rsp),%xmm7
mulsd  %xmm7,%xmm2
subsd  %xmm1,%xmm2
movapd 0x20(%rsp),%xmm3
mulsd  %xmm3,%xmm7
movapd 0x60(%rsp),%xmm1
mulsd  %xmm1,%xmm6
subsd  %xmm7,%xmm6
mulsd  %xmm5,%xmm1
mulsd  %xmm4,%xmm3
subsd  %xmm1,%xmm3
movapd 0x70(%rsp),%xmm1
mulsd  %xmm6,%xmm1
mulsd  0x90(%rsp),%xmm2
addsd  %xmm1,%xmm2
mulsd  0x80(%rsp),%xmm3
addsd  %xmm2,%xmm3
movsd  0xc31(%rip),%xmm1
subsd  %xmm0,%xmm1
xorpd  %xmm2,%xmm2
cmpltsd %xmm2,%xmm3
movapd %xmm3,%xmm2
andnpd %xmm0,%xmm2
andpd  %xmm1,%xmm3
orpd   %xmm2,%xmm3
movlpd %xmm3,(%rbx)
add    $0xc0,%rsp
pop    %rbx
ret

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

LLVM IR (-O2):
define void @angle_Psi(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) {
%14 = fsub double %9, %3
%15 = fsub double %10, %4
%16 = fsub double %11, %5
%17 = fsub double %6, %3
%18 = fsub double %7, %4
%19 = fsub double %8, %5
%20 = fsub double %6, %0
%21 = fsub double %7, %1
%22 = fsub double %8, %2
%23 = fneg double %19
%24 = fmul double %15, %23
%25 = tail call double @llvm.fmuladd.f64(double %18, double %16, double %24)
%26 = fneg double %17
%27 = fmul double %16, %26
%28 = tail call double @llvm.fmuladd.f64(double %19, double %14, double %27)
%29 = fneg double %18
%30 = fmul double %14, %29
%31 = tail call double @llvm.fmuladd.f64(double %17, double %15, double %30)
%32 = fmul double %28, %28
%33 = tail call double @llvm.fmuladd.f64(double %25, double %25, double %32)
%34 = tail call double @llvm.fmuladd.f64(double %31, double %31, double %33)
%35 = tail call double @sqrt(double %34)
%36 = fmul double %21, %23
%37 = tail call double @llvm.fmuladd.f64(double %18, double %22, double %36)
%38 = fmul double %22, %26
%39 = tail call double @llvm.fmuladd.f64(double %19, double %20, double %38)
%40 = fmul double %20, %29
%41 = tail call double @llvm.fmuladd.f64(double %17, double %21, double %40)
%42 = fmul double %39, %39
%43 = tail call double @llvm.fmuladd.f64(double %37, double %37, double %42)
%44 = tail call double @llvm.fmuladd.f64(double %41, double %41, double %43)
%45 = tail call double @sqrt(double %44)
%46 = fmul double %39, %28
%47 = tail call double @llvm.fmuladd.f64(double %25, double %37, double %46)
%48 = tail call double @llvm.fmuladd.f64(double %31, double %41, double %47)
%49 = fmul double %35, %45
%50 = fdiv double %48, %49
%51 = tail call double @acos(double %50)
%52 = fmul double %51, 9.000000e+01
%53 = fdiv double %52, 0x3FF921FB54442D18
%54 = fneg double %41
%55 = fmul double %28, %54
%56 = tail call double @llvm.fmuladd.f64(double %39, double %31, double %55)
%57 = fneg double %37
%58 = fmul double %31, %57
%59 = tail call double @llvm.fmuladd.f64(double %41, double %25, double %58)
%60 = fneg double %39
%61 = fmul double %25, %60
%62 = tail call double @llvm.fmuladd.f64(double %37, double %28, double %61)
%63 = fmul double %18, %59
%64 = tail call double @llvm.fmuladd.f64(double %56, double %17, double %63)
%65 = tail call double @llvm.fmuladd.f64(double %62, double %19, double %64)
%66 = fcmp olt double %65, 0.000000e+00
%67 = fsub double 3.600000e+02, %53
%68 = select i1 %66, double %67, double %53
store double %68, double* %12
ret void
}