// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_spect_inst.c
// Function: copy_generic
static void copy_generic( const bcore_inst_s* p, vd_t dst, vc_t src )
{
    if( dst == src ) return;
    #ifdef RTCHECKS
        if( !dst ) ERR( "dst == NULL" );
        if( !src ) ERR( "src == NULL" );
        if( p->aware )
        {
            verify_aware_type( p->header.o_type, dst, __func__ );
            verify_aware_type( p->header.o_type, src, __func__ );
        }
    #endif // RTCHECKS
    for( uz_t i = 0; i < p->body->size; i++ )
    {
        const bcore_inst_item_s* inst_item = &p->body->data[ i ];
        if( inst_item->no_trace ) continue;

        const bcore_self_item_s* self_item = inst_item->self_item;
        void* dst_obj = ( u0_t* )dst + inst_item->offset;
        void* src_obj = ( u0_t* )src + inst_item->offset;

        switch( self_item->caps )
        {
            case BCORE_CAPS_SOLID_STATIC:
            {
                const bcore_inst_s* inst_p = inst_item->inst_p;
                inst_p->copy( inst_p, dst_obj, src_obj );
            }
            break;

            case BCORE_CAPS_LINK_STATIC:
            {
                bcore_link_static_s* dst = dst_obj;
                bcore_link_static_s* src = src_obj;
                if( dst->link )
                {
                    bcore_inst_p_discard( inst_item->inst_p, dst->link );
                }
                if( src->link )
                {
                    if( self_item->flags.f_deep_copy )
                    {
                        dst->link = bcore_inst_p_clone( inst_item->inst_p, src->link );
                    }
                    else
                    {
                        dst->link = bcore_fork( src->link );
                    }
                }
                else
                {
                    dst->link = NULL;
                }
            }
            break;

            case BCORE_CAPS_LINK_TYPED:
            {
                bcore_link_typed_s* dst = dst_obj;
                bcore_link_typed_s* src = src_obj;
                if( dst->link ) bcore_inst_t_discard( dst->type, dst->link );
                if( src->link )
                {
                    if( self_item->flags.f_deep_copy )
                    {
                        dst->link = bcore_inst_t_clone( src->type, src->link );
                    }
                    else
                    {
                        dst->link = bcore_fork( src->link );
                    }
                }
                else
                {
                    dst->link = NULL;
                }
                dst->type = src->type;
            }
            break;

            case BCORE_CAPS_LINK_AWARE:
            {
                bcore_link_aware_s* dst = dst_obj;
                bcore_link_aware_s* src = src_obj;
                if( dst->link ) bcore_inst_a_discard( dst->link );
                if( src->link )
                {
                    if( self_item->flags.f_deep_copy )
                    {
                        dst->link = bcore_inst_a_clone( src->link );
                    }
                    else
                    {
                        dst->link = bcore_fork( src->link );
                    }
                }
                else
                {
                    dst->link = NULL;
                }
            }
            break;

            case BCORE_CAPS_POINTER:
            {
                vd_t* dst = dst_obj;
                vd_t* src = src_obj;
                *dst = *src;
            }
            break;

            case BCORE_CAPS_ARRAY_DYN_SOLID_STATIC:
            {
                bcore_array_dyn_solid_static_s* dst = dst_obj;
                bcore_array_dyn_solid_static_s* src = src_obj;
                const bcore_inst_s* inst_p = inst_item->inst_p;
                if( inst_p->copy_flat )
                {
                    if( src->size > dst->space )
                    {
                        dst->data = bcore_un_alloc( inst_p->size, dst->data, dst->space, 0,         &dst->space );
                        dst->data = bcore_un_alloc( inst_p->size, dst->data, dst->space, src->size, &dst->space );
                    }
                    bcore_memcpy( dst->data, src->data, inst_p->size * src->size );
                    dst->size = src->size;
                }
                else
                {
                    if( dst->space > 0 ) // dst->space == 0 means array references external data
                    {
                        if( !inst_p->down_flat )
                        {
                            bcore_release_arg_arr( ( fp_t )inst_p->down, inst_p, dst->data, dst->size, inst_p->size );
                        }
                        else
                        {
                            bcore_free( dst->data );
                        }
                        dst->data = NULL;
                        dst->size = 0;
                        dst->space = 0;
                    }
                    dst->data = bcore_un_alloc( inst_p->size, dst->data, dst->space, src->size, &dst->space );
                    for( uz_t i = 0; i < src->size; i++ )
                    {
                        vd_t dst_obj = ( u0_t* )dst->data + i * inst_p->size;
                        vd_t src_obj = ( u0_t* )src->data + i * inst_p->size;
                        inst_p->init( inst_p, dst_obj );
                        inst_p->copy( inst_p, dst_obj, src_obj );
                    }
                    dst->size = src->size;
                }
            }
            break;

            case BCORE_CAPS_ARRAY_DYN_SOLID_TYPED:
            {
                bcore_array_dyn_solid_typed_s* dst = dst_obj;
                bcore_array_dyn_solid_typed_s* src = src_obj;

                if( dst->space > 0 ) // deplete dst
                {
                    const bcore_inst_s* inst_p = bcore_inst_s_get_typed( dst->type );
                    if( !inst_p->down_flat )
                    {
                        bcore_release_arg_arr( ( fp_t )inst_p->down, inst_p, dst->data, dst->size, inst_p->size );
                    }
                    else
                    {
                        bcore_free( dst->data );
                    }
                }
                dst->data = NULL;
                dst->size = 0;
                dst->space = 0;
                dst->type = src->type;
                if( src->size > 0 ) // fill dst with new data
                {
                    const bcore_inst_s* inst_p = bcore_inst_s_get_typed( src->type );
                    dst->data = bcore_un_alloc( inst_p->size, dst->data, dst->space, src->size, &dst->space );
                    if( inst_p->copy_flat )
                    {
                        bcore_memcpy( dst->data, src->data, inst_p->size * src->size );
                    }
                    else
                    {
                        for( uz_t i = 0; i < src->size; i++ )
                        {
                            vd_t dst_obj = ( u0_t* )dst->data + i * inst_p->size;
                            vc_t src_obj = ( u0_t* )src->data + i * inst_p->size;
                            inst_p->init( inst_p, dst_obj );
                            inst_p->copy( inst_p, dst_obj, src_obj );
                        }
                    }
                    dst->size = src->size;
                }
            }
            break;

            case BCORE_CAPS_ARRAY_DYN_LINK_STATIC:
            {
                bcore_array_dyn_link_static_s* dst = dst_obj;
                bcore_array_dyn_link_static_s* src = src_obj;
                const bcore_inst_s* inst_p = inst_item->inst_p;
                if( dst->space > 0 ) // dst->space == 0 means array references external data
                {
                    for( uz_t i = 0; i < dst->size; i++ ) inst_p->discard( inst_p, dst->data[ i ] );
                }
                if( src->size > dst->space )
                {
                    dst->data = bcore_un_alloc( sizeof( vd_t ), dst->data, dst->space, 0,         &dst->space );
                    dst->data = bcore_un_alloc( sizeof( vd_t ), dst->data, dst->space, src->size, &dst->space );
                }
                if( self_item->flags.f_deep_copy )
                {
                    for( uz_t i = 0; i < src->size; i++ ) dst->data[ i ] = inst_p->clone( inst_p, src->data[ i ] );
                }
                else
                {
                    for( uz_t i = 0; i < src->size; i++ ) dst->data[ i ] = bcore_fork( src->data[ i ] );
                }

                dst->size = src->size;
            }
            break;

            case BCORE_CAPS_ARRAY_DYN_LINK_TYPED:
            {
                bcore_array_dyn_link_typed_s* dst = dst_obj;
                bcore_array_dyn_link_typed_s* src = src_obj;
                if( dst->space > 0 ) // dst->space == 0 means array references external data
                {
                    const bcore_inst_s* inst_p = bcore_inst_s_get_typed( dst->type );
                    for( uz_t i = 0; i < dst->size; i++ ) bcore_inst_p_discard( inst_p, dst->data[ i ] );
                }
                if( src->size > 0 )
                {
                    const bcore_inst_s* inst_p = bcore_inst_s_get_typed( src->type );
                    if( src->size > dst->space )
                    {
                        dst->data = bcore_un_alloc( sizeof( vd_t ), dst->data, dst->space, 0,         &dst->space );
                        dst->data = bcore_un_alloc( sizeof( vd_t ), dst->data, dst->space, src->size, &dst->space );
                    }
                    if( self_item->flags.f_deep_copy )
                    {
                        for( uz_t i = 0; i < src->size; i++ ) dst->data[ i ] = bcore_inst_p_clone( inst_p, src->data[ i ] );
                    }
                    else
                    {
                        for( uz_t i = 0; i < src->size; i++ ) dst->data[ i ] = bcore_fork( src->data[ i ] );
                    }
                }
                dst->size = src->size;
                dst->type = src->type;
            }
            break;

            case BCORE_CAPS_ARRAY_DYN_LINK_AWARE:
            {
                bcore_array_dyn_link_aware_s* dst = dst_obj;
                bcore_array_dyn_link_aware_s* src = src_obj;
                if( dst->space > 0 )  // dst->space == 0 means array references external data
                {
                    for( uz_t i = 0; i < dst->size; i++ ) bcore_inst_a_discard( dst->data[ i ] );
                }
                if( src->size > 0 )
                {
                    if( src->size > dst->space )
                    {
                        dst->data = bcore_un_alloc( sizeof( vd_t ), dst->data, dst->space, 0,         &dst->space );
                        dst->data = bcore_un_alloc( sizeof( vd_t ), dst->data, dst->space, src->size, &dst->space );
                    }
                    if( self_item->flags.f_deep_copy )
                    {
                        for( uz_t i = 0; i < src->size; i++ )
                        {
                            dst->data[ i ] = bcore_inst_a_clone( src->data[ i ] );
                        }
                    }
                    else
                    {
                        for( uz_t i = 0; i < src->size; i++ )
                        {
                            dst->data[ i ] = bcore_fork( src->data[ i ] );
                        }
                    }
                }
                dst->size = src->size;
            }
            break;

            case BCORE_CAPS_ARRAY_FIX_SOLID_STATIC:
            {
                const bcore_inst_s* inst_p = inst_item->inst_p;
                uz_t arr_size = bcore_inst_item_s_array_fix_size( inst_item );
                uz_t element_size = inst_p->size;

                if( inst_p->copy_flat )
                {
                    bcore_memcpy( dst_obj, src_obj, element_size * arr_size );
                }
                else
                {
                    for( uz_t i = 0; i < arr_size; i++ )
                    {
                        vd_t dst = ( u0_t* )dst_obj + element_size * i;
                        vc_t src = ( u0_t* )src_obj + element_size * i;
                        bcore_inst_p_copy( inst_p, dst, src );
                    }
                }
            }
            break;

            case BCORE_CAPS_ARRAY_FIX_LINK_STATIC:
            {
                const bcore_inst_s* inst_p = inst_item->inst_p;
                uz_t arr_size = bcore_inst_item_s_array_fix_size( inst_item );
                vd_t* dst_arr = dst_obj;
                vd_t* src_arr = src_obj;
                for( uz_t i = 0; i < arr_size; i++ )
                {
                    vd_t dst = dst_arr[ i ];
                    vd_t src = src_arr[ i ];
                    bcore_inst_p_discard( inst_p, dst );
                    if( self_item->flags.f_deep_copy )
                    {
                        dst = bcore_inst_p_clone( inst_p, src );
                    }
                    else
                    {
                        dst = bcore_fork( src );
                    }
                }
            }
            break;

            case BCORE_CAPS_ARRAY_FIX_LINK_AWARE:
            {
                uz_t arr_size = bcore_inst_item_s_array_fix_size( inst_item );
                vd_t* dst_arr = dst_obj;
                vd_t* src_arr = src_obj;
                for( uz_t i = 0; i < arr_size; i++ )
                {
                    vd_t dst = dst_arr[ i ];
                    vd_t src = src_arr[ i ];
                    bcore_inst_a_discard( dst );
                    if( self_item->flags.f_deep_copy )
                    {
                        dst = bcore_inst_a_clone( src );
                    }
                    else
                    {
                        dst = bcore_fork( src );
                    }
                }
            }
            break;

            default:
            {
                ERR_fa( "Unhandled nesting '#<sc_t>'", bcore_flect_caps_e_sc( self_item->caps ) );
            }
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, 0x18(%rsp)
movq %rdx, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
cmpq %rdx, %rsi
je 0xfc0fb
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rax
cmpq $0x0, 0x8(%rax)
je 0xfc0fb
xorl %r12d, %r12d
movq (%rax), %rbx
leaq (%r12,%r12,2), %rax
shlq $0x4, %rax
cmpb $0x0, 0x28(%rbx,%rax)
jne 0xfc0e5
addq %rax, %rbx
movq 0x18(%rbx), %rax
movq %rax, 0x10(%rsp)
movl 0x10(%rax), %edi
leal -0x1(%rdi), %eax
cmpl $0xc, %eax
ja 0xfb817
movq (%rbx), %r13
movq 0x20(%rsp), %rcx
leaq (%rcx,%r13), %r15
addq 0x28(%rsp), %r13
leaq 0x4efbc(%rip), %rcx     # 0x14a16c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
movq %r15, 0x8(%rsp)
jmpq *%rax
movq 0x20(%rbx), %rdi
movq %r15, %rsi
movq %r13, %rdx
callq *0x90(%rdi)
jmp 0xfc0e5
movq 0x10(%rsp), %rax
movq 0x18(%rax), %r15
testq %r15, %r15
je 0xfc0e5
movq %r13, %rbp
movq 0x20(%rbx), %rbx
xorl %r13d, %r13d
movq 0x8(%rsp), %rax
movq (%rax,%r13,8), %rsi
movq (%rbp,%r13,8), %r14
testq %rsi, %rsi
je 0xfb20b
movq %rbx, %rdi
callq *0xb8(%rbx)
movq 0x10(%rsp), %rax
testb $0x2, 0x15(%rax)
jne 0xfb220
movq %r14, %rdi
callq 0xbe7e4
jmp 0xfb231
testq %r14, %r14
je 0xfb231
movq %rbx, %rdi
movq %r14, %rsi
callq *0xc0(%rbx)
incq %r13
cmpq %r13, %r15
jne 0xfb1ef
jmp 0xfc0e5
movq (%r13), %rax
jmp 0xfbe88
movq %r13, 0x38(%rsp)
movq 0x10(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x30(%rsp)
testq %rax, %rax
je 0xfc0e5
xorl %r13d, %r13d
movq 0x8(%rsp), %rax
movq (%rax,%r13,8), %r14
movq 0x38(%rsp), %rax
movq (%rax,%r13,8), %rbx
testq %r14, %r14
je 0xfb329
movq %rbx, 0x40(%rsp)
movq (%r14), %r15
movl 0xa11d9(%rip), %eax     # 0x19c468
cltq
leaq (%rax,%rax,2), %rax
leaq 0xa11cc(%rip), %rdx     # 0x19c468
movq 0x20(%rdx,%rax,8), %rcx
movq %rdx, %rbx
movq 0x18(%rdx,%rax,8), %rdx
andq %r15, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0xfb2ec
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0xfb2ec
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0xfb2ec
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0xfb2f5
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0xfb318
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r15, %rsi
callq 0xe9bc5
movq %rax, %rbp
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x115fac
movq %rbp, %rdi
movq %r14, %rsi
callq *0xb8(%rbp)
movq 0x40(%rsp), %rbx
movq 0x10(%rsp), %rax
testb $0x2, 0x15(%rax)
jne 0xfb341
movq %rbx, %rdi
callq 0xbe7e4
jmp 0xfb3ea
testq %rbx, %rbx
je 0xfb3ea
movq (%rbx), %r14
movl 0xa1115(%rip), %eax     # 0x19c468
cltq
leaq (%rax,%rax,2), %rax
leaq 0xa1108(%rip), %rdx     # 0x19c468
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 0xfb3ad
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0xfb3ad
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0xfb3ad
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0xfb3b6
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0xfb3dd
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0xa1096(%rip), %rdi     # 0x19c468
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r15, %rdi
movq %rbx, %rsi
callq *0xc0(%r15)
incq %r13
cmpq %r13, 0x30(%rsp)
jne 0xfb266
jmp 0xfc0e5
movq %r13, %rbp
cmpq $0x0, 0x10(%r15)
je 0xfb4e0
movq 0x8(%r15), %rax
testq %rax, %rax
je 0xfb4e0
xorl %r13d, %r13d
movq (%r15), %rcx
movq (%rcx,%r13,8), %rbx
testq %rbx, %rbx
je 0xfb4d4
movq (%rbx), %r14
movl 0xa1034(%rip), %eax     # 0x19c468
cltq
leaq (%rax,%rax,2), %rax
leaq 0xa1027(%rip), %rdx     # 0x19c468
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 0xfb48e
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0xfb48e
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0xfb48e
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0xfb497
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0xfb4be
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0xa0fb5(%rip), %rdi     # 0x19c468
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r15, %rdi
movq %rbx, %rsi
callq *0xb8(%r15)
movq 0x8(%rsp), %r15
movq 0x8(%r15), %rax
incq %r13
cmpq %rax, %r13
jb 0xfb41b
movq 0x8(%rbp), %rax
testq %rax, %rax
je 0xfbd14
movq %rbp, %r14
leaq 0x10(%r15), %rbx
movq (%rbx), %rdx
cmpq %rdx, %rax
jbe 0xfb52c
movq (%r15), %rsi
movl $0x8, %edi
xorl %ecx, %ecx
movq %rbx, %r8
callq 0xbe7da
movq %rax, (%r15)
movq 0x10(%r15), %rdx
movq 0x8(%r14), %rcx
movl $0x8, %edi
movq %rax, %rsi
movq %rbx, %r8
callq 0xbe7da
movq %rax, (%r15)
movq 0x10(%rsp), %rax
testb $0x2, 0x15(%rax)
movq 0x8(%r14), %rcx
jne 0xfbc33
testq %rcx, %rcx
je 0xfbd14
xorl %ebx, %ebx
movq (%r14), %rax
movq (%rax,%rbx,8), %rdi
callq 0xbe7e4
movq (%r15), %rcx
movq %rax, (%rcx,%rbx,8)
incq %rbx
movq 0x8(%r14), %rcx
cmpq %rcx, %rbx
jb 0xfb54a
jmp 0xfbd16
movq (%r15), %rbx
testq %rbx, %rbx
je 0xfb620
movq 0x8(%r15), %r14
movl 0xa0ee4(%rip), %eax     # 0x19c468
cltq
leaq (%rax,%rax,2), %rax
leaq 0xa0ed7(%rip), %rdx     # 0x19c468
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 0xfb5de
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0xfb5de
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0xfb5de
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0xfb5e7
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0xfb60e
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0xa0e65(%rip), %rdi     # 0x19c468
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r15, %rdi
movq %rbx, %rsi
callq *0xb8(%r15)
movq 0x8(%rsp), %r15
movq (%r13), %rbx
testq %rbx, %rbx
je 0xfbb80
movq 0x10(%rsp), %rax
testb $0x2, 0x15(%rax)
jne 0xfbd1f
movq %rbx, %rdi
callq 0xbe7e4
jmp 0xfbdc5
movq (%r15), %rbx
testq %rbx, %rbx
je 0xfb6fa
movq (%rbx), %r14
movl 0xa0e0a(%rip), %eax     # 0x19c468
cltq
leaq (%rax,%rax,2), %rax
leaq 0xa0dfd(%rip), %rdx     # 0x19c468
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 0xfb6b8
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0xfb6b8
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0xfb6b8
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0xfb6c1
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0xfb6e8
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0xa0d8b(%rip), %rdi     # 0x19c468
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r15, %rdi
movq %rbx, %rsi
callq *0xb8(%r15)
movq 0x8(%rsp), %r15
movq (%r13), %rbx
testq %rbx, %rbx
je 0xfbb1c
movq 0x10(%rsp), %rax
testb $0x2, 0x15(%rax)
jne 0xfbdd1
movq %rbx, %rdi
jmp 0xfb7a0
movq 0x20(%rbx), %rbx
leaq 0x10(%r15), %r14
movq 0x10(%r15), %rdx
testq %rdx, %rdx
je 0xfbb87
cmpq $0x0, 0x8(%r15)
je 0xfbb89
movq %r13, %rbp
movq %r15, %r13
xorl %r15d, %r15d
movq (%r13), %rax
movq (%rax,%r15,8), %rsi
movq %rbx, %rdi
callq *0xb8(%rbx)
incq %r15
cmpq 0x8(%r13), %r15
jb 0xfb747
movq (%r14), %rdx
movq %r13, %r15
movq %rbp, %r13
jmp 0xfbb89
movq (%r15), %rsi
testq %rsi, %rsi
je 0xfb781
movq 0x20(%rbx), %rdi
callq *0xb8(%rdi)
movq (%r13), %rsi
testq %rsi, %rsi
je 0xfbb1c
movq 0x10(%rsp), %rax
testb $0x2, 0x15(%rax)
jne 0xfbe7e
movq %rsi, %rdi
callq 0xbe7e4
jmp 0xfbe88
movq 0x20(%rbx), %rbx
cmpb $0x1, 0x2b(%rbx)
jne 0xfbb28
movq 0x8(%r13), %rdx
movq (%r15), %rax
movq 0x10(%r15), %rcx
cmpq %rcx, %rdx
jbe 0xfb801
leaq 0x10(%r15), %r14
movq 0x18(%rbx), %rdi
movq %rax, %rsi
movq %rcx, %rdx
xorl %ecx, %ecx
movq %r14, %r8
callq 0xbe7da
movq %rax, (%r15)
movq 0x18(%rbx), %rdi
movq 0x10(%r15), %rdx
movq 0x8(%r13), %rcx
movq %rax, %rsi
movq %r14, %r8
callq 0xbe7da
movq %rax, (%r15)
movq 0x8(%r13), %rdx
movq (%r13), %rsi
imulq 0x18(%rbx), %rdx
movq %rax, %rdi
callq 0xbe87d
jmp 0xfbdc8
callq 0xbf808
leaq 0x4f017(%rip), %rdi     # 0x14a83a
leaq 0x4e994(%rip), %rsi     # 0x14a1be
movl $0x3db, %edx            # imm = 0x3DB
leaq 0x4efdb(%rip), %rcx     # 0x14a811
movq %rax, %r8
xorl %eax, %eax
callq 0xbe6f9
jmp 0xfc0e5
cmpq $0x0, 0x10(%r15)
je 0xfbeaa
movq 0x18(%r15), %rbx
movl 0xa0c0e(%rip), %eax     # 0x19c468
cltq
leaq (%rax,%rax,2), %rax
leaq 0xa0c01(%rip), %rdx     # 0x19c468
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0xfb8b4
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0xfb8b4
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0xfb8b4
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0xfb8bd
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xfb8e4
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0xa0b8f(%rip), %rdi     # 0x19c468
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
cmpb $0x0, 0x2a(%r14)
je 0xfbe90
movq (%r15), %rdi
callq 0xbe7a3
jmp 0xfbeaa
movq 0x20(%rbx), %r14
movq 0x10(%rsp), %rax
movq 0x18(%rax), %r15
movq 0x18(%r14), %rbx
cmpb $0x0, 0x2b(%r14)
je 0xfbb4a
imulq %r15, %rbx
movq 0x8(%rsp), %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0xbe87d
jmp 0xfc0e5
cmpq $0x0, 0x10(%r15)
je 0xfb9fd
movq 0x18(%r15), %rbx
movl 0xa0b22(%rip), %eax     # 0x19c468
cltq
leaq (%rax,%rax,2), %rax
leaq 0xa0b15(%rip), %rdx     # 0x19c468
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0xfb9a0
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0xfb9a0
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0xfb9a0
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0xfb9a9
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0xfb9d0
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0xa0aa3(%rip), %rdi     # 0x19c468
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x8(%r15), %rax
testq %rax, %rax
je 0xfb9fd
xorl %ebx, %ebx
movq (%r15), %rcx
movq (%rcx,%rbx,8), %rsi
testq %rsi, %rsi
je 0xfb9f5
movq %r14, %rdi
callq *0xb8(%r14)
movq 0x8(%r15), %rax
incq %rbx
cmpq %rax, %rbx
jb 0xfb9db
cmpq $0x0, 0x8(%r13)
je 0xfc033
movq 0x18(%r13), %r14
movl 0xa0a56(%rip), %eax     # 0x19c468
cltq
leaq (%rax,%rax,2), %rax
leaq 0xa0a49(%rip), %rdx     # 0x19c468
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 0xfba6c
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0xfba6c
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0xfba6c
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0xfba75
movq (%rax,%rcx), %rbx
testq %rbx, %rbx
jne 0xfba9c
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %rbx
leaq 0xa09d7(%rip), %rdi     # 0x19c468
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
leaq 0x10(%r15), %r14
movq (%r14), %rdx
cmpq %rdx, 0x8(%r13)
jbe 0xfbad9
movq (%r15), %rsi
movl $0x8, %edi
xorl %ecx, %ecx
movq %r14, %r8
callq 0xbe7da
movq %rax, (%r15)
movq 0x10(%r15), %rdx
movq 0x8(%r13), %rcx
movl $0x8, %edi
movq %rax, %rsi
movq %r14, %r8
callq 0xbe7da
movq %rax, (%r15)
movq 0x10(%rsp), %rax
testb $0x2, 0x15(%rax)
movq 0x8(%r13), %rcx
jne 0xfbffc
testq %rcx, %rcx
je 0xfc033
xorl %ebx, %ebx
movq (%r13), %rax
movq (%rax,%rbx,8), %rdi
callq 0xbe7e4
movq (%r15), %rcx
movq %rax, (%rcx,%rbx,8)
incq %rbx
movq 0x8(%r13), %rcx
cmpq %rcx, %rbx
jb 0xfbaf7
jmp 0xfc035
movq $0x0, (%r15)
jmp 0xfc0e5
cmpq $0x0, 0x10(%r15)
je 0xfc046
cmpb $0x0, 0x2a(%rbx)
je 0xfc04b
movq (%r15), %rdi
callq 0xbe7a3
jmp 0xfc065
movq %r13, %rbp
testq %r15, %r15
je 0xfc0e5
movq %r14, %rdi
movq 0x8(%rsp), %r13
movq %r13, %rsi
movq %rbp, %rdx
callq *0x90(%r14)
addq %rbx, %rbp
addq %rbx, %r13
movq %r13, 0x8(%rsp)
decq %r15
jne 0xfbb56
jmp 0xfc0e5
xorl %eax, %eax
jmp 0xfbdc5
xorl %edx, %edx
cmpq %rdx, 0x8(%r13)
jbe 0xfbbbf
movq (%r15), %rsi
movl $0x8, %edi
xorl %ecx, %ecx
movq %r14, %r8
callq 0xbe7da
movq %rax, (%r15)
movq 0x10(%r15), %rdx
movq 0x8(%r13), %rcx
movl $0x8, %edi
movq %rax, %rsi
movq %r14, %r8
callq 0xbe7da
movq %rax, (%r15)
movq 0x10(%rsp), %rax
testb $0x2, 0x15(%rax)
movq 0x8(%r13), %rax
jne 0xfbbfe
testq %rax, %rax
je 0xfbff5
xorl %ebx, %ebx
movq (%r13), %rax
movq (%rax,%rbx,8), %rdi
callq 0xbe7e4
movq (%r15), %rcx
movq %rax, (%rcx,%rbx,8)
incq %rbx
movq 0x8(%r13), %rax
cmpq %rax, %rbx
jb 0xfbbd9
jmp 0xfc0e1
testq %rax, %rax
je 0xfbff5
xorl %r14d, %r14d
movq (%r13), %rax
movq (%rax,%r14,8), %rsi
movq %rbx, %rdi
callq *0xc0(%rbx)
movq (%r15), %rcx
movq %rax, (%rcx,%r14,8)
incq %r14
movq 0x8(%r13), %rax
cmpq %rax, %r14
jb 0xfbc0a
jmp 0xfc0e1
testq %rcx, %rcx
je 0xfbd14
xorl %r13d, %r13d
movq (%r14), %rax
movq (%rax,%r13,8), %rbx
testq %rbx, %rbx
je 0xfbcfa
movq (%rbx), %r14
movl 0xa0810(%rip), %eax     # 0x19c468
cltq
leaq (%rax,%rax,2), %rax
leaq 0xa0803(%rip), %rdx     # 0x19c468
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 0xfbcb2
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0xfbcb2
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0xfbcb2
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0xfbcbb
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0xfbce2
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0xa0791(%rip), %rdi     # 0x19c468
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r15, %rdi
movq %rbx, %rsi
callq *0xc0(%r15)
movq 0x8(%rbp), %rcx
movq 0x8(%rsp), %r15
jmp 0xfbcfc
xorl %eax, %eax
movq (%r15), %rdx
movq %rax, (%rdx,%r13,8)
incq %r13
cmpq %rcx, %r13
movq %rbp, %r14
jb 0xfbc3f
jmp 0xfbd16
xorl %ecx, %ecx
movq %rcx, 0x8(%r15)
jmp 0xfc0e5
movq 0x8(%r13), %r14
movl 0xa073f(%rip), %eax     # 0x19c468
cltq
leaq (%rax,%rax,2), %rax
leaq 0xa0732(%rip), %rdx     # 0x19c468
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 0xfbd83
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0xfbd83
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0xfbd83
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0xfbd8c
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0xfbdb3
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0xa06c0(%rip), %rdi     # 0x19c468
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r15, %rdi
movq %rbx, %rsi
callq *0xc0(%r15)
movq 0x8(%rsp), %r15
movq %rax, (%r15)
movq 0x8(%r13), %rax
jmp 0xfc0e1
movq (%rbx), %r14
movl 0xa068e(%rip), %eax     # 0x19c468
cltq
leaq (%rax,%rax,2), %rax
leaq 0xa0681(%rip), %rdx     # 0x19c468
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 0xfbe34
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0xfbe34
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0xfbe34
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0xfbe3d
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0xfbe64
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0xa060f(%rip), %rdi     # 0x19c468
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r15, %rdi
movq %rbx, %rsi
callq *0xc0(%r15)
movq 0x8(%rsp), %rcx
movq %rax, (%rcx)
jmp 0xfc0e5
movq 0x20(%rbx), %rdi
callq *0xc0(%rdi)
movq %rax, (%r15)
jmp 0xfc0e5
movq 0x18(%r14), %r8
movq 0x88(%r14), %rdi
movq (%r15), %rdx
movq 0x8(%r15), %rcx
movq %r14, %rsi
callq 0xbe7fd
xorps %xmm0, %xmm0
movups %xmm0, (%r15)
movq $0x0, 0x10(%r15)
movq 0x18(%r13), %r14
movq %r14, 0x18(%r15)
cmpq $0x0, 0x8(%r13)
je 0xfc0e5
movq %r13, %rbp
movl 0xa0593(%rip), %eax     # 0x19c468
cltq
leaq (%rax,%rax,2), %rax
leaq 0xa0586(%rip), %rdx     # 0x19c468
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 0xfbf2f
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0xfbf2f
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0xfbf2f
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0xfbf38
movq (%rax,%rcx), %rbx
testq %rbx, %rbx
jne 0xfbf5f
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %rbx
leaq 0xa0514(%rip), %rdi     # 0x19c468
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x8(%rsp), %r15
leaq 0x10(%r15), %r8
movq 0x18(%rbx), %rdi
movq (%r15), %rsi
movq 0x10(%r15), %rdx
movq 0x8(%rbp), %rcx
callq 0xbe7da
movq %rax, (%r15)
cmpb $0x0, 0x2b(%rbx)
je 0xfbfa3
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
imulq 0x18(%rbx), %rdx
movq %rax, %rdi
callq 0xbe87d
movq 0x8(%rbp), %rax
jmp 0xfc0e1
cmpq $0x0, 0x8(%rbp)
je 0xfbff5
xorl %r13d, %r13d
movq 0x18(%rbx), %r14
imulq %r13, %r14
movq 0x8(%rsp), %rax
movq (%rax), %r15
addq %r14, %r15
addq (%rbp), %r14
movq %rbx, %rdi
movq %r15, %rsi
callq *0x80(%rbx)
movq %rbx, %rdi
movq %r15, %rsi
movq 0x8(%rsp), %r15
movq %r14, %rdx
callq *0x90(%rbx)
incq %r13
movq 0x8(%rbp), %rax
cmpq %rax, %r13
jb 0xfbfad
jmp 0xfc0e1
xorl %eax, %eax
jmp 0xfc0e1
testq %rcx, %rcx
je 0xfc033
xorl %r14d, %r14d
movq (%r13), %rax
movq (%rax,%r14,8), %rsi
testq %rsi, %rsi
je 0xfc020
movq %rbx, %rdi
callq *0xc0(%rbx)
movq 0x8(%r13), %rcx
jmp 0xfc022
xorl %eax, %eax
movq (%r15), %rdx
movq %rax, (%rdx,%r14,8)
incq %r14
cmpq %rcx, %r14
jb 0xfc004
jmp 0xfc035
xorl %ecx, %ecx
movq %rcx, 0x8(%r15)
movq 0x18(%r13), %rax
movq %rax, 0x18(%r15)
jmp 0xfc0e5
movq (%r15), %rsi
jmp 0xfc076
movq 0x18(%rbx), %r8
movq 0x88(%rbx), %rdi
movq (%r15), %rdx
movq 0x8(%r15), %rcx
movq %rbx, %rsi
callq 0xbe7fd
xorps %xmm0, %xmm0
movups %xmm0, (%r15)
movq $0x0, 0x10(%r15)
xorl %esi, %esi
leaq 0x10(%r15), %r8
movq 0x18(%rbx), %rdi
movq 0x8(%r13), %rcx
xorl %edx, %edx
callq 0xbe7da
movq %rax, (%r15)
cmpq $0x0, 0x8(%r13)
movl $0x0, %eax
je 0xfc0e1
movq %r13, %rbp
xorl %r13d, %r13d
movq 0x18(%rbx), %r14
imulq %r13, %r14
movq 0x8(%rsp), %rax
movq (%rax), %r15
addq %r14, %r15
addq (%rbp), %r14
movq %rbx, %rdi
movq %r15, %rsi
callq *0x80(%rbx)
movq %rbx, %rdi
movq %r15, %rsi
movq 0x8(%rsp), %r15
movq %r14, %rdx
callq *0x90(%rbx)
incq %r13
movq 0x8(%rbp), %rax
cmpq %rax, %r13
jb 0xfc09e
movq %rax, 0x8(%r15)
incq %r12
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rax
cmpq 0x8(%rax), %r12
jb 0xfb167
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq