// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x30, %rsp
leaq 0x2dbc(%rip), %rax      # 0xc02b
movq %rax, -0x8(%rbp)
leaq 0x36a6(%rip), %rdi      # 0xc920
callq 0x9060
movq %rax, -0x10(%rbp)
leaq 0x2cbd(%rip), %rdi      # 0xbf47
callq 0x9060
movq %rax, -0x18(%rbp)
movq $0x78, -0x20(%rbp)
movq $0x32, -0x28(%rbp)
movq -0x18(%rbp), %rdi
leaq 0x2d7d(%rip), %rsi      # 0xc02b
callq 0x8c20
testb $0x1, %al
jne 0x92cd
movq -0x10(%rbp), %rdi
leaq 0x2d69(%rip), %rsi      # 0xc02b
callq 0x8c20
testb $0x1, %al
jne 0x92cd
jmp 0x92dd
xorl %edi, %edi
leaq 0x3630(%rip), %rsi      # 0xc906
movb $0x0, %al
callq 0x5fa0
movq -0x18(%rbp), %rdi
callq 0x41b0
cmpq $0x32, %rax
jbe 0x9301
xorl %edi, %edi
leaq 0x3634(%rip), %rsi      # 0xc929
movl $0x32, %edx
movb $0x0, %al
callq 0x5fa0
movq -0x10(%rbp), %rdi
callq 0x41b0
cmpq $0x78, %rax
jbe 0x9325
xorl %edi, %edi
leaq 0x3632(%rip), %rsi      # 0xc94b
movl $0x78, %edx
movb $0x0, %al
callq 0x5fa0
leaq -0x8(%rbp), %rdi
callq 0x9400
testb $0x1, %al
jne 0x9346
movq -0x8(%rbp), %rdx
xorl %edi, %edi
leaq 0x362e(%rip), %rsi      # 0xc96d
movb $0x0, %al
callq 0x5fa0
leaq 0x2be8(%rip), %rdi      # 0xbf35
callq 0x9060
movq %rax, %rdi
leaq -0x8(%rbp), %rsi
callq 0x94c0
testb $0x1, %al
jne 0x9376
movq -0x8(%rbp), %rdx
xorl %edi, %edi
leaq 0x3617(%rip), %rsi      # 0xc986
movb $0x0, %al
callq 0x5fa0
callq 0x95b0
testb $0x1, %al
jne 0x938f
xorl %edi, %edi
leaq 0x361e(%rip), %rsi      # 0xc9a6
movb $0x0, %al
callq 0x5fa0
leaq 0x3319(%rip), %rdi      # 0xc6af
callq 0x9060
movq %rax, %rdi
leaq -0x8(%rbp), %rsi
callq 0x94c0
testb $0x1, %al
jne 0x93bf
movq -0x8(%rbp), %rdx
xorl %edi, %edi
leaq 0x3607(%rip), %rsi      # 0xc9bf
movb $0x0, %al
callq 0x5fa0
leaq 0x32d1(%rip), %rdi      # 0xc697
callq 0x9060
movq %rax, %rdi
leaq -0x8(%rbp), %rsi
callq 0x94c0
testb $0x1, %al
jne 0x93ef
movq -0x8(%rbp), %rdx
xorl %edi, %edi
leaq 0x3601(%rip), %rsi      # 0xc9e9
movb $0x0, %al
callq 0x5fa0
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)