LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tpfp_s_set
fp_t* bcore_hmap_tpfp_s_set( bcore_hmap_tpfp_s* o, tp_t key, fp_t val )
{
    if( !key ) ERR( "key is zero" );

    uz_t idx = tpfp_find( o, key );
    if( idx < o->size )
    {
        o->nodes[ idx ].val = val;
        return &o->nodes[ idx ].val;
    }

    idx = tpfp_set( o, ( bcore_hnode_tpfp_s ){ .key = key, .val = val }, 1 );
    if( idx < o->size ) return &o->nodes[ idx ].val;

    // rehash
    {
        o->flags = bcore_u_alloc( sizeof( bl_t ), o->flags, 0, NULL );
        bcore_hnode_tpfp_s* buf_nodes = o->nodes;
        uz_t  buf_size = o->size;
        o->depth_limit = ( o->size > 0 ) ? o->depth_limit + 1 : 4;
        o->size        = ( o->size > 0 ) ? o->size * 2        : 8;
        o->nodes = bcore_u_memzero( sizeof( bcore_hnode_tpfp_s ), NULL, o->size );
        for( uz_t i = 0; i < buf_size; i++ )
        {
            if( buf_nodes[ i ].key ) bcore_hmap_tpfp_s_set( o, buf_nodes[ i ].key, buf_nodes[ i ].val );
        }
        bcore_alloc( buf_nodes, 0 );
    }

    return bcore_hmap_tpfp_s_set( o, key, val );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
testq %r15, %r15
je 0xc9a3b
movq %r14, %rdi
movq %r15, %rsi
callq 0xc97c5
movq 0x18(%r14), %rcx
cmpq %rcx, %rax
jb 0xc9afd
movl $0x1, %ecx
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0xc9583
cmpq 0x18(%r14), %rax
jb 0xc9aec
movq 0x10(%r14), %rsi
movl $0x1, %edi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xbe7d5
movq %rax, 0x10(%r14)
movq 0x8(%r14), %r12
movq 0x18(%r14), %r13
testq %r13, %r13
je 0xc9ab8
incq 0x20(%r14)
leaq (,%r13,2), %rdx
movq %rdx, 0x18(%r14)
movl $0x10, %edi
xorl %esi, %esi
callq 0xbe825
movq %rax, 0x8(%r14)
leaq 0x8(%r12), %rbp
movq -0x8(%rbp), %rsi
testq %rsi, %rsi
je 0xc9a2d
movq (%rbp), %rdx
movq %r14, %rdi
callq 0xc997a
addq $0x10, %rbp
decq %r13
jne 0xc9a18
jmp 0xc9add
leaq 0x7bb89(%rip), %rdi     # 0x1455cb
leaq 0x7ba9b(%rip), %rsi     # 0x1454e4
movl $0x71a, %edx            # imm = 0x71A
leaq 0x7bacb(%rip), %rcx     # 0x145520
xorl %eax, %eax
callq 0xbe592
movq 0x18(%r14), %rcx
testq %rcx, %rcx
je 0xc99af
leaq -0x1(%rcx), %rdx
movq %rdx, %rax
movabsq $0x4c04e557831f75b5, %rsi # imm = 0x4C04E557831F75B5
andq %rsi, %rax
movq 0x8(%r14), %rsi
movq %rax, %rdi
shlq $0x4, %rdi
cmpq $0x0, (%rsi,%rdi)
je 0xc99a6
movabsq $0x42c60dee75c083c3, %rax # imm = 0x42C60DEE75C083C3
andq %rax, %rdx
movq %rdx, %rax
shlq $0x4, %rax
cmpq $0x0, (%rsi,%rax)
cmovneq %rcx, %rdx
movq %rdx, %rax
jmp 0xc99a6
movq $0x4, 0x20(%r14)
movq $0x8, 0x18(%r14)
movl $0x10, %edi
movl $0x8, %edx
xorl %esi, %esi
callq 0xbe825
movq %rax, 0x8(%r14)
movq %r12, %rdi
xorl %esi, %esi
callq 0xbe7b1
jmp 0xc998e
movq 0x8(%r14), %rcx
shlq $0x4, %rax
addq %rcx, %rax
addq $0x8, %rax
jmp 0xc9b0f
movq 0x8(%r14), %rcx
shlq $0x4, %rax
addq %rcx, %rax
addq $0x8, %rax
movq %rbx, (%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tpfp_s_remove
fp_t bcore_hmap_tpfp_s_remove( bcore_hmap_tpfp_s* o, tp_t key )
{
    if( !key ) return 0;
    uz_t idx = tpfp_find( o, key );
    if( idx < o->size )
    {
        fp_t val = o->nodes[ idx ].val;
        o->nodes[ idx ].key = 0;
        o->nodes[ idx ].val = NULL;
        return val;
    }
    return 0;
}

// Assembly:
testq %rsi, %rsi
je 0xc9b4b
pushq %rbx
movq %rdi, %rbx
callq 0xc97c5
cmpq 0x18(%rbx), %rax
jae 0xc9b4e
movq %rax, %rcx
movq 0x8(%rbx), %rdx
shlq $0x4, %rcx
movq 0x8(%rdx,%rcx), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rdx,%rcx)
jmp 0xc9b50
xorl %eax, %eax
retq
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tptp_s_copy
void bcore_hmap_tptp_s_copy( bcore_hmap_tptp_s* o, const bcore_hmap_tptp_s* src )
{
    o->nodes = bcore_alloc( o->nodes, 0 );
    o->flags = bcore_alloc( o->flags, 0 );
    o->size  = 0;
    o->nodes = bcore_u_memcpy( sizeof( bcore_hnode_tptp_s ), o->nodes, src->nodes, src->size );
    o->size  = src->size;
    o->depth_limit = src->depth_limit;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
xorl %esi, %esi
callq 0xbe7b1
movq %rax, 0x8(%rbx)
movq 0x10(%rbx), %rdi
xorl %esi, %esi
callq 0xbe7b1
movq %rax, 0x10(%rbx)
movq $0x0, 0x18(%rbx)
movq 0x8(%rbx), %rsi
movq 0x8(%r14), %rdx
movq 0x18(%r14), %rcx
movl $0x10, %edi
callq 0xbe8bb
movq %rax, 0x8(%rbx)
movups 0x18(%r14), %xmm0
movups %xmm0, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tptp_s_fget
tp_t* bcore_hmap_tptp_s_fget( bcore_hmap_tptp_s* o, tp_t key, tp_t init_val )
{
    if( !key ) ERR( "key is 0" );
    uz_t idx = tptp_find( o, key );
    if( idx < o->size )
    {
        return &o->nodes[ idx ].val;
    }
    else
    {
        return bcore_hmap_tptp_s_set( o, key, init_val );
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rsi, %rsi
je 0xca086
movq %r15, %rdi
movq %r14, %rsi
callq 0xc9f56
movq 0x18(%r15), %rcx
cmpq %rcx, %rax
jae 0xca0f8
movq 0x8(%r15), %rcx
shlq $0x4, %rax
addq %rcx, %rax
addq $0x8, %rax
popq %rbx
popq %r14
popq %r15
retq
leaq 0x7b554(%rip), %rdi     # 0x1455e1
leaq 0x7b450(%rip), %rsi     # 0x1454e4
leaq 0x7b4cd(%rip), %rcx     # 0x145568
movl $0x8bb, %edx            # imm = 0x8BB
xorl %eax, %eax
callq 0xbe592
movq 0x18(%r15), %rcx
testq %rcx, %rcx
je 0xca0f8
leaq -0x1(%rcx), %rdx
movabsq $0x4c04e557831f75b5, %rax # imm = 0x4C04E557831F75B5
andq %rdx, %rax
movq 0x8(%r15), %rsi
movq %rax, %rdi
shlq $0x4, %rdi
cmpq $0x0, (%rsi,%rdi)
je 0xca068
movabsq $0x42c60dee75c083c3, %rax # imm = 0x42C60DEE75C083C3
andq %rax, %rdx
movq %rdx, %rax
shlq $0x4, %rax
cmpq $0x0, (%rsi,%rax)
cmovneq %rcx, %rdx
movq %rdx, %rax
jmp 0xca068
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0xca10b
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tptp_s_set
tp_t* bcore_hmap_tptp_s_set( bcore_hmap_tptp_s* o, tp_t key, tp_t val )
{
    if( !key ) ERR( "key is zero" );

    uz_t idx = tptp_find( o, key );
    if( idx < o->size )
    {
        o->nodes[ idx ].val = val;
        return &o->nodes[ idx ].val;
    }

    idx = tptp_set( o, ( bcore_hnode_tptp_s ){ .key = key, .val = val }, 1 );
    if( idx < o->size ) return &o->nodes[ idx ].val;

    // rehash
    {
        o->flags = bcore_u_alloc( sizeof( bl_t ), o->flags, 0, NULL );
        bcore_hnode_tptp_s* buf_nodes = o->nodes;
        uz_t  buf_size = o->size;
        o->depth_limit = ( o->size > 0 ) ? o->depth_limit + 1 : 4;
        o->size        = ( o->size > 0 ) ? o->size * 2        : 8;
        o->nodes = bcore_u_memzero( sizeof( bcore_hnode_tptp_s ), NULL, o->size );
        for( uz_t i = 0; i < buf_size; i++ )
        {
            if( buf_nodes[ i ].key ) bcore_hmap_tptp_s_set( o, buf_nodes[ i ].key, buf_nodes[ i ].val );
        }
        bcore_alloc( buf_nodes, 0 );
    }

    return bcore_hmap_tptp_s_set( o, key, val );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
testq %r15, %r15
je 0xca1cc
movq %r14, %rdi
movq %r15, %rsi
callq 0xc9f56
movq 0x18(%r14), %rcx
cmpq %rcx, %rax
jb 0xca28e
movl $0x1, %ecx
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0xc9d14
cmpq 0x18(%r14), %rax
jb 0xca27d
movq 0x10(%r14), %rsi
movl $0x1, %edi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xbe7d5
movq %rax, 0x10(%r14)
movq 0x8(%r14), %r12
movq 0x18(%r14), %r13
testq %r13, %r13
je 0xca249
incq 0x20(%r14)
leaq (,%r13,2), %rdx
movq %rdx, 0x18(%r14)
movl $0x10, %edi
xorl %esi, %esi
callq 0xbe825
movq %rax, 0x8(%r14)
leaq 0x8(%r12), %rbp
movq -0x8(%rbp), %rsi
testq %rsi, %rsi
je 0xca1be
movq (%rbp), %rdx
movq %r14, %rdi
callq 0xca10b
addq $0x10, %rbp
decq %r13
jne 0xca1a9
jmp 0xca26e
leaq 0x7b425(%rip), %rdi     # 0x1455f8
leaq 0x7b30a(%rip), %rsi     # 0x1454e4
movl $0x8cb, %edx            # imm = 0x8CB
leaq 0x7b33a(%rip), %rcx     # 0x145520
xorl %eax, %eax
callq 0xbe592
movq 0x18(%r14), %rcx
testq %rcx, %rcx
je 0xca140
leaq -0x1(%rcx), %rdx
movq %rdx, %rax
movabsq $0x4c04e557831f75b5, %rsi # imm = 0x4C04E557831F75B5
andq %rsi, %rax
movq 0x8(%r14), %rsi
movq %rax, %rdi
shlq $0x4, %rdi
cmpq $0x0, (%rsi,%rdi)
je 0xca137
movabsq $0x42c60dee75c083c3, %rax # imm = 0x42C60DEE75C083C3
andq %rax, %rdx
movq %rdx, %rax
shlq $0x4, %rax
cmpq $0x0, (%rsi,%rax)
cmovneq %rcx, %rdx
movq %rdx, %rax
jmp 0xca137
movq $0x4, 0x20(%r14)
movq $0x8, 0x18(%r14)
movl $0x10, %edi
movl $0x8, %edx
xorl %esi, %esi
callq 0xbe825
movq %rax, 0x8(%r14)
movq %r12, %rdi
xorl %esi, %esi
callq 0xbe7b1
jmp 0xca11f
movq 0x8(%r14), %rcx
shlq $0x4, %rax
addq %rcx, %rax
addq $0x8, %rax
jmp 0xca2a0
movq 0x8(%r14), %rcx
shlq $0x4, %rax
addq %rcx, %rax
addq $0x8, %rax
movq %rbx, (%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tptp_s_remove
tp_t bcore_hmap_tptp_s_remove( bcore_hmap_tptp_s* o, tp_t key )
{
    if( !key ) return 0;
    uz_t idx = tptp_find( o, key );
    if( idx < o->size )
    {
        tp_t val = o->nodes[ idx ].val;
        o->nodes[ idx ].key = 0;
        o->nodes[ idx ].val = 0;
        return val;
    }
    return 0;
}

// Assembly:
testq %rsi, %rsi
je 0xca2dc
pushq %rbx
movq %rdi, %rbx
callq 0xc9f56
cmpq 0x18(%rbx), %rax
jae 0xca2df
movq %rax, %rcx
movq 0x8(%rbx), %rdx
shlq $0x4, %rcx
movq 0x8(%rdx,%rcx), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rdx,%rcx)
jmp 0xca2e1
xorl %eax, %eax
retq
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tpvd_s_set
vd_t* bcore_hmap_tpvd_s_set( bcore_hmap_tpvd_s* o, tp_t key, vd_t val )
{
    if( !key ) ERR( "key is zero" );

    uz_t idx = tpvd_find( o, key );
    if( idx < o->size )
    {
        o->nodes[ idx ].val = val;
        return &o->nodes[ idx ].val;
    }

    idx = tpvd_set( o, ( bcore_hnode_tpvd_s ){ .key = key, .val = val }, 1 );
    if( idx < o->size ) return &o->nodes[ idx ].val;

    // rehash
    {
        o->flags = bcore_u_alloc( sizeof( bl_t ), o->flags, 0, NULL );
        bcore_hnode_tpvd_s* buf_nodes = o->nodes;
        uz_t  buf_size = o->size;
        o->depth_limit = ( o->size > 0 ) ? o->depth_limit + 1 : 4;
        o->size        = ( o->size > 0 ) ? o->size * 2        : 8;
        o->nodes = bcore_u_memzero( sizeof( bcore_hnode_tpvd_s ), NULL, o->size );
        for( uz_t i = 0; i < buf_size; i++ )
        {
            if( buf_nodes[ i ].key ) bcore_hmap_tpvd_s_set( o, buf_nodes[ i ].key, buf_nodes[ i ].val );
        }
        bcore_alloc( buf_nodes, 0 ); // rehashing does not destroy any object (only rearranges nodes)
    }

    return bcore_hmap_tpvd_s_set( o, key, val );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
testq %r15, %r15
je 0xca77c
movq %r14, %rdi
movq %r15, %rsi
callq 0xca85f
movq 0x18(%r14), %rcx
cmpq %rcx, %rax
jb 0xca83e
movl $0x1, %ecx
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0xca4a5
cmpq 0x18(%r14), %rax
jb 0xca82d
movq 0x10(%r14), %rsi
movl $0x1, %edi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xbe7d5
movq %rax, 0x10(%r14)
movq 0x8(%r14), %r12
movq 0x18(%r14), %r13
testq %r13, %r13
je 0xca7f9
incq 0x20(%r14)
leaq (,%r13,2), %rdx
movq %rdx, 0x18(%r14)
movl $0x10, %edi
xorl %esi, %esi
callq 0xbe825
movq %rax, 0x8(%r14)
leaq 0x8(%r12), %rbp
movq -0x8(%rbp), %rsi
testq %rsi, %rsi
je 0xca76e
movq (%rbp), %rdx
movq %r14, %rdi
callq 0xca6bb
addq $0x10, %rbp
decq %r13
jne 0xca759
jmp 0xca81e
leaq 0x7ae8b(%rip), %rdi     # 0x14560e
leaq 0x7ad5a(%rip), %rsi     # 0x1454e4
movl $0xa5d, %edx            # imm = 0xA5D
leaq 0x7ad8a(%rip), %rcx     # 0x145520
xorl %eax, %eax
callq 0xbe592
movq 0x18(%r14), %rcx
testq %rcx, %rcx
je 0xca6f0
leaq -0x1(%rcx), %rdx
movq %rdx, %rax
movabsq $0x4c04e557831f75b5, %rsi # imm = 0x4C04E557831F75B5
andq %rsi, %rax
movq 0x8(%r14), %rsi
movq %rax, %rdi
shlq $0x4, %rdi
cmpq $0x0, (%rsi,%rdi)
je 0xca6e7
movabsq $0x42c60dee75c083c3, %rax # imm = 0x42C60DEE75C083C3
andq %rax, %rdx
movq %rdx, %rax
shlq $0x4, %rax
cmpq $0x0, (%rsi,%rax)
cmovneq %rcx, %rdx
movq %rdx, %rax
jmp 0xca6e7
movq $0x4, 0x20(%r14)
movq $0x8, 0x18(%r14)
movl $0x10, %edi
movl $0x8, %edx
xorl %esi, %esi
callq 0xbe825
movq %rax, 0x8(%r14)
movq %r12, %rdi
xorl %esi, %esi
callq 0xbe7b1
jmp 0xca6cf
movq 0x8(%r14), %rcx
shlq $0x4, %rax
addq %rcx, %rax
addq $0x8, %rax
jmp 0xca850
movq 0x8(%r14), %rcx
shlq $0x4, %rax
addq %rcx, %rax
addq $0x8, %rax
movq %rbx, (%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tpvd_s_remove
void bcore_hmap_tpvd_s_remove( bcore_hmap_tpvd_s* o, tp_t key )
{
    if( !key ) return;
    uz_t idx = tpvd_find( o, key );
    if( idx < o->size )
    {
        o->nodes[ idx ].key = 0;
        o->nodes[ idx ].val = 0;
    }
}

// Assembly:
pushq %rbx
testq %rsi, %rsi
je 0xca99e
movq %rdi, %rbx
callq 0xca85f
cmpq 0x18(%rbx), %rax
jae 0xca99e
movq 0x8(%rbx), %rcx
shlq $0x4, %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rcx,%rax)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tpto_s_down
void bcore_hmap_tpto_s_down( bcore_hmap_tpto_s* o )
{
    if( o->size > 0 )
    {
        const bcore_inst_s* inst_p = NULL;
        for( uz_t i = 0; i < o->size; i++ )
        {
            if( o->nodes[ i ].val )
            {
                if( !inst_p ) inst_p = bcore_inst_s_get_typed( o->type );
                bcore_inst_p_discard( inst_p, o->nodes[ i ].val );
            }
        }
    }
    o->nodes = bcore_alloc( o->nodes, 0 );
    o->flags = bcore_alloc( o->flags, 0 );
    o->size  = 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq $0x0, 0x20(%rdi)
je 0xcb109
movl $0x8, %ebp
xorl %r15d, %r15d
leaq 0xd1429(%rip), %r14     # 0x19c468
xorl %r12d, %r12d
movq 0x10(%rbx), %rax
cmpq $0x0, (%rax,%rbp)
je 0xcb0f8
testq %r12, %r12
jne 0xcb0e0
movq 0x8(%rbx), %r13
movl (%r14), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r14,%rax,8), %rcx
movq 0x18(%r14,%rax,8), %rdx
andq %r13, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0xcb0b4
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0xcb0b4
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0xcb0b4
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0xcb0bd
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0xcb0e0
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r13, %rsi
callq 0xe9bc5
movq %rax, %r12
movq %r14, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x10(%rbx), %rax
movq (%rax,%rbp), %rsi
testq %rsi, %rsi
je 0xcb0f8
movq %r12, %rdi
callq *0xb8(%r12)
incq %r15
addq $0x10, %rbp
cmpq 0x20(%rbx), %r15
jb 0xcb042
movq 0x10(%rbx), %rdi
xorl %esi, %esi
callq 0xbe7b1
movq %rax, 0x10(%rbx)
movq 0x18(%rbx), %rdi
xorl %esi, %esi
callq 0xbe7b1
movq %rax, 0x18(%rbx)
movq $0x0, 0x20(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tpto_s_clear
void bcore_hmap_tpto_s_clear( bcore_hmap_tpto_s* o )
{
    const bcore_inst_s* inst_p = o->type ? bcore_inst_s_get_typed( o->type ) : NULL;
    for( uz_t i = 0; i < o->size; i++ ) if( o->nodes[ i ].val ) bcore_inst_p_discard( inst_p, o->nodes[ i ].val );
    o->nodes = bcore_alloc( o->nodes, 0 );
    o->flags = bcore_alloc( o->flags, 0 );
    o->size  = 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %r15
testq %r15, %r15
je 0xcb6e5
leaq 0xd0e0b(%rip), %rax     # 0x19c468
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r15, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0xcb6b3
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0xcb6b3
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0xcb6b3
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0xcb6bc
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xcb6e8
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r15, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0xd0d90(%rip), %rdi     # 0x19c468
movq %r15, %rsi
movq %rax, %rdx
callq 0x115fac
jmp 0xcb6e8
xorl %r14d, %r14d
movq 0x20(%rbx), %rax
testq %rax, %rax
je 0xcb721
movl $0x8, %r15d
xorl %r12d, %r12d
movq 0x10(%rbx), %rcx
movq (%rcx,%r15), %rsi
testq %rsi, %rsi
je 0xcb715
movq %r14, %rdi
callq *0xb8(%r14)
movq 0x20(%rbx), %rax
incq %r12
addq $0x10, %r15
cmpq %rax, %r12
jb 0xcb6fa
movq 0x10(%rbx), %rdi
xorl %esi, %esi
callq 0xbe7b1
movq %rax, 0x10(%rbx)
movq 0x18(%rbx), %rdi
xorl %esi, %esi
callq 0xbe7b1
movq %rax, 0x18(%rbx)
movq $0x0, 0x20(%rbx)
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_hmap.c
// Function: bcore_hmap_tpto_s_fget_d
vd_t* bcore_hmap_tpto_s_fget_d( bcore_hmap_tpto_s* o, tp_t key, vd_t init_val )
{
    if( !key ) ERR( "key is 0" );
    if( !o->type ) ERR( "type is 0" );
    uz_t idx = tpto_find( o, key );
    if( idx < o->size )
    {
        if( init_val ) bcore_inst_t_discard( o->type, init_val );
        return &o->nodes[ idx ].val;
    }
    else
    {
        return bcore_hmap_tpto_s_set_d( o, key, init_val );
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
testq %rsi, %rsi
jne 0xcb8a7
leaq 0x79d97(%rip), %rdi     # 0x145624
leaq 0x79c50(%rip), %rsi     # 0x1454e4
leaq 0x79ccd(%rip), %rcx     # 0x145568
movl $0xc3e, %edx            # imm = 0xC3E
xorl %eax, %eax
callq 0xbe592
cmpq $0x0, 0x8(%rbx)
jne 0xcb8cf
leaq 0x79d6f(%rip), %rdi     # 0x145624
leaq 0x79c28(%rip), %rsi     # 0x1454e4
leaq 0x79d7a(%rip), %rcx     # 0x14563d
movl $0xc3f, %edx            # imm = 0xC3F
xorl %eax, %eax
callq 0xbe592
movq %rbx, %rdi
movq %r12, %rsi
callq 0xcb77f
cmpq 0x20(%rbx), %rax
jae 0xcb9a7
movq %rax, %r15
testq %r14, %r14
je 0xcb98e
movq 0x8(%rbx), %r12
leaq 0xd0b6d(%rip), %rax     # 0x19c468
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r12, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0xcb951
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0xcb951
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0xcb951
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0xcb95a
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0xcb981
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0xd0af2(%rip), %rdi     # 0x19c468
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r13, %rdi
movq %r14, %rsi
callq *0xb8(%r13)
movq 0x10(%rbx), %rax
shlq $0x4, %r15
addq %r15, %rax
addq $0x8, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rbx, %rdi
movq %r12, %rsi
movq %r14, %rdx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0xcb9be
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tpto_s_remove
void bcore_hmap_tpto_s_remove( bcore_hmap_tpto_s* o, tp_t key )
{
    if( !key ) return;
    uz_t idx = tpto_find( o, key );
    if( idx < o->size )
    {
        if( o->nodes[ idx ].val ) bcore_inst_t_discard( o->type, o->nodes[ idx ].val );
        o->nodes[ idx ].key = 0;
        o->nodes[ idx ].val = 0;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
testq %rsi, %rsi
je 0xcbd84
movq %rdi, %rbx
callq 0xcb77f
cmpq 0x20(%rbx), %rax
jae 0xcbd84
movq %rax, %r14
movq 0x10(%rbx), %rax
shlq $0x4, %r14
movq 0x8(%rax,%r14), %r15
testq %r15, %r15
je 0xcbd7c
movq 0x8(%rbx), %r12
leaq 0xd0783(%rip), %rax     # 0x19c468
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r12, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0xcbd3b
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0xcbd3b
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0xcbd3b
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0xcbd44
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0xcbd6b
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0xd0708(%rip), %rdi     # 0x19c468
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r13, %rdi
movq %r15, %rsi
callq *0xb8(%r13)
movq 0x10(%rbx), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax,%r14)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tpaw_s_down
void bcore_hmap_tpaw_s_down( bcore_hmap_tpaw_s* o )
{
    if( o->size > 0 )
    {
        const bcore_inst_s* inst_p = NULL;
        for( uz_t i = 0; i < o->size; i++ )
        {
            if( o->nodes[ i ].val )
            {
                vd_t val = o->nodes[ i ].val;
                tp_t type = *(aware_t*)val;
                if( !inst_p || inst_p->header.o_type != type ) inst_p = bcore_inst_s_get_typed( type );
                bcore_inst_p_discard( inst_p, val );
            }
        }
    }
    o->nodes = bcore_alloc( o->nodes, 0 );
    o->flags = bcore_alloc( o->flags, 0 );
    o->size  = 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rdi), %rax
testq %rax, %rax
je 0xcbf01
movl $0x8, %r15d
xorl %r13d, %r13d
xorl %r14d, %r14d
movq 0x8(%rbx), %rcx
movq (%rcx,%r15), %r12
testq %r12, %r12
je 0xcbef1
movq (%r12), %rbp
testq %r13, %r13
je 0xcbe54
cmpq %rbp, 0x8(%r13)
je 0xcbee0
leaq 0xd060d(%rip), %rdx     # 0x19c468
movl (%rdx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %rbp, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0xcbeb0
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0xcbeb0
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0xcbeb0
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0xcbeb9
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0xcbee0
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %rbp, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0xd0593(%rip), %rdi     # 0x19c468
movq %rbp, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r13, %rdi
movq %r12, %rsi
callq *0xb8(%r13)
movq 0x18(%rbx), %rax
incq %r14
addq $0x10, %r15
cmpq %rax, %r14
jb 0xcbe30
movq 0x8(%rbx), %rdi
xorl %esi, %esi
callq 0xbe7b1
movq %rax, 0x8(%rbx)
movq 0x10(%rbx), %rdi
xorl %esi, %esi
callq 0xbe7b1
movq %rax, 0x10(%rbx)
movq $0x0, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tpaw_s_set_c
vd_t* bcore_hmap_tpaw_s_set_c( bcore_hmap_tpaw_s* o, tp_t key, vc_t val )
{
    if( val )
    {
        return bcore_hmap_tpaw_s_set_d( o, key, bcore_inst_a_clone( val ) );
    }
    else
    {
        return bcore_hmap_tpaw_s_set_d( o, key, NULL );
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
testq %rdx, %rdx
je 0xcc899
movq %rdx, %r15
movq (%rdx), %r12
leaq 0xcfc67(%rip), %rax     # 0x19c468
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r12, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0xcc857
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0xcc857
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0xcc857
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0xcc860
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0xcc887
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0xcfbec(%rip), %rdi     # 0x19c468
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r13, %rdi
movq %r15, %rsi
callq *0xc0(%r13)
movq %rax, %rdx
jmp 0xcc89b
xorl %edx, %edx
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0xcc584
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tpaw_s_remove
void bcore_hmap_tpaw_s_remove( bcore_hmap_tpaw_s* o, tp_t key )
{
    if( !key ) return;
    uz_t idx = tpaw_find( o, key );
    if( idx < o->size )
    {
        if( o->nodes[ idx ].val ) bcore_inst_a_discard( o->nodes[ idx ].val );
        o->nodes[ idx ].key = 0;
        o->nodes[ idx ].val = 0;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
testq %rsi, %rsi
je 0xcc995
movq %rdi, %rbx
callq 0xcc494
cmpq 0x18(%rbx), %rax
jae 0xcc995
movq %rax, %r14
movq 0x8(%rbx), %rax
shlq $0x4, %r14
movq 0x8(%rax,%r14), %r15
testq %r15, %r15
je 0xcc98d
movq (%r15), %r12
leaq 0xcfb72(%rip), %rax     # 0x19c468
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r12, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0xcc94c
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0xcc94c
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0xcc94c
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0xcc955
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0xcc97c
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0xcfaf7(%rip), %rdi     # 0x19c468
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r13, %rdi
movq %r15, %rsi
callq *0xb8(%r13)
movq 0x8(%rbx), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax,%r14)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tp_s_copy
void bcore_hmap_tp_s_copy( bcore_hmap_tp_s* o, const bcore_hmap_tp_s* src )
{
    o->keys  = bcore_u_alloc( sizeof( tp_t ), o->keys,  0, NULL );
    o->flags = bcore_u_alloc( sizeof( bl_t ), o->flags, 0, NULL );
    o->size  = 0;
    o->keys  = bcore_u_memcpy( sizeof( tp_t ), o->keys, src->keys, src->size );
    o->size  = src->size;
    o->depth_limit = src->depth_limit;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rdi), %rsi
movl $0x8, %edi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xbe7d5
movq %rax, 0x8(%rbx)
movq 0x10(%rbx), %rsi
movl $0x1, %edi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xbe7d5
movq %rax, 0x10(%rbx)
movq $0x0, 0x18(%rbx)
movq 0x8(%rbx), %rsi
movq 0x8(%r14), %rdx
movq 0x18(%r14), %rcx
movl $0x8, %edi
callq 0xbe8bb
movq %rax, 0x8(%rbx)
movups 0x18(%r14), %xmm0
movups %xmm0, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tp_s_fget
uz_t bcore_hmap_tp_s_fget( bcore_hmap_tp_s* o, tp_t key )
{
    if( !key ) ERR( "key is 0" );
    uz_t idx = tp_find( o, key );
    if( idx < o->size )
    {
        return idx;
    }
    else
    {
        return bcore_hmap_tp_s_set( o, key );
    }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
testq %rsi, %rsi
je 0xccd95
movq %r14, %rdi
movq %rbx, %rsi
callq 0xccc88
movq 0x18(%r14), %rcx
cmpq %rcx, %rax
jae 0xccdf6
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x788ef(%rip), %rdi     # 0x14568b
leaq 0x78741(%rip), %rsi     # 0x1454e4
leaq 0x787be(%rip), %rcx     # 0x145568
movl $0xf77, %edx            # imm = 0xF77
xorl %eax, %eax
callq 0xbe592
movq 0x18(%r14), %rcx
testq %rcx, %rcx
je 0xccdf6
leaq -0x1(%rcx), %rdx
movabsq $0x4c04e557831f75b5, %rax # imm = 0x4C04E557831F75B5
andq %rdx, %rax
movq 0x8(%r14), %rsi
cmpq $0x0, (%rsi,%rax,8)
je 0xccd88
movabsq $0x42c60dee75c083c3, %rax # imm = 0x42C60DEE75C083C3
andq %rax, %rdx
cmpq $0x0, (%rsi,%rdx,8)
cmovneq %rcx, %rdx
movq %rdx, %rax
jmp 0xccd88
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xcce08
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tp_s_set
uz_t bcore_hmap_tp_s_set( bcore_hmap_tp_s* o, tp_t key )
{
    if( !key ) ERR( "key is zero" );

    {
        uz_t idx = tp_find( o, key );
        if( idx < o->size ) return idx;
        idx = tp_set( o, key, 1 );
        if( idx < o->size ) return idx;
    }

    // rehash
    {
        tp_t* buf_keys  = o->keys;
        uz_t  buf_size  = o->size;
        o->flags = bcore_u_alloc( sizeof( bl_t ), o->flags, 0, NULL );
        o->depth_limit = ( o->size > 0 ) ? o->depth_limit + 1 : 4;
        o->size        = ( o->size > 0 ) ? o->size * 2        : 8;
        o->keys = bcore_u_memzero( sizeof( tp_t ), NULL, o->size );
        for( uz_t i = 0; i < buf_size; i++ )
        {
            if( buf_keys[ i ] ) bcore_hmap_tp_s_set( o, buf_keys[ i ] );
        }
        bcore_u_alloc( sizeof( tp_t ), buf_keys, 0, NULL );
    }

    return bcore_hmap_tp_s_set( o, key );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl $0x8, %r15d
testq %rbx, %rbx
je 0xcce85
movq %r14, %rdi
movq %rbx, %rsi
callq 0xccc88
movq 0x18(%r14), %rcx
cmpq %rcx, %rax
jb 0xccf50
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xccf5f
movq 0x18(%r14), %r12
cmpq %r12, %rax
jb 0xccf50
movq 0x8(%r14), %rbp
movq 0x10(%r14), %rsi
movl $0x1, %edi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xbe7d5
movq %rax, 0x10(%r14)
movq 0x18(%r14), %rax
testq %rax, %rax
je 0xccef0
movq 0x20(%r14), %rcx
incq %rcx
jmp 0xccef5
leaq 0x78814(%rip), %rdi     # 0x1456a0
leaq 0x78651(%rip), %rsi     # 0x1454e4
movl $0xf87, %edx            # imm = 0xF87
leaq 0x78681(%rip), %rcx     # 0x145520
xorl %eax, %eax
callq 0xbe592
movq 0x18(%r14), %rcx
testq %rcx, %rcx
je 0xcce3c
leaq -0x1(%rcx), %rdx
movq %rdx, %rax
movabsq $0x4c04e557831f75b5, %rsi # imm = 0x4C04E557831F75B5
andq %rsi, %rax
movq 0x8(%r14), %rsi
cmpq $0x0, (%rsi,%rax,8)
je 0xcce33
movabsq $0x42c60dee75c083c3, %rax # imm = 0x42C60DEE75C083C3
andq %rax, %rdx
cmpq $0x0, (%rsi,%rdx,8)
cmovneq %rcx, %rdx
movq %rdx, %rax
jmp 0xcce33
movl $0x4, %ecx
leaq (%rax,%rax), %rdx
testq %rax, %rax
movq %rcx, 0x20(%r14)
cmoveq %r15, %rdx
movq %rdx, 0x18(%r14)
movl $0x8, %edi
xorl %esi, %esi
callq 0xbe825
movq %rax, 0x8(%r14)
testq %r12, %r12
je 0xccf3a
xorl %r13d, %r13d
movq (%rbp,%r13,8), %rsi
testq %rsi, %rsi
je 0xccf32
movq %r14, %rdi
callq 0xcce08
incq %r13
cmpq %r13, %r12
jne 0xccf20
movl $0x8, %edi
movq %rbp, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xbe7d5
jmp 0xcce1f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_tp_s_remove
uz_t bcore_hmap_tp_s_remove( bcore_hmap_tp_s* o, tp_t key )
{
    if( !key ) return o->size;

    uz_t idx = tp_find( o, key );
    if( idx < o->size )
    {
        o->keys[ idx ] = 0;
    }
    return idx;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
testq %rsi, %rsi
je 0xcd134
movq %rbx, %rdi
callq 0xccc88
cmpq 0x18(%rbx), %rax
jae 0xcd138
movq 0x8(%rbx), %rcx
movq $0x0, (%rcx,%rax,8)
jmp 0xcd138
movq 0x18(%rbx), %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: hmap_u3vd_s_create_self
static bcore_self_s* hmap_u3vd_s_create_self( void )
{
    sc_t def = "\
        bcore_hmap_u3vd_s = bcore_inst \
            { \
                aware_t _; \
                private bcore_array_dyn_solid_static_s arr; \
                uz_t depth_limit; \
                private fp_t h1; \
                private fp_t h2; \
                private fp_t h3; \
            }";
    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( def, bcore_hmap_u3vd_s );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_u3vd_s_init,    "bcore_fp_init",    "init"    );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_u3vd_s_down,    "bcore_fp_down",    "down"    );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_u3vd_s_copy,    "bcore_fp_copy",    "copy"    );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_u3vd_s_create,  "bcore_fp_create",  "create"  );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_u3vd_s_clone,   "bcore_fp_clone",   "clone"   );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_u3vd_s_discard, "bcore_fp_discard", "discard" );
    return self;
}

// Assembly:
pushq %rbx
leaq 0x73ef8(%rip), %rdi     # 0x1456f8
movl $0x40, %esi
movl $0x8, %edx
callq 0xc447e
movq %rax, %rbx
leaq -0xa6d1(%rip), %rsi     # 0xc7148
leaq 0x71215(%rip), %rdx     # 0x142a35
leaq 0x71217(%rip), %rcx     # 0x142a3e
movq %rax, %rdi
callq 0xc34ab
leaq -0xa5ed(%rip), %rsi     # 0xc7249
leaq 0x71206(%rip), %rdx     # 0x142a43
leaq 0x65986(%rip), %rcx     # 0x1371ca
movq %rbx, %rdi
callq 0xc34ab
leaq -0xa4fa(%rip), %rsi     # 0xc7359
leaq 0x711f7(%rip), %rdx     # 0x142a51
leaq 0x6cafa(%rip), %rcx     # 0x13e35b
movq %rbx, %rdi
callq 0xc34ab
leaq -0xa281(%rip), %rsi     # 0xc75ef
leaq 0x7367a(%rip), %rdx     # 0x144ef1
leaq 0x7367c(%rip), %rcx     # 0x144efa
movq %rbx, %rdi
callq 0xc34ab
leaq -0xa23c(%rip), %rsi     # 0xc7651
leaq 0x7366d(%rip), %rdx     # 0x144f01
leaq 0x7366f(%rip), %rcx     # 0x144f0a
movq %rbx, %rdi
callq 0xc34ab
leaq -0xa26e(%rip), %rsi     # 0xc763c
leaq 0x7365f(%rip), %rdx     # 0x144f10
leaq 0x73661(%rip), %rcx     # 0x144f19
movq %rbx, %rdi
callq 0xc34ab
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: hmap_tpuz_s_create_self
static bcore_self_s* hmap_tpuz_s_create_self( void )
{
    sc_t def = "\
        bcore_hmap_tpuz_s = bcore_inst \
            { \
                aware_t _; \
                private bcore_hnode_tpuz_s* nodes; \
                private bl_t* flags; \
                private uz_t size; \
                private uz_t depth_limit; \
                shell { bcore_hnode_tpuz_s []; } data; } \
            }";
    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( def, bcore_hmap_tpuz_s );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpuz_s_init,    "bcore_fp_init",  "init"     );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpuz_s_down,    "bcore_fp_down",  "down"     );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpuz_s_copy,    "bcore_fp_copy",  "copy"     );
    bcore_self_s_push_ns_func( self, ( fp_t )tpuz_s_get_data,           "bcore_fp_get",   "get_data" );
    bcore_self_s_push_ns_func( self, ( fp_t )tpuz_s_set_data,           "bcore_fp_set",   "set_data" );
    return self;
}

// Assembly:
pushq %rbx
leaq 0x73f68(%rip), %rdi     # 0x14584b
movl $0x28, %esi
movl $0x8, %edx
callq 0xc447e
movq %rax, %rbx
leaq -0x9427(%rip), %rsi     # 0xc84d5
leaq 0x71132(%rip), %rdx     # 0x142a35
leaq 0x71134(%rip), %rcx     # 0x142a3e
movq %rax, %rdi
callq 0xc34ab
leaq -0x9427(%rip), %rsi     # 0xc84f2
leaq 0x71123(%rip), %rdx     # 0x142a43
leaq 0x658a3(%rip), %rcx     # 0x1371ca
movq %rbx, %rdi
callq 0xc34ab
leaq -0x940a(%rip), %rsi     # 0xc852c
leaq 0x71114(%rip), %rdx     # 0x142a51
leaq 0x6ca17(%rip), %rcx     # 0x13e35b
movq %rbx, %rdi
callq 0xc34ab
leaq 0x510(%rip), %rsi       # 0xd1e63
leaq 0x7223d(%rip), %rdx     # 0x143b97
leaq 0x68435(%rip), %rcx     # 0x139d96
movq %rbx, %rdi
callq 0xc34ab
leaq 0x686(%rip), %rsi       # 0xd1ff6
leaq 0x72213(%rip), %rdx     # 0x143b8a
leaq 0x74009(%rip), %rcx     # 0x145987
movq %rbx, %rdi
callq 0xc34ab
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: hmap_tpsz_s_create_self
static bcore_self_s* hmap_tpsz_s_create_self( void )
{
    sc_t def = "\
        bcore_hmap_tpsz_s = bcore_inst \
            { \
                aware_t _; \
                private bcore_hnode_tpsz_s* nodes; \
                private bl_t* flags; \
                private uz_t size; \
                private uz_t depth_limit; \
                shell { bcore_hnode_tpsz_s []; } data; } \
            }";
    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( def, bcore_hmap_tpsz_s );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpsz_s_init,    "bcore_fp_init",  "init"     );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpsz_s_down,    "bcore_fp_down",  "down"     );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpsz_s_copy,    "bcore_fp_copy",  "copy"     );
    bcore_self_s_push_ns_func( self, ( fp_t )tpsz_s_get_data,           "bcore_fp_get",   "get_data" );
    bcore_self_s_push_ns_func( self, ( fp_t )tpsz_s_set_data,           "bcore_fp_set",   "set_data" );
    return self;
}

// Assembly:
pushq %rbx
leaq 0x74036(%rip), %rdi     # 0x1459df
movl $0x28, %esi
movl $0x8, %edx
callq 0xc447e
movq %rax, %rbx
leaq -0x8d40(%rip), %rsi     # 0xc8c82
leaq 0x7106c(%rip), %rdx     # 0x142a35
leaq 0x7106e(%rip), %rcx     # 0x142a3e
movq %rax, %rdi
callq 0xc34ab
leaq -0x8d40(%rip), %rsi     # 0xc8c9f
leaq 0x7105d(%rip), %rdx     # 0x142a43
leaq 0x657dd(%rip), %rcx     # 0x1371ca
movq %rbx, %rdi
callq 0xc34ab
leaq -0x8d23(%rip), %rsi     # 0xc8cd9
leaq 0x7104e(%rip), %rdx     # 0x142a51
leaq 0x6c951(%rip), %rcx     # 0x13e35b
movq %rbx, %rdi
callq 0xc34ab
leaq 0x73d(%rip), %rsi       # 0xd2156
leaq 0x72177(%rip), %rdx     # 0x143b97
leaq 0x6836f(%rip), %rcx     # 0x139d96
movq %rbx, %rdi
callq 0xc34ab
leaq 0x8b3(%rip), %rsi       # 0xd22e9
leaq 0x7214d(%rip), %rdx     # 0x143b8a
leaq 0x73f43(%rip), %rcx     # 0x145987
movq %rbx, %rdi
callq 0xc34ab
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: hmap_tpfp_s_create_self
static bcore_self_s* hmap_tpfp_s_create_self( void )
{
    sc_t def = "\
        bcore_hmap_tpfp_s = bcore_inst \
            { \
                aware_t _; \
                private bcore_hnode_tpfp_s* nodes; \
                private bl_t* flags; \
                private uz_t size; \
                private uz_t depth_limit; \
                shell { bcore_hnode_tpfp_s []; } data; } \
            }";
    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( def, bcore_hmap_tpfp_s );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpfp_s_init,    "bcore_fp_init",  "init"     );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpfp_s_down,    "bcore_fp_down",  "down"     );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpfp_s_copy,    "bcore_fp_copy",  "copy"     );
    bcore_self_s_push_ns_func( self, ( fp_t )tpfp_s_get_data,           "bcore_fp_get",   "get_data" );
    bcore_self_s_push_ns_func( self, ( fp_t )tpfp_s_set_data,           "bcore_fp_set",   "set_data" );
    return self;
}

// Assembly:
pushq %rbx
leaq 0x740fb(%rip), %rdi     # 0x145b6a
movl $0x28, %esi
movl $0x8, %edx
callq 0xc447e
movq %rax, %rbx
leaq -0x8659(%rip), %rsi     # 0xc942f
leaq 0x70fa6(%rip), %rdx     # 0x142a35
leaq 0x70fa8(%rip), %rcx     # 0x142a3e
movq %rax, %rdi
callq 0xc34ab
leaq -0x8659(%rip), %rsi     # 0xc944c
leaq 0x70f97(%rip), %rdx     # 0x142a43
leaq 0x65717(%rip), %rcx     # 0x1371ca
movq %rbx, %rdi
callq 0xc34ab
leaq -0x863c(%rip), %rsi     # 0xc9486
leaq 0x70f88(%rip), %rdx     # 0x142a51
leaq 0x6c88b(%rip), %rcx     # 0x13e35b
movq %rbx, %rdi
callq 0xc34ab
leaq 0x96a(%rip), %rsi       # 0xd2449
leaq 0x720b1(%rip), %rdx     # 0x143b97
leaq 0x682a9(%rip), %rcx     # 0x139d96
movq %rbx, %rdi
callq 0xc34ab
leaq 0xae0(%rip), %rsi       # 0xd25dc
leaq 0x72087(%rip), %rdx     # 0x143b8a
leaq 0x73e7d(%rip), %rcx     # 0x145987
movq %rbx, %rdi
callq 0xc34ab
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: hmap_tptp_s_create_self
static bcore_self_s* hmap_tptp_s_create_self( void )
{
    sc_t def = "\
        bcore_hmap_tptp_s = bcore_inst \
            { \
                aware_t _; \
                private bcore_hnode_tptp_s* nodes; \
                private bl_t* flags; \
                private uz_t size; \
                private uz_t depth_limit; \
                shell { bcore_hnode_tptp_s []; } data; } \
            }";
    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( def, bcore_hmap_tptp_s );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tptp_s_init,    "bcore_fp_init",  "init"     );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tptp_s_down,    "bcore_fp_down",  "down"     );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tptp_s_copy,    "bcore_fp_copy",  "copy"     );
    bcore_self_s_push_ns_func( self, ( fp_t )tptp_s_get_data,           "bcore_fp_get",   "get_data" );
    bcore_self_s_push_ns_func( self, ( fp_t )tptp_s_set_data,           "bcore_fp_set",   "set_data" );
    return self;
}

// Assembly:
pushq %rbx
leaq 0x741c0(%rip), %rdi     # 0x145cf5
movl $0x28, %esi
movl $0x8, %edx
callq 0xc447e
movq %rax, %rbx
leaq -0x7f72(%rip), %rsi     # 0xc9bdc
leaq 0x70ee0(%rip), %rdx     # 0x142a35
leaq 0x70ee2(%rip), %rcx     # 0x142a3e
movq %rax, %rdi
callq 0xc34ab
leaq -0x7f72(%rip), %rsi     # 0xc9bf9
leaq 0x70ed1(%rip), %rdx     # 0x142a43
leaq 0x65651(%rip), %rcx     # 0x1371ca
movq %rbx, %rdi
callq 0xc34ab
leaq -0x7f63(%rip), %rsi     # 0xc9c25
leaq 0x70ec2(%rip), %rdx     # 0x142a51
leaq 0x6c7c5(%rip), %rcx     # 0x13e35b
movq %rbx, %rdi
callq 0xc34ab
leaq 0xb97(%rip), %rsi       # 0xd273c
leaq 0x71feb(%rip), %rdx     # 0x143b97
leaq 0x681e3(%rip), %rcx     # 0x139d96
movq %rbx, %rdi
callq 0xc34ab
leaq 0xd0d(%rip), %rsi       # 0xd28cf
leaq 0x71fc1(%rip), %rdx     # 0x143b8a
leaq 0x73db7(%rip), %rcx     # 0x145987
movq %rbx, %rdi
callq 0xc34ab
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: hmap_tpvd_s_create_self
static bcore_self_s* hmap_tpvd_s_create_self( void )
{
    sc_t def = "\
        bcore_hmap_tpvd_s = bcore_inst \
            { \
                aware_t _; \
                private vd_t* nodes; \
                private bl_t* flags; \
                private uz_t size; \
                private uz_t depth_limit; \
            }";
    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( def, bcore_hmap_tpvd_s );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpvd_s_init,    "bcore_fp_init",  "init"     );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpvd_s_down,    "bcore_fp_down",  "down"     );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpvd_s_copy,    "bcore_fp_copy",  "copy"     );
    return self;
}

// Assembly:
pushq %rbx
leaq 0x74267(%rip), %rdi     # 0x145e4c
movl $0x28, %esi
movl $0x8, %edx
callq 0xc447e
movq %rax, %rbx
leaq -0x7891(%rip), %rsi     # 0xca36d
leaq 0x70e30(%rip), %rdx     # 0x142a35
leaq 0x70e32(%rip), %rcx     # 0x142a3e
movq %rax, %rdi
callq 0xc34ab
leaq -0x7891(%rip), %rsi     # 0xca38a
leaq 0x70e21(%rip), %rdx     # 0x142a43
leaq 0x655a1(%rip), %rcx     # 0x1371ca
movq %rbx, %rdi
callq 0xc34ab
leaq -0x7882(%rip), %rsi     # 0xca3b6
leaq 0x70e12(%rip), %rdx     # 0x142a51
leaq 0x6c715(%rip), %rcx     # 0x13e35b
movq %rbx, %rdi
callq 0xc34ab
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: hmap_tpto_s_create_self
static bcore_self_s* hmap_tpto_s_create_self( void )
{
    sc_t def = "\
        bcore_hmap_tpto_s = bcore_inst \
            { \
                aware_t _; \
                private tp_t type; \
                private vd_t* nodes; \
                private bl_t* flags; \
                private uz_t size; \
                private uz_t depth_limit; \
                shell { tp_t type; { tp_t key; sr_s obj; } []; } data; } \
            }";
    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( def, bcore_hmap_tpto_s );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpto_s_init,    "bcore_fp_init",  "init"     );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpto_s_down,    "bcore_fp_down",  "down"     );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpto_s_copy,    "bcore_fp_copy",  "copy"     );
    bcore_self_s_push_ns_func( self, ( fp_t )tpto_s_get_data,           "bcore_fp_get",   "get_data" );
    bcore_self_s_push_ns_func( self, ( fp_t )tpto_s_set_data,           "bcore_fp_set",   "set_data" );
    return self;
}

// Assembly:
pushq %rbx
leaq 0x742e6(%rip), %rdi     # 0x145f41
movl $0x30, %esi
movl $0x8, %edx
callq 0xc447e
movq %rax, %rbx
leaq -0x6c7a(%rip), %rsi     # 0xcaffa
leaq 0x70dba(%rip), %rdx     # 0x142a35
leaq 0x70dbc(%rip), %rcx     # 0x142a3e
movq %rax, %rdi
callq 0xc34ab
leaq -0x6c7a(%rip), %rsi     # 0xcb017
leaq 0x70dab(%rip), %rdx     # 0x142a43
leaq 0x6552b(%rip), %rcx     # 0x1371ca
movq %rbx, %rdi
callq 0xc34ab
leaq -0x6b70(%rip), %rsi     # 0xcb13e
leaq 0x70d9c(%rip), %rdx     # 0x142a51
leaq 0x6c69f(%rip), %rcx     # 0x13e35b
movq %rbx, %rdi
callq 0xc34ab
leaq 0xd64(%rip), %rsi       # 0xd2a2f
leaq 0x71ec5(%rip), %rdx     # 0x143b97
leaq 0x680bd(%rip), %rcx     # 0x139d96
movq %rbx, %rdi
callq 0xc34ab
leaq 0x10b0(%rip), %rsi      # 0xd2d98
leaq 0x71e9b(%rip), %rdx     # 0x143b8a
leaq 0x73c91(%rip), %rcx     # 0x145987
movq %rbx, %rdi
callq 0xc34ab
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: hmap_tpaw_s_create_self
static bcore_self_s* hmap_tpaw_s_create_self( void )
{
    sc_t def = "\
        bcore_hmap_tpaw_s = bcore_inst \
            { \
                aware_t _; \
                private vd_t* nodes; \
                private bl_t* flags; \
                private uz_t size; \
                private uz_t depth_limit; \
                shell { { tp_t key; aware => obj; } []; } data; } \
            }";
    bcore_self_s* self = BCORE_SELF_S_BUILD_PARSE_SC( def, bcore_hmap_tpaw_s );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpaw_s_init,    "bcore_fp_init",  "init"     );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpaw_s_down,    "bcore_fp_down",  "down"     );
    bcore_self_s_push_ns_func( self, ( fp_t )bcore_hmap_tpaw_s_copy,    "bcore_fp_copy",  "copy"     );
    bcore_self_s_push_ns_func( self, ( fp_t )tpaw_s_get_data,           "bcore_fp_get",   "get_data" );
    bcore_self_s_push_ns_func( self, ( fp_t )tpaw_s_set_data,           "bcore_fp_set",   "set_data" );
    return self;
}

// Assembly:
pushq %rbx
leaq 0x743c6(%rip), %rdi     # 0x1460d1
movl $0x28, %esi
movl $0x8, %edx
callq 0xc447e
movq %rax, %rbx
leaq -0x5f38(%rip), %rsi     # 0xcbdec
leaq 0x70d0a(%rip), %rdx     # 0x142a35
leaq 0x70d0c(%rip), %rcx     # 0x142a3e
movq %rax, %rdi
callq 0xc34ab
leaq -0x5f38(%rip), %rsi     # 0xcbe09
leaq 0x70cfb(%rip), %rdx     # 0x142a43
leaq 0x6547b(%rip), %rcx     # 0x1371ca
movq %rbx, %rdi
callq 0xc34ab
leaq -0x5e28(%rip), %rsi     # 0xcbf36
leaq 0x70cec(%rip), %rdx     # 0x142a51
leaq 0x6c5ef(%rip), %rcx     # 0x13e35b
movq %rbx, %rdi
callq 0xc34ab
leaq 0x12b1(%rip), %rsi      # 0xd302c
leaq 0x71e15(%rip), %rdx     # 0x143b97
leaq 0x6800d(%rip), %rcx     # 0x139d96
movq %rbx, %rdi
callq 0xc34ab
leaq 0x143c(%rip), %rsi      # 0xd31d4
leaq 0x71deb(%rip), %rdx     # 0x143b8a
leaq 0x73be1(%rip), %rcx     # 0x145987
movq %rbx, %rdi
callq 0xc34ab
movq %rbx, %rax
popq %rbx
retq