// File: /workspace/github_cpp_makefile_star2_O3/andrakis[P]alisp/stdlib/file.cpp
// Function: ALisp::Stdlib::file_path(std::vector<ALisp::Cell, std::allocator<ALisp::Cell>> const&)
Cell file_path(const ListType &args) {
			RUNTIME_CHECK(args, runtime_check::has_atleast_one_argument);
			for (auto it = &detail::search_paths[0]; *it != nullptr; ++it) {
				StringType path = *it;
				StringType full = path + args[0].str();
				if (file_exists(full) == True)
					return StringCell(full);
			}
			return StringCell(args[0].str());
		}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq (%rsi), %rax
cmpq 0x8(%rsi), %rax
je 0x1c6bf
movq %rsi, %r14
movq %rdi, %r15
movq 0x12032(%rip), %rsi     # 0x2e460
testq %rsi, %rsi
je 0x1c5bb
movq %r15, 0x40(%rsp)
leaq 0x10(%rsp), %r12
leaq 0x12020(%rip), %rbx     # 0x2e468
leaq 0x48(%rsp), %r13
leaq 0x68(%rsp), %rbp
leaq 0x122f7(%rip), %r15     # 0x2e750
leaq 0x20(%rsp), %rdi
movq %rsp, %rdx
callq 0x7160
movq (%r14), %rsi
movq %r13, %rdi
callq 0xac9c
movq 0x20(%rsp), %rcx
movq 0x28(%rsp), %r8
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x73c0
movq %r12, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1c4a8
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x1c4b0
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1c4e4
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7330
leaq 0x78(%rsp), %rax
movq %rax, 0x68(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0xb0ca
movq %r13, %rdi
movq %rbp, %rsi
callq 0x1c274
movq 0x48(%rsp), %r12
testq %r12, %r12
je 0x1c52e
cmpq %r12, (%r15)
je 0x1c533
movq (%r12), %rax
movq %r12, %rdi
movq %r15, %rsi
callq *0x78(%rax)
movl %eax, %r15d
jmp 0x1c536
xorl %r15d, %r15d
jmp 0x1c540
movb $0x1, %r15b
movq (%r12), %rax
movq %r12, %rdi
callq *0x10(%rax)
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
leaq 0x10(%rsp), %r12
je 0x1c561
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7330
testb %r15b, %r15b
jne 0x1c60e
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x1c580
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x7330
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
leaq 0x121bc(%rip), %r15     # 0x2e750
je 0x1c5a3
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x7330
movq (%rbx), %rsi
addq $0x8, %rbx
testq %rsi, %rsi
jne 0x1c459
movq (%r14), %rax
movq 0x40(%rsp), %r15
leaq 0xa8(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0xac9c
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
callq 0xa8b0
movq 0x20(%rsp), %rax
movq %rax, (%r15)
movq $0x0, 0x20(%rsp)
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1c6aa
movq 0xb8(%rsp), %rsi
jmp 0x1c6a2
leaq 0x98(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x88(%rsp), %rdi
callq 0xb0ca
leaq 0x48(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0xa8b0
movq 0x40(%rsp), %r15
movq 0x48(%rsp), %rax
movq %rax, (%r15)
movq $0x0, 0x48(%rsp)
movq 0x88(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1c678
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7330
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x1c68e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x7330
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x1c6aa
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x7330
movq %r15, %rax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x28, %edi
callq 0x71b0
movq %rax, %r14
leaq 0xd8(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq 0x12331(%rip), %rsi     # 0x2ea10
movq 0x12332(%rip), %rdx     # 0x2ea18
addq %rsi, %rdx
leaq 0xc8(%rsp), %rdi
callq 0xb0ca
movb $0x1, %bpl
leaq 0xc8(%rsp), %rsi
movq %r14, %rdi
callq 0xacd6
xorl %ebp, %ebp
leaq 0x105ae(%rip), %rsi     # 0x2ccc0
leaq -0x119f9(%rip), %rdx    # 0xad20
movq %r14, %rdi
callq 0x7600
movq %rax, %r15
movq 0x88(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1c7db
movq 0x98(%rsp), %rsi
jmp 0x1c7d3
jmp 0x1c7b2
movq %rax, %r15
movq 0xc8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1c764
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x7330
testb %bpl, %bpl
jne 0x1c771
jmp 0x1c830
movq %rax, %r15
movq %r14, %rdi
callq 0x7270
jmp 0x1c830
movq %rax, %r15
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1c830
movq 0xb8(%rsp), %rsi
jmp 0x1c823
movq %rax, %r15
movq (%r12), %rax
movq %r12, %rdi
callq *0x10(%rax)
jmp 0x1c7bf
movq %rax, %r15
jmp 0x1c7db
movq %rax, %r15
jmp 0x1c80f
movq %rax, %r15
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x1c7db
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x7330
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1c80f
movq 0x10(%rsp), %rsi
jmp 0x1c807
movq %rax, %r15
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1c80f
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x7330
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x1c830
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x7330
jmp 0x1c830
movq %rax, %r15
movq %r15, %rdi
callq 0x7630