LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s0_s_push
bcore_arr_s0_s* bcore_arr_s0_s_push( bcore_arr_s0_s* o, s0_t v )
{
    if( o->size >  o->space ) bcore_arr_s0_s_make_strong( o );
    if( o->size == o->space )
    {
        o->data = bcore_un_alloc( sizeof( s0_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), %rax
cmpq 0x18(%rdi), %rax
jbe 0xc1438
movq %rbx, %rdi
callq 0xc13d9
movq 0x18(%rbx), %rdx
cmpq %rdx, 0x10(%rbx)
jne 0xc1468
leaq 0x18(%rbx), %r8
movq 0x8(%rbx), %rsi
leaq (%rdx,%rdx), %rcx
testq %rdx, %rdx
movl $0x1, %eax
cmoveq %rax, %rcx
movl $0x1, %edi
callq 0xc833e
movq %rax, 0x8(%rbx)
movq 0x8(%rbx), %rax
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_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s0_s_push_left
bcore_arr_s0_s* bcore_arr_s0_s_push_left( bcore_arr_s0_s* o, s0_t v )
{
    bcore_arr_s0_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 %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
xorl %esi, %esi
callq 0xc141e
movq 0x10(%rbx), %rax
leaq -0x1(%rax), %rcx
testq %rcx, %rcx
jle 0xc14b7
movq 0x8(%rbx), %rcx
movb -0x2(%rax,%rcx), %dl
movb %dl, -0x1(%rax,%rcx)
decq %rax
cmpq $0x1, %rax
jg 0xc14a2
movq 0x8(%rbx), %rax
movb %bpl, (%rax)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s0_s_push_arr
bcore_arr_s0_s* bcore_arr_s0_s_push_arr( bcore_arr_s0_s* o, const bcore_arr_s0_s* arr )
{
    if( arr->size == 0 ) return o;
    if( o->size > o->space ) bcore_arr_s0_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
cmpq $0x0, 0x10(%rsi)
je 0xc1549
movq %rsi, %r14
movq 0x10(%rbx), %rax
cmpq 0x18(%rbx), %rax
jbe 0xc14eb
movq %rbx, %rdi
callq 0xc13d9
movq 0x10(%r14), %rcx
addq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
cmpq %rdx, %rcx
jb 0xc151d
leaq 0x18(%rbx), %r8
leaq (%rdx,%rdx), %rax
cmpq %rcx, %rax
cmovaq %rax, %rcx
movq 0x8(%rbx), %rsi
movl $0x8, %edi
callq 0xc833e
movq %rax, 0x8(%rbx)
cmpq $0x0, 0x10(%r14)
je 0xc1549
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 0xc1526
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s0_s_cmp
s2_t bcore_arr_s0_s_cmp( const bcore_arr_s0_s* o, const bcore_arr_s0_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 0xc15d8
testq %rcx, %rcx
je 0xc15e1
cmpq %rcx, %rdx
movq %rcx, %rax
cmovbq %rdx, %rax
movq 0x8(%rdi), %rdi
movq 0x8(%rsi), %r8
movb (%rdi), %r9b
movb (%r8), %r10b
movb $0x1, %sil
cmpb %r10b, %r9b
jne 0xc15c7
leaq -0x1(%rax), %r11
xorl %esi, %esi
cmpq %rsi, %r11
je 0xc15e7
movb 0x1(%rdi,%rsi), %r9b
movb 0x1(%r8,%rsi), %r10b
incq %rsi
cmpb %r10b, %r9b
je 0xc15a9
cmpq %rax, %rsi
setb %sil
xorl %eax, %eax
cmpb %r10b, %r9b
setl %al
leal -0x2(,%rax,4), %eax
jmp 0xc15e9
xorl %eax, %eax
testq %rcx, %rcx
setne %al
retq
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
retq
xorl %esi, %esi
testb %sil, %sil
je 0xc15ef
retq
xorl %esi, %esi
cmpq %rcx, %rdx
movl $0x0, %eax
adcl $-0x1, %eax
orl $0x1, %eax
cmpq %rcx, %rdx
cmovel %esi, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s0_s_sort
bcore_arr_s0_s* bcore_arr_s0_s_sort( bcore_arr_s0_s* o, s2_t order ) // stable mergesort
{
    if( o->space < o->size ) bcore_arr_s0_s_make_strong( o );
    s0_t* buf = bcore_u_alloc( sizeof( s0_t ), NULL, o->size >> 1, NULL );
    s0_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 0x18(%rdi), %rax
cmpq 0x10(%rdi), %rax
jae 0xc1621
movq %rbx, %rdi
callq 0xc13d9
movq 0x10(%rbx), %rdx
shrq %rdx
movl $0x1, %edi
xorl %esi, %esi
xorl %ecx, %ecx
callq 0xc8339
movq %rax, %r14
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movq %rax, %rdx
movl %ebp, %ecx
callq 0xc165b
movq %r14, %rdi
callq 0xc8307
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: s0_sort
static void s0_sort( s0_t* data, uz_t size, s0_t* buf, s2_t order )
{
    if( size < 2 ) return;
    uz_t size1 = size >> 1;
    s0_sort( data,         size1       , buf, order );
    s0_sort( data + size1, size - size1, buf, order );
    bcore_u_memcpy( sizeof( s0_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 0xc170f
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 0xc165b
leaq (%r15,%r12), %rdi
movq %r14, %rsi
subq %r12, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0xc165b
movl $0x1, %edi
movq %rbx, %rsi
movq %r15, %rdx
movq %r12, %rcx
callq 0xc842f
xorl %eax, %eax
movq %r15, %rcx
movq %r12, %rdx
testl %ebp, %ebp
jle 0xc16e1
cmpq %r14, %rdx
je 0xc16cd
movb (%r15,%rdx), %sil
cmpb %sil, (%rbx,%rax)
jle 0xc16cd
incq %rdx
jmp 0xc16d4
movb (%rbx,%rax), %sil
incq %rax
movb %sil, (%rcx)
incq %rcx
cmpq %r12, %rax
jb 0xc16b9
jmp 0xc1707
cmpq %r14, %rdx
je 0xc16f5
movb (%r15,%rdx), %sil
cmpb %sil, (%rbx,%rax)
jge 0xc16f5
incq %rdx
jmp 0xc16fc
movb (%rbx,%rax), %sil
incq %rax
movb %sil, (%rcx)
incq %rcx
cmpq %r12, %rax
jb 0xc16e1
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s0_s_reorder
bcore_arr_s0_s* bcore_arr_s0_s_reorder( bcore_arr_s0_s* o, const bcore_arr_uz_s* order )
{
    if( o->space < o->size ) bcore_arr_s0_s_make_strong( o );
    uz_t buf_space = 0;
    s0_t* buf = bcore_u_alloc( sizeof( s0_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( s0_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 0xc1730
movq %rbx, %rdi
callq 0xc13d9
leaq 0x18(%rbx), %r15
movq %rsp, %rcx
movq $0x0, (%rcx)
movq 0x10(%r14), %rdx
movl $0x1, %edi
xorl %esi, %esi
callq 0xc8339
movq %rax, %r12
cmpq $0x0, 0x10(%r14)
je 0xc1776
xorl %eax, %eax
movq 0x8(%rbx), %rcx
movq 0x8(%r14), %rdx
movq (%rdx,%rax,8), %rdx
movb (%rcx,%rdx), %cl
movb %cl, (%r12,%rax)
incq %rax
cmpq 0x10(%r14), %rax
jb 0xc175a
movq 0x8(%rbx), %rsi
movq 0x18(%rbx), %rdx
movl $0x1, %edi
xorl %ecx, %ecx
movq %r15, %r8
callq 0xc833e
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_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s0_s_max
s0_t bcore_arr_s0_s_max( const bcore_arr_s0_s* o )
{
    if( o->size == 0 ) return 0;
    s0_t max = o->data[ 0 ];
    for( uz_t i = 1; i < o->size; i++ ) max = o->data[ i ] > max ? o->data[ i ] : max;
    return max;
}

// Assembly:
movq 0x10(%rdi), %rcx
testq %rcx, %rcx
je 0xc186e
movq 0x8(%rdi), %rdx
movb (%rdx), %al
cmpq $0x1, %rcx
je 0xc186d
movl $0x1, %esi
movzbl (%rdx,%rsi), %edi
movzbl %al, %eax
cmpb %al, %dil
cmovgl %edi, %eax
incq %rsi
cmpq %rsi, %rcx
jne 0xc1858
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s0_s_min
s0_t bcore_arr_s0_s_min( const bcore_arr_s0_s* o )
{
    if( o->size == 0 ) return 0;
    s0_t min = o->data[ 0 ];
    for( uz_t i = 1; i < o->size; i++ ) min = o->data[ i ] < min ? o->data[ i ] : min;
    return min;
}

// Assembly:
movq 0x10(%rdi), %rcx
testq %rcx, %rcx
je 0xc18a1
movq 0x8(%rdi), %rdx
movb (%rdx), %al
cmpq $0x1, %rcx
je 0xc18a0
movl $0x1, %esi
movzbl (%rdx,%rsi), %edi
movzbl %al, %eax
cmpb %al, %dil
cmovll %edi, %eax
incq %rsi
cmpq %rsi, %rcx
jne 0xc188b
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s0_s_idx_max
uz_t bcore_arr_s0_s_idx_max( const bcore_arr_s0_s* o )
{
    if( o->size == 0 ) return 0;
    s0_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 0xc18b3
cmpq $0x1, %rcx
jne 0xc18b6
xorl %eax, %eax
retq
movq 0x8(%rdi), %rdx
movb (%rdx), %sil
movl $0x1, %edi
xorl %eax, %eax
movzbl (%rdx,%rdi), %r8d
cmpb %sil, %r8b
movzbl %sil, %esi
cmovgl %r8d, %esi
cmovgq %rdi, %rax
incq %rdi
cmpq %rdi, %rcx
jne 0xc18c4
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s0_s_idx_min
uz_t bcore_arr_s0_s_idx_min( const bcore_arr_s0_s* o )
{
    if( o->size == 0 ) return 0;
    s0_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 0xc18f0
cmpq $0x1, %rcx
jne 0xc18f3
xorl %eax, %eax
retq
movq 0x8(%rdi), %rdx
movb (%rdx), %sil
movl $0x1, %edi
xorl %eax, %eax
movzbl (%rdx,%rdi), %r8d
cmpb %sil, %r8b
movzbl %sil, %esi
cmovll %r8d, %esi
cmovlq %rdi, %rax
incq %rdi
cmpq %rdi, %rcx
jne 0xc1901
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s3_s_copy
void bcore_arr_s3_s_copy( bcore_arr_s3_s* o, const bcore_arr_s3_s* src )
{
    if( o->space < src->size )
    {
        if( o->space > 0 ) o->data = bcore_un_alloc( sizeof( s3_t ), o->data, o->space, 0, &o->space );
        o->data = bcore_un_alloc( sizeof( s3_t ), NULL, o->space, src->size, &o->space );
    }
    bcore_u_memcpy( sizeof( s3_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
cmpq 0x10(%rsi), %rdx
jae 0xc19a8
leaq 0x18(%rbx), %r15
testq %rdx, %rdx
je 0xc198d
movq 0x8(%rbx), %rsi
movl $0x8, %edi
xorl %ecx, %ecx
movq %r15, %r8
callq 0xc833e
movq %rax, 0x8(%rbx)
movq 0x18(%rbx), %rdx
movq 0x10(%r14), %rcx
movl $0x8, %edi
xorl %esi, %esi
movq %r15, %r8
callq 0xc833e
movq %rax, 0x8(%rbx)
movq 0x8(%rbx), %rsi
movq 0x8(%r14), %rdx
movq 0x10(%r14), %rcx
movl $0x8, %edi
callq 0xc842f
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s3_s_create
BCORE_DEFINE_FUNCTION_CREATE(  bcore_arr_s3_s )
BCORE_DEFINE_FUNCTION_DISCARD( bcore_arr_s3_s )
BCORE_DEFINE_FUNCTION_CLONE(   bcore_arr_s3_s )

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

static bcore_self_s* arr_s3_s_create_self( void )
{
    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( "bcore_arr_s3_s = bcore_array { aware_t _; s3_t [] arr; }", bcore_arr_s3_s );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_s3_s_init, "bcore_fp_init", "init" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_s3_s_down, "bcore_fp_down", "down" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_s3_s_copy, "bcore_fp_copy", "copy" );
    return self;
}

// Assembly:
pushq %rbx
movl $0x20, %esi
xorl %edi, %edi
callq 0xc8315
movq %rax, %rbx
movl $0x20, %esi
movq %rax, %rdi
callq 0xc8366
movabsq $0x2cabd5fd9af9a7b7, %rax # imm = 0x2CABD5FD9AF9A7B7
movq %rax, (%rbx)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s3_s_set_space
bcore_arr_s3_s* bcore_arr_s3_s_set_space( bcore_arr_s3_s* o, uz_t space )
{
    if( o->space == 0 )
    {
        o->data = bcore_u_alloc( sizeof( s3_t ), NULL, space, &o->space );
    }
    else
    {
        o->data = bcore_un_alloc( sizeof( s3_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 0xc1aa6
movq 0x8(%rbx), %rsi
movl $0x8, %edi
movq %r14, %rcx
callq 0xc833e
jmp 0xc1ab8
movl $0x8, %edi
xorl %esi, %esi
movq %r14, %rdx
movq %r8, %rcx
callq 0xc8339
movq %rax, 0x8(%rbx)
cmpq %r14, 0x10(%rbx)
jbe 0xc1ac6
movq %r14, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s3_s_fill
bcore_arr_s3_s* bcore_arr_s3_s_fill( bcore_arr_s3_s* o, uz_t size, s3_t v )
{
    bcore_arr_s3_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 0xc1a7c
testq %r14, %r14
je 0xc1afb
xorl %eax, %eax
movq 0x8(%rbx), %rcx
movq %r15, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xc1aeb
movq %r14, 0x10(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s3_s_set_size
bcore_arr_s3_s* bcore_arr_s3_s_set_size( bcore_arr_s3_s* o, uz_t size )
{
    bcore_arr_s3_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 0xc1a7c
movq 0x10(%rbx), %rax
cmpq %r14, %rax
jae 0xc1b34
movq 0x8(%rbx), %rcx
movq $0x0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xc1b20
movq %r14, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s3_s_step_fill
bcore_arr_s3_s* bcore_arr_s3_s_step_fill( bcore_arr_s3_s* o, s3_t v_start, s3_t step, uz_t size )
{
    bcore_arr_s3_s_set_space( o, size );
    s3_t v = v_start;
    for( uz_t i = 0; i < size; i++ )
    {
        o->data[ i ] = v;
        v += step;
    }
    o->size = size;
    return o;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
movq %rcx, %rsi
callq 0xc1a7c
testq %rbx, %rbx
je 0xc1b79
xorl %eax, %eax
movq 0x8(%r14), %rcx
movq %r12, (%rcx,%rax,8)
addq %r15, %r12
incq %rax
cmpq %rax, %rbx
jne 0xc1b66
movq %rbx, 0x10(%r14)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s3_s_push
bcore_arr_s3_s* bcore_arr_s3_s_push( bcore_arr_s3_s* o, s3_t v )
{
    if( o->size >  o->space ) bcore_arr_s3_s_make_strong( o );
    if( o->size == o->space )
    {
        o->data = bcore_un_alloc( sizeof( s3_t ), o->data, o->space, o->space > 0 ? o->space * 2 : 1, &o->space );
    }
    o->data[ o->size++ ] = v;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jbe 0xc1bed
movq %rbx, %rdi
callq 0xc1b8c
movq 0x18(%rbx), %rdx
cmpq %rdx, 0x10(%rbx)
jne 0xc1c1d
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 0xc833e
movq %rax, 0x8(%rbx)
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x10(%rbx)
movq %r14, (%rax,%rcx,8)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s3_s_push_left
bcore_arr_s3_s* bcore_arr_s3_s_push_left( bcore_arr_s3_s* o, s3_t v )
{
    bcore_arr_s3_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 0xc1bd1
movq 0x10(%rbx), %rax
leaq -0x1(%rax), %rcx
testq %rcx, %rcx
jle 0xc1c71
movq 0x8(%rbx), %rcx
movq -0x10(%rcx,%rax,8), %rdx
movq %rdx, -0x8(%rcx,%rax,8)
decq %rax
cmpq $0x1, %rax
jg 0xc1c5a
movq 0x8(%rbx), %rax
movq %r14, (%rax)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s3_s_push_arr
bcore_arr_s3_s* bcore_arr_s3_s_push_arr( bcore_arr_s3_s* o, const bcore_arr_s3_s* arr )
{
    if( arr->size == 0 ) return o;
    if( o->size > o->space ) bcore_arr_s3_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
cmpq $0x0, 0x10(%rsi)
je 0xc1d06
movq %rsi, %r14
movq 0x10(%rbx), %rax
cmpq 0x18(%rbx), %rax
jbe 0xc1ca6
movq %rbx, %rdi
callq 0xc1b8c
movq 0x10(%r14), %rcx
addq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
cmpq %rdx, %rcx
jb 0xc1cd8
leaq 0x18(%rbx), %r8
leaq (%rdx,%rdx), %rax
cmpq %rcx, %rax
cmovaq %rax, %rcx
movq 0x8(%rbx), %rsi
movl $0x8, %edi
callq 0xc833e
movq %rax, 0x8(%rbx)
cmpq $0x0, 0x10(%r14)
je 0xc1d06
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 0xc1ce1
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s3_s_sort
bcore_arr_s3_s* bcore_arr_s3_s_sort( bcore_arr_s3_s* o, s2_t order ) // stable mergesort
{
    if( o->space < o->size ) bcore_arr_s3_s_make_strong( o );
    s3_t* buf = bcore_u_alloc( sizeof( s3_t ), NULL, o->size >> 1, NULL );
    s3_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 0x18(%rdi), %rax
cmpq 0x10(%rdi), %rax
jae 0xc1ddf
movq %rbx, %rdi
callq 0xc1b8c
movq 0x10(%rbx), %rdx
shrq %rdx
movl $0x8, %edi
xorl %esi, %esi
xorl %ecx, %ecx
callq 0xc8339
movq %rax, %r14
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movq %rax, %rdx
movl %ebp, %ecx
callq 0xc1e19
movq %r14, %rdi
callq 0xc8307
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: s3_sort
static void s3_sort( s3_t* data, uz_t size, s3_t* buf, s2_t order )
{
    if( size < 2 ) return;
    uz_t size1 = size >> 1;
    s3_sort( data,         size1       , buf, order );
    s3_sort( data + size1, size - size1, buf, order );
    bcore_u_memcpy( sizeof( s3_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 0xc1ecf
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 0xc1e19
leaq (%r15,%r12,8), %rdi
movq %r14, %rsi
subq %r12, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0xc1e19
movl $0x8, %edi
movq %rbx, %rsi
movq %r15, %rdx
movq %r12, %rcx
callq 0xc842f
xorl %eax, %eax
movq %r15, %rcx
movq %r12, %rdx
testl %ebp, %ebp
jle 0xc1ea0
cmpq %r14, %rdx
je 0xc1e8b
movq (%r15,%rdx,8), %rsi
cmpq %rsi, (%rbx,%rax,8)
jle 0xc1e8b
incq %rdx
jmp 0xc1e92
movq (%rbx,%rax,8), %rsi
incq %rax
movq %rsi, (%rcx)
addq $0x8, %rcx
cmpq %r12, %rax
jb 0xc1e77
jmp 0xc1ec7
cmpq %r14, %rdx
je 0xc1eb4
movq (%r15,%rdx,8), %rsi
cmpq %rsi, (%rbx,%rax,8)
jge 0xc1eb4
incq %rdx
jmp 0xc1ebb
movq (%rbx,%rax,8), %rsi
incq %rax
movq %rsi, (%rcx)
addq $0x8, %rcx
cmpq %r12, %rax
jb 0xc1ea0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s3_s_reorder
bcore_arr_s3_s* bcore_arr_s3_s_reorder( bcore_arr_s3_s* o, const bcore_arr_uz_s* order )
{
    if( o->space < o->size ) bcore_arr_s3_s_make_strong( o );
    uz_t buf_space = 0;
    s3_t* buf = bcore_u_alloc( sizeof( s3_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( s3_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 0xc1ef0
movq %rbx, %rdi
callq 0xc1b8c
leaq 0x18(%rbx), %r15
movq %rsp, %rcx
movq $0x0, (%rcx)
movq 0x10(%r14), %rdx
movl $0x8, %edi
xorl %esi, %esi
callq 0xc8339
movq %rax, %r12
cmpq $0x0, 0x10(%r14)
je 0xc1f37
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 0xc1f1a
movq 0x8(%rbx), %rsi
movq 0x18(%rbx), %rdx
movl $0x8, %edi
xorl %ecx, %ecx
movq %r15, %r8
callq 0xc833e
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_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s3_s_find
uz_t bcore_arr_s3_s_find( const bcore_arr_s3_s* o, uz_t start, uz_t end, s3_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 0xc1fc7
movq 0x10(%rdi), %rax
cmpq %rsi, %rax
cmovbq %rax, %rsi
movq %rsi, %rax
decq %rax
cmpq %rsi, %rax
jae 0xc1ff7
cmpq %rdx, %rax
jb 0xc1ff7
movq 0x8(%rdi), %r8
cmpq %rcx, (%r8,%rax,8)
jne 0xc1faf
retq
movq 0x10(%rdi), %rax
cmpq %rdx, %rax
cmovbq %rax, %rdx
cmpq %rsi, %rdx
jbe 0xc1fec
movq 0x8(%rdi), %rax
cmpq %rcx, (%rax,%rsi,8)
je 0xc1fec
incq %rsi
cmpq %rsi, %rdx
jne 0xc1fdb
movq %rdx, %rsi
cmpq %rdx, %rsi
cmovbq %rsi, %rdx
movq %rdx, %rax
retq
movq %rsi, %rax
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s3_s_max
s3_t bcore_arr_s3_s_max( const bcore_arr_s3_s* o )
{
    if( o->size == 0 ) return 0;
    s3_t max = o->data[ 0 ];
    for( uz_t i = 1; i < o->size; i++ ) max = o->data[ i ] > max ? o->data[ i ] : max;
    return max;
}

// Assembly:
movq 0x10(%rdi), %rcx
testq %rcx, %rcx
je 0xc202a
movq 0x8(%rdi), %rdx
movq (%rdx), %rax
cmpq $0x1, %rcx
je 0xc2029
movl $0x1, %esi
movq (%rdx,%rsi,8), %rdi
cmpq %rax, %rdi
cmovgq %rdi, %rax
incq %rsi
cmpq %rsi, %rcx
jne 0xc2016
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s3_s_min
s3_t bcore_arr_s3_s_min( const bcore_arr_s3_s* o )
{
    if( o->size == 0 ) return 0;
    s3_t min = o->data[ 0 ];
    for( uz_t i = 1; i < o->size; i++ ) min = o->data[ i ] < min ? o->data[ i ] : min;
    return min;
}

// Assembly:
movq 0x10(%rdi), %rcx
testq %rcx, %rcx
je 0xc205c
movq 0x8(%rdi), %rdx
movq (%rdx), %rax
cmpq $0x1, %rcx
je 0xc205b
movl $0x1, %esi
movq (%rdx,%rsi,8), %rdi
cmpq %rax, %rdi
cmovlq %rdi, %rax
incq %rsi
cmpq %rsi, %rcx
jne 0xc2048
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s3_s_idx_max
uz_t bcore_arr_s3_s_idx_max( const bcore_arr_s3_s* o )
{
    if( o->size == 0 ) return 0;
    s3_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 0xc206e
cmpq $0x1, %rcx
jne 0xc2071
xorl %eax, %eax
retq
movq 0x8(%rdi), %rdx
movq (%rdx), %rsi
movl $0x1, %edi
xorl %eax, %eax
movq (%rdx,%rdi,8), %r8
cmpq %rsi, %r8
cmovgq %r8, %rsi
cmovgq %rdi, %rax
incq %rdi
cmpq %rdi, %rcx
jne 0xc207f
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s3_s_idx_min
uz_t bcore_arr_s3_s_idx_min( const bcore_arr_s3_s* o )
{
    if( o->size == 0 ) return 0;
    s3_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 0xc20a6
cmpq $0x1, %rcx
jne 0xc20a9
xorl %eax, %eax
retq
movq 0x8(%rdi), %rdx
movq (%rdx), %rsi
movl $0x1, %edi
xorl %eax, %eax
movq (%rdx,%rdi,8), %r8
cmpq %rsi, %r8
cmovlq %r8, %rsi
cmovlq %rdi, %rax
incq %rdi
cmpq %rdi, %rcx
jne 0xc20b7
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_f3_s_create
BCORE_DEFINE_FUNCTION_CREATE(  bcore_arr_f3_s )
BCORE_DEFINE_FUNCTION_DISCARD( bcore_arr_f3_s )
BCORE_DEFINE_FUNCTION_CLONE(   bcore_arr_f3_s )

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

static bcore_self_s* arr_f3_s_create_self( void )
{
    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( "bcore_arr_f3_s = bcore_array { aware_t _; f3_t [] arr; }", bcore_arr_f3_s );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_f3_s_init, "bcore_fp_init", "init" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_f3_s_down, "bcore_fp_down", "down" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_f3_s_copy, "bcore_fp_copy", "copy" );
    return self;
}

// Assembly:
pushq %rbx
movl $0x20, %esi
xorl %edi, %edi
callq 0xc8315
movq %rax, %rbx
movl $0x20, %esi
movq %rax, %rdi
callq 0xc8366
movabsq $0x32a0e6941335482, %rax # imm = 0x32A0E6941335482
movq %rax, (%rbx)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_f3_s_set_space
bcore_arr_f3_s* bcore_arr_f3_s_set_space( bcore_arr_f3_s* o, uz_t space )
{
    if( o->space == 0 )
    {
        o->data = bcore_u_alloc( sizeof( f3_t ), NULL, space, &o->space );
    }
    else
    {
        o->data = bcore_un_alloc( sizeof( f3_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 0xc2257
movq 0x8(%rbx), %rsi
movl $0x8, %edi
movq %r14, %rcx
callq 0xc833e
jmp 0xc2269
movl $0x8, %edi
xorl %esi, %esi
movq %r14, %rdx
movq %r8, %rcx
callq 0xc8339
movq %rax, 0x8(%rbx)
cmpq %r14, 0x10(%rbx)
jbe 0xc2277
movq %r14, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_f3_s_fill
bcore_arr_f3_s* bcore_arr_f3_s_fill( bcore_arr_f3_s* o, uz_t size, f3_t v )
{
    bcore_arr_f3_s_set_space( o, size );
    for( uz_t i = 0; i < size; i++ ) o->data[ i ] = v;
    o->size = size;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movsd %xmm0, (%rsp)
movq %rsi, %r14
movq %rdi, %rbx
callq 0xc222d
movsd (%rsp), %xmm0
testq %r14, %r14
je 0xc22b3
xorl %eax, %eax
movq 0x8(%rbx), %rcx
movsd %xmm0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xc22a2
movq %r14, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_f3_s_set_size
bcore_arr_f3_s* bcore_arr_f3_s_set_size( bcore_arr_f3_s* o, uz_t size )
{
    bcore_arr_f3_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 0xc222d
movq 0x10(%rbx), %rax
cmpq %r14, %rax
jae 0xc22ee
movq 0x8(%rbx), %rcx
movq $0x0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xc22da
movq %r14, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_f3_s_step_fill
bcore_arr_f3_s* bcore_arr_f3_s_step_fill( bcore_arr_f3_s* o, f3_t v_start, f3_t step, uz_t size )
{
    bcore_arr_f3_s_set_space( o, size );
    f3_t v = v_start;
    for( uz_t i = 0; i < size; i++ )
    {
        o->data[ i ] = v;
        v += step;
    }
    o->size = size;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movsd %xmm1, 0x10(%rsp)
movsd %xmm0, 0x8(%rsp)
movq %rdi, %r14
callq 0xc222d
movsd 0x8(%rsp), %xmm1
movsd 0x10(%rsp), %xmm0
testq %rbx, %rbx
je 0xc2343
xorl %eax, %eax
movq 0x8(%r14), %rcx
movsd %xmm1, (%rcx,%rax,8)
addsd %xmm0, %xmm1
incq %rax
cmpq %rax, %rbx
jne 0xc232e
movq %rbx, 0x10(%r14)
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_f3_s_push
bcore_arr_f3_s* bcore_arr_f3_s_push( bcore_arr_f3_s* o, f3_t v )
{
    if( o->size >  o->space ) bcore_arr_f3_s_make_strong( o );
    if( o->size == o->space )
    {
        o->data = bcore_un_alloc( sizeof( f3_t ), o->data, o->space, o->space > 0 ? o->space * 2 : 1, &o->space );
    }
    o->data[ o->size++ ] = v;
    return o;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movsd %xmm0, 0x8(%rsp)
movq %rdi, %rbx
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jbe 0xc23b7
movq %rbx, %rdi
callq 0xc2352
movq 0x18(%rbx), %rdx
cmpq %rdx, 0x10(%rbx)
jne 0xc23e7
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 0xc833e
movq %rax, 0x8(%rbx)
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x10(%rbx)
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_f3_s_push_left
bcore_arr_f3_s* bcore_arr_f3_s_push_left( bcore_arr_f3_s* o, f3_t v )
{
    bcore_arr_f3_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 %rbx
subq $0x10, %rsp
movsd %xmm0, 0x8(%rsp)
movq %rdi, %rbx
xorps %xmm0, %xmm0
callq 0xc2397
movq 0x10(%rbx), %rax
leaq -0x1(%rax), %rcx
testq %rcx, %rcx
jle 0xc2447
movq 0x8(%rbx), %rcx
movsd -0x10(%rcx,%rax,8), %xmm0
movsd %xmm0, -0x8(%rcx,%rax,8)
decq %rax
cmpq $0x1, %rax
jg 0xc242e
movq 0x8(%rbx), %rax
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_f3_s_push_arr
bcore_arr_f3_s* bcore_arr_f3_s_push_arr( bcore_arr_f3_s* o, const bcore_arr_f3_s* arr )
{
    if( arr->size == 0 ) return o;
    if( o->size > o->space ) bcore_arr_f3_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
cmpq $0x0, 0x10(%rsi)
je 0xc24e3
movq %rsi, %r14
movq 0x10(%rbx), %rax
cmpq 0x18(%rbx), %rax
jbe 0xc2481
movq %rbx, %rdi
callq 0xc2352
movq 0x10(%r14), %rcx
addq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
cmpq %rdx, %rcx
jb 0xc24b3
leaq 0x18(%rbx), %r8
leaq (%rdx,%rdx), %rax
cmpq %rcx, %rax
cmovaq %rax, %rcx
movq 0x8(%rbx), %rsi
movl $0x8, %edi
callq 0xc833e
movq %rax, 0x8(%rbx)
cmpq $0x0, 0x10(%r14)
je 0xc24e3
xorl %eax, %eax
movq 0x8(%r14), %rcx
movsd (%rcx,%rax,8), %xmm0
movq 0x8(%rbx), %rcx
movq 0x10(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x10(%rbx)
movsd %xmm0, (%rcx,%rdx,8)
incq %rax
cmpq 0x10(%r14), %rax
jb 0xc24bc
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_f3_s_cmp
s2_t bcore_arr_f3_s_cmp( const bcore_arr_f3_s* o, const bcore_arr_f3_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 0xc25a4
testq %rcx, %rcx
je 0xc25ad
cmpq %rcx, %rdx
movq %rcx, %rax
cmovbq %rdx, %rax
movq 0x8(%rdi), %rdi
movq 0x8(%rsi), %r8
movsd (%rdi), %xmm0
movsd (%r8), %xmm1
movb $0x1, %sil
ucomisd %xmm1, %xmm0
jne 0xc2578
jp 0xc2578
leaq -0x1(%rax), %r9
xorl %esi, %esi
cmpq %rsi, %r9
je 0xc25b3
movsd 0x8(%rdi,%rsi,8), %xmm0
movsd 0x8(%r8,%rsi,8), %xmm1
incq %rsi
ucomisd %xmm1, %xmm0
jne 0xc2571
jnp 0xc2554
cmpq %rax, %rsi
setb %sil
xorl %eax, %eax
ucomisd %xmm0, %xmm1
seta %al
leal -0x2(,%rax,4), %eax
testb %sil, %sil
jne 0xc25ac
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
xorl %esi, %esi
jmp 0xc2588
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_f3_s_sort
bcore_arr_f3_s* bcore_arr_f3_s_sort( bcore_arr_f3_s* o, s2_t order ) // stable mergesort
{
    if( o->space < o->size ) bcore_arr_f3_s_make_strong( o );
    f3_t* buf = bcore_u_alloc( sizeof( f3_t ), NULL, o->size >> 1, NULL );
    f3_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 0x18(%rdi), %rax
cmpq 0x10(%rdi), %rax
jae 0xc25d2
movq %rbx, %rdi
callq 0xc2352
movq 0x10(%rbx), %rdx
shrq %rdx
movl $0x8, %edi
xorl %esi, %esi
xorl %ecx, %ecx
callq 0xc8339
movq %rax, %r14
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movq %rax, %rdx
movl %ebp, %ecx
callq 0xc260c
movq %r14, %rdi
callq 0xc8307
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: f3_sort
static void f3_sort( f3_t* data, uz_t size, f3_t* buf, s2_t order )
{
    if( size < 2 ) return;
    uz_t size1 = size >> 1;
    f3_sort( data,         size1       , buf, order );
    f3_sort( data + size1, size - size1, buf, order );
    bcore_u_memcpy( sizeof( f3_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 0xc26d0
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 0xc260c
leaq (%r15,%r12,8), %rdi
movq %r14, %rsi
subq %r12, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0xc260c
movl $0x8, %edi
movq %rbx, %rsi
movq %r15, %rdx
movq %r12, %rcx
callq 0xc842f
xorl %eax, %eax
movq %r15, %rcx
movq %r12, %rdx
testl %ebp, %ebp
jle 0xc2698
cmpq %r14, %rdx
je 0xc2681
movsd (%r15,%rdx,8), %xmm0
ucomisd (%rbx,%rax,8), %xmm0
jae 0xc2681
incq %rdx
jmp 0xc2689
movsd (%rbx,%rax,8), %xmm0
incq %rax
movsd %xmm0, (%rcx)
addq $0x8, %rcx
cmpq %r12, %rax
jb 0xc266a
jmp 0xc26c8
cmpq %r14, %rdx
je 0xc26b3
movsd (%rbx,%rax,8), %xmm1
movsd (%r15,%rdx,8), %xmm0
ucomisd %xmm0, %xmm1
jae 0xc26b3
incq %rdx
jmp 0xc26bb
movsd (%rbx,%rax,8), %xmm0
incq %rax
movsd %xmm0, (%rcx)
addq $0x8, %rcx
cmpq %r12, %rax
jb 0xc2698
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_f3_s_reorder
bcore_arr_f3_s* bcore_arr_f3_s_reorder( bcore_arr_f3_s* o, const bcore_arr_uz_s* order )
{
    if( o->space < o->size ) bcore_arr_f3_s_make_strong( o );
    uz_t buf_space = 0;
    f3_t* buf = bcore_u_alloc( sizeof( f3_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( f3_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 0xc26f1
movq %rbx, %rdi
callq 0xc2352
leaq 0x18(%rbx), %r15
movq %rsp, %rcx
movq $0x0, (%rcx)
movq 0x10(%r14), %rdx
movl $0x8, %edi
xorl %esi, %esi
callq 0xc8339
movq %rax, %r12
cmpq $0x0, 0x10(%r14)
je 0xc273b
xorl %eax, %eax
movq 0x8(%rbx), %rcx
movq 0x8(%r14), %rdx
movq (%rdx,%rax,8), %rdx
movsd (%rcx,%rdx,8), %xmm0
movsd %xmm0, (%r12,%rax,8)
incq %rax
cmpq 0x10(%r14), %rax
jb 0xc271b
movq 0x8(%rbx), %rsi
movq 0x18(%rbx), %rdx
movl $0x8, %edi
xorl %ecx, %ecx
movq %r15, %r8
callq 0xc833e
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_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_f3_s_find
uz_t bcore_arr_f3_s_find( const bcore_arr_f3_s* o, uz_t start, uz_t end, f3_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 0xc27d6
movq 0x10(%rdi), %rax
cmpq %rsi, %rax
cmovbq %rax, %rsi
movq %rsi, %rax
decq %rax
cmpq %rsi, %rax
jae 0xc280d
cmpq %rdx, %rax
jb 0xc280d
movq 0x8(%rdi), %rcx
movsd (%rcx,%rax,8), %xmm1
ucomisd %xmm0, %xmm1
jne 0xc27b7
jp 0xc27b7
retq
movq 0x10(%rdi), %rax
cmpq %rdx, %rax
cmovbq %rax, %rdx
cmpq %rsi, %rdx
jbe 0xc2802
movq 0x8(%rdi), %rax
movsd (%rax,%rsi,8), %xmm1
ucomisd %xmm0, %xmm1
jne 0xc27f7
jnp 0xc2802
incq %rsi
cmpq %rsi, %rdx
jne 0xc27ea
movq %rdx, %rsi
cmpq %rdx, %rsi
cmovbq %rsi, %rdx
movq %rdx, %rax
retq
movq %rsi, %rax
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_f3_s_max
f3_t bcore_arr_f3_s_max( const bcore_arr_f3_s* o )
{
    if( o->size == 0 ) return 0;
    f3_t max = o->data[ 0 ];
    for( uz_t i = 1; i < o->size; i++ ) max = o->data[ i ] > max ? o->data[ i ] : max;
    return max;
}

// Assembly:
movq 0x10(%rdi), %rax
testq %rax, %rax
je 0xc282d
movq 0x8(%rdi), %rcx
movsd (%rcx), %xmm1
cmpq $0x1, %rax
jne 0xc2831
movapd %xmm1, %xmm0
retq
xorps %xmm0, %xmm0
retq
movl $0x1, %edx
movsd (%rcx,%rdx,8), %xmm0
maxsd %xmm1, %xmm0
incq %rdx
movapd %xmm0, %xmm1
cmpq %rdx, %rax
jne 0xc2836
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_f3_s_min
f3_t bcore_arr_f3_s_min( const bcore_arr_f3_s* o )
{
    if( o->size == 0 ) return 0;
    f3_t min = o->data[ 0 ];
    for( uz_t i = 1; i < o->size; i++ ) min = o->data[ i ] < min ? o->data[ i ] : min;
    return min;
}

// Assembly:
movq 0x10(%rdi), %rax
testq %rax, %rax
je 0xc2868
movq 0x8(%rdi), %rcx
movsd (%rcx), %xmm1
cmpq $0x1, %rax
jne 0xc286c
movapd %xmm1, %xmm0
retq
xorps %xmm0, %xmm0
retq
movl $0x1, %edx
movsd (%rcx,%rdx,8), %xmm0
minsd %xmm1, %xmm0
incq %rdx
movapd %xmm0, %xmm1
cmpq %rdx, %rax
jne 0xc2871
retq
// File: /workspace/github_c_makefile_star2_O1/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 0xc2896
cmpq $0x1, %rcx
jne 0xc2899
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 0xc28a8
retq
// File: /workspace/github_c_makefile_star2_O1/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 0xc28d5
cmpq $0x1, %rcx
jne 0xc28d8
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 0xc28e7
retq
// File: /workspace/github_c_makefile_star2_O1/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 0xc8315
movq %rax, %rbx
movl $0x20, %esi
movq %rax, %rdi
callq 0xc8366
movabsq $-0x79c1eb0a2e5b4c6b, %rax # imm = 0x863E14F5D1A4B395
movq %rax, (%rbx)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/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 0xc2a8d
movq 0x8(%rbx), %rsi
movl $0x8, %edi
movq %r14, %rcx
callq 0xc833e
jmp 0xc2a9f
movl $0x8, %edi
xorl %esi, %esi
movq %r14, %rdx
movq %r8, %rcx
callq 0xc8339
movq %rax, 0x8(%rbx)
cmpq %r14, 0x10(%rbx)
jbe 0xc2aad
movq %r14, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/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 0xc2a63
testq %r14, %r14
je 0xc2ae2
xorl %eax, %eax
movq 0x8(%rbx), %rcx
movq %r15, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xc2ad2
movq %r14, 0x10(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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 0xc2a63
movq 0x10(%rbx), %rax
cmpq %r14, %rax
jae 0xc2b1b
movq 0x8(%rbx), %rcx
movq $0x0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xc2b07
movq %r14, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq