// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: geq_b_7pp
static inline bool geq_b_7pp(s7_scheme *sc, s7_pointer x, s7_pointer y)
    {
        if (type(x) == type(y))
        {
            if (type(x) == T_INTEGER)
                return(integer(x) >= integer(y));
            if (type(x) == T_REAL)
                return(real(x) >= real(y));
            if (type(x) == T_RATIO)
                return(fraction(x) >= fraction(y));
        }

        switch (type(x))
        {
            case T_INTEGER:
                switch (type(y))
                {
                    case T_INTEGER:
                        return(integer(x) >= integer(y));

                    case T_RATIO:
                        return(g_greater_or_equal(sc, set_plist_2(sc, x, y)) != sc->F);

                    case T_REAL:
                        if (is_NaN(real(y))) return(false);
                        return(integer(x) >= real(y));

                    default:
                        return(geq_out_y(sc, x, y));
                }
                break;

            case T_RATIO:
                return(g_greater_or_equal(sc, set_plist_2(sc, x, y)) != sc->F);

            case T_REAL:
                switch (type(y))
                {
                    case T_INTEGER:
                        if (is_NaN(real(x))) return(false);
                        return(real(x) >= integer(y));

                    case T_RATIO:
                        if (is_NaN(real(x))) return(false);
                        return(real(x) >= fraction(y));

                    case T_REAL:
                        if (is_NaN(real(x))) return(false);
                        return(real(x) >= real(y));

                    default:
                        return(geq_out_y(sc, x, y));
                }
                break;

            default:
                return(geq_out_x(sc, x, y));
        }
        return(true);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movzbl (%rsi), %ecx
movzbl (%rdx), %eax
cmpb %al, %cl
jne 0x8a028
cmpl $0xd, %ecx
je 0x8a19d
cmpl $0xc, %ecx
je 0x8a15f
cmpl $0xb, %ecx
jne 0x8a05b
movq 0x8(%r15), %rax
cmpq 0x8(%rbx), %rax
setge %al
jmp 0x8a1ab
cmpl $0xd, %ecx
je 0x8a1ba
cmpl $0xc, %ecx
je 0x8a12e
cmpl $0xb, %ecx
jne 0x8a05b
cmpl $0xd, %eax
je 0x8a24f
cmpl $0xc, %eax
je 0x8a12e
cmpl $0xb, %eax
je 0x8a018
jmp 0x8a1e5
testb $0x40, 0x3(%r15)
je 0x8a0ff
cmpb $0x1, 0x24c(%r14)
jne 0x8a0ff
movq %r14, %rdi
movq %r15, %rsi
callq 0x8a63
movq %rax, %r12
movq 0xf48(%r14), %r13
movq 0x90(%r14), %rax
movq 0x110(%r14), %rbp
cmpq 0x98(%r14), %rax
ja 0x8a0af
movq %r14, %rdi
callq 0xa550
movq 0x90(%r14), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%r14)
movq -0x8(%rax), %rax
movl $0x200001, %edx         # imm = 0x200001
movq %rdx, (%rax)
movq %rbx, 0x8(%rax)
movq %rbp, 0x10(%rax)
movq 0x90(%r14), %rcx
leaq -0x8(%rcx), %rsi
movq %rsi, 0x90(%r14)
movq -0x8(%rcx), %rcx
movq %rdx, (%rcx)
movq %r15, 0x8(%rcx)
movq %rax, 0x10(%rcx)
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x9058e
jmp 0x8a153
movq 0xf48(%r14), %rax
movq 0x8(%rax), %rsi
movq 0xbc847(%rip), %rdx     # 0x146958
movq 0x140(%r14), %r8
movq 0xc09a9(%rip), %r9      # 0x14aac8
movq %r14, %rdi
movq %r15, %rcx
callq 0xa4e4
xorl %eax, %eax
jmp 0x8a1ab
movq 0x708(%r14), %rax
movq %r15, 0x8(%rax)
movq 0x710(%r14), %rax
movq %rbx, 0x8(%rax)
movq 0x708(%r14), %rsi
movq %r14, %rdi
callq 0x6e26b
cmpq 0x120(%r14), %rax
setne %al
jmp 0x8a1ab
movq 0x8(%r15), %rax
movq 0x10(%r15), %rcx
movq %rax, 0x8(%rsp)
fildll 0x8(%rsp)
movq %rcx, (%rsp)
fildll (%rsp)
fdivrp %st, %st(1)
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
movq %rax, 0x18(%rsp)
fildll 0x18(%rsp)
movq %rcx, 0x10(%rsp)
fildll 0x10(%rsp)
fdivrp %st, %st(1)
fxch %st(1)
fucompi %st(1), %st
fstp %st(0)
jmp 0x8a1a8
movsd 0x8(%r15), %xmm0
ucomisd 0x8(%rbx), %xmm0
setae %al
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpl $0xd, %eax
je 0x8a23a
cmpl $0xc, %eax
je 0x8a201
cmpl $0xb, %eax
jne 0x8a1e5
movsd 0x8(%r15), %xmm0
ucomisd %xmm0, %xmm0
jp 0x8a12a
cvtsi2sdq 0x8(%rbx), %xmm1
ucomisd %xmm1, %xmm0
jmp 0x8a1a8
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1046db
movsd 0x8(%r15), %xmm0
ucomisd %xmm0, %xmm0
jp 0x8a12a
movsd %xmm0, 0x20(%rsp)
fldl 0x20(%rsp)
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
movq %rax, 0x30(%rsp)
fildll 0x30(%rsp)
movq %rcx, 0x28(%rsp)
fildll 0x28(%rsp)
jmp 0x8a193
movsd 0x8(%r15), %xmm0
ucomisd %xmm0, %xmm0
jnp 0x8a1a3
jmp 0x8a12a
movsd 0x8(%rbx), %xmm0
ucomisd %xmm0, %xmm0
jp 0x8a12a
cvtsi2sdq 0x8(%r15), %xmm1
ucomisd %xmm0, %xmm1
jmp 0x8a1a8