// File: /workspace/github_c_makefile_star2_O2/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 0x2f4d(%rip), %rdi      # 0xa7d4
callq 0x776a
movq %rax, %rbx
leaq 0x2551(%rip), %rdi      # 0x9de7
callq 0x776a
movq %rax, %r14
leaq 0x2626(%rip), %rsi      # 0x9ecb
movq %rax, %rdi
callq 0x748d
testb %al, %al
jne 0x7a0a
leaq 0x260f(%rip), %rsi      # 0x9ecb
movq %rbx, %rdi
callq 0x748d
testb %al, %al
jne 0x7a0a
movq %r14, %rdi
callq 0x41c0
cmpq $0x33, %rax
jae 0x7a1a
movq %rbx, %rdi
callq 0x41c0
cmpq $0x79, %rax
jae 0x7a25
leaq 0x217a(%rip), %rdi      # 0x9a71
callq 0x776a
movq %rax, %r14
leaq 0x25c5(%rip), %rbx      # 0x9ecb
movq %rax, %rdi
movq %rbx, %rsi
callq 0x748d
testb %al, %al
jne 0x7a31
leaq 0x2454(%rip), %rsi      # 0x9d74
movq %r14, %rdi
callq 0x748d
testb %al, %al
je 0x7933
movq %rbx, 0x8(%rsp)
jmp 0x795b
pushq $0x2
popq %rdi
leaq 0x14(%rsp), %rdx
movq %r14, %rsi
callq 0x47d0
leaq 0x2ce4(%rip), %rdx      # 0xa62e
testl %eax, %eax
cmoveq %rdx, %rbx
movq %rbx, 0x8(%rsp)
je 0x7a38
leaq 0x2473(%rip), %rdi      # 0x9dd5
callq 0x776a
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x7a7b
testb %al, %al
je 0x7a41
leaq 0x29cd(%rip), %rdi      # 0xa350
callq 0x776a
movq %rax, %rbx
leaq 0x2bce(%rip), %rsi      # 0xa560
movq %rax, %rdi
callq 0x748d
testb %al, %al
jne 0x79c8
leaq 0x2cdf(%rip), %rsi      # 0xa684
movq %rbx, %rdi
callq 0x748d
testb %al, %al
jne 0x79c8
leaq 0x31a4(%rip), %rsi      # 0xab5c
movq %rbx, %rdi
callq 0x748d
testb %al, %al
je 0x7a72
leaq 0x2b94(%rip), %rdi      # 0xa563
callq 0x776a
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x7a7b
testb %al, %al
je 0x7a4f
leaq 0x2b5f(%rip), %rdi      # 0xa54b
callq 0x776a
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x7a7b
testb %al, %al
je 0x7a5d
addq $0x18, %rsp
popq %rbx
popq %r14
retq
leaq 0x2da9(%rip), %rsi      # 0xa7ba
xorl %edi, %edi
xorl %eax, %eax
callq 0x5513
leaq 0x2dbc(%rip), %rsi      # 0xa7dd
pushq $0x32
jmp 0x7a2e
leaq 0x2dd3(%rip), %rsi      # 0xa7ff
pushq $0x78
popq %rdx
jmp 0x7a69
leaq 0x30f3(%rip), %rdx      # 0xab2b
leaq 0x2de2(%rip), %rsi      # 0xa821
jmp 0x7a69
movq 0x8(%rsp), %rdx
leaq 0x2ded(%rip), %rsi      # 0xa83a
jmp 0x7a69
movq 0x8(%rsp), %rdx
leaq 0x2e18(%rip), %rsi      # 0xa873
jmp 0x7a69
movq 0x8(%rsp), %rdx
leaq 0x2e34(%rip), %rsi      # 0xa89d
xorl %edi, %edi
xorl %eax, %eax
callq 0x5513
leaq 0x2de1(%rip), %rsi      # 0xa85a
jmp 0x7a11