int __isgreaterequall(long double __x, long double __y) {
  return !((sizeof((__x)) == sizeof(float)
                ? (__FLOAT_BITS((__x)) & 0x7fffffff) > 0x7f800000
            : sizeof((__x)) == sizeof(double)
                ? (__DOUBLE_BITS((__x)) & -1ULL >> 1) > 0x7ffULL << 52
                : __fpclassifyl((__x)) == 0)
               ? ((void)(__y), 1)
               : (sizeof((__y)) == sizeof(float)
                      ? (__FLOAT_BITS((__y)) & 0x7fffffff) > 0x7f800000
                  : sizeof((__y)) == sizeof(double)
                      ? (__DOUBLE_BITS((__y)) & -1ULL >> 1) > 0x7ffULL << 52
                      : __fpclassifyl((__y)) == 0)) &&
         __x >= __y;
}


x86 assembly (clang, -O0):
<__isgreaterequall>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
fldt   0x20(%rbp)
fldt   0x10(%rbp)
fstpt  -0x10(%rbp)
fstpt  -0x20(%rbp)
xor    %eax,%eax
test   $0x1,%al
jne    1153 <__isgreaterequall+0x23>
jmp    1177 <__isgreaterequall+0x47>
fldt   -0x10(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
xor    %eax,%eax
call   1040 <__FLOAT_BITS@plt>
and    $0x7fffffff,%eax
cmp    $0x7f800000,%eax
jg     11d4 <__isgreaterequall+0xa4>
jmp    11e9 <__isgreaterequall+0xb9>
xor    %eax,%eax
test   $0x1,%al
jne    1186 <__isgreaterequall+0x56>
jmp    11bc <__isgreaterequall+0x8c>
fldt   -0x10(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
xor    %eax,%eax
call   1050 <__DOUBLE_BITS@plt>
cltq
movabs $0x7fffffffffffffff,%rcx
ff ff 7f
and    %rcx,%rax
movabs $0x7ff0000000000000,%rcx
cmp    %rcx,%rax
ja     11d4 <__isgreaterequall+0xa4>
jmp    11e9 <__isgreaterequall+0xb9>
fldt   -0x10(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
xor    %eax,%eax
call   1030 <__fpclassifyl@plt>
cmp    $0x0,%eax
jne    11e9 <__isgreaterequall+0xb9>
xor    %eax,%eax
mov    $0x1,%cl
test   $0x1,%cl
mov    %al,-0x21(%rbp)
jne    12a1 <__isgreaterequall+0x171>
jmp    128f <__isgreaterequall+0x15f>
xor    %eax,%eax
test   $0x1,%al
jne    11f8 <__isgreaterequall+0xc8>
jmp    1225 <__isgreaterequall+0xf5>
fldt   -0x20(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
xor    %eax,%eax
call   1040 <__FLOAT_BITS@plt>
mov    %eax,%ecx
and    $0x7fffffff,%ecx
xor    %eax,%eax
cmp    $0x7f800000,%ecx
mov    %al,-0x21(%rbp)
jg     12a1 <__isgreaterequall+0x171>
jmp    128f <__isgreaterequall+0x15f>
xor    %eax,%eax
test   $0x1,%al
jne    1234 <__isgreaterequall+0x104>
jmp    1270 <__isgreaterequall+0x140>
fldt   -0x20(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
xor    %eax,%eax
call   1050 <__DOUBLE_BITS@plt>
movslq %eax,%rcx
movabs $0x7fffffffffffffff,%rax
ff ff 7f
and    %rax,%rcx
xor    %eax,%eax
movabs $0x7ff0000000000000,%rdx
cmp    %rdx,%rcx
mov    %al,-0x21(%rbp)
ja     12a1 <__isgreaterequall+0x171>
jmp    128f <__isgreaterequall+0x15f>
fldt   -0x20(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
xor    %eax,%eax
call   1030 <__fpclassifyl@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x21(%rbp)
je     12a1 <__isgreaterequall+0x171>
fldt   -0x10(%rbp)
fldt   -0x20(%rbp)
fxch   %st(1)
fucomip %st(1),%st
fstp   %st(0)
setae  %al
mov    %al,-0x21(%rbp)
mov    -0x21(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<__isgreaterequall>:
push   %rbx
sub    $0x30,%rsp
fldt   0x50(%rsp)
fstpt  0x18(%rsp)
fldt   0x40(%rsp)
fld    %st(0)
fstpt  0x24(%rsp)
fstpt  (%rsp)
xor    %ebx,%ebx
xor    %eax,%eax
call   1030 <__fpclassifyl@plt>
test   %eax,%eax
je     115c <__isgreaterequall+0x4c>
fldt   0x18(%rsp)
fstpt  (%rsp)
xor    %ebx,%ebx
xor    %eax,%eax
call   1030 <__fpclassifyl@plt>
test   %eax,%eax
je     115c <__isgreaterequall+0x4c>
xor    %ebx,%ebx
fldt   0x18(%rsp)
fldt   0x24(%rsp)
fucomip %st(1),%st
fstp   %st(0)
setae  %bl
mov    %ebx,%eax
add    $0x30,%rsp
pop    %rbx
ret

LLVM IR (-O0):
define i32 @__isgreaterequall(x86_fp80 %0, x86_fp80 %1) {
%3 = alloca x86_fp80
%4 = alloca x86_fp80
store x86_fp80 %0, x86_fp80* %3
store x86_fp80 %1, x86_fp80* %4
br i1 false, label %5, label %10
5: ; preds = %2
%6 = load x86_fp80, x86_fp80* %3
%7 = call i32 (x86_fp80, ...) bitcast (i32 (...)* @__FLOAT_BITS to i32 (x86_fp80, ...)*)(x86_fp80 %6)
%8 = and i32 %7, 2147483647
%9 = icmp sgt i32 %8, 2139095040
br i1 %9, label %21, label %23
10: ; preds = %2
br i1 false, label %11, label %17
11: ; preds = %10
%12 = load x86_fp80, x86_fp80* %3
%13 = call i32 (x86_fp80, ...) bitcast (i32 (...)* @__DOUBLE_BITS to i32 (x86_fp80, ...)*)(x86_fp80 %12)
%14 = sext i32 %13 to i64
%15 = and i64 %14, 9223372036854775807
%16 = icmp ugt i64 %15, 9218868437227405312
br i1 %16, label %21, label %23
17: ; preds = %10
%18 = load x86_fp80, x86_fp80* %3
%19 = call i32 (x86_fp80, ...) bitcast (i32 (...)* @__fpclassifyl to i32 (x86_fp80, ...)*)(x86_fp80 %18)
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %17, %11, %5
%22 = load x86_fp80, x86_fp80* %4
br i1 true, label %44, label %40
23: ; preds = %17, %11, %5
br i1 false, label %24, label %29
24: ; preds = %23
%25 = load x86_fp80, x86_fp80* %4
%26 = call i32 (x86_fp80, ...) bitcast (i32 (...)* @__FLOAT_BITS to i32 (x86_fp80, ...)*)(x86_fp80 %25)
%27 = and i32 %26, 2147483647
%28 = icmp sgt i32 %27, 2139095040
br i1 %28, label %44, label %40
29: ; preds = %23
br i1 false, label %30, label %36
30: ; preds = %29
%31 = load x86_fp80, x86_fp80* %4
%32 = call i32 (x86_fp80, ...) bitcast (i32 (...)* @__DOUBLE_BITS to i32 (x86_fp80, ...)*)(x86_fp80 %31)
%33 = sext i32 %32 to i64
%34 = and i64 %33, 9223372036854775807
%35 = icmp ugt i64 %34, 9218868437227405312
br i1 %35, label %44, label %40
36: ; preds = %29
%37 = load x86_fp80, x86_fp80* %4
%38 = call i32 (x86_fp80, ...) bitcast (i32 (...)* @__fpclassifyl to i32 (x86_fp80, ...)*)(x86_fp80 %37)
%39 = icmp eq i32 %38, 0
br i1 %39, label %44, label %40
40: ; preds = %36, %30, %24, %21
%41 = load x86_fp80, x86_fp80* %3
%42 = load x86_fp80, x86_fp80* %4
%43 = fcmp oge x86_fp80 %41, %42
br label %44
44: ; preds = %40, %36, %30, %24, %21
%45 = phi i1 [ false, %36 ], [ false, %30 ], [ false, %24 ], [ false, %21 ], [ %43, %40 ]
%46 = zext i1 %45 to i32
ret i32 %46
}

LLVM IR (-O2):
define i32 @__isgreaterequall(x86_fp80 %0, x86_fp80 %1) {
%3 = tail call i32 (x86_fp80, ...) bitcast (i32 (...)* @__fpclassifyl to i32 (x86_fp80, ...)*)(x86_fp80 %0)
%4 = icmp eq i32 %3, 0
br i1 %4, label %11, label %5
5: ; preds = %2
%6 = tail call i32 (x86_fp80, ...) bitcast (i32 (...)* @__fpclassifyl to i32 (x86_fp80, ...)*)(x86_fp80 %1)
%7 = icmp eq i32 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %5
%9 = fcmp oge x86_fp80 %0, %1
%10 = zext i1 %9 to i32
br label %11
11: ; preds = %2, %8, %5
%12 = phi i32 [ 0, %5 ], [ %10, %8 ], [ 0, %2 ]
ret i32 %12
}