// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: tpaw_s_set_data
static void tpaw_s_set_data( bcore_hmap_tpaw_s* o, sr_s data )
{
    bcore_hmap_tpaw_s_clear( o );
    assert( sr_s_type( &data ) == bcore_flect_type_parse_sc( "{ { tp_t key; aware => obj; } [] arr; }" ) );

    uz_t size = bcore_array_r_get_size( &data );
    if( sr_s_is_strong( &data ) )
    {
        struct { tp_t key; vd_t obj; }* src = bcore_array_r_get_d_data( &data );
        for( uz_t i = 0; i < size; i++ )
        {
            bcore_hmap_tpaw_s_set_d( o, src[ i ].key, src[ i ].obj );
            src[ i ].obj = NULL;
        }
    }
    else
    {
        const struct { tp_t key; vd_t obj; }* src = bcore_array_r_get_c_data( &data );
        for( uz_t i = 0; i < size; i++ )
        {
            bcore_hmap_tpaw_s_set_d( o, src[ i ].key, bcore_inst_a_clone( src[ i ].obj ) );
        }
    }
    sr_down( data );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %r13
leaq 0x60(%rsp), %r12
movabsq $-0x5073d588c3beb52e, %r15 # imm = 0xAF8C2A773C414AD2
callq 0xcc9b9
movq 0x8(%r12), %r14
movq 0x8(%r14), %rbx
cmpq %r15, %rbx
je 0xd3291
leaq 0xc8c0e(%rip), %rax     # 0x19be20
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %rbx, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0xd3268
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0xd3268
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0xd3268
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0xd3271
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xd3291
movq %r15, %rdi
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0xc8b9a(%rip), %rdi     # 0x19be20
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq (%r12), %rsi
movq %r14, %rdi
callq 0xede4d
movq %rax, %r15
testb $0x2, 0x10(%r12)
jne 0xd339d
movq %r12, %rdi
callq 0xf08ff
testq %r15, %r15
je 0xd33d0
movq %rax, %r12
addq $0x8, %r12
movq %r13, 0x20(%rsp)
movq -0x8(%r12), %rbp
movq (%r12), %rbx
testq %rbx, %rbx
je 0xd3381
movq (%rbx), %r14
leaq 0xc9183(%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 %r14, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0xd333a
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0xd333a
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0xd333a
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0xd3343
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0xd336a
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0xc9109(%rip), %rdi     # 0x19c468
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r13, %rdi
movq %rbx, %rsi
callq *0xc0(%r13)
movq %rax, %rdx
movq 0x20(%rsp), %r13
jmp 0xd3383
xorl %edx, %edx
movq %r13, %rdi
movq %rbp, %rsi
callq 0xcc584
addq $0x10, %r12
decq %r15
jne 0xd32c9
jmp 0xd33d0
movq %r12, %rdi
callq 0xf0922
testq %r15, %r15
je 0xd33d0
movq %rax, %rbx
addq $0x8, %rbx
movq -0x8(%rbx), %rsi
movq (%rbx), %rdx
movq %r13, %rdi
callq 0xcc584
movq $0x0, (%rbx)
addq $0x10, %rbx
decq %r15
jne 0xd33b1
leaq 0x60(%rsp), %rcx
testb $0x2, 0x10(%rcx)
je 0xd33f0
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rsp)
movups (%rcx), %xmm0
movups %xmm0, (%rsp)
callq 0x107590
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq