// File: /workspace/github_cpp_makefile_star2_O1/mbourand[P]webserv/srcs/Config/ConfigContext.cpp
// Function: ConfigContext::set_auth_basic_user_file_default()
void ConfigContext::set_auth_basic_user_file_default()
{
	if (_params.find("auth_basic_user_file") == _params.end())
		return;

	_params["auth_basic_user_file"].front() = ft::simplify_path(_params["auth_basic_user_file"].front());
	if (!ft::is_regular_file(_params["auth_basic_user_file"].front().c_str()))
		throw std::invalid_argument("Auth Basic User File parameter is not a regular file");
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %r14
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x10420(%rip), %rsi     # 0x3ad34
leaq 0x1042d(%rip), %rdx     # 0x3ad48
leaq 0x8(%rsp), %rdi
callq 0x80f4
leaq 0x20(%r14), %rbx
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x2d6e8
movq %rax, %r15
addq $0x28, %r14
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x2a954
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x74b0
cmpq %r14, %r15
je 0x2aaa4
leaq 0x38(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x103c7(%rip), %rsi     # 0x3ad34
leaq 0x103d4(%rip), %rdx     # 0x3ad48
leaq 0x28(%rsp), %rdi
callq 0x80f4
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x2c26c
movq (%rax), %rsi
addq $0x10, %rsi
leaq 0x8(%rsp), %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x1d582
leaq 0x58(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x10384(%rip), %rsi     # 0x3ad34
leaq 0x10391(%rip), %rdx     # 0x3ad48
leaq 0x48(%rsp), %rdi
callq 0x80f4
leaq 0x48(%rsp), %rsi
movq %rbx, %rdi
callq 0x2c26c
movq (%rax), %rdi
addq $0x10, %rdi
leaq 0x8(%rsp), %rsi
callq 0x7590
movq 0x48(%rsp), %rdi
cmpq %r15, %rdi
je 0x2a9f6
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x74b0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x2aa0d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x74b0
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x2aa24
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x74b0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x10301(%rip), %rsi     # 0x3ad34
leaq 0x1030e(%rip), %rdx     # 0x3ad48
callq 0x80f4
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x2c26c
movq (%rax), %rax
movq 0x10(%rax), %rsi
leaq 0x68(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0xde9a
leaq 0x68(%rsp), %rdi
callq 0x1d23f
movl %eax, %ebx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2aa89
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x74b0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x2aaa0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x74b0
testb %bl, %bl
je 0x2aab3
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movl $0x10, %edi
callq 0x7260
movq %rax, %r14
leaq 0x123e3(%rip), %rsi     # 0x3ceaa
movq %rax, %rdi
callq 0x78c0
movq 0x234f2(%rip), %rsi     # 0x4dfc8
movq 0x234d3(%rip), %rdx     # 0x4dfb0
movq %r14, %rdi
callq 0x77d0
movq %rax, %rbx
movq %r14, %rdi
callq 0x7390
jmp 0x2ab88
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2ab58
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x74b0
jmp 0x2ab58
jmp 0x2ab55
jmp 0x2ab55
jmp 0x2ab69
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r15, %rdi
je 0x2ab3a
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x74b0
jmp 0x2ab3a
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x2ab71
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x74b0
jmp 0x2ab71
jmp 0x2ab69
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x2ab88
movq 0x18(%rsp), %rsi
jmp 0x2ab80
movq %rax, %rbx
jmp 0x2ab88
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x2ab88
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x74b0
movq %rbx, %rdi
callq 0x7810