// File: /workspace/github_c_makefile_star2_O3/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 0x16cca1(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0xd6675
movq $0x0, 0x10(%rbx)
movq 0x138(%r15), %rax
movb $0x1, %bpl
cmpb $0x0, 0x183(%rax)
jne 0x2f4ca
movabsq $-0x503db0e6e1c2e704, %rbx # imm = 0xAFC24F191E3D18FC
movq %r15, %rdi
callq 0x2d834
movq %rax, %r14
movq 0x80(%r15), %rsi
leaq 0x100b94(%rip), %rdi    # 0x12fd15
xorl %eax, %eax
callq 0x109dca
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
movq %rbx, %rdx
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r12
movq 0x8(%rax), %rdi
callq 0xbf581
testb %al, %al
je 0x2f4ca
movq %r14, 0x8(%rsp)
movabsq $-0x7e8ee9b9b4bbaa8, %r14 # imm = 0xF817116464B44558
movq 0x10(%r15), %rsi
leaq 0x100b5b(%rip), %rdi    # 0x12fd23
xorl %eax, %eax
callq 0x109dca
leaq 0x18(%rsp), %r15
movq %r15, %rdi
xorl %esi, %esi
movq %rbx, %rdx
movq %rax, %rcx
callq 0xd68a8
movq %rax, 0x10(%rsp)
movq 0x8(%r12), %rdi
callq 0xbf75a
movq %r15, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0xd6b17
movq %rax, %r12
leaq 0x16dabe(%rip), %r13    # 0x19ccc8
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 0x2f265
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x2f265
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x2f265
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x2f26e
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0x2f28a
movq %r14, %rdi
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %rbp
movq %r13, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x40(%rbp), %rax
testq %rax, %rax
jne 0x2f2a6
movq %rbp, %rdi
leaq 0x10aaec(%rip), %rsi    # 0x139d89
callq 0xeb49c
movq 0x40(%rbp), %rax
movq %r12, %rdi
callq *%rax
testb %al, %al
jne 0x2f484
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 0x2f30e
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x2f30e
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x2f30e
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x2f317
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0x2f333
movq %r14, %rdi
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %rbp
movq %r13, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq %rbp, %rdi
movq %r12, %rsi
callq 0xff8b6
cmpb $0x48, %al
jne 0x2f3ea
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 0x2f3aa
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x2f3aa
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x2f3aa
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x2f3b3
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x2f3cf
movq %r14, %rdi
movq %rbp, %rsi
callq 0xe9bc5
movq %rax, %r15
movq %r13, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r15, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0xffe2b
testb %al, %al
je 0x2f20a
jmp 0x2f489
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 0x2f445
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x2f445
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x2f445
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x2f44e
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x2f46a
movq %r14, %rdi
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %r15
movq %r13, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x10(%r15), %rax
movb $0x0, (%rsp)
movl $0x1, %edx
movq %r12, %rdi
movq %rsp, %rsi
callq *%rax
jmp 0x2f20a
movb $0x1, %bpl
jmp 0x2f4ca
movq %rsp, %rdx
movq $0x0, (%rdx)
leaq 0xfedaa(%rip), %rsi     # 0x12e244
movq %r12, %rdi
xorl %eax, %eax
callq 0xda80
testq %rax, %rax
je 0x2f4bd
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0xd6d2c
movl %ebx, %edi
callq 0x54258
movq 0x8(%rsp), %rax
cmpq %rax, (%rsp)
setne %bpl
leaq 0x18(%rsp), %rdi
callq 0xd6d2c
movl %ebp, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq