// File: /workspace/github_cpp_makefile_star2_O3/lotuskip[P]yuxtapa/server/settings.cpp
// Function: (anonymous namespace)::check_path_setting(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, bool)
bool check_path_setting(const string &name, string &val, const bool x)
{
	if(x)
	{
		if(access(val.c_str(), X_OK) == -1)
		{
			to_log("Config error: the \'" + name + "\' setting does not "
				"point to a valid executable file: \"" + val + "\".");
			val.clear();
			return true;
		}
		return false;
	}
	struct stat buf;
	if(stat(val.c_str(), &buf) || !(S_ISDIR(buf.st_mode)))
	{
		to_log("Config error: the \'" + name + "\' setting does not "
			"point to a valid directory: \"" + val + "\".");
		val.clear();
		return true;
	}
	return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x110, %rsp            # imm = 0x110
movq %rsi, %rbx
movq %rdi, %r14
testl %edx, %edx
je 0x10f3d
movq (%rbx), %rdi
movl $0x1, %esi
callq 0x46f0
cmpl $-0x1, %eax
jne 0x10f62
leaq 0x1b782(%rip), %rsi     # 0x2c676
leaq -0x80(%rbp), %r15
movq %r15, %rdi
movq %r14, %rdx
callq 0x11c74
leaq 0x1b780(%rip), %rsi     # 0x2c68a
movq %r15, %rdi
callq 0x47b0
leaq -0x30(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x110e1
movq %rdx, -0x40(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x30(%rbp)
jmp 0x110e8
movq (%rbx), %rdi
leaq -0x130(%rbp), %rsi
callq 0x4390
testl %eax, %eax
jne 0x10f69
movl $0xf000, %eax           # imm = 0xF000
andl -0x118(%rbp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0x10f69
xorl %eax, %eax
jmp 0x11228
leaq 0x1b706(%rip), %rsi     # 0x2c676
leaq -0xa0(%rbp), %r15
movq %r15, %rdi
movq %r14, %rdx
callq 0x11c74
leaq 0x1b73b(%rip), %rsi     # 0x2c6c4
movq %r15, %rdi
callq 0x47b0
leaq -0x70(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x10fb5
movq %rdx, -0x80(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x70(%rbp)
jmp 0x10fbc
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq -0x80(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
callq 0x4130
leaq -0x30(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x11007
movq %rdx, -0x40(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x30(%rbp)
jmp 0x1100e
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq -0x40(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x1b691(%rip), %rsi     # 0x2c6c1
callq 0x47b0
leaq -0x50(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1105a
movq %rdx, -0x60(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x50(%rbp)
jmp 0x11062
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq -0x60(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x14f24
movq -0x60(%rbp), %rdi
cmpq %r12, %rdi
je 0x11097
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x43f0
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x110ac
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x43f0
movq -0x80(%rbp), %rdi
cmpq %r14, %rdi
je 0x110c1
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x43f0
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11218
movq -0x90(%rbp), %rsi
jmp 0x11210
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq -0x40(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
callq 0x4130
leaq -0x50(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x11133
movq %rdx, -0x60(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x50(%rbp)
jmp 0x1113a
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq -0x60(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x1b565(%rip), %rsi     # 0x2c6c1
callq 0x47b0
leaq -0x120(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1118f
movq %rdx, -0x130(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x120(%rbp)
jmp 0x11197
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq -0x130(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x14f24
movq -0x130(%rbp), %rdi
cmpq %r12, %rdi
je 0x111d5
movq -0x120(%rbp), %rsi
incq %rsi
callq 0x43f0
movq -0x60(%rbp), %rdi
cmpq %r15, %rdi
je 0x111ea
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x43f0
movq -0x40(%rbp), %rdi
cmpq %r14, %rdi
je 0x111ff
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x43f0
leaq -0x70(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11218
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x43f0
movq $0x0, 0x8(%rbx)
movq (%rbx), %rax
movb $0x0, (%rax)
movb $0x1, %al
addq $0x110, %rsp            # imm = 0x110
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x130(%rbp), %rdi
cmpq %r12, %rdi
je 0x1125b
movq -0x120(%rbp), %rsi
incq %rsi
callq 0x43f0
jmp 0x1125b
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r15, %rdi
je 0x11275
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x43f0
jmp 0x11275
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r14, %rdi
je 0x1128f
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x43f0
jmp 0x1128f
movq %rax, %rbx
leaq -0x70(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11312
movq -0x70(%rbp), %rsi
jmp 0x1130a
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r12, %rdi
je 0x112bf
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x43f0
jmp 0x112bf
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x112d9
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x43f0
jmp 0x112d9
movq %rax, %rbx
movq -0x80(%rbp), %rdi
cmpq %r14, %rdi
je 0x112f3
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x43f0
jmp 0x112f3
movq %rax, %rbx
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11312
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x43f0
movq %rbx, %rdi
callq 0x4740