// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x60, %rsp
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq 0xd97(%rip), %rax       # 0x2004
movq %rax, -0x1d(%rbp)
movb 0xd95(%rip), %al        # 0x200c
movb %al, -0x15(%rbp)
movq 0xd8c(%rip), %rax       # 0x200d
movq %rax, -0x26(%rbp)
movb 0xd8a(%rip), %al        # 0x2015
movb %al, -0x1e(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq 0xd7a(%rip), %rsi       # 0x2016
xorl %eax, %eax
movl %eax, %ecx
movq %rcx, %rdx
callq 0x1500
movl %eax, %edx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
xorl %ecx, %ecx
cmpl $0x0, %edx
cmovnel %ecx, %eax
movl %eax, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq -0x1d(%rbp), %rdx
leaq 0xd62(%rip), %rsi       # 0x202e
xorl %eax, %eax
movl %eax, %ecx
callq 0x1500
movl %eax, %edx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
xorl %ecx, %ecx
cmpl $0x0, %edx
cmovnel %ecx, %eax
orl -0x14(%rbp), %eax
movl %eax, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq -0x1d(%rbp), %rdx
leaq -0x26(%rbp), %rcx
leaq 0xd40(%rip), %rsi       # 0x2040
callq 0x1500
orl -0x14(%rbp), %eax
movl %eax, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq -0x1d(%rbp), %rdx
leaq -0x26(%rbp), %rcx
leaq 0xd2b(%rip), %rsi       # 0x204c
callq 0x1500
orl -0x14(%rbp), %eax
movl %eax, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %edx
movq %rdx, %rsi
movb $0x0, %al
callq 0x18f0
orl -0x14(%rbp), %eax
movl %eax, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %r9d
leaq 0xd41(%rip), %rdx       # 0x209b
leaq 0xca3(%rip), %rcx       # 0x2004
movq %r9, %rsi
movq %r9, %r8
movb $0x0, %al
callq 0x18f0
orl -0x14(%rbp), %eax
movl %eax, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movl $0xf, %esi
leaq 0xd14(%rip), %rdx       # 0x209b
leaq 0xc76(%rip), %rcx       # 0x2004
leaq 0xcc9(%rip), %r8        # 0x205e
xorl %eax, %eax
movl %eax, %r9d
movb $0x0, %al
callq 0x18f0
orl -0x14(%rbp), %eax
movl %eax, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movl $0x19, %esi
leaq 0xcaa(%rip), %rdx       # 0x2064
leaq 0xc43(%rip), %rcx       # 0x2004
leaq 0xc96(%rip), %r8        # 0x205e
xorl %eax, %eax
movl %eax, %r9d
movb $0x0, %al
callq 0x18f0
orl -0x14(%rbp), %eax
movl %eax, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movl $0x29, %esi
leaq 0xcae(%rip), %rdx       # 0x209b
leaq 0xc10(%rip), %r10       # 0x2004
leaq 0xc63(%rip), %rax       # 0x205e
leaq 0xc62(%rip), %r9        # 0x2064
xorl %ecx, %ecx
movq %r10, %rcx
movq %rax, %r8
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movb $0x0, %al
callq 0x18f0
orl -0x14(%rbp), %eax
movl %eax, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movl $0x35, %esi
leaq 0xc30(%rip), %rdx       # 0x206c
leaq 0xbc1(%rip), %r10       # 0x2004
leaq 0xc14(%rip), %rax       # 0x205e
leaq 0xc24(%rip), %r9        # 0x2075
xorl %ecx, %ecx
movq %r10, %rcx
movq %rax, %r8
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movb $0x0, %al
callq 0x18f0
orl -0x14(%rbp), %eax
movl %eax, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movl $0x50, %esi
leaq 0xbe1(%rip), %rdx       # 0x206c
leaq 0xb72(%rip), %r10       # 0x2004
leaq 0xbc5(%rip), %rax       # 0x205e
leaq 0xbd5(%rip), %r9        # 0x2075
leaq 0xbd7(%rip), %r11       # 0x207e
xorl %ecx, %ecx
movq %r10, %rcx
movq %rax, %r8
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
movq %r11, 0x10(%rsp)
movq %r10, 0x18(%rsp)
movq %rax, 0x20(%rsp)
movq $0x0, 0x28(%rsp)
movb $0x0, %al
callq 0x18f0
orl -0x14(%rbp), %eax
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %edx
movl $0x2, %eax
xorl %ecx, %ecx
cmpl $0x0, %edx
cmovel %ecx, %eax
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)