// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: tpto_s_get_data
static sr_s tpto_s_get_data( const bcore_hmap_tpto_s* o )
{
    tp_t t_data = bcore_flect_type_parse_sc( "{ tp_t type; { tp_t key; sr_s obj; } [] arr; }" );
    sr_s data = sr_create( t_data );
    bcore_via_r_nset( &data, typeof( "type" ), sr_twc( TYPEOF_tp_t, &o->type ) );
    struct { tp_t key; sr_s obj; } node;
    const bcore_inst_s* inst_p = o->type ? bcore_inst_s_get_typed( o->type ) : NULL;
    tp_t t_node = bcore_array_r_get_static_type( &data );

    for( uz_t i = 0; i < o->size; i++ )
    {
        if( o->nodes[ i ].key )
        {
            node.key = o->nodes[ i ].key;
            node.obj = sr_pwc( inst_p, o->nodes[ i ].val );
            bcore_array_r_push( &data, sr_twc( t_node, &node ) );
        }
    }

    return data;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %r12
leaq 0x748ba(%rip), %rdi     # 0x15107c
callq 0xcf594
movq %rax, %r15
movq %rax, %rdi
callq 0x112326
movq %rax, (%r12)
testq %r15, %r15
je 0xdc7e5
movq %r15, %rdi
callq 0x1123e1
jmp 0xdc7e7
xorl %eax, %eax
movabsq $0x541d0401d4dcff33, %r15 # imm = 0x541D0401D4DCFF33
movq %rax, 0x8(%r12)
movq $0x2, 0x10(%r12)
leaq 0x8(%r14), %rbx
movabsq $0x6d07f9ef5b68e8a2, %rdi # imm = 0x6D07F9EF5B68E8A2
callq 0x1123e1
movq %rbx, 0x28(%rsp)
movq %rax, 0x30(%rsp)
movq $0x1, 0x38(%rsp)
movq %r12, 0x20(%rsp)
movq 0x8(%r12), %r13
movq 0x8(%r13), %r12
cmpq %r15, %r12
je 0xdc8c6
leaq 0xcd8b5(%rip), %rax     # 0x1aa0f8
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 0xdc89d
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0xdc89d
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0xdc89d
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0xdcb18
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0xdc8c6
movq %r15, %rdi
movq %r12, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0xcd83d(%rip), %rdi     # 0x1aa0f8
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
movq 0x20(%rsp), %rax
movq (%rax), %rsi
movq 0x38(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x28(%rsp), %xmm0
movups %xmm0, (%rsp)
movabsq $-0x586bc610840563d3, %rdx # imm = 0xA79439EF7BFA9C2D
movq %r13, %rdi
callq 0x10d85d
movq (%rbx), %r12
testq %r12, %r12
je 0xdc997
leaq 0xccb62(%rip), %rax     # 0x1a9468
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 0xdc960
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0xdc960
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0xdc960
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0xdcb11
movq (%rax,%rcx), %rbp
movq 0x20(%rsp), %r13
testq %rbp, %rbp
jne 0xdc99e
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r12, %rsi
callq 0xf3f85
movq %rax, %rbp
leaq 0xccade(%rip), %rdi     # 0x1a9468
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
jmp 0xdc99e
xorl %ebp, %ebp
movq 0x20(%rsp), %r13
movq %r13, %rdi
callq 0xfadf6
cmpq $0x0, 0x20(%r14)
je 0xdcaff
movq %rax, %r12
movl $0x8, %r15d
xorl %ebx, %ebx
movq %rbp, 0x48(%rsp)
movq 0x10(%r14), %rax
movq -0x8(%rax,%r15), %rcx
testq %rcx, %rcx
je 0xdcae8
movq %rcx, 0x28(%rsp)
movq (%rax,%r15), %rax
movq %rax, 0x30(%rsp)
movq %rbp, 0x38(%rsp)
movq $0x1, 0x40(%rsp)
testq %r12, %r12
je 0xdc9fe
movq %r12, %rdi
callq 0x1123e1
jmp 0xdca00
xorl %eax, %eax
leaq 0x28(%rsp), %rcx
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
movq $0x1, 0x60(%rsp)
movq 0x8(%r13), %rbp
movq 0x8(%rbp), %r13
movabsq $-0x5073d588c3beb52e, %rax # imm = 0xAF8C2A773C414AD2
cmpq %rax, %r13
je 0xdcabf
leaq 0xcc3e6(%rip), %rdx     # 0x1a8e20
movl (%rdx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %r13, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0xdca8f
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0xdca8f
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0xdca8f
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0xdcafb
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0xdcabf
movabsq $-0x5073d588c3beb52e, %rdi # imm = 0xAF8C2A773C414AD2
movq %r13, %rsi
callq 0xf3f85
movq %rax, %rbp
leaq 0xcc36c(%rip), %rdi     # 0x1a8e20
movq %r13, %rsi
movq %rax, %rdx
callq 0x12128c
movq 0x20(%rsp), %r13
movq (%r13), %rsi
movq 0x60(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x50(%rsp), %xmm0
movups %xmm0, (%rsp)
movq %rbp, %rdi
callq 0xf7857
movq 0x48(%rsp), %rbp
incq %rbx
addq $0x10, %r15
cmpq 0x20(%r14), %rbx
jb 0xdc9c1
jmp 0xdcaff
xorl %ebp, %ebp
jmp 0xdca93
movq %r13, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %ebp, %ebp
jmp 0xdc964
xorl %r13d, %r13d
jmp 0xdc8a1