// File: /workspace/github_cpp_makefile_star2_O2/solaldunckel[P]webserv/srcs/Config/RequestConfig.cpp
// Function: RequestConfig::log[abi:cxx11](LogLevel)
std::string RequestConfig::log(LogLevel level) {
  std::string ret;

  ret = ret + "[method: " + getMethod() + "]";
  ret = ret + " [target: " + getRequestTarget() + "]";
  ret = ret + " [server: " + ft::to_string(server_->id_) + "]";
  ret = ret + " [location: " + getUri() + "]";
  if (level > INFO) {
    for (std::map<std::string, std::string>::iterator it = getHeaders().begin(); it != getHeaders().end(); it++)
      ret = ret + "\n" + it->first + ": " + it->second;
  }
  return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0x1348f(%rip), %rdx     # 0x1c337
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x60d3
movq %r14, (%rsp)
movq (%r14), %rdx
addq $0x20, %rdx
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x5273
leaq 0x1346b(%rip), %rdx     # 0x1c341
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x5292
leaq 0x48(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4560
movq %r14, %rdi
callq 0x4898
leaq 0x28(%rsp), %rdi
callq 0x4898
leaq 0x8(%rsp), %rdi
callq 0x4898
leaq 0x137ee(%rip), %rdx     # 0x1c706
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x60d3
movq (%rsp), %rax
movq (%rax), %rdx
addq $0x40, %rdx
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x5273
leaq 0x133fb(%rip), %rdx     # 0x1c341
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x5292
leaq 0x48(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4560
movq %r14, %rdi
callq 0x4898
leaq 0x28(%rsp), %rdi
callq 0x4898
leaq 0x8(%rsp), %rdi
callq 0x4898
leaq 0x133bb(%rip), %rdx     # 0x1c343
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x60d3
movq (%rsp), %rax
movq 0x20(%rax), %rax
movl (%rax), %esi
leaq 0x68(%rsp), %rdi
callq 0x6118
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x68(%rsp), %rdx
callq 0x61d5
leaq 0x1337d(%rip), %rdx     # 0x1c341
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x5292
leaq 0x48(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4560
movq %r14, %rdi
callq 0x4898
leaq 0x28(%rsp), %rdi
callq 0x4898
leaq 0x68(%rsp), %rdi
callq 0x4898
leaq 0x8(%rsp), %rdi
callq 0x4898
leaq 0x1333e(%rip), %rdx     # 0x1c34e
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x60d3
movq (%rsp), %rax
movq 0x28(%rax), %rdx
addq $0x50, %rdx
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x5273
leaq 0x13302(%rip), %rdx     # 0x1c341
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x5292
leaq 0x48(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4560
movq %r14, %rdi
callq 0x4898
leaq 0x28(%rsp), %rdi
callq 0x4898
leaq 0x8(%rsp), %rdi
callq 0x4898
cmpl $0x2, %ebp
jl 0x9138
movq (%rsp), %rax
movq (%rax), %rax
movq 0xd8(%rax), %rbp
leaq 0x68(%rsp), %r12
leaq 0x8(%rsp), %r13
leaq 0x28(%rsp), %r15
leaq 0x48(%rsp), %r14
addq $0xc8, %rax
cmpq %rax, %rbp
je 0x9138
movq %r12, %rdi
movq %rbx, %rsi
leaq 0x13136(%rip), %rdx     # 0x1c1f7
callq 0x60d3
leaq 0x20(%rbp), %rdx
movq %r13, %rdi
movq %r12, %rsi
callq 0x5273
movq %r15, %rdi
movq %r13, %rsi
leaq 0x1391e(%rip), %rdx     # 0x1ca00
callq 0x5292
leaq 0x40(%rbp), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x5273
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4560
movq %r14, %rdi
callq 0x4898
movq %r15, %rdi
callq 0x4898
movq %r13, %rdi
callq 0x4898
movq %r12, %rdi
callq 0x4898
movq %rbp, %rdi
callq 0x42e0
movq %rax, %rbp
movq (%rsp), %rax
movq (%rax), %rax
jmp 0x90a5
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x9176
jmp 0x9185
jmp 0x9191
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x4898
jmp 0x9165
movq %rax, %r14
leaq 0x68(%rsp), %rdi
jmp 0x917e
jmp 0x9185
jmp 0x9191
jmp 0x9176
jmp 0x9185
jmp 0x9191
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x4898
jmp 0x9188
movq %rax, %r14
leaq 0x8(%rsp), %rdi
jmp 0x91bc
jmp 0x9191
movq %rax, %r14
jmp 0x91c1
movq %rax, %r14
jmp 0x91b7
movq %rax, %r14
jmp 0x91ad
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x4898
leaq 0x8(%rsp), %rdi
callq 0x4898
leaq 0x68(%rsp), %rdi
callq 0x4898
movq %rbx, %rdi
callq 0x4898
movq %r14, %rdi
callq 0x4750