// File: /workspace/github_c_makefile_star2_O1/uhlin[P]enhanced-duc/source/settings.c
// Function: check_some_settings_strictly
void
check_some_settings_strictly(void)
{
	const char	*reason = "";
	const char	*password = setting("password");
	const char	*username = setting("username");
	const size_t	 password_maxlen = 120;
	const size_t	 username_maxlen = 50;

	if (strings_match(username, "") || strings_match(password, ""))
		fatal(0, "error: empty username nor password");
	else if (strlen(username) > username_maxlen)
		fatal(0, "error: username too long. max=%zu", username_maxlen);
	else if (strlen(password) > password_maxlen)
		fatal(0, "error: password too long. max=%zu", password_maxlen);
	else if (!is_ip_addr_ok(&reason))
		fatal(0, "is_ip_addr_ok: error: %s", reason);
	else if (!is_hostname_ok(setting("sp_hostname"), &reason))
		fatal(0, "is_hostname_ok: sp_hostname: %s", reason);
	else if (!is_port_ok())
		fatal(0, "error: bogus port number");
	else if (!is_hostname_ok(setting("primary_ip_lookup_srv"), &reason))
		fatal(0, "is_hostname_ok: primary_ip_lookup_srv: %s", reason);
	else if (!is_hostname_ok(setting("backup_ip_lookup_srv"), &reason))
		fatal(0, "is_hostname_ok: backup_ip_lookup_srv: %s", reason);
	else
		return;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
leaq 0x23c5(%rip), %r14      # 0x9eab
movq %r14, 0x8(%rsp)
leaq 0x2ca2(%rip), %rdi      # 0xa794
callq 0x798d
movq %rax, %rbx
leaq 0x22c6(%rip), %rdi      # 0x9dc7
callq 0x798d
cmpb $0x0, (%rax)
je 0x7c36
cmpb $0x0, (%rbx)
je 0x7c36
movq %rax, %rdi
callq 0x41c0
cmpq $0x33, %rax
jae 0x7c46
movq %rbx, %rdi
callq 0x41c0
cmpq $0x79, %rax
jae 0x7c54
leaq 0x1f0e(%rip), %rdi      # 0x9a51
callq 0x798d
cmpb $0x0, (%rax)
je 0x7c62
movq %rax, %rbx
leaq 0x21f9(%rip), %rsi      # 0x9d54
movq %rax, %rdi
callq 0x4640
testl %eax, %eax
je 0x7b81
leaq 0x14(%rsp), %rdx
movl $0x2, %edi
movq %rbx, %rsi
callq 0x47e0
testl %eax, %eax
je 0x7c95
leaq 0x8(%rsp), %rbx
movq %r14, (%rbx)
leaq 0x2225(%rip), %rdi      # 0x9db5
callq 0x798d
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7cba
testb %al, %al
je 0x7c6b
leaq 0x2761(%rip), %rdi      # 0xa310
callq 0x798d
movq %rax, %rbx
leaq 0x2962(%rip), %rsi      # 0xa520
movq %rax, %rdi
callq 0x4640
testl %eax, %eax
je 0x7bf4
leaq 0x2a73(%rip), %rsi      # 0xa644
movq %rbx, %rdi
callq 0x4640
testl %eax, %eax
je 0x7bf4
leaq 0x2f38(%rip), %rsi      # 0xab1c
movq %rbx, %rdi
callq 0x4640
testl %eax, %eax
jne 0x7cb1
leaq 0x2928(%rip), %rdi      # 0xa523
callq 0x798d
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x7cba
testb %al, %al
je 0x7c79
leaq 0x28f3(%rip), %rdi      # 0xa50b
callq 0x798d
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x7cba
testb %al, %al
je 0x7c87
addq $0x18, %rsp
popq %rbx
popq %r14
retq
leaq 0x2b3d(%rip), %rsi      # 0xa77a
xorl %edi, %edi
xorl %eax, %eax
callq 0x563c
leaq 0x2b50(%rip), %rsi      # 0xa79d
movl $0x32, %edx
jmp 0x7ca8
leaq 0x2b64(%rip), %rsi      # 0xa7bf
movl $0x78, %edx
jmp 0x7ca8
leaq 0x2e82(%rip), %rdx      # 0xaaeb
jmp 0x7c9c
movq 0x8(%rsp), %rdx
leaq 0x2b83(%rip), %rsi      # 0xa7fa
jmp 0x7ca8
movq 0x8(%rsp), %rdx
leaq 0x2bae(%rip), %rsi      # 0xa833
jmp 0x7ca8
movq 0x8(%rsp), %rdx
leaq 0x2bca(%rip), %rsi      # 0xa85d
jmp 0x7ca8
leaq 0x2952(%rip), %rdx      # 0xa5ee
movq %rdx, 0x8(%rsp)
leaq 0x2b39(%rip), %rsi      # 0xa7e1
xorl %edi, %edi
xorl %eax, %eax
callq 0x563c
leaq 0x2b62(%rip), %rsi      # 0xa81a
jmp 0x7c3d