// File: /workspace/github_cpp_makefile_star2_O3/llefranc[P]42_webserv/srcs/parser/LocationObj.cpp
// Function: Location::printLocation(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
void Location::printLocation(const std::string& locName) const
{
	std::cout << "\nLOCATION\n-------------------------\n"
			<< "name = |" << locName << "|\n"
			<< "root = |" << _root << "|\n";
	
	if (_cgi_exe.size())
		for (std::map<std::string, std::string>::const_iterator it = _cgi_exe.begin(); it != _cgi_exe.end(); it++)
			std::cout << "cgi_exe size = 2  and .ext and exe =  |" << it->first << "| |" << it->second << "|\n";
	else
		std::cout << "cgi_exe size = " << _cgi_exe.size() << "\n";
	
	for (std::vector<std::string>::const_iterator it = _allow_methd.begin(); it != _allow_methd.end(); ++it)
		std::cout << "method = |" << *it << "|\n";

	for (std::vector<std::string>::const_iterator it = _index.begin(); it != _index.end(); ++it)
		std::cout << "index = |" << *it << "|\n";
	
	std::cout << "-------------------------\n\n";
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x139cd(%rip), %r15     # 0x1cfc8
leaq 0xbd18(%rip), %rsi      # 0x1531a
movl $0x24, %edx
movq %r15, %rdi
callq 0x4460
leaq 0xbd29(%rip), %rsi      # 0x1533f
movl $0x8, %edx
movq %r15, %rdi
callq 0x4460
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r15, %rdi
callq 0x4460
movq %rax, %r15
leaq 0xbd0c(%rip), %r14      # 0x15348
movl $0x2, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x4460
leaq 0xbcf8(%rip), %rsi      # 0x1534b
movl $0x8, %edx
movq %r15, %rdi
callq 0x4460
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
movq %r15, %rdi
callq 0x4460
movl $0x2, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x4460
cmpq $0x0, 0xc0(%rbx)
je 0x971d
movq 0xb0(%rbx), %r14
leaq 0xa0(%rbx), %r12
cmpq %r12, %r14
je 0x975b
movq 0x1391c(%rip), %r15     # 0x1cfc8
movl $0x27, %edx
movq %r15, %rdi
leaq 0xbc99(%rip), %rsi      # 0x15354
callq 0x4460
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
movq %r15, %rdi
callq 0x4460
movq %rax, %r13
movl $0x3, %edx
movq %rax, %rdi
leaq 0xbc9a(%rip), %rsi      # 0x1537c
callq 0x4460
movq 0x40(%r14), %rsi
movq 0x48(%r14), %rdx
movq %r13, %rdi
callq 0x4460
movl $0x2, %edx
movq %rax, %rdi
leaq 0xbc42(%rip), %rsi      # 0x15348
callq 0x4460
movq %r14, %rdi
callq 0x4470
movq %rax, %r14
cmpq %r12, %rax
jne 0x96ac
jmp 0x975b
movq 0x138a4(%rip), %r14     # 0x1cfc8
leaq 0xbc55(%rip), %rsi      # 0x15380
movl $0xf, %edx
movq %r14, %rdi
callq 0x4460
movq 0xc0(%rbx), %rsi
movq %r14, %rdi
callq 0x4290
leaq 0xbc71(%rip), %rsi      # 0x153bf
movl $0x1, %edx
movq %rax, %rdi
callq 0x4460
movq 0x68(%rbx), %r13
cmpq 0x70(%rbx), %r13
je 0x97b4
movq 0x1385c(%rip), %r14     # 0x1cfc8
leaq 0xbc1d(%rip), %r15      # 0x15390
leaq 0xbbce(%rip), %r12      # 0x15348
movl $0xa, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x4460
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %r14, %rdi
callq 0x4460
movl $0x2, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x4460
addq $0x20, %r13
cmpq 0x70(%rbx), %r13
jne 0x977a
movq 0x80(%rbx), %r13
cmpq 0x88(%rbx), %r13
je 0x9816
movq 0x137fd(%rip), %r14     # 0x1cfc8
leaq 0xbbc9(%rip), %r15      # 0x1539b
leaq 0xbb6f(%rip), %r12      # 0x15348
movl $0x9, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x4460
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %r14, %rdi
callq 0x4460
movl $0x2, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x4460
addq $0x20, %r13
cmpq 0x88(%rbx), %r13
jne 0x97d9
movq 0x137ab(%rip), %rdi     # 0x1cfc8
leaq 0xbb81(%rip), %rsi      # 0x153a5
movl $0x1b, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4460