// File: /workspace/github_cpp_makefile_star2_O3/0x0584[P]scmin-plus/src/repl/eval.cpp
// Function: eval_args(std::shared_ptr<sexpr> const&, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::shared_ptr<sexpr>, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::shared_ptr<sexpr>>>>&)
sexpr_t eval_args(const sexpr_t& args, env_t& parent) {
    sexpr_t walk, tail, evaled;

    if (args->isnil())
        return args;
    walk = args;
    while (not walk->isnil()) {
        if (not cons_append(eval(walk->car(), parent), evaled, tail))
            return nullptr;
        walk = walk->cdr();
    }
    return evaled;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
xorps %xmm0, %xmm0
movaps %xmm0, -0x40(%rbp)
movaps %xmm0, -0x80(%rbp)
movaps %xmm0, -0x50(%rbp)
movq (%rsi), %rdi
callq 0x4c74
movq (%rbx), %rcx
addq $0x8, %rbx
testb %al, %al
je 0xf1db
movq %rcx, (%r15)
movq (%rbx), %rax
movq %rax, 0x8(%r15)
testq %rax, %rax
je 0xf2d3
movq 0xadb6(%rip), %rcx      # 0x19f80
cmpb $0x0, (%rcx)
je 0xf2cf
incl 0x8(%rax)
jmp 0xf2d3
movq %r15, -0x68(%rbp)
leaq -0x38(%rbp), %rdi
movq %rcx, -0x8(%rdi)
movq %rbx, %rsi
callq 0x62fc
leaq -0x90(%rbp), %r15
leaq -0x60(%rbp), %r12
leaq -0x80(%rbp), %rbx
movq -0x40(%rbp), %rdi
callq 0x4c74
testb %al, %al
jne 0xf2a3
movq -0x40(%rbp), %rsi
movq %r15, %rdi
callq 0x628e
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0xf373
movq %r12, %rdi
leaq -0x50(%rbp), %rsi
movq %rbx, %rdx
callq 0x6010
movl %eax, %r13d
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0xf249
callq 0x4104
movq -0x88(%rbp), %rdi
testq %rdi, %rdi
je 0xf25a
callq 0x4104
testb %r13b, %r13b
je 0xf2c2
movq -0x40(%rbp), %rsi
movq %r12, %rdi
callq 0x61be
movaps -0x60(%rbp), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, -0x60(%rbp)
movq -0x38(%rbp), %rdi
movaps %xmm0, -0x40(%rbp)
testq %rdi, %rdi
je 0xf1fe
callq 0x4104
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0xf1fe
callq 0x4104
jmp 0xf1fe
movq -0x50(%rbp), %rax
movq -0x68(%rbp), %r15
movq %rax, (%r15)
movq -0x48(%rbp), %rax
xorl %ecx, %ecx
movq %rcx, -0x48(%rbp)
movq %rax, 0x8(%r15)
movq %rcx, -0x50(%rbp)
jmp 0xf2d3
xorps %xmm0, %xmm0
movq -0x68(%rbp), %r15
movups %xmm0, (%r15)
jmp 0xf2d3
lock
incl 0x8(%rax)
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0xf2e1
callq 0x4104
movq -0x78(%rbp), %rdi
testq %rdi, %rdi
je 0xf2ef
callq 0x4104
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0xf2fd
callq 0x4104
movq %r15, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xf33e
jmp 0xf33e
jmp 0xf33e
movq %rax, %rbx
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0xf32b
callq 0x4104
jmp 0xf32b
movq %rax, %rbx
movq -0x88(%rbp), %rdi
testq %rdi, %rdi
je 0xf341
callq 0x4104
jmp 0xf341
movq %rax, %rbx
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0xf34f
callq 0x4104
movq -0x78(%rbp), %rdi
testq %rdi, %rdi
je 0xf35d
callq 0x4104
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0xf36b
callq 0x4104
movq %rbx, %rdi
callq 0x3310