// File: /workspace/github_c_makefile_star2_O1/akumrao[P]videoAnalyzer/encoder/analyse.c
// Function: x264_macroblock_analyse(x264_t*, x264_macroblock_t*)
void x264_macroblock_analyse( x264_t *h, x264_macroblock_t *mb )
{
    x264_mb_analysis_t analysis;
    int i;

    /* qp TODO */
    mb->i_qp = x264_clip3( h->pps->i_pic_init_qp + h->sh.i_qp_delta + 0, 0, 51 );

    /* init analysis */
    analysis.i_qp = mb->i_qp;
    analysis.i_lambda = i_qp0_cost_table[analysis.i_qp];

    /*--------------------------- Do the analysis ---------------------------*/
    x264_mb_analyse_intra( h, mb, &analysis );
    if( h->sh.i_type == SLICE_TYPE_P )
    {
        x264_mb_analyse_inter_p( h, mb, &analysis );
    }
    else if( h->sh.i_type == SLICE_TYPE_B )
    {
        x264_mb_analyse_inter_b( h, mb, &analysis );
    }

    /*-------------------- Chose the macroblock mode ------------------------*/
#define BEST_TYPE( type, partition, satd ) \
        if( satd != -1 && satd < i_satd ) \
        {   \
            i_satd = satd;  \
            mb->i_type = type; \
            mb->i_partition = partition; \
        }
    if( h->sh.i_type == SLICE_TYPE_I )
    {
        mb->i_type = analysis.i_sad_i4x4 < analysis.i_sad_i16x16 ? I_4x4 : I_16x16;
    }
    else if( h->sh.i_type == SLICE_TYPE_P )
    {
        int i_satd = analysis.i_sad_i4x4;
        mb->i_type = I_4x4;

        BEST_TYPE( I_16x16, -1,    analysis.i_sad_i16x16 );
        BEST_TYPE( P_L0,  D_16x16, analysis.i_sad_p16x16 );
        BEST_TYPE( P_L0,  D_16x8 , analysis.i_sad_p16x8  );
        BEST_TYPE( P_L0,  D_8x16 , analysis.i_sad_p8x16  );
        BEST_TYPE( P_8x8, D_8x8  , analysis.i_sad_p8x8   );
    }
    else    /* B */
    {
        int i_satd = analysis.i_sad_i4x4;
        mb->i_type = I_4x4;

        BEST_TYPE( I_16x16, -1,      analysis.i_sad_i16x16 );
        BEST_TYPE( B_L0_L0, D_16x16, analysis.i_sad_b16x16_l0 );
        BEST_TYPE( B_L1_L1, D_16x16, analysis.i_sad_b16x16_l1 );
        BEST_TYPE( B_BI_BI, D_16x16, analysis.i_sad_b16x16_bi );
    }
#undef BEST_TYPE

    if( IS_INTRA( mb->i_type ) )
    {
        x264_mb_analyse_intra_chroma( h, mb, &analysis );
    }

    /*-------------------- Update MB from the analysis ----------------------*/
    switch( mb->i_type )
    {
        case I_4x4:
            for( i = 0; i < 16; i++ )
            {
                mb->block[i].i_intra4x4_pred_mode = analysis.i_predict4x4[block_idx_x[i]][block_idx_y[i]];
            }
            mb->i_chroma_pred_mode = analysis.i_predict8x8;
            break;
        case I_16x16:
            mb->i_intra16x16_pred_mode = analysis.i_predict16x16;
            mb->i_chroma_pred_mode = analysis.i_predict8x8;
            break;
        case P_L0:
            switch( mb->i_partition )
            {
                case D_16x16:
                    x264_mb_partition_set( mb, 0, 0, 0, analysis.i_ref_p16x16, analysis.i_mv_p16x16[0], analysis.i_mv_p16x16[1] );
                    break;
                case D_16x8:
                    x264_mb_partition_set( mb, 0, 0, 0, analysis.i_ref_p16x8, analysis.i_mv_p16x8[0][0], analysis.i_mv_p16x8[0][1] );
                    x264_mb_partition_set( mb, 0, 1, 0, analysis.i_ref_p16x8, analysis.i_mv_p16x8[1][0], analysis.i_mv_p16x8[1][1] );
                    break;
                case D_8x16:
                    x264_mb_partition_set( mb, 0, 0, 0, analysis.i_ref_p8x16, analysis.i_mv_p8x16[0][0], analysis.i_mv_p8x16[0][1] );
                    x264_mb_partition_set( mb, 0, 1, 0, analysis.i_ref_p8x16, analysis.i_mv_p8x16[1][0], analysis.i_mv_p8x16[1][1] );
                    break;
                default:
                    fprintf( stderr, "internal error\n" );
                    break;
            }
            break;

        case P_8x8:
            for( i = 0; i < 4; i++ )
            {
                int i_sub;

                mb->i_sub_partition[i] = analysis.i_sub_partition_p8x8[i];
                for( i_sub = 0; i_sub < x264_mb_partition_count_table[mb->i_sub_partition[i]]; i_sub++ )
                {
                    x264_mb_partition_set( mb, 0, i, i_sub,
                                                   analysis.i_ref_p8x8,
                                                   analysis.i_mv_p8x8[i][i_sub][0],
                                                   analysis.i_mv_p8x8[i][i_sub][1] );
                }
            }
            break;
        case B_L0_L0:
            switch( mb->i_partition )
            {
                case D_16x16:
                    x264_mb_partition_set( mb, 0, 0, 0, analysis.i_ref_b16x16_l0, analysis.i_mv_b16x16_l0[0], analysis.i_mv_b16x16_l0[1] );
                    /* l1 not used/avaiable */
                    x264_mb_partition_set( mb, 1, 0, 0, -1, 0, 0 );
                    break;
                default:
                    fprintf( stderr, "internal error\n" );
                    break;
            }
            break;
        case B_L1_L1:
            switch( mb->i_partition )
            {
                case D_16x16:
                    /* l0 not used/avaiable */
                    x264_mb_partition_set( mb, 0, 0, 0, -1, 0, 0 );
                    x264_mb_partition_set( mb, 1, 0, 0, analysis.i_ref_b16x16_l1, analysis.i_mv_b16x16_l1[0], analysis.i_mv_b16x16_l1[1] );
                    break;

                default:
                    fprintf( stderr, "internal error\n" );
                    break;
            }
            break;
        case B_BI_BI:
            switch( mb->i_partition )
            {
                case D_16x16:
                    x264_mb_partition_set( mb, 0, 0, 0, analysis.i_ref_b16x16_l0, analysis.i_mv_b16x16_l0[0], analysis.i_mv_b16x16_l0[1] );
                    x264_mb_partition_set( mb, 1, 0, 0, analysis.i_ref_b16x16_l1, analysis.i_mv_b16x16_l1[0], analysis.i_mv_b16x16_l1[1] );
                    break;

                default:
                    fprintf( stderr, "internal error\n" );
                    break;
            }
            break;

        default:
            fprintf( stderr, "internal error\n" );
            break;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x418, %rsp            # imm = 0x418
movq %rsi, -0x58(%rbp)
movq %rdi, -0x40(%rbp)
movq 0x10dae0(%rdi), %rax
movl 0x10db44(%rdi), %ecx
addl 0x1034(%rax), %ecx
cmpl $0x33, %ecx
movl $0x33, %eax
cmovll %ecx, %eax
xorl %ecx, %ecx
testl %eax, %eax
cmovgl %eax, %ecx
movl %ecx, 0x2b0(%rsi)
movl %ecx, -0x1fc(%rbp)
leaq 0x15b1c(%rip), %rax     # 0x28b00
movl (%rax,%rcx,4), %eax
movl %eax, -0x200(%rbp)
movq 0x10(%rsi), %rax
movq 0x18(%rax), %rcx
movq %rcx, -0x70(%rbp)
movq 0x40(%rax), %rcx
movq %rcx, -0x210(%rbp)
movl 0x58(%rax), %ecx
movl %ecx, -0x38(%rbp)
movslq 0x30(%rax), %rax
movq %rax, -0x48(%rbp)
movl $0x1, 0x18(%rsi)
movl $0xffffffff, -0x1f8(%rbp) # imm = 0xFFFFFFFF
movl 0x8(%rsi), %eax
movl %eax, %ecx
notl %ecx
testb $0x3, %cl
jne 0x13044
movaps 0x15a4a(%rip), %xmm0    # 0x28a80
movaps %xmm0, -0x320(%rbp)
movl $0x4, %eax
jmp 0x13080
testb $0x1, %al
jne 0x1305d
testb $0x2, %al
jne 0x13070
movl $0x6, -0x320(%rbp)
movl $0x1, %eax
jmp 0x13080
movabsq $0x100000004, %rax      # imm = 0x100000004
movq %rax, -0x320(%rbp)
jmp 0x1307b
movq $0x5, -0x320(%rbp)
movl $0x2, %eax
movq %rax, -0x30(%rbp)
xorl %r13d, %r13d
movl -0x38(%rbp), %r15d
movslq -0x320(%rbp,%r13,4), %r14
movq -0x210(%rbp), %r12
movq %r12, %rdi
movl %r15d, %esi
movq -0x40(%rbp), %rbx
callq *0x10f1d8(%rbx,%r14,8)
movq %r12, %rdi
movl %r15d, %esi
movq -0x70(%rbp), %rdx
movq -0x48(%rbp), %rcx
callq *0x10f2e0(%rbx)
movl %eax, %ebx
leaq 0x15b57(%rip), %rax     # 0x28c20
movl (%rax,%r14,4), %eax
leaq 0x15b9c(%rip), %rcx     # 0x28c70
movl (%rcx,%rax,4), %r12d
imull -0x200(%rbp), %r12d
leaq 0x120cd(%rip), %rdi     # 0x251b4
leaq 0x15fee(%rip), %rsi     # 0x290dc
leaq 0x15ffc(%rip), %rdx     # 0x290f1
xorl %eax, %eax
callq 0x4c22
addl %ebx, %r12d
movl -0x1f8(%rbp), %eax
cmpl $-0x1, %eax
je 0x1310f
cmpl %r12d, %eax
jle 0x1311d
movl %r14d, -0x1f4(%rbp)
movl %r12d, -0x1f8(%rbp)
incq %r13
cmpq %r13, -0x30(%rbp)
jne 0x1308b
xorl %ebx, %ebx
movq -0x58(%rbp), %r13
movl %ebx, 0x18(%r13)
leaq -0x1ec(%rbp), %rax
movl %ebx, -0x4(%rax)
leaq 0x324(%r13), %rax
movq %rax, -0x208(%rbp)
movq -0x40(%rbp), %r14
movq %r14, %rdi
movq %r13, %rsi
movl %ebx, %edx
callq 0x6753
movl %eax, -0x88(%rbp)
movl 0x8(%r13), %eax
notl %eax
leaq 0x15f00(%rip), %rcx     # 0x29070
andl (%rcx,%rbx,4), %eax
movl %eax, %ecx
andl $0x3, %ecx
leaq 0x15931(%rip), %rdx     # 0x28ab0
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movaps 0x15901(%rip), %xmm0    # 0x28a90
movaps %xmm0, -0x320(%rbp)
movabsq $0x600000005, %rcx      # imm = 0x600000005
movq %rcx, -0x310(%rbp)
movl $0x8, -0x308(%rbp)
movl $0x7, %ecx
movq %rcx, -0x60(%rbp)
testb $0x14, %al
leaq -0x1ec(%rbp), %rdi
leaq 0x14b26(%rip), %rax     # 0x27cf0
leaq 0x14b0f(%rip), %rdx     # 0x27ce0
jne 0x1323c
movabsq $0x700000003, %rcx      # imm = 0x700000003
movq %rcx, -0x304(%rbp)
movl $0x9, %ecx
movq %rcx, -0x60(%rbp)
jmp 0x1323c
movabsq $0x100000009, %rax      # imm = 0x100000009
movq %rax, -0x320(%rbp)
jmp 0x1321e
movl $0xb, -0x320(%rbp)
movl $0x1, %eax
jmp 0x13223
movq $0xa, -0x320(%rbp)
movl $0x2, %eax
movq %rax, -0x60(%rbp)
leaq -0x1ec(%rbp), %rdi
leaq 0x14abb(%rip), %rax     # 0x27cf0
leaq 0x14aa4(%rip), %rdx     # 0x27ce0
movzbl (%rbx,%rax), %ecx
movq %rbx, -0x218(%rbp)
movzbl (%rbx,%rdx), %edx
movl %ecx, %eax
shll $0x2, %eax
movq -0x70(%rbp), %rsi
addq %rax, %rsi
shll $0x4, %ecx
addq %rdi, %rcx
leaq (%rcx,%rdx,4), %rcx
movq %rcx, -0x78(%rbp)
shll $0x2, %edx
movq %rdx, %rcx
imulq -0x48(%rbp), %rcx
addq %rsi, %rcx
movq %rcx, -0x80(%rbp)
addq -0x210(%rbp), %rax
imull -0x38(%rbp), %edx
movslq %edx, %rcx
addq %rax, %rcx
movq %rcx, -0x68(%rbp)
movl $0xffffffff, -0x30(%rbp) # imm = 0xFFFFFFFF
xorl %r12d, %r12d
movslq -0x320(%rbp,%r12,4), %r15
movq -0x68(%rbp), %r13
movq %r13, %rdi
movl -0x38(%rbp), %r14d
movl %r14d, %esi
movq -0x40(%rbp), %rbx
callq *0x10f248(%rbx,%r15,8)
movq %r13, %rdi
movl %r14d, %esi
movq -0x80(%rbp), %rdx
movq -0x48(%rbp), %rcx
callq *0x10f310(%rbx)
movl -0x200(%rbp), %edx
leaq 0x15967(%rip), %rcx     # 0x28c40
movl -0x88(%rbp), %esi
cmpl (%rcx,%r15,4), %esi
setne %cl
addb %cl, %cl
shll %cl, %edx
addl %eax, %edx
movl -0x30(%rbp), %ecx
cmpl $-0x1, %ecx
sete %al
cmpl %edx, %ecx
setg %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0x1330b
movq -0x78(%rbp), %rax
movl %r15d, (%rax)
movl %edx, -0x30(%rbp)
incq %r12
cmpq %r12, -0x60(%rbp)
jne 0x13296
movl -0x30(%rbp), %eax
addl %eax, -0x1f0(%rbp)
movq -0x78(%rbp), %rax
movslq (%rax), %rax
movq -0x218(%rbp), %rbx
movq %rbx, %rcx
shlq $0x7, %rcx
leaq (%rcx,%rbx,4), %rcx
movq -0x208(%rbp), %rdx
movl %eax, (%rdx,%rcx)
movq -0x68(%rbp), %rdi
movl -0x38(%rbp), %esi
movq -0x40(%rbp), %r14
callq *0x10f248(%r14,%rax,8)
movl -0x1fc(%rbp), %ecx
movq %r14, %rdi
movq -0x58(%rbp), %r13
movq %r13, %rsi
movl %ebx, %edx
callq 0x1680f
incq %rbx
cmpq $0x10, %rbx
jne 0x13150
movl -0x200(%rbp), %eax
leal (%rax,%rax,2), %eax
shll $0x3, %eax
addl %eax, -0x1f0(%rbp)
movl 0x10db00(%r14), %eax
cmpl $0x1, %eax
je 0x1374f
testl %eax, %eax
jne 0x14244
movq 0x10(%r13), %rax
movq %rax, -0x38(%rbp)
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl %eax, -0x1a4(%rbp)
movl %eax, -0x194(%rbp)
movl %eax, -0x17c(%rbp)
movl %eax, -0x164(%rbp)
movabsq $0x1000000003, %rax     # imm = 0x1000000003
movq %rax, 0x18(%r13)
cmpl $0x0, 0x10f078(%r14)
jle 0x135a0
xorl %r15d, %r15d
leaq 0x15884(%rip), %r12     # 0x28c70
xorl %ebx, %ebx
movl $0x0, (%rsp)
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movl %ebx, %r8d
xorl %r9d, %r9d
callq 0x6b14
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
leaq -0x320(%rbp), %r8
callq 0x6de8
movl -0x320(%rbp), %eax
movl -0x31c(%rbp), %ecx
movl %eax, -0x420(%rbp)
movl %ecx, -0x50(%rbp)
movq -0x38(%rbp), %rax
movq 0x68(%rax,%r15,2), %rsi
movl 0x1e8(%rax,%r15), %edx
movq 0x18(%rax), %rcx
movl 0x30(%rax), %r8d
movl -0x200(%rbp), %eax
leaq -0x50(%rbp), %rdi
movq %rdi, 0x10(%rsp)
leaq -0x420(%rbp), %rdi
movq %rdi, 0x8(%rsp)
movl %eax, (%rsp)
movq %r14, %rdi
xorl %r9d, %r9d
callq *0x10f390(%r14)
movl -0x420(%rbp), %ecx
cmpl -0x320(%rbp), %ecx
jne 0x1349b
movl -0x50(%rbp), %ecx
cmpl -0x31c(%rbp), %ecx
jne 0x1349b
movl -0x200(%rbp), %ecx
shll $0x4, %ecx
subl %ecx, %eax
movl %eax, -0x30(%rbp)
movl -0x200(%rbp), %r14d
movq -0x40(%rbp), %rax
movl 0x10db38(%rax), %r13d
leaq 0x11cfd(%rip), %rdi     # 0x251b4
leaq 0x15c1e(%rip), %rsi     # 0x290dc
leaq 0x15c37(%rip), %rdx     # 0x290fc
xorl %eax, %eax
callq 0x4c22
movl $0x1, %eax
cmpl $0x2, %r13d
je 0x13546
xorl %eax, %eax
cmpl $0x3, %r13d
jl 0x13546
leaq 0x11cce(%rip), %rdi     # 0x251b4
leaq 0x15bef(%rip), %rsi     # 0x290dc
leaq 0x15bfd(%rip), %rdx     # 0x290f1
xorl %eax, %eax
callq 0x4c22
cmpq $0xfe, %rbx
ja 0x1350a
movl (%r12), %eax
jmp 0x13546
leal 0x1(%rbx), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpq $0xffff, %rbx           # imm = 0xFFFF
setae %dl
cmovbl %eax, %ecx
shll $0x5, %edx
leal 0x10(%rdx), %eax
movl %ecx, %esi
shrl $0x8, %esi
decl %esi
cmpl $0x100, %ecx            # imm = 0x100
cmovbl %ecx, %esi
cmovbl %edx, %eax
leaq 0x1572d(%rip), %rcx     # 0x28c70
addl (%rcx,%rsi,4), %eax
imull %r14d, %eax
addl -0x30(%rbp), %eax
movl -0x1a4(%rbp), %ecx
cmpl $-0x1, %ecx
movq -0x58(%rbp), %r13
je 0x13560
cmpl %ecx, %eax
jge 0x13581
movl %eax, -0x1a4(%rbp)
movl %ebx, -0x1a0(%rbp)
movl -0x420(%rbp), %eax
movl %eax, -0x19c(%rbp)
movl -0x50(%rbp), %eax
movl %eax, -0x198(%rbp)
incq %rbx
movq -0x40(%rbp), %r14
movslq 0x10f078(%r14), %rax
addq $0x4, %r12
addq $0xc, %r15
cmpq %rax, %rbx
jl 0x133ee
movl -0x1a0(%rbp), %r15d
movslq %r15d, %r12
movl $0x0, (%rsp)
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movl %r12d, %r8d
xorl %r9d, %r9d
callq 0x6b14
cmpl $0x0, -0x1f4(%rbp)
movq %r15, -0x30(%rbp)
je 0x13e0f
movl $0xe, 0x1c(%r13)
leaq -0x18c(%rbp), %rax
movl %r12d, -0x4(%rax)
leaq -0x320(%rbp), %r8
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x6de8
leaq -0x318(%rbp), %rbx
movq %r13, %rdi
xorl %esi, %esi
movl $0x1, %edx
xorl %ecx, %ecx
movq %rbx, %r8
callq 0x6de8
movaps -0x8(%rbx), %xmm0
leaq -0x18c(%rbp), %r9
movups %xmm0, (%r9)
leaq -0x188(%rbp), %rax
leaq -0x180(%rbp), %r15
movq %r12, -0x48(%rbp)
leaq (%r12,%r12,2), %r13
movq -0x38(%rbp), %r12
movq 0x68(%r12,%r13,8), %rsi
movl 0x1e8(%r12,%r13,4), %edx
movq 0x18(%r12), %rcx
movl 0x30(%r12), %r8d
movl -0x80(%r15), %edi
movq %rax, 0x10(%rsp)
movq %r9, 0x8(%rsp)
movl %edi, (%rsp)
movq %r14, %rdi
movl $0x1, %r9d
callq *0x10f390(%r14)
movl %eax, %ebx
movslq 0x1e8(%r12,%r13,4), %rdx
movq %rdx, %rsi
shlq $0x3, %rsi
addq 0x68(%r12,%r13,8), %rsi
movslq 0x30(%r12), %r8
movq %r8, %rcx
shlq $0x3, %rcx
addq 0x18(%r12), %rcx
movl -0x80(%r15), %eax
movq %r15, 0x10(%rsp)
leaq -0x184(%rbp), %rdi
movq %rdi, 0x8(%rsp)
movl %eax, (%rsp)
movq %r14, %rdi
movl $0x1, %r9d
callq *0x10f390(%r14)
addl %ebx, %eax
movl %eax, -0x14(%r15)
movl -0x80(%r15), %ebx
movq -0x30(%rbp), %r15
addl %ebx, %ebx
movl 0x10db38(%r14), %r14d
leaq 0x11acd(%rip), %rdi     # 0x251b4
leaq 0x159ee(%rip), %rsi     # 0x290dc
leaq 0x15a07(%rip), %rdx     # 0x290fc
xorl %eax, %eax
callq 0x4c22
movl $0x1, %esi
cmpl $0x2, %r14d
je 0x13dfa
movl $0x0, %esi
jle 0x13dfa
leaq 0x11a97(%rip), %rdi     # 0x251b4
leaq 0x159b8(%rip), %rsi     # 0x290dc
leaq 0x159c6(%rip), %rdx     # 0x290f1
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r15d
ja 0x13dbf
leaq 0x1552a(%rip), %rax     # 0x28c70
movl (%rax,%r15,4), %esi
jmp 0x13dfa
movq 0x10(%r13), %rax
movq %rax, -0x30(%rbp)
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl %eax, -0xcc(%rbp)
movl %eax, -0xbc(%rbp)
movl %eax, -0xac(%rbp)
movabsq $0x1000000007, %rax     # imm = 0x1000000007
movq %rax, 0x18(%r13)
cmpl $0x0, 0x10f078(%r14)
jle 0x13923
leaq 0x154df(%rip), %r12     # 0x28c70
xorl %r15d, %r15d
xorl %ebx, %ebx
movl $0x0, (%rsp)
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movl %ebx, %r8d
xorl %r9d, %r9d
callq 0x6b14
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
leaq -0x50(%rbp), %r8
callq 0x6de8
movl -0x50(%rbp), %eax
movl -0x4c(%rbp), %ecx
movl %eax, -0x320(%rbp)
movl %ecx, -0x420(%rbp)
movq -0x30(%rbp), %rax
movq 0x68(%rax,%r15,2), %rsi
movl 0x1e8(%rax,%r15), %edx
movq 0x18(%rax), %rcx
movl 0x30(%rax), %r8d
movl -0x200(%rbp), %eax
leaq -0x420(%rbp), %rdi
movq %rdi, 0x10(%rsp)
leaq -0x320(%rbp), %rdi
movq %rdi, 0x8(%rsp)
movl %eax, (%rsp)
movq %r14, %rdi
xorl %r9d, %r9d
callq *0x10f390(%r14)
movl %eax, -0x38(%rbp)
movq %r14, %rax
movl -0x200(%rbp), %r14d
movl 0x10db38(%rax), %r13d
leaq 0x1197d(%rip), %rdi     # 0x251b4
leaq 0x1589e(%rip), %rsi     # 0x290dc
leaq 0x158b7(%rip), %rdx     # 0x290fc
xorl %eax, %eax
callq 0x4c22
movl $0x1, %eax
cmpl $0x2, %r13d
je 0x138c6
xorl %eax, %eax
cmpl $0x3, %r13d
jl 0x138c6
leaq 0x1194e(%rip), %rdi     # 0x251b4
leaq 0x1586f(%rip), %rsi     # 0x290dc
leaq 0x1587d(%rip), %rdx     # 0x290f1
xorl %eax, %eax
callq 0x4c22
cmpq $0xfe, %rbx
ja 0x1388a
movl (%r12), %eax
jmp 0x138c6
leal 0x1(%rbx), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpq $0xffff, %rbx           # imm = 0xFFFF
setae %dl
cmovbl %eax, %ecx
shll $0x5, %edx
leal 0x10(%rdx), %eax
movl %ecx, %esi
shrl $0x8, %esi
decl %esi
cmpl $0x100, %ecx            # imm = 0x100
cmovbl %ecx, %esi
cmovbl %edx, %eax
leaq 0x153ad(%rip), %rcx     # 0x28c70
addl (%rcx,%rsi,4), %eax
imull %r14d, %eax
addl -0x38(%rbp), %eax
movl -0xcc(%rbp), %ecx
cmpl $-0x1, %ecx
je 0x138dc
cmpl %ecx, %eax
jge 0x13900
movl %eax, -0xcc(%rbp)
movl %ebx, -0xc8(%rbp)
movl -0x320(%rbp), %eax
movl %eax, -0xc4(%rbp)
movl -0x420(%rbp), %eax
movl %eax, -0xc0(%rbp)
incq %rbx
movq -0x40(%rbp), %r14
movslq 0x10f078(%r14), %rax
addq $0x4, %r12
addq $0xc, %r15
cmpq %rax, %rbx
movq -0x58(%rbp), %r13
jl 0x13796
movabsq $0x100000000b, %rax     # imm = 0x100000000B
movq %rax, 0x18(%r13)
cmpl $0x0, 0x10f100(%r14)
movq %r14, %r12
jle 0x13af7
leaq 0x15327(%rip), %rax     # 0x28c70
xorl %r15d, %r15d
movq %rax, -0x68(%rbp)
xorl %ebx, %ebx
movl $0x0, (%rsp)
movl $0x1, %r14d
movq %r13, %rdi
movl $0x1, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movl %ebx, %r8d
xorl %r9d, %r9d
callq 0x6b14
movq %r13, %rdi
movl $0x1, %esi
xorl %edx, %edx
xorl %ecx, %ecx
leaq -0x50(%rbp), %r8
callq 0x6de8
movl -0x50(%rbp), %eax
movl -0x4c(%rbp), %ecx
movl %eax, -0x320(%rbp)
movl %ecx, -0x420(%rbp)
movq -0x30(%rbp), %rax
movq 0x2a8(%rax,%r15,2), %rsi
movl 0x428(%rax,%r15), %edx
movq 0x18(%rax), %rcx
movl 0x30(%rax), %r8d
movl -0x200(%rbp), %eax
leaq -0x420(%rbp), %rdi
movq %rdi, 0x10(%rsp)
leaq -0x320(%rbp), %rdi
movq %rdi, 0x8(%rsp)
movl %eax, (%rsp)
movq %r12, %rdi
xorl %r9d, %r9d
callq *0x10f390(%r12)
movl %eax, -0x38(%rbp)
movl -0x200(%rbp), %eax
movl %eax, -0x48(%rbp)
movl 0x10db3c(%r12), %r13d
leaq 0x117b1(%rip), %rdi     # 0x251b4
leaq 0x156d2(%rip), %rsi     # 0x290dc
leaq 0x156eb(%rip), %rdx     # 0x290fc
xorl %eax, %eax
callq 0x4c22
cmpl $0x2, %r13d
je 0x13a94
xorl %r14d, %r14d
cmpl $0x3, %r13d
jl 0x13a94
leaq 0x11786(%rip), %rdi     # 0x251b4
leaq 0x156a7(%rip), %rsi     # 0x290dc
leaq 0x156b5(%rip), %rdx     # 0x290f1
xorl %eax, %eax
callq 0x4c22
cmpq $0xfe, %rbx
ja 0x13a55
movq -0x68(%rbp), %rax
movl (%rax), %r14d
jmp 0x13a94
leal 0x1(%rbx), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpq $0xffff, %rbx           # imm = 0xFFFF
setae %dl
cmovbl %eax, %ecx
shll $0x5, %edx
leal 0x10(%rdx), %r14d
movl %ecx, %eax
shrl $0x8, %eax
decl %eax
cmpl $0x100, %ecx            # imm = 0x100
cmovbl %ecx, %eax
cmovbl %edx, %r14d
leaq 0x151e0(%rip), %rcx     # 0x28c70
addl (%rcx,%rax,4), %r14d
imull -0x48(%rbp), %r14d
addl -0x38(%rbp), %r14d
movl -0xbc(%rbp), %eax
cmpl $-0x1, %eax
je 0x13aad
cmpl %eax, %r14d
jge 0x13ad2
movl %r14d, -0xbc(%rbp)
movl %ebx, -0xb8(%rbp)
movl -0x320(%rbp), %eax
movl %eax, -0xb4(%rbp)
movl -0x420(%rbp), %eax
movl %eax, -0xb0(%rbp)
incq %rbx
movq -0x40(%rbp), %r12
movslq 0x10f100(%r12), %rax
addq $0x4, -0x68(%rbp)
addq $0xc, %r15
cmpq %rax, %rbx
movq -0x58(%rbp), %r13
jl 0x13952
movslq -0xc8(%rbp), %rax
leaq (%rax,%rax,2), %rax
movq -0x30(%rbp), %rbx
movq 0x68(%rbx,%rax,8), %rdi
movl 0x1e8(%rbx,%rax,4), %esi
movl -0xc4(%rbp), %r8d
movl -0xc0(%rbp), %r9d
movl $0x10, %r14d
movl %r14d, 0x8(%rsp)
movl %r14d, (%rsp)
leaq -0x320(%rbp), %rdx
movl $0x10, %ecx
callq *0x10f380(%r12)
movslq -0xb8(%rbp), %rax
leaq (%rax,%rax,2), %rax
movq 0x2a8(%rbx,%rax,8), %rdi
movl 0x428(%rbx,%rax,4), %esi
movl -0xb4(%rbp), %r8d
movl -0xb0(%rbp), %r9d
movl %r14d, 0x8(%rsp)
movl %r14d, (%rsp)
leaq -0x420(%rbp), %r15
movq %r15, %rdx
movl $0x10, %ecx
callq *0x10f380(%r12)
leaq -0x320(%rbp), %rdi
movl $0x10, %esi
movq %r15, %rdx
movl $0x10, %ecx
callq *0x10f318(%r12)
movq 0x18(%rbx), %rdi
movl 0x30(%rbx), %esi
leaq -0x320(%rbp), %rdx
movl $0x10, %ecx
callq *0x10f2a8(%r12)
movl %eax, -0xac(%rbp)
movl -0xc8(%rbp), %r8d
movl -0xc4(%rbp), %r9d
movl -0xc0(%rbp), %eax
movl %eax, (%rsp)
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x6b14
movl -0xb8(%rbp), %r8d
movl -0xb4(%rbp), %r9d
movl -0xb0(%rbp), %eax
movl %eax, (%rsp)
movl $0x1, %ebx
movq %r13, %rdi
movl $0x1, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x6b14
leaq -0x50(%rbp), %r8
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x6de8
movl -0x200(%rbp), %r14d
movl -0xc8(%rbp), %r15d
movl 0x10db38(%r12), %r12d
leaq 0x1156b(%rip), %rdi     # 0x251b4
leaq 0x1548c(%rip), %rsi     # 0x290dc
leaq 0x154a5(%rip), %rdx     # 0x290fc
xorl %eax, %eax
callq 0x4c22
movl $0x1, %eax
cmpl $0x2, %r12d
je 0x13ce0
movl $0x0, %eax
jle 0x13ce0
leaq 0x1153d(%rip), %rdi     # 0x251b4
leaq 0x1545e(%rip), %rsi     # 0x290dc
leaq 0x1546c(%rip), %rdx     # 0x290f1
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r15d
ja 0x13ca2
leaq 0x14fd4(%rip), %rax     # 0x28c70
movl (%rax,%r15,4), %eax
jmp 0x13ce0
incl %r15d
movl %r15d, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0x10000, %r15d         # imm = 0x10000
setae %dl
cmovbl %r15d, %ecx
shll $0x5, %edx
leal 0x10(%rdx), %eax
movl %ecx, %esi
shrl $0x8, %esi
decl %esi
cmpl $0x100, %ecx            # imm = 0x100
cmovbl %ecx, %esi
cmovbl %edx, %eax
leaq 0x14f93(%rip), %rcx     # 0x28c70
addl (%rcx,%rsi,4), %eax
imull %r14d, %eax
addl %eax, -0xac(%rbp)
leaq -0x50(%rbp), %r8
movq %r13, %rdi
movl $0x1, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x6de8
movl -0x200(%rbp), %r14d
movl -0xb8(%rbp), %r15d
movq -0x40(%rbp), %rax
movl 0x10db3c(%rax), %r12d
leaq 0x11495(%rip), %rdi     # 0x251b4
leaq 0x153b6(%rip), %rsi     # 0x290dc
leaq 0x153cf(%rip), %rdx     # 0x290fc
xorl %eax, %eax
callq 0x4c22
cmpl $0x2, %r12d
je 0x13db0
movl $0x0, %ebx
jle 0x13db0
leaq 0x1146c(%rip), %rdi     # 0x251b4
leaq 0x1538d(%rip), %rsi     # 0x290dc
leaq 0x1539b(%rip), %rdx     # 0x290f1
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r15d
ja 0x13d73
leaq 0x14f03(%rip), %rax     # 0x28c70
movl (%rax,%r15,4), %ebx
jmp 0x13db0
incl %r15d
movl %r15d, %eax
shrl $0x10, %eax
decl %eax
xorl %ecx, %ecx
cmpl $0x10000, %r15d         # imm = 0x10000
setae %cl
cmovbl %r15d, %eax
shll $0x5, %ecx
leal 0x10(%rcx), %ebx
movl %eax, %edx
shrl $0x8, %edx
decl %edx
cmpl $0x100, %eax            # imm = 0x100
cmovbl %eax, %edx
cmovbl %ecx, %ebx
leaq 0x14ec3(%rip), %rax     # 0x28c70
addl (%rax,%rdx,4), %ebx
imull %r14d, %ebx
addl %ebx, -0xac(%rbp)
jmp 0x14240
leal 0x1(%r15), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0x10000, %eax          # imm = 0x10000
setae %dl
cmovbl %eax, %ecx
shll $0x5, %edx
leal 0x10(%rdx), %esi
movl %ecx, %eax
shrl $0x8, %eax
decl %eax
cmpl $0x100, %ecx            # imm = 0x100
cmovbl %ecx, %eax
cmovbl %edx, %esi
leaq 0x14e79(%rip), %rcx     # 0x28c70
addl (%rcx,%rax,4), %esi
imull %esi, %ebx
addl %ebx, -0x194(%rbp)
movq -0x58(%rbp), %r13
movq -0x40(%rbp), %r14
movq -0x48(%rbp), %r12
cmpl $0x1, -0x1f4(%rbp)
je 0x13fcc
movl $0xf, 0x1c(%r13)
leaq -0x174(%rbp), %rax
movl %r15d, -0x4(%rax)
movq %rax, %r15
leaq -0x320(%rbp), %r8
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x6de8
leaq -0x318(%rbp), %rbx
movq %r13, %rdi
xorl %esi, %esi
movl $0x1, %edx
xorl %ecx, %ecx
movq %rbx, %r8
callq 0x6de8
movaps -0x8(%rbx), %xmm0
movq %r15, %r9
movups %xmm0, (%r15)
leaq -0x170(%rbp), %rax
leaq -0x168(%rbp), %r13
leaq (%r12,%r12,2), %r15
movq -0x38(%rbp), %r12
movq 0x68(%r12,%r15,8), %rsi
movl 0x1e8(%r12,%r15,4), %edx
movq 0x18(%r12), %rcx
movl 0x30(%r12), %r8d
movl -0x98(%r13), %edi
movq %rax, 0x10(%rsp)
movq %r9, 0x8(%rsp)
movl %edi, (%rsp)
movq %r14, %rdi
movl $0x2, %r9d
callq *0x10f390(%r14)
movl %eax, %ebx
movq 0x68(%r12,%r15,8), %rsi
addq $0x8, %rsi
movl 0x1e8(%r12,%r15,4), %edx
movq 0x18(%r12), %rcx
addq $0x8, %rcx
movl 0x30(%r12), %r8d
movl -0x98(%r13), %eax
movq %r13, 0x10(%rsp)
leaq -0x16c(%rbp), %rdi
movq %rdi, 0x8(%rsp)
movl %eax, (%rsp)
movq %r14, %rdi
movl $0x2, %r9d
callq *0x10f390(%r14)
addl %ebx, %eax
movl %eax, -0x14(%r13)
movl -0x98(%r13), %ebx
addl %ebx, %ebx
movl 0x10db38(%r14), %r14d
leaq 0x1128d(%rip), %rdi     # 0x251b4
leaq 0x151ae(%rip), %rsi     # 0x290dc
leaq 0x151c7(%rip), %rdx     # 0x290fc
xorl %eax, %eax
callq 0x4c22
movl $0x1, %esi
cmpl $0x2, %r14d
je 0x13fbb
movl $0x0, %esi
jle 0x13fbb
leaq 0x1125f(%rip), %rdi     # 0x251b4
leaq 0x15180(%rip), %rsi     # 0x290dc
leaq 0x1518e(%rip), %rdx     # 0x290f1
xorl %eax, %eax
callq 0x4c22
movq -0x30(%rbp), %rdx
cmpl $0xfe, %edx
ja 0x13f82
leaq 0x14cf3(%rip), %rax     # 0x28c70
movl (%rax,%rdx,4), %esi
jmp 0x13fbb
incl %edx
movl %edx, %eax
shrl $0x10, %eax
decl %eax
xorl %ecx, %ecx
cmpl $0x10000, %edx          # imm = 0x10000
setae %cl
cmovbl %edx, %eax
shll $0x5, %ecx
leal 0x10(%rcx), %esi
movl %eax, %edx
shrl $0x8, %edx
decl %edx
cmpl $0x100, %eax            # imm = 0x100
cmovbl %eax, %edx
cmovbl %ecx, %esi
leaq 0x14cb8(%rip), %rax     # 0x28c70
addl (%rax,%rdx,4), %esi
imull %esi, %ebx
addl %ebx, -0x17c(%rbp)
movq -0x58(%rbp), %r13
movq -0x40(%rbp), %r14
movl -0x1f0(%rbp), %eax
cmpl -0x1f8(%rbp), %eax
jge 0x14244
movq 0x10(%r13), %rax
leaq -0x14c(%rbp), %rsi
movslq -0x54(%rsi), %rdx
leaq (%rdx,%rdx,2), %rcx
movq 0x68(%rax,%rcx,8), %rdi
movq %rdi, -0x48(%rbp)
movl 0x1e8(%rax,%rcx,4), %ecx
movl %ecx, -0x30(%rbp)
movq 0x18(%rax), %rcx
movq %rcx, -0x68(%rbp)
movl 0x30(%rax), %eax
movl %eax, -0x38(%rbp)
movq %rdx, -0x60(%rbp)
movl %edx, -0x14(%rsi)
movl $0x0, -0x18(%rsi)
movl $0xd, 0x1c(%r13)
leaq -0x148(%rbp), %rbx
leaq 0x14b9a(%rip), %r15     # 0x28bd0
xorl %r12d, %r12d
leal (,%r12,4), %eax
andl $0x8, %eax
leal (,%r12,8), %ecx
andl $0x8, %ecx
movl $0x3, %edx
movl %edx, 0x20(%r13,%r12,4)
movl %eax, %edx
imull -0x30(%rbp), %edx
addl %ecx, %edx
movslq %edx, %r14
addq -0x48(%rbp), %r14
imull -0x38(%rbp), %eax
addl %ecx, %eax
movslq %eax, %r13
addq -0x68(%rbp), %r13
movq -0x58(%rbp), %rdi
xorl %esi, %esi
movl %r12d, %edx
xorl %ecx, %ecx
leaq -0x320(%rbp), %r8
callq 0x6de8
movq -0x320(%rbp), %rax
movq %rax, -0x420(%rbp)
movl -0x200(%rbp), %eax
leaq -0x41c(%rbp), %rcx
movq %rcx, 0x10(%rsp)
leaq -0x420(%rbp), %rcx
movq %rcx, 0x8(%rsp)
movl %eax, (%rsp)
movq -0x40(%rbp), %rdi
movq %r14, %rsi
movl -0x30(%rbp), %edx
movq %r13, %rcx
movq -0x58(%rbp), %r13
movl -0x38(%rbp), %r8d
movl $0x3, %r9d
callq *0x10f390(%rdi)
movl %eax, %r14d
addl -0x200(%rbp), %r14d
leaq 0x110c7(%rip), %rdi     # 0x251b4
leaq 0x14fe8(%rip), %rsi     # 0x290dc
leaq 0x14ff6(%rip), %rdx     # 0x290f1
xorl %eax, %eax
callq 0x4c22
movl $0x3, %esi
movl %esi, -0x15c(%rbp,%r12,4)
movl -0x420(%rbp), %eax
movq %r12, %rcx
shlq $0x5, %rcx
leaq -0x14c(%rbp), %rdx
movl %eax, (%rdx,%rcx)
movl -0x41c(%rbp), %eax
movl %eax, 0x4(%rdx,%rcx)
addl %r14d, -0x164(%rbp)
movl %esi, 0x20(%r13,%r12,4)
xorl %r14d, %r14d
movl -0x160(%rbp), %r8d
movl -0x4(%rbx,%r14,8), %r9d
movl (%rbx,%r14,8), %eax
movl %eax, (%rsp)
movq %r13, %rdi
xorl %esi, %esi
movl %r12d, %edx
movl %r14d, %ecx
callq 0x6b14
incq %r14
movslq -0x15c(%rbp,%r12,4), %rax
movslq (%r15,%rax,4), %rax
cmpq %rax, %r14
jl 0x1413f
incq %r12
addq $0x20, %rbx
cmpq $0x4, %r12
jne 0x14039
movl -0x200(%rbp), %ebx
movq -0x40(%rbp), %rax
movl 0x10db38(%rax), %r14d
leaq 0x11015(%rip), %rdi     # 0x251b4
leaq 0x14f36(%rip), %rsi     # 0x290dc
leaq 0x14f4f(%rip), %rdx     # 0x290fc
xorl %eax, %eax
callq 0x4c22
movl $0x1, %eax
cmpl $0x2, %r14d
je 0x14234
movl $0x0, %eax
jle 0x14234
leaq 0x10fe7(%rip), %rdi     # 0x251b4
leaq 0x14f08(%rip), %rsi     # 0x290dc
leaq 0x14f16(%rip), %rdx     # 0x290f1
xorl %eax, %eax
callq 0x4c22
movq -0x60(%rbp), %rsi
cmpl $0xfe, %esi
ja 0x141fa
leaq 0x14a7b(%rip), %rax     # 0x28c70
movl (%rax,%rsi,4), %eax
jmp 0x14234
incl %esi
movl %esi, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0x10000, %esi          # imm = 0x10000
setae %dl
cmovbl %esi, %ecx
shll $0x5, %edx
leal 0x10(%rdx), %eax
movl %ecx, %esi
shrl $0x8, %esi
decl %esi
cmpl $0x100, %ecx            # imm = 0x100
cmovbl %ecx, %esi
cmovbl %edx, %eax
leaq 0x14a3f(%rip), %rcx     # 0x28c70
addl (%rcx,%rsi,4), %eax
imull %eax, %ebx
shll $0x2, %ebx
addl %ebx, -0x164(%rbp)
movq -0x40(%rbp), %r14
movl 0x10db00(%r14), %ecx
movl -0x1f0(%rbp), %eax
testl %ecx, %ecx
je 0x14272
cmpl $0x2, %ecx
jne 0x14334
xorl %ecx, %ecx
cmpl -0x1f8(%rbp), %eax
setge %cl
movl %ecx, 0x18(%r13)
jmp 0x143ce
movl $0x0, 0x18(%r13)
movl -0x1f8(%rbp), %ecx
cmpl $-0x1, %ecx
setne %dl
cmpl %eax, %ecx
setl %sil
andb %dl, %sil
cmpb $0x1, %sil
jne 0x142a5
movabsq $-0xffffffff, %rax      # imm = 0xFFFFFFFF00000001
movq %rax, 0x18(%r13)
movl %ecx, %eax
movl -0x1a4(%rbp), %ecx
cmpl $-0x1, %ecx
setne %dl
cmpl %eax, %ecx
setl %sil
andb %dl, %sil
cmpb $0x1, %sil
jne 0x142d0
movabsq $0x1000000003, %rax     # imm = 0x1000000003
movq %rax, 0x18(%r13)
movl %ecx, %eax
movl -0x194(%rbp), %ecx
cmpl $-0x1, %ecx
je 0x142ef
cmpl %eax, %ecx
jge 0x142ef
movabsq $0xe00000003, %rax      # imm = 0xE00000003
movq %rax, 0x18(%r13)
movl %ecx, %eax
movl -0x17c(%rbp), %ecx
cmpl $-0x1, %ecx
je 0x1430e
cmpl %eax, %ecx
jge 0x1430e
movabsq $0xf00000003, %rax      # imm = 0xF00000003
movq %rax, 0x18(%r13)
movl %ecx, %eax
movl -0x164(%rbp), %ecx
cmpl $-0x1, %ecx
je 0x143ce
cmpl %eax, %ecx
jge 0x143ce
movabsq $0xd00000004, %rax      # imm = 0xD00000004
jmp 0x143ca
movl $0x0, 0x18(%r13)
movl -0x1f8(%rbp), %ecx
cmpl $-0x1, %ecx
setne %dl
cmpl %eax, %ecx
setl %sil
andb %dl, %sil
cmpb $0x1, %sil
jne 0x14367
movabsq $-0xffffffff, %rax      # imm = 0xFFFFFFFF00000001
movq %rax, 0x18(%r13)
movl %ecx, %eax
movl -0xcc(%rbp), %ecx
cmpl $-0x1, %ecx
setne %dl
cmpl %eax, %ecx
setl %sil
andb %dl, %sil
cmpb $0x1, %sil
jne 0x14392
movabsq $0x1000000007, %rax     # imm = 0x1000000007
movq %rax, 0x18(%r13)
movl %ecx, %eax
movl -0xbc(%rbp), %ecx
cmpl $-0x1, %ecx
je 0x143b1
cmpl %eax, %ecx
jge 0x143b1
movabsq $0x100000000b, %rax     # imm = 0x100000000B
movq %rax, 0x18(%r13)
movl %ecx, %eax
movl -0xac(%rbp), %ecx
cmpl $-0x1, %ecx
je 0x143ce
cmpl %eax, %ecx
jge 0x143ce
movabsq $0x100000000f, %rax     # imm = 0x100000000F
movq %rax, 0x18(%r13)
cmpl $0x1, 0x18(%r13)
ja 0x14556
movq 0x10(%r13), %rax
movl 0x8(%r13), %ecx
movl %ecx, %edx
notl %edx
testb $0x3, %dl
jne 0x143ff
movaps 0x146af(%rip), %xmm0    # 0x28aa0
movaps %xmm0, -0x320(%rbp)
movl $0x4, %ecx
jmp 0x1443c
testb $0x1, %cl
jne 0x1441a
testb $0x2, %cl
jne 0x14426
movl $0x6, -0x320(%rbp)
movl $0x1, %ecx
jmp 0x1443c
movabsq $0x100000004, %rcx      # imm = 0x100000004
jmp 0x14430
movabsq $0x200000005, %rcx      # imm = 0x200000005
movq %rcx, -0x320(%rbp)
movl $0x2, %ecx
movq %rcx, -0x48(%rbp)
movq 0x48(%rax), %rcx
movq %rcx, -0x68(%rbp)
movl 0x5c(%rax), %ecx
movl %ecx, -0x60(%rbp)
movq 0x50(%rax), %rcx
movq %rcx, -0x30(%rbp)
movl 0x60(%rax), %ecx
movl %ecx, -0x38(%rbp)
movq 0x20(%rax), %rcx
movq %rcx, -0x88(%rbp)
movq 0x28(%rax), %rcx
movq %rcx, -0x80(%rbp)
movl 0x34(%rax), %ecx
movl %ecx, -0x78(%rbp)
movl 0x38(%rax), %eax
movl %eax, -0x70(%rbp)
movl $0xffffffff, -0x1ac(%rbp) # imm = 0xFFFFFFFF
xorl %ebx, %ebx
movl -0x60(%rbp), %r13d
movslq -0x320(%rbp,%rbx,4), %r15
movq -0x68(%rbp), %r12
movq %r12, %rdi
movl %r13d, %esi
callq *0x10f210(%r14,%r15,8)
movq -0x30(%rbp), %rdi
movl -0x38(%rbp), %esi
callq *0x10f210(%r14,%r15,8)
movq %r12, %rdi
movl %r13d, %esi
movq -0x88(%rbp), %rdx
movl -0x78(%rbp), %ecx
callq *0x10f2f8(%r14)
movl %eax, %r12d
movq -0x30(%rbp), %rdi
movl -0x38(%rbp), %esi
movq -0x80(%rbp), %rdx
movl -0x70(%rbp), %ecx
callq *0x10f2f8(%r14)
addl %r12d, %eax
leaq 0x14bc3(%rip), %rcx     # 0x290b0
movl (%rcx,%r15,4), %ecx
leaq 0x14778(%rip), %rdx     # 0x28c70
movl (%rdx,%rcx,4), %r14d
imull -0x200(%rbp), %r14d
addl %eax, %r14d
leaq 0x10ca6(%rip), %rdi     # 0x251b4
leaq 0x14bc7(%rip), %rsi     # 0x290dc
leaq 0x14bd5(%rip), %rdx     # 0x290f1
xorl %eax, %eax
callq 0x4c22
movl -0x1ac(%rbp), %eax
cmpl $-0x1, %eax
je 0x14533
cmpl %r14d, %eax
jle 0x14541
movl %r15d, -0x1a8(%rbp)
movl %r14d, -0x1ac(%rbp)
incq %rbx
cmpq %rbx, -0x48(%rbp)
movq -0x40(%rbp), %r14
jne 0x1448b
movq -0x58(%rbp), %r13
movl 0x18(%r13), %eax
cmpq $0xf, %rax
ja 0x147e6
leaq 0x14555(%rip), %rcx     # 0x28ac0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
xorl %eax, %eax
leaq -0x1ec(%rbp), %rsi
movq -0x208(%rbp), %rdi
leaq 0x13765(%rip), %r8      # 0x27cf0
leaq 0x1374e(%rip), %r9      # 0x27ce0
movzbl (%rax,%r8), %ecx
movzbl (%rax,%r9), %edx
shll $0x4, %ecx
addq %rsi, %rcx
movl (%rcx,%rdx,4), %ecx
movl %ecx, (%rdi)
incq %rax
addq $0x84, %rdi
cmpq $0x10, %rax
jne 0x14592
jmp 0x146eb
cmpl $0x10, 0x1c(%r13)
jne 0x147ed
movl -0xc8(%rbp), %r8d
movl -0xc4(%rbp), %r9d
movl -0xc0(%rbp), %eax
movl %eax, (%rsp)
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x6b14
movl $0x0, (%rsp)
movq %r13, %rdi
movl $0x1, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
jmp 0x147cf
leaq -0x148(%rbp), %r15
xorl %ebx, %ebx
leaq 0x145b3(%rip), %r12     # 0x28bd0
movl -0x15c(%rbp,%rbx,4), %eax
movl %eax, 0x20(%r13,%rbx,4)
xorl %r14d, %r14d
movl -0x160(%rbp), %r8d
movl -0x4(%r15,%r14,8), %r9d
movl (%r15,%r14,8), %eax
movl %eax, (%rsp)
movq %r13, %rdi
xorl %esi, %esi
movl %ebx, %edx
movl %r14d, %ecx
callq 0x6b14
incq %r14
movslq 0x20(%r13,%rbx,4), %rax
movslq (%r12,%rax,4), %rax
cmpq %rax, %r14
jl 0x1462c
incq %rbx
addq $0x20, %r15
cmpq $0x4, %rbx
jne 0x1461d
jmp 0x147d4
cmpl $0x10, 0x1c(%r13)
jne 0x147f4
movl -0xc8(%rbp), %r8d
movl -0xc4(%rbp), %r9d
movl -0xc0(%rbp), %eax
movl %eax, (%rsp)
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
jmp 0x14721
movl 0x1c(%r13), %eax
cmpl $0xe, %eax
je 0x1474c
cmpl $0xf, %eax
je 0x14787
cmpl $0x10, %eax
jne 0x14802
movl -0x1a0(%rbp), %r8d
movl -0x19c(%rbp), %r9d
movl -0x198(%rbp), %eax
movl %eax, (%rsp)
movq %r13, %rdi
xorl %esi, %esi
jmp 0x14745
movl -0x1f4(%rbp), %eax
movl %eax, 0x2bc(%r13)
movl -0x1a8(%rbp), %eax
movl %eax, 0x2c0(%r13)
jmp 0x147d4
cmpl $0x10, 0x1c(%r13)
jne 0x147fb
movl $0x0, (%rsp)
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x6b14
movl -0xb8(%rbp), %r8d
movl -0xb4(%rbp), %r9d
movl -0xb0(%rbp), %eax
movl %eax, (%rsp)
movq %r13, %rdi
movl $0x1, %esi
xorl %edx, %edx
jmp 0x147cd
movl -0x190(%rbp), %r8d
movl -0x18c(%rbp), %r9d
movl -0x188(%rbp), %eax
movl %eax, (%rsp)
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x6b14
movl -0x190(%rbp), %r8d
movl -0x184(%rbp), %r9d
movl -0x180(%rbp), %eax
jmp 0x147c0
movl -0x178(%rbp), %r8d
movl -0x174(%rbp), %r9d
movl -0x170(%rbp), %eax
movl %eax, (%rsp)
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x6b14
movl -0x178(%rbp), %r8d
movl -0x16c(%rbp), %r9d
movl -0x168(%rbp), %eax
movl %eax, (%rsp)
movq %r13, %rdi
xorl %esi, %esi
movl $0x1, %edx
xorl %ecx, %ecx
callq 0x6b14
addq $0x418, %rsp            # imm = 0x418
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x2bf0
jmp 0x147d4
callq 0x2bac
jmp 0x147d4
callq 0x2b68
jmp 0x147d4
callq 0x2b8a
jmp 0x147d4
callq 0x2bce
jmp 0x147d4
nopl (%rax)