// File: /workspace/github_c_makefile_star2_O1/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 0xd689f
movq 0x8(%r12), %r14
movq 0x8(%r14), %rbx
cmpq %r15, %rbx
je 0xdd037
leaq 0xcbe6c(%rip), %rax     # 0x1a8e20
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 0xdd00e
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0xdd00e
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0xdd00e
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0xdd1aa
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xdd037
movq %r15, %rdi
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0xcbdf4(%rip), %rdi     # 0x1a8e20
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
movq (%r12), %rsi
movq %r14, %rdi
callq 0xf837b
movq %rax, %r15
testb $0x2, 0x10(%r12)
jne 0xdd148
movq %r12, %rdi
callq 0xfae68
testq %r15, %r15
je 0xdd17b
movq %rax, %r12
addq $0x8, %r12
movq %r13, 0x20(%rsp)
movq -0x8(%r12), %rbp
movq (%r12), %rbx
testq %rbx, %rbx
je 0xdd127
movq (%rbx), %r14
leaq 0xcc3dd(%rip), %rdx     # 0x1a9468
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 0xdd0e0
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0xdd0e0
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0xdd0e0
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0xdd143
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0xdd110
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r14, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0xcc363(%rip), %rdi     # 0x1a9468
movq %r14, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r13, %rdi
movq %rbx, %rsi
callq *0xc0(%r13)
movq %rax, %rdx
movq 0x20(%rsp), %r13
jmp 0xdd129
xorl %edx, %edx
movq %r13, %rdi
movq %rbp, %rsi
callq 0xd64d1
addq $0x10, %r12
decq %r15
jne 0xdd06f
jmp 0xdd17b
xorl %r13d, %r13d
jmp 0xdd0e4
movq %r12, %rdi
callq 0xfae8b
testq %r15, %r15
je 0xdd17b
movq %rax, %rbx
addq $0x8, %rbx
movq -0x8(%rbx), %rsi
movq (%rbx), %rdx
movq %r13, %rdi
callq 0xd64d1
movq $0x0, (%rbx)
addq $0x10, %rbx
decq %r15
jne 0xdd15c
leaq 0x60(%rsp), %rcx
testb $0x2, 0x10(%rcx)
je 0xdd19b
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rsp)
movups (%rcx), %xmm0
movups %xmm0, (%rsp)
callq 0x112485
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r14d, %r14d
jmp 0xdd012