// File: /workspace/github_c_makefile_star2_O2/DeforaOS[P]libSystem/tests/config.c
// Function: main
int main(int argc, char * argv[])
{
	int ret;
	String const variable[] = "variable";
	String const expected[] = "expected";
	(void) argc;

	ret = (_test(argv[0], "config-nonexistent.conf", NULL, NULL) != 0)
		? 0 : -1;
	ret |= (_test(argv[0], "config-empty.conf", variable, NULL) != 0)
		? 0 : -1;
	ret |= _test(argv[0], "config.conf", variable, expected);
	ret |= _test(argv[0], "config-noeol.conf", variable, expected);
	ret |= _test2(argv[0], 0, NULL);
	ret |= _test2(argv[0], 0, "", "variable", NULL, NULL);
	ret |= _test2(argv[0], 15, "", "variable", "value", NULL);
	ret |= _test2(argv[0], 25, "section", "variable", "value", NULL);
	ret |= _test2(argv[0], 41, "", "variable", "value",
			"section", "variable", "value", NULL);
	ret |= _test2(argv[0], 53, "section1", "variable", "value",
			"section2", "variable", "value", NULL);
	ret |= _test2(argv[0], 80, "section1", "variable", "value",
			"section2", "variable", "value",
			"section3", "variable", "value", NULL);
	return (ret == 0) ? 0 : 2;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movabsq $0x656c626169726176, %rax # imm = 0x656C626169726176
leaq 0x18(%rsp), %r15
movq %rax, (%r15)
xorl %eax, %eax
movb %al, 0x8(%r15)
leaq 0x8(%rsp), %r12
movb %al, 0x8(%r12)
movabsq $0x6465746365707865, %rax # imm = 0x6465746365707865
movq %rax, (%r12)
movq (%rsi), %rdi
leaq 0xd76(%rip), %rsi       # 0x200d
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x144e
movl %eax, %ebp
movq (%r14), %rdi
leaq 0xd79(%rip), %rsi       # 0x2025
movq %r15, %rdx
xorl %ecx, %ecx
callq 0x144e
movl %eax, %r13d
movq (%r14), %rdi
leaq 0xd74(%rip), %rsi       # 0x2037
movq %r15, %rdx
movq %r12, %rcx
callq 0x144e
cmpl $0x1, %r13d
movl $0x0, %ebx
sbbl %ebx, %ebx
orl %eax, %ebx
cmpl $0x1, %ebp
movl $0x0, %r13d
sbbl %r13d, %r13d
movq (%r14), %rdi
leaq 0xd52(%rip), %rsi       # 0x2043
movq %r15, %rdx
movq %r12, %rcx
callq 0x144e
movl %eax, %ebp
orl %r13d, %ebp
orl %ebx, %ebp
movq (%r14), %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x176e
movl %eax, %r15d
movq (%r14), %rdi
leaq 0xd7d(%rip), %r12       # 0x209b
xorl %esi, %esi
movq %r12, %rdx
leaq 0xd2b(%rip), %rbx       # 0x2055
movq %rbx, %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
xorl %eax, %eax
callq 0x176e
movl %eax, %r13d
orl %r15d, %r13d
movq (%r14), %rdi
leaq 0xd14(%rip), %r15       # 0x205e
pushq $0xf
popq %rsi
movq %r12, %rdx
movq %rbx, %rcx
movq %r15, %r8
xorl %r9d, %r9d
xorl %eax, %eax
callq 0x176e
movl %eax, %r12d
orl %r13d, %r12d
movq (%r14), %rdi
leaq 0xcf4(%rip), %r13       # 0x2064
pushq $0x19
popq %rsi
movq %r13, %rdx
movq %rbx, %rcx
movq %r15, %r8
xorl %r9d, %r9d
xorl %eax, %eax
callq 0x176e
movl %eax, %ebx
orl %r12d, %ebx
movq (%r14), %rdi
subq $0x8, %rsp
pushq $0x29
popq %rsi
leaq 0xcff(%rip), %rdx       # 0x209b
leaq 0xcb2(%rip), %rcx       # 0x2055
movq %r15, %r8
movq %r13, %r9
xorl %eax, %eax
pushq $0x0
pushq %r15
pushq %rcx
movq %rcx, %r12
callq 0x176e
addq $0x20, %rsp
movl %eax, %r13d
orl %ebx, %r13d
movq (%r14), %rdi
subq $0x8, %rsp
leaq 0xc9c(%rip), %rbx       # 0x206c
leaq 0xc9e(%rip), %r9        # 0x2075
pushq $0x35
popq %rsi
movq %rbx, %rdx
movq %r12, %rcx
movq %r15, %r8
xorl %eax, %eax
pushq $0x0
pushq %r15
pushq %r12
callq 0x176e
addq $0x20, %rsp
movl %eax, %r12d
orl %r13d, %r12d
orl %ebp, %r12d
movq (%r14), %rdi
leaq 0xc77(%rip), %r10       # 0x207e
pushq $0x50
popq %rsi
movq %rbx, %rdx
leaq 0xc41(%rip), %rcx       # 0x2055
movq %r15, %r8
leaq 0xc57(%rip), %r9        # 0x2075
xorl %eax, %eax
pushq $0x0
pushq %r15
pushq %rcx
pushq %r10
pushq %r15
pushq %rcx
callq 0x176e
addq $0x30, %rsp
xorl %ecx, %ecx
orl %r12d, %eax
setne %cl
addl %ecx, %ecx
movl %ecx, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq