LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_subtract_1
static s7_pointer g_subtract_1(s7_scheme *sc, s7_pointer args)
    {
        s7_pointer p;

        p = car(args);
        switch (type(p))
        {
            case T_INTEGER:
                if (integer(p) == s7_int_min)
#if WITH_GMP
                    return(big_negate(sc, set_plist_1(sc, promote_number(sc, T_BIG_INTEGER, p))));
#else
                return(simple_out_of_range(sc, sc->subtract_symbol, p, wrap_string(sc, "most-negative-fixnum can't be negated", 37)));
#endif
                return(make_integer(sc, -integer(p)));

            case T_RATIO:
                return(make_simple_ratio(sc, -numerator(p), denominator(p)));

            case T_REAL:
                return(make_real(sc, -real(p)));

            case T_COMPLEX:
                return(s7_make_complex(sc, -real_part(p), -imag_part(p)));

            default:
                return(method_or_bust_with_type(sc, p, sc->subtract_symbol, args, a_number_string, 1));
        }
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x8(%rsi), %rax
movzbl (%rax), %edx
addl $-0xb, %edx
cmpl $0x3, %edx
ja 0xcd0c5
leaq 0x7f21(%rip), %rcx      # 0xd4ee4
movslq (%rcx,%rdx,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
movq 0x8(%rax), %r14
movl 0x4ca52(%rip), %ecx     # 0x119a28
shlq $0x3f, %rcx
cmpq %rcx, %r14
jne 0xcd0ec
movq 0x1588(%rbx), %rcx
movq 0x8(%rcx), %rsi
movq 0x820(%rbx), %rcx
movslq 0x7dc(%rbx), %rdx
movq (%rcx,%rdx,8), %rcx
incl %edx
andl $0x7, %edx
movl %edx, 0x7dc(%rbx)
leaq 0x1a690(%rip), %rdx     # 0xe76a2
movq %rdx, 0x10(%rcx)
movq $0x25, 0x8(%rcx)
movq %rbx, %rdi
movq %rax, %rdx
addq $0x18, %rsp
popq %rbx
popq %r14
jmp 0x35b47
movsd 0x8(%rax), %xmm0
xorps 0x8e74(%rip), %xmm0     # 0xd5eb0
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0xcd063
movq %rbx, %rdi
movaps %xmm0, (%rsp)
callq 0x9c27
movaps (%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 $0x18, %rsp
popq %rbx
popq %r14
retq
movaps 0x8e23(%rip), %xmm2     # 0xd5eb0
movsd 0x8(%rax), %xmm0
movsd 0x10(%rax), %xmm1
xorps %xmm2, %xmm0
xorps %xmm2, %xmm1
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r14
jmp 0xc152
xorl %esi, %esi
subq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r14
jmp 0xc761f
movq %rsi, %rcx
movq 0x1588(%rbx), %rdx
movq 0x572ca(%rip), %r8      # 0x1243a0
pushq $0x1
popq %r9
movq %rbx, %rdi
movq %rax, %rsi
addq $0x18, %rsp
popq %rbx
popq %r14
jmp 0xcf9a
negq %r14
cmpq $0x7ff, %r14            # imm = 0x7FF
ja 0xcd108
leaq 0x48851(%rip), %rax     # 0x115950
movq (%rax,%r14,8), %rax
jmp 0xcd07e
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0xcd127
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 0xcd07e
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_subtract_f2
static s7_pointer g_subtract_f2(s7_scheme *sc, s7_pointer args) /* (- f x) */
    {
        s7_pointer x;
        s7_double n;

        x = cadr(args);
        n = real(car(args));
        if (is_float(x)) return(make_real(sc, n - real(x)));

        switch (type(x))
        {
            case T_INTEGER: return(make_real(sc, n - integer(x)));
            case T_RATIO:   return(make_real(sc, n - fraction(x)));
            case T_REAL:    return(make_real(sc, n - real(x)));
            case T_COMPLEX: return(s7_make_complex(sc, n - real_part(x), -imag_part(x)));
            default:
                            return(method_or_bust_with_type(sc, x, sc->subtract_symbol, args, a_number_string, 1));
        }
        return(x);
    }

// Assembly:
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rcx
movq %rdi, %rbx
movq 0x10(%rsi), %rax
movq 0x8(%rax), %rsi
movzbl (%rsi), %eax
addl $-0xb, %eax
cmpl $0x3, %eax
ja 0xcd263
movq 0x8(%rcx), %rcx
movsd 0x8(%rcx), %xmm0
leaq 0x7d47(%rip), %rcx      # 0xd4ef4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cvtsi2sdq 0x8(%rsi), %xmm1
subsd %xmm1, %xmm0
jmp 0xcd217
subsd 0x8(%rsi), %xmm0
jmp 0xcd217
subsd 0x8(%rsi), %xmm0
movsd 0x10(%rsi), %xmm1
xorps 0x8cd6(%rip), %xmm1     # 0xd5eb0
movq %rbx, %rdi
addq $0x30, %rsp
popq %rbx
jmp 0xc152
movsd %xmm0, 0x18(%rsp)
movq 0x8(%rsi), %rax
movq 0x10(%rsi), %rcx
movq %rax, 0x28(%rsp)
fildll 0x28(%rsp)
movq %rcx, 0x20(%rsp)
fildll 0x20(%rsp)
fdivrp %st, %st(1)
fsubrl 0x18(%rsp)
fstpl 0x10(%rsp)
movsd 0x10(%rsp), %xmm0
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0xcd242
movq %rbx, %rdi
movsd %xmm0, 0x8(%rsp)
callq 0x9c27
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 $0x30, %rsp
popq %rbx
retq
movq 0x1588(%rbx), %rdx
movq 0x5712f(%rip), %r8      # 0x1243a0
pushq $0x1
popq %r9
movq %rbx, %rdi
addq $0x30, %rsp
popq %rbx
jmp 0xcf9a
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: multiply_chooser
static s7_pointer multiply_chooser(s7_scheme *sc, s7_pointer f, int32_t args, s7_pointer expr, bool ops)
                {
#if (!WITH_GMP)
                    if (args == 2)
                    {
                        if (ops)
                            return(chooser_check_arg_types(sc, cadr(expr), caddr(expr), sc->multiply_2,
                                        sc->mul_2_ff, sc->mul_2_ii, sc->mul_2_if, sc->mul_2_fi,
                                        sc->mul_2_xi, sc->mul_2_ix, sc->mul_2_fx, sc->mul_2_xf));
                        return(sc->multiply_2);
                    }
#endif
                    return(f);
                }

// Assembly:
cmpl $0x2, %edx
jne 0xcd2e9
testb %r8b, %r8b
je 0xcd2e2
subq $0x38, %rsp
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rax
movq 0x8(%rax), %rdx
movq 0x1c30(%rdi), %rcx
movq 0x1ce0(%rdi), %r8
movq 0x1ce8(%rdi), %r9
movups 0x1cf0(%rdi), %xmm0
movups 0x1d00(%rdi), %xmm1
movups 0x1d10(%rdi), %xmm2
movups %xmm2, 0x20(%rsp)
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0xd0291
addq $0x38, %rsp
retq
movq 0x1c30(%rdi), %rsi
movq %rsi, %rax
retq
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_mul_2_ii
static s7_pointer g_mul_2_ii(s7_scheme *sc, s7_pointer args)
    {
#if HAVE_OVERFLOW_CHECKS
        s7_int val, x, y;
        x = integer(car(args));
        y = integer(cadr(args));
        if (multiply_overflow(x, y, &val))
            return(make_real(sc, (double)x * (double)y));
        return(make_integer(sc, val));
#else
        return(make_integer(sc, integer(car(args)) * integer(cadr(args))));
#endif
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rsi), %rax
movq 0x10(%rsi), %rcx
movq 0x8(%rax), %rax
movq 0x8(%rcx), %rcx
movq 0x8(%rcx), %rcx
movq %rax, %r14
imulq %rcx, %r14
jno 0xcd3dd
cvtsi2sd %rax, %xmm0
cvtsi2sd %rcx, %xmm1
mulsd %xmm0, %xmm1
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0xcd3c0
movq %rbx, %rdi
movsd %xmm1, (%rsp)
callq 0x9c27
movsd (%rsp), %xmm1
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xd, (%rax)
movsd %xmm1, 0x8(%rax)
jmp 0xcd42c
cmpq $0x7ff, %r14            # imm = 0x7FF
ja 0xcd3f3
leaq 0x48563(%rip), %rax     # 0x115950
movq (%rax,%r14,8), %rax
jmp 0xcd42c
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0xcd412
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)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: divide_chooser
static s7_pointer divide_chooser(s7_scheme *sc, s7_pointer f, int32_t args, s7_pointer expr, bool ops)
                {
#if (!WITH_GMP)
                    if (args == 1)
                        return(sc->invert_1);
                    if (ops)
                    {
                        if (args == 2)
                        {
                            s7_pointer arg1;
                            arg1 = cadr(expr);
                            if ((is_t_real(arg1)) && (real(arg1) == 1.0))
                                return(sc->divide_1r);
                            if ((is_t_integer(caddr(expr))) && (integer(caddr(expr)) == 2))
                                return(sc->divide_by_2);
                            return(sc->divide_2);
                        }
                    }
#endif
                    return(f);
                }

// Assembly:
movq %rsi, %rax
movl $0x1c38, %esi           # imm = 0x1C38
cmpl $0x1, %edx
je 0xcd5cf
cmpl $0x2, %edx
setne %dl
xorb $0x1, %r8b
orb %dl, %r8b
jne 0xcd5d3
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rcx
cmpb $0xd, (%rcx)
jne 0xcd5b1
movsd 0x8(%rcx), %xmm0
movl $0x1c40, %esi           # imm = 0x1C40
ucomisd 0x4a83(%rip), %xmm0     # 0xd2030
jne 0xcd5b1
jnp 0xcd5cf
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
cmpb $0xb, (%rax)
jne 0xcd5ca
movl $0x1c50, %esi           # imm = 0x1C50
cmpq $0x2, 0x8(%rax)
je 0xcd5cf
movl $0x1c48, %esi           # imm = 0x1C48
movq (%rdi,%rsi), %rax
retq
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_invert_1
static s7_pointer g_invert_1(s7_scheme *sc, s7_pointer args)
    {
        s7_pointer p;
        p = car(args);
        switch (type(p))
        {
            case T_INTEGER:
                if (integer(p) != 0)
                    return(s7_make_ratio(sc, 1, integer(p)));      /* a already checked, not 0 */
                return(division_by_zero_error(sc, sc->divide_symbol, args));

            case T_RATIO:
                return(make_simple_ratio(sc, denominator(p), numerator(p)));

            case T_REAL:
                if (real(p) != 0.0)
                    return(make_real(sc, 1.0 / real(p)));
                return(division_by_zero_error(sc, sc->divide_symbol, args));

            case T_COMPLEX:
                return(complex_invert(sc, p));

            default:
                return(method_or_bust_with_type(sc, p, sc->divide_symbol, args, a_number_string, 1));
        }
    }

// 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 0xcd6ae
leaq 0x790b(%rip), %rdx      # 0xd4f04
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
movq 0x8(%rsi), %rdx
testq %rdx, %rdx
je 0xcd6cd
pushq $0x1
popq %rsi
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0xbd87
movsd 0x8(%rsi), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xcd634
jnp 0xcd6cd
movsd 0x49f4(%rip), %xmm1     # 0xd2030
divsd %xmm0, %xmm1
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0xcd66b
movq %rbx, %rdi
movsd %xmm1, 0x8(%rsp)
callq 0x9c27
movsd 0x8(%rsp), %xmm1
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xd, (%rax)
movsd %xmm1, 0x8(%rax)
addq $0x10, %rsp
popq %rbx
retq
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0xc9018
movq 0x8(%rsi), %rdx
movq 0x10(%rsi), %rsi
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0xc761f
movq 0xe88(%rbx), %rdx
movq 0x56ce4(%rip), %r8      # 0x1243a0
pushq $0x1
popq %r9
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0xcf9a
movq 0xe88(%rbx), %rsi
movq %rbx, %rdi
movq %rcx, %rdx
addq $0x10, %rsp
popq %rbx
jmp 0xc1ff
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_divide_1r
static s7_pointer g_divide_1r(s7_scheme *sc, s7_pointer args)
    {
        if (s7_is_real(cadr(args)))
        {
            s7_double rl;
            rl = s7_real(cadr(args));
            if (rl == 0.0)
                return(division_by_zero_error(sc, sc->divide_symbol, args));
            return(make_real(sc, 1.0 / rl));
        }
        return(g_divide(sc, args));
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x10(%rsi), %rax
movq 0x8(%rax), %rdi
movzbl (%rdi), %eax
leaq 0x4c2b0(%rip), %rcx     # 0x1199b0
cmpb $0x1, (%rax,%rcx)
jne 0xcd730
callq 0xc42a
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0xcd742
jp 0xcd742
movq 0xe88(%rbx), %rsi
movq %rbx, %rdi
movq %r14, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xc1ff
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x56205
movsd 0x48e6(%rip), %xmm1     # 0xd2030
divsd %xmm0, %xmm1
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0xcd777
movq %rbx, %rdi
movsd %xmm1, (%rsp)
callq 0x9c27
movsd (%rsp), %xmm1
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xd, (%rax)
movsd %xmm1, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: num_eq_chooser
static s7_pointer num_eq_chooser(s7_scheme *sc, s7_pointer ur_f, int32_t args, s7_pointer expr, bool ops)
                {
                    if (args == 2)
                    {
                        if ((ops) && (s7_is_integer(caddr(expr))))
                            return(sc->num_eq_xi);
                        if ((ops) && (s7_is_integer(cadr(expr))))
                            return(sc->num_eq_ix);
                        return(sc->num_eq_2);
                    }
                    return(ur_f);
                }

// Assembly:
movq %rsi, %rax
cmpl $0x2, %edx
jne 0xcda67
testb %r8b, %r8b
je 0xcda5e
movq 0x10(%rcx), %rcx
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rdx
movl $0x1c60, %eax           # imm = 0x1C60
cmpb $0xb, (%rdx)
je 0xcda63
movq 0x8(%rcx), %rcx
movl $0x1c68, %eax           # imm = 0x1C68
cmpb $0xb, (%rcx)
je 0xcda63
movl $0x1c58, %eax           # imm = 0x1C58
movq (%rdi,%rax), %rax
retq
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_num_eq_ix
static s7_pointer g_num_eq_ix(s7_scheme *sc, s7_pointer args)
    {
        s7_pointer x, y;
        x = car(args);
        y = cadr(args);
        if (is_t_integer(y))
            return(make_boolean(sc, integer(x) == integer(y)));
        if (is_t_real(y))
            return(make_boolean(sc, integer(x) == real(y)));
        if (!is_number(y))
            return(eq_out_x(sc, y, x));
        return(sc->F);
    }

// Assembly:
movq 0x8(%rsi), %rdx
movq 0x10(%rsi), %rax
movq 0x8(%rax), %rsi
movzbl (%rsi), %eax
cmpl $0xd, %eax
je 0xcda97
cmpl $0xb, %eax
jne 0xcdab4
movq 0x8(%rdx), %rax
xorl %ecx, %ecx
cmpq 0x8(%rsi), %rax
setne %cl
movq 0x118(%rdi,%rcx,8), %rax
retq
cvtsi2sdq 0x8(%rdx), %xmm0
cmpneqsd 0x8(%rsi), %xmm0
movq %xmm0, %rax
andl $0x1, %eax
movq 0x118(%rdi,%rax,8), %rax
retq
leaq 0x4beb5(%rip), %rcx     # 0x119970
cmpb $0x0, (%rax,%rcx)
je 0xab5fc
movq 0x120(%rdi), %rax
retq
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: less_chooser
static s7_pointer less_chooser(s7_scheme *sc, s7_pointer f, int32_t args, s7_pointer expr, bool ops)
                {
                    if (args == 2)
                    {
                        if (ops)
                        {
                            s7_pointer arg2;
                            arg2 = caddr(expr);
                            if (is_t_integer(arg2))
                            {
                                if (integer(arg2) == 0)
                                    return(sc->less_x0);

                                if ((integer(arg2) < s7_int32_max) &&
                                        (integer(arg2) > s7_int32_min))
                                    return(sc->less_xi);
                            }
                            if (is_float(arg2))
                                return(sc->less_xf);
                        }
                        return(sc->less_2);
                    }
                    return(f);
                }

// Assembly:
movq %rsi, %rax
cmpl $0x2, %edx
jne 0xcdb3b
testb %r8b, %r8b
je 0xcdb32
movq 0x10(%rcx), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %ecx
cmpl $0xd, %ecx
je 0xcdb3c
cmpl $0xb, %ecx
jne 0xcdb32
movq 0x8(%rax), %rax
testq %rax, %rax
je 0xcdb43
xorl %ecx, %ecx
cmpb $0x0, 0x568df(%rip)     # 0x1243e4
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
cmoveq %rcx, %rdx
cmpq %rdx, %rax
jge 0xcdb32
movb 0x5694b(%rip), %cl      # 0x124464
notb %cl
movzbl %cl, %edx
shll $0x1f, %edx
addq $-0x80000000, %rdx      # imm = 0x80000000
movl $0x1c70, %ecx           # imm = 0x1C70
cmpq %rdx, %rax
jg 0xcdb37
movl $0x1c88, %ecx           # imm = 0x1C88
movq (%rdi,%rcx), %rax
retq
movl $0x1c78, %ecx           # imm = 0x1C78
jmp 0xcdb37
movl $0x1c80, %ecx           # imm = 0x1C80
jmp 0xcdb37
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: greater_chooser
static s7_pointer greater_chooser(s7_scheme *sc, s7_pointer f, int32_t args, s7_pointer expr, bool ops)
                {
                    if (args == 2)
                    {
                        if (ops)
                        {
                            s7_pointer arg2;
                            arg2 = caddr(expr);

                            if ((is_t_integer(arg2)) &&
                                    (integer(arg2) < s7_int32_max) &&
                                    (integer(arg2) > s7_int32_min))
                                return(sc->greater_xi);

                            if ((is_t_real(arg2)) &&
                                    (real(arg2) < s7_int32_max) &&
                                    (real(arg2) > s7_int32_min))
                                return(sc->greater_xf);
                        }
                        return(sc->greater_2);
                    }
                    return(f);
                }

// Assembly:
movq %rsi, %rax
cmpl $0x2, %edx
jne 0xcdc05
testb %r8b, %r8b
je 0xcdbfc
movq 0x10(%rcx), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %ecx
cmpl $0xd, %ecx
je 0xcdbb8
cmpl $0xb, %ecx
jne 0xcdbfc
movq 0x8(%rax), %rax
xorl %ecx, %ecx
cmpb $0x0, 0x5685b(%rip)     # 0x1243e4
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
cmoveq %rcx, %rdx
cmpq %rdx, %rax
jge 0xcdbfc
movb 0x568c7(%rip), %cl      # 0x124464
notb %cl
movzbl %cl, %edx
shll $0x1f, %edx
addq $-0x80000000, %rdx      # imm = 0x80000000
movl $0x1c90, %ecx           # imm = 0x1C90
cmpq %rdx, %rax
jle 0xcdbfc
jmp 0xcdc01
movsd 0x8(%rax), %xmm0
cmpb $0x0, 0x56820(%rip)     # 0x1243e4
jne 0xcdbcc
xorpd %xmm1, %xmm1
jmp 0xcdbd4
movsd 0x4554(%rip), %xmm1     # 0xd2128
ucomisd %xmm0, %xmm1
jbe 0xcdbfc
cmpb $0x0, 0x56883(%rip)     # 0x124464
jne 0xcdbe9
xorpd %xmm1, %xmm1
jmp 0xcdbf1
movsd 0x453f(%rip), %xmm1     # 0xd2130
movl $0x1c98, %ecx           # imm = 0x1C98
ucomisd %xmm1, %xmm0
ja 0xcdc01
movl $0x1ca0, %ecx           # imm = 0x1CA0
movq (%rdi,%rcx), %rax
retq
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_greater_xf
static s7_pointer g_greater_xf(s7_scheme *sc, s7_pointer args)
    {
        s7_double y;
        s7_pointer x;

        x = car(args);
        y = real(cadr(args));

        if (is_t_real(x))
            return(make_boolean(sc, real(x) > y));

        switch (type(x))
        {
            case T_INTEGER:
                return(make_boolean(sc, integer(x) > y));

            case T_RATIO:
                /* (> 9223372036854775807/9223372036854775806 1.0) */
                if (denominator(x) < s7_int32_max) /* y range check was handled in greater_chooser */
                    return(make_boolean(sc, (numerator(x) > (y * denominator(x)))));
                return(make_boolean(sc, fraction(x) > y));

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

            default:
                return(method_or_bust_with_type(sc, x, sc->gt_symbol, args, a_number_string, 1));
        }
        return(sc->T);
    }

// Assembly:
movq %rsi, %rcx
movq 0x8(%rsi), %rsi
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rax
movsd 0x8(%rax), %xmm0
movzbl (%rsi), %eax
cmpl $0xb, %eax
je 0xcdc62
cmpl $0xc, %eax
je 0xcdc33
cmpl $0xd, %eax
jne 0xcdc7a
movsd 0x8(%rsi), %xmm1
jmp 0xcdc68
movq 0x8(%rsi), %rcx
movq 0x10(%rsi), %rax
xorl %edx, %edx
cmpb $0x0, 0x567a0(%rip)     # 0x1243e4
movl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
cmoveq %rdx, %rsi
cmpq %rsi, %rax
jge 0xcdc93
cvtsi2sd %rcx, %xmm1
cvtsi2sd %rax, %xmm2
mulsd %xmm2, %xmm0
jmp 0xcdc68
cvtsi2sdq 0x8(%rsi), %xmm1
xorl %eax, %eax
ucomisd %xmm0, %xmm1
setbe %al
movq 0x118(%rdi,%rax,8), %rax
retq
movq 0xf58(%rdi), %rdx
movq 0x56718(%rip), %r8      # 0x1243a0
movl $0x1, %r9d
jmp 0xcf9a
movq %rcx, -0x10(%rsp)
fildll -0x10(%rsp)
movq %rax, -0x8(%rsp)
fildll -0x8(%rsp)
fdivrp %st, %st(1)
movsd %xmm0, -0x18(%rsp)
fldl -0x18(%rsp)
xorl %eax, %eax
fxch %st(1)
fucompi %st(1), %st
fstp %st(0)
jmp 0xcdc6e
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: leq_chooser
static s7_pointer leq_chooser(s7_scheme *sc, s7_pointer f, int32_t args, s7_pointer expr, bool ops)
                {
                    if (args == 2)
                    {
                        if (ops)
                        {
                            s7_pointer arg2;
                            arg2 = caddr(expr);
                            if ((is_t_integer(arg2)) &&
                                    (integer(arg2) < s7_int32_max) &&
                                    (integer(arg2) > s7_int32_min))
                                return(sc->leq_xi);
                        }
                        return(sc->leq_2);
                    }
                    return(f);
                }

// Assembly:
movq %rsi, %rax
cmpl $0x2, %edx
jne 0xcdd1c
testb %r8b, %r8b
je 0xcdd13
movq 0x10(%rcx), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
cmpb $0xb, (%rax)
jne 0xcdd13
movq 0x8(%rax), %rax
xorl %ecx, %ecx
cmpb $0x0, 0x566fe(%rip)     # 0x1243e4
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
cmoveq %rcx, %rdx
cmpq %rdx, %rax
jge 0xcdd13
movb 0x5676a(%rip), %cl      # 0x124464
notb %cl
movzbl %cl, %edx
shll $0x1f, %edx
addq $-0x80000000, %rdx      # imm = 0x80000000
movl $0x1ca8, %ecx           # imm = 0x1CA8
cmpq %rdx, %rax
jg 0xcdd18
movl $0x1cb0, %ecx           # imm = 0x1CB0
movq (%rdi,%rcx), %rax
retq
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: geq_chooser
static s7_pointer geq_chooser(s7_scheme *sc, s7_pointer f, int32_t args, s7_pointer expr, bool ops)
                {
                    if (args == 2)
                    {
                        if (ops)
                        {
                            s7_pointer arg2;
                            arg2 = caddr(expr);
                            if ((is_t_integer(arg2)) &&
                                    (integer(arg2) < s7_int32_max) &&
                                    (integer(arg2) > s7_int32_min))
                                return(sc->geq_xi);
                            if ((is_t_real(arg2)) &&
                                    (real(arg2) < s7_int32_max) &&
                                    (real(arg2) > s7_int32_min))
                                return(sc->geq_xf);
                        }
                        return(sc->geq_2);
                    }
                    return(f);
                }

// Assembly:
movq %rsi, %rax
cmpl $0x2, %edx
jne 0xcddd8
testb %r8b, %r8b
je 0xcddcf
movq 0x10(%rcx), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %ecx
cmpl $0xd, %ecx
je 0xcdd8b
cmpl $0xb, %ecx
jne 0xcddcf
movq 0x8(%rax), %rax
xorl %ecx, %ecx
cmpb $0x0, 0x56688(%rip)     # 0x1243e4
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
cmoveq %rcx, %rdx
cmpq %rdx, %rax
jge 0xcddcf
movb 0x566f4(%rip), %cl      # 0x124464
notb %cl
movzbl %cl, %edx
shll $0x1f, %edx
addq $-0x80000000, %rdx      # imm = 0x80000000
movl $0x1cb8, %ecx           # imm = 0x1CB8
cmpq %rdx, %rax
jle 0xcddcf
jmp 0xcddd4
movsd 0x8(%rax), %xmm0
cmpb $0x0, 0x5664d(%rip)     # 0x1243e4
jne 0xcdd9f
xorpd %xmm1, %xmm1
jmp 0xcdda7
movsd 0x4381(%rip), %xmm1     # 0xd2128
ucomisd %xmm0, %xmm1
jbe 0xcddcf
cmpb $0x0, 0x566b0(%rip)     # 0x124464
jne 0xcddbc
xorpd %xmm1, %xmm1
jmp 0xcddc4
movsd 0x436c(%rip), %xmm1     # 0xd2130
movl $0x1cc0, %ecx           # imm = 0x1CC0
ucomisd %xmm1, %xmm0
ja 0xcddd4
movl $0x1c18, %ecx           # imm = 0x1C18
movq (%rdi,%rcx), %rax
retq
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_random_1
static s7_pointer g_random_1(s7_scheme *sc, s7_pointer args)
    {
        s7_pointer r, num;
        num = car(args);
        r = sc->default_rng;
        if (is_t_integer(num))
            return(make_integer(sc, (s7_int)(integer(num) * next_random(r))));
        if (is_t_real(num))
            return(make_real(sc, real(num) * next_random(r)));
        return(g_random(sc, args));
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rsi), %rax
movq 0xaa0(%rdi), %rdi
movzbl (%rax), %ecx
cmpl $0xd, %ecx
je 0xcde6a
cmpl $0xb, %ecx
jne 0xcdec4
cvtsi2sdq 0x8(%rax), %xmm0
movsd %xmm0, (%rsp)
callq 0xd0c9
mulsd (%rsp), %xmm0
cvttsd2si %xmm0, %r14
cmpq $0x7ff, %r14            # imm = 0x7FF
ja 0xcded3
leaq 0x47aef(%rip), %rax     # 0x115950
movq (%rax,%r14,8), %rax
jmp 0xcdf0c
movsd 0x8(%rax), %xmm0
movsd %xmm0, (%rsp)
callq 0xd0c9
mulsd (%rsp), %xmm0
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0xcdea7
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)
jmp 0xcdf0c
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x59a5d
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0xcdef2
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)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: is_defined_chooser
static s7_pointer is_defined_chooser(s7_scheme *sc, s7_pointer f, int32_t args, s7_pointer expr, bool ops)
    {
        if (!ops) return(f);
        if ((args == 2) && (is_symbol(cadr(expr))))
        {
            s7_pointer e;
            e = caddr(expr);
            if ((is_pair(e)) && (is_null(cdr(e))) && (car(e) == sc->rootlet_symbol))
            {
                set_safe_optimize_op(expr, HOP_SAFE_C_D);
                return(sc->is_defined_in_rootlet);
            }
        }
        return(f);
    }

// Assembly:
movq %rsi, %rax
xorb $0x1, %r8b
cmpl $0x2, %edx
setne %dl
orb %r8b, %dl
jne 0xcdfc4
movq 0x10(%rcx), %rdx
movq 0x8(%rdx), %rsi
cmpb $0xa, (%rsi)
jne 0xcdfc4
movq 0x10(%rdx), %rdx
movq 0x8(%rdx), %rdx
cmpb $0x1, (%rdx)
jne 0xcdfc4
movq 0x10(%rdx), %rsi
cmpq 0x110(%rdi), %rsi
je 0xcdfc5
retq
movq 0x8(%rdx), %rdx
cmpq 0x1490(%rdi), %rdx
jne 0xcdfc4
orb $0x8, 0x1(%rcx)
movw $0x3, 0x4(%rcx)
movq 0x1c28(%rdi), %rax
retq
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_is_defined_in_rootlet
static s7_pointer g_is_defined_in_rootlet(s7_scheme *sc, s7_pointer args)
    {
        /* here we know arg2=(rootlet), and no arg3, arg1 is a symbol that needs to be looked-up */
        s7_pointer sym;
        sym = lookup(sc, car(args));
        if (!is_symbol(sym))
            return(method_or_bust(sc, sym, sc->is_defined_symbol, args, T_SYMBOL, 1));
        return(make_boolean(sc, is_slot(global_slot(sym))));
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
callq 0x7d158
cmpb $0xa, (%rax)
jne 0xce018
movq 0x10(%rax), %rax
xorl %ecx, %ecx
cmpb $0x20, (%rax)
setne %cl
movq 0x118(%rbx,%rcx,8), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x1050(%rbx), %rdx
pushq $0xa
popq %r8
pushq $0x1
popq %r9
movq %rbx, %rdi
movq %rax, %rsi
movq %r14, %rcx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xcd70
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: char_equal_chooser
static s7_pointer char_equal_chooser(s7_scheme *sc, s7_pointer f, int32_t args, s7_pointer expr, bool ops)
                {
                    if (args == 2)
                    {
                        if (ops)
                        {
                            s7_pointer arg1, arg2;
                            arg1 = cadr(expr);
                            arg2 = caddr(expr);
                            if ((returns_char(sc, arg1)) && (returns_char(sc, arg2)))
                                return(sc->simple_char_eq);
                        }
                        return(sc->char_equal_2);
                    }
                    return(f);
                }

// Assembly:
movq %rsi, %rax
cmpl $0x2, %edx
jne 0xce08d
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testb %r8b, %r8b
je 0xce07d
movq 0x10(%rcx), %r14
movq 0x8(%r14), %rsi
movq %rbx, %rdi
callq 0xd03c0
testb %al, %al
je 0xce07d
movq 0x10(%r14), %rax
movq 0x8(%rax), %rsi
movq %rbx, %rdi
callq 0xd03c0
movl $0x1a98, %ecx           # imm = 0x1A98
testb %al, %al
jne 0xce082
movl $0x1aa0, %ecx           # imm = 0x1AA0
movq (%rbx,%rcx), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_char_greater_2
static s7_pointer g_char_greater_2(s7_scheme *sc, s7_pointer args)
    {
        if (!s7_is_character(car(args)))
            return(method_or_bust(sc, car(args), sc->char_gt_symbol, args, T_CHARACTER, 1));
        if (!s7_is_character(cadr(args)))
            return(method_or_bust(sc, cadr(args), sc->char_gt_symbol, args, T_CHARACTER, 2));
        return(make_boolean(sc, character(car(args)) > character(cadr(args))));
    }

// Assembly:
movq %rsi, %rcx
movq 0x8(%rsi), %rsi
cmpb $0x8, (%rsi)
jne 0xce0eb
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rax
cmpb $0x8, (%rax)
jne 0xce0ff
movb 0x8(%rsi), %cl
xorl %edx, %edx
cmpb 0x8(%rax), %cl
setbe %dl
movq 0x118(%rdi,%rdx,8), %rax
retq
movq 0xdc8(%rdi), %rdx
pushq $0x8
popq %r8
pushq $0x1
popq %r9
jmp 0xcd70
movq 0xdc8(%rdi), %rdx
pushq $0x8
popq %r8
pushq $0x2
popq %r9
movq %rax, %rsi
jmp 0xcd70
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_char_less_2
static s7_pointer g_char_less_2(s7_scheme *sc, s7_pointer args)
    {
        if (!s7_is_character(car(args)))
            return(method_or_bust(sc, car(args), sc->char_lt_symbol, args, T_CHARACTER, 1));
        if (!s7_is_character(cadr(args)))
            return(method_or_bust(sc, cadr(args), sc->char_lt_symbol, args, T_CHARACTER, 2));
        return(make_boolean(sc, character(car(args)) < character(cadr(args))));
    }

// Assembly:
movq %rsi, %rcx
movq 0x8(%rsi), %rsi
cmpb $0x8, (%rsi)
jne 0xce153
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rax
cmpb $0x8, (%rax)
jne 0xce167
movb 0x8(%rsi), %cl
xorl %edx, %edx
cmpb 0x8(%rax), %cl
setae %dl
movq 0x118(%rdi,%rdx,8), %rax
retq
movq 0xdd8(%rdi), %rdx
pushq $0x8
popq %r8
pushq $0x1
popq %r9
jmp 0xcd70
movq 0xdd8(%rdi), %rdx
pushq $0x8
popq %r8
pushq $0x2
popq %r9
movq %rax, %rsi
jmp 0xcd70
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_read_char_1
static s7_pointer g_read_char_1(s7_scheme *sc, s7_pointer args)
    {
        s7_pointer port;
        port = car(args);
        if (!is_input_port(port))
            return(method_or_bust_with_type_one_arg(sc, port, sc->read_char_symbol, args, an_input_port_string));
        return(chars[port_read_character(port)(sc, port)]);
    }

// Assembly:
movq %rsi, %rcx
movq 0x8(%rsi), %rsi
cmpb $0x23, (%rsi)
jne 0xce1b4
pushq %rbx
movq 0x4b8b6(%rip), %rbx     # 0x119a58
movq 0x8(%rsi), %rax
movq 0x48(%rax), %rax
callq *(%rax)
cltq
movq (%rbx,%rax,8), %rax
popq %rbx
retq
movq 0x1448(%rdi), %rdx
movq 0x4ba3e(%rip), %r8      # 0x119c00
jmp 0xc736d
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: char_position_chooser
static s7_pointer char_position_chooser(s7_scheme *sc, s7_pointer f, int32_t args, s7_pointer expr, bool ops)
                {
                    if (!ops) return(f);
                    if (((args == 2) || (args == 3)) &&
                            (s7_is_character(cadr(expr))))
                        return(sc->char_position_csi);
                    return(f);
                }

// Assembly:
movq %rsi, %rax
xorb $0x1, %r8b
andl $-0x2, %edx
cmpl $0x2, %edx
setne %dl
orb %r8b, %dl
jne 0xce1f0
movq 0x10(%rcx), %rcx
movq 0x8(%rcx), %rcx
cmpb $0x8, (%rcx)
jne 0xce1f0
movq 0x1ab8(%rdi), %rax
retq
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_char_position_csi
static s7_pointer g_char_position_csi(s7_scheme *sc, s7_pointer args)
    {
        /* assume char arg1, no end */
        const char *porig, *p;
        char c;
        s7_pointer arg2;
        s7_int start, len;

        c = character(car(args));
        arg2 = cadr(args);

        if (!is_string(arg2))
            return(g_char_position(sc, args));

        len = string_length(arg2); /* can't return #f here if len==0 -- need start error check first */
        porig = string_value(arg2);

        if (is_pair(cddr(args)))
        {
            s7_pointer arg3;
            arg3 = caddr(args);
            if (!s7_is_integer(arg3))
                return(g_char_position(sc, args));
            start = s7_integer(arg3);
            if (start < 0)
                return(wrong_type_argument_with_type(sc, sc->char_position_symbol, 3, arg3, a_non_negative_integer_string));
            if (start >= len) return(sc->F);
        }
        else start = 0;

        if (len == 0) return(sc->F);
        p = strchr((const char *)(porig + start), (int)c);
        if (p)
            return(make_integer(sc, p - porig));
        return(sc->F);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rax
movq %rdi, %rbx
movq 0x10(%rsi), %rcx
movq 0x8(%rcx), %rdi
cmpb $0x13, (%rdi)
jne 0xce23f
movq 0x8(%rax), %rdx
movsbl 0x8(%rdx), %esi
movq 0x8(%rdi), %rdx
movq 0x10(%rdi), %r15
movq 0x10(%rcx), %rcx
cmpb $0x1, (%rcx)
jne 0xce24f
movq 0x8(%rcx), %rcx
cmpb $0xb, (%rcx)
jne 0xce23f
movq 0x8(%rcx), %rdi
testq %rdi, %rdi
js 0xce2c7
cmpq %rdx, %rdi
jl 0xce256
jmp 0xce27f
movq %rbx, %rdi
movq %rax, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x5ad47
testq %rdx, %rdx
je 0xce27f
xorl %edi, %edi
addq %r15, %rdi
callq 0x81d0
testq %rax, %rax
je 0xce27f
movq %rax, %r14
subq %r15, %r14
cmpq $0x7ff, %r14            # imm = 0x7FF
ja 0xce288
leaq 0x476d7(%rip), %rax     # 0x115950
movq (%rax,%r14,8), %rax
jmp 0xce2c1
movq 0x120(%rbx), %rax
jmp 0xce2c1
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0xce2a7
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)
popq %rbx
popq %r14
popq %r15
retq
movq 0xde0(%rbx), %rax
movq 0x8(%rax), %rsi
movq 0x4768f(%rip), %rdx     # 0x115968
movq 0x140(%rbx), %r8
movq 0x538f1(%rip), %r9      # 0x121bd8
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x9bbb
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_string_equal_2
static s7_pointer g_string_equal_2(s7_scheme *sc, s7_pointer args)
    {
        if (!is_string(car(args)))
            return(method_or_bust(sc, car(args), sc->string_eq_symbol, args, T_STRING, 1));
        if (!is_string(cadr(args)))
            return(method_or_bust(sc, cadr(args), sc->string_eq_symbol, args, T_STRING, 2));
        return(make_boolean(sc, scheme_strings_are_equal(car(args), cadr(args))));
    }

// Assembly:
pushq %rbx
movq %rsi, %rcx
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
cmpb $0x13, (%rsi)
jne 0xce353
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rax
cmpb $0x13, (%rax)
jne 0xce367
movq %rsi, %rdi
movq %rax, %rsi
callq 0xc57a7
xorb $0x1, %al
movzbl %al, %eax
movq 0x118(%rbx,%rax,8), %rax
popq %rbx
retq
movq 0x1510(%rbx), %rdx
pushq $0x13
popq %r8
pushq $0x1
popq %r9
movq %rbx, %rdi
jmp 0xce37c
movq 0x1510(%rbx), %rdx
pushq $0x13
popq %r8
pushq $0x2
popq %r9
movq %rbx, %rdi
movq %rax, %rsi
popq %rbx
jmp 0xcd70
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_substring_to_temp
static s7_pointer g_substring_to_temp(s7_scheme *sc, s7_pointer args)
    {
        s7_pointer str;
        s7_int start = 0, end;

        str = car(args);
        if (!is_string(str))
            return(method_or_bust(sc, str, sc->substring_symbol, args, T_STRING, 1));

        end = string_length(str);
        if (!is_null(cdr(args)))
        {
            s7_pointer x;
            x = start_and_end(sc, sc->substring_symbol, args, 2, &start, &end);
            if (x != sc->unused) return(x);
        }
        return(wrap_string(sc, (char *)(string_value(str) + start), end - start));
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rax
andq $0x0, 0x10(%rsp)
movq %rdi, %rbx
movq 0x8(%rsi), %r14
cmpb $0x13, (%r14)
jne 0xce3e9
movq 0x8(%r14), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rdx
cmpq 0x110(%rbx), %rdx
je 0xce40d
movq 0x1580(%rbx), %rsi
pushq $0x2
popq %rcx
leaq 0x10(%rsp), %r8
leaq 0x8(%rsp), %r9
movq %rbx, %rdi
movq %rax, %rdx
callq 0x7b9f4
cmpq 0x140(%rbx), %rax
jne 0xce43b
movq 0x10(%rsp), %rdx
movq 0x8(%rsp), %rcx
jmp 0xce40f
movq 0x1580(%rbx), %rdx
pushq $0x13
popq %r8
pushq $0x1
popq %r9
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rcx
addq $0x18, %rsp
popq %rbx
popq %r14
jmp 0xcd70
xorl %edx, %edx
subq %rdx, %rcx
addq 0x10(%r14), %rdx
movq 0x820(%rbx), %rax
movslq 0x7dc(%rbx), %rsi
movq (%rax,%rsi,8), %rax
incl %esi
andl $0x7, %esi
movl %esi, 0x7dc(%rbx)
movq %rdx, 0x10(%rax)
movq %rcx, 0x8(%rax)
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_string_greater_2
static s7_pointer g_string_greater_2(s7_scheme *sc, s7_pointer args)
    {
        if (!is_string(car(args)))
            return(method_or_bust(sc, car(args), sc->string_gt_symbol, args, T_STRING, 1));
        if (!is_string(cadr(args)))
            return(method_or_bust(sc, cadr(args), sc->string_gt_symbol, args, T_STRING, 2));
        return(make_boolean(sc, scheme_strcmp(car(args), cadr(args)) == 1));
    }

// Assembly:
pushq %rbx
movq %rsi, %rcx
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
cmpb $0x13, (%rsi)
jne 0xce4a5
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rax
cmpb $0x13, (%rax)
jne 0xce4b9
movq %rsi, %rdi
movq %rax, %rsi
callq 0xc99e3
xorl %ecx, %ecx
cmpl $0x1, %eax
setne %cl
movq 0x118(%rbx,%rcx,8), %rax
popq %rbx
retq
movq 0x1528(%rbx), %rdx
pushq $0x13
popq %r8
pushq $0x1
popq %r9
movq %rbx, %rdi
jmp 0xce4ce
movq 0x1528(%rbx), %rdx
pushq $0x13
popq %r8
pushq $0x2
popq %r9
movq %rbx, %rdi
movq %rax, %rsi
popq %rbx
jmp 0xcd70
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_string_less_2
static s7_pointer g_string_less_2(s7_scheme *sc, s7_pointer args)
    {
        if (!is_string(car(args)))
            return(method_or_bust(sc, car(args), sc->string_lt_symbol, args, T_STRING, 1));
        if (!is_string(cadr(args)))
            return(method_or_bust(sc, cadr(args), sc->string_lt_symbol, args, T_STRING, 2));
        return(make_boolean(sc, scheme_strcmp(car(args), cadr(args)) == -1));
    }

// Assembly:
pushq %rbx
movq %rsi, %rcx
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
cmpb $0x13, (%rsi)
jne 0xce536
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rax
cmpb $0x13, (%rax)
jne 0xce54a
movq %rsi, %rdi
movq %rax, %rsi
callq 0xc99e3
xorl %ecx, %ecx
cmpl $-0x1, %eax
setne %cl
movq 0x118(%rbx,%rcx,8), %rax
popq %rbx
retq
movq 0x1538(%rbx), %rdx
pushq $0x13
popq %r8
pushq $0x1
popq %r9
movq %rbx, %rdi
jmp 0xce55f
movq 0x1538(%rbx), %rdx
pushq $0x13
popq %r8
pushq $0x2
popq %r9
movq %rbx, %rdi
movq %rax, %rsi
popq %rbx
jmp 0xcd70
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_display_2
static s7_pointer g_display_2(s7_scheme *sc, s7_pointer args)
    {
        /* calling display_p_pp here is much slower */
        s7_pointer port;
        port = cadr(args);
        if (port == sc->F) return(car(args));
        if (!is_output_port(port))
            return(method_or_bust_with_type(sc, port, sc->display_symbol, args, an_output_port_string, 2));
        if (port_is_closed(port))
            return(s7_wrong_type_arg_error(sc, "display", 2, port, "an open output port"));
        check_method(sc, car(args), sc->display_symbol, args);
        return(object_out(sc, car(args), port, P_DISPLAY));
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r15
movq 0x10(%rsi), %rax
movq 0x8(%rax), %r14
cmpq 0x120(%rdi), %r14
je 0xce5f9
movq %rdi, %rbx
cmpb $0x22, (%r14)
jne 0xce602
movq 0x8(%r14), %rax
cmpb $0x1, 0x2(%rax)
jne 0xce62b
leaq 0x7b83(%rip), %rsi      # 0xd615e
leaq 0x18943(%rip), %r8      # 0xe6f25
pushq $0x2
popq %rdx
movq %rbx, %rdi
movq %r14, %rcx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0xc2b0
movq 0x8(%r15), %r12
jmp 0xce69b
movq 0xe80(%rbx), %rdx
movq 0x52cb8(%rip), %r8      # 0x1212c8
pushq $0x2
popq %r9
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rcx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0xcf9a
movq 0x8(%r15), %r12
testb $0x40, 0x3(%r12)
je 0xce68b
cmpb $0x1, 0x24c(%rbx)
jne 0xce68b
movq %rbx, %rdi
movq %r12, %rsi
callq 0x88f3
movq 0xe80(%rbx), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x888f
cmpq 0x128(%rbx), %rax
je 0xce68b
movq %rax, %r13
movq %rbx, %rdi
movq %r15, %rsi
callq 0x35492
movq %rbx, %rdi
movq %r13, %rsi
movq %rax, %rdx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0xa34c
movq %rbx, %rdi
movq %r12, %rsi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x2ba5b
movq %r12, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_vector_ref_3
static s7_pointer g_vector_ref_3(s7_scheme *sc, s7_pointer args)
                {
                    s7_pointer vec, i1, i2;
                    s7_int ix, iy;

                    vec = car(args);
                    if (!is_any_vector(vec))
                        return(g_vector_ref(sc, args));
                    if (vector_rank(vec) != 2)
                        return(g_vector_ref(sc, args));

                    i1 = cadr(args);
                    if (!s7_is_integer(i1))
                        return(g_vector_ref(sc, args));
                    i2 = caddr(args);
                    if (!s7_is_integer(i2))
                        return(g_vector_ref(sc, args));
                    ix = s7_integer(i1);
                    iy = s7_integer(i2);
                    if ((ix >= 0) &&
                            (iy >= 0) &&
                            (ix < vector_dimension(vec, 0)) &&
                            (iy < vector_dimension(vec, 1)))
                    {
                        s7_int index;
                        index = (ix * vector_offset(vec, 0)) + iy; /* vector_offset(vec, 1) == 1 */
                        return(vector_getter(vec)(sc, vec, index));
                    }
                    return(g_vector_ref(sc, args));
                }

// Assembly:
movq 0x8(%rsi), %rax
movzbl (%rax), %ecx
leaq 0x4b538(%rip), %rdx     # 0x119c20
cmpb $0x0, (%rcx,%rdx)
je 0x6278d
movq 0x18(%rax), %rcx
movq 0x20(%rcx), %rcx
testq %rcx, %rcx
je 0x6278d
cmpq $0x2, 0x10(%rcx)
jne 0x6278d
movq 0x10(%rsi), %r8
movq 0x8(%r8), %rdx
cmpb $0xb, (%rdx)
jne 0x6278d
movq 0x10(%r8), %r8
movq 0x8(%r8), %r8
cmpb $0xb, (%r8)
jne 0x6278d
movq 0x8(%rdx), %rdx
testq %rdx, %rdx
js 0x6278d
movq 0x8(%r8), %r8
testq %r8, %r8
js 0x6278d
movq (%rcx), %r9
cmpq (%r9), %rdx
jge 0x6278d
cmpq 0x8(%r9), %r8
jge 0xce771
movq 0x18(%rcx), %rcx
imulq (%rcx), %rdx
addq %r8, %rdx
movq 0x20(%rax), %rcx
movq %rax, %rsi
jmpq *%rcx
jmp 0x6278d
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: float_vector_set_chooser
static s7_pointer float_vector_set_chooser(s7_scheme *sc, s7_pointer f, int32_t args, s7_pointer expr, bool ops)
                {
                    if (args == 3)
                    {
                        if (find_matching_ref(sc, sc->float_vector_ref_symbol, expr))
                            return(sc->fv_set_unchecked);
                        return(sc->fv_set_3);
                    }
                    return(f);
                }

// Assembly:
movq %rsi, %rax
cmpl $0x3, %edx
jne 0xcea3e
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0x10(%rcx), %rax
movq 0x8(%rax), %r14
movl $0x1b30, %ecx           # imm = 0x1B30
cmpb $0xa, (%r14)
jne 0xcea2c
movq 0x10(%rax), %rax
movq 0x8(%rax), %rdx
cmpb $0x1, (%rdx)
je 0xcea2c
movq 0x10(%rax), %rax
movq 0x8(%rax), %rbp
cmpw $0x801, (%rbp)          # imm = 0x801
jne 0xcea2c
movq %rdx, 0x8(%rsp)
movq 0xef0(%rdi), %rbx
movb $0x1, %al
cmpb $0x1, %al
jne 0xcea27
movq 0x8(%rbp), %r15
cmpb $0x1, (%r15)
jne 0xcea1e
movq 0x8(%r15), %r13
cmpq %rbx, %r13
jne 0xce9f8
movq 0x10(%r15), %rsi
movq %rdi, %r12
movq %rsi, 0x10(%rsp)
callq 0x86b4c
movq %r12, %rdi
testb %al, %al
je 0xce9f8
movq 0x10(%rsp), %rax
cmpq %r14, 0x8(%rax)
jne 0xce9f8
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rsp), %rcx
cmpq %rcx, 0x8(%rax)
je 0xcea3f
cmpq %r14, %r13
jne 0xcea1e
movq 0x10(%r15), %rax
cmpb $0x1, (%rax)
jne 0xcea1e
movq 0x10(%rax), %rcx
cmpq 0x110(%rdi), %rcx
jne 0xcea1e
movq 0x8(%rsp), %rcx
cmpq %rcx, 0x8(%rax)
je 0xcea3f
movq 0x10(%rbp), %rbp
movb (%rbp), %al
jmp 0xce9aa
movl $0x1b30, %ecx           # imm = 0x1B30
movq (%rdi,%rcx), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x1b38, %ecx           # imm = 0x1B38
jmp 0xcea2c
// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_fv_set_3
static s7_pointer g_fv_set_3(s7_scheme *sc, s7_pointer args)
                {
                    s7_pointer fv, index, value;
                    s7_int ind;
                    fv = car(args);
                    if (!is_float_vector(fv))
                        return(method_or_bust(sc, fv, sc->float_vector_set_symbol, args, T_FLOAT_VECTOR, 1));
                    if (vector_rank(fv) != 1)
                        return(univect_set(sc, args, sc->float_vector_set_symbol, T_FLOAT_VECTOR));
                    index = cadr(args);
                    if (!s7_is_integer(index))
                        return(method_or_bust(sc, index, sc->float_vector_set_symbol, args, T_INTEGER, 2));
                    ind = s7_integer(index);
                    if ((ind < 0) || (ind >= vector_length(fv)))
                        return(simple_out_of_range(sc, sc->float_vector_set_symbol, index, (ind < 0) ? its_negative_string : its_too_large_string));
                    value = caddr(args);
                    if (!s7_is_real(value))
                        return(method_or_bust(sc, value, sc->float_vector_set_symbol, args, T_REAL, 3));
                    if (is_immutable_vector(fv))
                        return(immutable_object_error(sc, set_elist_3(sc, immutable_error_string, sc->float_vector_set_symbol, fv)));
                    float_vector(fv, ind) = s7_real(value);
                    return(value);
                }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rax
movq 0x8(%rsi), %rbx
cmpb $0x17, (%rbx)
jne 0xcead6
movq 0x18(%rbx), %rcx
movq 0x20(%rcx), %rcx
testq %rcx, %rcx
je 0xcea6f
cmpq $0x1, 0x10(%rcx)
jne 0xceb09
movq 0x10(%rax), %rcx
movq 0x8(%rcx), %r10
cmpb $0xb, (%r10)
jne 0xceaea
movq 0x8(%r10), %r15
testq %r15, %r15
js 0xceb20
cmpq 0x8(%rbx), %r15
jge 0xceb20
movq 0x10(%rcx), %rcx
movq 0x8(%rcx), %r14
movzbl (%r14), %ecx
leaq 0x4af09(%rip), %rdx     # 0x1199b0
cmpb $0x0, (%rcx,%rdx)
je 0xceb50
testb $0x1, 0x3(%rbx)
jne 0xceb64
movq %r14, %rdi
callq 0xc42a
movq 0x10(%rbx), %rax
movsd %xmm0, (%rax,%r15,8)
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
movq 0xef8(%rdi), %rdx
pushq $0x17
popq %r8
pushq $0x1
popq %r9
movq %rbx, %rsi
jmp 0xceafc
movq 0xef8(%rdi), %rdx
pushq $0xb
popq %r8
pushq $0x2
popq %r9
movq %r10, %rsi
movq %rax, %rcx
popq %rbx
popq %r14
popq %r15
jmp 0xcd70
movq 0xef8(%rdi), %rdx
pushq $0x17
popq %rcx
movq %rax, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0xcb853
testq %r15, %r15
movq 0xef8(%rdi), %rax
movq 0x8(%rax), %rsi
leaq 0x4af13(%rip), %rax     # 0x119a48
leaq 0x4af04(%rip), %rcx     # 0x119a40
cmovsq %rax, %rcx
movq (%rcx), %rcx
movq %r10, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x35b47
movq 0xef8(%rdi), %rdx
pushq $0xd
popq %r8
pushq $0x3
popq %r9
movq %r14, %rsi
jmp 0xceafc
movq 0x4adfd(%rip), %rax     # 0x119968
movq 0xef8(%rdi), %rcx
movq 0x6e8(%rdi), %rdx
movq %rax, 0x8(%rdx)
movq 0x10(%rdx), %rax
movq %rcx, 0x8(%rax)
movq 0x10(%rax), %rax
movq %rbx, 0x8(%rax)
movq 0x6e8(%rdi), %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x972b