LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: vector_cdr_sort
static int32_t vector_cdr_sort(const void *v1, const void *v2, void *arg)
                {
                    s7_scheme *sc = (s7_scheme *)arg;
                    s7_pointer a, b;
                    a = (*(s7_pointer *)v1);
                    b = (*(s7_pointer *)v2);
                    a = (is_pair(a)) ? cdr(a) : g_cdr(sc, set_plist_1(sc, a));
                    b = (is_pair(b)) ? cdr(b) : g_cdr(sc, set_plist_1(sc, b));
                    return(((*(sc->sort_f))(sc, a, b)) ? -1 : 1);
                }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq (%rdi), %rax
movq (%rsi), %r15
cmpb $0x1, (%rax)
jne 0xfe100
movq 0x10(%rax), %r14
jmp 0xfe139
movq 0x700(%rbx), %rcx
movq %rax, 0x8(%rcx)
movq 0x700(%rbx), %rcx
movq 0x8(%rcx), %rsi
cmpb $0x1, (%rsi)
jne 0xfe121
movq 0x10(%rsi), %r14
jmp 0xfe139
movq 0xda0(%rbx), %rdx
movq %rbx, %rdi
movl $0x1, %r8d
callq 0x95069
movq %rax, %r14
cmpb $0x1, (%r15)
jne 0xfe145
movq 0x10(%r15), %rdx
jmp 0xfe17e
movq 0x700(%rbx), %rax
movq %r15, 0x8(%rax)
movq 0x700(%rbx), %rcx
movq 0x8(%rcx), %rsi
cmpb $0x1, (%rsi)
jne 0xfe166
movq 0x10(%rsi), %rdx
jmp 0xfe17e
movq 0xda0(%rbx), %rdx
movq %rbx, %rdi
movl $0x1, %r8d
callq 0x95069
movq %rax, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq *0xad8(%rbx)
movzbl %al, %eax
negl %eax
orl $0x1, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: opt_begin_bool_sort_b
static int32_t opt_begin_bool_sort_b(const void *v1, const void *v2, void *arg)
                {
                    s7_scheme *sc = (s7_scheme *)arg;
                    s7_int i;
                    opt_info *o;
                    slot_set_value(sc->sort_v1, (*(s7_pointer *)v1));
                    slot_set_value(sc->sort_v2, (*(s7_pointer *)v2));
                    sc->pc = -1;
                    for (i = 0; i < sc->sort_body_len - 1; i++)
                    {
                        o = sc->opts[++sc->pc];
                        o->v[0].fp(o);
                    }
                    o = sc->opts[++sc->pc];
                    return((o->v[0].fb(o)) ? -1 : 1);
                }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq (%rdi), %rax
movq 0xab8(%rdx), %rcx
movq %rax, 0x10(%rcx)
movq (%rsi), %rax
movq 0xac0(%rdx), %rcx
movq %rax, 0x10(%rcx)
movl $0xffffffff, 0x2258(%rdx) # imm = 0xFFFFFFFF
xorl %eax, %eax
cmpq $0x2, 0xad0(%rdx)
jl 0xfe31b
xorl %r14d, %r14d
movslq 0x2258(%rbx), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x2258(%rbx)
movq 0x2268(%rbx,%rax,8), %rdi
callq *(%rdi)
incq %r14
movq 0xad0(%rbx), %rax
decq %rax
cmpq %rax, %r14
jl 0xfe2e7
movl 0x2258(%rbx), %eax
incl %eax
movl %eax, 0x2258(%rbx)
cltq
movq 0x2260(%rbx,%rax,8), %rdi
callq *(%rdi)
movzbl %al, %eax
negl %eax
orl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: opt_begin_bool_sort_p
static int32_t opt_begin_bool_sort_p(const void *v1, const void *v2, void *arg)
                {
                    s7_scheme *sc = (s7_scheme *)arg;
                    s7_int i;
                    opt_info *o;
                    slot_set_value(sc->sort_v1, (*(s7_pointer *)v1));
                    slot_set_value(sc->sort_v2, (*(s7_pointer *)v2));
                    sc->pc = -1;
                    for (i = 0; i < sc->sort_body_len - 1; i++)
                    {
                        o = sc->opts[++sc->pc];
                        o->v[0].fp(o);
                    }
                    o = sc->opts[++sc->pc];
                    return((o->v[0].fp(o) != sc->F) ? -1 : 1);
                }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq (%rdi), %rax
movq 0xab8(%rdx), %rcx
movq %rax, 0x10(%rcx)
movq (%rsi), %rax
movq 0xac0(%rdx), %rcx
movq %rax, 0x10(%rcx)
movl $0xffffffff, 0x2258(%rdx) # imm = 0xFFFFFFFF
xorl %eax, %eax
cmpq $0x2, 0xad0(%rdx)
jl 0xfe3ad
xorl %r14d, %r14d
movslq 0x2258(%rbx), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x2258(%rbx)
movq 0x2268(%rbx,%rax,8), %rdi
callq *(%rdi)
incq %r14
movq 0xad0(%rbx), %rax
decq %rax
cmpq %rax, %r14
jl 0xfe379
movl 0x2258(%rbx), %eax
incl %eax
movl %eax, 0x2258(%rbx)
cltq
movq 0x2260(%rbx,%rax,8), %rdi
callq *(%rdi)
xorl %ecx, %ecx
cmpq 0x120(%rbx), %rax
sete %cl
leal -0x1(,%rcx,2), %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: sequence_length
static s7_int sequence_length(s7_scheme *sc, s7_pointer lst)
                {
                    switch (type(lst))
                    {
                        case T_PAIR:
                            {
                                s7_int len;
                                len = s7_list_length(sc, lst);
                                if (len == 0) return(-1);
                                return(len);
                            }
                        case T_NIL:         return(0);
                        case T_BYTE_VECTOR:
                        case T_INT_VECTOR:
                        case T_FLOAT_VECTOR:
                        case T_VECTOR:      return(vector_length(lst));
                        case T_STRING:      return(string_length(lst));
                        case T_HASH_TABLE:  return(hash_table_entries(lst));
                        case T_LET:         return(let_length(sc, lst));
                        case T_C_OBJECT:
                                            {
                                                s7_pointer x;
                                                x = c_object_length(sc, lst);
                                                if (s7_is_integer(x))
                                                    return(s7_integer(x));
                                            }
                    }
                    return(-1);
                }

// Assembly:
pushq %rax
movzbl (%rsi), %eax
leal -0x13(%rax), %ecx
cmpl $0x9, %ecx
ja 0xfec3e
leaq 0xa24d(%rip), %rax      # 0x108e7c
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movq 0x8(%rsi), %rax
jmp 0xfec89
cmpl $0x2, %eax
je 0xfec87
cmpl $0x1, %eax
jne 0xfec6e
callq 0x39d0d
movq %rax, %rcx
xorl %eax, %eax
cmpq $0x1, %rcx
sbbq %rax, %rax
orq %rcx, %rax
jmp 0xfec89
callq 0x99530
cmpb $0xb, (%rax)
jne 0xfec6e
movq 0x8(%rax), %rax
jmp 0xfec89
movq $-0x1, %rax
jmp 0xfec89
movq 0x28(%rsi), %rax
movq 0x18(%rax), %rax
jmp 0xfec89
popq %rax
jmp 0x9a46b
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: compatible_types
static bool compatible_types(s7_scheme *sc, s7_pointer eq_type, s7_pointer value_type)
                {
                    if (eq_type == sc->T) return(true);
                    if (eq_type == value_type) return(true);

                    if (eq_type == sc->is_number_symbol)              /* only = among built-ins, so otherr cases aren't needed */
                        return((value_type == sc->is_integer_symbol) ||
                                (value_type == sc->is_real_symbol) ||
                                (value_type == sc->is_complex_symbol) ||
                                (value_type == sc->is_rational_symbol));

                    return(false);
                }

// Assembly:
movb $0x1, %al
cmpq %rdx, %rsi
je 0xffc9e
cmpq %rsi, 0x118(%rdi)
je 0xffc9e
cmpq %rsi, 0x1120(%rdi)
je 0xffc9f
xorl %eax, %eax
retq
cmpq %rdx, 0x10d0(%rdi)
je 0xffc9e
cmpq %rdx, 0x1180(%rdi)
je 0xffc9e
cmpq %rdx, 0x1038(%rdi)
je 0xffc9e
cmpq %rdx, 0x1178(%rdi)
sete %al
retq
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: make_iterators
static s7_pointer make_iterators(s7_scheme *sc, s7_pointer args)
                {
                    s7_pointer p;
                    sc->temp3 = args;
                    sc->z = sc->nil;                                    /* don't use sc->args here -- it needs GC protection until we get the iterators */
                    for (p = cdr(args); is_pair(p); p = cdr(p))
                    {
                        s7_pointer iter;
                        iter = car(p);
                        if (!is_iterator(car(p)))
                            iter = s7_make_iterator(sc, iter);
                        sc->z = cons(sc, iter, sc->z);
                    }
                    sc->temp3 = sc->nil;
                    return(safe_reverse_in_place(sc, sc->z));
                }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rsi, 0x508(%rdi)
movq 0x110(%rdi), %rdx
movq %rdx, 0x4f0(%rdi)
movq 0x10(%rsi), %r15
cmpb $0x1, (%r15)
jne 0xffd6a
movq 0x8(%r15), %r14
cmpb $0x1d, (%r14)
jne 0xffcfe
movq %rdx, %r12
jmp 0xffd13
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb067
movq %rax, %r14
movq 0x4f0(%rbx), %r12
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0xffd32
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rdx
movq $0x200001, (%rdx)       # imm = 0x200001
movq %r14, 0x8(%rdx)
movq %r12, 0x10(%rdx)
movq %rdx, 0x4f0(%rbx)
movq 0x10(%r15), %r15
cmpb $0x1, (%r15)
je 0xffcef
movq 0x110(%rbx), %rsi
jmp 0xffd6d
movq %rdx, %rsi
movq %rsi, 0x508(%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x9975a
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: make_baffled_closure
static s7_pointer make_baffled_closure(s7_scheme *sc, s7_pointer inp)
                {
                    /* for dynamic-wind to protect initial and final functions from call/cc */
                    s7_pointer nclo, frame;
                    nclo = make_closure(sc, sc->nil, closure_body(inp), type(inp), 0);
                    frame = new_frame_in_env(sc, closure_let(inp)); /* outlet(frame) = closure_let(inp) */
                    make_slot_1(sc, frame, sc->baffle_symbol, make_baffle(sc));
                    closure_set_let(nclo, frame);
                    return(nclo);
                }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %rbx
movq 0x110(%rdi), %rsi
movq 0x10(%r15), %rdx
movzbl (%r15), %ecx
xorl %r8d, %r8d
callq 0xe6bf5
movq %rax, %r14
movq 0x18(%r15), %r12
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0xffe12
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %r15
movq $0x20001c, (%r15)       # imm = 0x20001C
movq 0x250(%rbx), %rax
incq %rax
movq %rax, 0x250(%rbx)
movq %rax, 0x18(%r15)
movq $0x0, 0x8(%r15)
movq %r12, 0x10(%r15)
movq 0x17d8(%rbx), %r12
movq %rbx, %rdi
callq 0xe8842
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %rax, %rcx
callq 0xa332
movq %r15, 0x18(%r14)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: tree_count_at_least
static inline s7_int tree_count_at_least(s7_scheme *sc, s7_pointer x, s7_pointer p, s7_int count, s7_int top)
                {
                    if (p == x) return(count + 1);
                    if (!is_pair(p)) return(count);
                    if (car(p) == sc->quote_symbol) return(count);
                    do
                    {
                        count = tree_count_at_least(sc, x, car(p), count, top);
                        if (count >= top) return(count);
                        p = cdr(p);
                        if (p == x) return(count + 1);
                    } while (is_pair(p));
                    return(count);
                }

// Assembly:
movq %rcx, %rax
cmpq %rsi, %rdx
je 0xffed5
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
cmpb $0x1, (%rdx)
jne 0xffedc
movq %rdi, %r12
movq 0x8(%r14), %rcx
cmpq 0x17b0(%rdi), %rcx
je 0xffedc
movq %r8, %rbx
movq %rsi, %r15
movq 0x8(%r14), %rdx
movq %r12, %rdi
movq %r15, %rsi
movq %rax, %rcx
movq %rbx, %r8
callq 0xffe7c
cmpq %rbx, %rax
jge 0xffedc
movq 0x10(%r14), %r14
cmpq %r15, %r14
je 0xffed9
cmpb $0x1, (%r14)
je 0xffeaa
jmp 0xffedc
incq %rax
retq
incq %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: 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 0xfff93
cmpl $0x2, %edx
jne 0xfffb5
testb %r8b, %r8b
je 0xfff9c
movq 0x10(%rcx), %rax
movq 0x10(%rax), %rdx
movq 0x8(%rdx), %rdx
movq 0x46a42(%rip), %r8      # 0x146958
cmpq %r8, %rdx
je 0xfffa5
movq 0x8(%rax), %rsi
cmpb $0xb, (%rsi)
jne 0xfff48
cmpb $0x1, (%rdx)
jne 0xfff48
cmpw $0x801, (%rdx)          # imm = 0x801
jne 0xfff48
cmpw $0x3, 0x4(%rdx)
jne 0xfff48
leaq -0x4ec31(%rip), %r9     # 0xb1311
cmpq %r9, 0x20(%rdx)
je 0xfffb9
cmpq %r8, %rsi
je 0xfffae
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 0x103e8e
addq $0x38, %rsp
retq
movq 0x1a50(%rdi), %rsi
jmp 0xfffb5
movq 0x1a48(%rdi), %rsi
jmp 0xfffb5
movq 0x1a60(%rdi), %rsi
jmp 0xfffb5
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 0xfffb5
// File: /workspace/github_c_makefile_star2_O3/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 0x100100
leaq 0x8e9c(%rip), %rcx      # 0x108ee0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x8(%rsi), %rax
leaq 0x1(%rax), %r14
cmpq $0x7ff, %r14            # imm = 0x7FF
ja 0x100123
leaq 0x468e7(%rip), %rcx     # 0x146950
movq 0x8(%rcx,%rax,8), %rax
jmp 0x10015c
movsd 0x8(%rsi), %xmm0
addsd 0x5fb0(%rip), %xmm0     # 0x106030
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x1000a9
movq %rbx, %rdi
movsd %xmm0, (%rsp)
callq 0xa550
movsd (%rsp), %xmm0
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xd, (%rax)
movsd %xmm0, 0x8(%rax)
jmp 0x10015c
movsd 0x8(%rsi), %xmm0
addsd 0x5f5a(%rip), %xmm0     # 0x106030
movsd 0x10(%rsi), %xmm1
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xd387
movq 0x46867(%rip), %rdx     # 0x146958
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xb9f88
movq 0xba8(%rbx), %rdx
movq 0x55292(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
movl $0x2, %r9d
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xe659
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x100142
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xb, (%rax)
movq %r14, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_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 0x5eb0(%rip), %xmm1     # 0x106048
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 0x1001c7
leaq 0x4678f(%rip), %rax     # 0x146950
movq (%rax,%r14,8), %rax
jmp 0x100203
movq %rdi, %rbx
movq 0x90(%rdi), %rax
cmpq 0x98(%rdi), %rax
ja 0x1001e9
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xb, (%rax)
movq %r14, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_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 0x1002fa
cvtsi2sd %rax, %xmm0
cvtsi2sd %rcx, %xmm1
addsd %xmm0, %xmm1
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x1002dd
movq %rbx, %rdi
movsd %xmm1, (%rsp)
callq 0xa550
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 0x100349
cmpq $0x7ff, %r14            # imm = 0x7FF
ja 0x100310
leaq 0x46646(%rip), %rax     # 0x146950
movq (%rax,%r14,8), %rax
jmp 0x100349
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x10032f
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xb, (%rax)
movq %r14, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: 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 0x1004c9
cmpl $0x3, %edx
je 0x1004c2
movq %rsi, %rax
cmpl $0x2, %edx
jne 0x1004d2
testb %r8b, %r8b
je 0x1004bb
movq 0x10(%rcx), %rax
movq 0x10(%rax), %rcx
movq 0x8(%rcx), %rcx
cmpq 0x464b7(%rip), %rcx     # 0x146958
je 0x1004d3
movq 0x8(%rax), %rdx
movl $0x1a90, %eax           # imm = 0x1A90
cmpb $0xd, (%rdx)
je 0x1004ce
movl $0x1a88, %eax           # imm = 0x1A88
cmpb $0xd, (%rcx)
je 0x1004ce
movl $0x1a70, %eax           # imm = 0x1A70
jmp 0x1004ce
movl $0x1a78, %eax           # imm = 0x1A78
jmp 0x1004ce
movl $0x1a68, %eax           # imm = 0x1A68
movq (%rdi,%rax), %rax
retq
movl $0x1a80, %eax           # imm = 0x1A80
jmp 0x1004ce
// File: /workspace/github_c_makefile_star2_O3/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 0x1007d6
movq 0x8(%rcx), %rcx
movsd 0x8(%rcx), %xmm0
leaq 0x87e0(%rip), %rcx      # 0x108f00
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cvtsi2sdq 0x8(%rsi), %xmm1
subsd %xmm1, %xmm0
jmp 0x10078a
subsd 0x8(%rsi), %xmm0
jmp 0x10078a
subsd 0x8(%rsi), %xmm0
movsd 0x10(%rsi), %xmm1
xorps 0x9763(%rip), %xmm1     # 0x109eb0
movq %rbx, %rdi
addq $0x30, %rsp
popq %rbx
jmp 0xd387
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 0x1007b5
movq %rbx, %rdi
movsd %xmm0, 0x8(%rsp)
callq 0xa550
movsd 0x8(%rsp), %xmm0
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xd, (%rax)
movsd %xmm0, 0x8(%rax)
addq $0x30, %rsp
popq %rbx
retq
movq 0x1588(%rbx), %rdx
movq 0x54bbc(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
movl $0x1, %r9d
addq $0x30, %rsp
popq %rbx
jmp 0xe659
// File: /workspace/github_c_makefile_star2_O3/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 0x10085e
testb %r8b, %r8b
je 0x100857
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 0x103e8e
addq $0x38, %rsp
retq
movq 0x1c30(%rdi), %rsi
movq %rsi, %rax
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x100952
cvtsi2sd %rax, %xmm0
cvtsi2sd %rcx, %xmm1
mulsd %xmm0, %xmm1
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x100935
movq %rbx, %rdi
movsd %xmm1, (%rsp)
callq 0xa550
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 0x1009a1
cmpq $0x7ff, %r14            # imm = 0x7FF
ja 0x100968
leaq 0x45fee(%rip), %rax     # 0x146950
movq (%rax,%r14,8), %rax
jmp 0x1009a1
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x100987
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xb, (%rax)
movq %r14, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: 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 0x100b44
cmpl $0x2, %edx
setne %dl
xorb $0x1, %r8b
orb %dl, %r8b
jne 0x100b48
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rcx
cmpb $0xd, (%rcx)
jne 0x100b26
movsd 0x8(%rcx), %xmm0
movl $0x1c40, %esi           # imm = 0x1C40
ucomisd 0x550e(%rip), %xmm0     # 0x106030
jne 0x100b26
jnp 0x100b44
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
cmpb $0xb, (%rax)
jne 0x100b3f
movl $0x1c50, %esi           # imm = 0x1C50
cmpq $0x2, 0x8(%rax)
je 0x100b44
movl $0x1c48, %esi           # imm = 0x1C48
movq (%rdi,%rsi), %rax
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x100c53
leaq 0x83a2(%rip), %rdx      # 0x108f10
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
movq 0x8(%rsi), %rdx
testq %rdx, %rdx
je 0x100c74
movl $0x1, %esi
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0xcfa8
movsd 0x8(%rsi), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x100bab
jnp 0x100c74
movsd 0x547d(%rip), %xmm1     # 0x106030
divsd %xmm0, %xmm1
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x100be2
movq %rbx, %rdi
movsd %xmm1, 0x8(%rsp)
callq 0xa550
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 0x9283(%rip), %xmm1     # 0x109eb0
divsd %xmm3, %xmm1
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0xd387
movq 0x8(%rsi), %rdx
movq 0x10(%rsi), %rsi
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0xfa58d
movq 0xe88(%rbx), %rdx
movq 0x5473f(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
movl $0x1, %r9d
addq $0x10, %rsp
popq %rbx
jmp 0xe659
movq 0xe88(%rbx), %rsi
movq %rbx, %rdi
movq %rcx, %rdx
addq $0x10, %rsp
popq %rbx
jmp 0xd434
// File: /workspace/github_c_makefile_star2_O3/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 0x49d09(%rip), %rcx     # 0x14a9b0
cmpb $0x1, (%rax,%rcx)
jne 0x100cb8
cmpb $0xd, %al
jne 0x100cca
movsd 0x8(%rsi), %xmm0
jmp 0x100cdd
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x6af9a
movq 0x49d5f(%rip), %rdi     # 0x14aa30
leaq 0x93a0(%rip), %rdx      # 0x10a078
callq 0xd498
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x100d02
jp 0x100d02
movq 0xe88(%rbx), %rsi
movq %rbx, %rdi
movq %r14, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xd434
movsd 0x5326(%rip), %xmm1     # 0x106030
divsd %xmm0, %xmm1
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x100d37
movq %rbx, %rdi
movsd %xmm1, (%rsp)
callq 0xa550
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_O3/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 0x101029
testb %r8b, %r8b
je 0x101020
movq 0x10(%rcx), %rcx
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rdx
movl $0x1c60, %eax           # imm = 0x1C60
cmpb $0xb, (%rdx)
je 0x101025
movq 0x8(%rcx), %rcx
movl $0x1c68, %eax           # imm = 0x1C68
cmpb $0xb, (%rcx)
je 0x101025
movl $0x1c58, %eax           # imm = 0x1C58
movq (%rdi,%rax), %rax
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x101059
cmpl $0xb, %eax
jne 0x101076
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 0x498f3(%rip), %rcx     # 0x14a970
cmpb $0x0, (%rax,%rcx)
je 0xd8e70
movq 0x120(%rdi), %rax
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x1010fd
testb %r8b, %r8b
je 0x1010f4
movq 0x10(%rcx), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %ecx
cmpl $0xd, %ecx
je 0x1010fe
cmpl $0xb, %ecx
jne 0x1010f4
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x101105
xorl %ecx, %ecx
cmpb $0x0, 0x5431d(%rip)     # 0x1553e4
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
cmoveq %rcx, %rdx
cmpq %rdx, %rax
jge 0x1010f4
movb 0x54389(%rip), %cl      # 0x155464
notb %cl
movzbl %cl, %edx
shll $0x1f, %edx
addq $-0x80000000, %rdx      # imm = 0x80000000
movl $0x1c70, %ecx           # imm = 0x1C70
cmpq %rdx, %rax
jg 0x1010f9
movl $0x1c88, %ecx           # imm = 0x1C88
movq (%rdi,%rcx), %rax
retq
movl $0x1c78, %ecx           # imm = 0x1C78
jmp 0x1010f9
movl $0x1c80, %ecx           # imm = 0x1C80
jmp 0x1010f9
// File: /workspace/github_c_makefile_star2_O3/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 0x1011c7
testb %r8b, %r8b
je 0x1011be
movq 0x10(%rcx), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %ecx
cmpl $0xd, %ecx
je 0x10117a
cmpl $0xb, %ecx
jne 0x1011be
movq 0x8(%rax), %rax
xorl %ecx, %ecx
cmpb $0x0, 0x54299(%rip)     # 0x1553e4
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
cmoveq %rcx, %rdx
cmpq %rdx, %rax
jge 0x1011be
movb 0x54305(%rip), %cl      # 0x155464
notb %cl
movzbl %cl, %edx
shll $0x1f, %edx
addq $-0x80000000, %rdx      # imm = 0x80000000
movl $0x1c90, %ecx           # imm = 0x1C90
cmpq %rdx, %rax
jle 0x1011be
jmp 0x1011c3
movsd 0x8(%rax), %xmm0
cmpb $0x0, 0x5425e(%rip)     # 0x1553e4
jne 0x10118e
xorpd %xmm1, %xmm1
jmp 0x101196
movsd 0x4f8a(%rip), %xmm1     # 0x106120
ucomisd %xmm0, %xmm1
jbe 0x1011be
cmpb $0x0, 0x542c1(%rip)     # 0x155464
jne 0x1011ab
xorpd %xmm1, %xmm1
jmp 0x1011b3
movsd 0x4f75(%rip), %xmm1     # 0x106128
movl $0x1c98, %ecx           # imm = 0x1C98
ucomisd %xmm1, %xmm0
ja 0x1011c3
movl $0x1ca0, %ecx           # imm = 0x1CA0
movq (%rdi,%rcx), %rax
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x101224
cmpl $0xc, %eax
je 0x1011f5
cmpl $0xd, %eax
jne 0x10123c
movsd 0x8(%rsi), %xmm1
jmp 0x10122a
movq 0x8(%rsi), %rcx
movq 0x10(%rsi), %rax
xorl %edx, %edx
cmpb $0x0, 0x541de(%rip)     # 0x1553e4
movl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
cmoveq %rdx, %rsi
cmpq %rsi, %rax
jge 0x101255
cvtsi2sd %rcx, %xmm1
cvtsi2sd %rax, %xmm2
mulsd %xmm2, %xmm0
jmp 0x10122a
cvtsi2sdq 0x8(%rsi), %xmm1
xorl %eax, %eax
ucomisd %xmm0, %xmm1
setbe %al
movq 0x118(%rdi,%rax,8), %rax
retq
movq 0xf58(%rdi), %rdx
movq 0x54156(%rip), %r8      # 0x1553a0
movl $0x1, %r9d
jmp 0xe659
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 0x101230
// File: /workspace/github_c_makefile_star2_O3/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 0x1012de
testb %r8b, %r8b
je 0x1012d5
movq 0x10(%rcx), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
cmpb $0xb, (%rax)
jne 0x1012d5
movq 0x8(%rax), %rax
xorl %ecx, %ecx
cmpb $0x0, 0x5413c(%rip)     # 0x1553e4
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
cmoveq %rcx, %rdx
cmpq %rdx, %rax
jge 0x1012d5
movb 0x541a8(%rip), %cl      # 0x155464
notb %cl
movzbl %cl, %edx
shll $0x1f, %edx
addq $-0x80000000, %rdx      # imm = 0x80000000
movl $0x1ca8, %ecx           # imm = 0x1CA8
cmpq %rdx, %rax
jg 0x1012da
movl $0x1cb0, %ecx           # imm = 0x1CB0
movq (%rdi,%rcx), %rax
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x10139a
testb %r8b, %r8b
je 0x101391
movq 0x10(%rcx), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %ecx
cmpl $0xd, %ecx
je 0x10134d
cmpl $0xb, %ecx
jne 0x101391
movq 0x8(%rax), %rax
xorl %ecx, %ecx
cmpb $0x0, 0x540c6(%rip)     # 0x1553e4
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
cmoveq %rcx, %rdx
cmpq %rdx, %rax
jge 0x101391
movb 0x54132(%rip), %cl      # 0x155464
notb %cl
movzbl %cl, %edx
shll $0x1f, %edx
addq $-0x80000000, %rdx      # imm = 0x80000000
movl $0x1cb8, %ecx           # imm = 0x1CB8
cmpq %rdx, %rax
jle 0x101391
jmp 0x101396
movsd 0x8(%rax), %xmm0
cmpb $0x0, 0x5408b(%rip)     # 0x1553e4
jne 0x101361
xorpd %xmm1, %xmm1
jmp 0x101369
movsd 0x4db7(%rip), %xmm1     # 0x106120
ucomisd %xmm0, %xmm1
jbe 0x101391
cmpb $0x0, 0x540ee(%rip)     # 0x155464
jne 0x10137e
xorpd %xmm1, %xmm1
jmp 0x101386
movsd 0x4da2(%rip), %xmm1     # 0x106128
movl $0x1cc0, %ecx           # imm = 0x1CC0
ucomisd %xmm1, %xmm0
ja 0x101396
movl $0x1c18, %ecx           # imm = 0x1C18
movq (%rdi,%rcx), %rax
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x10144c
cmpl $0xb, %edx
jne 0x1014be
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 0x4c22(%rip), %xmm1     # 0x106048
mulsd %xmm0, %xmm1
cvttsd2si %xmm1, %r14
cmpq $0x7ff, %r14            # imm = 0x7FF
ja 0x1014cd
leaq 0x4550d(%rip), %rax     # 0x146950
movq (%rax,%r14,8), %rax
jmp 0x101506
imulq $0x7f13ac69, 0x8(%rax), %rdx # imm = 0x7F13AC69
addq 0x10(%rax), %rdx
movl %edx, %esi
cvtsi2sd %rsi, %xmm0
divsd 0x4be1(%rip), %xmm0     # 0x106048
mulsd 0x8(%rcx), %xmm0
movq %rsi, 0x8(%rax)
shrq $0x20, %rdx
movq %rdx, 0x10(%rax)
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x1014a1
movq %rbx, %rdi
movsd %xmm0, (%rsp)
callq 0xa550
movsd (%rsp), %xmm0
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xd, (%rax)
movsd %xmm0, 0x8(%rax)
jmp 0x101506
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x6ee9b
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x1014ec
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xb, (%rax)
movq %r14, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: 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 0x1015dc
movq 0x10(%rcx), %rdx
movq 0x8(%rdx), %rsi
cmpb $0xa, (%rsi)
jne 0x1015dc
movq 0x10(%rdx), %rdx
movq 0x8(%rdx), %rdx
cmpb $0x1, (%rdx)
jne 0x1015dc
movq 0x10(%rdx), %rsi
cmpq 0x110(%rdi), %rsi
je 0x1015dd
retq
movq 0x8(%rdx), %rdx
cmpq 0x1490(%rdi), %rdx
jne 0x1015dc
orb $0x8, 0x1(%rcx)
movw $0x3, 0x4(%rcx)
movq 0x1c28(%rdi), %rax
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x101628
jle 0x101623
movq 0x10(%rdx), %rdx
movq 0x18(%rdx), %r8
cmpq %r8, %rsi
jl 0x101616
cmpq %rsi, %r8
jne 0x10164a
movq 0x18(%rax), %rsi
movq 0x10(%rsi), %rsi
cmpb $0xa, (%rsi)
jne 0x10166a
movq 0x10(%rsi), %rax
xorl %ecx, %ecx
cmpb $0x20, (%rax)
setne %cl
movq 0x118(%rdi,%rcx,8), %rax
retq
cmpb $0x1c, (%rdx)
jne 0x101682
movq 0x8(%rdx), %rsi
testq %rsi, %rsi
je 0x101664
cmpq %rax, 0x8(%rsi)
je 0x10162c
movq 0x18(%rsi), %rsi
jmp 0x101653
movq 0x10(%rdx), %rdx
jmp 0x10164a
movq 0x1050(%rdi), %rdx
movl $0xa, %r8d
movl $0x1, %r9d
jmp 0xe42d
movq 0x10(%rax), %rsi
cmpb $0x20, (%rsi)
je 0x10162c
xorl %esi, %esi
jmp 0x101630