LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_sources.c
// Function: bcore_source_point_s_clone_source
bcore_source* bcore_source_point_s_clone_source( const bcore_source_point_s* o )
{
    if( !o->source ) return NULL;
    bcore_source* source = bcore_source_a_clone( o->source );
    bcore_source_a_set_index( source, o->index );
    return source;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0x8(%rdi), %r14
testq %r14, %r14
je 0xe7076
movq %rdi, %rbx
movq (%r14), %rsi
movabsq $-0x7c93477f7a59b9fa, %rdi # imm = 0x836CB88085A64606
callq 0x116fb0
movq (%r14), %r15
leaq 0xb552d(%rip), %rax     # 0x19c468
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r15, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0xe6f91
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0xe6f91
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0xe6f91
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0xe6f9a
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0xe6fc1
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r15, %rsi
callq 0xe9bc5
movq %rax, %r12
leaq 0xb54b2(%rip), %rdi     # 0x19c468
movq %r15, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r12, %rdi
movq %r14, %rsi
callq *0xc0(%r12)
movq %rax, %r14
movq 0x10(%rbx), %rbx
movq (%rax), %r15
leaq 0xb5ce8(%rip), %rax     # 0x19ccc8
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r15, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0xe7036
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0xe7036
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0xe7036
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0xe703f
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0xe7066
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r15, %rsi
callq 0xe9bc5
movq %rax, %r12
leaq 0xb5c6d(%rip), %rdi     # 0x19ccc8
movq %r15, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0xffe83
jmp 0xe7079
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_sources.c
// Function: bcore_source_open_file
bcore_source_chain_s* bcore_source_open_file( sc_t file_name )
{
    bcore_source_chain_s* chain = bcore_source_chain_s_create();
    bcore_source_chain_s_push_d( chain, bcore_source_file_s_create_name( file_name ) );
    bcore_source_chain_s_push_d( chain, bcore_inst_t_create( TYPEOF_bcore_source_string_s ) );
    bcore_source_string_s* string = chain->data[ chain->size - 1 ];
    string->parent = chain;
    return chain;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r15
movabsq $-0x7a841657f0cf5c40, %r14 # imm = 0x857BE9A80F30A3C0
callq 0xe2ceb
movq %rax, %rbx
callq 0xe4fcc
movq %rax, %r12
movq %r15, %rdi
callq 0x109f0e
movq %rax, 0x8(%r12)
movq %rbx, %rdi
movq %r12, %rsi
callq 0xe2e56
leaq 0xb501c(%rip), %rax     # 0x19c468
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r14, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0xe74a2
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0xe74a2
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0xe74a2
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0xe74ab
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0xe74d2
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0xb4fa1(%rip), %rdi     # 0x19c468
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r15, %rdi
callq *0xa8(%r15)
movq %rbx, %rdi
movq %rax, %rsi
callq 0xe2e56
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
movq -0x8(%rax,%rcx,8), %rax
movq %rbx, 0x30(%rax)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_sources.c
// Function: sources_selftest_stdin
void sources_selftest_stdin( void )
{
    BLM_INIT();
    bcore_msg_fa( "sources_selftest_stdin:\n" );

    bcore_source* source = BLM_A_PUSH( bcore_source_open_stdin() );

//    while( !bcore_source_a_eos( source ) )
//    {
//        s2_t c = bcore_source_a_get_char( source );
//        bcore_msg_fa( "#<s2_t>\n", c );
//    }

    st_s* st = BLM_CREATE( st_s );

    while( !bcore_source_a_eos( source ) )
    {
        bcore_source_a_parse_fa( source, " #name", st );
        if( st->size == 0 ) bcore_source_a_parse_err_fa( source, "Name expected\n" );
        bcore_msg_fa( "name: #<st_s*>\n", st );
    }

    BLM_DOWN();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
leaq 0xb48af(%rip), %rax     # 0x19bdd0
movq (%rax), %rsi
leaq 0x8(%rsp), %r14
movq %r14, (%rsp)
movq %r14, %rdi
callq 0xd6675
leaq 0x60777(%rip), %rdi     # 0x147cb3
xorl %eax, %eax
callq 0xbe364
callq 0xe568f
movq %r14, %rdi
movq %rax, %rsi
callq 0xd6a3c
movq %rax, %rbx
xorl %eax, %eax
callq 0x109c82
movabsq $-0x503db0e6e1c2e704, %rsi # imm = 0xAFC24F191E3D18FC
movq %r14, %rdi
movq %rax, %rdx
callq 0xd67bd
movq %rax, %r14
leaq 0xb574c(%rip), %r15     # 0x19ccc8
leaq 0x60758(%rip), %r13     # 0x147cdb
movq (%rbx), %r12
movl (%r15), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r15,%rax,8), %rcx
movq 0x18(%r15,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0xe75dc
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0xe75dc
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0xe75dc
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0xe75e5
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0xe7608
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %rbp
movq %r15, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x40(%rbp), %rax
testq %rax, %rax
jne 0xe7624
movq %rbp, %rdi
leaq 0x5276e(%rip), %rsi     # 0x139d89
callq 0xeb49c
movq 0x40(%rbp), %rax
movq %rbx, %rdi
callq *%rax
testb %al, %al
jne 0xe766b
movq %rbx, %rdi
leaq 0x5cc5c(%rip), %rsi     # 0x144293
movq %r14, %rdx
xorl %eax, %eax
callq 0x100150
cmpq $0x0, 0x10(%r14)
jne 0xe7659
movq %rbx, %rdi
leaq 0x6067a(%rip), %rsi     # 0x147ccc
xorl %eax, %eax
callq 0x100521
movq %r13, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0xbe364
jmp 0xe7583
movq %rsp, %rdi
callq 0xd6d0d
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_sources.c
// Function: buffer_s_create_self
static bcore_self_s* buffer_s_create_self( void )
{
    sc_t def =
    "bcore_source_buffer_s = bcore_source"
    "{ "
      "aware_t _; "
      "u0_t [] data; "
      "uz_t index; "
      "private vd_t supplier; "
      "uz_t prefetch_size; "
    "}";
    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( def, bcore_source_buffer_s );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_source_buffer_s_init,         "bcore_fp_init",                   "init"  );
    bcore_self_s_push_ns_func( self, ( fp_t )buffer_flow_src,                    "bcore_fp_flow_src",               "flow_src"  );
    bcore_self_s_push_ns_func( self, ( fp_t )buffer_get_context,                 "bcore_source_fp_get_context",     "get_context" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_source_buffer_s_set_supplier, "bcore_source_fp_set_supplier",    "set_supplier" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_source_buffer_s_eos,          "bcore_source_fp_eos",             "eos" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_source_buffer_s_get_file,     "bcore_source_fp_get_file",        "get_file" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_source_buffer_s_get_index,    "bcore_source_fp_get_index",       "get_index" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_source_buffer_s_set_index,    "bcore_source_fp_set_index",       "set_index" );
    return self;
}

// Assembly:
pushq %rbx
leaq 0x5f965(%rip), %rdi     # 0x147fde
movl $0x38, %esi
movl $0x8, %edx
callq 0xc447e
movq %rax, %rbx
leaq -0x4e89(%rip), %rsi     # 0xe3809
leaq 0x5a39c(%rip), %rdx     # 0x142a35
leaq 0x5a39e(%rip), %rcx     # 0x142a3e
movq %rax, %rdi
callq 0xc34ab
leaq -0x49fa(%rip), %rsi     # 0xe3cb5
leaq 0x5f653(%rip), %rdx     # 0x147d09
leaq 0x5f655(%rip), %rcx     # 0x147d12
movq %rbx, %rdi
callq 0xc34ab
leaq 0xab1(%rip), %rsi       # 0xe917d
leaq 0x5f843(%rip), %rdx     # 0x147f16
leaq 0x5f84c(%rip), %rcx     # 0x147f26
movq %rbx, %rdi
callq 0xc34ab
leaq -0x44a2(%rip), %rsi     # 0xe4247
leaq 0x5f842(%rip), %rdx     # 0x147f32
leaq 0x5f84b(%rip), %rcx     # 0x147f42
movq %rbx, %rdi
callq 0xc34ab
leaq -0x46bb(%rip), %rsi     # 0xe404b
leaq 0x5f627(%rip), %rdx     # 0x147d34
leaq 0x51675(%rip), %rcx     # 0x139d89
movq %rbx, %rdi
callq 0xc34ab
leaq -0x45f7(%rip), %rsi     # 0xe412c
leaq 0x5f63c(%rip), %rdx     # 0x147d66
leaq 0x519a1(%rip), %rcx     # 0x13a0d2
movq %rbx, %rdi
callq 0xc34ab
leaq -0x4555(%rip), %rsi     # 0xe41eb
leaq 0x5f657(%rip), %rdx     # 0x147d9e
leaq 0x51890(%rip), %rcx     # 0x139fde
movq %rbx, %rdi
callq 0xc34ab
leaq -0x4569(%rip), %rsi     # 0xe41f4
leaq 0x5f654(%rip), %rdx     # 0x147db8
leaq 0x51886(%rip), %rcx     # 0x139ff1
movq %rbx, %rdi
callq 0xc34ab
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_sources.c
// Function: file_s_create_self
static bcore_self_s* file_s_create_self( void )
{
    sc_t def =
    "bcore_source_file_s = bcore_source "
    "{ "
      "aware_t _; "
      "st_s => name; "
      "private vd_t handle; "
    "}";

    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( def, bcore_source_file_s );
    bcore_self_s_push_ns_amoeba( self, file_init_a, "init" );
    bcore_self_s_push_ns_amoeba( self, file_down_a, "down" );
    bcore_self_s_push_ns_amoeba( self, file_copy_a, "copy" );
    bcore_self_s_push_ns_func( self, ( fp_t )file_interpret_body_a,         "ap_t",                            "interpret_body" );
    bcore_self_s_push_ns_func( self, ( fp_t )file_flow_src,                 "bcore_fp_flow_src",               "flow_src"  );
    bcore_self_s_push_ns_func( self, ( fp_t )file_get_context,              "bcore_source_fp_get_context",     "get_context" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_source_file_s_eos,       "bcore_source_fp_eos",             "eos" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_source_file_s_get_file,  "bcore_source_fp_get_file",        "get_file" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_source_file_s_get_index, "bcore_source_fp_get_index",       "get_index" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_source_file_s_set_index, "bcore_source_fp_set_index",       "set_index" );
    return self;
}

// Assembly:
pushq %rbx
leaq 0x5f8d6(%rip), %rdi     # 0x148056
movl $0x18, %esi
movl $0x8, %edx
callq 0xc447e
movq %rax, %rbx
leaq 0xab1(%rip), %rsi       # 0xe924a
leaq 0x5a29e(%rip), %rdx     # 0x142a3e
movq %rax, %rdi
callq 0xc3515
leaq 0xab1(%rip), %rsi       # 0xe9260
leaq 0x4ea14(%rip), %rdx     # 0x1371ca
movq %rbx, %rdi
callq 0xc3515
leaq 0xaae(%rip), %rsi       # 0xe9273
leaq 0x55b8f(%rip), %rdx     # 0x13e35b
movq %rbx, %rdi
callq 0xc3515
leaq 0xaab(%rip), %rsi       # 0xe9286
leaq 0x5b3a3(%rip), %rdx     # 0x143b85
leaq 0x5f09d(%rip), %rcx     # 0x147886
movq %rbx, %rdi
callq 0xc34ab
leaq -0x35fe(%rip), %rsi     # 0xe51fa
leaq 0x5f50a(%rip), %rdx     # 0x147d09
leaq 0x5f50c(%rip), %rcx     # 0x147d12
movq %rbx, %rdi
callq 0xc34ab
leaq 0xa84(%rip), %rsi       # 0xe9299
leaq 0x5f6fa(%rip), %rdx     # 0x147f16
leaq 0x5f703(%rip), %rcx     # 0x147f26
movq %rbx, %rdi
callq 0xc34ab
leaq -0x35dd(%rip), %rsi     # 0xe5255
leaq 0x5f4fb(%rip), %rdx     # 0x147d34
leaq 0x51549(%rip), %rcx     # 0x139d89
movq %rbx, %rdi
callq 0xc34ab
leaq -0x35d5(%rip), %rsi     # 0xe527a
leaq 0x5f510(%rip), %rdx     # 0x147d66
leaq 0x51875(%rip), %rcx     # 0x13a0d2
movq %rbx, %rdi
callq 0xc34ab
leaq -0x35e9(%rip), %rsi     # 0xe5283
leaq 0x5f52b(%rip), %rdx     # 0x147d9e
leaq 0x51764(%rip), %rcx     # 0x139fde
movq %rbx, %rdi
callq 0xc34ab
leaq -0x35f6(%rip), %rsi     # 0xe5293
leaq 0x5f528(%rip), %rdx     # 0x147db8
leaq 0x5175a(%rip), %rcx     # 0x139ff1
movq %rbx, %rdi
callq 0xc34ab
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_sources.c
// Function: string_get_context
static void string_get_context( const bcore_source_string_s* o, bcore_source_context_s* context )
{
    if( o->parent )
    {
        s3_t index = bcore_source_chain_s_get_index( o->parent );
        context->index = index;

        if( o->parent->data[ 0 ] && ( *( aware_t* )o->parent->data[ 0 ] ) == TYPEOF_bcore_source_file_s )
        {
            bcore_source_file_s* fo = o->parent->data[ 0 ];
            st_s_attach( &context->file_path, st_s_create_sc( bcore_source_file_s_get_name( fo ) ) );
            st_s_attach( &context->txt_context, st_s_create() );
            uz_t line, col;
            bcore_source_file_s_get_line_col_context( fo, index, &line, &col,context->txt_context );
            context->line = line;
            context->col = col;
        }
    }
    else
    {
        uz_t index = o->index;
        context->index = index;
        st_s_attach( &context->txt_context, st_s_show_line_context( o->string, o->index ) );
        context->line = st_s_lineof( o->string, o->index );
        context->col  = st_s_colof( o->string, o->index );
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r15
movq 0x30(%rdi), %rdi
testq %rdi, %rdi
je 0xe8d51
callq 0xe3543
movq %rax, %r14
movq %rax, 0x10(%rbx)
movq 0x30(%r15), %rax
movq 0x8(%rax), %rax
movq (%rax), %r15
testq %r15, %r15
je 0xe8d94
movabsq $0x766eac77ec0f2a97, %rax # imm = 0x766EAC77EC0F2A97
cmpq %rax, (%r15)
jne 0xe8d94
movq 0x8(%r15), %rax
movq 0x8(%rax), %rdi
callq 0x109f0e
movq %rax, %r12
movq 0x8(%rbx), %rdi
callq 0x10a028
movq %r12, 0x8(%rbx)
xorl %eax, %eax
callq 0x109c82
movq %rax, %r12
movq 0x28(%rbx), %rdi
callq 0x10a028
movq %r12, 0x28(%rbx)
leaq 0x10(%rsp), %r13
leaq 0x8(%rsp), %rbp
movq %r15, %rdi
movq %r14, %rsi
movq %r13, %rdx
movq %rbp, %rcx
movq %r12, %r8
callq 0xe52c3
movq (%r13), %rax
movq %rax, 0x18(%rbx)
movq (%rbp), %rax
jmp 0xe8d90
movq 0x10(%r15), %rsi
movq %rsi, 0x10(%rbx)
movq 0x8(%r15), %rdi
callq 0x10b7ae
movq %rax, %r14
movq 0x28(%rbx), %rdi
callq 0x10a028
movq %r14, 0x28(%rbx)
movq 0x8(%r15), %rdi
movq 0x10(%r15), %rsi
callq 0x10b4ca
movq %rax, 0x18(%rbx)
movq 0x8(%r15), %rdi
movq 0x10(%r15), %rsi
callq 0x10b501
movq %rax, 0x20(%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_sources.c
// Function: chain_copy_a
static void chain_copy_a( bcore_nucleus_s* nc )
{
    bcore_source_chain_s* o = nc->client;
    nc->default_handler( nc );
    for( uz_t i = 0; i < o->size; i++ )
    {
        bcore_source_a_set_parent( o->data[ i ], o );
        if( i > 0 ) bcore_source_a_set_supplier( o->data[ i ], o->data[ i - 1 ] );
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x10(%rdi), %rbx
callq *(%rdi)
cmpq $0x0, 0x10(%rbx)
je 0xe9475
xorl %r15d, %r15d
movq 0x8(%rbx), %rax
movq (%rax,%r15,8), %r13
movq (%r13), %rbp
leaq 0xb39bd(%rip), %rdx     # 0x19ccc8
movl (%rdx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %rbp, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0xe9360
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0xe9360
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0xe9360
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0xe9369
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xe9390
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbp, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0xb3943(%rip), %rdi     # 0x19ccc8
movq %rbp, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r14, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0xffe60
testq %r15, %r15
je 0xe9468
movq 0x8(%rbx), %rax
movq -0x8(%rax,%r15,8), %r13
movq (%rax,%r15,8), %rbp
movq (%rbp), %r12
leaq 0xb3909(%rip), %rdx     # 0x19ccc8
movl (%rdx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0xe9414
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0xe9414
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0xe9414
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0xe941d
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xe9444
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0xb388f(%rip), %rdi     # 0x19ccc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x30(%r14), %rax
testq %rax, %rax
jne 0xe9460
movq %r14, %rdi
leaq 0x5eaeb(%rip), %rsi     # 0x147f42
callq 0xeb49c
movq 0x30(%r14), %rax
movq %rbp, %rdi
movq %r13, %rsi
callq *%rax
incq %r15
cmpq 0x10(%rbx), %r15
jb 0xe92f8
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_sources.c
// Function: chain_interpret_body_a
static void chain_interpret_body_a( vd_t nc )
{
    struct { ap_t a; vc_t p; vc_t inter; vd_t source; tp_t type; vd_t obj; } * nc_l = nc;
    nc_l->a( nc ); // default
    bcore_source_chain_s* o = nc_l->obj;
    for( uz_t i = 0; i < o->size; i++ )
    {
        bcore_source_a_set_parent( o->data[ i ], o );
        if( i > 0 ) bcore_source_a_set_supplier( o->data[ i ], o->data[ i - 1 ] );
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq *(%rdi)
movq 0x28(%rbx), %rbx
cmpq $0x0, 0x10(%rbx)
je 0xe9623
xorl %r15d, %r15d
movq 0x8(%rbx), %rax
movq (%rax,%r15,8), %r13
movq (%r13), %rbp
leaq 0xb380f(%rip), %rdx     # 0x19ccc8
movl (%rdx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %rbp, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0xe950e
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0xe950e
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0xe950e
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0xe9517
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xe953e
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbp, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0xb3795(%rip), %rdi     # 0x19ccc8
movq %rbp, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r14, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0xffe60
testq %r15, %r15
je 0xe9616
movq 0x8(%rbx), %rax
movq -0x8(%rax,%r15,8), %r13
movq (%rax,%r15,8), %rbp
movq (%rbp), %r12
leaq 0xb375b(%rip), %rdx     # 0x19ccc8
movl (%rdx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0xe95c2
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0xe95c2
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0xe95c2
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0xe95cb
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xe95f2
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0xb36e1(%rip), %rdi     # 0x19ccc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x30(%r14), %rax
testq %rax, %rax
jne 0xe960e
movq %r14, %rdi
leaq 0x5e93d(%rip), %rsi     # 0x147f42
callq 0xeb49c
movq 0x30(%r14), %rax
movq %rbp, %rdi
movq %r13, %rsi
callq *%rax
incq %r15
cmpq 0x10(%rbx), %r15
jb 0xe94a6
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_sources.c
// Function: chain_get_context
static void chain_get_context( bcore_source_chain_s* o, bcore_source_context_s* context )
{
    s3_t index = bcore_source_chain_s_get_index( o );
    context->index = index;

    if( o->size > 0 )
    {
        if( o->data[ 0 ] && ( *( aware_t* )o->data[ 0 ] ) == TYPEOF_bcore_source_file_s )
        {
            bcore_source_file_s* fo = o->data[ 0 ];
            st_s_attach( &context->file_path, st_s_create_sc( bcore_source_file_s_get_name( fo ) ) );
            st_s_attach( &context->txt_context, st_s_create() );
            uz_t line, col;
            bcore_source_file_s_get_line_col_context( fo, index, &line, &col,context->txt_context );
            context->line = line;
            context->col = col;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r15
callq 0xe3543
movq %rax, 0x10(%rbx)
cmpq $0x0, 0x10(%r15)
je 0xe96da
movq %rax, %r14
movq 0x8(%r15), %rax
movq (%rax), %r15
testq %r15, %r15
je 0xe96da
movabsq $0x766eac77ec0f2a97, %rax # imm = 0x766EAC77EC0F2A97
cmpq %rax, (%r15)
jne 0xe96da
movq 0x8(%r15), %rax
movq 0x8(%rax), %rdi
callq 0x109f0e
movq %rax, %r12
movq 0x8(%rbx), %rdi
callq 0x10a028
movq %r12, 0x8(%rbx)
xorl %eax, %eax
callq 0x109c82
movq %rax, %r12
movq 0x28(%rbx), %rdi
callq 0x10a028
movq %r12, 0x28(%rbx)
leaq 0x10(%rsp), %r13
leaq 0x8(%rsp), %rbp
movq %r15, %rdi
movq %r14, %rsi
movq %r13, %rdx
movq %rbp, %rcx
movq %r12, %r8
callq 0xe52c3
movq (%r13), %rax
movq %rax, 0x18(%rbx)
movq (%rbp), %rax
movq %rax, 0x20(%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_sources.c
// Function: chain_parse_fv
static void chain_parse_fv( bcore_source_chain_s* o, sc_t format, va_list args )
{
    if( o->size > 0 )
    {
        const bcore_source_s* source_p = bcore_source_s_get_aware( o->data[ o->size - 1 ] );
        if( source_p->parse_fv )
        {
            bcore_source_p_parse_fv( source_p, o->data[ o->size - 1 ], format, args );
        }
        else
        {
            bcore_source_chain_s_push_type( o, TYPEOF_bcore_source_string_s );
            chain_parse_fv( o, format, args );
        }
    }
    else
    {
        ERR( "Chain is empty" );
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x10(%rdi), %rax
testq %rax, %rax
je 0xe97d5
movq %rdi, %r15
leaq 0xb35b0(%rip), %r12     # 0x19ccc8
movabsq $-0x7e8ee9b9b4bbaa8, %r13 # imm = 0xF817116464B44558
movabsq $-0x7a841657f0cf5c40, %rbp # imm = 0x857BE9A80F30A3C0
movq 0x8(%r15), %rcx
movq -0x8(%rcx,%rax,8), %rax
movq (%rax), %rbx
movl (%r12), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r12,%rax,8), %rcx
movq 0x18(%r12,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0xe978f
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0xe978f
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0xe978f
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0xe9798
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xe97b4
movq %r13, %rdi
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %r14
movq %r12, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x20(%r14), %rax
testq %rax, %rax
jne 0xe9804
movq %r15, %rdi
movq %rbp, %rsi
callq 0xe3025
movq 0x10(%r15), %rax
testq %rax, %rax
jne 0xe972c
leaq 0x5e913(%rip), %rdi     # 0x1480ef
leaq 0x5e303(%rip), %rsi     # 0x147ae6
leaq 0x5e914(%rip), %rcx     # 0x1480fe
movl $0xfa, %edx
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xbe592
movq 0x8(%r15), %rcx
movq 0x10(%r15), %rdx
movq -0x8(%rcx,%rdx,8), %rdi
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_sources.c
// Function: chain_parse_em_fv
static er_t chain_parse_em_fv( bcore_source_chain_s* o, sc_t format, va_list args )
{
    er_t ret = 0;
    if( o->size > 0 )
    {
        const bcore_source_s* source_p = bcore_source_s_get_aware( o->data[ o->size - 1 ] );
        if( source_p->parse_em_fv )
        {
            ret = bcore_source_p_parse_em_fv( source_p, o->data[ o->size - 1 ], format, args );
        }
        else
        {
            bcore_source_chain_s_push_type( o, TYPEOF_bcore_source_string_s );
            ret = chain_parse_em_fv( o, format, args );
        }
    }
    else
    {
        ERR( "Chain is empty" );
    }
    return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x10(%rdi), %rax
testq %rax, %rax
je 0xe9917
movq %rdi, %r15
leaq 0xb346e(%rip), %r12     # 0x19ccc8
movabsq $-0x7e8ee9b9b4bbaa8, %r13 # imm = 0xF817116464B44558
movabsq $-0x7a841657f0cf5c40, %rbp # imm = 0x857BE9A80F30A3C0
movq 0x8(%r15), %rcx
movq -0x8(%rcx,%rax,8), %rax
movq (%rax), %rbx
movl (%r12), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r12,%rax,8), %rcx
movq 0x18(%r12,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0xe98d1
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0xe98d1
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0xe98d1
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0xe98da
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xe98f6
movq %r13, %rdi
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %r14
movq %r12, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x28(%r14), %rax
testq %rax, %rax
jne 0xe9949
movq %r15, %rdi
movq %rbp, %rsi
callq 0xe3025
movq 0x10(%r15), %rax
testq %rax, %rax
jne 0xe986e
leaq 0x5e7ef(%rip), %rdi     # 0x14810d
leaq 0x5e1c1(%rip), %rsi     # 0x147ae6
leaq 0x5e7d2(%rip), %rcx     # 0x1480fe
movl $0x112, %edx            # imm = 0x112
xorl %eax, %eax
callq 0xbe592
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%r15), %rcx
movq 0x10(%r15), %rdx
movq -0x8(%rcx,%rdx,8), %rdi
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_spect.c
// Function: bcore_spect_trait_supported
bl_t bcore_spect_trait_supported( tp_t spect_trait, tp_t o_type )
{
    tp_t p_type = bcore_tp_fold_sc( spect_trait, "_s" );
    tp_t sig = bcore_tp_fold_tp( p_type, o_type );
    assert( hmap_s_g != NULL );
    bcore_mutex_s_lock( &hmap_s_g->mutex );
    bl_t exists = bcore_hmap_u3vd_s_exists( &hmap_s_g->map, sig );
    bcore_mutex_s_unlock( &hmap_s_g->mutex );
    if( exists ) return true;
    return bcore_trait_satisfied_type( spect_trait, o_type, NULL );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq %rdi, %rdx
xorq $0x5f, %rdx
movabsq $0x100000001b3, %rax    # imm = 0x100000001B3
imulq %rax, %rdx
xorq $0x73, %rdx
imulq %rax, %rdx
movl $0xff, %ecx
andq %rcx, %rsi
xorq %rdx, %rsi
imulq %rax, %rsi
movl %ebx, %edx
shrl $0x8, %edx
movl $0xff, %edi
andl %edi, %edx
xorq %rsi, %rdx
imulq %rax, %rdx
movl %ebx, %esi
shrl $0x10, %esi
andl %edi, %esi
xorq %rdx, %rsi
imulq %rax, %rsi
movl %ebx, %edx
shrl $0x18, %edx
xorq %rsi, %rdx
imulq %rax, %rdx
movq %rbx, %rsi
shrq $0x20, %rsi
andq %rcx, %rsi
xorq %rdx, %rsi
imulq %rax, %rsi
movq %rbx, %rdx
shrq $0x28, %rdx
andq %rcx, %rdx
xorq %rsi, %rdx
imulq %rax, %rdx
movq %rbx, %rsi
shrq $0x30, %rsi
andq %rcx, %rsi
xorq %rdx, %rsi
imulq %rax, %rsi
movq %rbx, %r15
shrq $0x38, %r15
xorq %rsi, %r15
imulq %rax, %r15
movq 0xb22d8(%rip), %rdi     # 0x19be08
addq $0x60, %rdi
callq 0x1142c9
movq 0xb22c8(%rip), %rdi     # 0x19be08
addq $0x20, %rdi
movq %r15, %rsi
callq 0xc8069
movl %eax, %ebp
movq 0xb22b3(%rip), %rdi     # 0x19be08
addq $0x60, %rdi
callq 0x1142fb
testb %bpl, %bpl
je 0xe9b70
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x116f32
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_spect.c
// Function: bcore_spect_setup_cache
void bcore_spect_setup_cache( bcore_tp_fastmap_s* cache )
{
    bcore_tp_fastmap_s_init( cache );
    bcore_mutex_s_lock( &hmap_s_g->mutex );
    bcore_arr_vd_s_push( &hmap_s_g->cache_arr, cache );
    bcore_mutex_s_unlock( &hmap_s_g->mutex );
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x115d6d
movq 0xb2271(%rip), %rdi     # 0x19be08
addq $0x60, %rdi
callq 0x1142c9
movl $0x2a0, %edi            # imm = 0x2A0
addq 0xb225c(%rip), %rdi     # 0x19be08
movq %rbx, %rsi
callq 0xba5ed
movq 0xb224d(%rip), %rdi     # 0x19be08
addq $0x60, %rdi
popq %rbx
jmp 0x1142fb
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_spect.c
// Function: bcore_spect_define_creator
void bcore_spect_define_creator( tp_t type, tp_t tp_trait_name, bcore_flect_create_self_fp creator )
{
    bcore_flect_define_creator( type, creator );
    bcore_self_s* self = creator();
    bcore_spect_define_trait( self, tp_trait_name );
    bcore_self_s_discard( self );
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdx, %rsi
callq 0xc5545
callq *%rbx
movq %rax, %rbx
movq %rax, %rdi
movq %r14, %rsi
callq 0xea644
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xc32e0
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_spect.c
// Function: bcore_spect_signal_handler
vd_t bcore_spect_signal_handler( const bcore_signal_s* o )
{
    switch( bcore_signal_s_handle_type( o, typeof( "bcore_spect" ) ) )
    {
        case TYPEOF_init0:
        {
            spect_manager_open();
        }
        break;

        case TYPEOF_init1:
        {
            spect_define_trait();
            BCORE_REGISTER_OBJECT( bcore_spect_header_s );

            // features
            BCORE_REGISTER_FEATURE( bcore_spect_fp_create_from_self );
        }
        break;

        case TYPEOF_down0:
        {

            s2_t verbosity = o->object ? *( s2_t* )o->object : 0;
            if( verbosity > 0 )
            {
                uz_t count = bcore_spect_size();
                uz_t space = bcore_tbman_total_granted_space();
                spect_manager_close();
                space -= bcore_tbman_total_granted_space();
                bcore_msg( "  spect mananger ...... % 7zu (by % 4zu perspectives )\n", space, count );
            }
            else
            {
                spect_manager_close();
            }
        }
        break;

        case TYPEOF_selftest:
        {
        }
        break;

        default: break;
    }

    return NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movabsq $-0x228efc03bf78930, %rsi # imm = 0xFDD7103FC40876D0
callq 0xdfce3
movabsq $-0x69a05554ee793861, %rcx # imm = 0x965FAAAB1186C79F
cmpq %rcx, %rax
je 0xeb5f8
movabsq $0x6a72ce8f8250efc6, %rcx # imm = 0x6A72CE8F8250EFC6
cmpq %rcx, %rax
je 0xeb56d
movabsq $0x6a72cf8f8250f179, %rcx # imm = 0x6A72CF8F8250F179
cmpq %rcx, %rax
jne 0xeb67a
leaq 0xb08bc(%rip), %rdi     # 0x19be18
leaq 0x137(%rip), %rsi       # 0xeb69a
callq 0x11465b
jmp 0xeb67a
leaq 0x5db55(%rip), %rdi     # 0x1490c9
callq 0xd7476
movq %rax, %rbx
movq %rax, %rdi
callq 0x116767
movq %rbx, %rdi
callq 0x1166d9
leaq 0x176(%rip), %rsi       # 0xeb709
movq %rbx, %rdi
callq 0x116825
movabsq $-0x55a2d062927a0ff9, %rsi # imm = 0xAA5D2F9D6D85F007
movq %rbx, %rdi
callq 0x1168a7
leaq 0xd0(%rip), %rsi        # 0xeb684
movabsq $-0x7c15e45e4ba87aee, %rdi # imm = 0x83EA1BA1B4578512
callq 0xc5545
leaq 0x5d14c(%rip), %rdi     # 0x148716
callq 0xd7476
movabsq $0x2d929df1d8b41fe3, %rsi # imm = 0x2D929DF1D8B41FE3
movl $0x8, %edx
movl $0x8, %ecx
movq %rax, %rdi
callq 0xc3677
movq %rax, %rdi
callq 0xc5089
jmp 0xeb67a
movq 0x10(%rbx), %rax
testq %rax, %rax
je 0xeb657
cmpl $0x0, (%rax)
jle 0xeb657
callq 0xea7ca
movq %rax, %rbx
callq 0x111248
movq %rax, %r14
movq 0xb07eb(%rip), %rsi     # 0x19be08
testq %rsi, %rsi
je 0xeb639
leaq 0x1ba(%rip), %rdi       # 0xeb7e3
callq 0xbe7ee
movq $0x0, 0xb07cf(%rip) # 0x19be08
callq 0x111248
subq %rax, %r14
leaq 0x5d273(%rip), %rdi     # 0x1488bb
movq %r14, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xbe2ad
jmp 0xeb67a
movq 0xb07aa(%rip), %rsi     # 0x19be08
testq %rsi, %rsi
je 0xeb67a
leaq 0x179(%rip), %rdi       # 0xeb7e3
callq 0xbe7ee
movq $0x0, 0xb078e(%rip) # 0x19be08
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_spect.c
// Function: supports
static bl_t supports( const bcore_self_s* self, st_s* log )
{
    if( !self->body )
    {
        if( log ) st_s_push_fa( log, "Reflection has no body." );
        return false;
    }

    if( bcore_self_s_get_item( self, 0 )->type != TYPEOF_bcore_spect_header_s )
    {
        if( bcore_self_s_items_size( self ) < 2 )
        {
            if( log ) st_s_push_fa( log, "Reflection has #<sz_t> element(s). At least 2 are needed.", bcore_self_s_items_size( self ) );
            return false;
        }

        if( bcore_self_s_get_item( self, 0 )->type != TYPEOF_aware_t )
        {
            if( log ) st_s_push_fa( log, "Reflection is not self aware." );
            return false;
        }

        if( bcore_self_s_get_item( self, 1 )->type != TYPEOF_tp_t )
        {
            if( log ) st_s_push_fa( log, "Second element of a prespective-reflection is not tp_t" );
            return false;
        }
    }

    return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
cmpq $0x0, 0x30(%rdi)
je 0xeb76e
movq %rdi, %r15
xorl %esi, %esi
callq 0xc3306
movb $0x1, %bl
movabsq $-0x7c15e45e4ba87aee, %rcx # imm = 0x83EA1BA1B4578512
cmpq %rcx, (%rax)
je 0xeb7db
movq %r15, %rdi
callq 0xc32f5
cmpq $0x1, %rax
ja 0xeb788
testq %r14, %r14
je 0xeb7d9
movq %r15, %rdi
callq 0xc32f5
leaq 0x5d1ae(%rip), %rsi     # 0x14890b
xorl %ebx, %ebx
movq %r14, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x10a8a5
jmp 0xeb7db
testq %r14, %r14
je 0xeb7d9
leaq 0x5d179(%rip), %rsi     # 0x1488f3
xorl %ebx, %ebx
movq %r14, %rdi
xorl %eax, %eax
callq 0x10a8a5
jmp 0xeb7db
movq %r15, %rdi
xorl %esi, %esi
callq 0xc3306
movabsq $-0x388c46b188de83fe, %rcx # imm = 0xC773B94E77217C02
cmpq %rcx, (%rax)
jne 0xeb7cb
movl $0x1, %esi
movq %r15, %rdi
callq 0xc3306
movabsq $0x6d07f9ef5b68e8a2, %rcx # imm = 0x6D07F9EF5B68E8A2
cmpq %rcx, (%rax)
je 0xeb7db
testq %r14, %r14
je 0xeb7d9
leaq 0x5d19a(%rip), %rsi     # 0x148963
jmp 0xeb77a
testq %r14, %r14
je 0xeb7d9
leaq 0x5d16e(%rip), %rsi     # 0x148945
jmp 0xeb77a
xorl %ebx, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: bcore_array_default_remove_null_elements
void bcore_array_default_remove_null_elements( const bcore_array_s* p, bcore_array* o )
{
    switch( p->type_caps )
    {
        case BCORE_CAPS_ARRAY_DYN_SOLID_STATIC:
        case BCORE_CAPS_ARRAY_DYN_SOLID_TYPED:
            return; // nothing to do
        break;

        case BCORE_CAPS_ARRAY_DYN_LINK_STATIC:
        case BCORE_CAPS_ARRAY_DYN_LINK_TYPED:
        case BCORE_CAPS_ARRAY_DYN_LINK_AWARE:
        {
            uz_t size = get_size( p, o );
            if( size > get_space( p, o ) ) bcore_array_p_make_strong( p, o );
            vd_t* data = ( vd_t* )bcore_array_p_get_d_data( p, o );
            uz_t new_size = 0;
            for( uz_t i = 0; i < size; i++ )
            {
                if( data[ i ] != NULL )
                {
                    if( i > new_size )
                    {
                         data[ new_size ] = data[ i ];
                         data[ i ] = NULL;
                    }
                    new_size++;
                }
            }
            bcore_array_p_set_size( p, o, new_size );
        }
        break;

        case BCORE_CAPS_ARRAY_FIX_SOLID_STATIC:
        case BCORE_CAPS_ARRAY_FIX_LINK_STATIC:
        case BCORE_CAPS_ARRAY_FIX_LINK_AWARE:
        {
            ERR( "cannot remove an element from a fixed-size-array" );
        }
        break;

        default:
        {
            ERR( "invalid type_caps (%"PRIu32")", ( u2_t )p->type_caps );
        }
        break;
    }

}

// Assembly:
movq 0x10(%rdi), %r8
cmpq $0xd, %r8
ja 0xecdf2
movl $0x700, %eax            # imm = 0x700
btq %r8, %rax
jb 0xecd73
movl $0x3800, %eax           # imm = 0x3800
btq %r8, %rax
jae 0xecde6
leaq 0x5c02a(%rip), %rdi     # 0x148d83
leaq 0x5be48(%rip), %rsi     # 0x148ba8
leaq 0x5bfeb(%rip), %rcx     # 0x148d52
movl $0x3c0, %edx            # imm = 0x3C0
xorl %eax, %eax
jmp 0xbe592
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x18(%rdi), %r15
testq %r15, %r15
jne 0xecda2
movq 0x20(%r14), %rax
movq 0x8(%rbx,%rax), %r15
cmpq 0x10(%rbx,%rax), %r15
jbe 0xece13
movq %r14, %rdi
movq %rbx, %rsi
callq 0xeba34
movq %r14, %rdi
movq %rbx, %rsi
callq 0xece27
xorl %ecx, %ecx
xorl %edx, %edx
movq (%rax,%rcx,8), %rsi
testq %rsi, %rsi
je 0xecdce
cmpq %rdx, %rcx
jbe 0xecdcb
movq %rsi, (%rax,%rdx,8)
movq $0x0, (%rax,%rcx,8)
incq %rdx
incq %rcx
cmpq %rcx, %r15
jne 0xecdb1
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0xec548
movl $0xc0, %eax
btq %r8, %rax
jae 0xecdf2
retq
leaq 0x5bf8a(%rip), %rdi     # 0x148d83
leaq 0x5bda8(%rip), %rsi     # 0x148ba8
leaq 0x5bde2(%rip), %rcx     # 0x148be9
movl $0x3c6, %edx            # imm = 0x3C6
xorl %eax, %eax
jmp 0xbe592
movq %r14, %rdi
movq %rbx, %rsi
callq 0xece27
testq %r15, %r15
jne 0xecdad
xorl %edx, %edx
jmp 0xecdd6
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: bcore_array_p_get_unit_size
uz_t bcore_array_p_get_unit_size( const bcore_array_s* p, vc_t o )
{
    switch( p->type_caps )
    {
        case BCORE_CAPS_ARRAY_DYN_SOLID_STATIC:      return p->item_p->size;
        case BCORE_CAPS_ARRAY_DYN_SOLID_TYPED:
        {
            vc_t obj = ( u0_t* )o + p->caps_offset;
            const bcore_array_dyn_solid_typed_s* arr = obj;
            if( !arr->type ) ERR( "type-zero array: cannot obtain unit size" );
            return bcore_inst_s_get_typed( arr->type )->size;
        }
        case BCORE_CAPS_ARRAY_DYN_LINK_STATIC:  return sizeof( vd_t );
        case BCORE_CAPS_ARRAY_DYN_LINK_TYPED:   return sizeof( vd_t );
        case BCORE_CAPS_ARRAY_DYN_LINK_AWARE:   return sizeof( vd_t );
        case BCORE_CAPS_ARRAY_FIX_SOLID_STATIC: return p->item_p->size;
        case BCORE_CAPS_ARRAY_FIX_LINK_STATIC:  return sizeof( vd_t );
        case BCORE_CAPS_ARRAY_FIX_LINK_AWARE:   return sizeof( vd_t );

        default: ERR( "invalid type_caps (%"PRIu32")", ( u2_t )p->type_caps );
    }
    return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq 0x10(%rdi), %r8
leaq -0x6(%r8), %rax
cmpq $0x7, %rax
ja 0xedd10
movl $0x8, %ebx
leaq 0x5ae9c(%rip), %rcx     # 0x148acc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x28(%rdi), %rax
movq 0x18(%rax), %rbx
jmp 0xedd33
movq %rsi, %r14
movq 0x20(%rdi), %r15
movq 0x18(%rsi,%r15), %rbx
testq %rbx, %rbx
jne 0xedc7d
leaq 0x5b32f(%rip), %rdi     # 0x148f8d
leaq 0x5af43(%rip), %rsi     # 0x148ba8
leaq 0x5b33d(%rip), %rcx     # 0x148fa9
movl $0x537, %edx            # imm = 0x537
xorl %eax, %eax
callq 0xbe592
movq 0x18(%r14,%r15), %rbx
leaq 0xae7e4(%rip), %rax     # 0x19c468
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %rbx, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0xedcda
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0xedcda
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0xedcda
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0xedce3
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xedd0a
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0xae769(%rip), %rdi     # 0x19c468
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x18(%r14), %rbx
jmp 0xedd33
leaq 0x5b276(%rip), %rdi     # 0x148f8d
leaq 0x5ae8a(%rip), %rsi     # 0x148ba8
leaq 0x5aec4(%rip), %rcx     # 0x148be9
xorl %ebx, %ebx
movl $0x541, %edx            # imm = 0x541
xorl %eax, %eax
callq 0xbe592
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: bcore_array_p_get_type
tp_t bcore_array_p_get_type( const bcore_array_s* p, vc_t o, uz_t index )
{
    switch( p->type_caps )
    {
        case BCORE_CAPS_ARRAY_DYN_SOLID_STATIC: return p->item_p->header.o_type;
        case BCORE_CAPS_ARRAY_DYN_SOLID_TYPED:  return ( ( const bcore_array_dyn_solid_typed_s* )obj_vc( p, o ) )->type;
        case BCORE_CAPS_ARRAY_DYN_LINK_STATIC:  return p->item_p->header.o_type;
        case BCORE_CAPS_ARRAY_DYN_LINK_TYPED:   return ( ( const bcore_array_dyn_link_typed_s*  )obj_vc( p, o ) )->type;
        case BCORE_CAPS_ARRAY_DYN_LINK_AWARE:   { sr_s sr = p->get( p, o, index ); tp_t t = sr_s_type( &sr ); sr_down( sr ); return t; }
        case BCORE_CAPS_ARRAY_FIX_SOLID_STATIC: return p->item_p->header.o_type;
        case BCORE_CAPS_ARRAY_FIX_LINK_STATIC:  return p->item_p->header.o_type;
        case BCORE_CAPS_ARRAY_FIX_LINK_AWARE:   { sr_s sr = p->get( p, o, index ); tp_t t = sr_s_type( &sr ); sr_down( sr ); return t; }
        default: break;
    }
    return 0;
}

// Assembly:
pushq %rbx
subq $0x30, %rsp
movq 0x10(%rdi), %rax
addq $-0x6, %rax
cmpq $0x7, %rax
ja 0xee264
movq %rdx, %rcx
movq %rsi, %rdx
movq %rdi, %rsi
leaq 0x5a91c(%rip), %rdi     # 0x148b48
movslq (%rdi,%rax,4), %rax
addq %rdi, %rax
jmpq *%rax
movq 0x28(%rsi), %rax
movq 0x8(%rax), %rbx
jmp 0xee289
movq 0x20(%rsi), %rax
movq 0x18(%rdx,%rax), %rbx
jmp 0xee289
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq *0x30(%rsi)
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0xee268
movq 0x8(%rax), %rbx
jmp 0xee26a
xorl %ebx, %ebx
jmp 0xee289
xorl %ebx, %ebx
testb $0x2, 0x28(%rsp)
je 0xee289
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x18(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x107590
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: bcore_array_default_max_f
vc_t bcore_array_default_max_f( const bcore_array_s* p, const bcore_array* o, uz_t start, uz_t end, bcore_cmp_f cmp, s2_t direction )
{
    uz_t size = get_size( p, o );
    uz_t end_l = end < size ? end : size;
    if( start >= end_l ) return NULL;
    vc_t ret;

    if( bcore_array_p_is_of_links( p ) )
    {
        vc_t* data = ( vc_t* )bcore_array_p_get_c_data( p, o );
        uz_t  idx = start;
        for( uz_t i = start + 1; i < end_l; i++ ) idx = ( cmp.f( cmp.o, data[ idx ], data[ i ] ) * direction > 0 ) ? i : idx;
        ret = idx < end_l ? data[ idx ] : NULL;
    }
    else
    {
        uz_t unit_size = bcore_array_p_get_unit_size( p, o );
        vc_t src = ( u0_t* )bcore_array_p_get_c_data( p, o ) + unit_size * start;
        vc_t cur = src;
        for( uz_t i = start + 1; i < end_l; i++ )
        {
            src = ( u0_t* )src + unit_size;
            cur = ( cmp.f( cmp.o, cur, src ) * direction > 0 ) ? src : cur;
        }
        ret = cur;
    }
    return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, (%rsp)
movq %r8, %r14
movq %rcx, %r12
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %rbp
movq 0x18(%rdi), %rax
testq %rax, %rax
jne 0xee2c2
movq 0x20(%rbp), %rax
movq 0x8(%r13,%rax), %rax
cmpq %r12, %rax
cmovbq %rax, %r12
cmpq %r15, %r12
jbe 0xee396
cmpb $0x1, 0x42(%rbp)
jne 0xee320
movq %rbp, %rdi
movq %r13, %rsi
callq 0xedbba
movq %rax, %r13
leaq 0x1(%r15), %rbx
cmpq %r12, %rbx
jae 0xee387
movq (%r13,%r15,8), %rsi
movq (%r13,%rbx,8), %rdx
movq (%rsp), %rdi
callq *%r14
imull 0x40(%rsp), %eax
movq %rbx, %rcx
testl %eax, %eax
jg 0xee313
movq %r15, %rcx
incq %rbx
movq %rcx, %r15
cmpq %rbx, %r12
jne 0xee2f3
jmp 0xee38a
movq %rbp, %rdi
movq %r13, %rsi
callq 0xedc0d
movq %rax, %rbx
movq %rbp, %rdi
movq %r13, %rsi
callq 0xedbba
movq %rax, %rbp
movq %rbx, %r13
imulq %r15, %r13
addq %rax, %r13
leaq 0x1(%r15), %rax
cmpq %r12, %rax
jae 0xee3a7
notq %r15
addq %r12, %r15
imulq %rbx, %rax
addq %rax, %rbp
movq (%rsp), %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq *%r14
movl %eax, %ecx
imull 0x40(%rsp), %ecx
movq %rbp, %rax
testl %ecx, %ecx
jg 0xee37a
movq %r13, %rax
addq %rbx, %rbp
movq %rax, %r13
decq %r15
jne 0xee35c
jmp 0xee398
movq %r15, %rcx
cmpq %r12, %rcx
jae 0xee396
movq (%r13,%rcx,8), %rax
jmp 0xee398
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r13, %rax
jmp 0xee398
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: bcore_array_default_max
vc_t bcore_array_default_max( const bcore_array_s* p, const bcore_array* o, uz_t start, uz_t end, s2_t direction )
{
    bl_t is_of_aware = bcore_array_p_is_of_aware( p );
    bcore_cmp_f cmp =
    {
        .f = is_of_aware ? cmp_aware : ( bcore_fp_cmp_o )bcore_compare_spect,
        .o = is_of_aware ? NULL : bcore_compare_s_get_typed( bcore_array_p_get_mono_type( p, o ) )
    };
    return bcore_array_p_max_f( p, o, start, end, cmp, direction );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r8d, %ebp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
cmpb $0x0, 0x41(%rdi)
je 0xee3da
leaq 0xd6(%rip), %r8         # 0xee4a9
xorl %ebx, %ebx
jmp 0xee486
movq %rcx, 0x10(%rsp)
movq %r12, %rdi
movq %r15, %rsi
callq 0xee1d0
movq %rax, %r13
leaq 0xadc44(%rip), %rax     # 0x19c038
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r13, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0xee44a
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0xee44a
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0xee44a
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0xee453
movq (%rax,%rcx), %rbx
testq %rbx, %rbx
jne 0xee47a
movabsq $-0x12447a62f86214d4, %rdi # imm = 0xEDBB859D079DEB2C
movq %r13, %rsi
callq 0xe9bc5
movq %rax, %rbx
leaq 0xadbc9(%rip), %rdi     # 0x19c038
movq %r13, %rsi
movq %rax, %rdx
callq 0x115fac
leaq 0x5693(%rip), %r8       # 0xf3b14
movq 0x10(%rsp), %rcx
movl %ebp, (%rsp)
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %r9
callq 0xee292
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq