// File: /workspace/github_c_makefile_star2_O1/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 0x145e
movl %eax, %ebp
movq (%r14), %rdi
leaq 0xd79(%rip), %rsi       # 0x2025
movq %r15, %rdx
xorl %ecx, %ecx
callq 0x145e
movl %eax, %r13d
movq (%r14), %rdi
leaq 0xd74(%rip), %rsi       # 0x2037
movq %r15, %rdx
movq %r12, %rcx
callq 0x145e
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 0x145e
movl %eax, %ebp
orl %r13d, %ebp
orl %ebx, %ebp
movq (%r14), %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x178a
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 0x178a
movl %eax, %r13d
orl %r15d, %r13d
movq (%r14), %rdi
leaq 0xd14(%rip), %r15       # 0x205e
movl $0xf, %esi
movq %r12, %rdx
movq %rbx, %rcx
movq %r15, %r8
xorl %r9d, %r9d
xorl %eax, %eax
callq 0x178a
movl %eax, %r12d
orl %r13d, %r12d
movq (%r14), %rdi
leaq 0xcf2(%rip), %r13       # 0x2064
movl $0x19, %esi
movq %r13, %rdx
movq %rbx, %rcx
movq %r15, %r8
xorl %r9d, %r9d
xorl %eax, %eax
callq 0x178a
movl %eax, %ebx
orl %r12d, %ebx
movq (%r14), %rdi
subq $0x8, %rsp
movl $0x29, %esi
leaq 0xcf9(%rip), %rdx       # 0x209b
leaq 0xcac(%rip), %rcx       # 0x2055
movq %r15, %r8
movq %r13, %r9
xorl %eax, %eax
xorl %r12d, %r12d
pushq %r12
pushq %r15
pushq %rcx
callq 0x178a
addq $0x20, %rsp
movl %eax, %r13d
orl %ebx, %r13d
movq (%r14), %rdi
subq $0x8, %rsp
leaq 0xc96(%rip), %rbx       # 0x206c
leaq 0xc98(%rip), %r9        # 0x2075
movl $0x35, %esi
movq %rbx, %rdx
leaq 0xc69(%rip), %rcx       # 0x2055
movq %r15, %r8
xorl %eax, %eax
pushq %r12
pushq %r15
pushq %rcx
callq 0x178a
addq $0x20, %rsp
movl %eax, %r12d
orl %r13d, %r12d
orl %ebp, %r12d
movq (%r14), %rdi
leaq 0xc6c(%rip), %r10       # 0x207e
movl $0x50, %esi
movq %rbx, %rdx
leaq 0xc34(%rip), %rcx       # 0x2055
movq %r15, %r8
leaq 0xc4a(%rip), %r9        # 0x2075
xorl %eax, %eax
xorl %r11d, %r11d
pushq %r11
pushq %r15
pushq %rcx
pushq %r10
pushq %r15
pushq %rcx
callq 0x178a
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