// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_require
static s7_pointer g_require(s7_scheme *sc, s7_pointer args)
    {
#define H_require "(require symbol . symbols) loads each file associated with each symbol if it has not been loaded already.\
        The symbols refer to the argument to \"provide\".  (require lint.scm)"
        /* #define Q_require s7_make_circular_signature(sc, 1, 2, sc->T, sc->is_symbol_symbol) */

        s7_pointer p;
        push_stack_no_let_no_code(sc, OP_GC_PROTECT, args);
        for (p = args; is_pair(p); p = cdr(p))
        {
            s7_pointer sym;
            if (is_symbol(car(p)))
                sym = car(p);
            else
            {
                if ((is_proper_quote(sc, car(p))) &&
                        (is_symbol(cadar(p))))
                    sym = cadar(p);
                else return(s7_error(sc, sc->wrong_type_arg_symbol, set_elist_2(sc, wrap_string(sc, "require: ~S is not a symbol", 27), car(p))));
            }

            if ((!is_slot(symbol_to_slot(sc, sym))) &&
                    (sc->is_autoloading))
            {
                s7_pointer f;
                f = g_autoloader(sc, list_1(sc, sym));
                if (is_string(f))
                    s7_load_with_environment(sc, string_value(f), sc->envir);
                else return(s7_error(sc, sc->autoload_error_symbol, set_elist_2(sc, wrap_string(sc, "require: no autoload info for ~S", 32), sym)));
            }
        }
        unstack(sc);
        return(sc->T);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x50(%rdi), %rax
movq %rsi, 0x10(%rax)
movq 0x50(%rdi), %rax
movq $0x1, 0x18(%rax)
movq 0x50(%rdi), %rax
addq $0x20, %rax
movq %rax, 0x50(%rdi)
cmpb $0x1, (%rsi)
jne 0x8056a
movq %rsi, %r14
movq 0x8(%r14), %r12
movzbl (%r12), %eax
cmpl $0xa, %eax
je 0x80417
cmpl $0x1, %eax
jne 0x804fd
movq 0x8(%r12), %rax
cmpq 0x17b0(%rbx), %rax
jne 0x804fd
movq 0x10(%r12), %rax
cmpb $0x1, (%rax)
jne 0x804fd
movq 0x10(%rax), %rcx
cmpq 0x110(%rbx), %rcx
jne 0x804fd
movq 0x8(%rax), %r12
cmpb $0xa, (%r12)
jne 0x804fd
movq 0x8(%rbx), %rcx
movq 0x18(%rcx), %rsi
movq 0x20(%r12), %rdx
movl $0x18, %eax
cmpq %rdx, %rsi
je 0x80446
jle 0x8043d
movq 0x10(%rcx), %rcx
movq 0x18(%rcx), %rsi
cmpq %rsi, %rdx
jl 0x80430
cmpq %rdx, %rsi
jne 0x804d0
movq (%r12,%rax), %rdx
cmpb $0x20, (%rdx)
je 0x804bd
cmpb $0x1, 0x249(%rbx)
jne 0x804bd
movq 0x90(%rbx), %rax
movq 0x110(%rbx), %r15
cmpq 0x98(%rbx), %rax
ja 0x8047e
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rsi
movq $0x200001, (%rsi)       # imm = 0x200001
movq %r12, 0x8(%rsi)
movq %r15, 0x10(%rsi)
movq %rbx, %rdi
callq 0x8004e
cmpb $0x13, (%rax)
jne 0x80588
movq 0x10(%rax), %rsi
movq 0x8(%rbx), %rdx
movq %rbx, %rdi
callq 0x3527e
movq 0x10(%r14), %r14
cmpb $0x1, (%r14)
je 0x803c0
jmp 0x80566
movl $0x10, %eax
cmpb $0x1c, (%rcx)
jne 0x80446
movq 0x8(%rcx), %rdx
testq %rdx, %rdx
je 0x804f7
cmpq %r12, 0x8(%rdx)
je 0x8044a
movq 0x18(%rdx), %rdx
jmp 0x804e2
movq 0x10(%rcx), %rcx
jmp 0x804d5
movq 0x1940(%rbx), %r15
movq 0x820(%rbx), %rax
movslq 0x7dc(%rbx), %rcx
movq (%rax,%rcx,8), %rax
incl %ecx
andl $0x7, %ecx
movl %ecx, 0x7dc(%rbx)
leaq 0x9baa3(%rip), %rcx     # 0x11bfcb
movq %rcx, 0x10(%rax)
movq $0x1b, 0x8(%rax)
movq 0x8(%r14), %rcx
movq 0x6e0(%rbx), %rdx
movq %rax, 0x8(%rdx)
movq 0x6e0(%rbx), %rax
movq 0x10(%rax), %rax
movq %rcx, 0x8(%rax)
movq 0x6e0(%rbx), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x38dfa
jmp 0x80579
movq 0x50(%rbx), %rax
addq $-0x20, %rax
movq %rax, 0x50(%rbx)
movq 0x118(%rbx), %r15
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x17f0(%rbx), %r15
movq 0x820(%rbx), %rax
movslq 0x7dc(%rbx), %rcx
movq (%rax,%rcx,8), %rax
incl %ecx
andl $0x7, %ecx
movl %ecx, 0x7dc(%rbx)
leaq 0x9ba34(%rip), %rcx     # 0x11bfe7
movq %rcx, 0x10(%rax)
movq $0x20, 0x8(%rax)
movq 0x6e0(%rbx), %rcx
movq %rax, 0x8(%rcx)
movq 0x6e0(%rbx), %rax
movq 0x10(%rax), %rax
movq %r12, 0x8(%rax)
jmp 0x80552