LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_s0_s_copy
void bcore_arr_s0_s_copy( bcore_arr_s0_s* o, const bcore_arr_s0_s* src )
{
    if( o->space < src->size )
    {
        if( o->space > 0 ) o->data = bcore_un_alloc( sizeof( s0_t ), o->data, o->space, 0, &o->space );
        o->data = bcore_un_alloc( sizeof( s0_t ), NULL, o->space, src->size, &o->space );
    }
    bcore_u_memcpy( sizeof( s0_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 0xb776f
leaq 0x18(%rbx), %r15
testq %rdx, %rdx
je 0xb7775
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 0xb7777
movq 0x8(%rbx), %rsi
jmp 0xb7791
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_s0_s_create
BCORE_DEFINE_FUNCTION_CREATE(  bcore_arr_s0_s )
BCORE_DEFINE_FUNCTION_DISCARD( bcore_arr_s0_s )
BCORE_DEFINE_FUNCTION_CLONE(   bcore_arr_s0_s )

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

static bcore_self_s* arr_s0_s_create_self( void )
{
    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( "bcore_arr_s0_s = bcore_array { aware_t _; s0_t [] arr; }", bcore_arr_s0_s );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_s0_s_init, "bcore_fp_init", "init" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_s0_s_down, "bcore_fp_down", "down" );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_arr_s0_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 $0x127f52fd8c18695e, %rax # imm = 0x127F52FD8C18695E
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_s0_s_set_space
bcore_arr_s0_s* bcore_arr_s0_s_set_space( bcore_arr_s0_s* o, uz_t space )
{
    if( o->space == 0 )
    {
        o->data = bcore_u_alloc( sizeof( s0_t ), NULL, space, &o->space );
    }
    else
    {
        o->data = bcore_un_alloc( sizeof( s0_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 0xb7887
movq 0x8(%rbx), %rsi
movl $0x1, %edi
movq %r14, %rcx
callq 0xbe7da
jmp 0xb7899
movl $0x1, %edi
xorl %esi, %esi
movq %r14, %rdx
movq %r8, %rcx
callq 0xbe7d5
movq %rax, 0x8(%rbx)
cmpq %r14, 0x10(%rbx)
jbe 0xb78a7
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_s0_s_fill
bcore_arr_s0_s* bcore_arr_s0_s_fill( bcore_arr_s0_s* o, uz_t size, s0_t v )
{
    bcore_arr_s0_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 0xb785d
testq %r14, %r14
je 0xb78da
xorl %eax, %eax
movq 0x8(%rbx), %rcx
movb %bpl, (%rcx,%rax)
incq %rax
cmpq %rax, %r14
jne 0xb78ca
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_s0_s_set_size
bcore_arr_s0_s* bcore_arr_s0_s_set_size( bcore_arr_s0_s* o, uz_t size )
{
    bcore_arr_s0_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 0xb785d
movq 0x10(%rbx), %rax
cmpq %r14, %rax
jae 0xb790e
movq 0x8(%rbx), %rcx
movb $0x0, (%rcx,%rax)
incq %rax
cmpq %rax, %r14
jne 0xb78fe
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_s0_s_step_fill
bcore_arr_s0_s* bcore_arr_s0_s_step_fill( bcore_arr_s0_s* o, s0_t v_start, s0_t step, uz_t size )
{
    bcore_arr_s0_s_set_space( o, size );
    s0_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 %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
movl %edx, %ebp
movl %esi, %r15d
movq %rdi, %r14
movq %rcx, %rsi
callq 0xb785d
testq %rbx, %rbx
je 0xb7951
xorl %eax, %eax
movq 0x8(%r14), %rcx
movb %r15b, (%rcx,%rax)
addb %bpl, %r15b
incq %rax
cmpq %rax, %rbx
jne 0xb793e
movq %rbx, 0x10(%r14)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
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_s0_s_make_strong
void bcore_arr_s0_s_make_strong( bcore_arr_s0_s* o )
{
    if( o->size > o->space )
    {
        s0_t* data = o->data;
        o->data = bcore_u_alloc( sizeof( s0_t ), NULL, o->size, &o->space );
        bcore_u_memcpy( sizeof( s0_t ), o->data, data, o->size );
    }
}

// Assembly:
movq 0x10(%rdi), %rdx
cmpq 0x18(%rdi), %rdx
jbe 0xb79a7
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x18(%rdi), %rcx
movq 0x8(%rdi), %r14
movl $0x1, %edi
xorl %esi, %esi
callq 0xbe7d5
movq %rax, 0x8(%rbx)
movq 0x10(%rbx), %rcx
movl $0x1, %edi
movq %rax, %rsi
movq %r14, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xbe8bb
retq
// File: /workspace/github_c_makefile_star2_O3/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), %rcx
movq 0x18(%rdi), %rdx
cmpq %rdx, %rcx
jbe 0xb79cd
movq %rbx, %rdi
callq 0xb7963
movq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
movq 0x8(%rbx), %rax
cmpq %rdx, %rcx
jne 0xb79ff
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_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 0xb79a8
movq 0x10(%rbx), %rax
leaq -0x1(%rax), %rcx
testq %rcx, %rcx
jle 0xb7a46
movq 0x8(%rbx), %rcx
movb -0x2(%rax,%rcx), %dl
movb %dl, -0x1(%rax,%rcx)
decq %rax
cmpq $0x1, %rax
ja 0xb7a31
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_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
movq 0x10(%rsi), %rax
testq %rax, %rax
je 0xb7ae2
movq %rsi, %r14
movq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
cmpq %rdx, %rcx
jbe 0xb7a8b
movq %rbx, %rdi
callq 0xb7963
movq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
movq 0x10(%r14), %rax
addq %rax, %rcx
cmpq %rdx, %rcx
jb 0xb7ab8
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 0xb7ae2
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 0xb7abf
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_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 0xb7b5a
testq %rcx, %rcx
je 0xb7b63
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 0xb7b69
incq %r8
cmpq %r8, %rax
jne 0xb7b31
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
setl %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_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 0x10(%rdi), %rdx
cmpq %rdx, 0x18(%rdi)
jae 0xb7b96
movq %rbx, %rdi
callq 0xb7963
movq 0x10(%rbx), %rdx
shrq %rdx
movl $0x1, %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 0xb7bcc
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: 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 0xb7c82
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 0xb7bcc
leaq (%r15,%r12), %rdi
movq %r14, %rsi
subq %r12, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0xb7bcc
movl $0x1, %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 0xb7c53
movb (%rbx,%rax), %sil
cmpq %r14, %rdx
je 0xb7c43
movb (%r15,%rdx), %dil
cmpb %dil, %sil
jle 0xb7c43
incq %rdx
movl %edi, %esi
jmp 0xb7c46
incq %rax
movb %sil, (%rcx)
incq %rcx
cmpq %r12, %rax
jb 0xb7c2a
jmp 0xb7c7a
movb (%rbx,%rax), %sil
cmpq %r14, %rdx
je 0xb7c6c
movb (%r15,%rdx), %dil
cmpb %dil, %sil
jge 0xb7c6c
incq %rdx
movl %edi, %esi
jmp 0xb7c6f
incq %rax
movb %sil, (%rcx)
incq %rcx
cmpq %r12, %rax
jb 0xb7c53
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_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 0xb7ca3
movq %rbx, %rdi
callq 0xb7963
leaq 0x18(%rbx), %r15
movq %rsp, %rcx
movq $0x0, (%rcx)
movq 0x10(%r14), %rdx
movl $0x1, %edi
xorl %esi, %esi
callq 0xbe7d5
movq %rax, %r12
cmpq $0x0, 0x10(%r14)
je 0xb7ce9
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 0xb7ccd
movq 0x8(%rbx), %rsi
movq 0x18(%rbx), %rdx
movl $0x1, %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_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 0xb7de1
movq 0x8(%rdi), %rdx
movb (%rdx), %al
cmpq $0x1, %rcx
je 0xb7de0
movl $0x1, %esi
movzbl (%rdx,%rsi), %edi
movzbl %al, %eax
cmpb %al, %dil
cmovgl %edi, %eax
incq %rsi
cmpq %rsi, %rcx
jne 0xb7dcb
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xb7e14
movq 0x8(%rdi), %rdx
movb (%rdx), %al
cmpq $0x1, %rcx
je 0xb7e13
movl $0x1, %esi
movzbl (%rdx,%rsi), %edi
movzbl %al, %eax
cmpb %al, %dil
cmovll %edi, %eax
incq %rsi
cmpq %rsi, %rcx
jne 0xb7dfe
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xb7e26
cmpq $0x1, %rcx
jne 0xb7e29
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 0xb7e37
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xb7e63
cmpq $0x1, %rcx
jne 0xb7e66
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 0xb7e74
retq
// File: /workspace/github_c_makefile_star2_O3/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
movq 0x10(%rsi), %rcx
cmpq %rcx, %rdx
jae 0xb7f0d
leaq 0x18(%rbx), %r15
testq %rdx, %rdx
je 0xb7f13
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 0xb7f15
movq 0x8(%rbx), %rsi
jmp 0xb7f2f
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_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 0xbe7b1
movq %rax, %rbx
movl $0x20, %esi
movq %rax, %rdi
callq 0xbe802
movabsq $0x2cabd5fd9af9a7b7, %rax # imm = 0x2CABD5FD9AF9A7B7
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_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 0xb8025
movq 0x8(%rbx), %rsi
movl $0x8, %edi
movq %r14, %rcx
callq 0xbe7da
jmp 0xb8037
movl $0x8, %edi
xorl %esi, %esi
movq %r14, %rdx
movq %r8, %rcx
callq 0xbe7d5
movq %rax, 0x8(%rbx)
cmpq %r14, 0x10(%rbx)
jbe 0xb8045
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_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 0xb7ffb
testq %r14, %r14
je 0xb807a
xorl %eax, %eax
movq 0x8(%rbx), %rcx
movq %r15, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xb806a
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_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 0xb7ffb
movq 0x10(%rbx), %rax
cmpq %r14, %rax
jae 0xb80b3
movq 0x8(%rbx), %rcx
movq $0x0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xb809f
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_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 0xb7ffb
testq %rbx, %rbx
je 0xb80f8
xorl %eax, %eax
movq 0x8(%r14), %rcx
movq %r12, (%rcx,%rax,8)
addq %r15, %r12
incq %rax
cmpq %rax, %rbx
jne 0xb80e5
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_O3/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), %rcx
movq 0x18(%rdi), %rdx
cmpq %rdx, %rcx
jbe 0xb8177
movq %rbx, %rdi
callq 0xb810b
movq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
movq 0x8(%rbx), %rax
cmpq %rdx, %rcx
jne 0xb81a9
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 %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_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 0xb8150
movq 0x10(%rbx), %rax
leaq -0x1(%rax), %rcx
testq %rcx, %rcx
jle 0xb81f5
movq 0x8(%rbx), %rcx
movq -0x10(%rcx,%rax,8), %rdx
movq %rdx, -0x8(%rcx,%rax,8)
decq %rax
cmpq $0x1, %rax
ja 0xb81de
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_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
movq 0x10(%rsi), %rax
testq %rax, %rax
je 0xb8294
movq %rsi, %r14
movq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
cmpq %rdx, %rcx
jbe 0xb823b
movq %rbx, %rdi
callq 0xb810b
movq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
movq 0x10(%r14), %rax
addq %rax, %rcx
cmpq %rdx, %rcx
jb 0xb8268
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 0xb8294
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 0xb826f
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_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 0x10(%rdi), %rdx
cmpq %rdx, 0x18(%rdi)
jae 0xb8349
movq %rbx, %rdi
callq 0xb810b
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 0xb837f
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: 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 0xb8439
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 0xb837f
leaq (%r15,%r12,8), %rdi
movq %r14, %rsi
subq %r12, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0xb837f
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 0xb8408
movq (%rbx,%rax,8), %rsi
cmpq %r14, %rdx
je 0xb83f7
movq (%r15,%rdx,8), %rdi
cmpq %rdi, %rsi
jle 0xb83f7
incq %rdx
movq %rdi, %rsi
jmp 0xb83fa
incq %rax
movq %rsi, (%rcx)
addq $0x8, %rcx
cmpq %r12, %rax
jb 0xb83dd
jmp 0xb8431
movq (%rbx,%rax,8), %rsi
cmpq %r14, %rdx
je 0xb8422
movq (%r15,%rdx,8), %rdi
cmpq %rdi, %rsi
jge 0xb8422
incq %rdx
movq %rdi, %rsi
jmp 0xb8425
incq %rax
movq %rsi, (%rcx)
addq $0x8, %rcx
cmpq %r12, %rax
jb 0xb8408
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_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 0xb8531
movq 0x10(%rdi), %rax
cmpq %rsi, %rax
cmovbq %rax, %rsi
movq %rsi, %rax
decq %rax
cmpq %rsi, %rax
jae 0xb8561
cmpq %rdx, %rax
jb 0xb8561
movq 0x8(%rdi), %r8
cmpq %rcx, (%r8,%rax,8)
jne 0xb8519
retq
movq 0x10(%rdi), %rax
cmpq %rdx, %rax
cmovbq %rax, %rdx
cmpq %rsi, %rdx
jbe 0xb8556
movq 0x8(%rdi), %rax
cmpq %rcx, (%rax,%rsi,8)
je 0xb8556
incq %rsi
cmpq %rsi, %rdx
jne 0xb8545
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_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 0xb8594
movq 0x8(%rdi), %rdx
movq (%rdx), %rax
cmpq $0x1, %rcx
je 0xb8593
movl $0x1, %esi
movq (%rdx,%rsi,8), %rdi
cmpq %rax, %rdi
cmovgq %rdi, %rax
incq %rsi
cmpq %rsi, %rcx
jne 0xb8580
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xb85c6
movq 0x8(%rdi), %rdx
movq (%rdx), %rax
cmpq $0x1, %rcx
je 0xb85c5
movl $0x1, %esi
movq (%rdx,%rsi,8), %rdi
cmpq %rax, %rdi
cmovlq %rdi, %rax
incq %rsi
cmpq %rsi, %rcx
jne 0xb85b2
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xb85d8
cmpq $0x1, %rcx
jne 0xb85db
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 0xb85e9
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xb8610
cmpq $0x1, %rcx
jne 0xb8613
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 0xb8621
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_f3_s_copy
void bcore_arr_f3_s_copy( bcore_arr_f3_s* o, const bcore_arr_f3_s* src )
{
    if( o->space < src->size )
    {
        if( o->space > 0 ) o->data = bcore_un_alloc( sizeof( f3_t ), o->data, o->space, 0, &o->space );
        o->data = bcore_un_alloc( sizeof( f3_t ), NULL, o->space, src->size, &o->space );
    }
    bcore_u_memcpy( sizeof( f3_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 0xb86b5
leaq 0x18(%rbx), %r15
testq %rdx, %rdx
je 0xb86bb
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 0xb86bd
movq 0x8(%rbx), %rsi
jmp 0xb86d7
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_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 0xbe7b1
movq %rax, %rbx
movl $0x20, %esi
movq %rax, %rdi
callq 0xbe802
movabsq $0x32a0e6941335482, %rax # imm = 0x32A0E6941335482
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_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 0xb87cd
movq 0x8(%rbx), %rsi
movl $0x8, %edi
movq %r14, %rcx
callq 0xbe7da
jmp 0xb87df
movl $0x8, %edi
xorl %esi, %esi
movq %r14, %rdx
movq %r8, %rcx
callq 0xbe7d5
movq %rax, 0x8(%rbx)
cmpq %r14, 0x10(%rbx)
jbe 0xb87ed
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_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 0xb87a3
movsd (%rsp), %xmm0
testq %r14, %r14
je 0xb8829
xorl %eax, %eax
movq 0x8(%rbx), %rcx
movsd %xmm0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xb8818
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_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 0xb87a3
movq 0x10(%rbx), %rax
cmpq %r14, %rax
jae 0xb8864
movq 0x8(%rbx), %rcx
movq $0x0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xb8850
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_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 0xb87a3
movsd 0x8(%rsp), %xmm1
movsd 0x10(%rsp), %xmm0
testq %rbx, %rbx
je 0xb88b9
xorl %eax, %eax
movq 0x8(%r14), %rcx
movsd %xmm1, (%rcx,%rax,8)
addsd %xmm0, %xmm1
incq %rax
cmpq %rax, %rbx
jne 0xb88a4
movq %rbx, 0x10(%r14)
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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), %rcx
movq 0x18(%rdi), %rdx
cmpq %rdx, %rcx
jbe 0xb8938
movq %rbx, %rdi
callq 0xb88c8
movq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
movq 0x8(%rbx), %rax
cmpq %rdx, %rcx
jne 0xb896a
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)
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xb890d
movq 0x10(%rbx), %rax
leaq -0x1(%rax), %rcx
testq %rcx, %rcx
jle 0xb89c2
movq 0x8(%rbx), %rcx
movsd -0x10(%rcx,%rax,8), %xmm0
movsd %xmm0, -0x8(%rcx,%rax,8)
decq %rax
cmpq $0x1, %rax
ja 0xb89a9
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_O3/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
movq 0x10(%rsi), %rax
testq %rax, %rax
je 0xb8a68
movq %rsi, %r14
movq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
cmpq %rdx, %rcx
jbe 0xb8a0d
movq %rbx, %rdi
callq 0xb88c8
movq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
movq 0x10(%r14), %rax
addq %rax, %rcx
cmpq %rdx, %rcx
jb 0xb8a3a
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 0xb8a68
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 0xb8a41
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_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 0xb8aed
testq %rcx, %rcx
je 0xb8af6
cmpq %rcx, %rdx
movq %rcx, %rax
cmovbq %rdx, %rax
movq 0x8(%rdi), %rdi
movq 0x8(%rsi), %rsi
xorl %r8d, %r8d
movsd (%rdi,%r8,8), %xmm0
movsd (%rsi,%r8,8), %xmm1
ucomisd %xmm1, %xmm0
jne 0xb8afc
jp 0xb8afc
incq %r8
cmpq %r8, %rax
jne 0xb8aba
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 %eax, %eax
ucomisd %xmm0, %xmm1
seta %al
leal -0x2(,%rax,4), %eax
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x10(%rdi), %rdx
cmpq %rdx, 0x18(%rdi)
jae 0xb8b2c
movq %rbx, %rdi
callq 0xb88c8
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 0xb8b62
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: 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 0xb8c28
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 0xb8b62
leaq (%r15,%r12,8), %rdi
movq %r14, %rsi
subq %r12, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0xb8b62
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 0xb8bf1
movsd (%rbx,%rax,8), %xmm0
cmpq %r14, %rdx
je 0xb8bdf
movsd (%r15,%rdx,8), %xmm1
ucomisd %xmm0, %xmm1
jae 0xb8bdf
incq %rdx
movapd %xmm1, %xmm0
jmp 0xb8be2
incq %rax
movsd %xmm0, (%rcx)
addq $0x8, %rcx
cmpq %r12, %rax
jb 0xb8bc0
jmp 0xb8c20
movsd (%rbx,%rax,8), %xmm0
cmpq %r14, %rdx
je 0xb8c10
movsd (%r15,%rdx,8), %xmm1
ucomisd %xmm1, %xmm0
jae 0xb8c10
incq %rdx
movapd %xmm1, %xmm0
jmp 0xb8c13
incq %rax
movsd %xmm0, (%rcx)
addq $0x8, %rcx
cmpq %r12, %rax
jb 0xb8bf1
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_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 0xb8c49
movq %rbx, %rdi
callq 0xb88c8
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 0xb8c93
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 0xb8c73
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_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 0xb8d2e
movq 0x10(%rdi), %rax
cmpq %rsi, %rax
cmovbq %rax, %rsi
movq %rsi, %rax
decq %rax
cmpq %rsi, %rax
jae 0xb8d65
cmpq %rdx, %rax
jb 0xb8d65
movq 0x8(%rdi), %rcx
movsd (%rcx,%rax,8), %xmm1
ucomisd %xmm0, %xmm1
jne 0xb8d0f
jp 0xb8d0f
retq
movq 0x10(%rdi), %rax
cmpq %rdx, %rax
cmovbq %rax, %rdx
cmpq %rsi, %rdx
jbe 0xb8d5a
movq 0x8(%rdi), %rax
movsd (%rax,%rsi,8), %xmm1
ucomisd %xmm0, %xmm1
jne 0xb8d4f
jnp 0xb8d5a
incq %rsi
cmpq %rsi, %rdx
jne 0xb8d42
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_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 0xb8d85
movq 0x8(%rdi), %rcx
movsd (%rcx), %xmm1
cmpq $0x1, %rax
jne 0xb8d89
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 0xb8d8e
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xb8dc0
movq 0x8(%rdi), %rcx
movsd (%rcx), %xmm1
cmpq $0x1, %rax
jne 0xb8dc4
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 0xb8dc9
retq