LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: add_chooser
static s7_pointer add_chooser(s7_scheme *sc, s7_pointer f, int32_t args, s7_pointer expr, bool ops)
                {
                    /* (+ s f) (+ (* s s) s) (+ s s) (+ s (* s s)) */
#if (!WITH_GMP)
                    if (args == 2)
                    {
                        if (ops)
                        {
                            s7_pointer arg1, arg2;
                            arg1 = cadr(expr);
                            arg2 = caddr(expr);
                            if (arg2 == small_int(1))                          /* (+ ... 1) */
                                return(sc->add_x1);
                            if ((is_t_integer(arg1)) && ((is_pair(arg2)) && (is_optimized(arg2)) && (is_h_safe_c_d(arg2)) && (c_callee(arg2) == g_random_i)))
                            {
                                set_opt3_any(cdr(expr), cadr(arg2));
                                set_safe_optimize_op(expr, HOP_SAFE_C_D); /* op if r op? */
                                return(sc->add_i_random);
                            }
                            if (arg1 == small_int(1))
                                return(sc->add_1x);
                            return(chooser_check_arg_types(sc, arg1, arg2, sc->add_2,
                                        sc->add_2_ff, sc->add_2_ii, sc->add_2_if, sc->add_2_fi,
                                        sc->add_2_xi, sc->add_2_ix, sc->add_2_fx, sc->add_2_xf));
                        }
                        return(sc->add_2);
                    }
                    if (args == 3)
                        return(sc->add_3);
#endif
                    return(f);
                }

// Assembly:
cmpl $0x3, %edx
je 0x109328
cmpl $0x2, %edx
jne 0x10934a
testb %r8b, %r8b
je 0x109331
movq 0x10(%rcx), %rax
movq 0x10(%rax), %rdx
movq 0x8(%rdx), %rdx
movq 0x456ad(%rip), %r8      # 0x14e958
cmpq %r8, %rdx
je 0x10933a
movq 0x8(%rax), %rsi
cmpb $0xb, (%rsi)
jne 0x1092dd
cmpb $0x1, (%rdx)
jne 0x1092dd
cmpw $0x801, (%rdx)          # imm = 0x801
jne 0x1092dd
cmpw $0x3, 0x4(%rdx)
jne 0x1092dd
leaq -0x50f5b(%rip), %r9     # 0xb837c
cmpq %r9, 0x20(%rdx)
je 0x10934e
cmpq %r8, %rsi
je 0x109343
subq $0x38, %rsp
movq 0x1a48(%rdi), %rcx
movq 0x1d20(%rdi), %r8
movq 0x1d28(%rdi), %r9
movups 0x1d30(%rdi), %xmm0
movups 0x1d40(%rdi), %xmm1
movups 0x1d50(%rdi), %xmm2
movups %xmm2, 0x20(%rsp)
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0x10d3cd
addq $0x38, %rsp
retq
movq 0x1a50(%rdi), %rsi
jmp 0x10934a
movq 0x1a48(%rdi), %rsi
jmp 0x10934a
movq 0x1a60(%rdi), %rsi
jmp 0x10934a
movq 0x1a58(%rdi), %rsi
movq %rsi, %rax
retq
movq 0x10(%rdx), %rdx
movq 0x8(%rdx), %rdx
movq %rdx, 0x28(%rax)
movq 0x10(%rcx), %rax
andq $-0x40001, (%rax)       # imm = 0xFFFBFFFF
orb $0x8, 0x1(%rcx)
movw $0x3, 0x4(%rcx)
movq 0x1c20(%rdi), %rsi
jmp 0x10934a
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: g_add_1x
static s7_pointer g_add_1x(s7_scheme *sc, s7_pointer args)
    {
        s7_pointer x;

        x = cadr(args);
        if (is_t_integer(x))
            return(make_integer(sc, integer(x) + 1));

        switch (type(x))
        {
            case T_INTEGER: return(make_integer(sc, integer(x) + 1));
            case T_RATIO:   return(add_ratios(sc, x, small_int(1)));
            case T_REAL:    return(make_real(sc, real(x) + 1.0));
            case T_COMPLEX: return(s7_make_complex(sc, real_part(x) + 1.0, imag_part(x)));
            default:
                            return(method_or_bust_with_type(sc, x, sc->add_symbol, args, a_number_string, 2));
        }
        return(x);
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rcx
movq %rdi, %rbx
movq 0x10(%rsi), %rax
movq 0x8(%rax), %rsi
movzbl (%rsi), %eax
addl $-0xb, %eax
cmpl $0x3, %eax
ja 0x109495
leaq 0x8a9b(%rip), %rcx      # 0x111e74
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x8(%rsi), %rax
leaq 0x1(%rax), %r14
cmpq $0x7ff, %r14            # imm = 0x7FF
ja 0x1094b8
leaq 0x45552(%rip), %rcx     # 0x14e950
movq 0x8(%rcx,%rax,8), %rax
jmp 0x1094f1
movsd 0x8(%rsi), %xmm0
addsd 0x5c1b(%rip), %xmm0     # 0x10f030
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x109437
movq %rbx, %rdi
movsd %xmm0, (%rsp)
callq 0xb389
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 0x1094f1
movsd 0x8(%rsi), %xmm0
addsd 0x5bc5(%rip), %xmm0     # 0x10f030
movsd 0x10(%rsi), %xmm1
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xe101
movq 0x454d2(%rip), %rdx     # 0x14e958
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xc1d02
movq 0xba8(%rbx), %rdx
movq 0x53efd(%rip), %r8      # 0x15d3a0
movq %rbx, %rdi
movl $0x2, %r9d
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xf3da
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x1094d0
movq %rbx, %rdi
callq 0xb389
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_O1/BernardTatin[P]s7sh/s7.c
// Function: g_add_i_random
static s7_pointer g_add_i_random(s7_scheme *sc, s7_pointer args)
    {
        s7_int x, y;
        x = integer(car(args));
        y = integer(opt3_any(args)); /* cadadr */
        return(make_integer(sc, x + (s7_int)(y * next_random(sc->default_rng)))); /* (+ -1 (random 1)) -- placement of the (s7_int) cast matters! */
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x28(%rsi), %rax
cvtsi2sdq 0x8(%rax), %xmm0
movq 0xaa0(%rdi), %rax
imulq $0x7f13ac69, 0x8(%rax), %rcx # imm = 0x7F13AC69
addq 0x10(%rax), %rcx
movl %ecx, %edx
cvtsi2sd %rdx, %xmm1
movq 0x8(%rsi), %rsi
divsd 0x5b1b(%rip), %xmm1     # 0x10f048
mulsd %xmm0, %xmm1
cvttsd2si %xmm1, %r14
addq 0x8(%rsi), %r14
movq %rdx, 0x8(%rax)
shrq $0x20, %rcx
movq %rcx, 0x10(%rax)
cmpq $0x7ff, %r14            # imm = 0x7FF
ja 0x10955c
leaq 0x453fa(%rip), %rax     # 0x14e950
movq (%rax,%r14,8), %rax
jmp 0x109598
movq %rdi, %rbx
movq 0x90(%rdi), %rax
cmpq 0x98(%rdi), %rax
ja 0x109577
movq %rbx, %rdi
callq 0xb389
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_O1/BernardTatin[P]s7sh/s7.c
// Function: g_add_2_ii
static s7_pointer g_add_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 (add_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
addq %rcx, %r14
jno 0x10968f
cvtsi2sd %rax, %xmm0
cvtsi2sd %rcx, %xmm1
addsd %xmm0, %xmm1
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x10966b
movq %rbx, %rdi
movsd %xmm1, (%rsp)
callq 0xb389
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 0x1096de
cmpq $0x7ff, %r14            # imm = 0x7FF
ja 0x1096a5
leaq 0x452b1(%rip), %rax     # 0x14e950
movq (%rax,%r14,8), %rax
jmp 0x1096de
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x1096bd
movq %rbx, %rdi
callq 0xb389
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_O1/BernardTatin[P]s7sh/s7.c
// Function: subtract_chooser
static s7_pointer subtract_chooser(s7_scheme *sc, s7_pointer f, int32_t args, s7_pointer expr, bool ops)
                {
#if (!WITH_GMP)
                    if (args == 1)
                        return(sc->subtract_1);

                    if (args == 2)
                    {
                        if (ops)
                        {
                            s7_pointer arg1, arg2;
                            arg1 = cadr(expr);
                            arg2 = caddr(expr);
                            if (arg2 == small_int(1)) return(sc->subtract_s1);
                            if (is_t_real(arg1)) return(sc->subtract_f2);
                            if (is_t_real(arg2)) return(sc->subtract_2f);
                        }
                        return(sc->subtract_2);
                    }
                    if (args == 3)
                        return(sc->subtract_3);
#endif
                    return(f);
                }

// Assembly:
cmpl $0x1, %edx
je 0x109860
cmpl $0x3, %edx
je 0x109859
movq %rsi, %rax
cmpl $0x2, %edx
jne 0x109869
movl $0x1a70, %edx           # imm = 0x1A70
testb %r8b, %r8b
je 0x109865
movq 0x10(%rcx), %rax
movq 0x10(%rax), %rcx
movq 0x8(%rcx), %rcx
cmpq 0x4511d(%rip), %rcx     # 0x14e958
je 0x10986a
movq 0x8(%rax), %rsi
movl $0x1a90, %eax           # imm = 0x1A90
cmpb $0xd, (%rsi)
je 0x10986f
movl $0x1a88, %eax           # imm = 0x1A88
cmpb $0xd, (%rcx)
je 0x10986f
movb $0x1, %cl
jmp 0x109875
movl $0x1a78, %edx           # imm = 0x1A78
jmp 0x109865
movl $0x1a68, %edx           # imm = 0x1A68
movq (%rdi,%rdx), %rax
retq
movl $0x1a80, %eax           # imm = 0x1A80
movq (%rdi,%rax), %rax
xorl %ecx, %ecx
testb %cl, %cl
jne 0x109865
jmp 0x109869
// File: /workspace/github_c_makefile_star2_O1/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 0x109b77
movq 0x8(%rcx), %rcx
movsd 0x8(%rcx), %xmm0
leaq 0x83d3(%rip), %rcx      # 0x111e94
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cvtsi2sdq 0x8(%rsi), %xmm1
subsd %xmm1, %xmm0
jmp 0x109b2b
subsd 0x8(%rsi), %xmm0
jmp 0x109b2b
subsd 0x8(%rsi), %xmm0
movsd 0x10(%rsi), %xmm1
xorps 0x92d2(%rip), %xmm1     # 0x112dc0
movq %rbx, %rdi
addq $0x30, %rsp
popq %rbx
jmp 0xe101
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 0x109b4f
movq %rbx, %rdi
movsd %xmm0, 0x8(%rsp)
callq 0xb389
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 0x5381b(%rip), %r8      # 0x15d3a0
movq %rbx, %rdi
movl $0x1, %r9d
addq $0x30, %rsp
popq %rbx
jmp 0xf3da
// File: /workspace/github_c_makefile_star2_O1/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 0x109bff
testb %r8b, %r8b
je 0x109bf8
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 0x10d3cd
addq $0x38, %rsp
retq
movq 0x1c30(%rdi), %rsi
movq %rsi, %rax
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x109cf3
cvtsi2sd %rax, %xmm0
cvtsi2sd %rcx, %xmm1
mulsd %xmm0, %xmm1
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x109ccf
movq %rbx, %rdi
movsd %xmm1, (%rsp)
callq 0xb389
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 0x109d42
cmpq $0x7ff, %r14            # imm = 0x7FF
ja 0x109d09
leaq 0x44c4d(%rip), %rax     # 0x14e950
movq (%rax,%r14,8), %rax
jmp 0x109d42
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x109d21
movq %rbx, %rdi
callq 0xb389
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_O1/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 0x109ee5
cmpl $0x2, %edx
setne %dl
xorb $0x1, %r8b
orb %dl, %r8b
jne 0x109ee9
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rcx
cmpb $0xd, (%rcx)
jne 0x109ec7
movsd 0x8(%rcx), %xmm0
movl $0x1c40, %esi           # imm = 0x1C40
ucomisd 0x516d(%rip), %xmm0     # 0x10f030
jne 0x109ec7
jnp 0x109ee5
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
cmpb $0xb, (%rax)
jne 0x109ee0
movl $0x1c50, %esi           # imm = 0x1C50
cmpq $0x2, 0x8(%rax)
je 0x109ee5
movl $0x1c48, %esi           # imm = 0x1C48
movq (%rdi,%rsi), %rax
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x109ff4
leaq 0x7f95(%rip), %rdx      # 0x111ea4
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
movq 0x8(%rsi), %rdx
testq %rdx, %rdx
je 0x10a015
movl $0x1, %esi
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0xdd7f
movsd 0x8(%rsi), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x109f4c
jnp 0x10a015
movsd 0x50dc(%rip), %xmm1     # 0x10f030
divsd %xmm0, %xmm1
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x109f7c
movq %rbx, %rdi
movsd %xmm1, 0x8(%rsp)
callq 0xb389
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
movsd 0x8(%rsi), %xmm0
movsd 0x10(%rsi), %xmm1
movapd %xmm1, %xmm2
mulsd %xmm1, %xmm2
movapd %xmm0, %xmm3
mulsd %xmm0, %xmm3
addsd %xmm2, %xmm3
divsd %xmm3, %xmm0
xorpd 0x8df2(%rip), %xmm1     # 0x112dc0
divsd %xmm3, %xmm1
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0xe101
movq 0x8(%rsi), %rdx
movq 0x10(%rsi), %rsi
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0x103338
movq 0xe88(%rbx), %rdx
movq 0x5339e(%rip), %r8      # 0x15d3a0
movq %rbx, %rdi
movl $0x1, %r9d
addq $0x10, %rsp
popq %rbx
jmp 0xf3da
movq 0xe88(%rbx), %rsi
movq %rbx, %rdi
movq %rcx, %rdx
addq $0x10, %rsp
popq %rbx
jmp 0xe1ae
// File: /workspace/github_c_makefile_star2_O1/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), %rsi
movzbl (%rsi), %eax
leaq 0x48968(%rip), %rcx     # 0x1529b0
cmpb $0x1, (%rax,%rcx)
jne 0x10a059
cmpb $0xd, %al
jne 0x10a06b
movsd 0x8(%rsi), %xmm0
jmp 0x10a07e
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x706d6
movq 0x489be(%rip), %rdi     # 0x152a30
leaq 0x8eef(%rip), %rdx      # 0x112f68
callq 0xe212
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x10a0a3
jp 0x10a0a3
movq 0xe88(%rbx), %rsi
movq %rbx, %rdi
movq %r14, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xe1ae
movsd 0x4f85(%rip), %xmm1     # 0x10f030
divsd %xmm0, %xmm1
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x10a0d1
movq %rbx, %rdi
movsd %xmm1, (%rsp)
callq 0xb389
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_O1/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 0x10a3cf
testb %r8b, %r8b
je 0x10a3c6
movq 0x10(%rcx), %rcx
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rdx
movl $0x1c60, %eax           # imm = 0x1C60
cmpb $0xb, (%rdx)
je 0x10a3cb
testb %r8b, %r8b
je 0x10a3c6
movq 0x8(%rcx), %rcx
movl $0x1c68, %eax           # imm = 0x1C68
cmpb $0xb, (%rcx)
je 0x10a3cb
movl $0x1c58, %eax           # imm = 0x1C58
movq (%rdi,%rax), %rax
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x10a3ff
cmpl $0xb, %eax
jne 0x10a41c
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 0x4854d(%rip), %rcx     # 0x152970
cmpb $0x0, (%rax,%rcx)
je 0xe16d4
movq 0x120(%rdi), %rax
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x10a4d2
testb %r8b, %r8b
je 0x10a4cb
movq 0x10(%rcx), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %edx
movl $0x1c78, %esi           # imm = 0x1C78
cmpl $0xd, %edx
je 0x10a4c1
movb $0x1, %cl
cmpl $0xb, %edx
jne 0x10a4ba
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x10a4bc
xorl %esi, %esi
cmpb $0x0, 0x52f68(%rip)     # 0x15d3e4
movl $0x7fffffff, %r8d       # imm = 0x7FFFFFFF
cmoveq %rsi, %r8
cmpq %r8, %rax
jge 0x10a4ae
movb 0x52fd2(%rip), %sil     # 0x15d464
notb %sil
movzbl %sil, %r8d
shll $0x1f, %r8d
addq $-0x80000000, %r8       # imm = 0x80000000
movl $0x1c70, %esi           # imm = 0x1C70
cmpq %r8, %rax
jg 0x10a4c1
movl $0x1c78, %esi           # imm = 0x1C78
cmpb $0xd, %dl
je 0x10a4c1
jmp 0x10a4c7
jmp 0x10a4c7
movl $0x1c80, %esi           # imm = 0x1C80
movq (%rdi,%rsi), %rax
xorl %ecx, %ecx
testb %cl, %cl
je 0x10a4d2
movq 0x1c88(%rdi), %rax
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x10a5a1
testb %r8b, %r8b
je 0x10a59a
movq 0x10(%rcx), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %edx
movb $0x1, %cl
cmpl $0xd, %edx
je 0x10a549
cmpl $0xb, %edx
jne 0x10a57a
movq 0x8(%rax), %rsi
xorl %r8d, %r8d
cmpb $0x0, 0x52ed3(%rip)     # 0x15d3e4
movl $0x7fffffff, %r9d       # imm = 0x7FFFFFFF
cmoveq %r8, %r9
cmpq %r9, %rsi
jge 0x10a544
movb 0x52f3d(%rip), %r8b     # 0x15d464
notb %r8b
movzbl %r8b, %r9d
shll $0x1f, %r9d
addq $-0x80000000, %r9       # imm = 0x80000000
movl $0x1c90, %r8d           # imm = 0x1C90
cmpq %r9, %rsi
jg 0x10a590
cmpb $0xd, %dl
jne 0x10a57a
movsd 0x8(%rax), %xmm0
cmpb $0x0, 0x52e8f(%rip)     # 0x15d3e4
jne 0x10a55d
xorpd %xmm1, %xmm1
jmp 0x10a565
movsd 0x4bc3(%rip), %xmm1     # 0x10f128
ucomisd %xmm0, %xmm1
jbe 0x10a57a
cmpb $0x0, 0x52ef2(%rip)     # 0x15d464
jne 0x10a57c
xorpd %xmm1, %xmm1
jmp 0x10a584
jmp 0x10a596
movsd 0x4bac(%rip), %xmm1     # 0x10f130
movl $0x1c98, %r8d           # imm = 0x1C98
ucomisd %xmm1, %xmm0
jbe 0x10a596
movq (%rdi,%r8), %rax
xorl %ecx, %ecx
testb %cl, %cl
je 0x10a5a1
movq 0x1ca0(%rdi), %rax
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x10a5fe
cmpl $0xc, %eax
je 0x10a5cf
cmpl $0xd, %eax
jne 0x10a616
movsd 0x8(%rsi), %xmm1
jmp 0x10a604
movq 0x8(%rsi), %rcx
movq 0x10(%rsi), %rax
xorl %edx, %edx
cmpb $0x0, 0x52e04(%rip)     # 0x15d3e4
movl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
cmoveq %rdx, %rsi
cmpq %rsi, %rax
jge 0x10a62f
cvtsi2sd %rcx, %xmm1
cvtsi2sd %rax, %xmm2
mulsd %xmm2, %xmm0
jmp 0x10a604
cvtsi2sdq 0x8(%rsi), %xmm1
xorl %eax, %eax
ucomisd %xmm0, %xmm1
setbe %al
movq 0x118(%rdi,%rax,8), %rax
retq
movq 0xf58(%rdi), %rdx
movq 0x52d7c(%rip), %r8      # 0x15d3a0
movl $0x1, %r9d
jmp 0xf3da
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 0x10a60a
// File: /workspace/github_c_makefile_star2_O1/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 0x10a6c2
testb %r8b, %r8b
je 0x10a6bb
movq 0x10(%rcx), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movb $0x1, %cl
cmpb $0xb, (%rax)
jne 0x10a6b7
movq 0x8(%rax), %rdx
xorl %eax, %eax
cmpb $0x0, 0x52d60(%rip)     # 0x15d3e4
movl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
cmoveq %rax, %rsi
cmpq %rsi, %rdx
jge 0x10a6b7
movb 0x52dcc(%rip), %al      # 0x15d464
notb %al
movzbl %al, %esi
shll $0x1f, %esi
addq $-0x80000000, %rsi      # imm = 0x80000000
cmpq %rsi, %rdx
jle 0x10a6b7
movq 0x1ca8(%rdi), %rax
xorl %ecx, %ecx
jmp 0x10a6b7
testb %cl, %cl
je 0x10a6c2
movq 0x1cb0(%rdi), %rax
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x10a791
testb %r8b, %r8b
je 0x10a78a
movq 0x10(%rcx), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %edx
movb $0x1, %cl
cmpl $0xd, %edx
je 0x10a739
cmpl $0xb, %edx
jne 0x10a76a
movq 0x8(%rax), %rsi
xorl %r8d, %r8d
cmpb $0x0, 0x52ce3(%rip)     # 0x15d3e4
movl $0x7fffffff, %r9d       # imm = 0x7FFFFFFF
cmoveq %r8, %r9
cmpq %r9, %rsi
jge 0x10a734
movb 0x52d4d(%rip), %r8b     # 0x15d464
notb %r8b
movzbl %r8b, %r9d
shll $0x1f, %r9d
addq $-0x80000000, %r9       # imm = 0x80000000
movl $0x1cb8, %r8d           # imm = 0x1CB8
cmpq %r9, %rsi
jg 0x10a780
cmpb $0xd, %dl
jne 0x10a76a
movsd 0x8(%rax), %xmm0
cmpb $0x0, 0x52c9f(%rip)     # 0x15d3e4
jne 0x10a74d
xorpd %xmm1, %xmm1
jmp 0x10a755
movsd 0x49d3(%rip), %xmm1     # 0x10f128
ucomisd %xmm0, %xmm1
jbe 0x10a76a
cmpb $0x0, 0x52d02(%rip)     # 0x15d464
jne 0x10a76c
xorpd %xmm1, %xmm1
jmp 0x10a774
jmp 0x10a786
movsd 0x49bc(%rip), %xmm1     # 0x10f130
movl $0x1cc0, %r8d           # imm = 0x1CC0
ucomisd %xmm1, %xmm0
jbe 0x10a786
movq (%rdi,%r8), %rax
xorl %ecx, %ecx
testb %cl, %cl
je 0x10a791
movq 0x1c18(%rdi), %rax
retq
// File: /workspace/github_c_makefile_star2_O1/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), %rcx
movq 0xaa0(%rdi), %rax
movzbl (%rcx), %edx
cmpl $0xd, %edx
je 0x10a843
cmpl $0xb, %edx
jne 0x10a8b5
cvtsi2sdq 0x8(%rcx), %xmm0
imulq $0x7f13ac69, 0x8(%rax), %rcx # imm = 0x7F13AC69
addq 0x10(%rax), %rcx
movl %ecx, %edx
movq %rdx, 0x8(%rax)
shrq $0x20, %rcx
movq %rcx, 0x10(%rax)
cvtsi2sd %rdx, %xmm1
divsd 0x482b(%rip), %xmm1     # 0x10f048
mulsd %xmm0, %xmm1
cvttsd2si %xmm1, %r14
cmpq $0x7ff, %r14            # imm = 0x7FF
ja 0x10a8c4
leaq 0x44116(%rip), %rax     # 0x14e950
movq (%rax,%r14,8), %rax
jmp 0x10a8fd
imulq $0x7f13ac69, 0x8(%rax), %rdx # imm = 0x7F13AC69
addq 0x10(%rax), %rdx
movl %edx, %esi
cvtsi2sd %rsi, %xmm0
divsd 0x47ea(%rip), %xmm0     # 0x10f048
mulsd 0x8(%rcx), %xmm0
movq %rsi, 0x8(%rax)
shrq $0x20, %rdx
movq %rdx, 0x10(%rax)
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x10a891
movq %rbx, %rdi
movsd %xmm0, (%rsp)
callq 0xb389
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 0x10a8fd
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x74687
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x10a8dc
movq %rbx, %rdi
callq 0xb389
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_O1/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:
testl %r8d, %r8d
je 0x10a9d1
cmpl $0x2, %edx
jne 0x10a9d1
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rdx
cmpb $0xa, (%rdx)
jne 0x10a9d1
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movb $0x1, %dl
cmpb $0x1, (%rax)
jne 0x10a9cd
movq 0x10(%rax), %r8
cmpq 0x110(%rdi), %r8
je 0x10a9d5
testb %dl, %dl
je 0x10a9d4
movq %rsi, %rax
retq
movq 0x8(%rax), %r8
cmpq 0x1490(%rdi), %r8
jne 0x10a9cd
orb $0x8, 0x1(%rcx)
movw $0x3, 0x4(%rcx)
movq 0x1c28(%rdi), %rax
xorl %edx, %edx
jmp 0x10a9cd
// File: /workspace/github_c_makefile_star2_O1/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:
movq %rsi, %rcx
movq 0x8(%rsi), %rax
movq 0x8(%rdi), %rdx
movq 0x18(%rdx), %r8
movq 0x20(%rax), %rsi
cmpq %rsi, %r8
je 0x10aa23
jle 0x10aa1e
movq 0x10(%rdx), %rdx
movq 0x18(%rdx), %r8
cmpq %r8, %rsi
jl 0x10aa11
cmpq %rsi, %r8
jne 0x10aa5d
movq 0x18(%rax), %rax
movq 0x10(%rax), %rsi
cmpb $0xa, (%rsi)
jne 0x10aa45
movq 0x10(%rsi), %rax
xorl %ecx, %ecx
cmpb $0x20, (%rax)
setne %cl
movq 0x118(%rdi,%rcx,8), %rax
retq
movq 0x1050(%rdi), %rdx
movl $0xa, %r8d
movl $0x1, %r9d
jmp 0xf1ae
cmpb $0x1c, (%rdx)
jne 0x10aa8d
movq 0x8(%rdx), %r9
testq %r9, %r9
sete %r8b
je 0x10aa7f
cmpq %rax, 0x8(%r9)
je 0x10aa7b
movq 0x18(%r9), %r9
jmp 0x10aa66
movq 0x10(%r9), %rsi
testb %r8b, %r8b
je 0x10aa2b
movq 0x10(%rdx), %rdx
cmpb $0x1c, (%rdx)
je 0x10aa62
movq 0x10(%rax), %rax
cmpb $0x20, (%rax)
je 0x10aa27
xorl %esi, %esi
jmp 0x10aa2b
// File: /workspace/github_c_makefile_star2_O1/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 0x10ab09
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testb %r8b, %r8b
je 0x10aaf8
movq 0x10(%rcx), %r15
movq 0x8(%r15), %rsi
movq %rbx, %rdi
callq 0x10d47d
movq 0x1020(%rbx), %r14
movb $0x1, %bpl
cmpq %r14, %rax
je 0x10aad2
jmp 0x10aaf3
movq 0x10(%r15), %rax
movq 0x8(%rax), %rsi
movq %rbx, %rdi
callq 0x10d47d
movq %rax, %rcx
cmpq %r14, %rcx
jne 0x10aaf3
movq 0x1a98(%rbx), %rax
xorl %ebp, %ebp
testb %bpl, %bpl
je 0x10aaff
movq 0x1aa0(%rbx), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x10ab67
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rax
cmpb $0x8, (%rax)
jne 0x10ab7f
movb 0x8(%rsi), %cl
xorl %edx, %edx
cmpb 0x8(%rax), %cl
setbe %dl
movq 0x118(%rdi,%rdx,8), %rax
retq
movq 0xdc8(%rdi), %rdx
movl $0x8, %r8d
movl $0x1, %r9d
jmp 0xf1ae
movq 0xdc8(%rdi), %rdx
movq %rax, %rsi
movl $0x8, %r8d
movl $0x2, %r9d
jmp 0xf1ae
// File: /workspace/github_c_makefile_star2_O1/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 0x10abd7
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rax
cmpb $0x8, (%rax)
jne 0x10abef
movb 0x8(%rsi), %cl
xorl %edx, %edx
cmpb 0x8(%rax), %cl
setae %dl
movq 0x118(%rdi,%rdx,8), %rax
retq
movq 0xdd8(%rdi), %rdx
movl $0x8, %r8d
movl $0x1, %r9d
jmp 0xf1ae
movq 0xdd8(%rdi), %rdx
movq %rax, %rsi
movl $0x8, %r8d
movl $0x2, %r9d
jmp 0xf1ae
// File: /workspace/github_c_makefile_star2_O1/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 0x10ac40
pushq %rbx
movq 0x47e2a(%rip), %rbx     # 0x152a58
movq 0x8(%rsi), %rax
movq 0x48(%rax), %rax
callq *(%rax)
cltq
movq (%rbx,%rax,8), %rax
popq %rbx
retq
movq 0x1448(%rdi), %rdx
movq 0x47fb2(%rip), %r8      # 0x152c00
jmp 0x103001
// File: /workspace/github_c_makefile_star2_O1/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 0x10ac7c
movq 0x10(%rcx), %rcx
movq 0x8(%rcx), %rcx
cmpb $0x8, (%rcx)
jne 0x10ac7c
movq 0x1ab8(%rdi), %rax
retq
// File: /workspace/github_c_makefile_star2_O1/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 %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rsi), %rax
movq 0x8(%rax), %rcx
cmpb $0x13, (%rcx)
jne 0x10acc9
movq 0x8(%rsi), %rdx
movsbl 0x8(%rdx), %ebp
movq 0x8(%rcx), %r12
movq 0x10(%rcx), %r15
movq 0x10(%rax), %rax
cmpb $0x1, (%rax)
jne 0x10acd9
movq 0x8(%rax), %rcx
cmpb $0xb, (%rcx)
jne 0x10acde
movq 0x8(%rcx), %r14
testq %r14, %r14
js 0x10acea
cmpq %r12, %r14
jge 0x10ad14
movb $0x1, %cl
jmp 0x10ad1d
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x75d56
xorl %r14d, %r14d
jmp 0x10ad21
movq %rbx, %rdi
callq 0x75d56
xorl %ecx, %ecx
jmp 0x10ad1d
movq 0xde0(%rbx), %rax
movq 0x8(%rax), %rsi
movq 0x43c6c(%rip), %rdx     # 0x14e968
movq 0x140(%rbx), %r8
movq 0x4fece(%rip), %r9      # 0x15abd8
movq %rbx, %rdi
callq 0xb31d
jmp 0x10ad1b
movq 0x120(%rbx), %rax
xorl %ecx, %ecx
testb %cl, %cl
je 0x10ad96
testq %r12, %r12
je 0x10ad54
addq %r15, %r14
movq %r14, %rdi
movl %ebp, %esi
callq 0x91d0
testq %rax, %rax
je 0x10ad54
movq %rax, %r14
subq %r15, %r14
cmpq $0x7ff, %r14            # imm = 0x7FF
ja 0x10ad5d
leaq 0x43c02(%rip), %rax     # 0x14e950
movq (%rax,%r14,8), %rax
jmp 0x10ad96
movq 0x120(%rbx), %rax
jmp 0x10ad96
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x10ad75
movq %rbx, %rdi
callq 0xb389
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 %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x10ae13
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rax
cmpb $0x13, (%rax)
jne 0x10ae2b
movq 0x8(%rsi), %rdx
movl $0x120, %ecx            # imm = 0x120
cmpq 0x8(%rax), %rdx
jne 0x10ae0d
movq 0x10(%rsi), %rdi
movq 0x10(%rax), %rsi
callq 0x9253a
xorb $0x1, %al
movzbl %al, %eax
leaq 0x118(,%rax,8), %rcx
movq (%rbx,%rcx), %rax
popq %rbx
retq
movq 0x1510(%rbx), %rdx
movq %rbx, %rdi
movl $0x13, %r8d
movl $0x1, %r9d
jmp 0x10ae44
movq 0x1510(%rbx), %rdx
movq %rbx, %rdi
movq %rax, %rsi
movl $0x13, %r8d
movl $0x2, %r9d
popq %rbx
jmp 0xf1ae
// File: /workspace/github_c_makefile_star2_O1/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, %rcx
movq %rdi, %rbx
movq $0x0, 0x10(%rsp)
movq 0x8(%rsi), %r14
cmpb $0x13, (%r14)
jne 0x10aeef
movq 0x8(%r14), %rax
movq %rax, 0x8(%rsp)
movq 0x10(%rcx), %rax
cmpq 0x110(%rbx), %rax
je 0x10aeae
movq 0x1580(%rbx), %rsi
leaq 0x10(%rsp), %r8
leaq 0x8(%rsp), %r9
movq %rbx, %rdi
movq %rcx, %rdx
movl $0x2, %ecx
callq 0xa0e7c
cmpq 0x140(%rbx), %rax
jne 0x10aee7
movq 0x10(%rsp), %rax
movq 0x10(%r14), %rcx
addq %rax, %rcx
movq 0x8(%rsp), %rdx
subq %rax, %rdx
movq 0x820(%rbx), %rax
movslq 0x7dc(%rbx), %rsi
movq (%rax,%rsi,8), %rax
incl %esi
andl $0x7, %esi
movl %esi, 0x7dc(%rbx)
movq %rcx, 0x10(%rax)
movq %rdx, 0x8(%rax)
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq 0x1580(%rbx), %rdx
movq %rbx, %rdi
movq %r14, %rsi
movl $0x13, %r8d
movl $0x1, %r9d
addq $0x18, %rsp
popq %rbx
popq %r14
jmp 0xf1ae
// File: /workspace/github_c_makefile_star2_O1/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 0x10af76
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rax
cmpb $0x13, (%rax)
jne 0x10af8e
movq %rsi, %rdi
movq %rax, %rsi
callq 0x105c0a
xorl %ecx, %ecx
cmpl $0x1, %eax
setne %cl
movq 0x118(%rbx,%rcx,8), %rax
popq %rbx
retq
movq 0x1528(%rbx), %rdx
movq %rbx, %rdi
movl $0x13, %r8d
movl $0x1, %r9d
jmp 0x10afa7
movq 0x1528(%rbx), %rdx
movq %rbx, %rdi
movq %rax, %rsi
movl $0x13, %r8d
movl $0x2, %r9d
popq %rbx
jmp 0xf1ae
// File: /workspace/github_c_makefile_star2_O1/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 0x10b00f
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rax
cmpb $0x13, (%rax)
jne 0x10b027
movq %rsi, %rdi
movq %rax, %rsi
callq 0x105c0a
xorl %ecx, %ecx
cmpl $-0x1, %eax
setne %cl
movq 0x118(%rbx,%rcx,8), %rax
popq %rbx
retq
movq 0x1538(%rbx), %rdx
movq %rbx, %rdi
movl $0x13, %r8d
movl $0x1, %r9d
jmp 0x10b040
movq 0x1538(%rbx), %rdx
movq %rbx, %rdi
movq %rax, %rsi
movl $0x13, %r8d
movl $0x2, %r9d
popq %rbx
jmp 0xf1ae