double AsplitL(double *b, double *eu, double *ev, double *eg) {
  double g, D, Dg, a, c;
  a = eu[0] * ev[1] * eg[2] + ev[0] * eg[1] * eu[2] + eg[0] * eu[1] * ev[2];
  c = eg[0] * ev[1] * eu[2] + eu[0] * eg[1] * ev[2] + ev[0] * eu[1] * eg[2];
  D = a - c;
  a = eu[0] * ev[1] * b[2] + ev[0] * b[1] * eu[2] + b[0] * eu[1] * ev[2];
  c = b[0] * ev[1] * eu[2] + eu[0] * b[1] * ev[2] + ev[0] * eu[1] * b[2];
  Dg = a - c;
  g = Dg / D;
  return (g);
}


x86 assembly (clang, -O0):
<AsplitL>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x18(%rbp),%rax
mulsd  0x8(%rax),%xmm1
mov    -0x20(%rbp),%rax
movsd  0x10(%rax),%xmm2
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mov    -0x10(%rbp),%rax
mulsd  0x10(%rax),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  0x10(%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x18(%rbp),%rax
mulsd  0x8(%rax),%xmm1
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mov    -0x18(%rbp),%rax
mulsd  0x10(%rax),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  0x10(%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x40(%rbp),%xmm0
subsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x18(%rbp),%rax
mulsd  0x8(%rax),%xmm1
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm2
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x8(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mov    -0x10(%rbp),%rax
mulsd  0x10(%rax),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  0x10(%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x18(%rbp),%rax
mulsd  0x8(%rax),%xmm1
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x8(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mov    -0x18(%rbp),%rax
mulsd  0x10(%rax),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x40(%rbp),%xmm0
subsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
divsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
pop    %rbp
ret

x86 assembly (clang, -O2):
<AsplitL>:
movsd  (%rdx),%xmm1
movsd  0x8(%rdx),%xmm9
movsd  (%rsi),%xmm4
movsd  0x8(%rsi),%xmm0
movapd %xmm4,%xmm2
mulsd  %xmm9,%xmm2
movapd %xmm1,%xmm5
mulsd  %xmm0,%xmm5
unpcklpd %xmm1,%xmm1
movsd  (%rdi),%xmm3
movsd  0x8(%rdi),%xmm6
movhpd 0x8(%rcx),%xmm6
movsd  0x10(%rdi),%xmm8
mulpd  %xmm6,%xmm1
movsd  0x10(%rsi),%xmm7
unpcklpd %xmm7,%xmm7
mulpd  %xmm7,%xmm1
unpcklpd %xmm2,%xmm2
movhpd 0x10(%rcx),%xmm8
mulpd  %xmm8,%xmm2
addpd  %xmm1,%xmm2
movsd  (%rcx),%xmm10
movapd %xmm3,%xmm1
unpcklpd %xmm0,%xmm1
unpcklpd %xmm10,%xmm0
mulpd  %xmm1,%xmm0
movsd  0x10(%rdx),%xmm1
unpcklpd %xmm1,%xmm1
mulpd  %xmm1,%xmm0
addpd  %xmm2,%xmm0
unpcklpd %xmm9,%xmm9
unpcklpd %xmm10,%xmm3
mulpd  %xmm9,%xmm3
unpcklpd %xmm4,%xmm4
mulpd  %xmm6,%xmm4
mulpd  %xmm1,%xmm4
mulpd  %xmm7,%xmm3
addpd  %xmm4,%xmm3
unpcklpd %xmm5,%xmm5
mulpd  %xmm8,%xmm5
addpd  %xmm3,%xmm5
subpd  %xmm5,%xmm0
movapd %xmm0,%xmm1
unpckhpd %xmm0,%xmm1
divsd  %xmm1,%xmm0
ret

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

LLVM IR (-O2):
define double @AsplitL(double* nocapture %0, double* nocapture %1, double* nocapture %2, double* nocapture %3) {
%5 = load double, double* %1
%6 = getelementptr inbounds double, double* %2, i64 1
%7 = load double, double* %6
%8 = fmul double %5, %7
%9 = getelementptr inbounds double, double* %3, i64 2
%10 = load double, double* %9
%11 = load double, double* %2
%12 = getelementptr inbounds double, double* %3, i64 1
%13 = load double, double* %12
%14 = getelementptr inbounds double, double* %1, i64 2
%15 = load double, double* %14
%16 = load double, double* %3
%17 = getelementptr inbounds double, double* %1, i64 1
%18 = load double, double* %17
%19 = getelementptr inbounds double, double* %2, i64 2
%20 = load double, double* %19
%21 = fmul double %11, %18
%22 = getelementptr inbounds double, double* %0, i64 2
%23 = load double, double* %22
%24 = getelementptr inbounds double, double* %0, i64 1
%25 = load double, double* %24
%26 = insertelement <2 x double> poison, double %11, i64 0
%27 = shufflevector <2 x double> %26, <2 x double> poison, <2 x i32> zeroinitializer
%28 = insertelement <2 x double> poison, double %25, i64 0
%29 = insertelement <2 x double> %28, double %13, i64 1
%30 = fmul <2 x double> %27, %29
%31 = insertelement <2 x double> poison, double %15, i64 0
%32 = shufflevector <2 x double> %31, <2 x double> poison, <2 x i32> zeroinitializer
%33 = fmul <2 x double> %32, %30
%34 = insertelement <2 x double> poison, double %8, i64 0
%35 = shufflevector <2 x double> %34, <2 x double> poison, <2 x i32> zeroinitializer
%36 = insertelement <2 x double> poison, double %23, i64 0
%37 = insertelement <2 x double> %36, double %10, i64 1
%38 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %35, <2 x double> %37, <2 x double> %33)
%39 = load double, double* %0
%40 = insertelement <2 x double> poison, double %18, i64 0
%41 = insertelement <2 x double> %40, double %16, i64 1
%42 = insertelement <2 x double> poison, double %39, i64 0
%43 = insertelement <2 x double> %42, double %18, i64 1
%44 = fmul <2 x double> %41, %43
%45 = insertelement <2 x double> poison, double %20, i64 0
%46 = shufflevector <2 x double> %45, <2 x double> poison, <2 x i32> zeroinitializer
%47 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %44, <2 x double> %46, <2 x double> %38)
%48 = insertelement <2 x double> poison, double %7, i64 0
%49 = shufflevector <2 x double> %48, <2 x double> poison, <2 x i32> zeroinitializer
%50 = insertelement <2 x double> %42, double %16, i64 1
%51 = fmul <2 x double> %49, %50
%52 = insertelement <2 x double> poison, double %5, i64 0
%53 = shufflevector <2 x double> %52, <2 x double> poison, <2 x i32> zeroinitializer
%54 = fmul <2 x double> %53, %29
%55 = fmul <2 x double> %46, %54
%56 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %51, <2 x double> %32, <2 x double> %55)
%57 = insertelement <2 x double> poison, double %21, i64 0
%58 = shufflevector <2 x double> %57, <2 x double> poison, <2 x i32> zeroinitializer
%59 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %58, <2 x double> %37, <2 x double> %56)
%60 = fsub <2 x double> %47, %59
%61 = extractelement <2 x double> %60, i64 0
%62 = extractelement <2 x double> %60, i64 1
%63 = fdiv double %61, %62
ret double %63
}