// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_hmap.c
// Function: bcore_hmap_u3vd_s_copy
void bcore_hmap_u3vd_s_copy( bcore_hmap_u3vd_s* o, const bcore_hmap_u3vd_s* src )
{
    for( uz_t i = 0; i < o->size; i++ ) bcore_hnode_u3vd_s_down( &o->data[ i ] );
    if( src->size > o->space )
    {
        o->data = bcore_un_alloc( sizeof( bcore_hnode_u3vd_s ), o->data, o->space,  0, &o->space );
        o->data = bcore_un_alloc( sizeof( bcore_hnode_u3vd_s ), o->data, 0, src->size, &o->space );
    }
    o->size = src->size;
    for( uz_t i = 0; i < o->size; i++ )
    {
        bcore_hnode_u3vd_s_init( &o->data[ i ] );
        bcore_hnode_u3vd_s_copy( &o->data[ i ], &src->data[ i ] );
    }
    o->depth_limit = src->depth_limit;
    o->h1          = src->h1;
    o->h2          = src->h2;
    o->h3          = src->h3;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, (%rsp)
movq %rdi, %rbp
cmpq $0x0, 0x10(%rdi)
je 0xc7393
xorl %ebx, %ebx
xorl %r14d, %r14d
movq 0x8(%rbp), %rdi
addq %rbx, %rdi
callq 0xc7293
incq %r14
addq $0x18, %rbx
cmpq 0x10(%rbp), %r14
jb 0xc737a
movq (%rsp), %rax
movq 0x10(%rax), %rax
movq 0x18(%rbp), %rdx
cmpq %rdx, %rax
jbe 0xc73e1
leaq 0x18(%rbp), %r15
movq 0x8(%rbp), %rsi
movl $0x18, %edi
xorl %ecx, %ecx
movq %r15, %r8
callq 0xbe7da
movq %rax, 0x8(%rbp)
movq (%rsp), %rbx
movq 0x10(%rbx), %rcx
movl $0x18, %edi
movq %rax, %rsi
xorl %edx, %edx
movq %r15, %r8
callq 0xbe7da
movq %rax, 0x8(%rbp)
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rbp)
testq %rax, %rax
je 0xc75c4
xorl %r14d, %r14d
xorl %r12d, %r12d
movq %rbp, 0x8(%rsp)
movq 0x8(%rbp), %rdi
addq %r14, %rdi
movl $0x18, %esi
callq 0xbe802
movq 0x8(%rbp), %r13
movq (%rsp), %rax
movq 0x8(%rax), %rbx
cmpb $0x1, 0x9(%r13,%r14)
jne 0xc74e1
movq 0x10(%r13,%r14), %rsi
testq %rsi, %rsi
je 0xc74e1
movq (%rsi), %rbp
leaq 0xd502e(%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 0xc748f
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0xc748f
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0xc748f
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0xc7498
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0xc74c9
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %rsi, 0x10(%rsp)
movq %rbp, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0xd4faf(%rip), %rdi     # 0x19c468
movq %rbp, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x10(%rsp), %rsi
movq %r15, %rdi
callq *0xb8(%r15)
movq $0x0, 0x10(%r13,%r14)
movq 0x8(%rsp), %rbp
leaq (%r14,%r13), %rdi
leaq (%rbx,%r14), %rsi
movl $0x18, %edx
callq 0xbe87d
cmpb $0x1, 0x9(%rbx,%r14)
jne 0xc75b3
movq 0x10(%rbx,%r14), %rbx
testq %rbx, %rbx
je 0xc75b3
movq (%rbx), %rbp
leaq 0xd4f51(%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 0xc756c
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0xc756c
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0xc756c
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0xc7575
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0xc759c
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %rbp, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0xd4ed7(%rip), %rdi     # 0x19c468
movq %rbp, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r15, %rdi
movq %rbx, %rsi
callq *0xc0(%r15)
movq %rax, 0x10(%r13,%r14)
movq 0x8(%rsp), %rbp
incq %r12
addq $0x18, %r14
cmpq 0x10(%rbp), %r12
jb 0xc73f9
movq (%rsp), %rcx
movq 0x20(%rcx), %rax
movq %rax, 0x20(%rbp)
movups 0x28(%rcx), %xmm0
movups %xmm0, 0x28(%rbp)
movq 0x38(%rcx), %rax
movq %rax, 0x38(%rbp)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq