LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_tp_s_push
bcore_arr_tp_s* bcore_arr_tp_s_push( bcore_arr_tp_s* o, tp_t v )
{
    if( o->size >  o->space ) bcore_arr_tp_s_make_strong( o );
    if( o->size == o->space )
    {
        o->data = bcore_un_alloc( sizeof( tp_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 0xc2b8b
movq %rbx, %rdi
callq 0xc2b2a
movq 0x18(%rbx), %rdx
cmpq %rdx, 0x10(%rbx)
jne 0xc2bbb
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_tp_s_push_left
bcore_arr_tp_s* bcore_arr_tp_s_push_left( bcore_arr_tp_s* o, tp_t v )
{
    bcore_arr_tp_s_push( o, 0 );
    for( sz_t i = o->size - 1; i > 0; i-- ) o->data[ i ] = o->data[ i - 1 ];
    o->data[ 0 ] = v;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
xorl %esi, %esi
callq 0xc2b6f
movq 0x10(%rbx), %rax
leaq -0x1(%rax), %rcx
testq %rcx, %rcx
jle 0xc2c0f
movq 0x8(%rbx), %rcx
movq -0x10(%rcx,%rax,8), %rdx
movq %rdx, -0x8(%rcx,%rax,8)
decq %rax
cmpq $0x1, %rax
jg 0xc2bf8
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_tp_s_push_arr
bcore_arr_tp_s* bcore_arr_tp_s_push_arr( bcore_arr_tp_s* o, const bcore_arr_tp_s* arr )
{
    if( arr->size == 0 ) return o;
    if( o->size > o->space ) bcore_arr_tp_s_make_strong( o );
    if( o->size + arr->size >= o->space )
    {
        uz_t new_space = uz_max( o->space * 2, o->size + arr->size );
        o->data = bcore_un_alloc( sizeof( tp_t ), o->data, o->space, new_space, &o->space );
    }
    for( sz_t i = 0; i < arr->size; i++ ) o->data[ o->size++ ] = arr->data[ i ];
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq $0x0, 0x10(%rsi)
je 0xc2ca4
movq %rsi, %r14
movq 0x10(%rbx), %rax
cmpq 0x18(%rbx), %rax
jbe 0xc2c44
movq %rbx, %rdi
callq 0xc2b2a
movq 0x10(%r14), %rcx
addq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
cmpq %rdx, %rcx
jb 0xc2c76
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 0xc2ca4
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 0xc2c7f
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_cmp
s2_t bcore_arr_tp_s_cmp( const bcore_arr_tp_s* o, const bcore_arr_tp_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 0xc2d34
testq %rcx, %rcx
je 0xc2d3d
cmpq %rcx, %rdx
movq %rcx, %rax
cmovbq %rdx, %rax
movq 0x8(%rdi), %rdi
movq 0x8(%rsi), %r8
movq (%rdi), %r9
movq (%r8), %r10
movb $0x1, %sil
cmpq %r10, %r9
jne 0xc2d23
leaq -0x1(%rax), %r11
xorl %esi, %esi
cmpq %rsi, %r11
je 0xc2d43
movq 0x8(%rdi,%rsi,8), %r9
movq 0x8(%r8,%rsi,8), %r10
incq %rsi
cmpq %r10, %r9
je 0xc2d05
cmpq %rax, %rsi
setb %sil
xorl %eax, %eax
cmpq %r10, %r9
setb %al
leal -0x2(,%rax,4), %eax
jmp 0xc2d45
xorl %eax, %eax
testq %rcx, %rcx
setne %al
retq
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
retq
xorl %esi, %esi
testb %sil, %sil
je 0xc2d4b
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_tp_s_sort
bcore_arr_tp_s* bcore_arr_tp_s_sort( bcore_arr_tp_s* o, s2_t order ) // stable mergesort
{
    if( o->space < o->size ) bcore_arr_tp_s_make_strong( o );
    tp_t* buf = bcore_u_alloc( sizeof( tp_t ), NULL, o->size >> 1, NULL );
    tp_sort( o->data, o->size, buf, order );
    bcore_free( buf );
    return o;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
movq 0x18(%rdi), %rax
cmpq 0x10(%rdi), %rax
jae 0xc2d7d
movq %rbx, %rdi
callq 0xc2b2a
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 0xc2db7
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: tp_sort
static void tp_sort( tp_t* data, uz_t size, tp_t* buf, s2_t order )
{
    if( size < 2 ) return;
    uz_t size1 = size >> 1;
    tp_sort( data,         size1       , buf, order );
    tp_sort( data + size1, size - size1, buf, order );
    bcore_u_memcpy( sizeof( tp_t ), buf, data, size1 );
    if( order > 0 )
    {
        for( uz_t i = 0, w = 0, r = size1; i < size1; )
        {
            data[ w++ ] = ( r == size || buf[ i ] <= data[ r ] ) ? buf[ i++ ] : data[ r++ ];
        }
    }
    else
    {
        for( uz_t i = 0, w = 0, r = size1; i < size1; )
        {
            data[ w++ ] = ( r == size || buf[ i ] >= data[ r ] ) ? buf[ i++ ] : data[ r++ ];
        }
    }
}

// Assembly:
cmpq $0x2, %rsi
jb 0xc2e6d
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 0xc2db7
leaq (%r15,%r12,8), %rdi
movq %r14, %rsi
subq %r12, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0xc2db7
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 0xc2e3e
cmpq %r14, %rdx
je 0xc2e29
movq (%r15,%rdx,8), %rsi
cmpq %rsi, (%rbx,%rax,8)
jbe 0xc2e29
incq %rdx
jmp 0xc2e30
movq (%rbx,%rax,8), %rsi
incq %rax
movq %rsi, (%rcx)
addq $0x8, %rcx
cmpq %r12, %rax
jb 0xc2e15
jmp 0xc2e65
cmpq %r14, %rdx
je 0xc2e52
movq (%r15,%rdx,8), %rsi
cmpq %rsi, (%rbx,%rax,8)
jae 0xc2e52
incq %rdx
jmp 0xc2e59
movq (%rbx,%rax,8), %rsi
incq %rax
movq %rsi, (%rcx)
addq $0x8, %rcx
cmpq %r12, %rax
jb 0xc2e3e
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_bl_s_copy
void bcore_arr_bl_s_copy( bcore_arr_bl_s* o, const bcore_arr_bl_s* src )
{
    if( o->space < src->size )
    {
        if( o->space > 0 ) o->data = bcore_un_alloc( sizeof( bl_t ), o->data, o->space, 0, &o->space );
        o->data = bcore_un_alloc( sizeof( bl_t ), NULL, o->space, src->size, &o->space );
    }
    bcore_u_memcpy( sizeof( bl_t ), o->data, src->data, src->size );
    o->size = src->size;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x18(%rdi), %rdx
cmpq 0x10(%rsi), %rdx
jae 0xc3023
leaq 0x18(%rbx), %r15
testq %rdx, %rdx
je 0xc3008
movq 0x8(%rbx), %rsi
movl $0x1, %edi
xorl %ecx, %ecx
movq %r15, %r8
callq 0xc833e
movq %rax, 0x8(%rbx)
movq 0x18(%rbx), %rdx
movq 0x10(%r14), %rcx
movl $0x1, %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 $0x1, %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_bl_s_create
BCORE_DEFINE_FUNCTION_CREATE(  bcore_arr_bl_s )
BCORE_DEFINE_FUNCTION_DISCARD( bcore_arr_bl_s )
BCORE_DEFINE_FUNCTION_CLONE(   bcore_arr_bl_s )

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

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

// Assembly:
pushq %rbx
movl $0x20, %esi
xorl %edi, %edi
callq 0xc8315
movq %rax, %rbx
movl $0x20, %esi
movq %rax, %rdi
callq 0xc8366
movabsq $0x48cb1d8b09988fbb, %rax # imm = 0x48CB1D8B09988FBB
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_bl_s_set_space
bcore_arr_bl_s* bcore_arr_bl_s_set_space( bcore_arr_bl_s* o, uz_t space )
{
    if( o->space == 0 )
    {
        o->data = bcore_u_alloc( sizeof( bl_t ), NULL, space, &o->space );
    }
    else
    {
        o->data = bcore_un_alloc( sizeof( bl_t ), o->data, o->space, space, &o->space );
    }
    if( o->size > space ) o->size = space;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rdi), %r8
movq 0x18(%rdi), %rdx
testq %rdx, %rdx
je 0xc3121
movq 0x8(%rbx), %rsi
movl $0x1, %edi
movq %r14, %rcx
callq 0xc833e
jmp 0xc3133
movl $0x1, %edi
xorl %esi, %esi
movq %r14, %rdx
movq %r8, %rcx
callq 0xc8339
movq %rax, 0x8(%rbx)
cmpq %r14, 0x10(%rbx)
jbe 0xc3141
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_bl_s_fill
bcore_arr_bl_s* bcore_arr_bl_s_fill( bcore_arr_bl_s* o, uz_t size, bl_t v )
{
    bcore_arr_bl_s_set_space( o, size );
    for( uz_t i = 0; i < size; i++ ) o->data[ i ] = v;
    o->size = size;
    return o;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
callq 0xc30f7
testq %r14, %r14
je 0xc3174
xorl %eax, %eax
movq 0x8(%rbx), %rcx
movb %bpl, (%rcx,%rax)
incq %rax
cmpq %rax, %r14
jne 0xc3164
movq %r14, 0x10(%rbx)
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: bcore_arr_bl_s_set_size
bcore_arr_bl_s* bcore_arr_bl_s_set_size( bcore_arr_bl_s* o, uz_t size )
{
    bcore_arr_bl_s_set_space( o, size );
    if( size > o->size )
    {
        for( sz_t i = o->size; i < size; i++ ) o->data[ i ] = 0;
    }
    o->size = size;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0xc30f7
movq 0x10(%rbx), %rax
cmpq %r14, %rax
jae 0xc31a8
movq 0x8(%rbx), %rcx
movb $0x0, (%rcx,%rax)
incq %rax
cmpq %rax, %r14
jne 0xc3198
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_bl_s_push
bcore_arr_bl_s* bcore_arr_bl_s_push( bcore_arr_bl_s* o, bl_t v )
{
    if( o->size >  o->space ) bcore_arr_bl_s_make_strong( o );
    if( o->size == o->space )
    {
        o->data = bcore_un_alloc( sizeof( bl_t ), o->data, o->space, o->space > 0 ? o->space * 2 : 1, &o->space );
    }
    o->data[ o->size++ ] = v;
    return o;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jbe 0xc3216
movq %rbx, %rdi
callq 0xc31b7
movq 0x18(%rbx), %rdx
cmpq %rdx, 0x10(%rbx)
jne 0xc3246
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_bl_s_push_left
bcore_arr_bl_s* bcore_arr_bl_s_push_left( bcore_arr_bl_s* o, bl_t v )
{
    bcore_arr_bl_s_push( o, false );
    for( sz_t i = o->size - 1; i > 0; i-- ) o->data[ i ] = o->data[ i - 1 ];
    o->data[ 0 ] = v;
    return o;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
xorl %esi, %esi
callq 0xc31fc
movq 0x10(%rbx), %rax
leaq -0x1(%rax), %rcx
testq %rcx, %rcx
jle 0xc3295
movq 0x8(%rbx), %rcx
movb -0x2(%rax,%rcx), %dl
movb %dl, -0x1(%rax,%rcx)
decq %rax
cmpq $0x1, %rax
jg 0xc3280
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_bl_s_push_arr
bcore_arr_bl_s* bcore_arr_bl_s_push_arr( bcore_arr_bl_s* o, const bcore_arr_bl_s* arr )
{
    if( arr->size == 0 ) return o;
    if( o->size > o->space ) bcore_arr_bl_s_make_strong( o );
    if( o->size + arr->size >= o->space )
    {
        uz_t new_space = uz_max( o->space * 2, o->size + arr->size );
        o->data = bcore_un_alloc( sizeof( tp_t ), o->data, o->space, new_space, &o->space );
    }
    for( sz_t i = 0; i < arr->size; i++ ) o->data[ o->size++ ] = arr->data[ i ];
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq $0x0, 0x10(%rsi)
je 0xc3327
movq %rsi, %r14
movq 0x10(%rbx), %rax
cmpq 0x18(%rbx), %rax
jbe 0xc32c9
movq %rbx, %rdi
callq 0xc31b7
movq 0x10(%r14), %rcx
addq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rdx
cmpq %rdx, %rcx
jb 0xc32fb
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 0xc3327
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 0xc3304
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_bl_s_cmp
s2_t bcore_arr_bl_s_cmp( const bcore_arr_bl_s* o, const bcore_arr_bl_s* b )
{
    if( o->size == 0 ) return ( b->size == 0 ) ? 0 :  1;
    if( b->size == 0 ) return -1;
    uz_t min_size = uz_min( o->size, b->size );
    for( sz_t i = 0; i < min_size; i++ )
    {
        if( o->data[ i ] != b->data[ i ] ) return ( o->data[ i ] < b->data[ i ] ) ? 2 : -2;
    }
    return ( o->size == b->size ) ? 0 : ( o->size < b->size ) ? +1 : -1;
}

// Assembly:
movq 0x10(%rdi), %rdx
movq 0x10(%rsi), %rcx
testq %rdx, %rdx
je 0xc33e1
testq %rcx, %rcx
je 0xc33ea
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 0xc33d0
leaq -0x1(%rax), %r11
xorl %esi, %esi
cmpq %rsi, %r11
je 0xc33f0
movb 0x1(%rdi,%rsi), %r9b
movb 0x1(%r8,%rsi), %r10b
incq %rsi
cmpb %r10b, %r9b
je 0xc33b2
cmpq %rax, %rsi
setb %sil
xorl %eax, %eax
cmpb %r10b, %r9b
setb %al
leal -0x2(,%rax,4), %eax
jmp 0xc33f2
xorl %eax, %eax
testq %rcx, %rcx
setne %al
retq
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
retq
xorl %esi, %esi
testb %sil, %sil
je 0xc33f8
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_st_s_clear
bcore_arr_st_s* bcore_arr_st_s_clear( bcore_arr_st_s* o )
{
    if( o->space == 0 )
    {
        o->data = NULL; // in case array is referencing external data
        o->size = 0;
    }

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

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq $0x0, 0x18(%rdi)
jne 0xc36d9
leaq 0x8(%rbx), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
cmpq $0x0, 0x10(%rbx)
je 0xc36f9
xorl %r14d, %r14d
movq 0x8(%rbx), %rax
movq (%rax,%r14,8), %rdi
callq 0x114f61
incq %r14
cmpq 0x10(%rbx), %r14
jb 0xc36e3
movq $0x0, 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_st_s_set_size
bcore_arr_st_s* bcore_arr_st_s_set_size( bcore_arr_st_s* o, uz_t size )
{
    bcore_arr_st_s_set_space( o, size );
    if( size > o->size )
    {
        for( sz_t i = o->size; i < size; i++ ) o->data[ i ] = NULL;
    }
    o->size = size;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0xc370c
movq 0x10(%rbx), %rax
cmpq %r14, %rax
jae 0xc37f8
movq 0x8(%rbx), %rcx
movq $0x0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xc37e4
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_st_s_make_strong
void bcore_arr_st_s_make_strong( bcore_arr_st_s* o )
{
    if( o->size > o->space )
    {
        st_s** data = o->data;
        o->data = bcore_u_alloc( sizeof( st_s* ), NULL, o->size, &o->space );
        for( uz_t i = 0; i < o->size; i++ )
        {
            st_s_copy( o->data[ i ], data[ i ] );
        }
    }
}

// Assembly:
movq 0x10(%rdi), %rdx
cmpq 0x18(%rdi), %rdx
jbe 0xc385a
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x18(%rdi), %rcx
movq 0x8(%rdi), %r14
movl $0x8, %edi
xorl %esi, %esi
callq 0xc8339
movq %rax, 0x8(%rbx)
cmpq $0x0, 0x10(%rbx)
je 0xc3855
xorl %r15d, %r15d
movq 0x8(%rbx), %rax
movq (%rax,%r15,8), %rdi
movq (%r14,%r15,8), %rsi
callq 0x114440
incq %r15
cmpq 0x10(%rbx), %r15
jb 0xc383b
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_st_s_push
st_s* bcore_arr_st_s_push( bcore_arr_st_s* o )
{
    if( o->size >  o->space ) bcore_arr_st_s_make_strong( o );
    if( o->size == o->space )
    {
        o->data = bcore_un_alloc( sizeof( st_s* ), o->data, o->space, o->space > 0 ? o->space * 2 : 1, &o->space );
    }
    o->data[ o->size++ ] = st_s_create();
    return o->data[ o->size - 1 ];
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jbe 0xc3871
movq %rbx, %rdi
callq 0xc3807
movq 0x18(%rbx), %rdx
cmpq %rdx, 0x10(%rbx)
jne 0xc38a1
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)
xorl %eax, %eax
callq 0x114bbb
movq 0x8(%rbx), %rcx
movq 0x10(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x10(%rbx)
movq %rax, (%rcx,%rdx,8)
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
movq -0x8(%rax,%rcx,8), %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_st_s_push_st_d
st_s* bcore_arr_st_s_push_st_d( bcore_arr_st_s* o, st_s* st )
{
    if( o->size >  o->space ) bcore_arr_st_s_make_strong( o );
    if( o->size == o->space )
    {
        o->data = bcore_un_alloc( sizeof( st_s* ), o->data, o->space, o->space > 0 ? o->space * 2 : 1, &o->space );
    }
    o->data[ o->size++ ] = st;
    return o->data[ o->size - 1 ];
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jbe 0xc390c
movq %rbx, %rdi
callq 0xc3807
movq 0x18(%rbx), %rdx
cmpq %rdx, 0x10(%rbx)
jne 0xc393c
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 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
movq -0x8(%rax,%rcx,8), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_st_s_sort
bcore_arr_st_s* bcore_arr_st_s_sort( bcore_arr_st_s* o, s2_t order ) // stable mergesort
{
    if( o->space < o->size ) bcore_arr_st_s_make_strong( o );
    st_s** buf = bcore_u_alloc( sizeof( st_s* ), NULL, o->size >> 1, NULL );
    st_sort( o->data, o->size, buf, order );
    bcore_free( buf );
    return o;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
movq 0x18(%rdi), %rax
cmpq 0x10(%rdi), %rax
jae 0xc3a6d
movq %rbx, %rdi
callq 0xc3807
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 0xc3aa7
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: st_sort
static void st_sort( st_s** data, uz_t size, st_s** buf, s2_t order )
{
    if( size < 2 ) return;
    uz_t size1 = size >> 1;
    st_sort( data,         size1       , buf, order );
    st_sort( data + size1, size - size1, buf, order );
    bcore_u_memcpy( sizeof( st_s* ), buf, data, size1 );
    for( uz_t i = 0, w = 0, r = size1; i < size1; )
    {
        data[ w++ ] = ( r == size || bcore_strcmp( buf[ i ]->sc, data[ r ]->sc ) * order >= 0 ) ? buf[ i++ ] : data[ r++ ];
    }
}

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

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x18(%rdi), %rax
cmpq 0x10(%rdi), %rax
jae 0xc3b98
movq %rbx, %rdi
callq 0xc3807
leaq 0x8(%rsp), %rcx
movq $0x0, (%rcx)
movq 0x10(%r14), %rdx
movl $0x8, %edi
xorl %esi, %esi
callq 0xc8339
movq %rax, %r15
cmpq $0x0, 0x10(%r14)
je 0xc3be3
xorl %r12d, %r12d
movq 0x8(%rbx), %rax
movq 0x8(%r14), %rcx
movq (%rcx,%r12,8), %rcx
movq (%rax,%rcx,8), %rdi
callq 0xc8348
movq %rax, (%r15,%r12,8)
incq %r12
cmpq 0x10(%r14), %r12
jb 0xc3bc1
leaq 0x18(%rbx), %r12
cmpq $0x0, 0x10(%rbx)
je 0xc3c07
xorl %r13d, %r13d
movq 0x8(%rbx), %rax
movq (%rax,%r13,8), %rdi
callq 0x114f61
incq %r13
cmpq 0x10(%rbx), %r13
jb 0xc3bf1
movq 0x8(%rbx), %rsi
movq 0x18(%rbx), %rdx
movl $0x8, %edi
xorl %ecx, %ecx
movq %r12, %r8
callq 0xc833e
movq %r15, 0x8(%rbx)
movq 0x8(%rsp), %rax
movq %rax, 0x18(%rbx)
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_st_s_count_equal
uz_t bcore_arr_st_s_count_equal( const bcore_arr_st_s* o, const st_s* val )
{
    uz_t count = 0;
    for( uz_t i = 0; i < o->size; i++ )
    {
        if( val )
        {
            count += st_s_equal_st( val, o->data[ i ] );
        }
        else
        {
            count += ( o->data[ i ] == NULL );
        }
    }
    return count;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
cmpq $0x0, 0x10(%rdi)
je 0xc3c9d
movq %rsi, %rbx
movq %rdi, %r14
xorl %r12d, %r12d
xorl %r15d, %r15d
movq 0x8(%r14), %rax
movq (%rax,%r12,8), %rax
testq %rbx, %rbx
je 0xc3c77
testq %rax, %rax
je 0xc3c7c
movq 0x8(%rax), %rsi
jmp 0xc3c7e
testq %rax, %rax
jmp 0xc3c89
xorl %esi, %esi
movq 0x8(%rbx), %rdi
callq 0xc84cd
testl %eax, %eax
sete %al
movzbl %al, %eax
addq %rax, %r15
incq %r12
cmpq 0x10(%r14), %r12
jb 0xc3c5f
jmp 0xc3ca0
xorl %r15d, %r15d
movq %r15, %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_vd_s_create
BCORE_DEFINE_FUNCTION_CREATE(  bcore_arr_vd_s )
BCORE_DEFINE_FUNCTION_DISCARD( bcore_arr_vd_s )
BCORE_DEFINE_FUNCTION_CLONE(   bcore_arr_vd_s )

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

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

// Assembly:
pushq %rbx
movl $0x20, %esi
xorl %edi, %edi
callq 0xc8315
movq %rax, %rbx
movl $0x20, %esi
movq %rax, %rdi
callq 0xc8366
movabsq $-0x3568a31bb16d7631, %rax # imm = 0xCA975CE44E9289CF
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_vd_s_set_space
bcore_arr_vd_s* bcore_arr_vd_s_set_space( bcore_arr_vd_s* o, uz_t space )
{
    if( o->space == 0 )
    {
        o->data = bcore_u_alloc( sizeof( vd_t ), NULL, space, &o->space );
    }
    else
    {
        o->data = bcore_un_alloc( sizeof( vd_t ), o->data, o->space, space, &o->space );
    }
    if( o->size > space ) o->size = space;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rdi), %r8
movq 0x18(%rdi), %rdx
testq %rdx, %rdx
je 0xc3fc0
movq 0x8(%rbx), %rsi
movl $0x8, %edi
movq %r14, %rcx
callq 0xc833e
jmp 0xc3fd2
movl $0x8, %edi
xorl %esi, %esi
movq %r14, %rdx
movq %r8, %rcx
callq 0xc8339
movq %rax, 0x8(%rbx)
cmpq %r14, 0x10(%rbx)
jbe 0xc3fe0
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_vd_s_fill
bcore_arr_vd_s* bcore_arr_vd_s_fill( bcore_arr_vd_s* o, uz_t size, vd_t v )
{
    bcore_arr_vd_s_set_space( o, size );
    for( uz_t i = 0; i < size; i++ ) o->data[ i ] = v;
    o->size = size;
    return o;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
callq 0xc3f96
testq %r14, %r14
je 0xc4015
xorl %eax, %eax
movq 0x8(%rbx), %rcx
movq %r15, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xc4005
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_vd_s_set_size
bcore_arr_vd_s* bcore_arr_vd_s_set_size( bcore_arr_vd_s* o, uz_t size )
{
    bcore_arr_vd_s_set_space( o, size );
    if( size > o->size )
    {
        for( sz_t i = o->size; i < size; i++ ) o->data[ i ] = NULL;
    }
    o->size = size;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0xc3f96
movq 0x10(%rbx), %rax
cmpq %r14, %rax
jae 0xc404e
movq 0x8(%rbx), %rcx
movq $0x0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xc403a
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_vd_s_push_left
bcore_arr_vd_s* bcore_arr_vd_s_push_left( bcore_arr_vd_s* o, vd_t v )
{
    bcore_arr_vd_s_push( o, NULL );
    for( sz_t i = o->size - 1; i > 0; i-- ) o->data[ i ] = o->data[ i - 1 ];
    o->data[ 0 ] = v;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
xorl %esi, %esi
callq 0xc40a2
movq 0x10(%rbx), %rax
leaq -0x1(%rax), %rcx
testq %rcx, %rcx
jle 0xc4142
movq 0x8(%rbx), %rcx
movq -0x10(%rcx,%rax,8), %rdx
movq %rdx, -0x8(%rcx,%rax,8)
decq %rax
cmpq $0x1, %rax
jg 0xc412b
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_vd_s_reorder
bcore_arr_vd_s* bcore_arr_vd_s_reorder( bcore_arr_vd_s* o, const bcore_arr_uz_s* order )
{
    if( o->space < o->size ) bcore_arr_vd_s_make_strong( o );
    uz_t buf_space = 0;
    vd_t* buf = bcore_u_alloc( sizeof( vd_t ), NULL, order->size, &buf_space );
    for( uz_t i = 0; i < order->size; i++ )
    {
        assert( order->data[ i ] < o->size );
        buf[ i ] = o->data[ order->data[ i ] ];
    }
    bcore_un_alloc( sizeof( vd_t ), o->data, o->space, 0, &o->space );
    o->data = buf;
    o->space = buf_space;
    o->size = order->size;
    return o;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x18(%rdi), %rax
cmpq 0x10(%rdi), %rax
jae 0xc4192
movq %rbx, %rdi
callq 0xc405d
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 0xc41d9
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 0xc41bc
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_vd_s_find
uz_t bcore_arr_vd_s_find( const bcore_arr_vd_s* o, uz_t start, uz_t end, vd_t v )
{
    if( end >= start )
    {
        uz_t end_l = end < o->size ? end : o->size;
        for( uz_t j = start; j < end_l; j++ ) if( o->data[ j ] == v ) return j;
        return end_l;
    }
    else
    {
        uz_t start_l = start < o->size ? start : o->size;
        for( uz_t j = start_l - 1;  j < start_l && j >= end; j-- ) if( o->data[ j ] == v ) return j;
        return start_l;
    }
}

// Assembly:
cmpq %rsi, %rdx
jae 0xc423e
movq 0x10(%rdi), %rax
cmpq %rsi, %rax
cmovbq %rax, %rsi
movq %rsi, %rax
decq %rax
cmpq %rsi, %rax
jae 0xc426e
cmpq %rdx, %rax
jb 0xc426e
movq 0x8(%rdi), %r8
cmpq %rcx, (%r8,%rax,8)
jne 0xc4226
retq
movq 0x10(%rdi), %rax
cmpq %rdx, %rax
cmovbq %rax, %rdx
cmpq %rsi, %rdx
jbe 0xc4263
movq 0x8(%rdi), %rax
cmpq %rcx, (%rax,%rsi,8)
je 0xc4263
incq %rsi
cmpq %rsi, %rdx
jne 0xc4252
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_fp_s_create
BCORE_DEFINE_FUNCTION_CREATE(  bcore_arr_fp_s )
BCORE_DEFINE_FUNCTION_DISCARD( bcore_arr_fp_s )
BCORE_DEFINE_FUNCTION_CLONE(   bcore_arr_fp_s )

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

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

// Assembly:
pushq %rbx
movl $0x20, %esi
xorl %edi, %edi
callq 0xc8315
movq %rax, %rbx
movl $0x20, %esi
movq %rax, %rdi
callq 0xc8366
movabsq $-0xd08ae97e9ebf165, %rax # imm = 0xF2F7516816140E9B
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_fp_s_set_space
bcore_arr_fp_s* bcore_arr_fp_s_set_space( bcore_arr_fp_s* o, uz_t space )
{
    if( o->space == 0 )
    {
        o->data = bcore_u_alloc( sizeof( fp_t ), NULL, space, &o->space );
    }
    else
    {
        o->data = bcore_un_alloc( sizeof( fp_t ), o->data, o->space, space, &o->space );
    }
    if( o->size > space ) o->size = space;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rdi), %r8
movq 0x18(%rdi), %rdx
testq %rdx, %rdx
je 0xc4425
movq 0x8(%rbx), %rsi
movl $0x8, %edi
movq %r14, %rcx
callq 0xc833e
jmp 0xc4437
movl $0x8, %edi
xorl %esi, %esi
movq %r14, %rdx
movq %r8, %rcx
callq 0xc8339
movq %rax, 0x8(%rbx)
cmpq %r14, 0x10(%rbx)
jbe 0xc4445
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_fp_s_set_size
bcore_arr_fp_s* bcore_arr_fp_s_set_size( bcore_arr_fp_s* o, sz_t size )
{
    bcore_arr_fp_s_set_space( o, size );
    if( size > o->size )
    {
        for( sz_t i = o->size; i < size; i++ ) o->data[ i ] = NULL;
    }
    o->size = size;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0xc43fb
movq 0x10(%rbx), %rax
cmpq %r14, %rax
setae %cl
setge %dl
orb %cl, %dl
jne 0xc4484
movq 0x8(%rbx), %rcx
movq $0x0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xc4470
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_fp_s_fill
bcore_arr_fp_s* bcore_arr_fp_s_fill( bcore_arr_fp_s* o, uz_t size, fp_t v )
{
    bcore_arr_fp_s_set_space( o, size );
    for( uz_t i = 0; i < size; i++ ) o->data[ i ] = v;
    o->size = size;
    return o;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
callq 0xc43fb
testq %r14, %r14
je 0xc44bd
xorl %eax, %eax
movq 0x8(%rbx), %rcx
movq %r15, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0xc44ad
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_fp_s_push
bcore_arr_fp_s* bcore_arr_fp_s_push( bcore_arr_fp_s* o, fp_t v )
{
    if( o->size >  o->space ) bcore_arr_fp_s_make_strong( o );
    if( o->size == o->space )
    {
        o->data = bcore_un_alloc( sizeof( fp_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 0xc452b
movq %rbx, %rdi
callq 0xc44ca
movq 0x18(%rbx), %rdx
cmpq %rdx, 0x10(%rbx)
jne 0xc455b
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_fp_s_push_left
bcore_arr_fp_s* bcore_arr_fp_s_push_left( bcore_arr_fp_s* o, fp_t v )
{
    bcore_arr_fp_s_push( o, NULL );
    for( sz_t i = o->size - 1; i > 0; i-- ) o->data[ i ] = o->data[ i - 1 ];
    o->data[ 0 ] = v;
    return o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
xorl %esi, %esi
callq 0xc450f
movq 0x10(%rbx), %rax
leaq -0x1(%rax), %rcx
testq %rcx, %rcx
jle 0xc45af
movq 0x8(%rbx), %rcx
movq -0x10(%rcx,%rax,8), %rdx
movq %rdx, -0x8(%rcx,%rax,8)
decq %rax
cmpq $0x1, %rax
jg 0xc4598
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_fp_s_find
uz_t bcore_arr_fp_s_find( const bcore_arr_fp_s* o, uz_t start, uz_t end, fp_t v )
{
    if( end >= start )
    {
        uz_t end_l = end < o->size ? end : o->size;
        for( uz_t j = start; j < end_l; j++ ) if( o->data[ j ] == v ) return j;
        return end_l;
    }
    else
    {
        uz_t start_l = start < o->size ? start : o->size;
        for( uz_t j = start_l - 1;  j < start_l && j >= end; j-- ) if( o->data[ j ] == v ) return j;
        return start_l;
    }
}

// Assembly:
cmpq %rsi, %rdx
jae 0xc46ab
movq 0x10(%rdi), %rax
cmpq %rsi, %rax
cmovbq %rax, %rsi
movq %rsi, %rax
decq %rax
cmpq %rsi, %rax
jae 0xc46db
cmpq %rdx, %rax
jb 0xc46db
movq 0x8(%rdi), %r8
cmpq %rcx, (%r8,%rax,8)
jne 0xc4693
retq
movq 0x10(%rdi), %rax
cmpq %rdx, %rax
cmovbq %rax, %rdx
cmpq %rsi, %rdx
jbe 0xc46d0
movq 0x8(%rdi), %rax
cmpq %rcx, (%rax,%rsi,8)
je 0xc46d0
incq %rsi
cmpq %rsi, %rdx
jne 0xc46bf
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_sr_s_clear
bcore_arr_sr_s* bcore_arr_sr_s_clear( bcore_arr_sr_s* o )
{
    if( o->space == 0 )
    {
        o->data = NULL; // in case array is referencing external data
        o->size = 0;
    }

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

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
cmpq $0x0, 0x18(%rdi)
jne 0xc49dc
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
cmpq $0x0, 0x10(%rbx)
je 0xc4a2a
xorl %r15d, %r15d
xorl %r12d, %r12d
movq (%r14), %rax
movq 0x10(%rax,%r15), %rcx
movq %rcx, 0x30(%rsp)
movups (%rax,%r15), %xmm0
movaps %xmm0, 0x20(%rsp)
testb $0x2, %cl
je 0xc4a1d
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x20(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x112485
incq %r12
addq $0x18, %r15
cmpq 0x10(%rbx), %r12
jb 0xc49e9
movq $0x0, 0x10(%rbx)
movq %rbx, %rax
addq $0x38, %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_sr_s_push
sr_s* bcore_arr_sr_s_push( bcore_arr_sr_s* o )
{
    if( o->size > o->space ) bcore_arr_sr_s_make_strong( o );
    if( o->size == o->space )
    {
        o->data = bcore_un_alloc( sizeof( sr_s ), o->data, o->space, o->space > 0 ? o->space * 2 : 1, &o->space );
    }
    o->data[ o->size++ ] = sr_null();
    return &o->data[ o->size - 1 ];
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jbe 0xc4c84
movq %rbx, %rdi
callq 0xc4bc1
movq 0x18(%rbx), %rdx
cmpq %rdx, 0x10(%rbx)
jne 0xc4cb4
leaq 0x18(%rbx), %r8
movq 0x8(%rbx), %rsi
leaq (%rdx,%rdx), %rax
testq %rdx, %rdx
movl $0x1, %ecx
cmovneq %rax, %rcx
movl $0x18, %edi
callq 0xc833e
movq %rax, 0x8(%rbx)
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x10(%rbx)
leaq (%rcx,%rcx,2), %rcx
xorps %xmm0, %xmm0
movups %xmm0, (%rax,%rcx,8)
movq $0x0, 0x10(%rax,%rcx,8)
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
leaq (%rcx,%rcx,2), %rcx
leaq (%rax,%rcx,8), %rax
addq $-0x18, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_sr_s_push_sr
sr_s* bcore_arr_sr_s_push_sr( bcore_arr_sr_s* o, sr_s v )
{
    if( o->size > o->space ) bcore_arr_sr_s_make_strong( o );
    if( o->size == o->space )
    {
        o->data = bcore_un_alloc( sizeof( sr_s ), o->data, o->space, o->space > 0 ? o->space * 2 : 1, &o->space );
    }
    o->data[ o->size++ ] = v;
    return &o->data[ o->size - 1 ];
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jbe 0xc4d07
movq %rbx, %rdi
callq 0xc4bc1
leaq 0x20(%rsp), %r14
movq 0x18(%rbx), %rdx
cmpq %rdx, 0x10(%rbx)
jne 0xc4d3c
leaq 0x18(%rbx), %r8
movq 0x8(%rbx), %rsi
leaq (%rdx,%rdx), %rax
testq %rdx, %rdx
movl $0x1, %ecx
cmovneq %rax, %rcx
movl $0x18, %edi
callq 0xc833e
movq %rax, 0x8(%rbx)
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x10(%rbx)
leaq (%rcx,%rcx,2), %rcx
movq 0x10(%r14), %rdx
movq %rdx, 0x10(%rax,%rcx,8)
movups (%r14), %xmm0
movups %xmm0, (%rax,%rcx,8)
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
leaq (%rcx,%rcx,2), %rcx
leaq (%rax,%rcx,8), %rax
addq $-0x18, %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_sr_s_push_tp
sr_s* bcore_arr_sr_s_push_tp( bcore_arr_sr_s* o, tp_t type )
{
    if( o->size > o->space ) bcore_arr_sr_s_make_strong( o );
    if( o->size == o->space )
    {
        o->data = bcore_un_alloc( sizeof( sr_s ), o->data, o->space, o->space > 0 ? o->space * 2 : 1, &o->space );
    }
    o->data[ o->size++ ] = sr_create( type );
    return &o->data[ o->size - 1 ];
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jbe 0xc4d9e
movq %rbx, %rdi
callq 0xc4bc1
movq 0x18(%rbx), %rdx
cmpq %rdx, 0x10(%rbx)
jne 0xc4dce
leaq 0x18(%rbx), %r8
movq 0x8(%rbx), %rsi
leaq (%rdx,%rdx), %rax
testq %rdx, %rdx
movl $0x1, %ecx
cmovneq %rax, %rcx
movl $0x18, %edi
callq 0xc833e
movq %rax, 0x8(%rbx)
movq 0x8(%rbx), %r12
movq 0x10(%rbx), %r13
leaq 0x1(%r13), %rax
movq %rax, 0x10(%rbx)
movq %r14, %rdi
callq 0x112326
movq %rax, %r15
testq %r14, %r14
je 0xc4df8
movq %r14, %rdi
callq 0x1123e1
jmp 0xc4dfa
xorl %eax, %eax
leaq (,%r13,2), %rcx
addq %r13, %rcx
movq %r15, (%r12,%rcx,8)
movq %rax, 0x8(%r12,%rcx,8)
movq $0x2, 0x10(%r12,%rcx,8)
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
leaq (%rcx,%rcx,2), %rcx
leaq -0x18(%rax,%rcx,8), %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_arr.c
// Function: bcore_arr_sr_s_to_arr_st
const bcore_arr_sr_s* bcore_arr_sr_s_to_arr_st( const bcore_arr_sr_s* o, bcore_arr_st_s* arr )
{
    bcore_arr_st_s_clear( arr );
    bcore_arr_st_s_set_size( arr, o->size );
    for( uz_t i = 0; i < o->size; i++ )
    {
        if( sr_s_type( &o->data[ i ] ) == TYPEOF_st_s ) arr->data[ i ] = st_s_clone( ( const st_s* )o->data[ i ].o );
    }
    return o;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0xc36c1
movq 0x10(%rbx), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xc370c
movq 0x10(%r14), %rax
cmpq %r15, %rax
jae 0xc544b
movq 0x8(%r14), %rcx
movq $0x0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r15
jne 0xc5437
movq %r15, 0x10(%r14)
cmpq $0x0, 0x10(%rbx)
je 0xc54a0
movl $0x1, %r15d
xorl %r12d, %r12d
movabsq $-0x503db0e6e1c2e704, %r13 # imm = 0xAFC24F191E3D18FC
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0xc5493
movq (%rax,%r15,8), %rcx
testq %rcx, %rcx
je 0xc5493
cmpq %r13, 0x8(%rcx)
jne 0xc5493
movq -0x8(%rax,%r15,8), %rdi
callq 0x115213
movq 0x8(%r14), %rcx
movq %rax, (%rcx,%r12,8)
incq %r12
addq $0x3, %r15
cmpq 0x10(%rbx), %r12
jb 0xc5469
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_cday.c
// Function: bcore_cday_ymd_s_from_cday
bcore_cday_ymd_s* bcore_cday_ymd_s_from_cday( bcore_cday_ymd_s* o, s2_t cday )
{
    s2_t lyr = cday / ( 365 * 4 + 1 );
    s2_t ldy = cday - lyr * ( 365 * 4 + 1 );
    s2_t qyr = ldy / 365;
    qyr = ( qyr > 3 ) ? 3 : qyr;
    s2_t yr = ( lyr * 4 ) + qyr;
    s2_t dy = ldy - qyr * 365;
    s2_t mt = 3;

    s2_t dtbl[] = { 31, 30, 31, 30, 31, 31, 30, 31, 30, 31, 31 };

    for( s2_t i = 0; i < 11; i++ )
    {
        if( dtbl[ i ] > dy ) break;
        dy -= dtbl[ i ];
        mt++;
    }

    o->d   = dy + 1;
    o->m = ( mt <= 12 ) ? mt : mt - 12;
    o->y  = 1900 + yr + ( ( mt <= 12 ) ? 0 : 1 );

    return o;
}

// Assembly:
movq %rdi, %rax
movslq %esi, %rdx
imulq $0x166db073, %rdx, %rcx # imm = 0x166DB073
movq %rcx, %rsi
shrq $0x3f, %rsi
shrq $0x20, %rcx
sarl $0x7, %ecx
addl %esi, %ecx
imull $0xfffffa4b, %ecx, %esi # imm = 0xFFFFFA4B
addl %esi, %edx
movslq %edx, %rdi
imulq $-0x4c73064f, %rdi, %rdx # imm = 0xB38CF9B1
shrq $0x20, %rdx
addl %edi, %edx
movl %edx, %esi
shrl $0x1f, %esi
sarl $0x8, %edx
addl %esi, %edx
cmpl $0x3, %edx
movl $0x3, %esi
cmovgel %esi, %edx
imull $0xfffffe93, %edx, %r10d # imm = 0xFFFFFE93
addl %edi, %r10d
xorl %r8d, %r8d
leaq 0x86f3a(%rip), %r9      # 0x14dd30
movl %r10d, %edi
subl (%r8,%r9), %edi
jl 0xc6e15
incl %esi
addq $0x4, %r8
movl %edi, %r10d
cmpq $0x2c, %r8
jne 0xc6df9
movl $0xe, %esi
jmp 0xc6e18
movl %r10d, %edi
incl %edi
leal -0xc(%rsi), %r8d
cmpl $0xd, %esi
cmovbl %esi, %r8d
movl %edi, 0x10(%rax)
leal (%rdx,%rcx,4), %ecx
sbbl $-0x1, %ecx
movl %r8d, 0xc(%rax)
addl $0x76c, %ecx            # imm = 0x76C
movl %ecx, 0x8(%rax)
retq
// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_cday.c
// Function: bcore_cday_ymd_s_to_cday
s2_t bcore_cday_ymd_s_to_cday( const bcore_cday_ymd_s* o )
{
    bcore_cday_ymd_s_check_plausibility( o );

    s2_t yr = o->y - 1900;
    s2_t leap_days = 1 + ( yr / 4 );
    if( ( o->m < 3 ) && ( yr % 4 == 0 ) ) leap_days--;

    s2_t sum = yr * 365 + leap_days;

    switch( o->m - 1 )
    {
        case 11: sum += 30;
        case 10: sum += 31;
        case  9: sum += 30;
        case  8: sum += 31;
        case  7: sum += 31;
        case  6: sum += 30;
        case  5: sum += 31;
        case  4: sum += 30;
        case  3: sum += 31;
        case  2: sum += 28;
        case  1: sum += 31;
        case  0:
        default: break;
    }

    sum += o->d - 1;

    if( sum < 60 ) ERR( "Lowest possible cday '0' subceeded. 0 is mapped to 01.03.1900" );
    sum -= 60;

    return sum;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0xc6a30
movl 0x8(%rbx), %eax
movl 0xc(%rbx), %ecx
leal -0x76c(%rax), %edx
movl %eax, %esi
addl $0xfffff897, %esi       # imm = 0xFFFFF897
testl %edx, %edx
cmovnsl %edx, %esi
sarl $0x2, %esi
cmpl $0x3, %ecx
setge %dil
testb $0x3, %al
setne %al
orb %dil, %al
movzbl %al, %edi
imull $0x16d, %edx, %eax      # imm = 0x16D
addl %edi, %eax
addl %esi, %eax
addl $-0x2, %ecx
cmpl $0xa, %ecx
ja 0xc709e
leaq 0x86c8c(%rip), %rdx     # 0x14dd00
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
addl $0x1e, %eax
addl $0x1f, %eax
addl $0x1e, %eax
addl $0x1f, %eax
addl $0x1f, %eax
addl $0x1e, %eax
addl $0x1f, %eax
addl $0x1e, %eax
addl $0x1f, %eax
addl $0x1c, %eax
addl $0x1f, %eax
movl 0x10(%rbx), %ecx
leal (%rax,%rcx), %ebx
decl %ebx
cmpl $0x3b, %ebx
jg 0xc70cc
leaq 0x86e26(%rip), %rdi     # 0x14ded8
leaq 0x86d08(%rip), %rsi     # 0x14ddc1
leaq 0x86e31(%rip), %rcx     # 0x14def1
movl $0x8e, %edx
xorl %eax, %eax
callq 0xc80f6
addl $-0x3c, %ebx
movl %ebx, %eax
popq %rbx
retq