// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_target_s_to_be_modified
bl_t xoico_target_s_to_be_modified( const xoico_target_s* o )
{
    // xoico_target.x:498:1
    BLM_INIT_LEVEL(0);
    if( o->compiler->always_expand ) BLM_RETURNV(bl_t, true)
    
    bl_t to_be_modified = true;
    
    tp_t target_hash = xoico_target_s_get_hash(o);
    
    st_s* file = ((st_s*)BLM_LEVEL_T_PUSH(0,st_s,st_s_create_fa("#<sc_t>.state", o->output_path.sc )));
    if( bcore_file_exists(file->sc ) )
    {
        st_s* key_defined = ((st_s*)BLM_LEVEL_T_PUSH(0,st_s,st_s_create_fa("##?w'HKEYOF_#<sc_t>'", o->name.sc )));
        x_source* source =((x_source*)( ((bcore_source*)BLM_LEVEL_A_PUSH(0,bcore_file_open_source(file->sc )))));
        while( !x_source_eos(source) )
        {
            if( x_source_inspect_char(source) == 'H' )
            {
                if( x_source_parse_bl(source,key_defined->sc ) )
                {
                    tp_t key_val = 0;
                    BLM_TRY_EXIT(x_source_parse_fa(source," #<tp_t*>", &key_val ))
                    to_be_modified = ( key_val != target_hash );
                    break;
                }
            }
            else
            {
                x_source_get_char(source);
            }
        }
    }
    
    BLM_RETURNV(bl_t, to_be_modified)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %r15
leaq 0x177cc5(%rip), %rax    # 0x1a8dd0
movq (%rax), %rsi
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0xe0431
movq $0x0, 0x10(%rbx)
movq 0x138(%r15), %rax
movb $0x1, %bpl
cmpb $0x0, 0x183(%rax)
jne 0x314c4
movabsq $-0x503db0e6e1c2e704, %rbx # imm = 0xAFC24F191E3D18FC
movq %r15, %rdi
callq 0x2f6ec
movq %rax, %r14
movq 0x80(%r15), %rsi
leaq 0x109bb8(%rip), %rdi    # 0x13ad15
xorl %eax, %eax
callq 0x114d03
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
movq %rbx, %rdx
movq %rax, %rcx
callq 0xe0676
movq %rax, %r12
movq 0x8(%rax), %rdi
callq 0xc90fb
testb %al, %al
je 0x314c4
movq %r14, 0x8(%rsp)
movabsq $-0x7e8ee9b9b4bbaa8, %r14 # imm = 0xF817116464B44558
movq 0x10(%r15), %rsi
leaq 0x109b7f(%rip), %rdi    # 0x13ad23
xorl %eax, %eax
callq 0x114d03
leaq 0x18(%rsp), %r15
movq %r15, %rdi
xorl %esi, %esi
movq %rbx, %rdx
movq %rax, %rcx
callq 0xe0676
movq %rax, 0x10(%rsp)
movq 0x8(%r12), %rdi
callq 0xc92d1
movq %r15, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0xe0900
movq %rax, %r12
leaq 0x178ae2(%rip), %r13    # 0x1a9cc8
movq (%r12), %rbx
movl (%r13), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0x31245
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x31245
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x31245
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x31464
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0x3126a
movq %r14, %rdi
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %rbp
movq %r13, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
cmpq $0x0, 0x40(%rbp)
jne 0x31280
movq %rbp, %rdi
leaq 0x113c96(%rip), %rsi    # 0x144f11
callq 0xf592c
movq %r12, %rdi
callq *0x40(%rbp)
testb %al, %al
jne 0x3147e
movq (%r12), %rbx
movl (%r13), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0x312ed
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x312ed
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x312ed
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x3146b
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0x31312
movq %r14, %rdi
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %rbp
movq %r13, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
movq %rbp, %rdi
movq %r12, %rsi
callq 0x10a499
cmpb $0x48, %al
jne 0x313cd
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rbx
movq (%r12), %rbp
movl (%r13), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %rbp, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x3138d
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x3138d
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x3138d
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x31472
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x313b2
movq %r14, %rdi
movq %rbp, %rsi
callq 0xf3f85
movq %rax, %r15
movq %r13, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r15, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x10aa16
testb %al, %al
je 0x311e6
jmp 0x31483
movq (%r12), %rbx
movl (%r13), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0x31428
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x31428
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x31428
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x3147a
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0x3144d
movq %r14, %rdi
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %rbp
movq %r13, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
movb $0x0, (%rsp)
movl $0x1, %edx
movq %r12, %rdi
movq %rsp, %rsi
callq *0x10(%rbp)
jmp 0x311e6
xorl %ebp, %ebp
jmp 0x31249
xorl %ebp, %ebp
jmp 0x312f1
xorl %r15d, %r15d
jmp 0x31391
xorl %ebp, %ebp
jmp 0x3142c
movb $0x1, %bpl
jmp 0x314c4
movq %rsp, %rdx
movq $0x0, (%rdx)
leaq 0x107db0(%rip), %rsi    # 0x139244
movq %r12, %rdi
xorl %eax, %eax
callq 0xda10
testq %rax, %rax
je 0x314b7
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0xe0b30
movl %ebx, %edi
callq 0x59990
movq 0x8(%rsp), %rax
cmpq %rax, (%rsp)
setne %bpl
leaq 0x18(%rsp), %rdi
callq 0xe0b30
movl %ebp, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq