#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 */
double const fabs(double);
double hypot(double, double);
double sqrt(double);
void eigen_symm_2d(double z[], double **V, double **X) {
  double a = X[0][0];
  double b = X[0][1];
  double c = X[1][1];
  const double epsilon = 1e-16;
  if (b * b < epsilon * fabs(a * c)) {
    if (fabs(a) < fabs(c)) {
      z[0] = a;
      z[1] = c;
      V[0][0] = V[1][1] = 1.0;
      V[0][1] = V[1][0] = 0.0;
    } else {
      z[0] = c;
      z[1] = a;
      V[0][0] = V[1][1] = 0.0;
      V[0][1] = V[1][0] = 1.0;
    }
    return;
  }
  double s = sqrt((a + c) * (a + c) + 4. * (b * b - a * c));
  double z1 = (a + c + s) / 2.;
  double z2 = (a + c - s) / 2.;
  if (fabs(z1) < fabs(z2)) {
    z[0] = z1;
    z[1] = z2;
  } else {
    z[1] = z1;
    z[0] = z2;
  }
  double d0 = hypot(b, z[0] - a);
  double d1 = hypot(b, z[1] - a);
  V[0][0] = b / d0;
  V[0][1] = (z[0] - a) / d0;
  V[1][0] = b / d1;
  V[1][1] = (z[1] - a) / d1;
}


x86 assembly (clang, -O0):
<eigen_symm_2d>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x18(%rbp),%rax
mov    (%rax),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x18(%rbp),%rax
mov    (%rax),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x18(%rbp),%rax
mov    0x8(%rax),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xe7e(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x20(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
call   1030 <fabs@plt>
movsd  -0x68(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  0xe4b(%rip),%xmm0
mulsd  %xmm2,%xmm0
ucomisd %xmm1,%xmm0
jbe    12b7 <eigen_symm_2d+0x187>
movsd  -0x20(%rbp),%xmm0
call   1030 <fabs@plt>
movsd  %xmm0,-0x70(%rbp)
movsd  -0x30(%rbp),%xmm0
call   1030 <fabs@plt>
movsd  -0x70(%rbp),%xmm1
ucomisd %xmm1,%xmm0
jbe    1251 <eigen_symm_2d+0x121>
movsd  -0x20(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x30(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  0xe02(%rip),%xmm0
movsd  %xmm0,0x8(%rax)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  0xdee(%rip),%xmm0
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x8(%rax)
jmp    12b2 <eigen_symm_2d+0x182>
movsd  -0x30(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x20(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x8(%rax)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  0xd7e(%rip),%xmm0
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  0xd6b(%rip),%xmm0
movsd  %xmm0,0x8(%rax)
jmp    1461 <eigen_symm_2d+0x331>
movsd  -0x20(%rbp),%xmm0
addsd  -0x30(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm2
addsd  -0x30(%rbp),%xmm2
movsd  -0x28(%rbp),%xmm3
movsd  -0x28(%rbp),%xmm4
movsd  -0x20(%rbp),%xmm1
mulsd  -0x30(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm4,%xmm3
addsd  %xmm1,%xmm3
movsd  0xd0a(%rip),%xmm1
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,-0x40(%rbp)
movsd  -0x20(%rbp),%xmm0
addsd  -0x30(%rbp),%xmm0
addsd  -0x40(%rbp),%xmm0
movsd  0xcd5(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x20(%rbp),%xmm0
addsd  -0x30(%rbp),%xmm0
subsd  -0x40(%rbp),%xmm0
movsd  0xcb5(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x48(%rbp),%xmm0
call   1030 <fabs@plt>
movsd  %xmm0,-0x78(%rbp)
movsd  -0x50(%rbp),%xmm0
call   1030 <fabs@plt>
movsd  -0x78(%rbp),%xmm1
ucomisd %xmm1,%xmm0
jbe    13a4 <eigen_symm_2d+0x274>
movsd  -0x48(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x8(%rax)
jmp    13bf <eigen_symm_2d+0x28f>
movsd  -0x48(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x28(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm1
subsd  -0x20(%rbp),%xmm1
call   1040 <hypot@plt>
movsd  %xmm0,-0x58(%rbp)
movsd  -0x28(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm1
subsd  -0x20(%rbp),%xmm1
call   1040 <hypot@plt>
movsd  %xmm0,-0x60(%rbp)
movsd  -0x28(%rbp),%xmm0
divsd  -0x58(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,(%rax)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
subsd  -0x20(%rbp),%xmm0
divsd  -0x58(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0x28(%rbp),%xmm0
divsd  -0x60(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,(%rax)
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm0
subsd  -0x20(%rbp),%xmm0
divsd  -0x60(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x8(%rax)
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<eigen_symm_2d>:
push   %r14
push   %rbx
sub    $0x38,%rsp
mov    %rsi,%r14
mov    %rdi,%rbx
mov    (%rdx),%rax
mov    0x8(%rdx),%rcx
movsd  (%rax),%xmm3
movsd  0x8(%rax),%xmm4
movsd  0x8(%rcx),%xmm5
movapd %xmm4,%xmm1
mulsd  %xmm4,%xmm1
movapd %xmm3,%xmm0
mulsd  %xmm5,%xmm0
movapd 0xea6(%rip),%xmm2
andpd  %xmm0,%xmm2
mulsd  0xeaa(%rip),%xmm2
ucomisd %xmm1,%xmm2
jbe    11b7 <eigen_symm_2d+0x97>
movapd 0xe8c(%rip),%xmm0
movapd %xmm3,%xmm1
andpd  %xmm0,%xmm1
andpd  %xmm5,%xmm0
ucomisd %xmm1,%xmm0
jbe    11ef <eigen_symm_2d+0xcf>
movsd  %xmm3,(%rbx)
movsd  %xmm5,0x8(%rbx)
mov    0x8(%r14),%rcx
movabs $0x3ff0000000000000,%rdx
mov    %rdx,0x8(%rcx)
mov    (%r14),%rax
mov    %rdx,(%rax)
movq   $0x0,(%rcx)
xorpd  %xmm1,%xmm1
jmp    1311 <eigen_symm_2d+0x1f1>
addsd  %xmm3,%xmm5
subsd  %xmm0,%xmm1
mulsd  0xe51(%rip),%xmm1
movapd %xmm5,%xmm0
mulsd  %xmm5,%xmm0
addsd  %xmm1,%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
movapd %xmm3,0x20(%rsp)
movsd  %xmm4,0x8(%rsp)
jb     1228 <eigen_symm_2d+0x108>
sqrtsd %xmm0,%xmm0
jmp    1245 <eigen_symm_2d+0x125>
movsd  %xmm5,(%rbx)
movsd  %xmm3,0x8(%rbx)
mov    0x8(%r14),%rcx
movq   $0x0,0x8(%rcx)
mov    (%r14),%rax
movq   $0x0,(%rax)
movabs $0x3ff0000000000000,%rdx
mov    %rdx,(%rcx)
movsd  0xe05(%rip),%xmm1
jmp    1311 <eigen_symm_2d+0x1f1>
movapd %xmm5,0x10(%rsp)
call   1040 <sqrt@plt>
movapd 0x10(%rsp),%xmm5
movsd  0x8(%rsp),%xmm4
movapd 0x20(%rsp),%xmm3
movapd %xmm5,%xmm2
addsd  %xmm0,%xmm2
movsd  0xdcb(%rip),%xmm1
mulsd  %xmm1,%xmm2
subsd  %xmm0,%xmm5
mulsd  %xmm1,%xmm5
movapd 0xd97(%rip),%xmm0
movapd %xmm2,%xmm1
andpd  %xmm0,%xmm1
andpd  %xmm5,%xmm0
ucomisd %xmm1,%xmm0
cmpltsd %xmm0,%xmm1
movapd %xmm1,%xmm0
andpd  %xmm2,%xmm0
andnpd %xmm5,%xmm1
orpd   %xmm0,%xmm1
ja     1294 <eigen_symm_2d+0x174>
movapd %xmm2,%xmm5
movlpd %xmm1,(%rbx)
movsd  %xmm5,0x8(%rbx)
subsd  %xmm3,%xmm1
movapd %xmm4,%xmm0
call   1030 <hypot@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0x8(%rbx),%xmm1
subsd  0x20(%rsp),%xmm1
movsd  0x8(%rsp),%xmm0
call   1030 <hypot@plt>
movsd  0x8(%rsp),%xmm3
movapd %xmm3,%xmm1
movsd  0x10(%rsp),%xmm4
divsd  %xmm4,%xmm1
mov    (%r14),%rax
movsd  %xmm1,(%rax)
movsd  (%rbx),%xmm1
movapd 0x20(%rsp),%xmm2
subsd  %xmm2,%xmm1
divsd  %xmm4,%xmm1
movsd  %xmm1,0x8(%rax)
divsd  %xmm0,%xmm3
mov    0x8(%r14),%rax
movsd  %xmm3,(%rax)
movsd  0x8(%rbx),%xmm1
subsd  %xmm2,%xmm1
divsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rax)
add    $0x38,%rsp
pop    %rbx
pop    %r14
ret

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

LLVM IR (-O2):
define void @eigen_symm_2d(double* nocapture %0, double** nocapture %1, double** nocapture %2) {
%4 = load double*, double** %2
%5 = load double, double* %4
%6 = getelementptr inbounds double, double* %4, i64 1
%7 = load double, double* %6
%8 = getelementptr inbounds double*, double** %2, i64 1
%9 = load double*, double** %8
%10 = getelementptr inbounds double, double* %9, i64 1
%11 = load double, double* %10
%12 = fmul double %7, %7
%13 = fmul double %5, %11
%14 = tail call double @llvm.fabs.f64(double %13)
%15 = fmul double %14, 0x3C9CD2B297D889BC
%16 = fcmp olt double %12, %15
br i1 %16, label %17, label %33
17: ; preds = %3
%18 = tail call double @llvm.fabs.f64(double %5)
%19 = tail call double @llvm.fabs.f64(double %11)
%20 = fcmp olt double %18, %19
br i1 %20, label %21, label %27
21: ; preds = %17
store double %5, double* %0
%22 = getelementptr inbounds double, double* %0, i64 1
store double %11, double* %22
%23 = getelementptr inbounds double*, double** %1, i64 1
%24 = load double*, double** %23
%25 = getelementptr inbounds double, double* %24, i64 1
store double 1.000000e+00, double* %25
%26 = load double*, double** %1
store double 1.000000e+00, double* %26
store double 0.000000e+00, double* %24
br label %67
27: ; preds = %17
store double %11, double* %0
%28 = getelementptr inbounds double, double* %0, i64 1
store double %5, double* %28
%29 = getelementptr inbounds double*, double** %1, i64 1
%30 = load double*, double** %29
%31 = getelementptr inbounds double, double* %30, i64 1
store double 0.000000e+00, double* %31
%32 = load double*, double** %1
store double 0.000000e+00, double* %32
store double 1.000000e+00, double* %30
br label %67
33: ; preds = %3
%34 = fadd double %5, %11
%35 = fneg double %13
%36 = tail call double @llvm.fmuladd.f64(double %7, double %7, double %35)
%37 = fmul double %36, 4.000000e+00
%38 = tail call double @llvm.fmuladd.f64(double %34, double %34, double %37)
%39 = tail call double @sqrt(double %38)
%40 = fadd double %34, %39
%41 = fmul double %40, 5.000000e-01
%42 = fsub double %34, %39
%43 = fmul double %42, 5.000000e-01
%44 = tail call double @llvm.fabs.f64(double %41)
%45 = tail call double @llvm.fabs.f64(double %43)
%46 = fcmp olt double %44, %45
%47 = select i1 %46, double %41, double %43
%48 = select i1 %46, double %43, double %41
store double %47, double* %0
%49 = getelementptr inbounds double, double* %0, i64 1
store double %48, double* %49
%50 = fsub double %47, %5
%51 = tail call double @hypot(double %7, double %50)
%52 = load double, double* %49
%53 = fsub double %52, %5
%54 = tail call double @hypot(double %7, double %53)
%55 = fdiv double %7, %51
%56 = load double*, double** %1
store double %55, double* %56
%57 = load double, double* %0
%58 = fsub double %57, %5
%59 = fdiv double %58, %51
%60 = getelementptr inbounds double, double* %56, i64 1
store double %59, double* %60
%61 = fdiv double %7, %54
%62 = getelementptr inbounds double*, double** %1, i64 1
%63 = load double*, double** %62
store double %61, double* %63
%64 = load double, double* %49
%65 = fsub double %64, %5
%66 = fdiv double %65, %54
br label %67
67: ; preds = %21, %27, %33
%68 = phi double* [ %26, %21 ], [ %32, %27 ], [ %63, %33 ]
%69 = phi double [ 0.000000e+00, %21 ], [ 1.000000e+00, %27 ], [ %66, %33 ]
%70 = getelementptr inbounds double, double* %68, i64 1
store double %69, double* %70
ret void
}