LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_numerator
static s7_pointer g_numerator(s7_scheme *sc, s7_pointer args)
    {
#define H_numerator "(numerator rat) returns the numerator of the rational number rat"
#define Q_numerator s7_make_signature(sc, 2, sc->is_integer_symbol, sc->is_rational_symbol)

        s7_pointer x;
        x = car(args);
        switch (type(x))
        {
            case T_RATIO:       return(make_integer(sc, numerator(x)));
            case T_INTEGER:     return(x);
#if WITH_GMP
            case T_BIG_INTEGER: return(x);
            case T_BIG_RATIO:   return(mpz_to_big_integer(sc, mpq_numref(big_ratio(x))));
#endif
            default:            return(method_or_bust_with_type_one_arg(sc, x, sc->numerator_symbol, args, a_rational_string));
        }
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x8(%rsi), %rax
movzbl (%rax), %edx
cmpl $0xb, %edx
je 0x651c7
movq %rdi, %rbx
cmpl $0xc, %edx
jne 0x6516b
movq 0x8(%rax), %r14
cmpq $0x7ff, %r14            # imm = 0x7FF
ja 0x6518e
leaq 0xe17eb(%rip), %rax     # 0x146950
movq (%rax,%r14,8), %rax
jmp 0x651c7
movq %rsi, %rcx
movq 0x1378(%rbx), %rdx
movq 0xf047c(%rip), %r8      # 0x1555f8
movq %rbx, %rdi
movq %rax, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xfa261
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x651ad
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xb, (%rax)
movq %r14, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_denominator
static s7_pointer g_denominator(s7_scheme *sc, s7_pointer args)
    {
#define H_denominator "(denominator rat) returns the denominator of the rational number rat"
#define Q_denominator s7_make_signature(sc, 2, sc->is_integer_symbol, sc->is_rational_symbol)

        s7_pointer x;
        x = car(args);
        switch (type(x))
        {
            case T_RATIO:       return(make_integer(sc, denominator(x)));
            case T_INTEGER:     return(small_int(1));
#if WITH_GMP
            case T_BIG_INTEGER: return(small_int(1));
            case T_BIG_RATIO:   return(mpz_to_big_integer(sc, mpq_denref(big_ratio(x))));
#endif
            default:            return(method_or_bust_with_type_one_arg(sc, x, sc->denominator_symbol, args, a_rational_string));
        }
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rcx
movq 0x8(%rsi), %rsi
movzbl (%rsi), %eax
cmpl $0xb, %eax
je 0x65204
movq %rdi, %rbx
cmpl $0xc, %eax
jne 0x6520d
movq 0x10(%rsi), %r14
cmpq $0x7ff, %r14            # imm = 0x7FF
ja 0x6522a
leaq 0xe1752(%rip), %rax     # 0x146950
movq (%rax,%r14,8), %rax
jmp 0x65263
movq 0xe174d(%rip), %rax     # 0x146958
jmp 0x65263
movq 0xe70(%rbx), %rdx
movq 0xf03dd(%rip), %r8      # 0x1555f8
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xfa261
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x65249
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xb, (%rax)
movq %r14, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_is_even
static s7_pointer g_is_even(s7_scheme *sc, s7_pointer args)
    {
#define H_is_even "(even? int) returns #t if the integer int32_t is even"
#define Q_is_even s7_make_signature(sc, 2, sc->is_boolean_symbol, sc->is_integer_symbol)

        s7_pointer p;
        p = car(args);
        switch (type(p))
        {
            case T_INTEGER:     return(make_boolean(sc, ((integer(p) & 1) == 0)));
#if WITH_GMP
            case T_BIG_INTEGER: return(make_boolean(sc, mpz_even_p(big_integer(p))));
#endif
            default:            return(method_or_bust_one_arg(sc, p, sc->is_even_symbol, list_1(sc, p), T_INTEGER));
        }
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rsi), %r14
cmpb $0xb, (%r14)
jne 0x6529c
movzbl 0x8(%r14), %eax
andl $0x1, %eax
movq 0x118(%rbx,%rax,8), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x1080(%rbx), %r15
movq 0x90(%rbx), %rax
movq 0x110(%rbx), %r12
cmpq 0x98(%rbx), %rax
ja 0x652c9
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rcx
movq $0x200001, (%rcx)       # imm = 0x200001
movq %r14, 0x8(%rcx)
movq %r12, 0x10(%rcx)
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movl $0xb, %r8d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x95069
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_is_odd
static s7_pointer g_is_odd(s7_scheme *sc, s7_pointer args)
    {
#define H_is_odd "(odd? int) returns #t if the integer int32_t is odd"
#define Q_is_odd s7_make_signature(sc, 2, sc->is_boolean_symbol, sc->is_integer_symbol)

        s7_pointer p;
        p = car(args);
        switch (type(p))
        {
            case T_INTEGER:     return(make_boolean(sc, ((integer(p) & 1) == 1)));
#if WITH_GMP
            case T_BIG_INTEGER: return(make_boolean(sc, mpz_odd_p(big_integer(p))));
#endif
            default:            return(method_or_bust_one_arg(sc, p, sc->is_odd_symbol, list_1(sc, p), T_INTEGER));
        }
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rsi), %r14
cmpb $0xb, (%r14)
jne 0x65339
xorl %eax, %eax
testb $0x1, 0x8(%r14)
sete %al
movq 0x118(%rbx,%rax,8), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x1128(%rbx), %r15
movq 0x90(%rbx), %rax
movq 0x110(%rbx), %r12
cmpq 0x98(%rbx), %rax
ja 0x65366
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rcx
movq $0x200001, (%rcx)       # imm = 0x200001
movq %r14, 0x8(%rcx)
movq %r12, 0x10(%rcx)
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movl $0xb, %r8d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x95069
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_is_zero
static s7_pointer g_is_zero(s7_scheme *sc, s7_pointer args)
    {
#define H_is_zero "(zero? num) returns #t if the number num is zero"
#define Q_is_zero sc->pl_bn
        s7_pointer x;
        x = car(args);
        switch (type(x))
        {
            case T_INTEGER:     return(make_boolean(sc, integer(x) == 0));
            case T_REAL:        return(make_boolean(sc, real(x) == 0.0));
            case T_RATIO:
            case T_COMPLEX:     return(sc->F);      /* ratios and complex numbers are already collapsed into integers and reals */
#if WITH_GMP
            case T_BIG_INTEGER: return(make_boolean(sc, mpz_cmp_ui(big_integer(x), 0) == 0));
            case T_BIG_REAL:    return(make_boolean(sc, mpfr_zero_p(big_real(x))));
            case T_BIG_RATIO:
            case T_BIG_COMPLEX: return(sc->F);
#endif
            default:
                                return(method_or_bust_with_type_one_arg(sc, x, sc->is_zero_symbol, list_1(sc, x), a_number_string));
        }
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rsi), %r14
movzbl (%r14), %eax
addl $-0xb, %eax
cmpl $0x3, %eax
ja 0x6540a
leaq 0xa257f(%rip), %rcx     # 0x107944
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x120(%rbx), %rax
jmp 0x653fe
xorl %eax, %eax
cmpq $0x0, 0x8(%r14)
setne %al
jmp 0x653f6
xorpd %xmm0, %xmm0
cmpneqsd 0x8(%r14), %xmm0
movq %xmm0, %rax
andl $0x1, %eax
movq 0x118(%rbx,%rax,8), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x11c0(%rbx), %r15
movq 0x90(%rbx), %rax
movq 0x110(%rbx), %r12
cmpq 0x98(%rbx), %rax
ja 0x65437
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rcx
movq $0x200001, (%rcx)       # imm = 0x200001
movq %r14, 0x8(%rcx)
movq %r12, 0x10(%rcx)
movq 0xeff44(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xfa261
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_is_positive
static s7_pointer g_is_positive(s7_scheme *sc, s7_pointer args)
    {
#define H_is_positive "(positive? num) returns #t if the real number num is positive (greater than 0)"
#define Q_is_positive s7_make_signature(sc, 2, sc->is_boolean_symbol, sc->is_real_symbol)
        s7_pointer x;
        x = car(args);
        switch (type(x))
        {
            case T_INTEGER:     return(make_boolean(sc, integer(x) > 0));
            case T_RATIO:       return(make_boolean(sc, numerator(x) > 0));
            case T_REAL:        return(make_boolean(sc, real(x) > 0.0));
#if WITH_GMP
            case T_BIG_INTEGER: return(make_boolean(sc, (mpz_cmp_ui(big_integer(x), 0) > 0)));
            case T_BIG_RATIO:   return(make_boolean(sc, (mpq_cmp_ui(big_ratio(x), 0, 1) > 0)));
            case T_BIG_REAL:    return(make_boolean(sc, (mpfr_cmp_ui(big_real(x), 0) > 0)));
#endif
            default:
                                return(method_or_bust_one_arg(sc, x, sc->is_positive_symbol, list_1(sc, x), T_REAL));
        }
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rsi), %r14
movzbl (%r14), %eax
cmpl $0xd, %eax
je 0x654a3
cmpl $0xc, %eax
je 0x65497
cmpl $0xb, %eax
jne 0x654ca
xorl %eax, %eax
cmpq $0x0, 0x8(%r14)
setle %al
jmp 0x654b6
movsd 0x8(%r14), %xmm0
xorpd %xmm1, %xmm1
xorl %eax, %eax
ucomisd %xmm1, %xmm0
setbe %al
movq 0x118(%rbx,%rax,8), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x1150(%rbx), %r15
movq 0x90(%rbx), %rax
movq 0x110(%rbx), %r12
cmpq 0x98(%rbx), %rax
ja 0x654f7
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rcx
movq $0x200001, (%rcx)       # imm = 0x200001
movq %r14, 0x8(%rcx)
movq %r12, 0x10(%rcx)
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movl $0xd, %r8d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x95069
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_is_infinite
static s7_pointer g_is_infinite(s7_scheme *sc, s7_pointer args)
    {
#define H_is_infinite "(infinite? obj) returns #t if obj is an infinite real"
#define Q_is_infinite sc->pl_bt

        s7_pointer x;
        x = car(args);
        switch (type(x))
        {
            case T_INTEGER:
            case T_RATIO:
                return(sc->F);

            case T_REAL:
                return(make_boolean(sc, is_inf(real(x))));

            case T_COMPLEX:
                return(make_boolean(sc, (is_inf(real_part(x))) || (is_inf(imag_part(x)))));

#if WITH_GMP
            case T_BIG_INTEGER:
            case T_BIG_RATIO:
                return(sc->F);

            case T_BIG_REAL:
                return(make_boolean(sc, mpfr_inf_p(big_real(x)) != 0));

            case T_BIG_COMPLEX:
                return(make_boolean(sc,
                            (mpfr_inf_p(big_real(g_real_part(sc, list_1(sc, x)))) != 0) ||
                            (mpfr_inf_p(big_real(g_imag_part(sc, list_1(sc, x)))) != 0)));
#endif

            default:
                if (g_is_number(sc, args) != sc->F)
                    return(method_or_bust_with_type_one_arg(sc, x, sc->is_infinite_symbol, list_1(sc, x), a_number_string));
        }
        return(sc->F);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rsi), %r14
movzbl (%r14), %eax
leal -0xb(%rax), %ecx
cmpl $0x2, %ecx
jb 0x6559e
cmpl $0xd, %eax
je 0x655aa
cmpl $0xe, %eax
jne 0x655d7
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
movq 0x8(%r14), %rsi
andq %rcx, %rsi
movl $0x118, %eax            # imm = 0x118
movabsq $0x7ff0000000000000, %rdx # imm = 0x7FF0000000000000
cmpq %rdx, %rsi
je 0x65595
andq 0x10(%r14), %rcx
cmpq %rdx, %rcx
je 0x65595
movl $0x120, %eax            # imm = 0x120
movq (%rbx,%rax), %rax
jmp 0x65659
movq 0x120(%rbx), %rax
jmp 0x65659
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
andq 0x8(%r14), %rax
movabsq $0x7ff0000000000000, %rcx # imm = 0x7FF0000000000000
xorl %edx, %edx
cmpq %rcx, %rax
setne %dl
movq 0x118(%rbx,%rdx,8), %rax
jmp 0x65659
movq %rbx, %rdi
callq 0x5d7f7
movq %rax, %rcx
movq 0x120(%rbx), %rax
cmpq %rax, %rcx
je 0x65659
movq 0x10b8(%rbx), %r15
movq 0x90(%rbx), %rax
movq 0x110(%rbx), %r12
cmpq 0x98(%rbx), %rax
ja 0x6561b
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rcx
movq $0x200001, (%rcx)       # imm = 0x200001
movq %r14, 0x8(%rcx)
movq %r12, 0x10(%rcx)
movq 0xefd60(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xfa261
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_is_nan
static s7_pointer g_is_nan(s7_scheme *sc, s7_pointer args)
    {
#define H_is_nan "(nan? obj) returns #t if obj is a NaN"
#define Q_is_nan sc->pl_bt

        s7_pointer x;
        x = car(args);
        switch (type(x))
        {
            case T_INTEGER:
            case T_RATIO:
                return(sc->F);

            case T_REAL:
                return(make_boolean(sc, is_NaN(real(x))));

            case T_COMPLEX:
                return(make_boolean(sc, (is_NaN(real_part(x))) || (is_NaN(imag_part(x)))));

#if WITH_GMP
            case T_BIG_INTEGER:
            case T_BIG_RATIO:
                return(sc->F);

            case T_BIG_REAL:
                return(make_boolean(sc, is_NaN(s7_real_part(x))));

            case T_BIG_COMPLEX:
                return(make_boolean(sc, (is_NaN(s7_real_part(x))) || (is_NaN(s7_imag_part(x)))));
#endif

            default:
                if (g_is_number(sc, args) != sc->F)
                    return(method_or_bust_with_type_one_arg(sc, x, sc->is_nan_symbol, list_1(sc, x), a_number_string));
        }
        return(sc->F);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rsi), %r14
movzbl (%r14), %eax
leal -0xb(%rax), %ecx
cmpl $0x2, %ecx
jb 0x656b5
cmpl $0xd, %eax
je 0x656c1
cmpl $0xe, %eax
jne 0x656dd
movsd 0x8(%r14), %xmm0
movl $0x118, %eax            # imm = 0x118
ucomisd %xmm0, %xmm0
jp 0x656ac
movsd 0x10(%r14), %xmm0
ucomisd %xmm0, %xmm0
jp 0x656ac
movl $0x120, %eax            # imm = 0x120
movq (%rbx,%rax), %rax
jmp 0x6575f
movq 0x120(%rbx), %rax
jmp 0x6575f
movsd 0x8(%r14), %xmm0
xorl %eax, %eax
ucomisd %xmm0, %xmm0
setnp %al
movq 0x118(%rbx,%rax,8), %rax
jmp 0x6575f
movq %rbx, %rdi
callq 0x5d7f7
movq %rax, %rcx
movq 0x120(%rbx), %rax
cmpq %rax, %rcx
je 0x6575f
movq 0x1108(%rbx), %r15
movq 0x90(%rbx), %rax
movq 0x110(%rbx), %r12
cmpq 0x98(%rbx), %rax
ja 0x65721
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rcx
movq $0x200001, (%rcx)       # imm = 0x200001
movq %r14, 0x8(%rcx)
movq %r12, 0x10(%rcx)
movq 0xefc5a(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xfa261
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_angle
static s7_pointer g_angle(s7_scheme *sc, s7_pointer args)
    {
#define H_angle "(angle z) returns the angle of z"
#define Q_angle s7_make_signature(sc, 2, sc->is_real_symbol, sc->is_number_symbol)
        s7_pointer x;
        /* (angle inf+infi) -> 0.78539816339745 ?
         *   I think this should be -pi < ang <= pi
         */

        x = car(args);
        switch (type(x))
        {
            case T_INTEGER:
                if (integer(x) < 0)
                    return(real_pi);
                return(small_int(0));

            case T_RATIO:
                if (numerator(x) < 0)
                    return(real_pi);
                return(small_int(0));

            case T_REAL:
                if (is_NaN(real(x))) return(x);
                if (real(x) < 0.0)
                    return(real_pi);
                return(real_zero);

            case T_COMPLEX:
                return(make_real(sc, atan2(imag_part(x), real_part(x))));

            default:
                return(method_or_bust_with_type_one_arg(sc, x, sc->angle_symbol, args, a_number_string));
        }
    }

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x8(%rsi), %rax
movzbl (%rax), %edx
addl $-0xb, %edx
cmpl $0x3, %edx
ja 0x65e2a
leaq 0xa1bd3(%rip), %rcx     # 0x107964
movslq (%rcx,%rdx,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
cmpq $0x0, 0x8(%rax)
js 0x65dca
movq 0xe0ba8(%rip), %rax     # 0x146950
jmp 0x65e52
movsd 0x8(%rax), %xmm0
ucomisd %xmm0, %xmm0
jp 0x65e52
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
jbe 0x65e4b
movq 0xe80d7(%rip), %rax     # 0x14dea8
jmp 0x65e52
movsd 0x8(%rax), %xmm1
movsd 0x10(%rax), %xmm0
callq 0x84e0
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x65e0d
movq %rbx, %rdi
movsd %xmm0, 0x8(%rsp)
callq 0xa550
movsd 0x8(%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)
jmp 0x65e52
movq %rsi, %rcx
movq 0xbb0(%rbx), %rdx
movq 0xef565(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
movq %rax, %rsi
addq $0x10, %rsp
popq %rbx
jmp 0xfa261
movq 0xe4e06(%rip), %rax     # 0x14ac58
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_exp
static s7_pointer g_exp(s7_scheme *sc, s7_pointer args)
    {
#define H_exp "(exp z) returns e^z, (exp 1) is 2.718281828459"
#define Q_exp sc->pl_nn

        s7_pointer x;

        x = car(args);
        switch (type(x))
        {
            case T_INTEGER:
                if (integer(x) == 0) return(small_int(1));                       /* (exp 0) -> 1 */
                return(make_real(sc, exp((s7_double)(integer(x)))));

            case T_RATIO:
                return(make_real(sc, exp((s7_double)fraction(x))));

            case T_REAL:
                return(make_real(sc, exp(real(x))));

            case T_COMPLEX:
#if HAVE_COMPLEX_NUMBERS
                return(s7_from_c_complex(sc, cexp(as_c_complex(x))));
                /* this is inaccurate for large arguments:
                 *   (exp 0+1e20i) -> -0.66491178990701-0.74692189125949i, not 7.639704044417283004001468027378811228331E-1-6.45251285265780844205811711312523007406E-1i
                 */
#else
                return(out_of_range(sc, sc->exp_symbol, small_int(1), x, no_complex_numbers_string));
#endif

            default:
                return(method_or_bust_with_type_one_arg(sc, x, sc->exp_symbol, args, a_number_string));
        }
    }

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rcx
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
movzbl (%rsi), %eax
addl $-0xb, %eax
cmpl $0x3, %eax
ja 0x664af
leaq 0xa1582(%rip), %rcx     # 0x107974
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x8(%rsi), %rax
testq %rax, %rax
je 0x664ca
cvtsi2sd %rax, %xmm0
jmp 0x66460
movsd 0x8(%rsi), %xmm0
jmp 0x66460
movsd 0x10(%rsi), %xmm1
xorpd %xmm0, %xmm0
mulsd %xmm1, %xmm0
addsd 0x8(%rsi), %xmm0
callq 0x80e0
movq %rbx, %rdi
addq $0x20, %rsp
popq %rbx
jmp 0xd387
movq 0x8(%rsi), %rax
movq 0x10(%rsi), %rcx
movq %rax, 0x18(%rsp)
fildll 0x18(%rsp)
movq %rcx, 0x10(%rsp)
fildll 0x10(%rsp)
fdivrp %st, %st(1)
fstpl 0x8(%rsp)
movsd 0x8(%rsp), %xmm0
callq 0x8720
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x6648e
movq %rbx, %rdi
movsd %xmm0, (%rsp)
callq 0xa550
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 $0x20, %rsp
popq %rbx
retq
movq 0xed0(%rbx), %rdx
movq 0xeeee3(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
addq $0x20, %rsp
popq %rbx
jmp 0xfa261
movq 0xe0487(%rip), %rax     # 0x146958
jmp 0x664a9
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_sin
static s7_pointer g_sin(s7_scheme *sc, s7_pointer args)
    {
#define H_sin "(sin z) returns sin(z)"
#define Q_sin sc->pl_nn

        s7_pointer x;
        x = car(args);
        switch (type(x))
        {
            case T_REAL:
                return(make_real(sc, sin(real(x))));

            case T_INTEGER:
                if (integer(x) == 0) return(small_int(0));                      /* (sin 0) -> 0 */
                return(make_real(sc, sin((s7_double)integer(x))));

            case T_RATIO:
                return(make_real(sc, sin((s7_double)(fraction(x)))));

            case T_COMPLEX:
#if HAVE_COMPLEX_NUMBERS
                return(s7_from_c_complex(sc, csin(as_c_complex(x))));
#else
                return(out_of_range(sc, sc->sin_symbol, small_int(1), x, no_complex_numbers_string));
#endif

            default:
                return(method_or_bust_with_type_one_arg(sc, x, sc->sin_symbol, args, a_number_string));
        }

        /* sin is totally inaccurate over about 1e18.  There's a way to get true results,
         *   but it involves fancy "range reduction" techniques.
         *   This means that lots of things are inaccurate:
         * (sin (remainder 1e22 (* 2 pi))) -> -0.57876806033477
         * but it should be -8.522008497671888065747423101326159661908E-1
         * ---
         * (remainder 1e22 (* 2 pi)) -> 1.0057952155665e+22 !!
         *   it should be 5.263007914620499494429139986095833592117E0
         */
    }

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rcx
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
movzbl (%rsi), %eax
addl $-0xb, %eax
cmpl $0x3, %eax
ja 0x66cfd
leaq 0xa0d44(%rip), %rcx     # 0x107984
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x8(%rsi), %rax
testq %rax, %rax
je 0x66d18
cvtsi2sd %rax, %xmm0
jmp 0x66cae
movsd 0x8(%rsi), %xmm0
jmp 0x66cae
movsd 0x10(%rsi), %xmm1
xorpd %xmm0, %xmm0
mulsd %xmm1, %xmm0
addsd 0x8(%rsi), %xmm0
callq 0x8670
movq %rbx, %rdi
addq $0x20, %rsp
popq %rbx
jmp 0xd387
movq 0x8(%rsi), %rax
movq 0x10(%rsi), %rcx
movq %rax, 0x18(%rsp)
fildll 0x18(%rsp)
movq %rcx, 0x10(%rsp)
fildll 0x10(%rsp)
fdivrp %st, %st(1)
fstpl 0x8(%rsp)
movsd 0x8(%rsp), %xmm0
callq 0x85e0
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x66cdc
movq %rbx, %rdi
movsd %xmm0, (%rsp)
callq 0xa550
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 $0x20, %rsp
popq %rbx
retq
movq 0x14d8(%rbx), %rdx
movq 0xee695(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
addq $0x20, %rsp
popq %rbx
jmp 0xfa261
movq 0xdfc31(%rip), %rax     # 0x146950
jmp 0x66cf7
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_cos
static s7_pointer g_cos(s7_scheme *sc, s7_pointer args)
    {
#define H_cos "(cos z) returns cos(z)"
#define Q_cos sc->pl_nn

        s7_pointer x;
        x = car(args);
        switch (type(x))
        {
            case T_REAL:
                return(make_real(sc, cos(real(x))));

            case T_INTEGER:
                if (integer(x) == 0) return(small_int(1));                     /* (cos 0) -> 1 */
                return(make_real(sc, cos((s7_double)integer(x))));

            case T_RATIO:
                return(make_real(sc, cos((s7_double)(fraction(x)))));

            case T_COMPLEX:
#if HAVE_COMPLEX_NUMBERS
                return(s7_from_c_complex(sc, ccos(as_c_complex(x))));
#else
                return(out_of_range(sc, sc->cos_symbol, small_int(1), x, no_complex_numbers_string));
#endif

            default:
                return(method_or_bust_with_type_one_arg(sc, x, sc->cos_symbol, args, a_number_string));
        }
    }

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rcx
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
movzbl (%rsi), %eax
addl $-0xb, %eax
cmpl $0x3, %eax
ja 0x66e03
leaq 0xa0c4e(%rip), %rcx     # 0x107994
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x8(%rsi), %rax
testq %rax, %rax
je 0x66e1e
cvtsi2sd %rax, %xmm0
jmp 0x66db4
movsd 0x8(%rsi), %xmm0
jmp 0x66db4
movsd 0x10(%rsi), %xmm1
xorpd %xmm0, %xmm0
mulsd %xmm1, %xmm0
addsd 0x8(%rsi), %xmm0
callq 0x8580
movq %rbx, %rdi
addq $0x20, %rsp
popq %rbx
jmp 0xd387
movq 0x8(%rsi), %rax
movq 0x10(%rsi), %rcx
movq %rax, 0x18(%rsp)
fildll 0x18(%rsp)
movq %rcx, 0x10(%rsp)
fildll 0x10(%rsp)
fdivrp %st, %st(1)
fstpl 0x8(%rsp)
movsd 0x8(%rsp), %xmm0
callq 0x82f0
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x66de2
movq %rbx, %rdi
movsd %xmm0, (%rsp)
callq 0xa550
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 $0x20, %rsp
popq %rbx
retq
movq 0xe28(%rbx), %rdx
movq 0xee58f(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
addq $0x20, %rsp
popq %rbx
jmp 0xfa261
movq 0xdfb33(%rip), %rax     # 0x146958
jmp 0x66dfd
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_tan
static s7_pointer g_tan(s7_scheme *sc, s7_pointer args)
    {
#define H_tan "(tan z) returns tan(z)"
#define Q_tan sc->pl_nn

        s7_pointer x;
        x = car(args);
        switch (type(x))
        {
            case T_REAL:
                return(make_real(sc, tan(real(x))));

            case T_INTEGER:
                if (integer(x) == 0) return(small_int(0));                      /* (tan 0) -> 0 */
                return(make_real(sc, tan((s7_double)(integer(x)))));

            case T_RATIO:
                return(make_real(sc, tan((s7_double)(fraction(x)))));

            case T_COMPLEX:
#if HAVE_COMPLEX_NUMBERS
                if (imag_part(x) > 350.0)
                    return(c_complex(sc, 0.0, 1.0));
                if (imag_part(x) < -350.0)
                    return(c_complex(sc, 0.0, -1.0));
                return(s7_from_c_complex(sc, ctan(as_c_complex(x))));
#else
                return(out_of_range(sc, sc->tan_symbol, small_int(1), x, no_complex_numbers_string));
#endif

            default:
                return(method_or_bust_with_type_one_arg(sc, x, sc->tan_symbol, args, a_number_string));
        }
    }

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rcx
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
movzbl (%rsi), %eax
addl $-0xb, %eax
cmpl $0x3, %eax
ja 0x66f3d
leaq 0xa0b58(%rip), %rcx     # 0x1079a4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x8(%rsi), %rax
testq %rax, %rax
je 0x66fae
cvtsi2sd %rax, %xmm0
jmp 0x66ef2
movsd 0x8(%rsi), %xmm0
jmp 0x66ef2
movsd 0x10(%rsi), %xmm1
ucomisd 0x9f220(%rip), %xmm1    # 0x1060a0
jbe 0x66f58
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x66ea5
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xe, (%rax)
xorpd %xmm0, %xmm0
movhpd 0x9f169(%rip), %xmm0    # xmm0 = xmm0[0],mem[0]
jmp 0x66fa7
movq 0x8(%rsi), %rax
movq 0x10(%rsi), %rcx
movq %rax, 0x18(%rsp)
fildll 0x18(%rsp)
movq %rcx, 0x10(%rsp)
fildll 0x10(%rsp)
fdivrp %st, %st(1)
fstpl 0x8(%rsp)
movsd 0x8(%rsp), %xmm0
callq 0x84a0
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x66f20
movq %rbx, %rdi
movsd %xmm0, (%rsp)
callq 0xa550
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)
jmp 0x66fb5
movq 0x15d8(%rbx), %rdx
movq 0xee455(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
addq $0x20, %rsp
popq %rbx
jmp 0xfa261
movsd 0x9f148(%rip), %xmm0    # 0x1060a8
ucomisd %xmm1, %xmm0
jbe 0x66fbb
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x66f85
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xe, (%rax)
xorpd %xmm0, %xmm0
movhpd 0x9f0a9(%rip), %xmm0    # xmm0 = xmm0[0],mem[0]
movupd %xmm0, 0x8(%rax)
jmp 0x66fb5
movq 0xdf99b(%rip), %rax     # 0x146950
addq $0x20, %rsp
popq %rbx
retq
xorpd %xmm0, %xmm0
mulsd %xmm1, %xmm0
addsd 0x8(%rsi), %xmm0
callq 0x83b0
movq %rbx, %rdi
addq $0x20, %rsp
popq %rbx
jmp 0xd387
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_sinh
static s7_pointer g_sinh(s7_scheme *sc, s7_pointer args)
    {
#define H_sinh "(sinh z) returns sinh(z)"
#define Q_sinh sc->pl_nn

        s7_pointer x;
        x = car(args);
        switch (type(x))
        {
            case T_INTEGER:
                if (integer(x) == 0) return(small_int(0));                    /* (sinh 0) -> 0 */

            case T_REAL:
            case T_RATIO:
                return(make_real(sc, sinh(s7_real(x))));

            case T_COMPLEX:
#if HAVE_COMPLEX_NUMBERS
                return(s7_from_c_complex(sc, csinh(as_c_complex(x))));
#else
                return(out_of_range(sc, sc->sinh_symbol, small_int(1), x, no_complex_numbers_string));
#endif

            default:
                return(method_or_bust_with_type_one_arg(sc, x, sc->sinh_symbol, args, a_number_string));
        }
    }

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rcx
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
movzbl (%rsi), %eax
addl $-0xb, %eax
cmpl $0x3, %eax
ja 0x6781f
leaq 0xa0268(%rip), %rcx     # 0x1079e4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpq $0x0, 0x8(%rsi)
je 0x6783a
movq 0xe3299(%rip), %rdi     # 0x14aa30
leaq 0xa28da(%rip), %rdx     # 0x10a078
callq 0xd498
jmp 0x677aa
movsd 0x8(%rsi), %xmm0
callq 0x8450
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x677da
movq %rbx, %rdi
movsd %xmm0, 0x8(%rsp)
callq 0xa550
movsd 0x8(%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 $0x10, %rsp
popq %rbx
retq
movsd 0x10(%rsi), %xmm1
xorpd %xmm0, %xmm0
mulsd %xmm1, %xmm0
addsd 0x8(%rsi), %xmm0
callq 0x8340
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0xd387
movq 0x14e0(%rbx), %rdx
movq 0xedb73(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0xfa261
movq 0xdf10f(%rip), %rax     # 0x146950
jmp 0x677f5
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_cosh
static s7_pointer g_cosh(s7_scheme *sc, s7_pointer args)
    {
#define H_cosh "(cosh z) returns cosh(z)"
#define Q_cosh sc->pl_nn

        s7_pointer x;
        x = car(args);
        switch (type(x))
        {
            case T_INTEGER:
                if (integer(x) == 0) return(small_int(1));                   /* (cosh 0) -> 1 */

            case T_REAL:
            case T_RATIO:
                return(make_real(sc, cosh(s7_real(x))));

            case T_COMPLEX:
#if HAVE_COMPLEX_NUMBERS
                return(s7_from_c_complex(sc, ccosh(as_c_complex(x))));
#else
                return(out_of_range(sc, sc->cosh_symbol, small_int(1), x, no_complex_numbers_string));
#endif

            default:
                return(method_or_bust_with_type_one_arg(sc, x, sc->cosh_symbol, args, a_number_string));
        }
    }

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rcx
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
movzbl (%rsi), %eax
addl $-0xb, %eax
cmpl $0x3, %eax
ja 0x6790b
leaq 0xa018c(%rip), %rcx     # 0x1079f4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpq $0x0, 0x8(%rsi)
je 0x67926
movq 0xe31ad(%rip), %rdi     # 0x14aa30
leaq 0xa27ee(%rip), %rdx     # 0x10a078
callq 0xd498
jmp 0x67896
movsd 0x8(%rsi), %xmm0
callq 0x83f0
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x678c6
movq %rbx, %rdi
movsd %xmm0, 0x8(%rsp)
callq 0xa550
movsd 0x8(%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 $0x10, %rsp
popq %rbx
retq
movsd 0x10(%rsi), %xmm1
xorpd %xmm0, %xmm0
mulsd %xmm1, %xmm0
addsd 0x8(%rsi), %xmm0
callq 0x81b0
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0xd387
movq 0xe30(%rbx), %rdx
movq 0xeda87(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0xfa261
movq 0xdf02b(%rip), %rax     # 0x146958
jmp 0x678e1
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_tanh
static s7_pointer g_tanh(s7_scheme *sc, s7_pointer args)
    {
#define H_tanh "(tanh z) returns tanh(z)"
#define Q_tanh sc->pl_nn

        s7_pointer x;
        x = car(args);
        switch (type(x))
        {
            case T_INTEGER:
                if (integer(x) == 0) return(small_int(0));  /* (tanh 0) -> 0 */

            case T_REAL:
            case T_RATIO:
                return(make_real(sc, tanh(s7_real(x))));

            case T_COMPLEX:
#if HAVE_COMPLEX_NUMBERS
                if (real_part(x) > 350.0)
                    return(real_one);                         /* closer than 0.0 which is what ctanh is about to return! */
                if (real_part(x) < -350.0)
                    return(make_real(sc, -1.0));              /* closer than ctanh's -0.0 */
                return(s7_from_c_complex(sc, ctanh(as_c_complex(x))));
#else
                return(out_of_range(sc, sc->tanh_symbol, small_int(1), x, no_complex_numbers_string));
#endif

            default:
                return(method_or_bust_with_type_one_arg(sc, x, sc->tanh_symbol, args, a_number_string));
        }
    }

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rcx
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
movzbl (%rsi), %eax
addl $-0xb, %eax
cmpl $0x3, %eax
ja 0x679eb
leaq 0xa00b0(%rip), %rcx     # 0x107a04
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpq $0x0, 0x8(%rsi)
je 0x67a5c
movq 0xe30c1(%rip), %rdi     # 0x14aa30
leaq 0xa2702(%rip), %rdx     # 0x10a078
callq 0xd498
jmp 0x67982
movsd 0x8(%rsi), %xmm0
callq 0x8610
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x679b2
movq %rbx, %rdi
movsd %xmm0, 0x8(%rsp)
callq 0xa550
movsd 0x8(%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 $0x10, %rsp
popq %rbx
retq
movsd 0x8(%rsi), %xmm0
ucomisd 0x9e6c0(%rip), %xmm0    # 0x1060a0
jbe 0x67a06
movq 0xeda7f(%rip), %rax     # 0x155468
jmp 0x679cd
movq 0x15e0(%rbx), %rdx
movq 0xed9a7(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0xfa261
movsd 0x9e69a(%rip), %xmm1    # 0x1060a8
ucomisd %xmm0, %xmm1
jbe 0x67a68
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x67a33
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xd, (%rax)
movabsq $-0x4010000000000000, %rcx # imm = 0xBFF0000000000000
movq %rcx, 0x8(%rax)
jmp 0x679cd
movq 0xdeeed(%rip), %rax     # 0x146950
jmp 0x679cd
movsd 0x10(%rsi), %xmm1
xorpd %xmm2, %xmm2
mulsd %xmm1, %xmm2
addsd %xmm2, %xmm0
callq 0x8140
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0xd387
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_asinh
static s7_pointer g_asinh(s7_scheme *sc, s7_pointer args)
    {
#define H_asinh "(asinh z) returns asinh(z)"
#define Q_asinh sc->pl_nn
        s7_pointer x;
        x = car(args);
        switch (type(x))
        {
            case T_INTEGER:
                if (integer(x) == 0) return(small_int(0));
                return(make_real(sc, asinh((s7_double)integer(x))));

            case T_RATIO:
                return(make_real(sc, asinh((s7_double)numerator(x) / (s7_double)denominator(x))));

            case T_REAL:
                return(make_real(sc, asinh(real(x))));

            case T_COMPLEX:
#if HAVE_COMPLEX_NUMBERS
#if (defined(__OpenBSD__)) || (defined(__NetBSD__))
                return(s7_from_c_complex(sc, casinh_1(as_c_complex(x))));
#else
                return(s7_from_c_complex(sc, casinh(as_c_complex(x))));
#endif
#else
                return(out_of_range(sc, sc->asinh_symbol, small_int(1), x, no_complex_numbers_string));
#endif

            default:
                return(method_or_bust_with_type_one_arg(sc, x, sc->asinh_symbol, list_1(sc, x), a_number_string));
        }
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rsi), %r14
movzbl (%r14), %eax
addl $-0xb, %eax
cmpl $0x3, %eax
ja 0x67b67
leaq 0x9ff63(%rip), %rcx     # 0x107a14
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x67bd2
cvtsi2sd %rax, %xmm0
jmp 0x67b12
movsd 0x8(%r14), %xmm0
jmp 0x67b12
movsd 0x10(%r14), %xmm1
xorpd %xmm0, %xmm0
mulsd %xmm1, %xmm0
addsd 0x8(%r14), %xmm0
callq 0x8260
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xd387
cvtsi2sdq 0x8(%r14), %xmm0
cvtsi2sdq 0x10(%r14), %xmm1
divsd %xmm1, %xmm0
callq 0x8740
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x67b40
movq %rbx, %rdi
movsd %xmm0, (%rsp)
callq 0xa550
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 $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0xbe8(%rbx), %r15
movq 0x90(%rbx), %rax
movq 0x110(%rbx), %r12
cmpq 0x98(%rbx), %rax
ja 0x67b94
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rcx
movq $0x200001, (%rcx)       # imm = 0x200001
movq %r14, 0x8(%rcx)
movq %r12, 0x10(%rcx)
movq 0xed7e7(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xfa261
movq 0xded77(%rip), %rax     # 0x146950
jmp 0x67b5b
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_acosh
static s7_pointer g_acosh(s7_scheme *sc, s7_pointer args)
    {
#define H_acosh "(acosh z) returns acosh(z)"
#define Q_acosh sc->pl_nn
        s7_pointer x;
        x = car(args);
        switch (type(x))
        {
            case T_INTEGER:
                if (integer(x) == 1) return(small_int(0));

            case T_REAL:
            case T_RATIO:
                {
                    double x1;
                    x1 = s7_real(x);
                    if (x1 >= 1.0)
                        return(make_real(sc, acosh(x1)));
                }

            case T_COMPLEX:
#if HAVE_COMPLEX_NUMBERS
#ifdef __OpenBSD__
                return(s7_from_c_complex(sc, cacosh_1(s7_to_c_complex(x))));
#else
                return(s7_from_c_complex(sc, cacosh(s7_to_c_complex(x)))); /* not as_c_complex because x might not be complex */
#endif
#else
                /* since we can fall through to this branch, we need a better error message than "must be a number, not 0.0" */
                return(out_of_range(sc, sc->acosh_symbol, small_int(1), x, no_complex_numbers_string));
#endif

            default:
                return(method_or_bust_with_type_one_arg(sc, x, sc->acosh_symbol, list_1(sc, x), a_number_string));
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x8(%rsi), %r14
movzbl (%r14), %eax
addl $-0xb, %eax
cmpl $0x3, %eax
ja 0x67cef
leaq 0x9fe1f(%rip), %rcx     # 0x107a24
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpq $0x1, 0x8(%r14)
jne 0x67c21
movq 0xded34(%rip), %rax     # 0x146950
jmp 0x67cab
movq 0xe2e08(%rip), %rdi     # 0x14aa30
leaq 0xa2449(%rip), %rdx     # 0x10a078
movq %r14, %rsi
callq 0xd498
jmp 0x67c3f
movsd 0x8(%r14), %xmm0
ucomisd 0x9e3e9(%rip), %xmm0    # 0x106030
jae 0x67c60
movb (%r14), %bpl
movq %r14, %rdi
callq 0xe238
xorpd %xmm1, %xmm1
cmpb $0xe, %bpl
je 0x67cc0
jmp 0x67cc6
callq 0x8680
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x67c90
movq %rbx, %rdi
movsd %xmm0, 0x8(%rsp)
callq 0xa550
movsd 0x8(%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 $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
callq 0xe238
movsd 0x10(%r14), %xmm1
xorpd %xmm2, %xmm2
mulsd %xmm1, %xmm2
addsd %xmm0, %xmm2
movapd %xmm2, %xmm0
callq 0x86f0
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0xd387
movq 0xba0(%rbx), %r15
movq 0x90(%rbx), %rax
movq 0x110(%rbx), %r12
cmpq 0x98(%rbx), %rax
ja 0x67d1c
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rcx
movq $0x200001, (%rcx)       # imm = 0x200001
movq %r14, 0x8(%rcx)
movq %r12, 0x10(%rcx)
movq 0xed65f(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0xfa261
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_truncate
static s7_pointer g_truncate(s7_scheme *sc, s7_pointer args)
    {
#define H_truncate "(truncate x) returns the integer closest to x toward 0"
#define Q_truncate s7_make_signature(sc, 2, sc->is_integer_symbol, sc->is_real_symbol)

        s7_pointer x;
        x = car(args);
        switch (type(x))
        {
            case T_INTEGER:
                return(x);

            case T_RATIO:
                return(make_integer(sc, (s7_int)(numerator(x) / denominator(x)))); /* C "/" already truncates */

            case T_REAL:
                {
                    s7_double z;
                    z = real(x);
                    if (is_NaN(z))
                        return(simple_out_of_range(sc, sc->truncate_symbol, x, its_nan_string));
                    if (is_inf(z))
                        return(simple_out_of_range(sc, sc->truncate_symbol, x, its_infinite_string));
                    return(s7_truncate(sc, sc->truncate_symbol, real(x)));
                }

            case T_COMPLEX:
            default:
                return(method_or_bust_one_arg(sc, x, sc->truncate_symbol, args, T_REAL));
        }
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq 0x8(%rsi), %r14
movzbl (%r14), %eax
cmpl $0xb, %eax
je 0x6906a
movq %rdi, %rbx
cmpl $0xd, %eax
je 0x68f98
cmpl $0xc, %eax
jne 0x69011
movq 0x8(%r14), %rax
cqto
idivq 0x10(%r14)
movq %rax, %r15
cmpq $0x7ff, %rax            # imm = 0x7FF
ja 0x69031
leaq 0xdd9c1(%rip), %rax     # 0x146950
movq (%rax,%r15,8), %r14
jmp 0x6906a
movsd 0x8(%r14), %xmm0
ucomisd %xmm0, %xmm0
jp 0x69080
movq %xmm0, %rax
btrq $0x3f, %rax
movabsq $0x7ff0000000000000, %rcx # imm = 0x7FF0000000000000
movq 0x1620(%rbx), %rsi
cmpq %rcx, %rax
jne 0x69073
movq 0x8(%rsi), %rax
movq 0xec671(%rip), %rcx     # 0x155648
movq 0x1ef8(%rbx), %rdx
movq 0x10(%rdx), %rdx
movq %rax, 0x8(%rdx)
movq 0x10(%rdx), %rax
movq %r14, 0x8(%rax)
movq 0x10(%rax), %rax
movq %rcx, 0x8(%rax)
movq 0x1948(%rbx), %r14
movq 0x1ef8(%rbx), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x38dfa
jmp 0x6906a
movq %rsi, %rcx
movq 0x1620(%rbx), %rdx
movq %rbx, %rdi
movq %r14, %rsi
movl $0xd, %r8d
popq %rbx
popq %r14
popq %r15
jmp 0x95069
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x69050
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %r14
movq $0xb, (%r14)
movq %r15, 0x8(%r14)
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0xfa9a8
movq 0x1620(%rbx), %rax
movq 0x8(%rax), %rax
movq 0xec5ae(%rip), %rcx     # 0x155640
jmp 0x68fd7
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_logior
static s7_pointer g_logior(s7_scheme *sc, s7_pointer args)
    {
#define H_logior "(logior int32_t ...) returns the OR of its integer arguments (the bits that are on in any of the arguments)"
#define Q_logior sc->pcl_i
        s7_int result = 0;
        s7_pointer x;

        for (x = args; is_not_null(x); x = cdr(x))
        {
            if (!s7_is_integer(car(x)))
                return(method_or_bust(sc, car(x), sc->logior_symbol, (result == 0) ? x : cons(sc, make_integer(sc, result), x), T_INTEGER, position_of(x, args)));
            result |= s7_integer(car(x));
        }
        return(make_integer(sc, result));
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x110(%rdi), %rax
cmpq %rsi, %rax
je 0x6e946
movq %rsi, %r14
movq %rdi, %rbx
xorl %ebp, %ebp
movq %rsi, %r13
movq 0x8(%r13), %r15
cmpb $0xb, (%r15)
jne 0x6e962
orq 0x8(%r15), %rbp
movq 0x10(%r13), %r13
cmpq %rax, %r13
jne 0x6e8eb
cmpq $0x7ff, %rbp            # imm = 0x7FF
jbe 0x6e948
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x6e92a
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xb, (%rax)
movq %rbp, 0x8(%rax)
jmp 0x6e953
xorl %ebp, %ebp
leaq 0xd8001(%rip), %rax     # 0x146950
movq (%rax,%rbp,8), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x12a8(%rbx), %rdx
movq %r13, %rcx
testq %rbp, %rbp
je 0x6ea0f
cmpq $0x7ff, %rbp            # imm = 0x7FF
ja 0x6e98b
leaq 0xd7fcb(%rip), %rax     # 0x146950
movq (%rax,%rbp,8), %r12
jmp 0x6e9cc
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x6e9b0
movq %rbx, %rdi
movq %rdx, %r12
callq 0xa550
movq %r12, %rdx
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %r12
movq $0xb, (%r12)
movq %rbp, 0x8(%r12)
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x6e9f1
movq %rbx, %rdi
movq %rdx, %rbp
callq 0xa550
movq %rbp, %rdx
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rcx
movq $0x200001, (%rcx)       # imm = 0x200001
movq %r12, 0x8(%rcx)
movq %r13, 0x10(%rcx)
movl $0x1, %r9d
cmpq %r14, %r13
je 0x6ea26
incl %r9d
movq 0x10(%r14), %r14
cmpq %r13, %r14
jne 0x6ea1a
movq %rbx, %rdi
movq %r15, %rsi
movl $0xb, %r8d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xe42d
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_logxor
static s7_pointer g_logxor(s7_scheme *sc, s7_pointer args)
    {
#define H_logxor "(logxor int32_t ...) returns the XOR of its integer arguments (the bits that are on in an odd number of the arguments)"
#define Q_logxor sc->pcl_i
        s7_int result = 0;
        s7_pointer x;

        for (x = args; is_not_null(x); x = cdr(x))
        {
            if (!s7_is_integer(car(x)))
                return(method_or_bust(sc, car(x), sc->logxor_symbol, (result == 0) ? x : cons(sc, make_integer(sc, result), x), T_INTEGER, position_of(x, args)));
            result ^= s7_integer(car(x));
        }
        return(make_integer(sc, result));
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x110(%rdi), %rax
cmpq %rsi, %rax
je 0x6eac2
movq %rsi, %r14
movq %rdi, %rbx
xorl %ebp, %ebp
movq %rsi, %r13
movq 0x8(%r13), %r15
cmpb $0xb, (%r15)
jne 0x6eade
xorq 0x8(%r15), %rbp
movq 0x10(%r13), %r13
cmpq %rax, %r13
jne 0x6ea67
cmpq $0x7ff, %rbp            # imm = 0x7FF
jbe 0x6eac4
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x6eaa6
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xb, (%rax)
movq %rbp, 0x8(%rax)
jmp 0x6eacf
xorl %ebp, %ebp
leaq 0xd7e85(%rip), %rax     # 0x146950
movq (%rax,%rbp,8), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x12b8(%rbx), %rdx
movq %r13, %rcx
testq %rbp, %rbp
je 0x6eb8b
cmpq $0x7ff, %rbp            # imm = 0x7FF
ja 0x6eb07
leaq 0xd7e4f(%rip), %rax     # 0x146950
movq (%rax,%rbp,8), %r12
jmp 0x6eb48
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x6eb2c
movq %rbx, %rdi
movq %rdx, %r12
callq 0xa550
movq %r12, %rdx
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %r12
movq $0xb, (%r12)
movq %rbp, 0x8(%r12)
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x6eb6d
movq %rbx, %rdi
movq %rdx, %rbp
callq 0xa550
movq %rbp, %rdx
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rcx
movq $0x200001, (%rcx)       # imm = 0x200001
movq %r12, 0x8(%rcx)
movq %r13, 0x10(%rcx)
movl $0x1, %r9d
cmpq %r14, %r13
je 0x6eba2
incl %r9d
movq 0x10(%r14), %r14
cmpq %r13, %r14
jne 0x6eb96
movq %rbx, %rdi
movq %r15, %rsi
movl $0xb, %r8d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xe42d