// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: minus_c1
static s7_pointer minus_c1(s7_scheme *sc, s7_pointer x)
    {
        switch (type(x))
        {
#if HAVE_OVERFLOW_CHECKS
            case T_INTEGER:
                {
                    s7_int val;
                    if (subtract_overflow(integer(x), 1, &val))
                        return(make_real(sc, (double)integer(x) - 1.0));
                    return(make_integer(sc, val));
                }
#else
            case T_INTEGER: return(make_integer(sc, integer(x) - 1));
#endif
            case T_RATIO:   return(subtract_ratios(sc, x, small_int(1)));
            case T_REAL:    return(make_real(sc, real(x) - 1.0));
            case T_COMPLEX: return(s7_make_complex(sc, real_part(x) - 1.0, imag_part(x)));
            default:
                            return(method_or_bust_with_type(sc, x, sc->subtract_symbol, list_2(sc, x, small_int(1)), a_number_string, 1));
        }
        return(x);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movzbl (%rsi), %eax
addl $-0xb, %eax
cmpl $0x3, %eax
ja 0x9251b
leaq 0x42196(%rip), %rcx     # 0xd4638
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x8(%r14), %rax
movq %rax, %r14
decq %r14
jno 0x925b5
cvtsi2sd %rax, %xmm0
jmp 0x924c8
movsd 0x8(%r14), %xmm0
addsd 0x3fb80(%rip), %xmm0    # 0xd2050
jmp 0x92652
movsd 0x8(%r14), %xmm0
addsd 0x3fb6d(%rip), %xmm0    # 0xd2050
movsd 0x10(%r14), %xmm1
movq %rbx, %rdi
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0xc152
movq 0x83453(%rip), %rax     # 0x115958
movq 0x10(%r14), %rdx
cmpb $0xc, (%rax)
jne 0x925d2
movq 0x10(%rax), %rdi
jmp 0x925d5
movq 0x1588(%rbx), %r15
movq 0x8342f(%rip), %r12     # 0x115958
movq 0x90(%rbx), %rax
movq 0x110(%rbx), %r13
cmpq 0x98(%rbx), %rax
ja 0x9254f
movq %rbx, %rdi
callq 0x9c27
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movl $0x200001, %edx         # imm = 0x200001
movq %rdx, (%rax)
movq %r12, 0x8(%rax)
movq %r13, 0x10(%rax)
movq 0x90(%rbx), %rcx
leaq -0x8(%rcx), %rsi
movq %rsi, 0x90(%rbx)
movq -0x8(%rcx), %rcx
movq %rdx, (%rcx)
movq %r14, 0x8(%rcx)
movq %rax, 0x10(%rcx)
movq 0x91e0a(%rip), %r8      # 0x1243a0
pushq $0x1
popq %r9
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0xcf9a
cmpq $0x7ff, %r14            # imm = 0x7FF
ja 0x926a4
leaq 0x83387(%rip), %rax     # 0x115950
movq (%rax,%r14,8), %rax
jmp 0x92696
pushq $0x1
popq %rdi
movq 0x8(%r14), %rsi
movq 0x8(%rax), %r8
cmpq %rdi, %rdx
jne 0x925fa
subq %r8, %rsi
movq %rbx, %rdi
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0xbd87
movq %rdx, %rax
imulq %rdi, %rax
jo 0x9261e
movq %rsi, %rcx
imulq %rdi, %rcx
jo 0x9261e
movq %r8, %r9
imulq %rdx, %r9
jo 0x9261e
subq %r9, %rcx
jno 0x926df
movq %rsi, 0x10(%rsp)
fildll 0x10(%rsp)
movq %rdx, 0x18(%rsp)
fildll 0x18(%rsp)
fdivrp %st, %st(1)
movq %r8, 0x20(%rsp)
fildll 0x20(%rsp)
movq %rdi, 0x28(%rsp)
fildll 0x28(%rsp)
fdivrp %st, %st(1)
fsubrp %st, %st(1)
fstpl 0x8(%rsp)
movsd 0x8(%rsp), %xmm0
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x9267b
movq %rbx, %rdi
movsd %xmm0, (%rsp)
callq 0x9c27
movsd (%rsp), %xmm0
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xd, (%rax)
movsd %xmm0, 0x8(%rax)
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x926c3
movq %rbx, %rdi
callq 0x9c27
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xb, (%rax)
movq %r14, 0x8(%rax)
jmp 0x92696
movq %rbx, %rdi
movq %rcx, %rsi
movq %rax, %rdx
jmp 0x925e8