LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_f3_s_idx_max
uz_t bcore_arr_f3_s_idx_max( const bcore_arr_f3_s* o )
{
    if( o->size == 0 ) return 0;
    f3_t max = o->data[ 0 ];
    uz_t idx = 0;
    for( uz_t i = 1; i < o->size; i++ )
    {
        if( o->data[ i ] > max )
        {
            max = o->data[ i ];
            idx = i;
        }
    }
    return idx;
}

// Assembly:
movq 0x10(%rdi), %rcx
testq %rcx, %rcx
je 0xb8dee
cmpq $0x1, %rcx
jne 0xb8df1
xorl %eax, %eax
retq
movq 0x8(%rdi), %rdx
movsd (%rdx), %xmm0
movl $0x1, %esi
xorl %eax, %eax
movsd (%rdx,%rsi,8), %xmm1
ucomisd %xmm0, %xmm1
cmovaq %rsi, %rax
maxsd %xmm0, %xmm1
incq %rsi
movapd %xmm1, %xmm0
cmpq %rsi, %rcx
jne 0xb8e00
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_f3_s_idx_min
uz_t bcore_arr_f3_s_idx_min( const bcore_arr_f3_s* o )
{
    if( o->size == 0 ) return 0;
    f3_t min = o->data[ 0 ];
    uz_t idx = 0;
    for( uz_t i = 1; i < o->size; i++ )
    {
        if( o->data[ i ] < min )
        {
            min = o->data[ i ];
            idx = i;
        }
    }
    return idx;
}

// Assembly:
movq 0x10(%rdi), %rcx
testq %rcx, %rcx
je 0xb8e2d
cmpq $0x1, %rcx
jne 0xb8e30
xorl %eax, %eax
retq
movq 0x8(%rdi), %rdx
movsd (%rdx), %xmm0
movl $0x1, %esi
xorl %eax, %eax
movsd (%rdx,%rsi,8), %xmm1
ucomisd %xmm1, %xmm0
cmovaq %rsi, %rax
minsd %xmm0, %xmm1
incq %rsi
movapd %xmm1, %xmm0
cmpq %rsi, %rcx
jne 0xb8e3f
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_tp_s_copy
void bcore_arr_tp_s_copy( bcore_arr_tp_s* o, const bcore_arr_tp_s* src )
{
    if( o->space < src->size )
    {
        if( o->space > 0 ) o->data = bcore_un_alloc( sizeof( tp_t ), o->data, o->space, 0, &o->space );
        o->data = bcore_un_alloc( sizeof( tp_t ), NULL, o->space, src->size, &o->space );
    }
    bcore_u_memcpy( sizeof( tp_t ), o->data, src->data, src->size );
    o->size = src->size;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x18(%rdi), %rdx
movq 0x10(%rsi), %rcx
cmpq %rcx, %rdx
jae 0xb8ed9
leaq 0x18(%rbx), %r15
testq %rdx, %rdx
je 0xb8edf
movq 0x8(%rbx), %rsi
movl $0x8, %edi
xorl %ecx, %ecx
movq %r15, %r8
callq 0xbe7da
movq %rax, 0x8(%rbx)
movq 0x18(%rbx), %rdx
movq 0x10(%r14), %rcx
jmp 0xb8ee1
movq 0x8(%rbx), %rsi
jmp 0xb8efb
xorl %edx, %edx
movl $0x8, %edi
xorl %esi, %esi
movq %r15, %r8
callq 0xbe7da
movq %rax, %rsi
movq %rax, 0x8(%rbx)
movq 0x10(%r14), %rcx
movq 0x8(%r14), %rdx
movl $0x8, %edi
callq 0xbe8bb
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_tp_s_create
BCORE_DEFINE_FUNCTION_CREATE(  bcore_arr_tp_s )
BCORE_DEFINE_FUNCTION_DISCARD( bcore_arr_tp_s )
BCORE_DEFINE_FUNCTION_CLONE(   bcore_arr_tp_s )

// ---------------------------------------------------------------------------------------------------------------------

static bcore_self_s* arr_tp_s_create_self( void )
{
    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( "bcore_arr_tp_s = bcore_array { aware_t _; tp_t [] arr; }", bcore_arr_tp_s );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_tp_s_init, "bcore_fp_init", "init" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_tp_s_down, "bcore_fp_down", "down" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_tp_s_copy, "bcore_fp_copy", "copy" );
    return self;
}

// Assembly:
pushq %rbx
movl $0x20, %esi
xorl %edi, %edi
callq 0xbe7b1
movq %rax, %rbx
movl $0x20, %esi
movq %rax, %rdi
callq 0xbe802
movabsq $-0x79c1eb0a2e5b4c6b, %rax # imm = 0x863E14F5D1A4B395
movq %rax, (%rbx)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_tp_s_set_space
bcore_arr_tp_s* bcore_arr_tp_s_set_space( bcore_arr_tp_s* o, uz_t space )
{
    if( o->space == 0 )
    {
        o->data = bcore_u_alloc( sizeof( tp_t ), NULL, space, &o->space );
    }
    else
    {
        o->data = bcore_un_alloc( sizeof( tp_t ), o->data, o->space, space, &o->space );
    }
    if( o->size > space ) o->size = space;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rdi), %r8
movq 0x18(%rdi), %rdx
testq %rdx, %rdx
je 0xb8ff1
movq 0x8(%rbx), %rsi
movl $0x8, %edi
movq %r14, %rcx
callq 0xbe7da
jmp 0xb9003
movl $0x8, %edi
xorl %esi, %esi
movq %r14, %rdx
movq %r8, %rcx
callq 0xbe7d5
movq %rax, 0x8(%rbx)
cmpq %r14, 0x10(%rbx)
jbe 0xb9011
movq %r14, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_tp_s_fill
bcore_arr_tp_s* bcore_arr_tp_s_fill( bcore_arr_tp_s* o, uz_t size, tp_t v )
{
    bcore_arr_tp_s_set_space( o, size );
    for( uz_t i = 0; i < size; i++ ) o->data[ i ] = v;
    o->size = size;
    return o;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
callq 0xb8fc7
testq %r14, %r14
je 0xb9046
xorl %eax, %eax
movq 0x8(%rbx), %rcx
movq %r15, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xb9036
movq %r14, 0x10(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_tp_s_set_size
bcore_arr_tp_s* bcore_arr_tp_s_set_size( bcore_arr_tp_s* o, uz_t size )
{
    bcore_arr_tp_s_set_space( o, size );
    if( size > o->size )
    {
        for( sz_t i = o->size; i < size; i++ ) o->data[ i ] = 0;
    }
    o->size = size;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0xb8fc7
movq 0x10(%rbx), %rax
cmpq %r14, %rax
jae 0xb907f
movq 0x8(%rbx), %rcx
movq $0x0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xb906b
movq %r14, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_tp_s_push_left
bcore_arr_tp_s* bcore_arr_tp_s_push_left( bcore_arr_tp_s* o, tp_t v )
{
    bcore_arr_tp_s_push( o, 0 );
    for( sz_t i = o->size - 1; i > 0; i-- ) o->data[ i ] = o->data[ i - 1 ];
    o->data[ 0 ] = v;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
xorl %esi, %esi
callq 0xb90d3
movq 0x10(%rbx), %rax
leaq -0x1(%rax), %rcx
testq %rcx, %rcx
jle 0xb9178
movq 0x8(%rbx), %rcx
movq -0x10(%rcx,%rax,8), %rdx
movq %rdx, -0x8(%rcx,%rax,8)
decq %rax
cmpq $0x1, %rax
ja 0xb9161
movq 0x8(%rbx), %rax
movq %r14, (%rax)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_tp_s_push_arr
bcore_arr_tp_s* bcore_arr_tp_s_push_arr( bcore_arr_tp_s* o, const bcore_arr_tp_s* arr )
{
    if( arr->size == 0 ) return o;
    if( o->size > o->space ) bcore_arr_tp_s_make_strong( o );
    if( o->size + arr->size >= o->space )
    {
        uz_t new_space = uz_max( o->space * 2, o->size + arr->size );
        o->data = bcore_un_alloc( sizeof( tp_t ), o->data, o->space, new_space, &o->space );
    }
    for( sz_t i = 0; i < arr->size; i++ ) o->data[ o->size++ ] = arr->data[ i ];
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x10(%rsi), %rax
testq %rax, %rax
je 0xb9217
movq %rsi, %r14
movq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
cmpq %rdx, %rcx
jbe 0xb91be
movq %rbx, %rdi
callq 0xb908e
movq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
movq 0x10(%r14), %rax
addq %rax, %rcx
cmpq %rdx, %rcx
jb 0xb91eb
leaq 0x18(%rbx), %r8
leaq (%rdx,%rdx), %rax
cmpq %rcx, %rax
cmovaq %rax, %rcx
movq 0x8(%rbx), %rsi
movl $0x8, %edi
callq 0xbe7da
movq %rax, 0x8(%rbx)
movq 0x10(%r14), %rax
testq %rax, %rax
je 0xb9217
xorl %eax, %eax
movq 0x8(%r14), %rcx
movq (%rcx,%rax,8), %rcx
movq 0x8(%rbx), %rdx
movq 0x10(%rbx), %rsi
leaq 0x1(%rsi), %rdi
movq %rdi, 0x10(%rbx)
movq %rcx, (%rdx,%rsi,8)
incq %rax
cmpq 0x10(%r14), %rax
jb 0xb91f2
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_tp_s_sort
bcore_arr_tp_s* bcore_arr_tp_s_sort( bcore_arr_tp_s* o, s2_t order ) // stable mergesort
{
    if( o->space < o->size ) bcore_arr_tp_s_make_strong( o );
    tp_t* buf = bcore_u_alloc( sizeof( tp_t ), NULL, o->size >> 1, NULL );
    tp_sort( o->data, o->size, buf, order );
    bcore_free( buf );
    return o;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
movq 0x10(%rdi), %rdx
cmpq %rdx, 0x18(%rdi)
jae 0xb92cc
movq %rbx, %rdi
callq 0xb908e
movq 0x10(%rbx), %rdx
shrq %rdx
movl $0x8, %edi
xorl %esi, %esi
xorl %ecx, %ecx
callq 0xbe7d5
movq %rax, %r14
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movq %rax, %rdx
movl %ebp, %ecx
callq 0xb9302
movq %r14, %rdi
callq 0xbe7a3
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: tp_sort
static void tp_sort( tp_t* data, uz_t size, tp_t* buf, s2_t order )
{
    if( size < 2 ) return;
    uz_t size1 = size >> 1;
    tp_sort( data,         size1       , buf, order );
    tp_sort( data + size1, size - size1, buf, order );
    bcore_u_memcpy( sizeof( tp_t ), buf, data, size1 );
    if( order > 0 )
    {
        for( uz_t i = 0, w = 0, r = size1; i < size1; )
        {
            data[ w++ ] = ( r == size || buf[ i ] <= data[ r ] ) ? buf[ i++ ] : data[ r++ ];
        }
    }
    else
    {
        for( uz_t i = 0, w = 0, r = size1; i < size1; )
        {
            data[ w++ ] = ( r == size || buf[ i ] >= data[ r ] ) ? buf[ i++ ] : data[ r++ ];
        }
    }
}

// Assembly:
cmpq $0x2, %rsi
jb 0xb93bc
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %r12
shrq %r12
movq %r12, %rsi
callq 0xb9302
leaq (%r15,%r12,8), %rdi
movq %r14, %rsi
subq %r12, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0xb9302
movl $0x8, %edi
movq %rbx, %rsi
movq %r15, %rdx
movq %r12, %rcx
callq 0xbe8bb
xorl %eax, %eax
movq %r15, %rcx
movq %r12, %rdx
testl %ebp, %ebp
jle 0xb938b
movq (%rbx,%rax,8), %rsi
cmpq %r14, %rdx
je 0xb937a
movq (%r15,%rdx,8), %rdi
cmpq %rdi, %rsi
jbe 0xb937a
incq %rdx
movq %rdi, %rsi
jmp 0xb937d
incq %rax
movq %rsi, (%rcx)
addq $0x8, %rcx
cmpq %r12, %rax
jb 0xb9360
jmp 0xb93b4
movq (%rbx,%rax,8), %rsi
cmpq %r14, %rdx
je 0xb93a5
movq (%r15,%rdx,8), %rdi
cmpq %rdi, %rsi
jae 0xb93a5
incq %rdx
movq %rdi, %rsi
jmp 0xb93a8
incq %rax
movq %rsi, (%rcx)
addq $0x8, %rcx
cmpq %r12, %rax
jb 0xb938b
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_tp_s_reorder
bcore_arr_tp_s* bcore_arr_tp_s_reorder( bcore_arr_tp_s* o, const bcore_arr_uz_s* order )
{
    if( o->space < o->size ) bcore_arr_tp_s_make_strong( o );
    uz_t buf_space = 0;
    tp_t* buf = bcore_u_alloc( sizeof( tp_t ), NULL, order->size, &buf_space );
    for( uz_t i = 0; i < order->size; i++ )
    {
        assert( order->data[ i ] < o->size );
        buf[ i ] = o->data[ order->data[ i ] ];
    }
    bcore_un_alloc( sizeof( tp_t ), o->data, o->space, 0, &o->space );
    o->data = buf;
    o->space = buf_space;
    o->size = order->size;
    return o;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x18(%rdi), %rax
cmpq 0x10(%rdi), %rax
jae 0xb93dd
movq %rbx, %rdi
callq 0xb908e
leaq 0x18(%rbx), %r15
movq %rsp, %rcx
movq $0x0, (%rcx)
movq 0x10(%r14), %rdx
movl $0x8, %edi
xorl %esi, %esi
callq 0xbe7d5
movq %rax, %r12
cmpq $0x0, 0x10(%r14)
je 0xb9424
xorl %eax, %eax
movq 0x8(%rbx), %rcx
movq 0x8(%r14), %rdx
movq (%rdx,%rax,8), %rdx
movq (%rcx,%rdx,8), %rcx
movq %rcx, (%r12,%rax,8)
incq %rax
cmpq 0x10(%r14), %rax
jb 0xb9407
movq 0x8(%rbx), %rsi
movq 0x18(%rbx), %rdx
movl $0x8, %edi
xorl %ecx, %ecx
movq %r15, %r8
callq 0xbe7da
movq %r12, 0x8(%rbx)
movq (%rsp), %rax
movq %rax, 0x18(%rbx)
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_bl_s_copy
void bcore_arr_bl_s_copy( bcore_arr_bl_s* o, const bcore_arr_bl_s* src )
{
    if( o->space < src->size )
    {
        if( o->space > 0 ) o->data = bcore_un_alloc( sizeof( bl_t ), o->data, o->space, 0, &o->space );
        o->data = bcore_un_alloc( sizeof( bl_t ), NULL, o->space, src->size, &o->space );
    }
    bcore_u_memcpy( sizeof( bl_t ), o->data, src->data, src->size );
    o->size = src->size;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x18(%rdi), %rdx
movq 0x10(%rsi), %rcx
cmpq %rcx, %rdx
jae 0xb9564
leaq 0x18(%rbx), %r15
testq %rdx, %rdx
je 0xb956a
movq 0x8(%rbx), %rsi
movl $0x1, %edi
xorl %ecx, %ecx
movq %r15, %r8
callq 0xbe7da
movq %rax, 0x8(%rbx)
movq 0x18(%rbx), %rdx
movq 0x10(%r14), %rcx
jmp 0xb956c
movq 0x8(%rbx), %rsi
jmp 0xb9586
xorl %edx, %edx
movl $0x1, %edi
xorl %esi, %esi
movq %r15, %r8
callq 0xbe7da
movq %rax, %rsi
movq %rax, 0x8(%rbx)
movq 0x10(%r14), %rcx
movq 0x8(%r14), %rdx
movl $0x1, %edi
callq 0xbe8bb
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_bl_s_create
BCORE_DEFINE_FUNCTION_CREATE(  bcore_arr_bl_s )
BCORE_DEFINE_FUNCTION_DISCARD( bcore_arr_bl_s )
BCORE_DEFINE_FUNCTION_CLONE(   bcore_arr_bl_s )

// ---------------------------------------------------------------------------------------------------------------------

static bcore_self_s* arr_bl_s_create_self( void )
{
    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( "bcore_arr_bl_s = bcore_array { aware_t _; bl_t [] arr; }", bcore_arr_bl_s );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_bl_s_init, "bcore_fp_init", "init" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_bl_s_down, "bcore_fp_down", "down" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_bl_s_copy, "bcore_fp_copy", "copy" );
    return self;
}

// Assembly:
pushq %rbx
movl $0x20, %esi
xorl %edi, %edi
callq 0xbe7b1
movq %rax, %rbx
movl $0x20, %esi
movq %rax, %rdi
callq 0xbe802
movabsq $0x48cb1d8b09988fbb, %rax # imm = 0x48CB1D8B09988FBB
movq %rax, (%rbx)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_bl_s_set_space
bcore_arr_bl_s* bcore_arr_bl_s_set_space( bcore_arr_bl_s* o, uz_t space )
{
    if( o->space == 0 )
    {
        o->data = bcore_u_alloc( sizeof( bl_t ), NULL, space, &o->space );
    }
    else
    {
        o->data = bcore_un_alloc( sizeof( bl_t ), o->data, o->space, space, &o->space );
    }
    if( o->size > space ) o->size = space;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rdi), %r8
movq 0x18(%rdi), %rdx
testq %rdx, %rdx
je 0xb967c
movq 0x8(%rbx), %rsi
movl $0x1, %edi
movq %r14, %rcx
callq 0xbe7da
jmp 0xb968e
movl $0x1, %edi
xorl %esi, %esi
movq %r14, %rdx
movq %r8, %rcx
callq 0xbe7d5
movq %rax, 0x8(%rbx)
cmpq %r14, 0x10(%rbx)
jbe 0xb969c
movq %r14, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_bl_s_fill
bcore_arr_bl_s* bcore_arr_bl_s_fill( bcore_arr_bl_s* o, uz_t size, bl_t v )
{
    bcore_arr_bl_s_set_space( o, size );
    for( uz_t i = 0; i < size; i++ ) o->data[ i ] = v;
    o->size = size;
    return o;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
callq 0xb9652
testq %r14, %r14
je 0xb96cf
xorl %eax, %eax
movq 0x8(%rbx), %rcx
movb %bpl, (%rcx,%rax)
incq %rax
cmpq %rax, %r14
jne 0xb96bf
movq %r14, 0x10(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_bl_s_set_size
bcore_arr_bl_s* bcore_arr_bl_s_set_size( bcore_arr_bl_s* o, uz_t size )
{
    bcore_arr_bl_s_set_space( o, size );
    if( size > o->size )
    {
        for( sz_t i = o->size; i < size; i++ ) o->data[ i ] = 0;
    }
    o->size = size;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0xb9652
movq 0x10(%rbx), %rax
cmpq %r14, %rax
jae 0xb9703
movq 0x8(%rbx), %rcx
movb $0x0, (%rcx,%rax)
incq %rax
cmpq %rax, %r14
jne 0xb96f3
movq %r14, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_bl_s_push
bcore_arr_bl_s* bcore_arr_bl_s_push( bcore_arr_bl_s* o, bl_t v )
{
    if( o->size >  o->space ) bcore_arr_bl_s_make_strong( o );
    if( o->size == o->space )
    {
        o->data = bcore_un_alloc( sizeof( bl_t ), o->data, o->space, o->space > 0 ? o->space * 2 : 1, &o->space );
    }
    o->data[ o->size++ ] = v;
    return o;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
movq 0x10(%rdi), %rcx
movq 0x18(%rdi), %rdx
cmpq %rdx, %rcx
jbe 0xb977c
movq %rbx, %rdi
callq 0xb9712
movq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
movq 0x8(%rbx), %rax
cmpq %rdx, %rcx
jne 0xb97ae
leaq 0x18(%rbx), %r8
leaq (%rdx,%rdx), %rcx
testq %rdx, %rdx
movl $0x1, %esi
cmoveq %rsi, %rcx
movl $0x1, %edi
movq %rax, %rsi
callq 0xbe7da
movq %rax, 0x8(%rbx)
movq 0x10(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x10(%rbx)
movb %bpl, (%rax,%rcx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_bl_s_push_left
bcore_arr_bl_s* bcore_arr_bl_s_push_left( bcore_arr_bl_s* o, bl_t v )
{
    bcore_arr_bl_s_push( o, false );
    for( sz_t i = o->size - 1; i > 0; i-- ) o->data[ i ] = o->data[ i - 1 ];
    o->data[ 0 ] = v;
    return o;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
xorl %esi, %esi
callq 0xb9757
movq 0x10(%rbx), %rax
leaq -0x1(%rax), %rcx
testq %rcx, %rcx
jle 0xb97f5
movq 0x8(%rbx), %rcx
movb -0x2(%rax,%rcx), %dl
movb %dl, -0x1(%rax,%rcx)
decq %rax
cmpq $0x1, %rax
ja 0xb97e0
movq 0x8(%rbx), %rax
movb %bpl, (%rax)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_bl_s_push_arr
bcore_arr_bl_s* bcore_arr_bl_s_push_arr( bcore_arr_bl_s* o, const bcore_arr_bl_s* arr )
{
    if( arr->size == 0 ) return o;
    if( o->size > o->space ) bcore_arr_bl_s_make_strong( o );
    if( o->size + arr->size >= o->space )
    {
        uz_t new_space = uz_max( o->space * 2, o->size + arr->size );
        o->data = bcore_un_alloc( sizeof( tp_t ), o->data, o->space, new_space, &o->space );
    }
    for( sz_t i = 0; i < arr->size; i++ ) o->data[ o->size++ ] = arr->data[ i ];
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x10(%rsi), %rax
testq %rax, %rax
je 0xb9891
movq %rsi, %r14
movq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
cmpq %rdx, %rcx
jbe 0xb983a
movq %rbx, %rdi
callq 0xb9712
movq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
movq 0x10(%r14), %rax
addq %rax, %rcx
cmpq %rdx, %rcx
jb 0xb9867
leaq 0x18(%rbx), %r8
leaq (%rdx,%rdx), %rax
cmpq %rcx, %rax
cmovaq %rax, %rcx
movq 0x8(%rbx), %rsi
movl $0x8, %edi
callq 0xbe7da
movq %rax, 0x8(%rbx)
movq 0x10(%r14), %rax
testq %rax, %rax
je 0xb9891
xorl %eax, %eax
movq 0x8(%r14), %rcx
movb (%rcx,%rax), %cl
movq 0x8(%rbx), %rdx
movq 0x10(%rbx), %rsi
leaq 0x1(%rsi), %rdi
movq %rdi, 0x10(%rbx)
movb %cl, (%rdx,%rsi)
incq %rax
cmpq 0x10(%r14), %rax
jb 0xb986e
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_bl_s_cmp
s2_t bcore_arr_bl_s_cmp( const bcore_arr_bl_s* o, const bcore_arr_bl_s* b )
{
    if( o->size == 0 ) return ( b->size == 0 ) ? 0 :  1;
    if( b->size == 0 ) return -1;
    uz_t min_size = uz_min( o->size, b->size );
    for( sz_t i = 0; i < min_size; i++ )
    {
        if( o->data[ i ] != b->data[ i ] ) return ( o->data[ i ] < b->data[ i ] ) ? 2 : -2;
    }
    return ( o->size == b->size ) ? 0 : ( o->size < b->size ) ? +1 : -1;
}

// Assembly:
movq 0x10(%rdi), %rdx
movq 0x10(%rsi), %rcx
testq %rdx, %rdx
je 0xb9934
testq %rcx, %rcx
je 0xb993d
cmpq %rcx, %rdx
movq %rcx, %rax
cmovbq %rdx, %rax
movq 0x8(%rdi), %rdi
movq 0x8(%rsi), %rsi
xorl %r8d, %r8d
movb (%rsi,%r8), %r9b
cmpb %r9b, (%rdi,%r8)
jne 0xb9943
incq %r8
cmpq %r8, %rax
jne 0xb990b
xorl %esi, %esi
cmpq %rcx, %rdx
movl $0x0, %eax
adcl $-0x1, %eax
orl $0x1, %eax
cmpq %rcx, %rdx
cmovel %esi, %eax
retq
xorl %eax, %eax
testq %rcx, %rcx
setne %al
retq
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
retq
setb %al
movzbl %al, %eax
leal -0x2(,%rax,4), %eax
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_st_s_clear
bcore_arr_st_s* bcore_arr_st_s_clear( bcore_arr_st_s* o )
{
    if( o->space == 0 )
    {
        o->data = NULL; // in case array is referencing external data
        o->size = 0;
    }

    for( uz_t i = 0; i < o->size; i++ ) st_s_discard( o->data[ i ] );
    o->size = 0;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq $0x0, 0x18(%rdi)
je 0xb9c24
cmpq $0x0, 0x10(%rbx)
je 0xb9c2e
xorl %r14d, %r14d
movq 0x8(%rbx), %rax
movq (%rax,%r14,8), %rdi
callq 0x10a028
incq %r14
cmpq 0x10(%rbx), %r14
jb 0xb9c0c
jmp 0xb9c2e
leaq 0x8(%rbx), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_st_s_set_size
bcore_arr_st_s* bcore_arr_st_s_set_size( bcore_arr_st_s* o, uz_t size )
{
    bcore_arr_st_s_set_space( o, size );
    if( size > o->size )
    {
        for( sz_t i = o->size; i < size; i++ ) o->data[ i ] = NULL;
    }
    o->size = size;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0xb9c41
movq 0x10(%rbx), %rax
cmpq %r14, %rax
jae 0xb9d28
movq 0x8(%rbx), %rcx
movq $0x0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xb9d14
movq %r14, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_st_s_make_strong
void bcore_arr_st_s_make_strong( bcore_arr_st_s* o )
{
    if( o->size > o->space )
    {
        st_s** data = o->data;
        o->data = bcore_u_alloc( sizeof( st_s* ), NULL, o->size, &o->space );
        for( uz_t i = 0; i < o->size; i++ )
        {
            st_s_copy( o->data[ i ], data[ i ] );
        }
    }
}

// Assembly:
movq 0x10(%rdi), %rdx
cmpq 0x18(%rdi), %rdx
jbe 0xb9d8a
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x18(%rdi), %rcx
movq 0x8(%rdi), %r14
movl $0x8, %edi
xorl %esi, %esi
callq 0xbe7d5
movq %rax, 0x8(%rbx)
cmpq $0x0, 0x10(%rbx)
je 0xb9d85
xorl %r15d, %r15d
movq 0x8(%rbx), %rax
movq (%rax,%r15,8), %rdi
movq (%r14,%r15,8), %rsi
callq 0x1094fa
incq %r15
cmpq 0x10(%rbx), %r15
jb 0xb9d6b
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_st_s_push
st_s* bcore_arr_st_s_push( bcore_arr_st_s* o )
{
    if( o->size >  o->space ) bcore_arr_st_s_make_strong( o );
    if( o->size == o->space )
    {
        o->data = bcore_un_alloc( sizeof( st_s* ), o->data, o->space, o->space > 0 ? o->space * 2 : 1, &o->space );
    }
    o->data[ o->size++ ] = st_s_create();
    return o->data[ o->size - 1 ];
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %rax
movq 0x18(%rdi), %rdx
cmpq %rdx, %rax
jbe 0xb9dac
movq %rbx, %rdi
callq 0xb9d37
movq 0x10(%rbx), %rax
movq 0x18(%rbx), %rdx
cmpq %rdx, %rax
jne 0xb9dd7
leaq 0x18(%rbx), %r8
movq 0x8(%rbx), %rsi
leaq (%rdx,%rdx), %rax
testq %rdx, %rdx
movl $0x1, %ecx
cmovneq %rax, %rcx
movl $0x8, %edi
callq 0xbe7da
movq %rax, 0x8(%rbx)
xorl %eax, %eax
callq 0x109c82
movq 0x8(%rbx), %rcx
movq 0x10(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x10(%rbx)
movq %rax, (%rcx,%rdx,8)
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
movq -0x8(%rax,%rcx,8), %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_st_s_push_st_d
st_s* bcore_arr_st_s_push_st_d( bcore_arr_st_s* o, st_s* st )
{
    if( o->size >  o->space ) bcore_arr_st_s_make_strong( o );
    if( o->size == o->space )
    {
        o->data = bcore_un_alloc( sizeof( st_s* ), o->data, o->space, o->space > 0 ? o->space * 2 : 1, &o->space );
    }
    o->data[ o->size++ ] = st;
    return o->data[ o->size - 1 ];
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x10(%rdi), %rcx
movq 0x18(%rdi), %rdx
cmpq %rdx, %rcx
jbe 0xb9e4d
movq %rbx, %rdi
callq 0xb9d37
movq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
movq 0x8(%rbx), %rax
cmpq %rdx, %rcx
jne 0xb9e7f
leaq 0x18(%rbx), %r8
leaq (%rdx,%rdx), %rsi
testq %rdx, %rdx
movl $0x1, %ecx
cmovneq %rsi, %rcx
movl $0x8, %edi
movq %rax, %rsi
callq 0xbe7da
movq %rax, 0x8(%rbx)
movq 0x10(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x10(%rbx)
movq %r14, (%rax,%rcx,8)
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
movq -0x8(%rax,%rcx,8), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_st_s_sort
bcore_arr_st_s* bcore_arr_st_s_sort( bcore_arr_st_s* o, s2_t order ) // stable mergesort
{
    if( o->space < o->size ) bcore_arr_st_s_make_strong( o );
    st_s** buf = bcore_u_alloc( sizeof( st_s* ), NULL, o->size >> 1, NULL );
    st_sort( o->data, o->size, buf, order );
    bcore_free( buf );
    return o;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
movq 0x10(%rdi), %rdx
cmpq %rdx, 0x18(%rdi)
jae 0xb9fac
movq %rbx, %rdi
callq 0xb9d37
movq 0x10(%rbx), %rdx
shrq %rdx
movl $0x8, %edi
xorl %esi, %esi
xorl %ecx, %ecx
callq 0xbe7d5
movq %rax, %r14
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movq %rax, %rdx
movl %ebp, %ecx
callq 0xb9fe2
movq %r14, %rdi
callq 0xbe7a3
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: st_sort
static void st_sort( st_s** data, uz_t size, st_s** buf, s2_t order )
{
    if( size < 2 ) return;
    uz_t size1 = size >> 1;
    st_sort( data,         size1       , buf, order );
    st_sort( data + size1, size - size1, buf, order );
    bcore_u_memcpy( sizeof( st_s* ), buf, data, size1 );
    for( uz_t i = 0, w = 0, r = size1; i < size1; )
    {
        data[ w++ ] = ( r == size || bcore_strcmp( buf[ i ]->sc, data[ r ]->sc ) * order >= 0 ) ? buf[ i++ ] : data[ r++ ];
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, 0xc(%rsp)
movq %rdi, 0x10(%rsp)
cmpq $0x2, %rsi
jae 0xba00e
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r14
movq %rsi, %rbx
movq %rsi, %r15
shrq %r15
movq 0x10(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
movl 0xc(%rsp), %ebp
movl %ebp, %ecx
callq 0xb9fe2
leaq (%r12,%r15,8), %rdi
movq %rbx, %rsi
subq %r15, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0xb9fe2
movl $0x8, %edi
movq %r14, %rsi
movq %r12, %rdx
movq %r15, %rcx
callq 0xbe8bb
xorl %ebp, %ebp
movq %r15, %r13
cmpq %rbx, %r13
je 0xba084
movq (%r14,%rbp,8), %rax
movq 0x8(%rax), %rdi
movq 0x10(%rsp), %rax
movq (%rax,%r13,8), %rax
movq 0x8(%rax), %rsi
callq 0xbe959
imull 0xc(%rsp), %eax
testl %eax, %eax
js 0xba0a0
leaq (%r14,%rbp,8), %rax
incq %rbp
movq (%rax), %rax
movq %rax, (%r12)
addq $0x8, %r12
cmpq %r15, %rbp
jb 0xba05c
jmp 0xb9fff
movq 0x10(%rsp), %rax
leaq (%rax,%r13,8), %rax
incq %r13
jmp 0xba08b
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_st_s_reorder
bcore_arr_st_s* bcore_arr_st_s_reorder( bcore_arr_st_s* o, const bcore_arr_uz_s* order )
{
    if( o->space < o->size ) bcore_arr_st_s_make_strong( o );
    uz_t buf_space = 0;
    st_s** buf = bcore_u_alloc( sizeof( st_s* ), NULL, order->size, &buf_space );
    for( uz_t i = 0; i < order->size; i++ )
    {
        assert( order->data[ i ] < o->size );
        buf[ i ] = bcore_fork( o->data[ order->data[ i ] ] );
    }
    for( uz_t i = 0; i < o->size; i++ ) st_s_discard( o->data[ i ] );
    bcore_un_alloc( sizeof( st_s* ), o->data, o->space, 0, &o->space );
    o->data = buf;
    o->space = buf_space;
    o->size = order->size;
    return o;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x18(%rdi), %rax
cmpq 0x10(%rdi), %rax
jae 0xba0d3
movq %rbx, %rdi
callq 0xb9d37
leaq 0x8(%rsp), %rcx
movq $0x0, (%rcx)
movq 0x10(%r14), %rdx
movl $0x8, %edi
xorl %esi, %esi
callq 0xbe7d5
movq %rax, %r15
cmpq $0x0, 0x10(%r14)
je 0xba11e
xorl %r12d, %r12d
movq 0x8(%rbx), %rax
movq 0x8(%r14), %rcx
movq (%rcx,%r12,8), %rcx
movq (%rax,%rcx,8), %rdi
callq 0xbe7e4
movq %rax, (%r15,%r12,8)
incq %r12
cmpq 0x10(%r14), %r12
jb 0xba0fc
leaq 0x18(%rbx), %r12
cmpq $0x0, 0x10(%rbx)
je 0xba142
xorl %r13d, %r13d
movq 0x8(%rbx), %rax
movq (%rax,%r13,8), %rdi
callq 0x10a028
incq %r13
cmpq 0x10(%rbx), %r13
jb 0xba12c
movq 0x8(%rbx), %rsi
movq 0x18(%rbx), %rdx
movl $0x8, %edi
xorl %ecx, %ecx
movq %r12, %r8
callq 0xbe7da
movq %r15, 0x8(%rbx)
movq 0x8(%rsp), %rax
movq %rax, 0x18(%rbx)
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_st_s_count_equal
uz_t bcore_arr_st_s_count_equal( const bcore_arr_st_s* o, const st_s* val )
{
    uz_t count = 0;
    for( uz_t i = 0; i < o->size; i++ )
    {
        if( val )
        {
            count += st_s_equal_st( val, o->data[ i ] );
        }
        else
        {
            count += ( o->data[ i ] == NULL );
        }
    }
    return count;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0x10(%rdi), %rax
testq %rax, %rax
je 0xba1e0
movq %rsi, %rbx
movq %rdi, %r14
xorl %r12d, %r12d
xorl %r15d, %r15d
movq 0x8(%r14), %rcx
movq (%rcx,%r12,8), %rcx
testq %rbx, %rbx
je 0xba1b4
testq %rcx, %rcx
je 0xba1bc
movq 0x8(%rcx), %rsi
jmp 0xba1be
testq %rcx, %rcx
sete %cl
jmp 0xba1d0
xorl %esi, %esi
movq 0x8(%rbx), %rdi
callq 0xbe959
testl %eax, %eax
sete %cl
movq 0x10(%r14), %rax
movzbl %cl, %ecx
addq %rcx, %r15
incq %r12
cmpq %rax, %r12
jb 0xba19c
jmp 0xba1e3
xorl %r15d, %r15d
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_st_s_table_to_sink
void bcore_arr_st_s_table_to_sink( const bcore_arr_st_s* o, sz_t rows, sz_t cols, bcore_sink* sink )
{
    rows = ( rows < 0 ) ? ( ( cols > 0 ) ? o->size / cols : o->size ) : rows;
    cols = ( cols < 0 ) ? ( ( rows > 0 ) ? o->size / rows : o->size ) : cols;
    rows = ( cols * rows > o->size ) ? o->size / cols : rows;

    bcore_arr_sz_s* col_sz = bcore_arr_sz_s_create();
    bcore_arr_sz_s_fill( col_sz, cols, 0 );

    for( sz_t i = 0; i < o->size; i++ )
    {
        sz_t size = o->data[ i ] ? o->data[ i ]->size : 0;
        col_sz->data[ i % cols ] = sz_max( col_sz->data[ i % cols ], size );
    }

    for( sz_t i = 0; i < o->size; i++ )
    {
        sz_t size = o->data[ i ] ? o->data[ i ]->size : 0;
        sc_t sc = o->data[ i ] ? o->data[ i ]->sc : "";
        if( ( i + 1 ) % cols == 0 )
        {
            bcore_sink_a_push_fa( sink, "#<sc_t>\n", sc );
        }
        else
        {
            bcore_sink_a_push_fa( sink, "#<sc_t>#rn{ }", sc, col_sz->data[ i % cols ] - size );
        }
    }

    bcore_arr_sz_s_discard( col_sz );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r15
movq %rdi, %r14
testq %rsi, %rsi
js 0xba226
testq %r15, %r15
jns 0xba22f
movq 0x10(%r14), %r15
testq %rsi, %rsi
jle 0xba22f
movq %r15, %rax
xorl %edx, %edx
divq %rsi
movq %rax, %r15
jmp 0xba22f
testq %r15, %r15
jle 0xba36e
movl $0x20, %esi
xorl %edi, %edi
callq 0xbe7b1
movq %rax, %r12
movl $0x20, %esi
movq %rax, %rdi
callq 0xbe802
movabsq $0x3d19b4fc81c235e4, %rax # imm = 0x3D19B4FC81C235E4
movq %rax, (%r12)
movq %r12, %rdi
movq %r15, %rsi
callq 0xb63e8
testq %r15, %r15
je 0xba280
xorl %eax, %eax
movq 0x8(%r12), %rcx
movq $0x0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r15
jne 0xba26b
movq %r15, 0x10(%r12)
cmpq $0x0, 0x10(%r14)
je 0xba351
xorl %ecx, %ecx
movq 0x8(%r14), %rax
movq (%rax,%rcx,8), %rax
testq %rax, %rax
je 0xba2a5
movq 0x10(%rax), %rsi
jmp 0xba2a7
xorl %esi, %esi
movq 0x8(%r12), %rdi
movq %rcx, %rax
cqto
idivq %r15
movq (%rdi,%rdx,8), %rax
cmpq %rsi, %rax
cmovgq %rax, %rsi
movq %rsi, (%rdi,%rdx,8)
incq %rcx
movq 0x10(%r14), %rax
cmpq %rax, %rcx
jb 0xba292
testq %rax, %rax
je 0xba351
leaq 0x884bd(%rip), %rbp     # 0x142798
xorl %esi, %esi
movq 0x8(%r14), %rax
movq (%rax,%rsi,8), %rax
testq %rax, %rax
je 0xba2f4
movq 0x8(%rax), %r8
movq 0x10(%rax), %rdi
jmp 0xba2fd
xorl %edi, %edi
leaq 0x8e418(%rip), %r8      # 0x148715
leaq 0x1(%rsi), %r13
movq %r13, %rax
cqto
idivq %r15
testq %rdx, %rdx
je 0xba334
movq 0x8(%r12), %rcx
movq %rsi, %rax
cqto
idivq %r15
movq (%rcx,%rdx,8), %rcx
subq %rdi, %rcx
movq %rbx, %rdi
movq %rbp, %rsi
movq %r8, %rdx
xorl %eax, %eax
callq 0xfe6d6
jmp 0xba348
movq %rbx, %rdi
leaq 0x93d2a(%rip), %rsi     # 0x14e068
movq %r8, %rdx
xorl %eax, %eax
callq 0xfe6d6
movq %r13, %rsi
cmpq 0x10(%r14), %r13
jb 0xba2dd
leaq -0x40bd(%rip), %rdi     # 0xb629b
movq %r12, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xbe7ee
movq 0x10(%r14), %rsi
jmp 0xba20b
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_vd_s_copy
void bcore_arr_vd_s_copy( bcore_arr_vd_s* o, const bcore_arr_vd_s* src )
{
    if( o->space < src->size )
    {
        if( o->space > 0 ) o->data = bcore_un_alloc( sizeof( vd_t ), o->data, o->space, 0, &o->space );
        o->data = bcore_un_alloc( sizeof( vd_t ), NULL, o->space, src->size, &o->space );
    }
    bcore_u_memcpy( sizeof( vd_t ), o->data, src->data, src->size );
    o->size = src->size;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x18(%rdi), %rdx
movq 0x10(%rsi), %rcx
cmpq %rcx, %rdx
jae 0xba3f3
leaq 0x18(%rbx), %r15
testq %rdx, %rdx
je 0xba3f9
movq 0x8(%rbx), %rsi
movl $0x8, %edi
xorl %ecx, %ecx
movq %r15, %r8
callq 0xbe7da
movq %rax, 0x8(%rbx)
movq 0x18(%rbx), %rdx
movq 0x10(%r14), %rcx
jmp 0xba3fb
movq 0x8(%rbx), %rsi
jmp 0xba415
xorl %edx, %edx
movl $0x8, %edi
xorl %esi, %esi
movq %r15, %r8
callq 0xbe7da
movq %rax, %rsi
movq %rax, 0x8(%rbx)
movq 0x10(%r14), %rcx
movq 0x8(%r14), %rdx
movl $0x8, %edi
callq 0xbe8bb
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_vd_s_create
BCORE_DEFINE_FUNCTION_CREATE(  bcore_arr_vd_s )
BCORE_DEFINE_FUNCTION_DISCARD( bcore_arr_vd_s )
BCORE_DEFINE_FUNCTION_CLONE(   bcore_arr_vd_s )

// ---------------------------------------------------------------------------------------------------------------------

static bcore_self_s* arr_vd_s_create_self( void )
{
    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( "bcore_arr_vd_s = bcore_array { aware_t _; vd_t [] arr; }", bcore_arr_vd_s );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_vd_s_init, "bcore_fp_init", "init" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_vd_s_down, "bcore_fp_down", "down" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_vd_s_copy, "bcore_fp_copy", "copy" );
    return self;
}

// Assembly:
pushq %rbx
movl $0x20, %esi
xorl %edi, %edi
callq 0xbe7b1
movq %rax, %rbx
movl $0x20, %esi
movq %rax, %rdi
callq 0xbe802
movabsq $-0x3568a31bb16d7631, %rax # imm = 0xCA975CE44E9289CF
movq %rax, (%rbx)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_vd_s_set_space
bcore_arr_vd_s* bcore_arr_vd_s_set_space( bcore_arr_vd_s* o, uz_t space )
{
    if( o->space == 0 )
    {
        o->data = bcore_u_alloc( sizeof( vd_t ), NULL, space, &o->space );
    }
    else
    {
        o->data = bcore_un_alloc( sizeof( vd_t ), o->data, o->space, space, &o->space );
    }
    if( o->size > space ) o->size = space;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rdi), %r8
movq 0x18(%rdi), %rdx
testq %rdx, %rdx
je 0xba50b
movq 0x8(%rbx), %rsi
movl $0x8, %edi
movq %r14, %rcx
callq 0xbe7da
jmp 0xba51d
movl $0x8, %edi
xorl %esi, %esi
movq %r14, %rdx
movq %r8, %rcx
callq 0xbe7d5
movq %rax, 0x8(%rbx)
cmpq %r14, 0x10(%rbx)
jbe 0xba52b
movq %r14, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_vd_s_fill
bcore_arr_vd_s* bcore_arr_vd_s_fill( bcore_arr_vd_s* o, uz_t size, vd_t v )
{
    bcore_arr_vd_s_set_space( o, size );
    for( uz_t i = 0; i < size; i++ ) o->data[ i ] = v;
    o->size = size;
    return o;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
callq 0xba4e1
testq %r14, %r14
je 0xba560
xorl %eax, %eax
movq 0x8(%rbx), %rcx
movq %r15, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xba550
movq %r14, 0x10(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_vd_s_set_size
bcore_arr_vd_s* bcore_arr_vd_s_set_size( bcore_arr_vd_s* o, uz_t size )
{
    bcore_arr_vd_s_set_space( o, size );
    if( size > o->size )
    {
        for( sz_t i = o->size; i < size; i++ ) o->data[ i ] = NULL;
    }
    o->size = size;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0xba4e1
movq 0x10(%rbx), %rax
cmpq %r14, %rax
jae 0xba599
movq 0x8(%rbx), %rcx
movq $0x0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xba585
movq %r14, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_vd_s_push_left
bcore_arr_vd_s* bcore_arr_vd_s_push_left( bcore_arr_vd_s* o, vd_t v )
{
    bcore_arr_vd_s_push( o, NULL );
    for( sz_t i = o->size - 1; i > 0; i-- ) o->data[ i ] = o->data[ i - 1 ];
    o->data[ 0 ] = v;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
xorl %esi, %esi
callq 0xba5ed
movq 0x10(%rbx), %rax
leaq -0x1(%rax), %rcx
testq %rcx, %rcx
jle 0xba692
movq 0x8(%rbx), %rcx
movq -0x10(%rcx,%rax,8), %rdx
movq %rdx, -0x8(%rcx,%rax,8)
decq %rax
cmpq $0x1, %rax
ja 0xba67b
movq 0x8(%rbx), %rax
movq %r14, (%rax)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_vd_s_reorder
bcore_arr_vd_s* bcore_arr_vd_s_reorder( bcore_arr_vd_s* o, const bcore_arr_uz_s* order )
{
    if( o->space < o->size ) bcore_arr_vd_s_make_strong( o );
    uz_t buf_space = 0;
    vd_t* buf = bcore_u_alloc( sizeof( vd_t ), NULL, order->size, &buf_space );
    for( uz_t i = 0; i < order->size; i++ )
    {
        assert( order->data[ i ] < o->size );
        buf[ i ] = o->data[ order->data[ i ] ];
    }
    bcore_un_alloc( sizeof( vd_t ), o->data, o->space, 0, &o->space );
    o->data = buf;
    o->space = buf_space;
    o->size = order->size;
    return o;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x18(%rdi), %rax
cmpq 0x10(%rdi), %rax
jae 0xba6e2
movq %rbx, %rdi
callq 0xba5a8
leaq 0x18(%rbx), %r15
movq %rsp, %rcx
movq $0x0, (%rcx)
movq 0x10(%r14), %rdx
movl $0x8, %edi
xorl %esi, %esi
callq 0xbe7d5
movq %rax, %r12
cmpq $0x0, 0x10(%r14)
je 0xba729
xorl %eax, %eax
movq 0x8(%rbx), %rcx
movq 0x8(%r14), %rdx
movq (%rdx,%rax,8), %rdx
movq (%rcx,%rdx,8), %rcx
movq %rcx, (%r12,%rax,8)
incq %rax
cmpq 0x10(%r14), %rax
jb 0xba70c
movq 0x8(%rbx), %rsi
movq 0x18(%rbx), %rdx
movl $0x8, %edi
xorl %ecx, %ecx
movq %r15, %r8
callq 0xbe7da
movq %r12, 0x8(%rbx)
movq (%rsp), %rax
movq %rax, 0x18(%rbx)
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_vd_s_find
uz_t bcore_arr_vd_s_find( const bcore_arr_vd_s* o, uz_t start, uz_t end, vd_t v )
{
    if( end >= start )
    {
        uz_t end_l = end < o->size ? end : o->size;
        for( uz_t j = start; j < end_l; j++ ) if( o->data[ j ] == v ) return j;
        return end_l;
    }
    else
    {
        uz_t start_l = start < o->size ? start : o->size;
        for( uz_t j = start_l - 1;  j < start_l && j >= end; j-- ) if( o->data[ j ] == v ) return j;
        return start_l;
    }
}

// Assembly:
cmpq %rsi, %rdx
jae 0xba78e
movq 0x10(%rdi), %rax
cmpq %rsi, %rax
cmovbq %rax, %rsi
movq %rsi, %rax
decq %rax
cmpq %rsi, %rax
jae 0xba7be
cmpq %rdx, %rax
jb 0xba7be
movq 0x8(%rdi), %r8
cmpq %rcx, (%r8,%rax,8)
jne 0xba776
retq
movq 0x10(%rdi), %rax
cmpq %rdx, %rax
cmovbq %rax, %rdx
cmpq %rsi, %rdx
jbe 0xba7b3
movq 0x8(%rdi), %rax
cmpq %rcx, (%rax,%rsi,8)
je 0xba7b3
incq %rsi
cmpq %rsi, %rdx
jne 0xba7a2
movq %rdx, %rsi
cmpq %rdx, %rsi
cmovbq %rsi, %rdx
movq %rdx, %rax
retq
movq %rsi, %rax
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_fp_s_copy
void bcore_arr_fp_s_copy( bcore_arr_fp_s* o, const bcore_arr_fp_s* src )
{
    if( o->space < src->size )
    {
        if( o->space > 0 ) o->data = bcore_un_alloc( sizeof( fp_t ), o->data, o->space, 0, &o->space );
        o->data = bcore_un_alloc( sizeof( fp_t ), NULL, o->space, src->size, &o->space );
    }
    bcore_u_memcpy( sizeof( fp_t ), o->data, src->data, src->size );
    o->size = src->size;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x18(%rdi), %rdx
movq 0x10(%rsi), %rcx
cmpq %rcx, %rdx
jae 0xba869
leaq 0x18(%rbx), %r15
testq %rdx, %rdx
je 0xba86f
movq 0x8(%rbx), %rsi
movl $0x8, %edi
xorl %ecx, %ecx
movq %r15, %r8
callq 0xbe7da
movq %rax, 0x8(%rbx)
movq 0x18(%rbx), %rdx
movq 0x10(%r14), %rcx
jmp 0xba871
movq 0x8(%rbx), %rsi
jmp 0xba88b
xorl %edx, %edx
movl $0x8, %edi
xorl %esi, %esi
movq %r15, %r8
callq 0xbe7da
movq %rax, %rsi
movq %rax, 0x8(%rbx)
movq 0x10(%r14), %rcx
movq 0x8(%r14), %rdx
movl $0x8, %edi
callq 0xbe8bb
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_fp_s_create
BCORE_DEFINE_FUNCTION_CREATE(  bcore_arr_fp_s )
BCORE_DEFINE_FUNCTION_DISCARD( bcore_arr_fp_s )
BCORE_DEFINE_FUNCTION_CLONE(   bcore_arr_fp_s )

// ---------------------------------------------------------------------------------------------------------------------

static bcore_self_s* arr_fp_s_create_self( void )
{
    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( "bcore_arr_fp_s = bcore_array { aware_t _; fp_t [] arr; }", bcore_arr_fp_s );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_fp_s_init, "bcore_fp_init", "init" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_fp_s_down, "bcore_fp_down", "down" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_fp_s_copy, "bcore_fp_copy", "copy" );
    return self;
}

// Assembly:
pushq %rbx
movl $0x20, %esi
xorl %edi, %edi
callq 0xbe7b1
movq %rax, %rbx
movl $0x20, %esi
movq %rax, %rdi
callq 0xbe802
movabsq $-0xd08ae97e9ebf165, %rax # imm = 0xF2F7516816140E9B
movq %rax, (%rbx)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_fp_s_set_space
bcore_arr_fp_s* bcore_arr_fp_s_set_space( bcore_arr_fp_s* o, uz_t space )
{
    if( o->space == 0 )
    {
        o->data = bcore_u_alloc( sizeof( fp_t ), NULL, space, &o->space );
    }
    else
    {
        o->data = bcore_un_alloc( sizeof( fp_t ), o->data, o->space, space, &o->space );
    }
    if( o->size > space ) o->size = space;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rdi), %r8
movq 0x18(%rdi), %rdx
testq %rdx, %rdx
je 0xba981
movq 0x8(%rbx), %rsi
movl $0x8, %edi
movq %r14, %rcx
callq 0xbe7da
jmp 0xba993
movl $0x8, %edi
xorl %esi, %esi
movq %r14, %rdx
movq %r8, %rcx
callq 0xbe7d5
movq %rax, 0x8(%rbx)
cmpq %r14, 0x10(%rbx)
jbe 0xba9a1
movq %r14, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_fp_s_set_size
bcore_arr_fp_s* bcore_arr_fp_s_set_size( bcore_arr_fp_s* o, sz_t size )
{
    bcore_arr_fp_s_set_space( o, size );
    if( size > o->size )
    {
        for( sz_t i = o->size; i < size; i++ ) o->data[ i ] = NULL;
    }
    o->size = size;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0xba957
movq 0x10(%rbx), %rax
cmpq %r14, %rax
setae %cl
setge %dl
orb %cl, %dl
jne 0xba9e0
movq 0x8(%rbx), %rcx
movq $0x0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xba9cc
movq %r14, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_fp_s_fill
bcore_arr_fp_s* bcore_arr_fp_s_fill( bcore_arr_fp_s* o, uz_t size, fp_t v )
{
    bcore_arr_fp_s_set_space( o, size );
    for( uz_t i = 0; i < size; i++ ) o->data[ i ] = v;
    o->size = size;
    return o;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
callq 0xba957
testq %r14, %r14
je 0xbaa19
xorl %eax, %eax
movq 0x8(%rbx), %rcx
movq %r15, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xbaa09
movq %r14, 0x10(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_fp_s_push_left
bcore_arr_fp_s* bcore_arr_fp_s_push_left( bcore_arr_fp_s* o, fp_t v )
{
    bcore_arr_fp_s_push( o, NULL );
    for( sz_t i = o->size - 1; i > 0; i-- ) o->data[ i ] = o->data[ i - 1 ];
    o->data[ 0 ] = v;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
xorl %esi, %esi
callq 0xbaa6b
movq 0x10(%rbx), %rax
leaq -0x1(%rax), %rcx
testq %rcx, %rcx
jle 0xbab10
movq 0x8(%rbx), %rcx
movq -0x10(%rcx,%rax,8), %rdx
movq %rdx, -0x8(%rcx,%rax,8)
decq %rax
cmpq $0x1, %rax
ja 0xbaaf9
movq 0x8(%rbx), %rax
movq %r14, (%rax)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_fp_s_find
uz_t bcore_arr_fp_s_find( const bcore_arr_fp_s* o, uz_t start, uz_t end, fp_t v )
{
    if( end >= start )
    {
        uz_t end_l = end < o->size ? end : o->size;
        for( uz_t j = start; j < end_l; j++ ) if( o->data[ j ] == v ) return j;
        return end_l;
    }
    else
    {
        uz_t start_l = start < o->size ? start : o->size;
        for( uz_t j = start_l - 1;  j < start_l && j >= end; j-- ) if( o->data[ j ] == v ) return j;
        return start_l;
    }
}

// Assembly:
cmpq %rsi, %rdx
jae 0xbac0c
movq 0x10(%rdi), %rax
cmpq %rsi, %rax
cmovbq %rax, %rsi
movq %rsi, %rax
decq %rax
cmpq %rsi, %rax
jae 0xbac3c
cmpq %rdx, %rax
jb 0xbac3c
movq 0x8(%rdi), %r8
cmpq %rcx, (%r8,%rax,8)
jne 0xbabf4
retq
movq 0x10(%rdi), %rax
cmpq %rdx, %rax
cmovbq %rax, %rdx
cmpq %rsi, %rdx
jbe 0xbac31
movq 0x8(%rdi), %rax
cmpq %rcx, (%rax,%rsi,8)
je 0xbac31
incq %rsi
cmpq %rsi, %rdx
jne 0xbac20
movq %rdx, %rsi
cmpq %rdx, %rsi
cmovbq %rsi, %rdx
movq %rdx, %rax
retq
movq %rsi, %rax
retq