// File: /workspace/github_c_makefile_star2_O1/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 %rbp
pushq %r15
pushq %r14
pushq %r13
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)
addq $0x20, 0x50(%rdi)
cmpb $0x1, (%rsi)
jne 0x86a0b
movq %rsi, %r14
leaq 0x9e6d2(%rip), %r13     # 0x124ebb
movq 0x8(%r14), %rbp
movzbl (%rbp), %eax
cmpl $0xa, %eax
je 0x86840
cmpl $0x1, %eax
jne 0x8692a
movq 0x8(%rbp), %rax
cmpq 0x17b0(%rbx), %rax
jne 0x8692a
movq 0x10(%rbp), %rax
cmpb $0x1, (%rax)
jne 0x8692a
movq 0x10(%rax), %rax
cmpq 0x110(%rbx), %rax
jne 0x8692a
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rbp
cmpb $0xa, (%rbp)
jne 0x8692a
movq 0x8(%rbx), %rcx
movq 0x18(%rcx), %rsi
movq 0x20(%rbp), %rdx
movl $0x18, %eax
cmpq %rdx, %rsi
je 0x868a1
jle 0x86865
movq 0x10(%rcx), %rcx
movq 0x18(%rcx), %rsi
cmpq %rsi, %rdx
jl 0x86858
cmpq %rdx, %rsi
je 0x868a1
movl $0x10, %eax
cmpb $0x1c, (%rcx)
jne 0x868a1
movq 0x8(%rcx), %rdx
testq %rdx, %rdx
sete %dil
je 0x8688d
cmpq %rbp, 0x8(%rdx)
je 0x86890
movq 0x18(%rdx), %rdx
jmp 0x86878
movq %rsi, %rdx
testb %dil, %dil
je 0x868a6
movq 0x10(%rcx), %rcx
cmpb $0x1c, (%rcx)
movq %rdx, %rsi
je 0x86874
movq (%rbp,%rax), %rdx
movb $0x1, %r12b
cmpb $0x20, (%rdx)
je 0x8698d
cmpb $0x1, 0x249(%rbx)
jne 0x8698d
movq 0x90(%rbx), %rax
movq 0x110(%rbx), %r12
cmpq 0x98(%rbx), %rax
ja 0x868de
movq %rbx, %rdi
callq 0xb389
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rsi
movq $0x200001, (%rsi)       # imm = 0x200001
movq %rbp, 0x8(%rsi)
movq %r12, 0x10(%rsi)
movq %rbx, %rdi
callq 0x8646b
cmpb $0x13, (%rax)
sete %r12b
jne 0x869a6
movq 0x10(%rax), %rsi
movq 0x8(%rbx), %rdx
movq %rbx, %rdi
callq 0x375c2
jmp 0x8698d
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)
movq %r13, 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 0x3b366
xorl %r12d, %r12d
testb %r12b, %r12b
je 0x86a17
movq 0x10(%r14), %r14
cmpb $0x1, (%r14)
je 0x867e9
jmp 0x86a0b
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 0x9e506(%rip), %rcx     # 0x124ed7
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 %rbp, 0x8(%rax)
movq 0x6e0(%rbx), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3b366
jmp 0x8698d
addq $-0x20, 0x50(%rbx)
movq 0x118(%rbx), %r15
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq