LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/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 0xb759b(%rip), %rax     # 0x1a8dd0
movq (%rax), %rsi
leaq 0x8(%rsp), %rdi
movq %rdi, (%rsp)
callq 0xe0431
movq (%rsp), %r14
leaq 0x6143c(%rip), %rdi     # 0x152c8d
xorl %eax, %eax
callq 0xc7ec8
callq 0xef88f
movq %r14, %rdi
movq %rax, %rsi
callq 0xe081c
movq %rax, %rbx
xorl %eax, %eax
callq 0x114bbb
movabsq $-0x503db0e6e1c2e704, %rsi # imm = 0xAFC24F191E3D18FC
movq %r14, %rdi
movq %rax, %rdx
callq 0xe0582
movq %rax, %r14
leaq 0xb8437(%rip), %r15     # 0x1a9cc8
leaq 0x6141d(%rip), %r12     # 0x152cb5
movq (%rbx), %r13
movl (%r15), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r15,%rax,8), %rcx
movq 0x18(%r15,%rax,8), %rdx
andq %r13, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0xf18f5
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0xf18f5
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0xf18f5
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0xf197f
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0xf1921
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r13, %rsi
callq 0xf3f85
movq %rax, %rbp
movq %r15, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x12128c
cmpq $0x0, 0x40(%rbp)
jne 0xf1937
movq %rbp, %rdi
leaq 0x535df(%rip), %rsi     # 0x144f11
callq 0xf592c
movq %rbx, %rdi
callq *0x40(%rbp)
testb %al, %al
jne 0xf1986
movq %rbx, %rdi
leaq 0x5d937(%rip), %rsi     # 0x14f282
movq %r14, %rdx
xorl %eax, %eax
callq 0x10ad37
cmpq $0x0, 0x10(%r14)
jne 0xf196d
movq %rbx, %rdi
leaq 0x61340(%rip), %rsi     # 0x152ca6
xorl %eax, %eax
callq 0x10b10a
movq %r12, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0xc7ec8
jmp 0xf1898
xorl %ebp, %ebp
jmp 0xf18f9
movq %rsp, %rdi
callq 0xe0b11
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x605c4(%rip), %rdi     # 0x152fb8
movl $0x38, %esi
movl $0x8, %edx
callq 0xce5c6
movq %rax, %rbx
leaq -0x50ce(%rip), %rsi     # 0xed93f
leaq 0x5afe1(%rip), %rdx     # 0x14d9f5
leaq 0x5afe3(%rip), %rcx     # 0x14d9fe
movq %rax, %rdi
callq 0xcd5ad
leaq -0x4c27(%rip), %rsi     # 0xede03
leaq 0x602b2(%rip), %rdx     # 0x152ce3
leaq 0x602b4(%rip), %rcx     # 0x152cec
movq %rbx, %rdi
callq 0xcd5ad
leaq 0xaba(%rip), %rsi       # 0xf3501
leaq 0x604a2(%rip), %rdx     # 0x152ef0
leaq 0x604ab(%rip), %rcx     # 0x152f00
movq %rbx, %rdi
callq 0xcd5ad
leaq -0x46bb(%rip), %rsi     # 0xee3a9
leaq 0x604a1(%rip), %rdx     # 0x152f0c
leaq 0x604aa(%rip), %rcx     # 0x152f1c
movq %rbx, %rdi
callq 0xcd5ad
leaq -0x48e1(%rip), %rsi     # 0xee1a0
leaq 0x60286(%rip), %rdx     # 0x152d0e
leaq 0x52482(%rip), %rcx     # 0x144f11
movq %rbx, %rdi
callq 0xcd5ad
leaq -0x4815(%rip), %rsi     # 0xee289
leaq 0x6029b(%rip), %rdx     # 0x152d40
leaq 0x527ae(%rip), %rcx     # 0x14525a
movq %rbx, %rdi
callq 0xcd5ad
leaq -0x476e(%rip), %rsi     # 0xee34d
leaq 0x602b6(%rip), %rdx     # 0x152d78
leaq 0x5269d(%rip), %rcx     # 0x145166
movq %rbx, %rdi
callq 0xcd5ad
leaq -0x4782(%rip), %rsi     # 0xee356
leaq 0x602b3(%rip), %rdx     # 0x152d92
leaq 0x52693(%rip), %rcx     # 0x145179
movq %rbx, %rdi
callq 0xcd5ad
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x60535(%rip), %rdi     # 0x153030
movl $0x18, %esi
movl $0x8, %edx
callq 0xce5c6
movq %rax, %rbx
leaq 0xabf(%rip), %rsi       # 0xf35d3
leaq 0x5aee3(%rip), %rdx     # 0x14d9fe
movq %rax, %rdi
callq 0xcd617
leaq 0xabf(%rip), %rsi       # 0xf35e9
leaq 0x4f699(%rip), %rdx     # 0x1421ca
movq %rbx, %rdi
callq 0xcd617
leaq 0xabc(%rip), %rsi       # 0xf35fc
leaq 0x5699c(%rip), %rdx     # 0x1494e3
movq %rbx, %rdi
callq 0xcd617
leaq 0xab9(%rip), %rsi       # 0xf360f
leaq 0x5bfe8(%rip), %rdx     # 0x14eb45
leaq 0x5fcfc(%rip), %rcx     # 0x152860
movq %rbx, %rdi
callq 0xcd5ad
leaq -0x37b9(%rip), %rsi     # 0xef3ba
leaq 0x60169(%rip), %rdx     # 0x152ce3
leaq 0x6016b(%rip), %rcx     # 0x152cec
movq %rbx, %rdi
callq 0xcd5ad
leaq 0xa92(%rip), %rsi       # 0xf3622
leaq 0x60359(%rip), %rdx     # 0x152ef0
leaq 0x60362(%rip), %rcx     # 0x152f00
movq %rbx, %rdi
callq 0xcd5ad
leaq -0x379a(%rip), %rsi     # 0xef413
leaq 0x6015a(%rip), %rdx     # 0x152d0e
leaq 0x52356(%rip), %rcx     # 0x144f11
movq %rbx, %rdi
callq 0xcd5ad
leaq -0x3792(%rip), %rsi     # 0xef438
leaq 0x6016f(%rip), %rdx     # 0x152d40
leaq 0x52682(%rip), %rcx     # 0x14525a
movq %rbx, %rdi
callq 0xcd5ad
leaq -0x37a6(%rip), %rsi     # 0xef441
leaq 0x6018a(%rip), %rdx     # 0x152d78
leaq 0x52571(%rip), %rcx     # 0x145166
movq %rbx, %rdi
callq 0xcd5ad
leaq -0x37b3(%rip), %rsi     # 0xef451
leaq 0x60187(%rip), %rdx     # 0x152d92
leaq 0x52567(%rip), %rcx     # 0x145179
movq %rbx, %rdi
callq 0xcd5ad
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/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 0xf30d6
callq 0xed664
movq %rax, %r14
movq %rax, 0x10(%rbx)
movq 0x30(%r15), %rax
movq 0x8(%rax), %rax
movq (%rax), %r15
testq %r15, %r15
je 0xf3119
movabsq $0x766eac77ec0f2a97, %rax # imm = 0x766EAC77EC0F2A97
cmpq %rax, (%r15)
jne 0xf3119
movq 0x8(%r15), %rax
movq 0x8(%rax), %rdi
callq 0x114e47
movq %rax, %r12
movq 0x8(%rbx), %rdi
callq 0x114f61
movq %r12, 0x8(%rbx)
xorl %eax, %eax
callq 0x114bbb
movq %rax, %r12
movq 0x28(%rbx), %rdi
callq 0x114f61
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 0xef47f
movq (%r13), %rax
movq %rax, 0x18(%rbx)
movq (%rbp), %rax
jmp 0xf3115
movq 0x10(%r15), %rsi
movq %rsi, 0x10(%rbx)
movq 0x8(%r15), %rdi
callq 0x1166ad
movq %rax, %r14
movq 0x28(%rbx), %rdi
callq 0x114f61
movq %r14, 0x28(%rbx)
movq 0x8(%r15), %rdi
movq 0x10(%r15), %rsi
callq 0x1163c9
movq %rax, 0x18(%rbx)
movq 0x8(%r15), %rdi
movq 0x10(%r15), %rsi
callq 0x116400
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_O1/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 0xf380d
xorl %r15d, %r15d
movq 0x8(%rbx), %rax
movq (%rax,%r15,8), %r13
movq (%r13), %rbp
leaq 0xb6634(%rip), %rdx     # 0x1a9cc8
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 0xf36ed
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0xf36ed
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0xf36ed
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0xf3800
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xf371d
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbp, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0xb65b6(%rip), %rdi     # 0x1a9cc8
movq %rbp, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r14, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x10aa4b
testq %r15, %r15
je 0xf37f1
movq 0x8(%rbx), %rax
movq -0x8(%rax,%r15,8), %r13
movq (%rax,%r15,8), %rbp
movq (%rbp), %r12
leaq 0xb657c(%rip), %rdx     # 0x1a9cc8
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 0xf37a1
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0xf37a1
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0xf37a1
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0xf3808
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xf37d1
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0xb6502(%rip), %rdi     # 0x1a9cc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
cmpq $0x0, 0x30(%r14)
jne 0xf37e7
movq %r14, %rdi
leaq 0x5f73a(%rip), %rsi     # 0x152f1c
callq 0xf592c
movq %rbp, %rdi
movq %r13, %rsi
callq *0x30(%r14)
incq %r15
cmpq 0x10(%rbx), %r15
jb 0xf3681
jmp 0xf380d
xorl %r14d, %r14d
jmp 0xf36f1
xorl %r14d, %r14d
jmp 0xf37a5
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0xf39ca
xorl %r15d, %r15d
movq 0x8(%rbx), %rax
movq (%rax,%r15,8), %r13
movq (%r13), %rbp
leaq 0xb6477(%rip), %rdx     # 0x1a9cc8
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 0xf38aa
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0xf38aa
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0xf38aa
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0xf39bd
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xf38da
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbp, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0xb63f9(%rip), %rdi     # 0x1a9cc8
movq %rbp, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r14, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x10aa4b
testq %r15, %r15
je 0xf39ae
movq 0x8(%rbx), %rax
movq -0x8(%rax,%r15,8), %r13
movq (%rax,%r15,8), %rbp
movq (%rbp), %r12
leaq 0xb63bf(%rip), %rdx     # 0x1a9cc8
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 0xf395e
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0xf395e
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0xf395e
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0xf39c5
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xf398e
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0xb6345(%rip), %rdi     # 0x1a9cc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
cmpq $0x0, 0x30(%r14)
jne 0xf39a4
movq %r14, %rdi
leaq 0x5f57d(%rip), %rsi     # 0x152f1c
callq 0xf592c
movq %rbp, %rdi
movq %r13, %rsi
callq *0x30(%r14)
incq %r15
cmpq 0x10(%rbx), %r15
jb 0xf383e
jmp 0xf39ca
xorl %r14d, %r14d
jmp 0xf38ae
xorl %r14d, %r14d
jmp 0xf3962
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0xed664
movq %rax, 0x10(%rbx)
cmpq $0x0, 0x10(%r15)
je 0xf3a81
movq %rax, %r14
movq 0x8(%r15), %rax
movq (%rax), %r15
testq %r15, %r15
je 0xf3a81
movabsq $0x766eac77ec0f2a97, %rax # imm = 0x766EAC77EC0F2A97
cmpq %rax, (%r15)
jne 0xf3a81
movq 0x8(%r15), %rax
movq 0x8(%rax), %rdi
callq 0x114e47
movq %rax, %r12
movq 0x8(%rbx), %rdi
callq 0x114f61
movq %r12, 0x8(%rbx)
xorl %eax, %eax
callq 0x114bbb
movq %rax, %r12
movq 0x28(%rbx), %rdi
callq 0x114f61
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 0xef47f
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_O1/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 %rdi, %r15
leaq 0xb6216(%rip), %r12     # 0x1a9cc8
movabsq $-0x7e8ee9b9b4bbaa8, %r13 # imm = 0xF817116464B44558
movabsq $-0x7a841657f0cf5c40, %rbp # imm = 0x857BE9A80F30A3C0
movq 0x10(%r15), %rax
testq %rax, %rax
je 0xf3b77
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 0xf3b36
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0xf3b36
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0xf3b36
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0xf3b72
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xf3b5b
movq %r13, %rdi
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %r14
movq %r12, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
cmpq $0x0, 0x20(%r14)
jne 0xf3ba6
movq %r15, %rdi
movq %rbp, %rsi
callq 0xed121
jmp 0xf3ac6
xorl %r14d, %r14d
jmp 0xf3b3a
leaq 0x5f54b(%rip), %rdi     # 0x1530c9
leaq 0x5ef3b(%rip), %rsi     # 0x152ac0
leaq 0x5f54c(%rip), %rcx     # 0x1530d8
movl $0xfa, %edx
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xc80f6
movq 0x8(%r15), %rax
movq 0x10(%r15), %rcx
movq -0x8(%rax,%rcx,8), %rdi
movq 0x20(%r14), %rax
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_O1/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 %rdi, %r15
leaq 0xb60d5(%rip), %r12     # 0x1a9cc8
movabsq $-0x7e8ee9b9b4bbaa8, %r13 # imm = 0xF817116464B44558
movabsq $-0x7a841657f0cf5c40, %rbp # imm = 0x857BE9A80F30A3C0
movq 0x10(%r15), %rax
testq %rax, %rax
je 0xf3cb8
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 0xf3c77
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0xf3c77
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0xf3c77
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0xf3cb3
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xf3c9c
movq %r13, %rdi
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %r14
movq %r12, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
cmpq $0x0, 0x28(%r14)
jne 0xf3cea
movq %r15, %rdi
movq %rbp, %rsi
callq 0xed121
jmp 0xf3c07
xorl %r14d, %r14d
jmp 0xf3c7b
leaq 0x5f428(%rip), %rdi     # 0x1530e7
leaq 0x5edfa(%rip), %rsi     # 0x152ac0
leaq 0x5f40b(%rip), %rcx     # 0x1530d8
movl $0x112, %edx            # imm = 0x112
xorl %eax, %eax
callq 0xc80f6
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%r15), %rax
movq 0x10(%r15), %rcx
movq -0x8(%rax,%rcx,8), %rdi
movq 0x28(%r14), %rax
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
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/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
movb $0x5f, %dil
movabsq $0x100000001b3, %rax    # imm = 0x100000001B3
xorl %ecx, %ecx
leaq 0x5e3ec(%rip), %rsi     # 0x152239
movq %r14, %rdx
movzbl %dil, %edi
xorq %rdi, %rdx
imulq %rax, %rdx
movb 0x1(%rcx,%rsi), %dil
incq %rcx
cmpq $0x2, %rcx
jne 0xf3e50
movl $0xff, %ecx
movq %rbx, %rsi
andq %rcx, %rsi
xorq %rsi, %rdx
imulq %rax, %rdx
movl %ebx, %esi
shrl $0x8, %esi
movl $0xff, %edi
andl %edi, %esi
xorq %rdx, %rsi
imulq %rax, %rsi
movl %ebx, %edx
shrl $0x10, %edx
andl %edi, %edx
xorq %rsi, %rdx
imulq %rax, %rdx
movl %ebx, %esi
shrl $0x18, %esi
xorq %rdx, %rsi
imulq %rax, %rsi
movq %rbx, %rdx
shrq $0x20, %rdx
andq %rcx, %rdx
xorq %rsi, %rdx
imulq %rax, %rdx
movq %rbx, %rsi
shrq $0x28, %rsi
andq %rcx, %rsi
xorq %rdx, %rsi
imulq %rax, %rsi
movq %rbx, %rdx
shrq $0x30, %rdx
andq %rcx, %rdx
xorq %rsi, %rdx
imulq %rax, %rdx
movq %rbx, %r15
shrq $0x38, %r15
xorq %rdx, %r15
imulq %rax, %r15
movq 0xb4f18(%rip), %rdi     # 0x1a8e08
addq $0x60, %rdi
callq 0x11f515
movq 0xb4f08(%rip), %rdi     # 0x1a8e08
addq $0x20, %rdi
movq %r15, %rsi
callq 0xd2280
movl %eax, %ebp
movq 0xb4ef3(%rip), %rdi     # 0x1a8e08
addq $0x60, %rdi
callq 0x11f547
testb %bpl, %bpl
je 0xf3f30
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 0x12223f
// File: /workspace/github_c_makefile_star2_O1/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 0x12104d
movq 0xb4eb1(%rip), %rdi     # 0x1a8e08
addq $0x60, %rdi
callq 0x11f515
movl $0x2a0, %edi            # imm = 0x2A0
addq 0xb4e9c(%rip), %rdi     # 0x1a8e08
movq %rbx, %rsi
callq 0xc40a2
movq 0xb4e8d(%rip), %rdi     # 0x1a8e08
addq $0x60, %rdi
popq %rbx
jmp 0x11f547
// File: /workspace/github_c_makefile_star2_O1/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 0xcf6c4
callq *%rbx
movq %rax, %rbx
movq %rax, %rdi
movq %r14, %rsi
callq 0xf4a5c
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xcd3ca
// File: /workspace/github_c_makefile_star2_O1/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 0xe9c93
movabsq $-0x69a05554ee793861, %rcx # imm = 0x965FAAAB1186C79F
cmpq %rcx, %rax
je 0xf5a88
movabsq $0x6a72ce8f8250efc6, %rcx # imm = 0x6A72CE8F8250EFC6
cmpq %rcx, %rax
je 0xf59fd
movabsq $0x6a72cf8f8250f179, %rcx # imm = 0x6A72CF8F8250F179
cmpq %rcx, %rax
jne 0xf5b0a
leaq 0xb342c(%rip), %rdi     # 0x1a8e18
leaq 0x137(%rip), %rsi       # 0xf5b2a
callq 0x11f8a7
jmp 0xf5b0a
leaq 0x5e69d(%rip), %rdi     # 0x1540a1
callq 0xe1270
movq %rax, %rbx
movq %rax, %rdi
callq 0x121a2b
movq %rbx, %rdi
callq 0x12199d
leaq 0x176(%rip), %rsi       # 0xf5b99
movq %rbx, %rdi
callq 0x121aea
movabsq $-0x55a2d062927a0ff9, %rsi # imm = 0xAA5D2F9D6D85F007
movq %rbx, %rdi
callq 0x121b6d
leaq 0xd0(%rip), %rsi        # 0xf5b14
movabsq $-0x7c15e45e4ba87aee, %rdi # imm = 0x83EA1BA1B4578512
callq 0xcf6c4
leaq 0x5dc96(%rip), %rdi     # 0x1536f0
callq 0xe1270
movabsq $0x2d929df1d8b41fe3, %rsi # imm = 0x2D929DF1D8B41FE3
movl $0x8, %edx
movl $0x8, %ecx
movq %rax, %rdi
callq 0xcd779
movq %rax, %rdi
callq 0xcf203
jmp 0xf5b0a
movq 0x10(%rbx), %rax
testq %rax, %rax
je 0xf5ae7
cmpl $0x0, (%rax)
jle 0xf5ae7
callq 0xf4be8
movq %rax, %rbx
callq 0x11c4a0
movq %rax, %r14
movq 0xb335b(%rip), %rsi     # 0x1a8e08
testq %rsi, %rsi
je 0xf5ac9
leaq 0x1ba(%rip), %rdi       # 0xf5c73
callq 0xc8352
movq $0x0, 0xb333f(%rip) # 0x1a8e08
callq 0x11c4a0
subq %rax, %r14
leaq 0x5ddbd(%rip), %rdi     # 0x153895
movq %r14, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xc7e11
jmp 0xf5b0a
movq 0xb331a(%rip), %rsi     # 0x1a8e08
testq %rsi, %rsi
je 0xf5b0a
leaq 0x179(%rip), %rdi       # 0xf5c73
callq 0xc8352
movq $0x0, 0xb32fe(%rip) # 0x1a8e08
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/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 0xf5bfe
movq %rdi, %r15
xorl %esi, %esi
callq 0xcd3f0
movb $0x1, %bl
movabsq $-0x7c15e45e4ba87aee, %rcx # imm = 0x83EA1BA1B4578512
cmpq %rcx, (%rax)
je 0xf5c6b
movq %r15, %rdi
callq 0xcd3df
cmpq $0x1, %rax
ja 0xf5c18
testq %r14, %r14
je 0xf5c69
movq %r15, %rdi
callq 0xcd3df
leaq 0x5dcf8(%rip), %rsi     # 0x1538e5
xorl %ebx, %ebx
movq %r14, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x1157cb
jmp 0xf5c6b
testq %r14, %r14
je 0xf5c69
leaq 0x5dcc3(%rip), %rsi     # 0x1538cd
xorl %ebx, %ebx
movq %r14, %rdi
xorl %eax, %eax
callq 0x1157cb
jmp 0xf5c6b
movq %r15, %rdi
xorl %esi, %esi
callq 0xcd3f0
movabsq $-0x388c46b188de83fe, %rcx # imm = 0xC773B94E77217C02
cmpq %rcx, (%rax)
jne 0xf5c5b
movl $0x1, %esi
movq %r15, %rdi
callq 0xcd3f0
movabsq $0x6d07f9ef5b68e8a2, %rcx # imm = 0x6D07F9EF5B68E8A2
cmpq %rcx, (%rax)
je 0xf5c6b
testq %r14, %r14
je 0xf5c69
leaq 0x5dce4(%rip), %rsi     # 0x15393d
jmp 0xf5c0a
testq %r14, %r14
je 0xf5c69
leaq 0x5dcb8(%rip), %rsi     # 0x15391f
jmp 0xf5c0a
xorl %ebx, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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 0xf72eb
movl $0x700, %eax            # imm = 0x700
btq %r8, %rax
jb 0xf7254
movl $0x3800, %eax           # imm = 0x3800
btq %r8, %rax
jae 0xf72cd
leaq 0x5cb21(%rip), %rdi     # 0x153d5b
leaq 0x5c93f(%rip), %rsi     # 0x153b80
leaq 0x5cae2(%rip), %rcx     # 0x153d2a
movl $0x3c0, %edx            # imm = 0x3C0
xorl %eax, %eax
jmp 0xc80f6
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x18(%rdi), %rax
movq %rax, %r15
testq %rax, %rax
jne 0xf7274
movq 0x20(%r14), %rcx
movq 0x8(%rbx,%rcx), %r15
testq %rax, %rax
jne 0xf7282
movq 0x20(%r14), %rax
movq 0x10(%rbx,%rax), %rax
cmpq %rax, %r15
jbe 0xf7292
movq %r14, %rdi
movq %rbx, %rsi
callq 0xf5ec4
movq %r14, %rdi
movq %rbx, %rsi
callq 0xf730c
testq %r15, %r15
je 0xf72d9
xorl %ecx, %ecx
xorl %edx, %edx
movq (%rax,%rcx,8), %rsi
testq %rsi, %rsi
je 0xf72c3
cmpq %rdx, %rcx
jbe 0xf72c0
movq %rsi, (%rax,%rdx,8)
movq $0x0, (%rax,%rcx,8)
incq %rdx
incq %rcx
cmpq %rcx, %r15
jne 0xf72a6
jmp 0xf72db
movl $0xc0, %eax
btq %r8, %rax
jae 0xf72eb
retq
xorl %edx, %edx
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0xf69d8
leaq 0x5ca69(%rip), %rdi     # 0x153d5b
leaq 0x5c887(%rip), %rsi     # 0x153b80
leaq 0x5c8c1(%rip), %rcx     # 0x153bc1
movl $0x3c6, %edx            # imm = 0x3C6
xorl %eax, %eax
jmp 0xc80f6
// File: /workspace/github_c_makefile_star2_O1/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 %r14
pushq %rbx
pushq %rax
movq 0x10(%rdi), %r8
leaq -0x6(%r8), %rax
cmpq $0x7, %rax
ja 0xf8236
movl $0x8, %r14d
leaq 0x5b94c(%rip), %rcx     # 0x153aa4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x28(%rdi), %rax
movq 0x18(%rax), %r14
jmp 0xf825a
movq %rsi, %rbx
movq 0x20(%rdi), %r14
cmpq $0x0, 0x18(%rsi,%r14)
jne 0xf819e
leaq 0x5bde1(%rip), %rdi     # 0x153f65
leaq 0x5b9f5(%rip), %rsi     # 0x153b80
leaq 0x5bdef(%rip), %rcx     # 0x153f81
movl $0x537, %edx            # imm = 0x537
xorl %eax, %eax
callq 0xc80f6
movq 0x18(%rbx,%r14), %rbx
leaq 0xb12be(%rip), %rax     # 0x1a9468
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 0xf8200
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0xf8200
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0xf8200
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0xf8265
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xf8230
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0xb1243(%rip), %rdi     # 0x1a9468
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
movq 0x18(%r14), %r14
jmp 0xf825a
leaq 0x5bd28(%rip), %rdi     # 0x153f65
leaq 0x5b93c(%rip), %rsi     # 0x153b80
leaq 0x5b976(%rip), %rcx     # 0x153bc1
xorl %r14d, %r14d
movl $0x541, %edx            # imm = 0x541
xorl %eax, %eax
callq 0xc80f6
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
xorl %r14d, %r14d
jmp 0xf8204
// File: /workspace/github_c_makefile_star2_O1/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 0xf8792
movq %rdx, %rcx
movq %rsi, %rdx
movq %rdi, %rsi
leaq 0x5b3c6(%rip), %rdi     # 0x153b20
movslq (%rdi,%rax,4), %rax
addq %rdi, %rax
jmpq *%rax
movq 0x28(%rsi), %rax
movq 0x8(%rax), %rbx
jmp 0xf87b7
movq 0x20(%rsi), %rax
movq 0x18(%rdx,%rax), %rbx
jmp 0xf87b7
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq *0x30(%rsi)
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0xf8796
movq 0x8(%rax), %rbx
jmp 0xf8798
xorl %ebx, %ebx
jmp 0xf87b7
xorl %ebx, %ebx
testb $0x2, 0x28(%rsp)
je 0xf87b7
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x18(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x112485
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/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 0xf87f0
movq 0x20(%rbp), %rax
movq 0x8(%r13,%rax), %rax
cmpq %r12, %rax
cmovbq %rax, %r12
cmpq %r15, %r12
jbe 0xf88c4
cmpb $0x1, 0x42(%rbp)
jne 0xf884e
movq %rbp, %rdi
movq %r13, %rsi
callq 0xf80e2
movq %rax, %r13
leaq 0x1(%r15), %rbx
cmpq %r12, %rbx
jae 0xf88b5
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 0xf8841
movq %r15, %rcx
incq %rbx
movq %rcx, %r15
cmpq %rbx, %r12
jne 0xf8821
jmp 0xf88b8
movq %rbp, %rdi
movq %r13, %rsi
callq 0xf8135
movq %rax, %rbx
movq %rbp, %rdi
movq %r13, %rsi
callq 0xf80e2
movq %rax, %rbp
movq %rbx, %r13
imulq %r15, %r13
addq %rax, %r13
leaq 0x1(%r15), %rax
cmpq %r12, %rax
jae 0xf88d5
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 0xf88a8
movq %r13, %rax
addq %rbx, %rbp
movq %rax, %r13
decq %r15
jne 0xf888a
jmp 0xf88c6
movq %r15, %rcx
cmpq %r12, %rcx
jae 0xf88c4
movq (%r13,%rcx,8), %rax
jmp 0xf88c6
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r13, %rax
jmp 0xf88c6
// File: /workspace/github_c_makefile_star2_O1/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 %rsi, %r15
movq %rdi, %r12
cmpb $0x0, 0x41(%rdi)
je 0xf8906
leaq 0xe6(%rip), %rbx        # 0xf89e4
xorl %r14d, %r14d
jmp 0xf89bc
movq %rdx, 0x8(%rsp)
movq %rcx, 0x10(%rsp)
movq %r12, %rdi
movq %r15, %rsi
callq 0xf86fe
movq %rax, %r13
leaq 0xb0713(%rip), %rax     # 0x1a9038
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 0xf897b
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0xf897b
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0xf897b
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0xf89df
movq (%rax,%rcx), %r14
leaq 0x57d6(%rip), %rbx      # 0xfe15c
testq %r14, %r14
jne 0xf89b2
movabsq $-0x12447a62f86214d4, %rdi # imm = 0xEDBB859D079DEB2C
movq %r13, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0xb0691(%rip), %rdi     # 0x1a9038
movq %r13, %rsi
movq %rax, %rdx
callq 0x12128c
movq 0x10(%rsp), %rcx
movq 0x8(%rsp), %rdx
movl %ebp, (%rsp)
movq %r12, %rdi
movq %r15, %rsi
movq %rbx, %r8
movq %r14, %r9
callq 0xf87c0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r14d, %r14d
jmp 0xf897f
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: bcore_array_default_max_index_f
uz_t bcore_array_default_max_index_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 end_l;

    uz_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;
    }
    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;
        uz_t idx = start;
        for( uz_t i = start + 1; i < end_l; i++ )
        {
            src = ( u0_t* )src + unit_size;
            if( cmp.f( cmp.o, cur, src ) * direction > 0 )
            {
                cur = src;
                idx = i;
            }
        }
        ret = idx;
    }
    return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
movq 0x18(%rdi), %rax
testq %rax, %rax
jne 0xf8a25
movq 0x20(%rbp), %rax
movq 0x8(%r13,%rax), %rax
cmpq %r14, %rax
cmovbq %rax, %r14
cmpq %r12, %r14
jbe 0xf8a84
cmpb $0x1, 0x42(%rbp)
jne 0xf8a89
movq %rbp, %rdi
movq %r13, %rsi
callq 0xf80e2
leaq 0x1(%r12), %rbx
cmpq %r14, %rbx
jae 0xf8af9
movq %rax, %r13
movq (%r13,%r12,8), %rsi
movq (%r13,%rbx,8), %rdx
movq 0x10(%rsp), %rdi
callq *0x8(%rsp)
movl %eax, %ecx
imull 0x50(%rsp), %ecx
movq %rbx, %rax
testl %ecx, %ecx
jg 0xf8a77
movq %r12, %rax
incq %rbx
movq %rax, %r12
cmpq %rbx, %r14
jne 0xf8a53
jmp 0xf8afc
movq %r14, %rax
jmp 0xf8afc
movq %rbp, %rdi
movq %r13, %rsi
callq 0xf8135
movq %rax, %r15
movq %rbp, %rdi
movq %r13, %rsi
callq 0xf80e2
leaq 0x1(%r12), %rbx
cmpq %r14, %rbx
jae 0xf8af9
movq %r15, %r13
imulq %r12, %r13
addq %rax, %r13
movq %r15, %rbp
imulq %rbx, %rbp
addq %rax, %rbp
movq 0x10(%rsp), %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq *0x8(%rsp)
movl %eax, %ecx
imull 0x50(%rsp), %ecx
movq %rbp, %rdx
movq %rbx, %rax
testl %ecx, %ecx
jg 0xf8ae6
movq %r13, %rdx
movq %r12, %rax
incq %rbx
addq %r15, %rbp
movq %rax, %r12
movq %rdx, %r13
cmpq %rbx, %r14
jne 0xf8ac0
jmp 0xf8afc
movq %r12, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: bcore_array_default_max_index
uz_t bcore_array_default_max_index( 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_index_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 %rsi, %r15
movq %rdi, %r12
cmpb $0x0, 0x41(%rdi)
je 0xf8b37
leaq -0x14b(%rip), %rbx      # 0xf89e4
xorl %r14d, %r14d
jmp 0xf8bed
movq %rdx, 0x8(%rsp)
movq %rcx, 0x10(%rsp)
movq %r12, %rdi
movq %r15, %rsi
callq 0xf86fe
movq %rax, %r13
leaq 0xb04e2(%rip), %rax     # 0x1a9038
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 0xf8bac
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0xf8bac
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0xf8bac
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0xf8c10
movq (%rax,%rcx), %r14
leaq 0x55a5(%rip), %rbx      # 0xfe15c
testq %r14, %r14
jne 0xf8be3
movabsq $-0x12447a62f86214d4, %rdi # imm = 0xEDBB859D079DEB2C
movq %r13, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0xb0460(%rip), %rdi     # 0x1a9038
movq %r13, %rsi
movq %rax, %rdx
callq 0x12128c
movq 0x10(%rsp), %rcx
movq 0x8(%rsp), %rdx
movl %ebp, (%rsp)
movq %r12, %rdi
movq %r15, %rsi
movq %rbx, %r8
movq %r14, %r9
callq 0xf89ef
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r14d, %r14d
jmp 0xf8bb0