long double sind(long double x) {
  long int n;
  long double xn;
  long double x_int, x_fract;
  long double f, g, result;
  long double sign = 1.0L;
  if (x < 0.0L) {
    sign = -sign;
    x = -x;
  }
  if (x > (843314852.0L)) {
    return 0.0L;
  }
  x_int = ((long double)(((long)(x))));
  x_fract = ((long double)(x) - (long double)(x_int));
  n = ((long)((
      (long double)(((long double)(x) *
                     (long double)((0.31830988618379067153776752674503L)))) +
      (long double)(0.5))));
  xn = ((long double)(n));
  f = ((long double)(x_int) -
       (long double)(((long double)(xn) * (long double)((3.1416015625L)))));
  f = ((long double)(f) + (long double)(x_fract));
  f = ((long double)(f) -
       (long double)(((long double)(xn) *
                      (long double)((-8.90891033122898079454898834228e-6L)))));
  f = ((long double)(f) -
       (long double)(((long double)(xn) *
                      (long double)((1.2446744343793226784516935341e-13L)))));
  if (n & 0x0001) {
    sign = -sign;
  }
  if (f < 0.0L) {
    g = -f;
  } else {
    g = f;
  }
  if (g < (+1.490116119385e-8L)) {
    result = f;
    if (sign < 0.0L) {
      result = -result;
    }
    return result;
  }
  g = ((long double)(f) * (long double)(f));
  result = ((long double)(g) * (long double)((+2.7204790957888846175e-15L)));
  result =
      ((long double)(result) + (long double)((-7.6429178068910467734e-13L)));
  result = ((long double)(result) * (long double)(g));
  result =
      ((long double)(result) + (long double)((+1.6058936490371589114e-10L)));
  result = ((long double)(result) * (long double)(g));
  result =
      ((long double)(result) + (long double)((-2.5052106798274584544e-8L)));
  result = ((long double)(result) * (long double)(g));
  result =
      ((long double)(result) + (long double)((+2.7557319210152756119e-6L)));
  result = ((long double)(result) * (long double)(g));
  result =
      ((long double)(result) + (long double)((-1.9841269841201840457e-4L)));
  result = ((long double)(result) * (long double)(g));
  result =
      ((long double)(result) + (long double)((+8.3333333333331650314e-3L)));
  result = ((long double)(result) * (long double)(g));
  result =
      ((long double)(result) + (long double)((-1.6666666666666665052e-1L)));
  result = ((long double)(result) * (long double)(g));
  result = ((long double)(result) * (long double)(f));
  result = ((long double)(result) + (long double)(f));
  if (sign < 0.0L) {
    result = -result;
  }
  return (result);
}


x86 assembly (clang, -O0):
<sind>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
fldt   0x10(%rbp)
fstpt  -0x20(%rbp)
fld1
fstpt  -0xa0(%rbp)
fldt   -0x20(%rbp)
fldz
fucomip %st(1),%st
fstp   %st(0)
jbe    1140 <sind+0x40>
jmp    112a <sind+0x2a>
fldt   -0xa0(%rbp)
fchs
fstpt  -0xa0(%rbp)
fldt   -0x20(%rbp)
fchs
fstpt  -0x20(%rbp)
fldt   -0x20(%rbp)
fldl   0xeb7(%rip)
fxch   %st(1)
fucomip %st(1),%st
fstp   %st(0)
jbe    1164 <sind+0x64>
jmp    115a <sind+0x5a>
fldz
fstpt  -0x10(%rbp)
jmp    145c <sind+0x35c>
fldt   -0x20(%rbp)
fnstcw -0xc2(%rbp)
movzwl -0xc2(%rbp),%eax
or     $0xc00,%eax
mov    %ax,-0xc4(%rbp)
fldcw  -0xc4(%rbp)
fistpll -0xc0(%rbp)
fldcw  -0xc2(%rbp)
mov    -0xc0(%rbp),%rax
mov    %rax,-0xb8(%rbp)
fildll -0xb8(%rbp)
fstpt  -0x50(%rbp)
fldt   -0x20(%rbp)
fldt   -0x50(%rbp)
fsubrp %st,%st(1)
fstpt  -0x60(%rbp)
fldt   -0x20(%rbp)
fldt   0xe53(%rip)
fmulp  %st,%st(1)
flds   0xefb(%rip)
faddp  %st,%st(1)
fnstcw -0xc6(%rbp)
movzwl -0xc6(%rbp),%eax
or     $0xc00,%eax
mov    %ax,-0xc8(%rbp)
fldcw  -0xc8(%rbp)
fistpll -0xb0(%rbp)
fldcw  -0xc6(%rbp)
mov    -0xb0(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
mov    %rax,-0xa8(%rbp)
fildll -0xa8(%rbp)
fstpt  -0x40(%rbp)
fldt   -0x50(%rbp)
fldt   -0x40(%rbp)
flds   0xea7(%rip)
fmulp  %st,%st(1)
faddp  %st,%st(1)
fstpt  -0x70(%rbp)
fldt   -0x70(%rbp)
fldt   -0x60(%rbp)
faddp  %st,%st(1)
fstpt  -0x70(%rbp)
fldt   -0x70(%rbp)
fldt   -0x40(%rbp)
fldl   0xdcd(%rip)
fmulp  %st,%st(1)
faddp  %st,%st(1)
fstpt  -0x70(%rbp)
fldt   -0x70(%rbp)
fldt   -0x40(%rbp)
fldt   0xdd2(%rip)
fmulp  %st,%st(1)
faddp  %st,%st(1)
fstpt  -0x70(%rbp)
mov    -0x28(%rbp),%rax
and    $0x1,%rax
cmp    $0x0,%rax
je     1275 <sind+0x175>
fldt   -0xa0(%rbp)
fchs
fstpt  -0xa0(%rbp)
fldt   -0x70(%rbp)
fldz
fucomip %st(1),%st
fstp   %st(0)
jbe    1296 <sind+0x196>
jmp    1289 <sind+0x189>
fldt   -0x70(%rbp)
fchs
fstpt  -0x80(%rbp)
jmp    129c <sind+0x19c>
fldt   -0x70(%rbp)
fstpt  -0x80(%rbp)
fldt   -0x80(%rbp)
fldt   0xd8b(%rip)
fucomip %st(1),%st
fstp   %st(0)
jbe    12f0 <sind+0x1f0>
jmp    12b4 <sind+0x1b4>
fldt   -0x70(%rbp)
fstpt  -0x90(%rbp)
fldt   -0xa0(%rbp)
fldz
fucomip %st(1),%st
fstp   %st(0)
jbe    12e2 <sind+0x1e2>
jmp    12d4 <sind+0x1d4>
fldt   -0x90(%rbp)
fchs
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fstpt  -0x10(%rbp)
jmp    145c <sind+0x35c>
fldt   -0x70(%rbp)
fmul   %st,%st(0)
fstpt  -0x80(%rbp)
fldt   -0x80(%rbp)
fldt   0xd3f(%rip)
fmulp  %st,%st(1)
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fldt   0xd3b(%rip)
faddp  %st,%st(1)
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fldt   -0x80(%rbp)
fmulp  %st,%st(1)
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fldt   0xd26(%rip)
faddp  %st,%st(1)
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fldt   -0x80(%rbp)
fmulp  %st,%st(1)
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fldt   0xd11(%rip)
faddp  %st,%st(1)
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fldt   -0x80(%rbp)
fmulp  %st,%st(1)
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fldt   0xcfc(%rip)
faddp  %st,%st(1)
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fldt   -0x80(%rbp)
fmulp  %st,%st(1)
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fldt   0xce7(%rip)
faddp  %st,%st(1)
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fldt   -0x80(%rbp)
fmulp  %st,%st(1)
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fldt   0xcd2(%rip)
faddp  %st,%st(1)
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fldt   -0x80(%rbp)
fmulp  %st,%st(1)
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fldt   0xcbd(%rip)
faddp  %st,%st(1)
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fldt   -0x80(%rbp)
fmulp  %st,%st(1)
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fldt   -0x70(%rbp)
fmulp  %st,%st(1)
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fldt   -0x70(%rbp)
faddp  %st,%st(1)
fstpt  -0x90(%rbp)
fldt   -0xa0(%rbp)
fldz
fucomip %st(1),%st
fstp   %st(0)
jbe    1453 <sind+0x353>
jmp    1445 <sind+0x345>
fldt   -0x90(%rbp)
fchs
fstpt  -0x90(%rbp)
fldt   -0x90(%rbp)
fstpt  -0x10(%rbp)
fldt   -0x10(%rbp)
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<sind>:
fldt   0x8(%rsp)
fldz
fucomi %st(1),%st
fld    %st(1)
fchs
fxch   %st(2)
fcmovnbe %st(2),%st
fstp   %st(2)
fld1
fld    %st(0)
fchs
fxch   %st(1)
fcmovnbe %st(1),%st
fstp   %st(1)
fldl   0xedc(%rip)
fxch   %st(3)
fucomi %st(3),%st
fstp   %st(3)
ja     1260 <sind+0x160>
fstp   %st(1)
fnstcw -0x26(%rsp)
movzwl -0x26(%rsp),%eax
or     $0xc00,%eax
mov    %ax,-0x22(%rsp)
fldcw  -0x22(%rsp)
fld    %st(1)
fistpll -0x20(%rsp)
fldcw  -0x26(%rsp)
mov    -0x20(%rsp),%rax
mov    %rax,-0x18(%rsp)
fildll -0x18(%rsp)
fld    %st(2)
fsub   %st(1),%st
fldt   0xea5(%rip)
fmulp  %st,%st(4)
fxch   %st(3)
fadds  0xf4b(%rip)
fnstcw -0x28(%rsp)
movzwl -0x28(%rsp),%eax
or     $0xc00,%eax
mov    %ax,-0x24(%rsp)
fldcw  -0x24(%rsp)
fistpll -0x10(%rsp)
fldcw  -0x28(%rsp)
mov    -0x10(%rsp),%rax
mov    %rax,-0x8(%rsp)
fildll -0x8(%rsp)
fld    %st(0)
fmuls  0xf1a(%rip)
faddp  %st,%st(2)
fld    %st(0)
fmull  0xe54(%rip)
fxch   %st(4)
faddp  %st,%st(2)
fxch   %st(1)
faddp  %st,%st(3)
fldt   0xe5e(%rip)
test   $0x1,%al
fld    %st(2)
fchs
fcmove %st(3),%st
fstp   %st(3)
fmulp  %st,%st(1)
faddp  %st,%st(2)
fldz
fucomip %st(2),%st
fld    %st(1)
fchs
fld    %st(2)
fcmovnbe %st(1),%st
fldt   0xe4e(%rip)
fucomip %st(1),%st
fstp   %st(0)
jbe    11f0 <sind+0xf0>
fldz
fucomip %st(2),%st
fstp   %st(1)
jmp    1252 <sind+0x152>
fstp   %st(0)
fld    %st(1)
fmul   %st(2),%st
fldt   0xe44(%rip)
fmul   %st(1),%st
fldt   0xe4c(%rip)
faddp  %st,%st(1)
fmul   %st(1),%st
fldt   0xe52(%rip)
faddp  %st,%st(1)
fmul   %st(1),%st
fldt   0xe58(%rip)
faddp  %st,%st(1)
fmul   %st(1),%st
fldt   0xe5e(%rip)
faddp  %st,%st(1)
fmul   %st(1),%st
fldt   0xe64(%rip)
faddp  %st,%st(1)
fmul   %st(1),%st
fldt   0xe6a(%rip)
faddp  %st,%st(1)
fmul   %st(1),%st
fldt   0xe70(%rip)
faddp  %st,%st(1)
fmulp  %st,%st(1)
fmul   %st(2),%st
faddp  %st,%st(2)
fldz
fucomip %st(1),%st
fstp   %st(0)
fld    %st(0)
fchs
fxch   %st(1)
fcmovnbe %st(1),%st
fstp   %st(1)
fldz
fldz
fxch   %st(2)
fxch   %st(1)
fstp   %st(0)
fstp   %st(1)
ret

LLVM IR (-O0):
define x86_fp80 @sind(x86_fp80 %0) {
%2 = alloca x86_fp80
%3 = alloca x86_fp80
%4 = alloca i64
%5 = alloca x86_fp80
%6 = alloca x86_fp80
%7 = alloca x86_fp80
%8 = alloca x86_fp80
%9 = alloca x86_fp80
%10 = alloca x86_fp80
%11 = alloca x86_fp80
store x86_fp80 %0, x86_fp80* %3
store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %11
%12 = load x86_fp80, x86_fp80* %3
%13 = fcmp olt x86_fp80 %12, 0xK00000000000000000000
br i1 %13, label %14, label %19
14: ; preds = %1
%15 = load x86_fp80, x86_fp80* %11
%16 = fneg x86_fp80 %15
store x86_fp80 %16, x86_fp80* %11
%17 = load x86_fp80, x86_fp80* %3
%18 = fneg x86_fp80 %17
store x86_fp80 %18, x86_fp80* %3
br label %19
19: ; preds = %14, %1
%20 = load x86_fp80, x86_fp80* %3
%21 = fcmp ogt x86_fp80 %20, 0xK401CC90FDA9000000000
br i1 %21, label %22, label %23
22: ; preds = %19
store x86_fp80 0xK00000000000000000000, x86_fp80* %2
br label %130
23: ; preds = %19
%24 = load x86_fp80, x86_fp80* %3
%25 = fptosi x86_fp80 %24 to i64
%26 = sitofp i64 %25 to x86_fp80
store x86_fp80 %26, x86_fp80* %6
%27 = load x86_fp80, x86_fp80* %3
%28 = load x86_fp80, x86_fp80* %6
%29 = fsub x86_fp80 %27, %28
store x86_fp80 %29, x86_fp80* %7
%30 = load x86_fp80, x86_fp80* %3
%31 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %30, x86_fp80 0xK3FFDA2F9836E4E44152A, x86_fp80 0xK3FFE8000000000000000)
%32 = fptosi x86_fp80 %31 to i64
store i64 %32, i64* %4
%33 = load i64, i64* %4
%34 = sitofp i64 %33 to x86_fp80
store x86_fp80 %34, x86_fp80* %5
%35 = load x86_fp80, x86_fp80* %6
%36 = load x86_fp80, x86_fp80* %5
%37 = fneg x86_fp80 %36
%38 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %37, x86_fp80 0xK4000C910000000000000, x86_fp80 %35)
store x86_fp80 %38, x86_fp80* %8
%39 = load x86_fp80, x86_fp80* %8
%40 = load x86_fp80, x86_fp80* %7
%41 = fadd x86_fp80 %39, %40
store x86_fp80 %41, x86_fp80* %8
%42 = load x86_fp80, x86_fp80* %8
%43 = load x86_fp80, x86_fp80* %5
%44 = fneg x86_fp80 %43
%45 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %44, x86_fp80 0xKBFEE95777A8000000000, x86_fp80 %42)
store x86_fp80 %45, x86_fp80* %8
%46 = load x86_fp80, x86_fp80* %8
%47 = load x86_fp80, x86_fp80* %5
%48 = fneg x86_fp80 %47
%49 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %48, x86_fp80 0xK3FD48C234C4C6628B80E, x86_fp80 %46)
store x86_fp80 %49, x86_fp80* %8
%50 = load i64, i64* %4
%51 = and i64 %50, 1
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %23
%54 = load x86_fp80, x86_fp80* %11
%55 = fneg x86_fp80 %54
store x86_fp80 %55, x86_fp80* %11
br label %56
56: ; preds = %53, %23
%57 = load x86_fp80, x86_fp80* %8
%58 = fcmp olt x86_fp80 %57, 0xK00000000000000000000
br i1 %58, label %59, label %62
59: ; preds = %56
%60 = load x86_fp80, x86_fp80* %8
%61 = fneg x86_fp80 %60
store x86_fp80 %61, x86_fp80* %9
br label %64
62: ; preds = %56
%63 = load x86_fp80, x86_fp80* %8
store x86_fp80 %63, x86_fp80* %9
br label %64
64: ; preds = %62, %59
%65 = load x86_fp80, x86_fp80* %9
%66 = fcmp olt x86_fp80 %65, 0xK3FE580000000001622D7
br i1 %66, label %67, label %76
67: ; preds = %64
%68 = load x86_fp80, x86_fp80* %8
store x86_fp80 %68, x86_fp80* %10
%69 = load x86_fp80, x86_fp80* %11
%70 = fcmp olt x86_fp80 %69, 0xK00000000000000000000
br i1 %70, label %71, label %74
71: ; preds = %67
%72 = load x86_fp80, x86_fp80* %10
%73 = fneg x86_fp80 %72
store x86_fp80 %73, x86_fp80* %10
br label %74
74: ; preds = %71, %67
%75 = load x86_fp80, x86_fp80* %10
store x86_fp80 %75, x86_fp80* %2
br label %130
76: ; preds = %64
%77 = load x86_fp80, x86_fp80* %8
%78 = load x86_fp80, x86_fp80* %8
%79 = fmul x86_fp80 %77, %78
store x86_fp80 %79, x86_fp80* %9
%80 = load x86_fp80, x86_fp80* %9
%81 = fmul x86_fp80 %80, 0xK3FCEC407FB4C9EFCA5FE
store x86_fp80 %81, x86_fp80* %10
%82 = load x86_fp80, x86_fp80* %10
%83 = fadd x86_fp80 %82, 0xKBFD6D72106E0424CDF56
store x86_fp80 %83, x86_fp80* %10
%84 = load x86_fp80, x86_fp80* %10
%85 = load x86_fp80, x86_fp80* %9
%86 = fmul x86_fp80 %84, %85
store x86_fp80 %86, x86_fp80* %10
%87 = load x86_fp80, x86_fp80* %10
%88 = fadd x86_fp80 %87, 0xK3FDEB091E34356A17FA8
store x86_fp80 %88, x86_fp80* %10
%89 = load x86_fp80, x86_fp80* %10
%90 = load x86_fp80, x86_fp80* %9
%91 = fmul x86_fp80 %89, %90
store x86_fp80 %91, x86_fp80* %10
%92 = load x86_fp80, x86_fp80* %10
%93 = fadd x86_fp80 %92, 0xKBFE5D7322A5AEE055B44
store x86_fp80 %93, x86_fp80* %10
%94 = load x86_fp80, x86_fp80* %10
%95 = load x86_fp80, x86_fp80* %9
%96 = fmul x86_fp80 %94, %95
store x86_fp80 %96, x86_fp80* %10
%97 = load x86_fp80, x86_fp80* %10
%98 = fadd x86_fp80 %97, 0xK3FECB8EF1D2927831824
store x86_fp80 %98, x86_fp80* %10
%99 = load x86_fp80, x86_fp80* %10
%100 = load x86_fp80, x86_fp80* %9
%101 = fmul x86_fp80 %99, %100
store x86_fp80 %101, x86_fp80* %10
%102 = load x86_fp80, x86_fp80* %10
%103 = fadd x86_fp80 %102, 0xKBFF2D00D00D009F0D114
store x86_fp80 %103, x86_fp80* %10
%104 = load x86_fp80, x86_fp80* %10
%105 = load x86_fp80, x86_fp80* %9
%106 = fmul x86_fp80 %104, %105
store x86_fp80 %106, x86_fp80* %10
%107 = load x86_fp80, x86_fp80* %10
%108 = fadd x86_fp80 %107, 0xK3FF88888888888858061
store x86_fp80 %108, x86_fp80* %10
%109 = load x86_fp80, x86_fp80* %10
%110 = load x86_fp80, x86_fp80* %9
%111 = fmul x86_fp80 %109, %110
store x86_fp80 %111, x86_fp80* %10
%112 = load x86_fp80, x86_fp80* %10
%113 = fadd x86_fp80 %112, 0xKBFFCAAAAAAAAAAAAA603
store x86_fp80 %113, x86_fp80* %10
%114 = load x86_fp80, x86_fp80* %10
%115 = load x86_fp80, x86_fp80* %9
%116 = fmul x86_fp80 %114, %115
store x86_fp80 %116, x86_fp80* %10
%117 = load x86_fp80, x86_fp80* %10
%118 = load x86_fp80, x86_fp80* %8
%119 = fmul x86_fp80 %117, %118
store x86_fp80 %119, x86_fp80* %10
%120 = load x86_fp80, x86_fp80* %10
%121 = load x86_fp80, x86_fp80* %8
%122 = fadd x86_fp80 %120, %121
store x86_fp80 %122, x86_fp80* %10
%123 = load x86_fp80, x86_fp80* %11
%124 = fcmp olt x86_fp80 %123, 0xK00000000000000000000
br i1 %124, label %125, label %128
125: ; preds = %76
%126 = load x86_fp80, x86_fp80* %10
%127 = fneg x86_fp80 %126
store x86_fp80 %127, x86_fp80* %10
br label %128
128: ; preds = %125, %76
%129 = load x86_fp80, x86_fp80* %10
store x86_fp80 %129, x86_fp80* %2
br label %130
130: ; preds = %128, %74, %22
%131 = load x86_fp80, x86_fp80* %2
ret x86_fp80 %131
}

LLVM IR (-O2):
define x86_fp80 @sind(x86_fp80 %0) {
%2 = fcmp olt x86_fp80 %0, 0xK00000000000000000000
%3 = fneg x86_fp80 %0
%4 = select i1 %2, x86_fp80 %3, x86_fp80 %0
%5 = select i1 %2, x86_fp80 0xKBFFF8000000000000000, x86_fp80 0xK3FFF8000000000000000
%6 = fcmp ogt x86_fp80 %4, 0xK401CC90FDA9000000000
br i1 %6, label %52, label %7
7: ; preds = %1
%8 = fptosi x86_fp80 %4 to i64
%9 = sitofp i64 %8 to x86_fp80
%10 = fsub x86_fp80 %4, %9
%11 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %4, x86_fp80 0xK3FFDA2F9836E4E44152A, x86_fp80 0xK3FFE8000000000000000)
%12 = fptosi x86_fp80 %11 to i64
%13 = sitofp i64 %12 to x86_fp80
%14 = fneg x86_fp80 %13
%15 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %14, x86_fp80 0xK4000C910000000000000, x86_fp80 %9)
%16 = fadd x86_fp80 %10, %15
%17 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %14, x86_fp80 0xKBFEE95777A8000000000, x86_fp80 %16)
%18 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %14, x86_fp80 0xK3FD48C234C4C6628B80E, x86_fp80 %17)
%19 = and i64 %12, 1
%20 = icmp eq i64 %19, 0
%21 = fneg x86_fp80 %5
%22 = select i1 %20, x86_fp80 %5, x86_fp80 %21
%23 = fcmp olt x86_fp80 %18, 0xK00000000000000000000
%24 = fneg x86_fp80 %18
%25 = select i1 %23, x86_fp80 %24, x86_fp80 %18
%26 = fcmp olt x86_fp80 %25, 0xK3FE580000000001622D7
br i1 %26, label %27, label %30
27: ; preds = %7
%28 = fcmp olt x86_fp80 %22, 0xK00000000000000000000
%29 = select i1 %28, x86_fp80 %24, x86_fp80 %18
br label %52
30: ; preds = %7
%31 = fmul x86_fp80 %18, %18
%32 = fmul x86_fp80 %31, 0xK3FCEC407FB4C9EFCA5FE
%33 = fadd x86_fp80 %32, 0xKBFD6D72106E0424CDF56
%34 = fmul x86_fp80 %31, %33
%35 = fadd x86_fp80 %34, 0xK3FDEB091E34356A17FA8
%36 = fmul x86_fp80 %31, %35
%37 = fadd x86_fp80 %36, 0xKBFE5D7322A5AEE055B44
%38 = fmul x86_fp80 %31, %37
%39 = fadd x86_fp80 %38, 0xK3FECB8EF1D2927831824
%40 = fmul x86_fp80 %31, %39
%41 = fadd x86_fp80 %40, 0xKBFF2D00D00D009F0D114
%42 = fmul x86_fp80 %31, %41
%43 = fadd x86_fp80 %42, 0xK3FF88888888888858061
%44 = fmul x86_fp80 %31, %43
%45 = fadd x86_fp80 %44, 0xKBFFCAAAAAAAAAAAAA603
%46 = fmul x86_fp80 %31, %45
%47 = fmul x86_fp80 %18, %46
%48 = fadd x86_fp80 %18, %47
%49 = fcmp olt x86_fp80 %22, 0xK00000000000000000000
%50 = fneg x86_fp80 %48
%51 = select i1 %49, x86_fp80 %50, x86_fp80 %48
br label %52
52: ; preds = %1, %30, %27
%53 = phi x86_fp80 [ %29, %27 ], [ %51, %30 ], [ 0xK00000000000000000000, %1 ]
ret x86_fp80 %53
}