LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: g_string_ci_cmp
static s7_pointer g_string_ci_cmp(s7_scheme *sc, s7_pointer args, int32_t val, s7_pointer sym)
    {
        s7_pointer x, y;

        y = car(args);
        if (!is_string(y))
            return(method_or_bust(sc, y, sym, args, T_STRING, 1));

        for (x = cdr(args); is_not_null(x); x = cdr(x))
        {
            if (!is_string(car(x)))
                return(method_or_bust(sc, car(x), sym, cons(sc, y, x), T_STRING, position_of(x, args)));
            if (val == 0)
            {
                if (!scheme_strequal_ci(y, car(x)))
                    return(string_check_method(sc, sym, x, y, args));
            }
            else
            {
                if (scheme_strcasecmp(y, car(x)) != val)
                    return(string_check_method(sc, sym, x, y, args));
            }
            y = car(x);
        }
        return(sc->T);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq 0x8(%rsi), %rbx
cmpb $0x13, (%rbx)
jne 0x1062c4
movq %rcx, 0x8(%rsp)
movq %rdi, (%rsp)
movq 0x110(%rdi), %rax
movq 0x10(%r14), %r13
movq %rax, 0x10(%rsp)
cmpq %rax, %r13
je 0x1062aa
movl %edx, %ebp
leaq 0x549f2(%rip), %r15     # 0x15ac20
movq %rbx, %r12
movq 0x8(%r13), %rbx
cmpb $0x13, (%rbx)
jne 0x10630b
testl %ebp, %ebp
je 0x106256
movq %r12, %rdi
movq %rbx, %rsi
callq 0x10644e
cmpl %ebp, %eax
je 0x10629f
jmp 0x1062ec
movq 0x8(%r12), %rax
cmpq 0x8(%rbx), %rax
jne 0x1062ec
testq %rax, %rax
jle 0x10629f
movq 0x10(%r12), %rcx
movq 0x10(%rbx), %rdx
decq %rax
xorl %esi, %esi
movzbl (%rcx,%rsi), %edi
movb (%rdi,%r15), %dil
movzbl (%rdx,%rsi), %r8d
movb (%r8,%r15), %r8b
cmpb %r8b, %dil
jne 0x10629a
leaq 0x1(%rsi), %r9
cmpq %rsi, %rax
movq %r9, %rsi
jne 0x106278
cmpb %r8b, %dil
jne 0x1062ec
movq 0x10(%r13), %r13
cmpq 0x10(%rsp), %r13
jne 0x10622e
movq (%rsp), %rax
movq 0x118(%rax), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rsi
movq %rcx, %rdx
movq %r14, %rcx
movl $0x13, %r8d
movl $0x1, %r9d
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xf1ae
movq (%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %r13, %rdx
movq %r14, %rcx
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x106379
movq (%rsp), %r15
movq 0x90(%r15), %rax
cmpq 0x98(%r15), %rax
ja 0x106327
movq %r15, %rdi
callq 0xb389
movq 0x90(%r15), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%r15)
movq -0x8(%rax), %rcx
movq $0x200001, (%rcx)       # imm = 0x200001
movq %r12, 0x8(%rcx)
movq %r13, 0x10(%rcx)
movl $0x1, %r9d
cmpq %r14, %r13
je 0x106363
incl %r9d
movq 0x10(%r14), %r14
cmpq %r13, %r14
jne 0x106357
movq %r15, %rdi
movq %rbx, %rsi
movq 0x8(%rsp), %rdx
movl $0x13, %r8d
jmp 0x1062d9
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: string_check_method
static s7_pointer string_check_method(s7_scheme *sc, s7_pointer sym, s7_pointer x, s7_pointer y, s7_pointer args)
    {
        for (y = cdr(x); is_pair(y); y = cdr(y))
            if (!is_string_via_method(sc, car(y)))
                return(wrong_type_argument(sc, sym, position_of(y, args), car(y), T_STRING));
        return(sc->F);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq 0x10(%r14), %r14
cmpb $0x1, (%r14)
jne 0x1063da
movq 0x8(%r14), %rsi
movq %rbx, %rdi
callq 0x105ce3
testb %al, %al
jne 0x10638d
movl $0x1, %eax
cmpq %r12, %r14
je 0x1063bd
incl %eax
movq 0x10(%r12), %r12
cmpq %r14, %r12
jne 0x1063b1
movq 0x8(%r15), %r15
movslq %eax, %r12
cmpl $0x7ff, %r12d           # imm = 0x7FF
ja 0x1063ed
leaq 0x4857c(%rip), %rax     # 0x14e950
movq (%rax,%r12,8), %rdx
jmp 0x106426
movq 0x120(%rbx), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x106405
movq %rbx, %rdi
callq 0xb389
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rdx
movq $0xb, (%rdx)
movq %r12, 0x8(%rdx)
movq 0x8(%r14), %rcx
movq 0x140(%rbx), %r8
movq 0x4c6c0(%rip), %r9      # 0x152af8
movq %rbx, %rdi
movq %r15, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xb31d
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: scheme_strcasecmp
static int32_t scheme_strcasecmp(s7_pointer s1, s7_pointer s2)
    {
        /* same as scheme_strcmp -- watch out for unwanted sign! and lack of trailing null (length sets string end).
        */
        s7_int i, len, len1, len2;
        uint8_t *str1, *str2;

        len1 = string_length(s1);
        len2 = string_length(s2);
        if (len1 > len2)
            len = len2;
        else len = len1;

        str1 = (uint8_t *)string_value(s1);
        str2 = (uint8_t *)string_value(s2);

        for (i = 0; i < len; i++)
        {
            if (uppers[(int32_t)str1[i]] < uppers[(int32_t)str2[i]])
                return(-1);
            if (uppers[(int32_t)str1[i]] > uppers[(int32_t)str2[i]])
                return(1);
        }

        if (len1 < len2)
            return(-1);
        if (len1 > len2)
            return(1);
        return(0);
    }

// Assembly:
movq 0x8(%rdi), %rax
movq 0x8(%rsi), %rcx
cmpq %rcx, %rax
movq %rcx, %rdx
cmovlq %rax, %rdx
testq %rdx, %rdx
jle 0x106495
movq 0x10(%rdi), %rdi
movq 0x10(%rsi), %rsi
xorl %r8d, %r8d
leaq 0x547a9(%rip), %r9      # 0x15ac20
movzbl (%rdi,%r8), %r10d
movzbl (%rsi,%r8), %r11d
movb (%r11,%r9), %r11b
cmpb %r11b, (%r10,%r9)
jb 0x1064a6
ja 0x1064ac
incq %r8
cmpq %r8, %rdx
jne 0x106477
xorl %edx, %edx
cmpq %rcx, %rax
setg %dl
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmovgel %edx, %eax
retq
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
retq
movl $0x1, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: g_string_ci_cmp_not
static s7_pointer g_string_ci_cmp_not(s7_scheme *sc, s7_pointer args, int32_t val, s7_pointer sym)
    {
        s7_pointer x, y;

        y = car(args);
        if (!is_string(y))
            return(method_or_bust(sc, y, sym, args, T_STRING, 1));

        for (x = cdr(args); is_not_null(x); x = cdr(x))
        {
            if (!is_string(car(x)))
                return(method_or_bust(sc, car(x), sym, cons(sc, y, x), T_STRING, position_of(x, args)));
            if (scheme_strcasecmp(y, car(x)) == val)
                return(string_check_method(sc, sym, x, y, args));
            y = car(x);
        }
        return(sc->T);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r15
movq 0x8(%rsi), %rbp
cmpb $0x13, (%rbp)
jne 0x10652e
movl %edx, %ebx
movq %rcx, 0x10(%rsp)
movq %rdi, 0x8(%rsp)
movq 0x110(%rdi), %r14
movq %r15, %r12
movq 0x10(%r12), %r12
cmpq %r14, %r12
je 0x106548
movq 0x8(%r12), %r13
cmpb $0x13, (%r13)
jne 0x106563
movq %rbp, %rdi
movq %r13, %rsi
callq 0x10644e
movq %r13, %rbp
cmpl %ebx, %eax
jne 0x1064e3
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %r12, %rdx
movq %r15, %rcx
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x106379
movq %rbp, %rsi
movq %rcx, %rdx
movq %r15, %rcx
movl $0x13, %r8d
movl $0x1, %r9d
jmp 0x1065cd
movq 0x8(%rsp), %rax
movq 0x118(%rax), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rsp), %rbx
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x106580
movq %rbx, %rdi
callq 0xb389
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rcx
movq $0x200001, (%rcx)       # imm = 0x200001
movq %rbp, 0x8(%rcx)
movq %r12, 0x10(%rcx)
cmpq %r15, %r12
movq 0x10(%rsp), %rdx
movl $0x1, %r9d
je 0x1065c1
incl %r9d
movq 0x10(%r15), %r15
cmpq %r12, %r15
jne 0x1065b5
movq %rbx, %rdi
movq %r13, %rsi
movl $0x13, %r8d
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xf1ae
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: g_local_inlet
static s7_pointer g_local_inlet(s7_scheme *sc, s7_int num_args, ...)
    {
        va_list ap;
        s7_int i;
        s7_pointer new_e;
        int64_t id;

        new_e = new_frame_in_env(sc, sc->nil);
        sc->temp3 = new_e;
        id = let_id(new_e);

        va_start(ap, num_args);
        for (i = 0; i < num_args; i += 2)
        {
            s7_pointer symbol, slot, value;
            symbol = va_arg(ap, s7_pointer);
            value = va_arg(ap, s7_pointer);
            if (is_keyword(symbol))                 /* (inlet ':allow-other-keys 3) */
                symbol = keyword_symbol(symbol);
            new_cell_no_check(sc, slot, T_SLOT);
            slot_set_symbol(slot, symbol);
            slot_set_value(slot, value);
            slot_set_next(slot, let_slots(new_e));
            let_set_slots(new_e, slot);
            set_local(symbol);
            symbol_set_local(symbol, id, slot);
        }
        va_end(ap);

        sc->temp3 = sc->nil;
        return(new_e);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0xd0, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rdx, 0x30(%rsp)
movq %rcx, 0x38(%rsp)
movq %r8, 0x40(%rsp)
movq %r9, 0x48(%rsp)
testb %al, %al
je 0x106838
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5, 0xa0(%rsp)
movaps %xmm6, 0xb0(%rsp)
movaps %xmm7, 0xc0(%rsp)
movq 0x90(%rdi), %rax
movq 0x110(%rdi), %r15
cmpq 0x98(%rdi), %rax
ja 0x106857
movq %rbx, %rdi
callq 0xb389
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0x20001c, (%rax)       # imm = 0x20001C
movq 0x250(%rbx), %rcx
incq %rcx
movq %rcx, 0x250(%rbx)
movq %rcx, 0x18(%rax)
movq $0x0, 0x8(%rax)
movq %r15, 0x10(%rax)
movq %rax, 0x508(%rbx)
movq 0x18(%rax), %rcx
leaq 0x20(%rsp), %rdx
movq %rdx, 0x10(%rsp)
leaq 0xf0(%rsp), %rdx
movq %rdx, 0x8(%rsp)
movabsq $0x3000000010, %rdx     # imm = 0x3000000010
movq %rdx, (%rsp)
testq %r14, %r14
jle 0x10699c
xorl %edx, %edx
movq $-0x112201, %rsi        # imm = 0xFFEEDDFF
movl (%rsp), %r8d
cmpq $0x28, %r8
ja 0x1068f3
movq %r8, %rdi
addq 0x10(%rsp), %rdi
addl $0x8, %r8d
movl %r8d, (%rsp)
jmp 0x106901
movq 0x8(%rsp), %rdi
leaq 0x8(%rdi), %r8
movq %r8, 0x8(%rsp)
movq (%rdi), %rdi
movl (%rsp), %r9d
cmpq $0x28, %r9
ja 0x106920
movq %r9, %r8
addq 0x10(%rsp), %r8
addl $0x8, %r9d
movl %r9d, (%rsp)
jmp 0x10692e
movq 0x8(%rsp), %r8
leaq 0x8(%r8), %r9
movq %r9, 0x8(%rsp)
movq (%r8), %r8
testb $-0x80, 0x6(%rdi)
je 0x106943
movq 0x8(%rdi), %rdi
movq 0x20(%rdi), %rdi
movq 0x18(%rdi), %rdi
movq 0x90(%rbx), %r9
leaq -0x8(%r9), %r10
movq %r10, 0x90(%rbx)
movq -0x8(%r9), %r9
movq $0x20, (%r9)
movq %rdi, 0x8(%r9)
movq %r8, 0x10(%r9)
movq 0x8(%rax), %r8
movq %r8, 0x18(%r9)
movq %r9, 0x8(%rax)
movq (%rdi), %r8
andq %rsi, %r8
orq $0x100000, %r8          # imm = 0x100000
movq %r8, (%rdi)
movq %r9, 0x18(%rdi)
movq %rcx, 0x20(%rdi)
incl 0x28(%rdi)
addq $0x2, %rdx
cmpq %r14, %rdx
jl 0x1068d7
movq 0x110(%rbx), %rcx
movq %rcx, 0x508(%rbx)
addq $0xd0, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: hash_c_function
static hash_entry_t *hash_c_function(s7_scheme *sc, s7_pointer table, s7_pointer key)
                {
                    hash_entry_t *x;
                    s7_int hash_mask, hash, loc;
                    s7_function f;

                    f = c_function_call(hash_table_procedures_checker(table));
                    hash_mask = hash_table_mask(table);
                    hash = hash_loc(sc, table, key);
                    loc = hash & hash_mask;

                    set_car(sc->t2_1, key);
                    for (x = hash_table_element(table, loc); x; x = hash_entry_next(x))
                        if (hash_entry_raw_hash(x) == hash)
                        {
                            set_car(sc->t2_2, hash_entry_key(x));
                            if (is_true(sc, f(sc, sc->t2_1)))
                                return(x);
                        }
                    return(sc->unentry);
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
movq 0x28(%rsi), %rax
movq 0x20(%rax), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %r13
movq 0x8(%rsi), %rbp
movq 0x20(%rsi), %rax
movzbl (%rdx), %ecx
callq *(%rax,%rcx,8)
movq %rax, %r15
andq %rax, %rbp
movq 0x570(%rbx), %rax
movq %r14, 0x8(%rax)
movq 0x10(%r12), %rax
movq (%rax,%rbp,8), %r14
testq %r14, %r14
je 0x106a63
cmpq %r15, 0x10(%r14)
jne 0x106a5d
movq (%r14), %rax
movq 0x578(%rbx), %rcx
movq %rax, 0x8(%rcx)
movq 0x570(%rbx), %rsi
movq %rbx, %rdi
callq *%r13
cmpq 0x120(%rbx), %rax
jne 0x106a6a
movq 0x18(%r14), %r14
jmp 0x106a2e
movq 0x490(%rbx), %r14
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: hash_eqv
static hash_entry_t *hash_eqv(s7_scheme *sc, s7_pointer table, s7_pointer key)
                {
                    hash_entry_t *x;
                    s7_int hash_mask, loc;

                    hash_mask = hash_table_mask(table);
                    loc = hash_loc(sc, table, key) & hash_mask;

                    for (x = hash_table_element(table, loc); x; x = hash_entry_next(x))
                        if (s7_is_eqv(key, hash_entry_key(x)))
                            return(x);

                    return(sc->unentry);
                }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq 0x8(%rsi), %r12
movq 0x20(%rsi), %rax
movzbl (%rdx), %ecx
callq *(%rax,%rcx,8)
andq %r12, %rax
movq 0x10(%r15), %rcx
movq (%rcx,%rax,8), %r15
testq %r15, %r15
je 0x106d18
movq (%r15), %rsi
movq %rbx, %rdi
callq 0x42c67
testb %al, %al
jne 0x106d1f
movq 0x18(%r15), %r15
jmp 0x106cfe
movq 0x490(%r14), %r15
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: hash_number
static hash_entry_t *hash_number(s7_scheme *sc, s7_pointer table, s7_pointer key)
                {
                    if (is_number(key))
                    {
                        hash_entry_t *x;
                        s7_int hash_mask, loc;
                        hash_map_t map;

                        hash_mask = hash_table_mask(table);
                        map = hash_table_mapper(table)[type(key)];
#if (!WITH_GMP)
                        if (map == hash_map_int) /* surely by far the most common case? */
                        {
                            s7_int keyi;
                            keyi = integer(key);
                            for (x = hash_table_element(table, keyi & hash_mask); x; x = hash_entry_next(x))
                                if ((is_t_integer(hash_entry_key(x))) &&
                                        (keyi == integer(hash_entry_key(x))))
                                    return(x);
                        }
                        else
                        {
                            loc = map(sc, table, key) & hash_mask;
                            for (x = hash_table_element(table, loc); x; x = hash_entry_next(x))
                                if ((is_number(hash_entry_key(x))) &&
                                        (is_true(sc, num_eq_p_pp(sc, key, hash_entry_key(x)))))
                                    return(x);
                        }
#else
                        loc = map(sc, table, key) & hash_mask;
                        for (x = hash_table_element(table, loc); x; x = hash_entry_next(x))
                            if ((is_number(hash_entry_key(x))) &&
                                    (is_true(sc, big_num_eq(sc, set_plist_2(sc, key, hash_entry_key(x))))))
                                return(x);
#endif
                    }
                    return(sc->unentry);
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movzbl (%rdx), %eax
leaq 0x4bc2a(%rip), %r12     # 0x152970
cmpb $0x1, (%rax,%r12)
jne 0x106df0
movq %rdx, %r15
movq %rsi, %r14
movq 0x8(%rsi), %r13
movq 0x20(%rsi), %rcx
movq (%rcx,%rax,8), %rax
leaq -0xc7349(%rip), %rcx    # 0x3fa21
cmpq %rcx, %rax
je 0x106dbc
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq *%rax
andq %r13, %rax
movq 0x10(%r14), %rcx
movq (%rcx,%rax,8), %rax
movb $0x1, %bpl
testq %rax, %rax
je 0x106de7
movq %rax, %r14
movq (%rax), %rdx
movzbl (%rdx), %eax
cmpb $0x1, (%rax,%r12)
jne 0x106db1
movq %rbx, %rdi
movq %r15, %rsi
callq 0x8fcc9
cmpq 0x120(%rbx), %rax
jne 0x106de9
movq 0x18(%r14), %rax
testq %rax, %rax
jne 0x106d8d
jmp 0x106deb
movq 0x8(%r15), %rax
movq 0x10(%r14), %rcx
andq %rax, %r13
movq (%rcx,%r13,8), %r14
movb $0x1, %bpl
testq %r14, %r14
je 0x106deb
movq (%r14), %rcx
cmpb $0xb, (%rcx)
jne 0x106de1
cmpq 0x8(%rcx), %rax
je 0x106de9
movq 0x18(%r14), %r14
jmp 0x106dce
jmp 0x106deb
xorl %ebp, %ebp
testb %bpl, %bpl
je 0x106df7
movq 0x490(%rbx), %r14
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: hash_ci_char
static hash_entry_t *hash_ci_char(s7_scheme *sc, s7_pointer table, s7_pointer key)
                {
                    if (s7_is_character(key))
                    {
                        hash_entry_t *x;
                        s7_int hash_mask, loc;

                        hash_mask = hash_table_mask(table);
                        loc = hash_loc(sc, table, key) & hash_mask;

                        for (x = hash_table_element(table, loc); x; x = hash_entry_next(x))
                            if (upper_character(key) == upper_character(hash_entry_key(x)))
                                return(x);
                    }
                    return(sc->unentry);
                }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movzbl (%rdx), %eax
cmpq $0x8, %rax
jne 0x106e62
movq %rdx, %r14
movq %rsi, %r15
movq 0x8(%rsi), %r12
movq 0x20(%rsi), %rcx
movq %rbx, %rdi
callq *(%rcx,%rax,8)
andq %r12, %rax
movq 0x10(%r15), %rcx
movq (%rcx,%rax,8), %rax
testq %rax, %rax
sete %cl
je 0x106e62
movb 0x9(%r14), %dl
movq (%rax), %rsi
cmpb 0x9(%rsi), %dl
je 0x106e5e
movq 0x18(%rax), %rax
testq %rax, %rax
sete %cl
jne 0x106e48
jmp 0x106e62
testb %cl, %cl
je 0x106e69
movq 0x490(%rbx), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: hash_ci_string
static hash_entry_t *hash_ci_string(s7_scheme *sc, s7_pointer table, s7_pointer key)
                {
                    if (is_string(key))
                    {
                        hash_entry_t *x;
                        s7_int hash, hash_mask;

                        hash_mask = hash_table_mask(table);
                        hash = hash_map_ci_string(sc, table, key);

                        for (x = hash_table_element(table, hash & hash_mask); x; x = hash_entry_next(x))
                            if (scheme_strequal_ci(key, hash_entry_key(x)))
                                return(x);
                    }
                    return(sc->unentry);
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
cmpb $0x13, (%rdx)
jne 0x106f25
movq 0x8(%rsi), %rax
movq 0x8(%rdx), %rcx
testq %rcx, %rcx
je 0x106eae
movq 0x10(%rdx), %r8
movsbq (%r8), %r8
leaq 0x53d80(%rip), %r9      # 0x15ac20
movzbl (%r8,%r9), %r8d
shll $0x4, %r8d
addq %rcx, %r8
jmp 0x106eb1
xorl %r8d, %r8d
movq 0x10(%rsi), %rsi
andq %rax, %r8
movq (%rsi,%r8,8), %rax
testq %rax, %rax
sete %sil
je 0x106f25
leaq -0x1(%rcx), %r8
leaq 0x53d50(%rip), %r9      # 0x15ac20
movq (%rax), %r11
cmpq 0x8(%r11), %rcx
jne 0x106f10
testq %rcx, %rcx
jle 0x106f1f
movq 0x10(%rdx), %r10
movq 0x10(%r11), %r11
xorl %ebx, %ebx
movzbl (%r10,%rbx), %r14d
movb (%r14,%r9), %bpl
movzbl (%r11,%rbx), %r14d
movb (%r14,%r9), %r14b
cmpb %r14b, %bpl
jne 0x106f0b
leaq 0x1(%rbx), %r15
cmpq %rbx, %r8
movq %r15, %rbx
jne 0x106ee8
cmpb %r14b, %bpl
je 0x106f1f
movq 0x18(%rax), %rax
testq %rax, %rax
sete %sil
jne 0x106ed0
jmp 0x106f25
testb $0x1, %sil
je 0x106f2c
movq 0x490(%rdi), %rax
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: s7_lambda
static s7_pointer s7_lambda(s7_scheme *sc, s7_function f, s7_int required_args, s7_int optional_args, bool rest_arg)
                {
                    /* same as s7_make_function but the new function is not global and permanent; it can be GC'd */
                    s7_pointer fnc;
                    block_t *block;
                    new_cell(sc, fnc, T_PAIR);  /* just a place-holder */
                    block = mallocate(sc, sizeof(c_proc_t));
                    fnc = make_function(sc, "#<unnamed-c-function>", f, required_args, optional_args, rest_arg, NULL, fnc, (c_proc_t *)block_data(block));
                    c_function_block(fnc) = block;
                    add_lambda(sc, fnc);
                    return(fnc);
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %ebp
movq %rcx, %r8
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r14
movq 0x90(%rdi), %rax
cmpq 0x98(%rdi), %rax
ja 0x106f6b
movq %r14, %rdi
movq %r8, %rbx
callq 0xb389
movq %rbx, %r8
movq 0x90(%r14), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%r14)
movq -0x8(%rax), %rbx
movq $0x1, (%rbx)
movq 0x870(%r14), %r15
testq %r15, %r15
je 0x106fa4
movq 0x18(%r15), %rax
movq %rax, 0x870(%r14)
jmp 0x107066
cmpq $0x0, 0x838(%r14)
jne 0x106ff0
movq %r8, %r15
movl $0x2800, %edi           # imm = 0x2800
callq 0x9480
movq %rax, 0x838(%r14)
addq $0x28, %rax
movl $0xff, %ecx
movq %rax, -0x10(%rax)
movl $0x0, -0x20(%rax)
addq $0x28, %rax
decl %ecx
jne 0x106fcb
movq $0x0, -0x10(%rax)
movl $0x0, -0x20(%rax)
movq %r15, %r8
movq 0x838(%r14), %r15
movq 0x18(%r15), %rax
movq %rax, 0x838(%r14)
movl $0x0, 0x8(%r15)
movq 0x8c8(%r14), %rax
subq $-0x80, %rax
cmpq $0x10001, %rax          # imm = 0x10001
jb 0x107046
movl $0x10000, %edi          # imm = 0x10000
movq %r8, (%rsp)
callq 0x9480
movq (%rsp), %r8
movq %rax, 0x8d0(%r14)
movq $0x0, 0x8c8(%r14)
movl $0x80, %eax
movq 0x8d0(%r14), %rcx
addq 0x8c8(%r14), %rcx
movq %rax, 0x8c8(%r14)
movq %rcx, (%r15)
movl $0x7, 0x8(%r15)
movq $0x68, 0x10(%r15)
subq $0x8, %rsp
movzbl %bpl, %r9d
leaq 0x1c9cf(%rip), %rsi     # 0x123a4c
movq %r14, %rdi
movq %r13, %rdx
movq %r12, %rcx
pushq (%r15)
pushq %rbx
pushq $0x0
callq 0x4048e
addq $0x20, %rsp
movq 0x8(%rbx), %rax
movq %r15, 0x18(%rax)
movq 0x788(%r14), %r14
movq 0x8(%r14), %rsi
cmpq %rsi, 0x10(%r14)
jne 0x1070c5
leaq (%rsi,%rsi), %rax
movq %rax, 0x8(%r14)
movq (%r14), %rdi
shlq $0x4, %rsi
callq 0x9510
movq %rax, (%r14)
movq (%r14), %rax
movq 0x10(%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x10(%r14)
movq %rbx, (%rax,%rcx,8)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: s7_bool_optimize
static s7_function s7_bool_optimize(s7_scheme *sc, s7_pointer expr)
                {
#if WITH_GMP
                    return(NULL);
#endif
                    if (setjmp(sc->opt_exit) == 0)
                    {
                        sc->pc = 0;
                        reset_opts(sc);
                        if (bool_optimize(sc, expr))
                            return(opt_bool_any);
                    }
                    return(NULL);
                }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
addq $0x2190, %rdi           # imm = 0x2190
callq 0x9350
testl %eax, %eax
jne 0x107127
movl $0x0, 0x2258(%r14)
movq %r14, %rdi
movq %rbx, %rsi
callq 0xb0a63
testb %al, %al
je 0x107127
leaq 0xc(%rip), %rax         # 0x107131
jmp 0x107129
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: memv_number
static s7_pointer memv_number(s7_scheme *sc, s7_pointer obj, s7_pointer x)
                {
                    s7_pointer y;
                    y = x;
                    while (true)
                    {
                        LOOP_4(if ((s7_is_number(car(x))) && (numbers_are_eqv(obj, car(x)))) return(x); x = cdr(x); if (!is_pair(x)) return(sc->F));
                        y = cdr(y);
                        if (x == y) return(sc->F);
                    }
                    return(sc->F);
                }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
leaq 0x4b800(%rip), %r12     # 0x152970
movq %rdx, %r13
movq 0x8(%rbx), %rsi
movzbl (%rsi), %eax
cmpb $0x1, (%rax,%r12)
jne 0x107191
movq %r15, %rdi
callq 0x42c92
testb %al, %al
jne 0x107217
movq 0x10(%rbx), %rbx
cmpb $0x1, (%rbx)
jne 0x107210
movq 0x8(%rbx), %rsi
movzbl (%rsi), %eax
cmpb $0x1, (%rax,%r12)
jne 0x1071b4
movq %r15, %rdi
callq 0x42c92
testb %al, %al
jne 0x107217
movq 0x10(%rbx), %rbx
cmpb $0x1, (%rbx)
jne 0x107210
movq 0x8(%rbx), %rsi
movzbl (%rsi), %eax
cmpb $0x1, (%rax,%r12)
jne 0x1071d7
movq %r15, %rdi
callq 0x42c92
testb %al, %al
jne 0x107217
movq 0x10(%rbx), %rbx
cmpb $0x1, (%rbx)
jne 0x107210
movq 0x8(%rbx), %rsi
movzbl (%rsi), %eax
cmpb $0x1, (%rax,%r12)
jne 0x1071fa
movq %r15, %rdi
callq 0x42c92
testb %al, %al
jne 0x107217
movq 0x10(%rbx), %rbx
cmpb $0x1, (%rbx)
jne 0x107210
movq 0x10(%r13), %r13
cmpq %r13, %rbx
jne 0x107173
movq 0x120(%r14), %rbx
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: vector_sort_lt
static int32_t vector_sort_lt(const void *v1, const void *v2, void *arg) /* for qsort_r */
                {
                    s7_pointer s1, s2;
                    s1 = (*(s7_pointer *)v1);
                    s2 = (*(s7_pointer *)v2);
                    if ((is_t_integer(s1)) && (is_t_integer(s2)))
                        return((integer(s1) < integer(s2)) ? -1 : 1);
                    return((lt_b_7pp((s7_scheme *)arg, s1, s2)) ? -1 : 1);
                }

// Assembly:
movq %rdx, %rax
movq %rsi, %rcx
movq (%rdi), %rsi
movq (%rcx), %rdx
cmpb $0xb, (%rsi)
jne 0x107247
cmpb $0xb, (%rdx)
jne 0x107247
movq 0x8(%rsi), %rax
cmpq 0x8(%rdx), %rax
setl %al
jmp 0x107254
pushq %rax
movq %rax, %rdi
callq 0x8ffe4
addq $0x8, %rsp
movzbl %al, %eax
negl %eax
orl $0x1, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: vector_car_sort
static int32_t vector_car_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)) ? car(a) : g_car(sc, set_plist_1(sc, a));
                    b = (is_pair(b)) ? car(b) : g_car(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 0x107296
movq 0x8(%rax), %r14
jmp 0x1072cf
movq 0x700(%rbx), %rcx
movq %rax, 0x8(%rcx)
movq 0x700(%rbx), %rcx
movq 0x8(%rcx), %rsi
cmpb $0x1, (%rsi)
jne 0x1072b7
movq 0x8(%rsi), %r14
jmp 0x1072cf
movq 0xd20(%rbx), %rdx
movq %rbx, %rdi
movl $0x1, %r8d
callq 0x9b739
movq %rax, %r14
cmpb $0x1, (%r15)
jne 0x1072db
movq 0x8(%r15), %rdx
jmp 0x107314
movq 0x700(%rbx), %rax
movq %r15, 0x8(%rax)
movq 0x700(%rbx), %rcx
movq 0x8(%rcx), %rsi
cmpb $0x1, (%rsi)
jne 0x1072fc
movq 0x8(%rsi), %rdx
jmp 0x107314
movq 0xd20(%rbx), %rdx
movq %rbx, %rdi
movl $0x1, %r8d
callq 0x9b739
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_O1/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 0x107347
movq 0x10(%rax), %r14
jmp 0x107380
movq 0x700(%rbx), %rcx
movq %rax, 0x8(%rcx)
movq 0x700(%rbx), %rcx
movq 0x8(%rcx), %rsi
cmpb $0x1, (%rsi)
jne 0x107368
movq 0x10(%rsi), %r14
jmp 0x107380
movq 0xda0(%rbx), %rdx
movq %rbx, %rdi
movl $0x1, %r8d
callq 0x9b739
movq %rax, %r14
cmpb $0x1, (%r15)
jne 0x10738c
movq 0x10(%r15), %rdx
jmp 0x1073c5
movq 0x700(%rbx), %rax
movq %r15, 0x8(%rax)
movq 0x700(%rbx), %rcx
movq 0x8(%rcx), %rsi
cmpb $0x1, (%rsi)
jne 0x1073ad
movq 0x10(%rsi), %rdx
jmp 0x1073c5
movq 0xda0(%rbx), %rdx
movq %rbx, %rdi
movl $0x1, %r8d
callq 0x9b739
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_O1/BernardTatin[P]s7sh/s7.c
// Function: opt_bool_sort_p
static int32_t opt_bool_sort_p(const void *v1, const void *v2, void *arg)
                {
                    s7_scheme *sc = (s7_scheme *)arg;
                    slot_set_value(sc->sort_v1, (*(s7_pointer *)v1));
                    slot_set_value(sc->sort_v2, (*(s7_pointer *)v2));
                    sc->pc = 0;
                    return((sc->opts[0]->v[7].fp(sc->opts[0]) == sc->F) ? 1 : -1);
                }

// Assembly:
pushq %rbx
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 $0x0, 0x2258(%rdx)
movq 0x2260(%rdx), %rdi
callq *0x38(%rdi)
xorl %ecx, %ecx
cmpq 0x120(%rbx), %rax
sete %cl
leal -0x1(,%rcx,2), %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: opt_bool_sort
static int32_t opt_bool_sort(const void *v1, const void *v2, void *arg)
                {
                    s7_scheme *sc = (s7_scheme *)arg;
                    slot_set_value(sc->sort_v1, (*(s7_pointer *)v1)); /* first slot in curlet */
                    slot_set_value(sc->sort_v2, (*(s7_pointer *)v2)); /* second slot in curlet */
                    sc->pc = 0;                                       /* always opt_bool_call here, so insert it */
                    return((sc->sort_fb(sc->sort_o)) ? -1 : 1);
                }

// Assembly:
pushq %rax
movq (%rdi), %rax
movq 0xab8(%rdx), %rcx
movq %rax, 0x10(%rcx)
movq (%rsi), %rax
movq 0xac0(%rdx), %rcx
movq %rax, 0x10(%rcx)
movl $0x0, 0x2258(%rdx)
movq 0xae0(%rdx), %rdi
callq *0xae8(%rdx)
movzbl %al, %eax
negl %eax
orl $0x1, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: opt_begin_bool_sort_b2
static int32_t opt_begin_bool_sort_b2(const void *v1, const void *v2, void *arg)
                {
                    s7_scheme *sc = (s7_scheme *)arg;
                    opt_info *o;
                    slot_set_value(sc->sort_v1, (*(s7_pointer *)v1));
                    slot_set_value(sc->sort_v2, (*(s7_pointer *)v2));
                    sc->pc = 0;
                    o = sc->opts[0];
                    o->v[0].fp(o);
                    o = sc->opts[++sc->pc];
                    return((o->v[0].fb(o)) ? -1 : 1);
                }

// Assembly:
pushq %rbx
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 $0x0, 0x2258(%rdx)
movq 0x2260(%rdx), %rdi
callq *(%rdi)
movslq 0x2258(%rbx), %rax
leaq 0x1(%rax), %rcx
movl %ecx, 0x2258(%rbx)
movq 0x2268(%rbx,%rax,8), %rdi
callq *(%rdi)
movzbl %al, %eax
negl %eax
orl $0x1, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/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
cmpq $0x2, 0xad0(%rdx)
jl 0x107558
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 0x10752c
movslq 0x2258(%rbx), %rax
leaq 0x1(%rax), %rcx
movl %ecx, 0x2258(%rbx)
movq 0x2268(%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_O1/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
cmpq $0x2, 0xad0(%rdx)
jl 0x1075e9
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 0x1075bd
movslq 0x2258(%rbx), %rax
leaq 0x1(%rax), %rcx
movl %ecx, 0x2258(%rbx)
movq 0x2268(%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_O1/BernardTatin[P]s7sh/s7.c
// Function: closure_sort
static int32_t closure_sort(const void *v1, const void *v2, void *arg)
                {
                    s7_scheme *sc = (s7_scheme *)arg;
                    slot_set_value(sc->sort_v1, (*(s7_pointer *)v1));
                    slot_set_value(sc->sort_v2, (*(s7_pointer *)v2));
                    push_stack(sc, OP_EVAL_DONE, sc->sort_body, sc->code);
                    sc->code = sc->sort_body; /* this should be ok because we checked in advance that it is a safe closure (no sort! for example) */
                    eval(sc, sc->sort_op);
                    return((sc->value != sc->F) ? -1 : 1);
                }

// Assembly:
pushq %rbx
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)
movq (%rdx), %rax
movq 0x50(%rdx), %rcx
movq %rax, (%rcx)
movq 0x8(%rdx), %rax
movq 0x50(%rdx), %rcx
movq %rax, 0x8(%rcx)
movq 0xaa8(%rdx), %rax
movq 0x50(%rdx), %rcx
movq %rax, 0x10(%rcx)
movq 0x50(%rdx), %rax
movq $0x1df, 0x18(%rax)      # imm = 0x1DF
addq $0x20, 0x50(%rdx)
movq 0xaa8(%rdx), %rax
movq 0xac8(%rdx), %rsi
movq %rax, (%rdx)
movq %rdx, %rdi
callq 0x10b83
movq 0x20(%rbx), %rax
xorl %ecx, %ecx
cmpq 0x120(%rbx), %rax
sete %cl
leal -0x1(,%rcx,2), %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: closure_sort_begin
static int32_t closure_sort_begin(const void *v1, const void *v2, void *arg)
                {
                    s7_scheme *sc = (s7_scheme *)arg;
                    slot_set_value(sc->sort_v1, (*(s7_pointer *)v1));
                    slot_set_value(sc->sort_v2, (*(s7_pointer *)v2));
                    push_stack(sc, OP_EVAL_DONE, sc->sort_body, sc->code);
                    push_stack_no_args(sc, OP_BEGIN1, sc->sort_begin);
                    sc->code = sc->sort_body;
                    eval(sc, sc->sort_op);
                    return((sc->value != sc->F) ? -1 : 1);
                }

// Assembly:
pushq %rbx
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)
movq (%rdx), %rax
movq 0x50(%rdx), %rcx
movq %rax, (%rcx)
movq 0x8(%rdx), %rax
movq 0x50(%rdx), %rcx
movq %rax, 0x8(%rcx)
movq 0xaa8(%rdx), %rax
movq 0x50(%rdx), %rcx
movq %rax, 0x10(%rcx)
movq 0x50(%rdx), %rax
movq $0x1df, 0x18(%rax)      # imm = 0x1DF
movq 0x50(%rdx), %rax
leaq 0x20(%rax), %rcx
movq %rcx, 0x50(%rdx)
movq 0xab0(%rdx), %rcx
movq %rcx, 0x20(%rax)
movq 0x8(%rdx), %rax
movq 0x50(%rdx), %rcx
movq %rax, 0x8(%rcx)
movq 0x50(%rdx), %rax
movq $0x1a1, 0x18(%rax)      # imm = 0x1A1
addq $0x20, 0x50(%rdx)
movq 0xaa8(%rdx), %rax
movq 0xac8(%rdx), %rsi
movq %rax, (%rdx)
movq %rdx, %rdi
callq 0x10b83
movq 0x20(%rbx), %rax
xorl %ecx, %ecx
cmpq 0x120(%rbx), %rax
sete %cl
leal -0x1(,%rcx,2), %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: int_greater_2
static int32_t int_less_2(const void *f1, const void *f2)
                {
                    s7_pointer p1, p2;
                    p1 = (*((s7_pointer *)f1));
                    p2 = (*((s7_pointer *)f2));
                    if (integer(p1) < integer(p2)) return(-1);
                    if (integer(p1) > integer(p2)) return(1);
                    return(0);
                }

// Assembly:
movq (%rdi), %rax
movq (%rsi), %rcx
movq 0x8(%rax), %rax
movq 0x8(%rcx), %rcx
xorl %edx, %edx
cmpq %rcx, %rax
setg %dl
negl %edx
cmpq %rcx, %rax
movl $0x1, %eax
cmovgel %edx, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: dbl_greater_2
static int32_t dbl_less_2(const void *f1, const void *f2)
                {
                    s7_pointer p1, p2;
                    p1 = (*((s7_pointer *)f1));
                    p2 = (*((s7_pointer *)f2));
                    if (real(p1) < real(p2)) return(-1);
                    if (real(p1) > real(p2)) return(1);
                    return(0);
                }

// Assembly:
movq (%rdi), %rax
movq (%rsi), %rcx
movsd 0x8(%rax), %xmm0
movsd 0x8(%rcx), %xmm1
xorl %ecx, %ecx
ucomisd %xmm1, %xmm0
seta %cl
negl %ecx
ucomisd %xmm0, %xmm1
movl $0x1, %eax
cmovbel %ecx, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x107e11
leaq 0xa00e(%rip), %rax      # 0x111e10
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movq 0x8(%rsi), %rax
jmp 0x107e64
cmpl $0x2, %eax
je 0x107e62
cmpl $0x1, %eax
jne 0x107e49
callq 0x3c299
movq %rax, %rcx
xorl %eax, %eax
cmpq $0x1, %rcx
sbbq %rax, %rax
orq %rcx, %rax
jmp 0x107e64
callq 0x9fdea
movq %rax, %rcx
movb (%rax), %dl
cmpb $0xb, %dl
jne 0x107e44
movq 0x8(%rcx), %rax
cmpb $0xb, %dl
je 0x107e64
movq $-0x1, %rax
jmp 0x107e64
movq 0x28(%rsi), %rax
movq 0x18(%rax), %rax
jmp 0x107e64
popq %rax
jmp 0xa0d83
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x10900d
cmpq %rsi, 0x118(%rdi)
je 0x10900d
cmpq %rsi, 0x1120(%rdi)
je 0x10900e
xorl %eax, %eax
retq
cmpq %rdx, 0x10d0(%rdi)
je 0x10900d
cmpq %rdx, 0x1180(%rdi)
je 0x10900d
cmpq %rdx, 0x1038(%rdi)
je 0x10900d
cmpq %rdx, 0x1178(%rdi)
sete %al
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x1090c7
movq 0x8(%r15), %r14
cmpb $0x1d, (%r14)
je 0x109076
movq %rbx, %rdi
movq %r14, %rsi
callq 0xbec2
movq %rax, %r14
movq 0x4f0(%rbx), %r12
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x109095
movq %rbx, %rdi
callq 0xb389
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
jmp 0x109058
movq 0x110(%rbx), %rsi
movq %rsi, 0x508(%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xa000b
// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: closure_or_f
static s7_pointer closure_or_f(s7_scheme *sc, s7_pointer p)
                {
                    s7_pointer body;
                    if (!is_closure(p)) return(p);
                    body = closure_body(p);
                    if (is_pair(cdr(body))) return(p);
                    if (!is_pair(car(body))) return(sc->F);
                    if (caar(body) == sc->quote_symbol) return(sc->F);
                    return(p);
                }

// Assembly:
movq %rsi, %rax
cmpb $0x28, (%rsi)
jne 0x109153
movq 0x10(%rax), %rcx
movq 0x10(%rcx), %rdx
cmpb $0x1, (%rdx)
je 0x109153
movq 0x8(%rcx), %rcx
cmpb $0x1, (%rcx)
jne 0x109154
movq 0x8(%rcx), %rcx
cmpq 0x17b0(%rdi), %rcx
je 0x109154
retq
movq 0x120(%rdi), %rax
retq
// File: /workspace/github_c_makefile_star2_O1/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 0xef9d1
movq %rax, %r14
movq 0x18(%r15), %r12
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x1091a0
movq %rbx, %rdi
callq 0xb389
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 0xf167f
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %rax, %rcx
callq 0xb169
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_O1/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 0x10926a
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
cmpb $0x1, (%rdx)
jne 0x109271
movq %rdi, %r12
movq 0x8(%r14), %rcx
cmpq 0x17b0(%rdi), %rcx
je 0x109271
movq %r8, %rbx
movq %rsi, %r15
movq 0x8(%r14), %rdx
movq %r12, %rdi
movq %r15, %rsi
movq %rax, %rcx
movq %rbx, %r8
callq 0x109211
cmpq %rbx, %rax
jge 0x109271
movq 0x10(%r14), %r14
cmpq %r15, %r14
je 0x10926e
cmpb $0x1, (%r14)
je 0x10923f
jmp 0x109271
incq %rax
retq
incq %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq