LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/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, 0x8(%rsp)
movq %r8, %r15
movq %rcx, %rbx
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
movq 0x18(%rdi), %rax
testq %rax, %rax
jne 0x7cf83
movq 0x20(%rbp), %rax
movq 0x8(%r13,%rax), %rax
cmpq %rbx, %rax
cmovbq %rax, %rbx
cmpq %r12, %rbx
jbe 0x7d052
cmpb $0x1, 0x42(%rbp)
jne 0x7cfde
movq %rbp, %rdi
movq %r13, %rsi
callq 0x7c753
movq %rax, %r13
leaq 0x1(%r12), %r14
cmpq %rbx, %r14
jae 0x7d04f
movq (%r13,%r12,8), %rsi
movq (%r13,%r14,8), %rdx
movq 0x8(%rsp), %rdi
callq *%r15
imull 0x50(%rsp), %eax
movq %r14, %rcx
testl %eax, %eax
jg 0x7cfd6
movq %r12, %rcx
incq %r14
movq %rcx, %r12
jmp 0x7cfac
movq %r15, 0x10(%rsp)
movq %rbp, %rdi
movq %r13, %rsi
callq 0x7c7a6
movq %rax, %r14
movq %rbp, %rdi
movq %r13, %rsi
callq 0x7c753
movq %r14, %rbp
movq %r14, %r13
imulq %r12, %r13
addq %rax, %r13
leaq 0x1(%r12), %r14
movq %rbp, %r15
imulq %r14, %rbp
addq %rax, %rbp
cmpq %rbx, %r14
jae 0x7d04f
movq 0x8(%rsp), %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq *0x10(%rsp)
imull 0x50(%rsp), %eax
movq %rbp, %rcx
movq %r14, %rdx
testl %eax, %eax
jg 0x7d041
movq %r13, %rcx
movq %r12, %rdx
addq %r15, %rbp
incq %r14
movq %rcx, %r13
movq %rdx, %r12
jmp 0x7d018
movq %r12, %rbx
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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 %r12
pushq %rbx
subq $0x10, %rsp
movl %r8d, %ebp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
cmpb $0x0, 0x41(%rdi)
je 0x7d091
leaq -0x198(%rip), %r8       # 0x7cef4
xorl %r9d, %r9d
jmp 0x7d0ae
movq %r12, %rdi
movq %r15, %rsi
callq 0x7ccc9
movq %rax, %rdi
callq 0x7ceff
movq %rax, %r9
leaq 0x3caf(%rip), %r8       # 0x80d5d
movl %ebp, (%rsp)
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x7cf4f
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: buf_sort_link
static void buf_sort_link( vc_t* data, uz_t size, vc_t* buf, bcore_cmp_f cmp, s2_t direction )
{
    if( size < 2 ) return;
    uz_t size1 = size >> 1;
    buf_sort_link( data,         size1       , buf, cmp, direction );
    buf_sort_link( data + size1, size - size1, buf, cmp, direction );
    bcore_memcpy( buf, data, size1 * sizeof( vc_t ) );
    for( uz_t i = 0, w = 0, r = size1; i < size1; )
    {
        data[ w++ ] = ( r == size || cmp.f( cmp.o, buf[ i ], data[ r ] ) * direction >= 0 ) ? buf[ i++ ] : data[ r++ ];
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, 0xc(%rsp)
movq %r8, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq %rdi, 0x10(%rsp)
cmpq $0x2, %rsi
jae 0x7d2d2
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r12
movq %rsi, %r15
movq %rsi, %rbx
shrq %rbx
movq 0x10(%rsp), %rbp
movq %rbp, %rdi
movq %rbx, %rsi
movq 0x18(%rsp), %r13
movq %r13, %rcx
movq 0x20(%rsp), %r14
movq %r14, %r8
movl 0xc(%rsp), %r9d
callq 0x7d29b
leaq (,%rbx,8), %rdi
addq %rbp, %rdi
movq %r15, %rsi
subq %rbx, %rsi
movq %r12, %rdx
movq %r13, %rcx
movq %r14, %r8
movl 0xc(%rsp), %r9d
callq 0x7d29b
leaq (,%rbx,8), %rdx
movq %r12, %rdi
movq %rbp, %rsi
callq 0x60300
xorl %r14d, %r14d
movq %rbx, %r13
cmpq %rbx, %r14
jae 0x7d2c3
cmpq %r15, %r13
je 0x7d36d
movq (%r12,%r14,8), %rsi
movq 0x10(%rsp), %rax
movq (%rax,%r13,8), %rdx
movq 0x20(%rsp), %rdi
callq *0x18(%rsp)
imull 0xc(%rsp), %eax
testl %eax, %eax
js 0x7d381
leaq (%r12,%r14,8), %rax
incq %r14
movq (%rax), %rax
movq %rax, (%rbp)
addq $0x8, %rbp
jmp 0x7d340
movq 0x10(%rsp), %rax
leaq (%rax,%r13,8), %rax
incq %r13
jmp 0x7d374
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: bcore_array_default_do
void bcore_array_default_do( const bcore_array_s* p, bcore_array* o, uz_t start, uz_t end, fp_t func )
{
    uz_t size = get_size( p, o );
    uz_t end_l = end < size ? end : size;
    if( start >= end_l ) return;

    if( bcore_array_p_is_of_links( p ) )
    {
        vd_t* data = ( vd_t* )bcore_array_p_get_d_data( p, o );
        for( uz_t i = start; i < end_l; i++ ) ( ( void (*)( vd_t ) )func )( data[ i ] );
    }
    else
    {
        uz_t unit_size = bcore_array_p_get_unit_size( p, o );
        vd_t ptr = ( u0_t* )bcore_array_p_get_d_data( p, o ) + unit_size * start;
        for( uz_t i = start; i < end_l; i++ )
        {
            ( ( void (*)( vd_t ) )func )( ptr );
            ptr = ( u0_t* )ptr + unit_size;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
movq 0x18(%rdi), %rax
testq %rax, %rax
jne 0x7d603
movq 0x20(%r13), %rax
movq 0x8(%r12,%rax), %rax
cmpq %r14, %rax
cmovbq %rax, %r14
cmpq %r15, %r14
jbe 0x7d669
cmpb $0x1, 0x42(%r13)
jne 0x7d634
movq %r13, %rdi
movq %r12, %rsi
callq 0x7bf18
movq %rax, %r12
cmpq %r14, %r15
jae 0x7d669
movq (%r12,%r15,8), %rdi
callq *%rbx
incq %r15
jmp 0x7d624
movq %r13, %rdi
movq %r12, %rsi
callq 0x7c7a6
movq %rax, %rbp
movq %r13, %rdi
movq %r12, %rsi
callq 0x7bf18
movq %rbp, %r12
imulq %r15, %r12
addq %rax, %r12
cmpq %r14, %r15
jae 0x7d669
movq %r12, %rdi
callq *%rbx
addq %rbp, %r12
incq %r15
jmp 0x7d657
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: bcore_array_default_do_arg
void bcore_array_default_do_arg( const bcore_array_s* p, bcore_array* o, uz_t start, uz_t end, fp_t func, vd_t arg )
{
    uz_t size = get_size( p, o );
    uz_t end_l = end < size ? end : size;
    if( start >= end_l ) return;

    if( bcore_array_p_is_of_links( p ) )
    {
        vd_t* data = ( vd_t* )bcore_array_p_get_d_data( p, o );
        for( uz_t i = start; i < end_l; i++ ) ( ( void (*)( vd_t, vd_t ) )func )( arg, data[ i ] );
    }
    else
    {
        uz_t unit_size = bcore_array_p_get_unit_size( p, o );
        vd_t ptr = ( u0_t* )bcore_array_p_get_d_data( p, o ) + unit_size * start;
        for( uz_t i = start; i < end_l; i++ )
        {
            ( ( void (*)( vd_t, vd_t ) )func )( arg, ptr );
            ptr = ( u0_t* )ptr + unit_size;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rdi, %rbp
movq 0x18(%rdi), %rax
testq %rax, %rax
jne 0x7d6a4
movq 0x20(%rbp), %rax
movq 0x8(%rsi,%rax), %rax
cmpq %r15, %rax
cmovbq %rax, %r15
cmpq %r12, %r15
jbe 0x7d711
cmpb $0x1, 0x42(%rbp)
jne 0x7d6d6
movq %rbp, %rdi
callq 0x7bf18
movq %rax, %r13
cmpq %r15, %r12
jae 0x7d711
movq (%r13,%r12,8), %rsi
movq %rbx, %rdi
callq *%r14
incq %r12
jmp 0x7d6c1
movq %rbp, %rdi
movq %rsi, (%rsp)
callq 0x7c7a6
movq %rax, %r13
movq %rbp, %rdi
movq (%rsp), %rsi
callq 0x7bf18
movq %r13, %rbp
imulq %r12, %rbp
addq %rax, %rbp
cmpq %r15, %r12
jae 0x7d711
movq %rbx, %rdi
movq %rbp, %rsi
callq *%r14
addq %r13, %rbp
incq %r12
jmp 0x7d6fb
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: buf_order_sort
static void buf_order_sort( vc_t* data, uz_t* order, uz_t size, uz_t* buf, bcore_cmp_f cmp, s2_t direction )
{
    if( size < 2 ) return;
    uz_t size1 = size >> 1;
    buf_order_sort( data, order,         size1       , buf, cmp, direction );
    buf_order_sort( data, order + size1, size - size1, buf, cmp, direction );
    bcore_memcpy( buf, order, size1 * sizeof( uz_t ) );
    for( uz_t i = 0, w = 0, r = size1; i < size1; )
    {
        order[ w++ ] = ( r == size || cmp.f( cmp.o, data[ buf[ i ] ], data[ order[ r ] ] ) * direction >= 0 ) ? buf[ i++ ] : order[ r++ ];
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, 0x20(%rsp)
movq %r8, 0x18(%rsp)
movq %rsi, 0x10(%rsp)
movq %rdi, 0x8(%rsp)
cmpq $0x2, %rdx
jae 0x7d92b
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rcx, %r15
movq %rdx, %rbp
movl 0x60(%rsp), %eax
movq %rdx, %rbx
shrq %rbx
movl %eax, (%rsp)
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %r13
movq %r13, %rsi
movq %rbx, %rdx
movq 0x18(%rsp), %r12
movq %r12, %r8
movq 0x20(%rsp), %r14
movq %r14, %r9
callq 0x7d8f4
leaq (,%rbx,8), %rsi
addq %r13, %rsi
movq %rbp, %rdx
subq %rbx, %rdx
movl 0x60(%rsp), %eax
movl %eax, (%rsp)
movq 0x8(%rsp), %rdi
movq %r15, %rcx
movq %r12, %r8
movq %r14, %r9
callq 0x7d8f4
leaq (,%rbx,8), %rdx
movq %r15, %rdi
movq %r13, %rsi
callq 0x60300
xorl %r14d, %r14d
movq %rbx, %r12
cmpq %rbx, %r14
jae 0x7d91c
cmpq %rbp, %r12
je 0x7d9e1
movq (%r15,%r14,8), %rax
movq 0x8(%rsp), %rcx
movq (%rcx,%rax,8), %rsi
movq 0x10(%rsp), %rax
movq (%rax,%r12,8), %rax
movq (%rcx,%rax,8), %rdx
movq 0x20(%rsp), %rdi
callq *0x18(%rsp)
imull 0x60(%rsp), %eax
testl %eax, %eax
js 0x7d9f5
leaq (%r15,%r14,8), %rax
incq %r14
movq (%rax), %rax
movq %rax, (%r13)
addq $0x8, %r13
jmp 0x7d9a7
movq 0x10(%rsp), %rax
leaq (%rax,%r12,8), %rax
incq %r12
jmp 0x7d9e8
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: bcore_array_default_create_sorted_order
bcore_arr_uz_s* bcore_array_default_create_sorted_order( 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_create_sorted_order_f( p, o, start, end, cmp, direction );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %r8d, %ebp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
cmpb $0x0, 0x41(%rdi)
je 0x7da30
leaq -0xb37(%rip), %r8       # 0x7cef4
xorl %r9d, %r9d
jmp 0x7da4d
movq %r12, %rdi
movq %r15, %rsi
callq 0x7ccc9
movq %rax, %rdi
callq 0x7ceff
movq %rax, %r9
leaq 0x3310(%rip), %r8       # 0x80d5d
movl %ebp, (%rsp)
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x7d720
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: array_s_supports
static bl_t array_s_supports( const bcore_self_s* self, st_s* log )
{
    uz_t items_size = bcore_self_s_items_size( self );
    for( uz_t i = 0; i < items_size; i++ )
    {
        if( bcore_flect_caps_is_array( bcore_self_s_get_item( self, i )->caps ) ) return true;
    }
    if( log ) st_s_pushf( log, "Object is no array." );
    return false;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r12
callq 0x6389b
movq %rax, %r14
xorl %ecx, %ecx
movq %rcx, %r15
cmpq %rcx, %r14
je 0x7f299
movq %r12, %rdi
movq %r15, %rsi
callq 0x638ac
movl 0x10(%rax), %edi
callq 0x61078
leaq 0x1(%r15), %rcx
testb %al, %al
je 0x7f274
jmp 0x7f2af
testq %rbx, %rbx
je 0x7f2af
leaq 0x47d28(%rip), %rsi     # 0xc6fcd
movq %rbx, %rdi
xorl %eax, %eax
callq 0x8f42b
cmpq %r14, %r15
setb %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: set_dyn_solid_static
static void set_dyn_solid_static( const bcore_array_s* p, vd_t o, uz_t index, sr_s src )
{
    bcore_array_dyn_solid_static_s* arr = obj_vd( p, o );
    if( index >= arr->size ) bcore_array_p_set_size( p, o, index + 1 );
    const bcore_inst_s* inst_p = p->item_p;
    vd_t dst = ( u0_t* )arr->data + inst_p->size * index;
    if( src.o )
    {
        if( sr_s_type( &src ) == inst_p->header.o_type )
        {
            bcore_inst_p_copy( inst_p, dst, src.o );
        }
        else
        {
            bcore_inst_p_copy_typed( inst_p, dst, sr_s_type( &src ), src.o );
        }
    }
    sr_down( src );
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x30(%rsp), %r12
movq 0x20(%rdi), %r13
cmpq %rdx, 0x8(%rsi,%r13)
ja 0x7f33c
leaq 0x1(%rbx), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x7b8b6
movq (%r12), %rcx
testq %rcx, %rcx
je 0x7f38c
movq 0x28(%r15), %rdi
imulq 0x18(%rdi), %rbx
addq (%r14,%r13), %rbx
movq 0x8(%r12), %rax
testq %rax, %rax
je 0x7f368
movq 0x8(%rax), %rdx
cmpq 0x8(%rdi), %rdx
jne 0x7f371
jmp 0x7f37b
cmpq $0x0, 0x8(%rdi)
je 0x7f37b
xorl %edx, %edx
movq %rbx, %rsi
callq 0x7fbc4
jmp 0x7f38c
cmpq %rcx, %rbx
je 0x7f38c
movq %rbx, %rsi
movq %rcx, %rdx
callq *0x90(%rdi)
testb $0x2, 0x10(%r12)
jne 0x7f39e
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x8cdc1
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: get_dyn_solid_typed
static sr_s get_dyn_solid_typed( const bcore_array_s* p, vc_t o, uz_t index )
{
    const bcore_array_dyn_solid_typed_s* arr = obj_vc( p, o );
    if( index < arr->size )
    {
        return sr_twm( arr->type, ( u0_t* )arr->data + bcore_inst_s_get_typed( arr->type )->size * index );
    }
    else
    {
        return sr_null();
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x20(%rsi), %rax
cmpq %rcx, 0x8(%rdx,%rax)
jbe 0x7f3ee
movq %rcx, %r14
movq (%rdx,%rax), %r12
movq 0x18(%rdx,%rax), %r15
movq %r15, %rdi
callq 0x7b39a
imulq 0x18(%rax), %r14
addq %r12, %r14
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x7fbe5
jmp 0x7f3f9
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: set_dyn_solid_typed
static void set_dyn_solid_typed( const bcore_array_s* p, vd_t o, uz_t index, sr_s src )
{
    bcore_array_dyn_solid_typed_s* arr = obj_vd( p, o );
    if( arr->type == 0 ) arr->type = sr_s_type( &src );
    if( index >= arr->size ) bcore_array_p_set_size( p, o, index + 1 );
    if( src.o )
    {
        if( sr_s_type( &src ) == arr->type )
        {
            const bcore_inst_s* inst_p = sr_s_get_spect( TYPEOF_bcore_inst_s, &src );
            vd_t dst = ( u0_t* )arr->data + inst_p->size * index;
            bcore_inst_p_copy( inst_p, dst, src.o );
        }
        else
        {
            const bcore_inst_s* inst_p = bcore_inst_s_get_typed( arr->type );
            vd_t dst = ( u0_t* )arr->data + inst_p->size * index;
            bcore_inst_p_copy_typed( inst_p, dst, sr_s_type( &src ), src.o );
        }
    }
    sr_down( src );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
leaq 0x40(%rsp), %rbx
movq 0x20(%rdi), %r13
cmpq $0x0, 0x18(%rsi,%r13)
jne 0x7f440
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x7f439
movq 0x8(%rax), %rax
jmp 0x7f43b
xorl %eax, %eax
movq %rax, 0x18(%r15,%r13)
cmpq %r14, 0x8(%r15,%r13)
ja 0x7f453
leaq 0x1(%r14), %rdx
movq %r15, %rsi
callq 0x7b8b6
movq (%rbx), %r12
testq %r12, %r12
je 0x7f4c6
movq 0x8(%rbx), %rbp
testq %rbp, %rbp
je 0x7f46a
movq 0x8(%rbp), %rax
jmp 0x7f46c
xorl %eax, %eax
movq 0x18(%r15,%r13), %rdi
cmpq %rdi, %rax
jne 0x7f49d
movq %rbx, %rdi
callq 0x7fc0b
imulq 0x18(%rax), %r14
addq (%r15,%r13), %r14
cmpq %r12, %r14
je 0x7f4c6
movq %rax, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq *0x90(%rax)
jmp 0x7f4c6
callq 0x7b39a
imulq 0x18(%rax), %r14
addq (%r15,%r13), %r14
testq %rbp, %rbp
je 0x7f4b6
movq 0x8(%rbp), %rdx
jmp 0x7f4b8
xorl %edx, %edx
movq %rax, %rdi
movq %r14, %rsi
movq %r12, %rcx
callq 0x7fbc4
testb $0x2, 0x10(%rbx)
jne 0x7f4db
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8cdc1
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: set_dyn_link_static
static void set_dyn_link_static( const bcore_array_s* p, vd_t o, uz_t index, sr_s src )
{
    bcore_array_dyn_link_static_s* arr = obj_vd( p, o );
    if( index >= arr->size ) bcore_array_p_set_size( p, o, index + 1 );
    const bcore_inst_s* inst_p = p->item_p;
    vd_t* dst = &arr->data[ index ];
    if( *dst ) bcore_inst_p_discard( inst_p, *dst );
    *dst = NULL;
    if( src.o )
    {
        if( sr_s_type( &src ) == inst_p->header.o_type )
        {
           *dst = sr_s_is_strong( &src ) ? src.o : bcore_inst_p_clone( inst_p, src.o );
           src = sr_cw( src );
        }
        else
        {
            *dst = bcore_inst_p_create_typed( inst_p, sr_s_type( &src ), src.o );
        }
    }
    sr_down( src );
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq 0x20(%rdi), %r13
cmpq %rdx, 0x8(%rsi,%r13)
ja 0x7f54d
leaq 0x1(%rbx), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x7b8b6
leaq 0x30(%rsp), %r12
movq 0x28(%r14), %r14
movq (%r15,%r13), %r15
movq (%r15,%rbx,8), %rsi
testq %rsi, %rsi
je 0x7f56d
movq %r14, %rdi
callq *0xb8(%r14)
andq $0x0, (%r15,%rbx,8)
movq (%r12), %rdx
testq %rdx, %rdx
je 0x7f5d2
movq 0x8(%r12), %rax
testq %rax, %rax
je 0x7f591
movq 0x8(%rax), %rsi
cmpq 0x8(%r14), %rsi
jne 0x7f59a
jmp 0x7f5aa
cmpq $0x0, 0x8(%r14)
je 0x7f5aa
xorl %esi, %esi
movq %r14, %rdi
callq *0xb0(%r14)
movq %rax, (%r15,%rbx,8)
jmp 0x7f5d2
movq 0x10(%r12), %r13
testb $0x2, %r13b
jne 0x7f5c5
movq %r14, %rdi
movq %rdx, %rsi
callq *0xc0(%r14)
movq %rax, %rdx
movq %rdx, (%r15,%rbx,8)
andq $-0x3, %r13
movq %r13, 0x10(%r12)
testb $0x2, 0x10(%r12)
jne 0x7f5e4
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x8cdc1
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: get_dyn_link_typed
static sr_s get_dyn_link_typed( const bcore_array_s* p, vc_t o, uz_t index )
{
    const bcore_array_dyn_link_typed_s* arr = obj_vc( p, o );
    if( index < arr->size && arr->data[ index ] )
    {
        return  sr_twm( arr->type, arr->data[ index ] );
    }
    else
    {
        return sr_null();
    }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x20(%rsi), %rsi
cmpq %rcx, 0x8(%rdx,%rsi)
jbe 0x7f620
movq (%rdx,%rsi), %rax
movq (%rax,%rcx,8), %rax
testq %rax, %rax
je 0x7f620
movq 0x18(%rdx,%rsi), %rsi
movq %rbx, %rdi
movq %rax, %rdx
callq 0x7fbe5
jmp 0x7f62b
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: set_dyn_link_typed
static void set_dyn_link_typed( const bcore_array_s* p, vd_t o, uz_t index, sr_s src )
{
    bcore_array_dyn_link_typed_s* arr = obj_vd( p, o );
    if( arr->type == 0 ) arr->type = sr_s_type( &src );
    if( index >= arr->size ) bcore_array_p_set_size( p, o, index + 1 );
    vd_t* dst = &arr->data[ index ];

    if( src.o )
    {
        if( sr_s_type( &src ) == arr->type )
        {
           const bcore_inst_s* inst_p = sr_s_get_spect( TYPEOF_bcore_inst_s, &src );
           if( *dst ) bcore_inst_p_discard( inst_p, *dst );
           *dst = sr_s_is_strong( &src ) ? src.o : bcore_inst_p_clone( inst_p, src.o );
           src = sr_cw( src );
        }
        else
        {
            const bcore_inst_s* inst_p = bcore_inst_s_get_typed( arr->type );
            if( *dst ) bcore_inst_p_discard( inst_p, *dst );
            *dst = bcore_inst_p_create_typed( inst_p, sr_s_type( &src ), src.o );
        }
    }
    else if( arr->type )
    {
        const bcore_inst_s* inst_p = bcore_inst_s_get_typed( arr->type );
        if( *dst ) bcore_inst_p_discard( inst_p, *dst );
        *dst = NULL;
    }

    sr_down( src );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r12
leaq 0x40(%rsp), %rbx
movq 0x20(%rdi), %rbp
cmpq $0x0, 0x18(%rsi,%rbp)
jne 0x7f668
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x7f661
movq 0x8(%rax), %rax
jmp 0x7f663
xorl %eax, %eax
movq %rax, 0x18(%r12,%rbp)
cmpq %r14, 0x8(%r12,%rbp)
ja 0x7f67b
leaq 0x1(%r14), %rdx
movq %r12, %rsi
callq 0x7b8b6
movq (%r12,%rbp), %r13
movq (%rbx), %r15
testq %r15, %r15
je 0x7f696
movq 0x8(%rbx), %rbx
testq %rbx, %rbx
je 0x7f6c7
movq 0x8(%rbx), %rax
jmp 0x7f6c9
movq 0x18(%r12,%rbp), %rdi
testq %rdi, %rdi
je 0x7f76b
callq 0x7b39a
movq (%r13,%r14,8), %rsi
testq %rsi, %rsi
je 0x7f6bc
movq %rax, %rdi
callq *0xb8(%rax)
andq $0x0, (%r13,%r14,8)
jmp 0x7f76b
xorl %eax, %eax
movq 0x18(%r12,%rbp), %rdi
cmpq %rdi, %rax
jne 0x7f729
leaq 0x40(%rsp), %rbx
movq %rbx, %rdi
callq 0x7fc0b
movq %rax, %r12
movq (%r13,%r14,8), %rsi
testq %rsi, %rsi
je 0x7f6f8
movq %r12, %rdi
callq *0xb8(%r12)
movq 0x10(%rbx), %rbx
testb $0x2, %bl
jne 0x7f712
movq %r12, %rdi
movq %r15, %rsi
callq *0xc0(%r12)
movq %rax, %r15
movq %r15, (%r13,%r14,8)
andq $-0x3, %rbx
leaq 0x40(%rsp), %rax
movq %rbx, 0x10(%rax)
movq %rax, %rbx
jmp 0x7f76b
callq 0x7b39a
movq %rax, %r12
movq (%r13,%r14,8), %rsi
testq %rsi, %rsi
je 0x7f746
movq %r12, %rdi
callq *0xb8(%r12)
testq %rbx, %rbx
je 0x7f751
movq 0x8(%rbx), %rsi
jmp 0x7f753
xorl %esi, %esi
leaq 0x40(%rsp), %rbx
movq %r12, %rdi
movq %r15, %rdx
callq *0xb0(%r12)
movq %rax, (%r13,%r14,8)
testb $0x2, 0x10(%rbx)
jne 0x7f780
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8cdc1
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: get_dyn_link_aware
static sr_s get_dyn_link_aware( const bcore_array_s* p, vc_t o, uz_t index )
{
    const bcore_array_dyn_link_aware_s* arr = obj_vc( p, o );
    if( index < arr->size )
    {
        vd_t item = arr->data[ index ];
        return item ? sr_twm( *( aware_t* )item, item ) : sr_null();
    }
    return sr_null();
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x20(%rsi), %rax
cmpq %rcx, 0x8(%rdx,%rax)
jbe 0x7f7bc
movq (%rdx,%rax), %rax
movq (%rax,%rcx,8), %rdx
testq %rdx, %rdx
je 0x7f7bc
movq (%rdx), %rsi
movq %rbx, %rdi
callq 0x7fbe5
jmp 0x7f7c7
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: set_dyn_link_aware
static void set_dyn_link_aware( const bcore_array_s* p, vd_t o, uz_t index, sr_s src )
{
    bcore_array_dyn_link_aware_s* arr = obj_vd( p, o );
    if( index >= arr->size ) bcore_array_p_set_size( p, o, index + 1 );
    vd_t* dst = &arr->data[ index ];
    if( *dst ) bcore_inst_a_discard( *dst );
    *dst = NULL;

    if( src.o )
    {
        const bcore_inst_s* inst_p = sr_s_get_spect( TYPEOF_bcore_inst_s, &src );
        if( inst_p->aware )
        {
            *dst = sr_s_is_strong( &src ) ? src.o : bcore_inst_p_clone( inst_p, src.o );
           src = sr_cw( src );
        }
        else
        {
            ERR( "Cannot convert '%s' to self-aware object", ifnameof( sr_s_type( &src ) ) );
        }
    }

    sr_down( src );
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq 0x20(%rdi), %r12
cmpq %rdx, 0x8(%rsi,%r12)
ja 0x7f7f2
leaq 0x1(%r14), %rdx
movq %r15, %rsi
callq 0x7b8b6
leaq 0x30(%rsp), %rbx
movq (%r15,%r12), %r12
movq (%r12,%r14,8), %rdi
testq %rdi, %rdi
je 0x7f809
callq 0x7b894
andq $0x0, (%r12,%r14,8)
movq (%rbx), %r15
testq %r15, %r15
je 0x7f885
movq %rbx, %rdi
callq 0x7fc0b
cmpb $0x1, 0x28(%rax)
jne 0x7f84b
movq 0x10(%rbx), %r13
testb $0x2, %r13b
jne 0x7f83d
movq %rax, %rdi
movq %r15, %rsi
callq *0xc0(%rax)
movq %rax, %r15
movq %r15, (%r12,%r14,8)
andq $-0x3, %r13
movq %r13, 0x10(%rbx)
jmp 0x7f885
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x7f85a
movq 0x8(%rax), %rdi
jmp 0x7f85c
xorl %edi, %edi
callq 0x7f2c1
leaq 0x47830(%rip), %rdi     # 0xc7098
leaq 0x47201(%rip), %rsi     # 0xc6a70
leaq 0x47835(%rip), %rcx     # 0xc70ab
movl $0x2f4, %edx            # imm = 0x2F4
movq %rax, %r8
xorl %eax, %eax
callq 0x60031
testb $0x2, 0x10(%rbx)
jne 0x7f895
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x8cdc1
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: set_fix_solid_static
static void set_fix_solid_static( const bcore_array_s* p, vd_t o, uz_t index, sr_s src )
{
    if( index >= p->size_fix ) ERR_fa( "Index '#<uz_t>' exceeds range of fixed-size-array of size '#<uz_t>'", index, p->size_fix );
    const bcore_inst_s* inst_p = p->item_p;
    vd_t dst = ( u0_t* )obj_vd( p, o ) + inst_p->size * index;
    if( src.o )
    {
        if( sr_s_type( &src ) == inst_p->header.o_type )
        {
            bcore_inst_p_copy( inst_p, dst, src.o );
        }
        else
        {
            bcore_inst_p_copy_typed( inst_p, dst, sr_s_type( &src ), src.o );
        }
    }
    sr_down( src );
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x30(%rsp), %r12
movq 0x18(%rdi), %r9
cmpq %rdx, %r9
ja 0x7f918
leaq 0x477d9(%rip), %rdi     # 0xc70d4
leaq 0x4716e(%rip), %rsi     # 0xc6a70
leaq 0x477e0(%rip), %rcx     # 0xc70e9
movl $0x2ff, %edx            # imm = 0x2FF
movq %rbx, %r8
xorl %eax, %eax
callq 0x60186
movq (%r12), %rcx
testq %rcx, %rcx
je 0x7f96b
movq 0x28(%r15), %rdi
addq 0x20(%r15), %r14
imulq 0x18(%rdi), %rbx
addq %r14, %rbx
movq 0x8(%r12), %rax
testq %rax, %rax
je 0x7f947
movq 0x8(%rax), %rdx
cmpq 0x8(%rdi), %rdx
jne 0x7f950
jmp 0x7f95a
cmpq $0x0, 0x8(%rdi)
je 0x7f95a
xorl %edx, %edx
movq %rbx, %rsi
callq 0x7fbc4
jmp 0x7f96b
cmpq %rcx, %rbx
je 0x7f96b
movq %rbx, %rsi
movq %rcx, %rdx
callq *0x90(%rdi)
testb $0x2, 0x10(%r12)
jne 0x7f97f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x8cdc1
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: set_fix_link_static
static void set_fix_link_static( const bcore_array_s* p, vd_t o, uz_t index, sr_s src )
{
    if( index >= p->size_fix ) ERR_fa( "Index '#<uz_t>' exceeds range of fixed-size-array of size '#<uz_t>'", index, p->size_fix );
    const bcore_inst_s* inst_p = p->item_p;
    vd_t* arr = obj_vd( p, o );
    vd_t* dst = &arr[ index ];
    if( *dst ) bcore_inst_p_discard( inst_p, *dst );
    *dst = NULL;
    if( src.o )
    {
        if( sr_s_type( &src ) == inst_p->header.o_type )
        {
           *dst = sr_s_is_strong( &src ) ? src.o : bcore_inst_p_clone( inst_p, src.o );
           src = sr_cw( src );
        }
        else
        {
            *dst = bcore_inst_p_create_typed( inst_p, sr_s_type( &src ), src.o );
        }
    }
    sr_down( src );
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
movq 0x18(%rdi), %r9
cmpq %rdx, %r9
ja 0x7f9fc
leaq 0x4774e(%rip), %rdi     # 0xc712d
leaq 0x4708a(%rip), %rsi     # 0xc6a70
leaq 0x476fc(%rip), %rcx     # 0xc70e9
movl $0x314, %edx            # imm = 0x314
movq %rbx, %r8
xorl %eax, %eax
callq 0x60186
leaq 0x30(%rsp), %r13
movq 0x28(%r12), %r15
addq 0x20(%r12), %r14
movq (%r14,%rbx,8), %rsi
testq %rsi, %rsi
je 0x7fa1e
movq %r15, %rdi
callq *0xb8(%r15)
andq $0x0, (%r14,%rbx,8)
movq (%r13), %rdx
testq %rdx, %rdx
je 0x7fa80
movq 0x8(%r13), %rax
testq %rax, %rax
je 0x7fa41
movq 0x8(%rax), %rsi
cmpq 0x8(%r15), %rsi
jne 0x7fa4a
jmp 0x7fa5a
cmpq $0x0, 0x8(%r15)
je 0x7fa5a
xorl %esi, %esi
movq %r15, %rdi
callq *0xb0(%r15)
movq %rax, (%r14,%rbx,8)
jmp 0x7fa80
movq 0x10(%r13), %r12
testb $0x2, %r12b
jne 0x7fa74
movq %r15, %rdi
movq %rdx, %rsi
callq *0xc0(%r15)
movq %rax, %rdx
movq %rdx, (%r14,%rbx,8)
andq $-0x3, %r12
movq %r12, 0x10(%r13)
testb $0x2, 0x10(%r13)
jne 0x7fa91
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x8cdc1
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: get_fix_link_aware
static sr_s get_fix_link_aware( const bcore_array_s* p, vc_t o, uz_t index )
{
    const vd_t* arr = obj_vc( p, o );
    if( index < p->size_fix )
    {
        vd_t item = arr[ index ];
        return item ? sr_twm( *( aware_t* )item, item ) : sr_null();
    }
    return sr_null();
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
cmpq %rcx, 0x18(%rsi)
jbe 0x7fac3
addq 0x20(%rsi), %rdx
movq (%rdx,%rcx,8), %rdx
testq %rdx, %rdx
je 0x7fac3
movq (%rdx), %rsi
movq %rbx, %rdi
callq 0x7fbe5
jmp 0x7face
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_array.c
// Function: set_fix_link_aware
static void set_fix_link_aware( const bcore_array_s* p, vd_t o, uz_t index, sr_s src )
{
    if( index >= p->size_fix ) ERR_fa( "Index '#<uz_t>' exceeds range of fixed-size-array of size '#<uz_t>'", index, p->size_fix );
    vd_t* arr = obj_vd( p, o );
    vd_t* dst = &arr[ index ];
    if( *dst ) bcore_inst_a_discard( *dst );
    *dst = NULL;

    if( src.o )
    {
        const bcore_inst_s* inst_p = sr_s_get_spect( TYPEOF_bcore_inst_s, &src );
        if( inst_p->aware )
        {
            *dst = sr_s_is_strong( &src ) ? src.o : bcore_inst_p_clone( inst_p, src.o );
           src = sr_cw( src );
        }
        else
        {
            ERR( "Cannot convert '%s' to self-aware object", ifnameof( sr_s_type( &src ) ) );
        }
    }

    sr_down( src );
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq 0x18(%rdi), %r9
cmpq %rdx, %r9
ja 0x7fb12
leaq 0x4764c(%rip), %rdi     # 0xc7141
leaq 0x46f74(%rip), %rsi     # 0xc6a70
leaq 0x475e6(%rip), %rcx     # 0xc70e9
movl $0x32d, %edx            # imm = 0x32D
movq %r14, %r8
xorl %eax, %eax
callq 0x60186
leaq 0x30(%rsp), %rbx
addq 0x20(%r12), %r15
movq (%r15,%r14,8), %rdi
testq %rdi, %rdi
je 0x7fb2a
callq 0x7b894
andq $0x0, (%r15,%r14,8)
movq (%rbx), %r12
testq %r12, %r12
je 0x7fba6
movq %rbx, %rdi
callq 0x7fc0b
cmpb $0x1, 0x28(%rax)
jne 0x7fb6c
movq 0x10(%rbx), %r13
testb $0x2, %r13b
jne 0x7fb5e
movq %rax, %rdi
movq %r12, %rsi
callq *0xc0(%rax)
movq %rax, %r12
movq %r12, (%r15,%r14,8)
andq $-0x3, %r13
movq %r13, 0x10(%rbx)
jmp 0x7fba6
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x7fb7b
movq 0x8(%rax), %rdi
jmp 0x7fb7d
xorl %edi, %edi
callq 0x7f2c1
leaq 0x475b8(%rip), %rdi     # 0xc7141
leaq 0x46ee0(%rip), %rsi     # 0xc6a70
leaq 0x47514(%rip), %rcx     # 0xc70ab
movl $0x33d, %edx            # imm = 0x33D
movq %rax, %r8
xorl %eax, %eax
callq 0x60031
testb $0x2, 0x10(%rbx)
jne 0x7fbb6
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x8cdc1
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_compare.c
// Function: bcore_compare_sr
s2_t bcore_compare_sr( sr_s obj1, sr_s obj2 )
{
    if( sr_s_type( &obj1 ) != sr_s_type( &obj2 ) ) return ( sr_s_type( &obj1 ) < sr_s_type( &obj2 ) ) ? 1 : -1;
    if( sr_s_type( &obj1 ) == 0 ) return 0;
    s2_t c = bcore_compare_typed( sr_s_type( &obj1 ), obj1.o, obj2.o );
    sr_down( obj1 );
    sr_down( obj2 );
    return c;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
leaq 0x58(%rsp), %r14
movq 0x48(%rsp), %rax
testq %rax, %rax
je 0x80fc6
movq 0x8(%rax), %rdx
jmp 0x80fc8
xorl %edx, %edx
movq 0x8(%r14), %rcx
testq %rcx, %rcx
je 0x80fd7
movq 0x8(%rcx), %rsi
jmp 0x80fd9
xorl %esi, %esi
cmpq %rsi, %rdx
jne 0x8103c
xorl %ebx, %ebx
testq %rax, %rax
je 0x81061
movq 0x8(%rax), %rdi
testq %rdi, %rdi
je 0x81061
leaq 0x40(%rsp), %r15
movq (%r15), %rsi
movq (%r14), %rdx
callq 0x80f0f
movl %eax, %ebx
testb $0x2, 0x10(%r15)
je 0x8101d
movq 0x10(%r15), %rax
movq %rax, 0x10(%rsp)
movups (%r15), %xmm0
movups %xmm0, (%rsp)
callq 0x8cdc1
testb $0x2, 0x10(%r14)
je 0x81061
movq 0x10(%r14), %rax
movq %rax, 0x10(%rsp)
movups (%r14), %xmm0
movups %xmm0, (%rsp)
callq 0x8cdc1
jmp 0x81061
testq %rax, %rax
je 0x81047
movq 0x8(%rax), %rax
jmp 0x81049
xorl %eax, %eax
xorl %ebx, %ebx
testq %rcx, %rcx
je 0x81056
movq 0x8(%rcx), %rcx
jmp 0x81058
xorl %ecx, %ecx
cmpq %rcx, %rax
adcl $-0x1, %ebx
orl $0x1, %ebx
movl %ebx, %eax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_compare.c
// Function: bcore_diff_sr
st_s* bcore_diff_sr( sr_s obj1, sr_s obj2 )
{
    if( sr_s_type( &obj1 ) != sr_s_type( &obj2 ) ) return st_s_createf( "obj1 of '%s', obj2 of '%s'", ifnameof( sr_s_type( &obj1 ) ), ifnameof( sr_s_type( &obj2 ) ) );
    if( sr_s_type( &obj1 ) == 0 ) return NULL;
    st_s* s = bcore_diff_typed( sr_s_type( &obj1 ), obj1.o, obj2.o );
    sr_down( obj1 );
    sr_down( obj2 );
    return s;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
leaq 0x58(%rsp), %r14
movq 0x48(%rsp), %rax
testq %rax, %rax
je 0x81b1e
movq 0x8(%rax), %rcx
jmp 0x81b20
xorl %ecx, %ecx
movq 0x8(%r14), %r15
testq %r15, %r15
je 0x81b2f
movq 0x8(%r15), %rdx
jmp 0x81b31
xorl %edx, %edx
cmpq %rdx, %rcx
jne 0x81b93
testq %rax, %rax
je 0x81b9e
movq 0x8(%rax), %rdi
testq %rdi, %rdi
je 0x81b9e
leaq 0x40(%rsp), %r15
movq (%r15), %rsi
movq (%r14), %rdx
callq 0x81a6f
movq %rax, %rbx
testb $0x2, 0x10(%r15)
je 0x81b74
movq 0x10(%r15), %rax
movq %rax, 0x10(%rsp)
movups (%r15), %xmm0
movups %xmm0, (%rsp)
callq 0x8cdc1
testb $0x2, 0x10(%r14)
je 0x81ba0
movq 0x10(%r14), %rax
movq %rax, 0x10(%rsp)
movups (%r14), %xmm0
movups %xmm0, (%rsp)
callq 0x8cdc1
jmp 0x81ba0
testq %rax, %rax
je 0x81bad
movq 0x8(%rax), %rdi
jmp 0x81baf
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
xorl %edi, %edi
callq 0x819fb
movq %rax, %rbx
testq %r15, %r15
je 0x81bc2
movq 0x8(%r15), %rdi
jmp 0x81bc4
xorl %edi, %edi
callq 0x819fb
leaq 0x46152(%rip), %rdi     # 0xc7d22
movq %rbx, %rsi
movq %rax, %rdx
xorl %eax, %eax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
jmp 0x8ebc4
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_compare.c
// Function: compare_s_create_self
static bcore_self_s* compare_s_create_self( void )
{
    sc_t def = "bcore_compare_s = spect { aware_t p_type; tp_t o_type; ... }";
    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( def, bcore_compare_s );
    bcore_self_s_push_ns_func( self, ( fp_t )compare_s_init,             "bcore_fp_init",                    "init"         );
    bcore_self_s_push_ns_func( self, ( fp_t )compare_s_down,             "bcore_fp_down",                    "down"         );
    bcore_self_s_push_ns_func( self, ( fp_t )compare_s_create,           "bcore_fp_create",                  "create"       );
    bcore_self_s_push_ns_func( self, ( fp_t )compare_s_discard,          "bcore_fp_discard",                 "discard"      );
    bcore_self_s_push_ns_func( self, ( fp_t )create_from_self,           "bcore_spect_fp_create_from_self",  "create_from_self" );
    return self;
}

// Assembly:
pushq %rbx
leaq 0x45df2(%rip), %rdi     # 0xc7e13
pushq $0x28
popq %rsi
pushq $0x8
popq %rdx
callq 0x64356
movq %rax, %rbx
leaq 0x403(%rip), %rsi       # 0x82439
leaq 0x3e77e(%rip), %rdx     # 0xc07bb
leaq 0x3e780(%rip), %rcx     # 0xc07c4
movq %rax, %rdi
callq 0x63a2b
leaq 0x403(%rip), %rsi       # 0x82456
leaq 0x3e76f(%rip), %rdx     # 0xc07c9
leaq 0x32587(%rip), %rcx     # 0xb45e8
movq %rbx, %rdi
callq 0x63a2b
leaq 0x601(%rip), %rsi       # 0x82671
leaq 0x40d0e(%rip), %rdx     # 0xc2d85
leaq 0x40d10(%rip), %rcx     # 0xc2d8e
movq %rbx, %rdi
callq 0x63a2b
leaq 0x3ca(%rip), %rsi       # 0x82457
leaq 0x40d10(%rip), %rdx     # 0xc2da4
leaq 0x40d12(%rip), %rcx     # 0xc2dad
movq %rbx, %rdi
callq 0x63a2b
leaq 0x3c2(%rip), %rsi       # 0x8246c
leaq 0x4451c(%rip), %rdx     # 0xc65cd
leaq 0x44524(%rip), %rcx     # 0xc65dc
movq %rbx, %rdi
callq 0x63a2b
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_hash.c
// Function: bcore_spect_hash_selftest
void bcore_spect_hash_selftest()
{
    sr_s sr1 = bcore_spect_via_create_zoo( 5 );
    sr_s sr2 = bcore_spect_via_create_zoo( 5 );
    tp_t hash1 = bcore_hash_r_get_tp( &sr1 );
    tp_t hash2 = bcore_hash_r_get_tp( &sr2 );

    ASSERT( hash1 == hash2 );

    sr_down( sr1 );
    sr_down( sr2 );
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
leaq 0x38(%rsp), %rbx
pushq $0x5
popq %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x8b4e4
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x8b4e4
movq %rbx, %rdi
callq 0x82f21
movq %rax, %rbx
movq %r15, %rdi
callq 0x82f21
cmpq %rax, %rbx
je 0x82ed9
leaq 0x27790(%rip), %rdi     # 0xaa647
leaq 0x450b1(%rip), %rsi     # 0xc7f6f
leaq 0x450b9(%rip), %rdx     # 0xc7f7e
leaq 0x450cc(%rip), %rcx     # 0xc7f98
movl $0x80, %r8d
xorl %eax, %eax
callq 0x5ffac
testb $0x2, 0x48(%rsp)
je 0x82ef8
movq 0x48(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x38(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x8cdc1
testb $0x2, 0x30(%rsp)
je 0x82f17
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x8cdc1
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_hash.c
// Function: bcore_spect_hash_signal_handler
vd_t bcore_spect_hash_signal_handler( const bcore_signal_s* o )
{
    switch( bcore_signal_s_handle_type( o, typeof( "bcore_spect_hash" ) ) )
    {
        case TYPEOF_init1:
        {
            BCORE_REGISTER_SPECT( bcore_hash );
        }
        break;

        case TYPEOF_selftest:
        {
            bcore_spect_hash_selftest();
        }
        break;

        default: break;
    }
    return NULL;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x45050(%rip), %rdi     # 0xc7fab
callq 0x82fcd
movq %rbx, %rdi
movq %rax, %rsi
callq 0x75141
movabsq $0x7ee758bbfced33e3, %rcx # imm = 0x7EE758BBFCED33E3
cmpq %rcx, %rax
je 0x82fc4
movabsq $0x6a72ce8f8250efc6, %rcx # imm = 0x6A72CE8F8250EFC6
cmpq %rcx, %rax
jne 0x82fc9
leaq 0x952c0(%rip), %rdi     # 0x118250
callq 0x79b56
leaq 0x41f57(%rip), %rdi     # 0xc4ef3
callq 0x82fcd
movq %rax, %rbx
leaq 0x41f3d(%rip), %rdi     # 0xc4ee8
callq 0x7227a
leaq 0x28(%rip), %rdx        # 0x82fdf
movq %rbx, %rdi
movq %rax, %rsi
callq 0x7a447
jmp 0x82fc9
callq 0x82e6b
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_inst.c
// Function: bcore_inst_body_s_copy
void bcore_inst_body_s_copy( bcore_inst_body_s* o, const bcore_inst_body_s* src )
{
    bcore_release_obj_arr( ( fp_t )bcore_inst_item_s_down, o->data, o->size, sizeof( bcore_inst_item_s ) );
    o->data = NULL;
    o->size = o->space = 0;
    o->data = bcore_un_alloc( sizeof( bcore_inst_item_s ), o->data, o->space, src->size, &o->space );
    for( uz_t i = 0; i < src->size; i++ ) bcore_inst_item_s_copy( &o->data[ i ], &src->data[ i ] );
    o->size = src->size;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rsi
movq 0x8(%rdi), %rdx
leaq -0xdf(%rip), %rdi       # 0x830a4
pushq $0x30
popq %r15
movq %r15, %rcx
callq 0x60281
leaq 0x10(%rbx), %r8
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
movq 0x8(%r14), %rcx
xorl %r12d, %r12d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x60263
movq %rax, (%rbx)
xorl %r15d, %r15d
movq 0x8(%r14), %rax
cmpq %rax, %r15
jae 0x831da
movq (%rbx), %rdi
addq %r12, %rdi
movq (%r14), %rsi
addq %r12, %rsi
callq 0x830a5
incq %r15
addq $0x30, %r12
jmp 0x831b7
movq %rax, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_inst.c
// Function: bcore_inst_x_clone_sr
sr_s bcore_inst_x_clone_sr( sr_s o )
{
    if( !o.o ) return sr_null();
    sr_s ret = sr_psm( o.p, bcore_inst_p_clone( ch_spect_p( o.p, TYPEOF_bcore_inst_s ), o.o ) );
    sr_down( o );
    return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x40(%rsp), %r14
testq %r14, %r14
je 0x835a4
leaq 0x40(%rsp), %r12
movq 0x8(%r12), %r15
movabsq $0x782b96602f424981, %rsi # imm = 0x782B96602F424981
movq %r15, %rdi
callq 0x7abc8
movq %rax, %rdi
movq %r14, %rsi
callq *0xc0(%rax)
movq %rax, (%rbx)
movq %r15, 0x8(%rbx)
movq $0x2, 0x10(%rbx)
testb $0x2, 0x10(%r12)
je 0x835af
movq 0x10(%r12), %rax
movq %rax, 0x10(%rsp)
movups (%r12), %xmm0
movups %xmm0, (%rsp)
callq 0x8cdc1
jmp 0x835af
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_inst.c
// Function: bcore_inst_test_all_types
void bcore_inst_test_all_types()
{
    bcore_arr_tp_s* type_arr = bcore_arr_tp_s_create();
    bcore_flect_push_all_types( type_arr );
    for( sz_t i = 0; i < type_arr->size; i++ )
    {
        tp_t type = type_arr->data[ i ];
        bl_t sp_inst = bcore_trait_satisfied_type( TYPEOF_bcore_inst, type, NULL );
        if( sp_inst )
        {
            sr_s sr1 = bcore_inst_t_create_sr( type );
            sr_down( sr1 );
        }
    }
    bcore_arr_tp_s_discard( type_arr );
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
xorl %r12d, %r12d
xorl %eax, %eax
callq 0x5b931
movq %rax, %rbx
movq %rax, %rdi
callq 0x64a34
movabsq $-0x55a2d062927a0ff9, %r14 # imm = 0xAA5D2F9D6D85F007
pushq $0x2
popq %r13
cmpq 0x10(%rbx), %r12
jae 0x836a9
movq 0x8(%rbx), %rax
movq (%rax,%r12,8), %r15
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x99961
testb %al, %al
je 0x836a4
movq %r15, %rdi
callq 0x83402
movq %rax, %r15
movq %rax, %rdi
callq *0xa8(%rax)
movq %rax, 0x18(%rsp)
movq %r15, 0x20(%rsp)
movq %r13, 0x28(%rsp)
movq %r13, 0x10(%rsp)
movups 0x18(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x8cdc1
incq %r12
jmp 0x8364f
movq %rbx, %rdi
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x5b94c
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_inst.c
// Function: bcore_inst_s_create_self
static bcore_self_s* bcore_inst_s_create_self( void )
{

//  We need to create this reflection manually because self_s_build_parse uses it.
    bcore_self_s* self = bcore_self_s_create_plain( entypeof( "bcore_inst_s" ), typeof( "spect" ), sizeof( bcore_inst_s ), alignof( bcore_inst_s ) );
    bcore_self_s_push_d( self, bcore_self_item_s_create_plain( BCORE_CAPS_SOLID_STATIC, TYPEOF_bcore_spect_header_s, entypeof( "header"  ) ) );
    bcore_self_body_s_set_complete( self->body, false ); // we declare the body incomplete

    bcore_self_s_push_ns_func( self, ( fp_t )inst_s_init,             "bcore_fp_init",                   "init"         );
    bcore_self_s_push_ns_func( self, ( fp_t )inst_s_down,             "bcore_fp_down",                   "down"         );
    bcore_self_s_push_ns_func( self, ( fp_t )inst_s_create,           "bcore_fp_create",                 "create"       );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_inst_s_discard,    "bcore_fp_discard",                "discard"      );
    bcore_self_s_push_ns_func( self, ( fp_t )create_from_self,        "bcore_spect_fp_create_from_self", "create_from_self" );
    return self;
}

// Assembly:
pushq %rbx
leaq 0x40b6b(%rip), %rdi     # 0xc4e59
callq 0x7227a
movq %rax, %rbx
leaq 0x42481(%rip), %rdi     # 0xc677e
callq 0x83349
pushq $0x8
popq %rcx
movl $0xc8, %edx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x63bce
movq %rax, %rbx
leaq 0x2c4c8(%rip), %rdi     # 0xb07e7
callq 0x7227a
pushq $0x1
popq %rdi
movabsq $-0x7c15e45e4ba87aee, %rsi # imm = 0x83EA1BA1B4578512
movq %rax, %rdx
callq 0x61350
movq %rbx, %rdi
movq %rax, %rsi
callq 0x639c4
movq 0x30(%rbx), %rdi
xorl %esi, %esi
callq 0x6348c
leaq -0x102c(%rip), %rsi     # 0x8332a
leaq 0x3c45e(%rip), %rdx     # 0xc07bb
leaq 0x3c460(%rip), %rcx     # 0xc07c4
movq %rbx, %rdi
callq 0x63a2b
leaq -0xfdd(%rip), %rsi      # 0x83396
leaq 0x3c44f(%rip), %rdx     # 0xc07c9
leaq 0x30267(%rip), %rcx     # 0xb45e8
movq %rbx, %rdi
callq 0x63a2b
leaq 0xb82(%rip), %rsi       # 0x84f12
leaq 0x3e9ee(%rip), %rdx     # 0xc2d85
leaq 0x3e9f0(%rip), %rcx     # 0xc2d8e
movq %rbx, %rdi
callq 0x63a2b
leaq -0x102c(%rip), %rsi     # 0x83381
leaq 0x3e9f0(%rip), %rdx     # 0xc2da4
leaq 0x3e9f2(%rip), %rcx     # 0xc2dad
movq %rbx, %rdi
callq 0x63a2b
leaq 0x73(%rip), %rsi        # 0x8443d
leaq 0x421fc(%rip), %rdx     # 0xc65cd
leaq 0x42204(%rip), %rcx     # 0xc65dc
movq %rbx, %rdi
callq 0x63a2b
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_spect_inst.c
// Function: create_typed
static vd_t create_typed( const bcore_inst_s* p, tp_t t, vc_t src )
{
    vd_t o = bcore_u_alloc( p->size, NULL, 1, NULL );
    p->init( p, o );
    if( p->copy_typed( p, o, t, src ) == 0 ) return o;

    p->down( p, o );
    bcore_u_alloc( p->size, o, 0, NULL );
    return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
pushq $0x1
popq %rdx
xorl %esi, %esi
xorl %ecx, %ecx
callq 0x6025e
movq %rax, %r14
movq %rbx, %rdi
movq %rax, %rsi
callq *0x80(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq %r15, %rcx
callq *0x98(%rbx)
testq %rax, %rax
je 0x8710b
movq %rbx, %rdi
movq %r14, %rsi
callq *0x88(%rbx)
movq 0x18(%rbx), %rdi
movq %r14, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x6025e
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq