// File: /workspace/github_c_makefile_star2_O1/ieyasu[P]funit/config.c
// Function: read_config
int read_config(struct Config *conf)
{
    char config_path[PATH_MAX + 1];
    struct ParseState ps;
    int r;

    memset(conf, 0, sizeof(struct Config));

    if (find_config_file(config_path, &ps)) {
        fprintf(stderr, "FUnit: warning: config file not found\n");
        r = 0;
    } else {
        r = parse_config(&ps, conf);
        close_parse_file(&ps);
    }

    if (r == 0) {
        set_defaults(conf);
    }

    return r;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1068, %rsp           # imm = 0x1068
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
movq $0x0, 0x30(%rdi)
leaq 0x60(%rsp), %rdi
movl $0x74696e, 0x3(%rdi)    # imm = 0x74696E
movl $0x6e75662e, (%rdi)     # imm = 0x6E75662E
leaq 0x10(%rsp), %rsi
callq 0x3ac0
testl %eax, %eax
je 0x3626
leaq 0x41a7(%rip), %rdi      # 0x7730
callq 0x2030
testq %rax, %rax
je 0x39a7
movq %rax, %r15
movq %rax, %rdi
callq 0x20d0
cmpq $0xffa, %rax            # imm = 0xFFA
jae 0x39b1
movq %rax, %r14
leaq 0x60(%rsp), %rdi
movq %r15, %rsi
callq 0x2090
cmpb $0x2f, 0x5f(%rsp,%r14)
je 0x35cf
movb $0x2f, 0x60(%rsp,%r14)
incq %r14
movl $0x74696e, 0x63(%rsp,%r14) # imm = 0x74696E
movl $0x6e75662e, 0x60(%rsp,%r14) # imm = 0x6E75662E
leaq 0x60(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x3ac0
testl %eax, %eax
je 0x3626
movabsq $0x637274696e7566, %rax # imm = 0x637274696E7566
leaq 0x60(%rsp), %rdi
movq %rax, 0x5(%rdi)
movabsq $0x6e75662f6374652f, %rax # imm = 0x6E75662F6374652F
movq %rax, (%rdi)
leaq 0x10(%rsp), %rsi
callq 0x3ac0
testl %eax, %eax
jne 0x39d6
leaq 0x10(%rsp), %rdi
callq 0x51de
testq %rax, %rax
je 0x38d5
leaq 0x10(%rsp), %r14
movabsq $0x800002400, %r12      # imm = 0x800002400
movq %r14, %rdi
callq 0x52e9
movq 0x50(%rsp), %rax
movzbl (%rax), %eax
cmpq $0x23, %rax
ja 0x3676
btq %rax, %r12
jae 0x3676
movq %r14, %rdi
callq 0x51de
testq %rax, %rax
jne 0x3648
jmp 0x38d5
cmpb $0x41, %al
jl 0x38d9
addl $-0x5b, %eax
cmpl $0x24, %eax
ja 0x369a
movabsq $0x1f0000003f, %rcx     # imm = 0x1F0000003F
btq %rax, %rcx
jb 0x38d9
movq %r14, %rdi
leaq 0x8(%rsp), %rsi
leaq 0x476(%rip), %rdx       # 0x3b1f
callq 0x5338
cmpq $0x1, %rax
je 0x39bb
movq %rax, %r13
movq %r14, %rdi
callq 0x52e9
movq 0x50(%rsp), %rsi
cmpb $0x3d, (%rsi)
jne 0x39cd
incq %rsi
movq %rsi, 0x50(%rsp)
movq %r14, %rdi
callq 0x52e9
movq 0x50(%rsp), %rbp
movq %rbp, 0x48(%rsp)
movzbl (%rbp), %eax
cmpl $0x22, %eax
je 0x36f9
cmpl $0x27, %eax
jne 0x3767
incq %rbp
movq %rbp, 0x48(%rsp)
movq 0x40(%rsp), %rcx
movq %rbp, 0x50(%rsp)
xorl %r15d, %r15d
cmpq %rcx, %rbp
jae 0x3751
xorl %r15d, %r15d
movq %rbp, %rsi
movb (%rsi), %dl
cmpb $0x5c, %dl
jne 0x373e
movzbl 0x1(%rsi), %edi
cmpl $0x27, %edi
je 0x372e
cmpl $0x22, %edi
jne 0x373e
incq %rsi
movq %rsi, 0x50(%rsp)
movl $0x1, %r15d
jmp 0x3742
cmpb %al, %dl
je 0x3781
incq %rsi
movq %rsi, 0x50(%rsp)
cmpq %rcx, %rsi
jb 0x3719
jmp 0x3754
movq %rbp, %rsi
movq %r14, %rdi
leaq 0x414c(%rip), %rdx      # 0x78aa
callq 0x5000
xorl %ebp, %ebp
jmp 0x3793
movq %r14, %rdi
movq %rsp, %rsi
leaq 0x3e8(%rip), %rdx       # 0x3b5c
callq 0x5338
movq %rax, %rbp
xorl %r15d, %r15d
jmp 0x3793
movq %rsi, %rax
subq %rbp, %rax
movq %rax, (%rsp)
incq %rsi
movq %rsi, 0x50(%rsp)
testq %rbp, %rbp
je 0x38e3
movq %r14, %rdi
callq 0x52e9
movq 0x50(%rsp), %rsi
movzbl (%rsi), %eax
cmpq $0x23, %rax
ja 0x39e2
btq %rax, %r12
jae 0x39e2
movq (%rsp), %r12
testl %r15d, %r15d
je 0x3810
movq %r12, %rdi
callq 0x21c0
movq %rax, %r15
xorl %eax, %eax
testq %r12, %r12
je 0x3809
xorl %ecx, %ecx
cmpb $0x5c, (%rbp,%rcx)
jne 0x37f6
movzbl 0x1(%rbp,%rcx), %edx
cmpl $0x27, %edx
je 0x37f3
cmpl $0x22, %edx
jne 0x37f6
incq %rcx
movb (%rbp,%rcx), %dl
incq %rcx
movb %dl, (%r15,%rax)
incq %rax
cmpq %r12, %rcx
jb 0x37dd
movb $0x0, (%r15,%rax)
jmp 0x381e
movq %rbp, %rdi
movq %r12, %rsi
callq 0x6bac
movq %rax, %r15
movq 0x8(%rsp), %r12
cmpq $0xc, %r12
je 0x3883
cmpq $0xb, %r12
je 0x3861
cmpq $0x5, %r12
jne 0x39f8
movl $0x5, %edx
leaq 0x401c(%rip), %rdi      # 0x7861
movq %r13, %rsi
callq 0x2080
testl %eax, %eax
je 0x38c8
cmpq $0xc, %r12
je 0x3883
cmpq $0xb, %r12
jne 0x39f8
movl $0xb, %edx
leaq 0x3ffa(%rip), %rdi      # 0x7867
movq %r13, %rsi
callq 0x2080
testl %eax, %eax
je 0x38ba
cmpq $0xc, %r12
jne 0x39f8
movl $0xc, %edx
leaq 0x3fe4(%rip), %rdi      # 0x7873
movq %r13, %rsi
callq 0x2080
testl %eax, %eax
jne 0x39f8
movq %r15, 0x18(%rbx)
movq (%rsp), %rax
movq %rax, 0x30(%rbx)
movabsq $0x800002400, %r12      # imm = 0x800002400
jmp 0x3664
movq %r15, 0x10(%rbx)
movq (%rsp), %rax
movq %rax, 0x28(%rbx)
jmp 0x38ab
movq %r15, (%rbx)
movq (%rsp), %rax
movq %rax, 0x20(%rbx)
jmp 0x38ab
xorl %ebp, %ebp
jmp 0x38e8
leaq 0x10(%rsp), %rdi
callq 0x51ce
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
leaq 0x10(%rsp), %rdi
callq 0x5483
testl %ebp, %ebp
jne 0x3993
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x3910
movq 0x20(%rbx), %rsi
callq 0x6bac
movq %rax, (%rbx)
jmp 0x3927
leaq 0x3fb9(%rip), %rdi      # 0x78d0
callq 0x6bdf
movq %rax, (%rbx)
movq $0xc, 0x20(%rbx)
movq (%rbx), %rdi
callq 0x2cf0
movq %rax, 0x8(%rbx)
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x394b
movq 0x28(%rbx), %rsi
callq 0x6bac
movq %rax, 0x10(%rbx)
jmp 0x3963
leaq 0x3f8b(%rip), %rdi      # 0x78dd
callq 0x6bdf
movq %rax, 0x10(%rbx)
movq $0x4, 0x28(%rbx)
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x397b
movq 0x30(%rbx), %rsi
callq 0x6bac
movq %rax, 0x18(%rbx)
jmp 0x3993
leaq 0x3f60(%rip), %rdi      # 0x78e2
callq 0x6bdf
movq %rax, 0x18(%rbx)
movq $0x4, 0x30(%rbx)
movl %ebp, %eax
addq $0x1068, %rsp           # imm = 0x1068
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x23e8
jmp 0x35f4
callq 0x23c6
jmp 0x35f4
leaq 0x10(%rsp), %rdi
movq 0x40(%rdi), %rsi
leaq 0x3dfb(%rip), %rdx      # 0x77c6
jmp 0x39ee
leaq 0x3e17(%rip), %rdx      # 0x77eb
jmp 0x39e9
callq 0x240a
xorl %ebp, %ebp
jmp 0x38f2
leaq 0x3e20(%rip), %rdx      # 0x7809
leaq 0x10(%rsp), %rdi
callq 0x5000
jmp 0x38e3
movq %r15, %rdi
callq 0x2040
movq 0x85f1(%rip), %r14      # 0xbff8
movq (%r14), %rdi
movq 0x10(%rsp), %rdx
movq 0x58(%rsp), %rcx
leaq 0x3e65(%rip), %rsi      # 0x7880
xorl %eax, %eax
callq 0x2190
movq 0x8(%rsp), %rdx
movq (%r14), %rcx
movl $0x1, %esi
movq %r13, %rdi
callq 0x2250
movq (%r14), %rsi
leaq 0x3e63(%rip), %rdi      # 0x78a4
callq 0x2130
movq 0x38(%rsp), %rdi
movq 0x40(%rsp), %rdx
subq %rdi, %rdx
movq (%r14), %rcx
movl $0x1, %esi
callq 0x2250
movq (%r14), %rsi
leaq 0x51a6(%rip), %rdi      # 0x8c10
callq 0x2130
jmp 0x38e3