// File: /workspace/github_c_makefile_star2_O1/akumrao[P]videoAnalyzer/encoder/me.c
// Function: x264_me_diamond(x264_t*, unsigned char*, int, unsigned char*, int, int, int, int*, int*)
static int x264_me_diamond( x264_t *h,  
                                uint8_t *p_ref, int i_ref,  
                                uint8_t *p_img, int i_img,  
                                int i_sad_mode,  
                                int i_lambda_motion,  
                                int *pi_mvx, int *pi_mvy )  
    {  
        int bw, bh;  
        int i_bsatd;  
        int i_bmx, i_bmy;  
      
        /* block size */  
        switch( i_sad_mode )  
        {  
            case PIXEL_16x16:  
                bw = bh = 16;  
                break;  
            case PIXEL_16x8:  
                bw = 16; bh = 8;  
                break;  
            case PIXEL_8x16:  
                bw = 8; bh = 16;  
                break;  
            case PIXEL_8x8:  
                bw = 8; bh = 8;  
                break;  
            case PIXEL_8x4:  
                bw = 8; bh = 4;  
                break;  
            case PIXEL_4x8:  
                bw = 4; bh = 8;  
                break;  
            case PIXEL_4x4:  
            default:  
                bw = 4; bh = 4;  
                break;  
        }  
      
        /* init with center */  
        i_bmx = x264_clip3( (*pi_mvx)>>2, -16, 16 );  
        i_bmy = x264_clip3( (*pi_mvy)>>2, -16, 16 );  
        i_bsatd = h->pixf.sad[i_sad_mode]( p_img, i_img, &p_ref[i_bmy*i_ref+i_bmx], i_ref );  
      
        for( ;; )  
        {  
            int satd[4];  
            int i, i_b;  
            if( i_bmx < -16 || i_bmx > 16 || i_bmy < -16 || i_bmy > 16 )  
            {  
                break;  
            }  
    #define TEST_MV( mx, my ) \
            h->pixf.sad[i_sad_mode]( p_img, i_img, &p_ref[(my)*i_ref+(mx)], i_ref ) + \
                i_lambda_motion * ( bs_size_se(((mx)<<2) - (*pi_mvx))+bs_size_se(((my)<<2) - (*pi_mvy)) )  
            satd[0] = TEST_MV( i_bmx,   i_bmy-1 );  
            satd[1] = TEST_MV( i_bmx,   i_bmy+1 );  
            satd[2] = TEST_MV( i_bmx-1, i_bmy );  
            satd[3] = TEST_MV( i_bmx+1, i_bmy );  
    #undef TEST_MV  
      
            for( i = 1, i_b = 0; i < 4; i++ )  
            {  
                if( satd[i] < satd[i_b] )  
                {  
                    i_b = i;  
                }  
            }  
            if( satd[i_b] >= i_bsatd )  
            {  
                break;  
            }  
      
            if( i_b == 0 )      i_bmy--;  
            else if( i_b == 1 ) i_bmy++;  
            else if( i_b == 2 ) i_bmx--;  
            else if( i_b == 3 ) i_bmx++;  
            i_bsatd = satd[i_b];  
        }  
      
        /* 1/4 pixel rafinement using diamond research */  
        i_bsatd = h->pixf.satd[i_sad_mode]( p_img, i_img, &p_ref[i_bmx+i_bmy*i_ref], i_ref ) +  
                    i_lambda_motion * ( bs_size_se((i_bmx<<2) - (*pi_mvx))+bs_size_se((i_bmy<<2) - (*pi_mvy)) );  
        i_bmx <<= 2;  
        i_bmy <<= 2;  
        {  
            uint8_t pix[16*16];  
            int satd[4];  
            int i, i_b;  
      
    #define TEST_MV( s, mx, my ) \
            h->mc[MC_LUMA]( p_ref, i_ref, pix, bw, (mx), (my), bw, bh ); \
            (s) = h->pixf.satd[i_sad_mode]( p_img, i_img, pix, bw ) + \
                i_lambda_motion * ( bs_size_se((mx) - (*pi_mvx))+bs_size_se((my) - (*pi_mvy)) )  
      
            TEST_MV( satd[0], i_bmx,   i_bmy-1 );  
            TEST_MV( satd[1], i_bmx,   i_bmy+1 );  
            TEST_MV( satd[2], i_bmx-1, i_bmy );  
            TEST_MV( satd[3], i_bmx+1, i_bmy );  
            for( i = 1, i_b = 0; i < 4; i++ )  
            {  
                if( satd[i] < satd[i_b] )  
                {  
                    i_b = i;  
                }  
            }  
            if( satd[i_b] < i_bsatd )  
            {  
                if( i_b == 0 )      i_bmy--;  
                else if( i_b == 1 ) i_bmy++;  
                else if( i_b == 2 ) i_bmx--;  
                else if( i_b == 3 ) i_bmx++;  
                i_bsatd = satd[i_b];  
      
                if( i_b != 1 ) { TEST_MV( satd[0], i_bmx,   i_bmy-1 ); } else { satd[0] = i_bsatd; }  
                if( i_b != 0 ) { TEST_MV( satd[1], i_bmx,   i_bmy+1 ); } else { satd[1] = i_bsatd; }  
                if( i_b != 3 ) { TEST_MV( satd[2], i_bmx-1, i_bmy   ); } else { satd[2] = i_bsatd; }  
                if( i_b != 2 ) { TEST_MV( satd[3], i_bmx+1, i_bmy   ); } else { satd[3] = i_bsatd; }  
      
                for( i = 1, i_b = 0; i < 4; i++ )  
                {  
                    if( satd[i] < satd[i_b] )  
                    {  
                        i_b = i;  
                    }  
                }  
                if( satd[i_b] < i_bsatd )  
                {  
                    if( i_b == 0 )      i_bmy--;  
                    else if( i_b == 1 ) i_bmy++;  
                    else if( i_b == 2 ) i_bmx--;  
                    else if( i_b == 3 ) i_bmx++;  
                    i_bsatd = satd[i_b];  
                }  
            }  
    #undef TEST_MV  
        }  
      
      
        *pi_mvx = i_bmx;  
        *pi_mvy = i_bmy;  
      
        return i_bsatd;  
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movl %r8d, -0x30(%rbp)
movq %rcx, -0x60(%rbp)
movl %edx, -0x2c(%rbp)
movq %rsi, -0x58(%rbp)
movq %rdi, -0x68(%rbp)
movl $0x4, %eax
movq %rax, -0x90(%rbp)
movl $0x4, %eax
movq %rax, -0x88(%rbp)
cmpl $0x5, %r9d
ja 0x1cd38
movl %r9d, %eax
leaq 0xf88f(%rip), %rcx      # 0x2c5ac
movl (%rcx,%rax,4), %ecx
movq %rcx, -0x90(%rbp)
leaq 0xf896(%rip), %rcx      # 0x2c5c4
movl (%rcx,%rax,4), %eax
movq %rax, -0x88(%rbp)
movq 0x18(%rbp), %rax
movl (%rax), %ebx
sarl $0x2, %ebx
movl $0x10, %eax
cmpl %eax, %ebx
cmovgel %eax, %ebx
cmpl $-0xf, %ebx
movl $0xfffffff0, %ecx       # imm = 0xFFFFFFF0
cmovll %ecx, %ebx
movq 0x20(%rbp), %rdx
movl (%rdx), %r13d
sarl $0x2, %r13d
cmpl %eax, %r13d
cmovgel %eax, %r13d
cmpl $-0xf, %r13d
cmovll %ecx, %r13d
movslq %r9d, %r8
movl %r13d, %eax
movl -0x2c(%rbp), %ecx
imull %ecx, %eax
addl %ebx, %eax
movslq %eax, %rdx
addq -0x58(%rbp), %rdx
movq -0x60(%rbp), %rdi
movl -0x30(%rbp), %esi
movq -0x68(%rbp), %rax
movq %r8, -0x78(%rbp)
callq *0x10f2a8(%rax,%r8,8)
movl %eax, -0x4c(%rbp)
leal -0x11(%rbx), %ecx
xorl %eax, %eax
cmpl $-0x21, %ecx
jb 0x1d4c5
leal -0x11(%r13), %ecx
cmpl $-0x21, %ecx
jb 0x1d4c5
movq %r13, -0x38(%rbp)
leal -0x1(%r13), %r15d
movl %r15d, %eax
movl -0x2c(%rbp), %ecx
imull %ecx, %eax
addl %ebx, %eax
movslq %eax, %rdx
addq -0x58(%rbp), %rdx
movq -0x60(%rbp), %rdi
movl -0x30(%rbp), %esi
movq -0x68(%rbp), %rax
movq -0x78(%rbp), %r8
callq *0x10f2a8(%rax,%r8,8)
movl %eax, -0x48(%rbp)
movq %rbx, -0x40(%rbp)
leal (,%rbx,4), %r12d
movl %r12d, %r14d
movq 0x18(%rbp), %rax
subl (%rax), %r14d
leaq 0x83a9(%rip), %r13      # 0x251b4
movq %r13, %rdi
leaq 0xc2c7(%rip), %rbx      # 0x290dc
movq %rbx, %rsi
leaq 0xf7d1(%rip), %rdx      # 0x2c5f0
xorl %eax, %eax
callq 0x4c22
leal (%r14,%r14), %eax
negl %eax
testl %r14d, %r14d
leal -0x1(%r14,%r14), %r14d
cmovlel %eax, %r14d
movq %r13, %rdi
movq %rbx, %rsi
leaq 0xc2ac(%rip), %rdx      # 0x290f1
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r14d
ja 0x1ce65
movl %r14d, %eax
leaq 0xf351(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %r13d
jmp 0x1cea5
leal 0x1(%r14), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r14d          # imm = 0xFFFF
setae %dl
cmovbl %eax, %ecx
shll $0x5, %edx
leal 0x10(%rdx), %r13d
movl %ecx, %eax
shrl $0x8, %eax
decl %eax
cmpl $0x100, %ecx            # imm = 0x100
cmovbl %ecx, %eax
cmovbl %edx, %r13d
leaq 0xf30f(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rax,4), %r13d
movq %r15, -0x70(%rbp)
leal (,%r15,4), %r14d
movq 0x20(%rbp), %rax
subl (%rax), %r14d
leaq 0x82f5(%rip), %rbx      # 0x251b4
movq %rbx, %rdi
leaq 0xc213(%rip), %r15      # 0x290dc
movq %r15, %rsi
leaq 0xf71d(%rip), %rdx      # 0x2c5f0
xorl %eax, %eax
callq 0x4c22
leal (%r14,%r14), %eax
negl %eax
testl %r14d, %r14d
leal -0x1(%r14,%r14), %r14d
cmovlel %eax, %r14d
movq %rbx, %rdi
movq %r15, %rsi
leaq 0xc1f8(%rip), %rdx      # 0x290f1
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r14d
ja 0x1cf18
movl %r14d, %eax
leaq 0xf29d(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %eax
jmp 0x1cf55
leal 0x1(%r14), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r14d          # 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 0xf25e(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rsi,4), %eax
addl %r13d, %eax
imull 0x10(%rbp), %eax
addl -0x48(%rbp), %eax
movl %eax, -0x1c0(%rbp)
movq -0x38(%rbp), %r13
leal 0x1(%r13), %ecx
movq %rcx, %rax
movq %rcx, -0x48(%rbp)
movl -0x2c(%rbp), %ecx
imull %ecx, %eax
addl -0x40(%rbp), %eax
movslq %eax, %rdx
addq -0x58(%rbp), %rdx
movq -0x60(%rbp), %rdi
movl -0x30(%rbp), %esi
movq -0x68(%rbp), %rax
movq -0x78(%rbp), %r8
callq *0x10f2a8(%rax,%r8,8)
movl %eax, -0x98(%rbp)
movq 0x18(%rbp), %rax
subl (%rax), %r12d
leaq 0x8205(%rip), %rbx      # 0x251b4
movq %rbx, %rdi
leaq 0xc123(%rip), %r15      # 0x290dc
movq %r15, %rsi
leaq 0xf62d(%rip), %rdx      # 0x2c5f0
xorl %eax, %eax
callq 0x4c22
leal (%r12,%r12), %eax
negl %eax
testl %r12d, %r12d
leal -0x1(%r12,%r12), %r14d
cmovlel %eax, %r14d
movq %rbx, %rdi
movq %r15, %rsi
leaq 0xc108(%rip), %rdx      # 0x290f1
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r14d
ja 0x1d009
movl %r14d, %eax
leaq 0xf1ad(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %r12d
jmp 0x1d049
leal 0x1(%r14), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r14d          # imm = 0xFFFF
setae %dl
cmovbl %eax, %ecx
shll $0x5, %edx
leal 0x10(%rdx), %r12d
movl %ecx, %eax
shrl $0x8, %eax
decl %eax
cmpl $0x100, %ecx            # imm = 0x100
cmovbl %ecx, %eax
cmovbl %edx, %r12d
leaq 0xf16b(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rax,4), %r12d
movq -0x48(%rbp), %rax
leal (,%rax,4), %r14d
movq 0x20(%rbp), %rax
subl (%rax), %r14d
leaq 0x8151(%rip), %rbx      # 0x251b4
movq %rbx, %rdi
leaq 0xc06f(%rip), %r15      # 0x290dc
movq %r15, %rsi
leaq 0xf579(%rip), %rdx      # 0x2c5f0
xorl %eax, %eax
callq 0x4c22
leal (%r14,%r14), %eax
negl %eax
testl %r14d, %r14d
leal -0x1(%r14,%r14), %r14d
cmovlel %eax, %r14d
movq %rbx, %rdi
movq %r15, %rsi
leaq 0xc054(%rip), %rdx      # 0x290f1
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r14d
ja 0x1d0bc
movl %r14d, %eax
leaq 0xf0f9(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %eax
jmp 0x1d0f9
leal 0x1(%r14), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r14d          # 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 0xf0ba(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rsi,4), %eax
addl %r12d, %eax
imull 0x10(%rbp), %eax
addl -0x98(%rbp), %eax
movl %eax, -0x1bc(%rbp)
movl -0x2c(%rbp), %ecx
imull %ecx, %r13d
movq -0x40(%rbp), %rbx
movq %r13, -0x98(%rbp)
leal (%rbx,%r13), %eax
decl %eax
movslq %eax, %rdx
addq -0x58(%rbp), %rdx
movq -0x60(%rbp), %rdi
movl -0x30(%rbp), %esi
movq -0x68(%rbp), %rax
movq -0x78(%rbp), %r8
callq *0x10f2a8(%rax,%r8,8)
movl %eax, -0x7c(%rbp)
leal -0x4(,%rbx,4), %r14d
movq 0x18(%rbp), %rax
subl (%rax), %r14d
leaq 0x8059(%rip), %r12      # 0x251b4
movq %r12, %rdi
leaq 0xbf77(%rip), %rbx      # 0x290dc
movq %rbx, %rsi
leaq 0xf481(%rip), %rdx      # 0x2c5f0
xorl %eax, %eax
callq 0x4c22
leal (%r14,%r14), %eax
negl %eax
testl %r14d, %r14d
leal -0x1(%r14,%r14), %r14d
cmovlel %eax, %r14d
movq %r12, %rdi
movq %rbx, %rsi
leaq 0xbf5c(%rip), %rdx      # 0x290f1
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r14d
ja 0x1d1b5
movl %r14d, %eax
leaq 0xf001(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %r14d
jmp 0x1d1f5
leal 0x1(%r14), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r14d          # 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 0xefbf(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rax,4), %r14d
movq -0x38(%rbp), %rax
leal (,%rax,4), %r12d
movl %r12d, %r15d
movq 0x20(%rbp), %rax
subl (%rax), %r15d
leaq 0x7fa2(%rip), %rbx      # 0x251b4
movq %rbx, %rdi
leaq 0xbec0(%rip), %r13      # 0x290dc
movq %r13, %rsi
leaq 0xf3ca(%rip), %rdx      # 0x2c5f0
xorl %eax, %eax
callq 0x4c22
leal (%r15,%r15), %eax
negl %eax
testl %r15d, %r15d
leal -0x1(%r15,%r15), %r15d
cmovlel %eax, %r15d
movq %rbx, %rdi
movq %r13, %rsi
leaq 0xbea5(%rip), %rdx      # 0x290f1
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r15d
ja 0x1d26b
movl %r15d, %eax
leaq 0xef4a(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %eax
jmp 0x1d2a8
leal 0x1(%r15), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r15d          # 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 0xef0b(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rsi,4), %eax
addl %r14d, %eax
imull 0x10(%rbp), %eax
addl -0x7c(%rbp), %eax
movl %eax, -0x1b8(%rbp)
movq -0x40(%rbp), %r14
movq -0x98(%rbp), %rax
addl %r14d, %eax
incl %eax
movslq %eax, %rdx
addq -0x58(%rbp), %rdx
movq -0x60(%rbp), %rdi
movl -0x30(%rbp), %esi
movl -0x2c(%rbp), %ecx
movq -0x68(%rbp), %rax
movq -0x78(%rbp), %r8
callq *0x10f2a8(%rax,%r8,8)
movl %eax, -0x98(%rbp)
leal 0x4(,%r14,4), %r14d
movq 0x18(%rbp), %rax
subl (%rax), %r14d
leaq 0x7eaf(%rip), %r15      # 0x251b4
movq %r15, %rdi
leaq 0xbdcd(%rip), %rbx      # 0x290dc
movq %rbx, %rsi
leaq 0xf2d7(%rip), %rdx      # 0x2c5f0
xorl %eax, %eax
callq 0x4c22
leal (%r14,%r14), %eax
negl %eax
testl %r14d, %r14d
leal -0x1(%r14,%r14), %r14d
cmovlel %eax, %r14d
movq %r15, %rdi
movq %rbx, %rsi
leaq 0xbdb2(%rip), %rdx      # 0x290f1
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r14d
ja 0x1d35f
movl %r14d, %eax
leaq 0xee57(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %r14d
jmp 0x1d39f
leal 0x1(%r14), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r14d          # 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 0xee15(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rax,4), %r14d
movq 0x20(%rbp), %rax
subl (%rax), %r12d
leaq 0x7e07(%rip), %rbx      # 0x251b4
movq %rbx, %rdi
leaq 0xbd25(%rip), %r13      # 0x290dc
movq %r13, %rsi
leaq 0xf22f(%rip), %rdx      # 0x2c5f0
xorl %eax, %eax
callq 0x4c22
leal (%r12,%r12), %eax
negl %eax
testl %r12d, %r12d
leal -0x1(%r12,%r12), %r15d
cmovlel %eax, %r15d
movq %rbx, %rdi
movq %r13, %rsi
leaq 0xbd0a(%rip), %rdx      # 0x290f1
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r15d
ja 0x1d406
movl %r15d, %eax
leaq 0xedaf(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %eax
jmp 0x1d443
leal 0x1(%r15), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r15d          # 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 0xed70(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rsi,4), %eax
addl %r14d, %eax
movq -0x40(%rbp), %rbx
leal -0x1(%rbx), %ecx
leal 0x1(%rbx), %edx
imull 0x10(%rbp), %eax
addl -0x98(%rbp), %eax
movl %eax, -0x1b4(%rbp)
xorl %edi, %edi
movl $0x1, %eax
movq -0x70(%rbp), %r10
movq -0x38(%rbp), %r13
movl -0x1c0(%rbp,%rax,4), %r8d
movslq %edi, %r9
movl %eax, %esi
cmpl -0x1c0(%rbp,%r9,4), %r8d
jl 0x1d488
movl %edi, %esi
incq %rax
movl %esi, %edi
cmpq $0x4, %rax
jne 0x1d46f
movslq %esi, %rax
movl -0x1c0(%rbp,%rax,4), %edi
cmpl -0x4c(%rbp), %edi
jge 0x1d4c3
movb $0x1, %al
cmpl $0x3, %esi
ja 0x1d4e9
movl %esi, %esi
leaq 0xec0e(%rip), %r8       # 0x2c0c0
movslq (%r8,%rsi,4), %rsi
addq %r8, %rsi
jmpq *%rsi
movl %edi, -0x4c(%rbp)
movl %r10d, %r13d
jmp 0x1d4c5
xorl %eax, %eax
testb %al, %al
jne 0x1cd9f
jmp 0x1d4ee
movl %edi, -0x4c(%rbp)
movl %ecx, %ebx
jmp 0x1d4c5
movl %edi, -0x4c(%rbp)
movl %edx, %ebx
jmp 0x1d4c5
movl %edi, -0x4c(%rbp)
movq -0x48(%rbp), %rcx
movl %ecx, %r13d
jmp 0x1d4c5
movl %edi, -0x4c(%rbp)
jmp 0x1d4c5
movl %r13d, %eax
movl -0x2c(%rbp), %ecx
imull %ecx, %eax
addl %ebx, %eax
movslq %eax, %rdx
addq -0x58(%rbp), %rdx
movq -0x60(%rbp), %rdi
movl -0x30(%rbp), %esi
movq -0x68(%rbp), %rax
movq -0x78(%rbp), %r8
callq *0x10f2e0(%rax,%r8,8)
movl %eax, -0x98(%rbp)
shll $0x2, %ebx
movq %rbx, -0x40(%rbp)
movq %rbx, %r15
movq 0x18(%rbp), %rax
subl (%rax), %r15d
leaq 0x7c7f(%rip), %rbx      # 0x251b4
leaq 0xbba0(%rip), %r14      # 0x290dc
leaq 0xf0ad(%rip), %rdx      # 0x2c5f0
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x4c22
leal (%r15,%r15), %eax
negl %eax
testl %r15d, %r15d
leal -0x1(%r15,%r15), %r15d
cmovlel %eax, %r15d
leaq 0xbb88(%rip), %rdx      # 0x290f1
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r15d
ja 0x1d591
movl %r15d, %eax
leaq 0xec27(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %eax
movl %eax, -0x7c(%rbp)
jmp 0x1d5d1
leal 0x1(%r15), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r15d          # imm = 0xFFFF
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 0xebe5(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rax,4), %esi
movl %esi, -0x7c(%rbp)
shll $0x2, %r13d
movl %r13d, %r15d
movq 0x20(%rbp), %rax
subl (%rax), %r15d
leaq 0x7bce(%rip), %rbx      # 0x251b4
leaq 0xbaef(%rip), %r14      # 0x290dc
leaq 0xeffc(%rip), %rdx      # 0x2c5f0
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x4c22
leal (%r15,%r15), %eax
negl %eax
testl %r15d, %r15d
leal -0x1(%r15,%r15), %r15d
cmovlel %eax, %r15d
leaq 0xbad7(%rip), %rdx      # 0x290f1
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r15d
ja 0x1d642
movl %r15d, %eax
leaq 0xeb76(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %eax
movl %eax, -0x48(%rbp)
jmp 0x1d682
leal 0x1(%r15), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r15d          # imm = 0xFFFF
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 0xeb34(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rax,4), %esi
movl %esi, -0x48(%rbp)
leal -0x1(%r13), %r9d
leaq -0x1c0(%rbp), %rbx
movq -0x58(%rbp), %rdi
movl -0x2c(%rbp), %esi
movq %rbx, %rdx
movq -0x90(%rbp), %r15
movl %r15d, %ecx
movq -0x40(%rbp), %r12
movl %r12d, %r8d
movq %r9, -0x70(%rbp)
pushq -0x88(%rbp)
pushq %r15
movq -0x68(%rbp), %r14
callq *0x10f380(%r14)
addq $0x10, %rsp
movq -0x60(%rbp), %rdi
movl -0x30(%rbp), %esi
movq %rbx, %rdx
movl %r15d, %ecx
movq -0x78(%rbp), %rax
callq *0x10f2e0(%r14,%rax,8)
movl %eax, %r14d
movq 0x18(%rbp), %rax
subl (%rax), %r12d
leaq 0x7ac7(%rip), %rbx      # 0x251b4
leaq 0xb9e8(%rip), %r15      # 0x290dc
leaq 0xeef5(%rip), %rdx      # 0x2c5f0
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x4c22
leal (%r12,%r12), %eax
negl %eax
testl %r12d, %r12d
leal -0x1(%r12,%r12), %r12d
cmovlel %eax, %r12d
leaq 0xb9d0(%rip), %rdx      # 0x290f1
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r12d
movq %r13, -0x38(%rbp)
ja 0x1d74b
movl %r12d, %eax
leaq 0xea6b(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %r12d
jmp 0x1d78c
leal 0x1(%r12), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r12d          # imm = 0xFFFF
setae %dl
cmovbl %eax, %ecx
shll $0x5, %edx
leal 0x10(%rdx), %r12d
movl %ecx, %eax
shrl $0x8, %eax
decl %eax
cmpl $0x100, %ecx            # imm = 0x100
cmovbl %ecx, %eax
cmovbl %edx, %r12d
leaq 0xea28(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rax,4), %r12d
movq -0x70(%rbp), %r13
movq 0x20(%rbp), %rax
subl (%rax), %r13d
leaq 0x7a16(%rip), %rbx      # 0x251b4
leaq 0xb937(%rip), %r15      # 0x290dc
leaq 0xee44(%rip), %rdx      # 0x2c5f0
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x4c22
leal (,%r13,2), %eax
negl %eax
testl %r13d, %r13d
leal -0x1(%r13,%r13), %r13d
cmovlel %eax, %r13d
leaq 0xb91b(%rip), %rdx      # 0x290f1
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r13d
ja 0x1d7fb
movl %r13d, %eax
leaq 0xe9ba(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %eax
jmp 0x1d838
leal 0x1(%r13), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r13d          # 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 0xe97b(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rsi,4), %eax
movq -0x40(%rbp), %r15
addl %r12d, %eax
imull 0x10(%rbp), %eax
addl %r14d, %eax
movl %eax, -0xb0(%rbp)
movq -0x38(%rbp), %rax
movl %eax, %r13d
orl $0x1, %r13d
leaq -0x1c0(%rbp), %rbx
movq -0x58(%rbp), %rdi
movl -0x2c(%rbp), %esi
movq %rbx, %rdx
movq -0x90(%rbp), %r12
movl %r12d, %ecx
movl %r15d, %r8d
movl %r13d, %r9d
pushq -0x88(%rbp)
pushq %r12
movq -0x68(%rbp), %r14
callq *0x10f380(%r14)
addq $0x10, %rsp
movq -0x60(%rbp), %rdi
movl -0x30(%rbp), %esi
movq %rbx, %rdx
movl %r12d, %ecx
movq -0x78(%rbp), %rax
callq *0x10f2e0(%r14,%rax,8)
movq %r15, %r14
movl %eax, %r15d
movq 0x18(%rbp), %rax
subl (%rax), %r14d
leaq 0x78f8(%rip), %rbx      # 0x251b4
leaq 0xb819(%rip), %r12      # 0x290dc
leaq 0xed26(%rip), %rdx      # 0x2c5f0
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x4c22
leal (%r14,%r14), %eax
negl %eax
testl %r14d, %r14d
leal -0x1(%r14,%r14), %r14d
cmovlel %eax, %r14d
leaq 0xb801(%rip), %rdx      # 0x290f1
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r14d
ja 0x1d916
movl %r14d, %eax
leaq 0xe8a0(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %r14d
jmp 0x1d956
leal 0x1(%r14), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r14d          # 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 0xe85e(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rax,4), %r14d
movl %r13d, -0x4c(%rbp)
movq 0x20(%rbp), %rax
subl (%rax), %r13d
leaq 0x784c(%rip), %rbx      # 0x251b4
leaq 0xb76d(%rip), %r12      # 0x290dc
leaq 0xec7a(%rip), %rdx      # 0x2c5f0
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x4c22
leal (,%r13,2), %eax
negl %eax
testl %r13d, %r13d
leal -0x1(%r13,%r13), %r13d
cmovlel %eax, %r13d
leaq 0xb751(%rip), %rdx      # 0x290f1
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r13d
ja 0x1d9c5
movl %r13d, %eax
leaq 0xe7f0(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %eax
jmp 0x1da02
leal 0x1(%r13), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r13d          # 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 0xe7b1(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rsi,4), %eax
addl %r14d, %eax
imull 0x10(%rbp), %eax
addl %r15d, %eax
movl %eax, -0xac(%rbp)
movq -0x40(%rbp), %rax
leal -0x1(%rax), %r13d
leaq -0x1c0(%rbp), %rbx
movq -0x58(%rbp), %rdi
movl -0x2c(%rbp), %esi
movq %rbx, %rdx
movq -0x90(%rbp), %r15
movl %r15d, %ecx
movl %r13d, %r8d
movq -0x38(%rbp), %r9
pushq -0x88(%rbp)
pushq %r15
movq -0x68(%rbp), %r14
callq *0x10f380(%r14)
addq $0x10, %rsp
movq -0x60(%rbp), %rdi
movl -0x30(%rbp), %esi
movq %rbx, %rdx
movl %r15d, %ecx
movq -0x78(%rbp), %rax
callq *0x10f2e0(%r14,%rax,8)
movl %eax, %r12d
movl %r13d, -0xb4(%rbp)
movl %r13d, %r14d
movq 0x18(%rbp), %rax
subl (%rax), %r14d
leaq 0x772d(%rip), %rbx      # 0x251b4
leaq 0xb64e(%rip), %r13      # 0x290dc
leaq 0xeb5b(%rip), %rdx      # 0x2c5f0
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x4c22
leal (%r14,%r14), %eax
negl %eax
testl %r14d, %r14d
leal -0x1(%r14,%r14), %r14d
cmovlel %eax, %r14d
leaq 0xb636(%rip), %rdx      # 0x290f1
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r14d
ja 0x1dae1
movl %r14d, %eax
leaq 0xe6d5(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %r14d
jmp 0x1db21
leal 0x1(%r14), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r14d          # 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 0xe693(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rax,4), %r14d
movq -0x38(%rbp), %r15
movq 0x20(%rbp), %rax
subl (%rax), %r15d
leaq 0x7681(%rip), %rbx      # 0x251b4
leaq 0xb5a2(%rip), %r13      # 0x290dc
leaq 0xeaaf(%rip), %rdx      # 0x2c5f0
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x4c22
leal (%r15,%r15), %eax
negl %eax
testl %r15d, %r15d
leal -0x1(%r15,%r15), %r15d
cmovlel %eax, %r15d
leaq 0xb58a(%rip), %rdx      # 0x290f1
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r15d
ja 0x1db8c
movl %r15d, %eax
leaq 0xe629(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %eax
jmp 0x1dbc9
leal 0x1(%r15), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r15d          # 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 0xe5ea(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rsi,4), %eax
movl -0x48(%rbp), %ecx
addl %r14d, %eax
addl -0x7c(%rbp), %ecx
movl %ecx, -0x48(%rbp)
imull 0x10(%rbp), %eax
addl %r12d, %eax
movl %eax, -0xa8(%rbp)
movq -0x40(%rbp), %rax
movl %eax, %r12d
orl $0x1, %r12d
leaq -0x1c0(%rbp), %rbx
movq -0x58(%rbp), %rdi
movl -0x2c(%rbp), %esi
movq %rbx, %rdx
movq -0x90(%rbp), %r15
movl %r15d, %ecx
movl %r12d, %r8d
movq -0x38(%rbp), %r13
movl %r13d, %r9d
pushq -0x88(%rbp)
pushq %r15
movq -0x68(%rbp), %r14
callq *0x10f380(%r14)
addq $0x10, %rsp
movq -0x60(%rbp), %rdi
movl -0x30(%rbp), %esi
movq %rbx, %rdx
movl %r15d, %ecx
movq -0x78(%rbp), %rax
callq *0x10f2e0(%r14,%rax,8)
movl %eax, -0x7c(%rbp)
movl %r12d, %r14d
movq 0x18(%rbp), %rax
subl (%rax), %r14d
leaq 0x755e(%rip), %rbx      # 0x251b4
leaq 0xb47f(%rip), %r15      # 0x290dc
leaq 0xe98c(%rip), %rdx      # 0x2c5f0
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x4c22
leal (%r14,%r14), %eax
negl %eax
testl %r14d, %r14d
leal -0x1(%r14,%r14), %r14d
cmovlel %eax, %r14d
leaq 0xb467(%rip), %rdx      # 0x290f1
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r14d
ja 0x1dcb0
movl %r14d, %eax
leaq 0xe506(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %r14d
jmp 0x1dcf0
leal 0x1(%r14), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r14d          # 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 0xe4c4(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rax,4), %r14d
movl -0x48(%rbp), %eax
imull 0x10(%rbp), %eax
movl %eax, -0x48(%rbp)
movq 0x20(%rbp), %rax
subl (%rax), %r13d
leaq 0x74ac(%rip), %rbx      # 0x251b4
leaq 0xb3cd(%rip), %r15      # 0x290dc
leaq 0xe8da(%rip), %rdx      # 0x2c5f0
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x4c22
leal (,%r13,2), %eax
negl %eax
testl %r13d, %r13d
leal -0x1(%r13,%r13), %r13d
cmovlel %eax, %r13d
leaq 0xb3b1(%rip), %rdx      # 0x290f1
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r13d
ja 0x1dd65
movl %r13d, %eax
leaq 0xe450(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %eax
jmp 0x1dda2
leal 0x1(%r13), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r13d          # 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 0xe411(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rsi,4), %eax
movq -0x40(%rbp), %r15
addl %r14d, %eax
movl -0x48(%rbp), %edi
addl -0x98(%rbp), %edi
imull 0x10(%rbp), %eax
addl -0x7c(%rbp), %eax
movl %eax, -0xa4(%rbp)
xorl %ecx, %ecx
movl $0x1, %eax
movl -0xb0(%rbp,%rax,4), %edx
movslq %ecx, %rsi
movl %eax, %r13d
cmpl -0xb0(%rbp,%rsi,4), %edx
jl 0x1dddf
movl %ecx, %r13d
incq %rax
movl %r13d, %ecx
cmpq $0x4, %rax
jne 0x1ddc6
movslq %r13d, %rax
movl -0xb0(%rbp,%rax,4), %r8d
cmpl %edi, %r8d
jge 0x1de19
cmpl $0x3, %r13d
ja 0x1de33
movl %r13d, %eax
leaq 0xe2c5(%rip), %rcx      # 0x2c0d0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x4c(%rbp), %eax
jmp 0x1de37
movq -0x38(%rbp), %rax
movl %eax, %r13d
jmp 0x1e5ba
movl -0xb4(%rbp), %eax
movl %eax, %r15d
jmp 0x1de33
movl %r12d, %r15d
movq -0x38(%rbp), %rax
movq %rax, -0x70(%rbp)
movl %r8d, %eax
cmpl $0x1, %r13d
movq %r15, -0x40(%rbp)
movl %r8d, -0x38(%rbp)
je 0x1e005
movq -0x70(%rbp), %rax
leal -0x1(%rax), %ebx
leaq -0x1c0(%rbp), %rdx
movq -0x58(%rbp), %rdi
movl -0x2c(%rbp), %esi
movq -0x90(%rbp), %r14
movl %r14d, %ecx
movl %r15d, %r8d
movl %ebx, %r9d
pushq -0x88(%rbp)
pushq %r14
movq -0x68(%rbp), %r12
callq *0x10f380(%r12)
addq $0x10, %rsp
movq -0x60(%rbp), %rdi
movl -0x30(%rbp), %esi
leaq -0x1c0(%rbp), %rdx
movl %r14d, %ecx
movq -0x78(%rbp), %rax
callq *0x10f2e0(%r12,%rax,8)
movl %eax, -0x48(%rbp)
movl %r15d, %r14d
movq 0x18(%rbp), %rax
subl (%rax), %r14d
leaq 0x72f6(%rip), %r15      # 0x251b4
leaq 0xb217(%rip), %r12      # 0x290dc
leaq 0xe724(%rip), %rdx      # 0x2c5f0
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x4c22
leal (%r14,%r14), %eax
negl %eax
testl %r14d, %r14d
leal -0x1(%r14,%r14), %r14d
cmovlel %eax, %r14d
leaq 0xb1ff(%rip), %rdx      # 0x290f1
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r14d
ja 0x1df18
movl %r14d, %eax
leaq 0xe29e(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %r14d
jmp 0x1df58
leal 0x1(%r14), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r14d          # 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 0xe25c(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rax,4), %r14d
movq 0x20(%rbp), %rax
subl (%rax), %ebx
leaq 0x724f(%rip), %r15      # 0x251b4
leaq 0xb170(%rip), %r12      # 0x290dc
leaq 0xe67d(%rip), %rdx      # 0x2c5f0
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x4c22
leal (%rbx,%rbx), %eax
negl %eax
testl %ebx, %ebx
leal -0x1(%rbx,%rbx), %ebx
cmovlel %eax, %ebx
leaq 0xb15c(%rip), %rdx      # 0x290f1
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %ebx
ja 0x1dfb8
movl %ebx, %eax
leaq 0xe1fd(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %eax
jmp 0x1dff3
leal 0x1(%rbx), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %ebx           # 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 0xe1c0(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rsi,4), %eax
movq -0x40(%rbp), %r15
movl -0x38(%rbp), %r8d
addl %r14d, %eax
imull 0x10(%rbp), %eax
addl -0x48(%rbp), %eax
movl %eax, -0xb0(%rbp)
movl %r8d, %eax
testl %r13d, %r13d
je 0x1e1cc
movq -0x70(%rbp), %rax
leal 0x1(%rax), %ebx
leaq -0x1c0(%rbp), %rdx
movq -0x58(%rbp), %rdi
movl -0x2c(%rbp), %esi
movq -0x90(%rbp), %r14
movl %r14d, %ecx
movl %r15d, %r8d
movl %ebx, %r9d
pushq -0x88(%rbp)
pushq %r14
movq -0x68(%rbp), %r12
callq *0x10f380(%r12)
addq $0x10, %rsp
movq -0x60(%rbp), %rdi
movl -0x30(%rbp), %esi
leaq -0x1c0(%rbp), %rdx
movl %r14d, %ecx
movq -0x78(%rbp), %rax
callq *0x10f2e0(%r12,%rax,8)
movl %eax, -0x48(%rbp)
movl %r15d, %r14d
movq 0x18(%rbp), %rax
subl (%rax), %r14d
leaq 0x712f(%rip), %r15      # 0x251b4
leaq 0xb050(%rip), %r12      # 0x290dc
leaq 0xe55d(%rip), %rdx      # 0x2c5f0
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x4c22
leal (%r14,%r14), %eax
negl %eax
testl %r14d, %r14d
leal -0x1(%r14,%r14), %r14d
cmovlel %eax, %r14d
leaq 0xb038(%rip), %rdx      # 0x290f1
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r14d
ja 0x1e0df
movl %r14d, %eax
leaq 0xe0d7(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %r14d
jmp 0x1e11f
leal 0x1(%r14), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r14d          # 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 0xe095(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rax,4), %r14d
movq 0x20(%rbp), %rax
subl (%rax), %ebx
leaq 0x7088(%rip), %r15      # 0x251b4
leaq 0xafa9(%rip), %r12      # 0x290dc
leaq 0xe4b6(%rip), %rdx      # 0x2c5f0
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x4c22
leal (%rbx,%rbx), %eax
negl %eax
testl %ebx, %ebx
leal -0x1(%rbx,%rbx), %ebx
cmovlel %eax, %ebx
leaq 0xaf95(%rip), %rdx      # 0x290f1
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %ebx
ja 0x1e17f
movl %ebx, %eax
leaq 0xe036(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %eax
jmp 0x1e1ba
leal 0x1(%rbx), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %ebx           # 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 0xdff9(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rsi,4), %eax
movq -0x40(%rbp), %r15
movl -0x38(%rbp), %r8d
addl %r14d, %eax
imull 0x10(%rbp), %eax
addl -0x48(%rbp), %eax
movl %eax, -0xac(%rbp)
movl %r8d, %eax
cmpl $0x3, %r13d
je 0x1e391
leal -0x1(%r15), %ebx
leaq -0x1c0(%rbp), %r14
movq -0x58(%rbp), %rdi
movl -0x2c(%rbp), %esi
movq %r14, %rdx
movq -0x90(%rbp), %r12
movl %r12d, %ecx
movl %ebx, %r8d
movq -0x70(%rbp), %r9
pushq -0x88(%rbp)
pushq %r12
movq -0x68(%rbp), %r15
callq *0x10f380(%r15)
addq $0x10, %rsp
movq -0x60(%rbp), %rdi
movl -0x30(%rbp), %esi
movq %r14, %rdx
movl %r12d, %ecx
movq -0x78(%rbp), %rax
callq *0x10f2e0(%r15,%rax,8)
movl %eax, -0x48(%rbp)
movq 0x18(%rbp), %rax
subl (%rax), %ebx
leaq 0x6f6f(%rip), %r15      # 0x251b4
leaq 0xae90(%rip), %r12      # 0x290dc
leaq 0xe39d(%rip), %rdx      # 0x2c5f0
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x4c22
leal (%rbx,%rbx), %eax
negl %eax
testl %ebx, %ebx
leal -0x1(%rbx,%rbx), %ebx
cmovlel %eax, %ebx
leaq 0xae7c(%rip), %rdx      # 0x290f1
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %ebx
ja 0x1e299
movl %ebx, %eax
leaq 0xdf1d(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %r12d
jmp 0x1e2d7
leal 0x1(%rbx), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %ebx           # imm = 0xFFFF
setae %dl
cmovbl %eax, %ecx
shll $0x5, %edx
leal 0x10(%rdx), %r12d
movl %ecx, %eax
shrl $0x8, %eax
decl %eax
cmpl $0x100, %ecx            # imm = 0x100
cmovbl %ecx, %eax
cmovbl %edx, %r12d
leaq 0xdedd(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rax,4), %r12d
movq -0x70(%rbp), %r14
movq 0x20(%rbp), %rax
subl (%rax), %r14d
leaq 0x6ecb(%rip), %rbx      # 0x251b4
leaq 0xadec(%rip), %r15      # 0x290dc
leaq 0xe2f9(%rip), %rdx      # 0x2c5f0
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x4c22
leal (%r14,%r14), %eax
negl %eax
testl %r14d, %r14d
leal -0x1(%r14,%r14), %r14d
cmovlel %eax, %r14d
leaq 0xadd4(%rip), %rdx      # 0x290f1
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r14d
ja 0x1e342
movl %r14d, %eax
leaq 0xde73(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %eax
jmp 0x1e37f
leal 0x1(%r14), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r14d          # 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 0xde34(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rsi,4), %eax
movq -0x40(%rbp), %r15
movl -0x38(%rbp), %r8d
addl %r12d, %eax
imull 0x10(%rbp), %eax
addl -0x48(%rbp), %eax
movl %eax, -0xa8(%rbp)
movl %r8d, %eax
cmpl $0x2, %r13d
movq -0x70(%rbp), %r13
je 0x1e55d
leal 0x1(%r15), %ebx
leaq -0x1c0(%rbp), %r14
movq -0x58(%rbp), %rdi
movl -0x2c(%rbp), %esi
movq %r14, %rdx
movq -0x90(%rbp), %r12
movl %r12d, %ecx
movl %ebx, %r8d
movl %r13d, %r9d
pushq -0x88(%rbp)
pushq %r12
movq -0x68(%rbp), %r15
callq *0x10f380(%r15)
addq $0x10, %rsp
movq -0x60(%rbp), %rdi
movl -0x30(%rbp), %esi
movq %r14, %rdx
movl %r12d, %ecx
movq -0x78(%rbp), %rax
callq *0x10f2e0(%r15,%rax,8)
movl %eax, %r14d
movq 0x18(%rbp), %rax
subl (%rax), %ebx
leaq 0x6da7(%rip), %r15      # 0x251b4
leaq 0xacc8(%rip), %r12      # 0x290dc
leaq 0xe1d5(%rip), %rdx      # 0x2c5f0
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x4c22
leal (%rbx,%rbx), %eax
negl %eax
testl %ebx, %ebx
leal -0x1(%rbx,%rbx), %ebx
cmovlel %eax, %ebx
leaq 0xacb4(%rip), %rdx      # 0x290f1
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %ebx
ja 0x1e461
movl %ebx, %eax
leaq 0xdd55(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %r12d
jmp 0x1e49f
leal 0x1(%rbx), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %ebx           # imm = 0xFFFF
setae %dl
cmovbl %eax, %ecx
shll $0x5, %edx
leal 0x10(%rdx), %r12d
movl %ecx, %eax
shrl $0x8, %eax
decl %eax
cmpl $0x100, %ecx            # imm = 0x100
cmovbl %ecx, %eax
cmovbl %edx, %r12d
leaq 0xdd15(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rax,4), %r12d
movq 0x20(%rbp), %rax
subl (%rax), %r13d
leaq 0x6d07(%rip), %rbx      # 0x251b4
leaq 0xac28(%rip), %r15      # 0x290dc
leaq 0xe135(%rip), %rdx      # 0x2c5f0
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x4c22
leal (,%r13,2), %eax
negl %eax
testl %r13d, %r13d
leal -0x1(%r13,%r13), %r13d
cmovlel %eax, %r13d
leaq 0xac0c(%rip), %rdx      # 0x290f1
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x4c22
cmpl $0xfe, %r13d
ja 0x1e50a
movl %r13d, %eax
leaq 0xdcab(%rip), %rcx      # 0x2c1b0
movl (%rcx,%rax,4), %eax
jmp 0x1e547
leal 0x1(%r13), %eax
movl %eax, %ecx
shrl $0x10, %ecx
decl %ecx
xorl %edx, %edx
cmpl $0xffff, %r13d          # 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 0xdc6c(%rip), %rcx      # 0x2c1b0
addl (%rcx,%rsi,4), %eax
movq -0x40(%rbp), %r15
movl -0x38(%rbp), %r8d
addl %r12d, %eax
imull 0x10(%rbp), %eax
addl %r14d, %eax
movq -0x70(%rbp), %r13
movl %eax, -0xa4(%rbp)
xorl %edx, %edx
movl $0x1, %eax
movl -0xb0(%rbp,%rax,4), %esi
movslq %edx, %rdi
movl %eax, %ecx
cmpl -0xb0(%rbp,%rdi,4), %esi
jl 0x1e581
movl %edx, %ecx
incq %rax
movl %ecx, %edx
cmpq $0x4, %rax
jne 0x1e56a
movslq %ecx, %rax
movl -0xb0(%rbp,%rax,4), %edi
cmpl %r8d, %edi
jge 0x1e5b7
cmpl $0x3, %ecx
ja 0x1e5ba
movl %ecx, %eax
leaq 0xdb37(%rip), %rcx      # 0x2c0e0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
decl %r13d
jmp 0x1e5ba
movl %r8d, %edi
movq 0x18(%rbp), %rax
movl %r15d, (%rax)
movq 0x20(%rbp), %rax
movl %r13d, (%rax)
movl %edi, %eax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
decl %r15d
jmp 0x1e5ba
incl %r15d
jmp 0x1e5ba
incl %r13d
jmp 0x1e5ba