#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 cos(double const);
double fabs(double const);
double sqrt(double const);
double Calc_getTriangleSideA(double const inGammaRad,
                             double const inCleftOfAltitudeC,
                             double const inCrightOfAltitudeC) {
  double const c = inCleftOfAltitudeC + inCrightOfAltitudeC,
               d = inCleftOfAltitudeC * inCleftOfAltitudeC -
                   inCrightOfAltitudeC * inCrightOfAltitudeC,
               e = c * c - d, cosGammaRad = cos(inGammaRad),
               f = cosGammaRad * cosGammaRad, g = 2.0 - 2.0 * f,
               h = (e + d * f) / g, i = sqrt(h * h - (e * e) / (2.0 * g)),
               a1Sqr = h + i, a2Sqr = h - i;
  if (a1Sqr >= 0.0) {
    double const a1 = sqrt(a1Sqr);
    if (a2Sqr >= 0) {
      double const a2 = sqrt(a2Sqr),
                   a1c = sqrt(2.0 * a1Sqr + d -
                              2.0 * a1 * cos(inGammaRad) * sqrt(a1Sqr + d)),
                   a2c = sqrt(2.0 * a2Sqr + d -
                              2.0 * a2 * cos(inGammaRad) * sqrt(a2Sqr + d)),
                   deviation1 = fabs(a1c - c), deviation2 = fabs(a2c - c);
      if (deviation2 < deviation1) {
        return a2;
      }
    }
    return a1;
  }
  if (a2Sqr >= 0.0) {
    return sqrt(a2Sqr);
  }
  return 0.0;
}


x86 assembly (clang, -O0):
<Calc_getTriangleSideA>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
movsd  %xmm0,-0x10(%rbp)
movsd  %xmm1,-0x18(%rbp)
movsd  %xmm2,-0x20(%rbp)
movsd  -0x18(%rbp),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm2
movsd  -0x20(%rbp),%xmm1
mulsd  -0x20(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x28(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm2
movsd  -0x30(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x10(%rbp),%xmm0
call   1030 <cos@plt>
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm1
addsd  %xmm1,%xmm1
movsd  0xe1d(%rip),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x38(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
divsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x38(%rbp),%xmm1
mulsd  -0x38(%rbp),%xmm1
movsd  0xdd7(%rip),%xmm3
mulsd  -0x50(%rbp),%xmm3
divsd  %xmm3,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1040 <sqrt@plt>
movsd  %xmm0,-0x60(%rbp)
movsd  -0x58(%rbp),%xmm0
addsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x58(%rbp),%xmm0
subsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x68(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     1474 <Calc_getTriangleSideA+0x354>
movsd  -0x68(%rbp),%xmm0
call   1040 <sqrt@plt>
movsd  %xmm0,-0x78(%rbp)
movsd  -0x70(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     1465 <Calc_getTriangleSideA+0x345>
movsd  -0x70(%rbp),%xmm0
call   1040 <sqrt@plt>
movsd  %xmm0,-0x80(%rbp)
movsd  -0x68(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm1
addsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  0xd23(%rip),%xmm0
mulsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
call   1030 <cos@plt>
movaps %xmm0,%xmm1
movsd  -0xd0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0x68(%rbp),%xmm0
addsd  -0x30(%rbp),%xmm0
call   1040 <sqrt@plt>
movsd  -0xc8(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0xc0(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1040 <sqrt@plt>
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm1
addsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  0xc85(%rip),%xmm0
mulsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
call   1030 <cos@plt>
movaps %xmm0,%xmm1
movsd  -0xb8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
addsd  -0x30(%rbp),%xmm0
call   1040 <sqrt@plt>
movsd  -0xb0(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0xa8(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1040 <sqrt@plt>
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x88(%rbp),%xmm0
ff
subsd  -0x28(%rbp),%xmm0
movaps 0xc05(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
subsd  -0x28(%rbp),%xmm0
movaps 0xbe5(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0xa0(%rbp),%xmm1
ff
movsd  -0x98(%rbp),%xmm0
ff
ucomisd %xmm1,%xmm0
jbe    1460 <Calc_getTriangleSideA+0x340>
movsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    14a2 <Calc_getTriangleSideA+0x382>
jmp    1465 <Calc_getTriangleSideA+0x345>
movsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    14a2 <Calc_getTriangleSideA+0x382>
movsd  -0x70(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     149a <Calc_getTriangleSideA+0x37a>
movsd  -0x70(%rbp),%xmm0
call   1040 <sqrt@plt>
movsd  %xmm0,-0x8(%rbp)
jmp    14a2 <Calc_getTriangleSideA+0x382>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x8(%rbp)
movsd  -0x8(%rbp),%xmm0
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Calc_getTriangleSideA>:
sub    $0x68,%rsp
movapd %xmm1,%xmm3
addsd  %xmm2,%xmm3
mulsd  %xmm2,%xmm2
mulsd  %xmm1,%xmm1
subsd  %xmm2,%xmm1
movsd  %xmm1,(%rsp)
movapd %xmm3,0x50(%rsp)
mulsd  %xmm3,%xmm3
subsd  %xmm1,%xmm3
movapd %xmm3,0x10(%rsp)
movsd  %xmm0,0x48(%rsp)
call   1030 <cos@plt>
mulsd  %xmm0,%xmm0
movsd  (%rsp),%xmm2
mulsd  %xmm0,%xmm2
addsd  %xmm0,%xmm0
movsd  0xe8b(%rip),%xmm1
subsd  %xmm0,%xmm1
movapd 0x10(%rsp),%xmm0
addsd  %xmm0,%xmm2
divsd  %xmm1,%xmm2
addsd  %xmm1,%xmm1
mulsd  %xmm0,%xmm0
divsd  %xmm1,%xmm0
movapd %xmm0,%xmm1
movapd %xmm2,%xmm0
mulsd  %xmm2,%xmm0
subsd  %xmm1,%xmm0
xorpd  %xmm3,%xmm3
ucomisd %xmm3,%xmm0
jb     11b3 <Calc_getTriangleSideA+0x93>
sqrtsd %xmm0,%xmm0
jmp    11c8 <Calc_getTriangleSideA+0xa8>
movsd  %xmm2,0x10(%rsp)
call   1040 <sqrt@plt>
xorpd  %xmm3,%xmm3
movsd  0x10(%rsp),%xmm2
movapd %xmm0,%xmm1
addsd  %xmm2,%xmm1
subsd  %xmm0,%xmm2
ucomisd %xmm3,%xmm1
jae    11fe <Calc_getTriangleSideA+0xde>
xorpd  %xmm3,%xmm3
ucomisd %xmm3,%xmm2
jb     13d1 <Calc_getTriangleSideA+0x2b1>
xorpd  %xmm0,%xmm0
ucomisd %xmm0,%xmm2
jb     125c <Calc_getTriangleSideA+0x13c>
xorps  %xmm3,%xmm3
sqrtsd %xmm2,%xmm3
jmp    13d1 <Calc_getTriangleSideA+0x2b1>
xorpd  %xmm3,%xmm3
ucomisd %xmm3,%xmm1
movsd  %xmm2,0x10(%rsp)
movsd  %xmm1,0x20(%rsp)
jb     123a <Calc_getTriangleSideA+0x11a>
xorps  %xmm0,%xmm0
sqrtsd %xmm1,%xmm0
ucomisd %xmm3,%xmm2
jb     1253 <Calc_getTriangleSideA+0x133>
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm2
movsd  %xmm0,0x40(%rsp)
jb     1269 <Calc_getTriangleSideA+0x149>
xorps  %xmm0,%xmm0
sqrtsd %xmm2,%xmm0
jmp    1272 <Calc_getTriangleSideA+0x152>
movapd %xmm1,%xmm0
call   1040 <sqrt@plt>
xorpd  %xmm3,%xmm3
movsd  0x10(%rsp),%xmm2
ucomisd %xmm3,%xmm2
jae    1221 <Calc_getTriangleSideA+0x101>
movapd %xmm0,%xmm3
jmp    13d1 <Calc_getTriangleSideA+0x2b1>
movapd %xmm2,%xmm0
add    $0x68,%rsp
jmp    1040 <sqrt@plt>
movapd %xmm2,%xmm0
call   1040 <sqrt@plt>
movsd  %xmm0,0x8(%rsp)
movsd  (%rsp),%xmm1
movsd  0x20(%rsp),%xmm0
addsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x38(%rsp)
movsd  0x48(%rsp),%xmm0
call   1030 <cos@plt>
movsd  0x20(%rsp),%xmm1
movapd %xmm0,%xmm2
addsd  (%rsp),%xmm1
ucomisd 0xd5d(%rip),%xmm1
jb     12bb <Calc_getTriangleSideA+0x19b>
sqrtsd %xmm1,%xmm1
jmp    12d4 <Calc_getTriangleSideA+0x1b4>
movapd %xmm1,%xmm0
movsd  %xmm2,0x20(%rsp)
call   1040 <sqrt@plt>
movsd  0x20(%rsp),%xmm2
movapd %xmm0,%xmm1
movsd  0xd2c(%rip),%xmm0
mulsd  0x40(%rsp),%xmm0
mulsd  %xmm2,%xmm0
mulsd  %xmm1,%xmm0
addsd  0x38(%rsp),%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     1300 <Calc_getTriangleSideA+0x1e0>
sqrtsd %xmm0,%xmm0
jmp    1305 <Calc_getTriangleSideA+0x1e5>
call   1040 <sqrt@plt>
movapd %xmm0,0x20(%rsp)
movsd  (%rsp),%xmm0
movsd  0x10(%rsp),%xmm1
movapd %xmm1,%xmm2
addsd  %xmm1,%xmm2
addsd  %xmm0,%xmm2
movsd  %xmm2,0x38(%rsp)
movsd  0x48(%rsp),%xmm0
call   1030 <cos@plt>
movsd  (%rsp),%xmm1
movapd %xmm0,%xmm2
addsd  0x10(%rsp),%xmm1
ucomisd 0xcc6(%rip),%xmm1
jb     1352 <Calc_getTriangleSideA+0x232>
sqrtsd %xmm1,%xmm1
jmp    1369 <Calc_getTriangleSideA+0x249>
movapd %xmm1,%xmm0
movsd  %xmm2,(%rsp)
call   1040 <sqrt@plt>
movsd  (%rsp),%xmm2
movapd %xmm0,%xmm1
movsd  0x8(%rsp),%xmm3
movsd  0xc91(%rip),%xmm0
mulsd  %xmm3,%xmm0
mulsd  %xmm2,%xmm0
mulsd  %xmm1,%xmm0
addsd  0x38(%rsp),%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     1399 <Calc_getTriangleSideA+0x279>
sqrtsd %xmm0,%xmm0
jmp    13a4 <Calc_getTriangleSideA+0x284>
call   1040 <sqrt@plt>
movsd  0x8(%rsp),%xmm3
unpcklpd 0x20(%rsp),%xmm0
movapd 0x50(%rsp),%xmm1
unpcklpd %xmm1,%xmm1
subpd  %xmm1,%xmm0
andpd  0xc60(%rip),%xmm0
pshufd $0xee,%xmm0,%xmm1
ucomisd %xmm0,%xmm1
ja     13d1 <Calc_getTriangleSideA+0x2b1>
movsd  0x40(%rsp),%xmm3
movapd %xmm3,%xmm0
add    $0x68,%rsp
ret

LLVM IR (-O0):
define double @Calc_getTriangleSideA(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
%16 = alloca double
%17 = alloca double
%18 = alloca double
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = alloca double
%23 = alloca double
store double %0, double* %5
store double %1, double* %6
store double %2, double* %7
%24 = load double, double* %6
%25 = load double, double* %7
%26 = fadd double %24, %25
store double %26, double* %8
%27 = load double, double* %6
%28 = load double, double* %6
%29 = load double, double* %7
%30 = load double, double* %7
%31 = fmul double %29, %30
%32 = fneg double %31
%33 = call double @llvm.fmuladd.f64(double %27, double %28, double %32)
store double %33, double* %9
%34 = load double, double* %8
%35 = load double, double* %8
%36 = load double, double* %9
%37 = fneg double %36
%38 = call double @llvm.fmuladd.f64(double %34, double %35, double %37)
store double %38, double* %10
%39 = load double, double* %5
%40 = call double @cos(double %39)
store double %40, double* %11
%41 = load double, double* %11
%42 = load double, double* %11
%43 = fmul double %41, %42
store double %43, double* %12
%44 = load double, double* %12
%45 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %44, double 2.000000e+00)
store double %45, double* %13
%46 = load double, double* %10
%47 = load double, double* %9
%48 = load double, double* %12
%49 = call double @llvm.fmuladd.f64(double %47, double %48, double %46)
%50 = load double, double* %13
%51 = fdiv double %49, %50
store double %51, double* %14
%52 = load double, double* %14
%53 = load double, double* %14
%54 = load double, double* %10
%55 = load double, double* %10
%56 = fmul double %54, %55
%57 = load double, double* %13
%58 = fmul double 2.000000e+00, %57
%59 = fdiv double %56, %58
%60 = fneg double %59
%61 = call double @llvm.fmuladd.f64(double %52, double %53, double %60)
%62 = call double @sqrt(double %61)
store double %62, double* %15
%63 = load double, double* %14
%64 = load double, double* %15
%65 = fadd double %63, %64
store double %65, double* %16
%66 = load double, double* %14
%67 = load double, double* %15
%68 = fsub double %66, %67
store double %68, double* %17
%69 = load double, double* %16
%70 = fcmp oge double %69, 0.000000e+00
br i1 %70, label %71, label %125
71: ; preds = %3
%72 = load double, double* %16
%73 = call double @sqrt(double %72)
store double %73, double* %18
%74 = load double, double* %17
%75 = fcmp oge double %74, 0.000000e+00
br i1 %75, label %76, label %123
76: ; preds = %71
%77 = load double, double* %17
%78 = call double @sqrt(double %77)
store double %78, double* %19
%79 = load double, double* %16
%80 = load double, double* %9
%81 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %79, double %80)
%82 = load double, double* %18
%83 = fmul double 2.000000e+00, %82
%84 = load double, double* %5
%85 = call double @cos(double %84)
%86 = fmul double %83, %85
%87 = load double, double* %16
%88 = load double, double* %9
%89 = fadd double %87, %88
%90 = call double @sqrt(double %89)
%91 = fneg double %86
%92 = call double @llvm.fmuladd.f64(double %91, double %90, double %81)
%93 = call double @sqrt(double %92)
store double %93, double* %20
%94 = load double, double* %17
%95 = load double, double* %9
%96 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %94, double %95)
%97 = load double, double* %19
%98 = fmul double 2.000000e+00, %97
%99 = load double, double* %5
%100 = call double @cos(double %99)
%101 = fmul double %98, %100
%102 = load double, double* %17
%103 = load double, double* %9
%104 = fadd double %102, %103
%105 = call double @sqrt(double %104)
%106 = fneg double %101
%107 = call double @llvm.fmuladd.f64(double %106, double %105, double %96)
%108 = call double @sqrt(double %107)
store double %108, double* %21
%109 = load double, double* %20
%110 = load double, double* %8
%111 = fsub double %109, %110
%112 = call double @llvm.fabs.f64(double %111)
store double %112, double* %22
%113 = load double, double* %21
%114 = load double, double* %8
%115 = fsub double %113, %114
%116 = call double @llvm.fabs.f64(double %115)
store double %116, double* %23
%117 = load double, double* %23
%118 = load double, double* %22
%119 = fcmp olt double %117, %118
br i1 %119, label %120, label %122
120: ; preds = %76
%121 = load double, double* %19
store double %121, double* %4
br label %132
122: ; preds = %76
br label %123
123: ; preds = %122, %71
%124 = load double, double* %18
store double %124, double* %4
br label %132
125: ; preds = %3
%126 = load double, double* %17
%127 = fcmp oge double %126, 0.000000e+00
br i1 %127, label %128, label %131
128: ; preds = %125
%129 = load double, double* %17
%130 = call double @sqrt(double %129)
store double %130, double* %4
br label %132
131: ; preds = %125
store double 0.000000e+00, double* %4
br label %132
132: ; preds = %131, %128, %123, %120
%133 = load double, double* %4
ret double %133
}

LLVM IR (-O2):
define double @Calc_getTriangleSideA(double %0, double %1, double %2) {
%4 = fadd double %1, %2
%5 = fneg double %2
%6 = fmul double %5, %2
%7 = tail call double @llvm.fmuladd.f64(double %1, double %1, double %6)
%8 = fneg double %7
%9 = tail call double @llvm.fmuladd.f64(double %4, double %4, double %8)
%10 = tail call double @cos(double %0)
%11 = fmul double %10, %10
%12 = tail call double @llvm.fmuladd.f64(double %11, double -2.000000e+00, double 2.000000e+00)
%13 = tail call double @llvm.fmuladd.f64(double %7, double %11, double %9)
%14 = fdiv double %13, %12
%15 = fmul double %12, 2.000000e+00
%16 = fneg double %9
%17 = fmul double %9, %16
%18 = fdiv double %17, %15
%19 = tail call double @llvm.fmuladd.f64(double %14, double %14, double %18)
%20 = tail call double @sqrt(double %19)
%21 = fadd double %20, %14
%22 = fsub double %14, %20
%23 = fcmp ult double %21, 0.000000e+00
br i1 %23, label %55, label %24
24: ; preds = %3
%25 = tail call double @sqrt(double %21)
%26 = fcmp ult double %22, 0.000000e+00
br i1 %26, label %54, label %27
27: ; preds = %24
%28 = tail call double @sqrt(double %22)
%29 = tail call double @llvm.fmuladd.f64(double %21, double 2.000000e+00, double %7)
%30 = tail call double @cos(double %0)
%31 = fadd double %7, %21
%32 = tail call double @sqrt(double %31)
%33 = fmul double %25, -2.000000e+00
%34 = fmul double %33, %30
%35 = tail call double @llvm.fmuladd.f64(double %34, double %32, double %29)
%36 = tail call double @sqrt(double %35)
%37 = tail call double @llvm.fmuladd.f64(double %22, double 2.000000e+00, double %7)
%38 = tail call double @cos(double %0)
%39 = fadd double %7, %22
%40 = tail call double @sqrt(double %39)
%41 = fmul double %28, -2.000000e+00
%42 = fmul double %41, %38
%43 = tail call double @llvm.fmuladd.f64(double %42, double %40, double %37)
%44 = tail call double @sqrt(double %43)
%45 = insertelement <2 x double> poison, double %44, i64 0
%46 = insertelement <2 x double> %45, double %36, i64 1
%47 = insertelement <2 x double> poison, double %4, i64 0
%48 = shufflevector <2 x double> %47, <2 x double> poison, <2 x i32> zeroinitializer
%49 = fsub <2 x double> %46, %48
%50 = call <2 x double> @llvm.fabs.v2f64(<2 x double> %49)
%51 = extractelement <2 x double> %50, i64 0
%52 = extractelement <2 x double> %50, i64 1
%53 = fcmp olt double %51, %52
br i1 %53, label %59, label %54
54: ; preds = %27, %24
br label %59
55: ; preds = %3
%56 = fcmp ult double %22, 0.000000e+00
br i1 %56, label %59, label %57
57: ; preds = %55
%58 = tail call double @sqrt(double %22)
br label %59
59: ; preds = %55, %54, %27, %57
%60 = phi double [ %58, %57 ], [ %25, %54 ], [ %28, %27 ], [ 0.000000e+00, %55 ]
ret double %60
}