// File: /workspace/github_cpp_makefile_star2_O1/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 0x4c7c
movq (%rbx), %rcx
addq $0x8, %rbx
testb %al, %al
je 0xf745
movq %rcx, (%r15)
movq (%rbx), %rax
movq %rax, 0x8(%r15)
testq %rax, %rax
je 0xf83d
movq 0xa84c(%rip), %rcx      # 0x19f80
cmpb $0x0, (%rcx)
je 0xf839
incl 0x8(%rax)
jmp 0xf83d
movq %r15, -0x68(%rbp)
leaq -0x38(%rbp), %rdi
movq %rcx, -0x8(%rdi)
movq %rbx, %rsi
callq 0x63b8
leaq -0x90(%rbp), %r15
leaq -0x60(%rbp), %r12
leaq -0x80(%rbp), %rbx
movq -0x40(%rbp), %rdi
callq 0x4c7c
testb %al, %al
jne 0xf809
movq -0x40(%rbp), %rsi
movq %r15, %rdi
callq 0x634a
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0xf8dd
movq %r12, %rdi
leaq -0x50(%rbp), %rsi
movq %rbx, %rdx
callq 0x60c4
movl %eax, %r13d
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0xf7b3
callq 0x4114
movq -0x88(%rbp), %rdi
testq %rdi, %rdi
je 0xf7c4
callq 0x4114
testb %r13b, %r13b
je 0xf82c
movq -0x40(%rbp), %rsi
movq %r12, %rdi
callq 0x627a
movaps -0x60(%rbp), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, -0x60(%rbp)
movq -0x38(%rbp), %rdi
movaps %xmm0, -0x40(%rbp)
testq %rdi, %rdi
je 0xf7f2
callq 0x4114
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0xf768
callq 0x4114
jmp 0xf768
movq -0x50(%rbp), %rax
movq -0x68(%rbp), %r15
movq %rax, (%r15)
xorl %eax, %eax
movq %rax, 0x8(%r15)
movq -0x48(%rbp), %rcx
movq %rax, -0x48(%rbp)
movq %rcx, 0x8(%r15)
movq %rax, -0x50(%rbp)
jmp 0xf83d
xorps %xmm0, %xmm0
movq -0x68(%rbp), %r15
movups %xmm0, (%r15)
jmp 0xf83d
lock
incl 0x8(%rax)
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0xf84b
callq 0x4114
movq -0x78(%rbp), %rdi
testq %rdi, %rdi
je 0xf859
callq 0x4114
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0xf867
callq 0x4114
movq %r15, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xf8a8
jmp 0xf8a8
jmp 0xf8a8
movq %rax, %rbx
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0xf895
callq 0x4114
jmp 0xf895
movq %rax, %rbx
movq -0x88(%rbp), %rdi
testq %rdi, %rdi
je 0xf8ab
callq 0x4114
jmp 0xf8ab
movq %rax, %rbx
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0xf8b9
callq 0x4114
movq -0x78(%rbp), %rdi
testq %rdi, %rdi
je 0xf8c7
callq 0x4114
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0xf8d5
callq 0x4114
movq %rbx, %rdi
callq 0x3310