// File: /workspace/github_c_makefile_star2_O3/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, %rbx
leaq 0x73658(%rip), %rdi     # 0x1460a2
callq 0xc5415
movq %rax, %r15
movq %rax, %rdi
callq 0x10743a
movq %rbx, 0x20(%rsp)
movq %rax, (%rbx)
testq %r15, %r15
je 0xd2a74
movq %r15, %rdi
callq 0x1074f1
movq %rax, %r13
jmp 0xd2a77
xorl %r13d, %r13d
movabsq $0x541d0401d4dcff33, %r15 # imm = 0x541D0401D4DCFF33
movq 0x20(%rsp), %rax
movq %r13, 0x8(%rax)
movq $0x2, 0x10(%rax)
leaq 0x8(%r14), %rbx
movabsq $0x6d07f9ef5b68e8a2, %rdi # imm = 0x6D07F9EF5B68E8A2
callq 0x1074f1
movq %rbx, 0x30(%rsp)
movq %rax, 0x38(%rsp)
movq $0x1, 0x40(%rsp)
movq 0x8(%r13), %r12
cmpq %r15, %r12
je 0xd2b4b
leaq 0xca62c(%rip), %rax     # 0x19d0f8
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 0xd2b22
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0xd2b22
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0xd2b22
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0xd2b2b
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0xd2b4b
movq %r15, %rdi
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0xca5b8(%rip), %rdi     # 0x19d0f8
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x20(%rsp), %rax
movq (%rax), %rsi
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
movabsq $-0x586bc610840563d3, %rdx # imm = 0xA79439EF7BFA9C2D
movq %r13, %rdi
callq 0x102c00
movq (%rbx), %r12
testq %r12, %r12
je 0xd2c1a
leaq 0xc98dd(%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 0xd2be1
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0xd2be1
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0xd2be1
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0xd2bef
movq (%rax,%rcx), %rcx
movq %rcx, 0x28(%rsp)
testq %rcx, %rcx
jne 0xd2c23
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r12, %rsi
callq 0xe9bc5
leaq 0xc9860(%rip), %rdi     # 0x19c468
movq %r12, %rsi
movq %rax, 0x28(%rsp)
movq %rax, %rdx
callq 0x115fac
jmp 0xd2c23
movq $0x0, 0x28(%rsp)
movq 0x20(%rsp), %rdi
callq 0xf0872
movq %rax, %r12
movq 0x20(%r14), %rax
testq %rax, %rax
je 0xd2d84
movl $0x8, %r15d
xorl %ebx, %ebx
movq 0x10(%r14), %rcx
movq -0x8(%rcx,%r15), %rdx
testq %rdx, %rdx
je 0xd2d74
movq %rdx, 0x30(%rsp)
movq (%rcx,%r15), %rax
movq %rax, 0x38(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x40(%rsp)
movq $0x1, 0x48(%rsp)
testq %r12, %r12
je 0xd2c87
movq %r12, %rdi
callq 0x1074f1
jmp 0xd2c89
xorl %eax, %eax
leaq 0x30(%rsp), %rcx
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
movq $0x1, 0x60(%rsp)
movq 0x20(%rsp), %rax
movq 0x8(%rax), %rbp
movq 0x8(%rbp), %r13
movabsq $-0x5073d588c3beb52e, %rax # imm = 0xAF8C2A773C414AD2
cmpq %rax, %r13
je 0xd2d4d
leaq 0xc9158(%rip), %rdx     # 0x19be20
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 0xd2d1d
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0xd2d1d
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0xd2d1d
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0xd2d26
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0xd2d4d
movabsq $-0x5073d588c3beb52e, %rdi # imm = 0xAF8C2A773C414AD2
movq %r13, %rsi
callq 0xe9bc5
movq %rax, %rbp
leaq 0xc90de(%rip), %rdi     # 0x19be20
movq %r13, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x20(%rsp), %rax
movq (%rax), %rsi
movq 0x60(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x50(%rsp), %xmm0
movups %xmm0, (%rsp)
movq %rbp, %rdi
callq 0xed355
movq 0x20(%r14), %rax
incq %rbx
addq $0x10, %r15
cmpq %rax, %rbx
jb 0xd2c45
movq 0x20(%rsp), %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq