// File: /workspace/github_cpp_makefile_star2_O1/sisong[P]ApkDiffPatch/HDiffPatch/libHDiffPatch/HDiff/diff.cpp
// Function: (anonymous namespace)::get_diff(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*, (anonymous namespace)::TDiffData&, std::vector<(anonymous namespace)::TOldCover, std::allocator<(anonymous namespace)::TOldCover>>&, int, bool, ICoverLinesListener*, hdiff_private::TSuffixString const*, unsigned long, bool)
static void get_diff(const TByte* newData,const TByte* newData_end,
                     const TByte* oldData,const TByte* oldData_end,
                     TDiffData&   out_diff,std::vector<TOldCover>& covers,
                     int kMinSingleMatchScore,
                     bool isUseBigCacheMatch,ICoverLinesListener* listener,
                     const TSuffixString* sstring,size_t threadNum,
                     bool isCanExtendCover=true){
    assert(newData<=newData_end);
    assert(oldData<=oldData_end);
    TDiffData& diff=out_diff;
    diff.newData=newData;
    diff.newData_end=newData_end;
    diff.oldData=oldData;
    diff.oldData_end=oldData_end;
    
    const bool isCover32=sizeof(*covers.data())==sizeof(hpatch_TCover32);
    if (!isCover32)
        assert(sizeof(*covers.data())==sizeof(hpatch_TCover));
    const hpatch_StreamPos_t maxCoverLen=(listener&&listener->get_limit_cover_length)?
                                            listener->get_limit_cover_length(listener):kDefaultLimitCoverLen;
    {
        TSuffixString _sstring_default(isUseBigCacheMatch);
        if (sstring==0){
            _sstring_default.resetSuffixString(oldData,oldData_end,threadNum);
            sstring=&_sstring_default;
        }
        first_search_and_dispose_cover_MT(covers,diff,*sstring,kMinSingleMatchScore,listener,threadNum,isCanExtendCover);
        _limitCoverLenth(covers,maxCoverLen);
        assert_covers_safe(covers,diff.newData_end-diff.newData,diff.oldData_end-diff.oldData);
        if (listener&&listener->search_cover_limit&&
            listener->search_cover_limit(listener,covers.data(),covers.size(),isCover32)){
            TDiffResearchCover diffResearchCover(diff,covers,*sstring,kMinSingleMatchScore,
                                    listener->get_max_match_deep?listener->get_max_match_deep(listener):kDefaultMaxMatchDeepForLimit,
                                    isCanExtendCover);
            listener->research_cover(listener,&diffResearchCover,covers.data(),covers.size(),isCover32);
            diffResearchCover.researchFinish();
            _limitCoverLenth(covers,maxCoverLen);
            assert_covers_safe(covers,diff.newData_end-diff.newData,diff.oldData_end-diff.oldData);
        }
        sstring=0;
        _sstring_default.clear();
    }
    if (listener&&listener->insert_cover){
        TDiffInsertCover diffInsertCover(covers);
        hpatch_StreamPos_t newDataSize=(size_t)(diff.newData_end-diff.newData);
        hpatch_StreamPos_t oldDataSize=(size_t)(diff.oldData_end-diff.oldData);
        listener->insert_cover(listener,&diffInsertCover,covers.data(),covers.size(),isCover32,
                               &newDataSize,&oldDataSize);
        diff.newData_end=diff.newData+(size_t)newDataSize;
        diff.oldData_end=diff.oldData+(size_t)oldDataSize;
        _limitCoverLenth(covers,maxCoverLen);
        assert_covers_safe(covers,diff.newData_end-diff.newData,diff.oldData_end-diff.oldData);
    }
    if (listener&&listener->search_cover_finish){
        hpatch_StreamPos_t newDataSize=(size_t)(diff.newData_end-diff.newData);
        hpatch_StreamPos_t oldDataSize=(size_t)(diff.oldData_end-diff.oldData);
        size_t newCoverCount=covers.size();
        listener->search_cover_finish(listener,covers.data(),&newCoverCount,isCover32,
                                      &newDataSize,&oldDataSize);
        check(newCoverCount<=covers.size());
        covers.resize(newCoverCount);
        diff.newData_end=diff.newData+(size_t)newDataSize;
        diff.oldData_end=diff.oldData+(size_t)oldDataSize;
        _limitCoverLenth(covers,maxCoverLen);
        assert_covers_safe(covers,diff.newData_end-diff.newData,diff.oldData_end-diff.oldData);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x9e8, %rsp            # imm = 0x9E8
cmpq %rsi, %rdi
ja 0xe6a3
movq %rcx, %r15
movq %rdx, %r12
movq %r8, 0x18(%rsp)
cmpq %rcx, %rdx
ja 0xe6c2
movq %r9, %r14
movq 0xa38(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0xa30(%rsp), %rcx
movb 0xa28(%rsp), %bl
movq 0x18(%rsp), %rax
movq %rdi, (%rax)
movq %rsi, 0x8(%rax)
movq %r12, 0x10(%rax)
movq %r15, 0x18(%rax)
movl $0xffff, %eax           # imm = 0xFFFF
movq %rax, 0x20(%rsp)
testq %rcx, %rcx
je 0xdbd9
movq 0x38(%rcx), %rax
testq %rax, %rax
je 0xdbd9
movq 0xa30(%rsp), %rdi
callq *%rax
movq %rax, 0x20(%rsp)
movq 0xa40(%rsp), %r13
movzbl %bl, %esi
leaq 0x160(%rsp), %rbp
movq %rbp, %rdi
callq 0x1c038
cmpq $0x0, 0xa38(%rsp)
movq 0x18(%rsp), %rbx
jne 0xdc1a
movq %rbp, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r13, %rcx
callq 0x1c184
movq %rbp, 0x10(%rsp)
movl 0xa20(%rsp), %ecx
cmpq $0x2, %r13
jb 0xdd3b
movq 0x8(%rbx), %r12
subq (%rbx), %r12
movq 0x10(%rbx), %rax
cmpq 0x18(%rbx), %rax
setne %al
cmpq $0x200000, %r12         # imm = 0x200000
setae %dl
andb %al, %dl
cmpb $0x1, %dl
jne 0xdd3b
movq %r12, %rbp
shrq $0x14, %rbp
cmpq %r13, %rbp
cmovaeq %r13, %rbp
leaq 0x7fffff(%r12), %r15
shrq $0x17, %r15
cmpq %r15, %rbp
cmovaq %rbp, %r15
decq %rbp
leaq 0x70(%rsp), %rdi
leaq 0x90(%rsp), %rdx
movq %rbp, %rsi
callq 0x1585c
movq %r14, 0x28(%rsp)
movabsq $0x555555555555556, %rax # imm = 0x555555555555556
cmpq %rax, %rbp
jae 0xe713
pxor %xmm0, %xmm0
movdqa %xmm0, 0x40(%rsp)
movq $0x0, 0x50(%rsp)
leaq (,%rbp,8), %rax
leaq (%rax,%rax,2), %rdi
movq %rdi, %r14
callq 0x42f0
movq %rax, %r13
movq %rax, 0x40(%rsp)
movq %rax, 0x48(%rsp)
leaq (,%rbp,2), %rax
addq %rbp, %rax
leaq (,%rax,8), %rax
addq %r13, %rax
movq %rax, 0x50(%rsp)
testq %rbp, %rbp
je 0xdd07
movq %r13, %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x41c0
addq %r14, %r13
movq %r13, 0x48(%rsp)
movq %rbx, 0x90(%rsp)
movq 0x10(%rsp), %rax
movq %rax, 0x98(%rsp)
movq 0xa30(%rsp), %rcx
testq %rcx, %rcx
je 0xdd5c
movq 0x30(%rcx), %rax
testq %rax, %rax
cmovneq %rcx, %rax
jmp 0xdd5e
movzbl 0xa48(%rsp), %r9d
movq %r14, %rdi
movq %rbx, %rsi
movq 0x10(%rsp), %rdx
xorl %r8d, %r8d
callq 0x128c9
jmp 0xe08b
xorl %eax, %eax
movq %rax, 0xa0(%rsp)
movl 0xa20(%rsp), %eax
movl %eax, 0xa8(%rsp)
leaq (%r12,%r15), %rax
decq %rax
xorl %ecx, %ecx
xorl %edx, %edx
divq %r15
movq %rax, 0xb0(%rsp)
xchgq %rcx, 0xc0(%rsp)
movb 0xa48(%rsp), %al
movb %al, 0xb8(%rsp)
cmpq $0x0, 0xa0(%rsp)
je 0xddd6
movq 0xa30(%rsp), %rax
movq 0x28(%rax), %rax
testq %rax, %rax
je 0xddd6
movq 0xb0(%rsp), %rdx
movl $0x800, %ecx            # imm = 0x800
movq 0xa30(%rsp), %rdi
movq %r12, %rsi
callq *%rax
testq %rbp, %rbp
je 0xde70
movq 0x40(%rsp), %r15
xorl %r14d, %r14d
leaq 0x468d(%rip), %rbx      # 0x1247b
leaq 0x68(%rsp), %r12
leaq 0x38(%rsp), %r13
movq $0x0, 0x68(%rsp)
movl $0x20, %edi
callq 0x42f0
leaq 0x6dbbe(%rip), %rcx     # 0x7b9d0
movq %rcx, (%rax)
leaq 0x90(%rsp), %rcx
movq %rcx, 0x8(%rax)
movq %r15, 0x10(%rax)
movq %rbx, 0x18(%rax)
movq %rax, 0x38(%rsp)
movq %r12, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x42c0
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0xde4b
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x70(%rsp), %rax
cmpq $0x0, (%rax,%r14,8)
jne 0xe69e
movq 0x68(%rsp), %rcx
movq %rcx, (%rax,%r14,8)
incq %r14
addq $0x18, %r15
cmpq %r14, %rbp
jne 0xddf8
leaq 0x90(%rsp), %rsi
movq 0x28(%rsp), %rdi
callq 0x1247b
testq %rbp, %rbp
je 0xdee2
movq 0x40(%rsp), %rbx
xorl %r14d, %r14d
movq 0x70(%rsp), %rdi
addq %r14, %rdi
callq 0x4580
movq 0x28(%rsp), %rdi
movq 0x8(%rdi), %rsi
movq (%rbx), %rdx
movq 0x8(%rbx), %rcx
callq 0x125a6
movq (%rbx), %rdi
movq 0x10(%rbx), %rsi
pxor %xmm0, %xmm0
movdqu %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
testq %rdi, %rdi
je 0xded5
subq %rdi, %rsi
callq 0x4300
addq $0x18, %rbx
addq $0x8, %r14
decq %rbp
jne 0xde8f
movq 0x28(%rsp), %r14
movq (%r14), %r12
movq 0x8(%r14), %r15
movq %r15, %rbx
subq %r12, %rbx
movq %rbx, %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rbp # imm = 0xAAAAAAAAAAAAAAAB
imulq %rbp, %rax
cmpq $0x2, %rax
jb 0xe072
cmpq %r15, %r12
je 0xdf6a
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r12, %rdi
movq %r15, %rsi
callq 0x13686
cmpq $0x181, %rbx            # imm = 0x181
jl 0xdf5f
leaq 0x180(%r12), %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0x13b32
cmpq %r15, %r13
je 0xdf6a
movq %r13, %rdi
callq 0x13c04
addq $0x18, %r13
jmp 0xdf4c
movq %r12, %rdi
movq %r15, %rsi
callq 0x13b32
movq (%r14), %rdx
movq 0x8(%r14), %rax
subq %rdx, %rax
sarq $0x3, %rax
imulq %rbp, %rax
movl $0x1, %esi
cmpq $0x2, %rax
jb 0xe06a
movl $0x1, %eax
movl $0x18, %ecx
xorl %esi, %esi
leaq (%rdx,%rcx), %rdi
movq 0x8(%rdx,%rcx), %r9
leaq (%rsi,%rsi,2), %r8
leaq (%rdx,%r8,8), %r8
movq 0x8(%r8), %r10
movq 0x10(%r8), %r11
leaq (%r11,%r10), %rbx
cmpq %rbx, %r9
jge 0xdfe0
movq 0x10(%rdx,%rcx), %r11
addq %r9, %r11
cmpq %rbx, %r11
jle 0xe045
movq (%rdi), %rbx
addq %r10, %rbx
movq (%r8), %r14
addq %r9, %r14
cmpq %r14, %rbx
jne 0xe014
subq %r10, %r11
movq %r11, 0x10(%r8)
jmp 0xe040
jne 0xdff8
movq (%r8), %r9
addq %r11, %r9
cmpq %r9, (%rdi)
jne 0xdff8
addq 0x10(%rdx,%rcx), %r11
movq %r11, 0x10(%r8)
jmp 0xe045
incq %rsi
leaq (%rsi,%rsi,2), %r8
movq 0x10(%rdi), %r9
movq %r9, 0x10(%rdx,%r8,8)
movdqu (%rdi), %xmm0
movdqu %xmm0, (%rdx,%r8,8)
jmp 0xe045
subq %r10, %r9
movq %r9, 0x10(%r8)
xorl %r8d, %r8d
cmpq $0x5, %r9
setge %r8b
addq %r8, %rsi
leaq (%rsi,%rsi,2), %r8
movq 0x10(%rdi), %r9
movq %r9, 0x10(%rdx,%r8,8)
movdqu (%rdi), %xmm0
movdqu %xmm0, (%rdx,%r8,8)
movq 0x28(%rsp), %r14
incq %rax
movq (%r14), %rdx
movq 0x8(%r14), %rdi
subq %rdx, %rdi
sarq $0x3, %rdi
imulq %rbp, %rdi
addq $0x18, %rcx
cmpq %rdi, %rax
jb 0xdf97
incq %rsi
movq %r14, %rdi
callq 0x12346
leaq 0x40(%rsp), %rdi
callq 0x1287c
leaq 0x70(%rsp), %rdi
callq 0x158d4
movq 0x18(%rsp), %rbx
movq %r14, %rdi
movq 0x20(%rsp), %rsi
callq 0x11f92
movq 0x8(%rbx), %rsi
movq 0x18(%rbx), %rdx
subq (%rbx), %rsi
subq 0x10(%rbx), %rdx
movq %r14, %rdi
callq 0x1214f
cmpq $0x0, 0xa30(%rsp)
je 0xe4c6
movq 0xa30(%rsp), %rax
movq (%rax), %rax
testq %rax, %rax
je 0xe4c6
movq (%r14), %rsi
movq 0x8(%r14), %rdx
subq %rsi, %rdx
sarq $0x3, %rdx
movabsq $-0x5555555555555555, %r15 # imm = 0xAAAAAAAAAAAAAAAB
imulq %r15, %rdx
movq 0xa30(%rsp), %rdi
xorl %ecx, %ecx
callq *%rax
testb %al, %al
je 0xe4c6
movq 0xa30(%rsp), %rdi
movq 0x20(%rdi), %rax
testq %rax, %rax
je 0xe117
callq *%rax
jmp 0xe11c
movl $0x6, %eax
leaq 0x100(%rsp), %r12
movq %rbx, -0x68(%r12)
movq %r14, -0x60(%r12)
movq 0x10(%rsp), %rcx
movq %rcx, -0x58(%r12)
movl 0xa20(%rsp), %ecx
movl %ecx, -0x50(%r12)
movl %eax, -0x4c(%r12)
pxor %xmm0, %xmm0
movdqu %xmm0, -0x48(%r12)
movdqu %xmm0, -0x38(%r12)
movdqu %xmm0, -0x28(%r12)
pcmpeqd %xmm0, %xmm0
movdqu %xmm0, -0x18(%r12)
movb 0xa48(%rsp), %al
movb %al, -0x8(%r12)
movq %r12, %rdi
callq 0x1d4ca
leaq 0x130(%rsp), %rbp
movq %rbp, %rdi
callq 0x1d4ca
leaq 0x65c4(%rip), %rax      # 0x1475c
leaq 0x90(%rsp), %rsi
movq %rax, (%rsi)
movq (%r14), %rdx
movq 0x8(%r14), %rcx
subq %rdx, %rcx
sarq $0x3, %rcx
imulq %r15, %rcx
movq 0xa30(%rsp), %rdi
xorl %r8d, %r8d
callq *0x8(%rdi)
movq 0xf0(%rsp), %rax
cmpq $-0x1, %rax
je 0xe202
movq 0xa0(%rsp), %rcx
movq 0xe8(%rsp), %rdx
movq (%rcx), %rcx
leaq (%rdx,%rdx,2), %rdx
addq %rax, (%rcx,%rdx,8)
addq %rax, 0x8(%rcx,%rdx,8)
subq %rax, 0x10(%rcx,%rdx,8)
movq $-0x1, 0xf0(%rsp)
movq 0xa0(%rsp), %rdi
movq (%rdi), %rcx
cmpq %rcx, 0x8(%rdi)
je 0xe274
movl $0x10, %eax
xorl %r13d, %r13d
xorl %edx, %edx
cmpq $0x0, (%rcx,%rax)
jle 0xe24c
leaq (%rcx,%rax), %rsi
addq $-0x10, %rsi
leaq (,%r13,2), %rdi
addq %r13, %rdi
incq %r13
movq 0x10(%rsi), %r8
movq %r8, 0x10(%rcx,%rdi,8)
movdqu (%rsi), %xmm0
movdqu %xmm0, (%rcx,%rdi,8)
incq %rdx
movq 0xa0(%rsp), %rdi
movq (%rdi), %rcx
movq 0x8(%rdi), %rsi
subq %rcx, %rsi
sarq $0x3, %rsi
imulq %r15, %rsi
addq $0x18, %rax
cmpq %rsi, %rdx
jb 0xe21d
jmp 0xe277
xorl %r13d, %r13d
movq %r13, %rsi
callq 0x12346
movq 0xa0(%rsp), %rdi
movq 0xb8(%rsp), %rdx
movq 0x8(%rdi), %rsi
movq 0xc0(%rsp), %rcx
callq 0x125a6
testq %r13, %r13
je 0xe458
movq 0xa0(%rsp), %rax
movq (%rax), %rcx
movq 0x8(%rax), %rdx
leaq (,%r13,2), %rax
addq %r13, %rax
movq %rcx, 0x30(%rsp)
leaq (%rcx,%rax,8), %rcx
cmpq %rdx, %rcx
je 0xe458
movq %rdx, %rax
movq %rcx, 0x88(%rsp)
subq %rcx, %rax
sarq $0x3, %rax
imulq %r15, %rax
cmpq %r13, %rax
movq %r13, %rbx
movq %rax, 0x60(%rsp)
cmovlq %rax, %rbx
movq 0x6dc9f(%rip), %r12     # 0x7bfa0
testq %rbx, %rbx
jle 0xe34c
movq %r9, %rbp
movq %rdx, %r15
leaq (,%rbx,8), %rax
leaq (%rax,%rax,2), %rdi
movq %r12, %rsi
callq 0x4680
testq %rax, %rax
je 0xe32f
movq %rax, 0x10(%rsp)
movq %rbx, %r9
jmp 0xe342
cmpq $0x1, %rbx
movq %rbp, %r9
jne 0xe33c
xorl %ebx, %ebx
jmp 0xe342
incq %rbx
shrq %rbx
movq %r15, %rdx
testq %rax, %rax
je 0xe301
jmp 0xe358
movq $0x0, 0x10(%rsp)
xorl %r9d, %r9d
cmpq $0x0, 0x10(%rsp)
movq 0x88(%rsp), %rsi
je 0xe3f6
testq %r9, %r9
movq 0x18(%rsp), %rbx
leaq 0x100(%rsp), %r12
je 0xe3ef
movq 0x30(%rsp), %rcx
movq (%rcx), %rax
movq 0x10(%rsp), %rdi
movq %rax, (%rdi)
movq 0x8(%rcx), %rax
movq %rax, 0x8(%rdi)
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rdi)
movq %rdi, %rcx
cmpq $0x1, %r9
je 0xe3da
leaq (,%r9,8), %rax
leaq (%rax,%rax,2), %rax
addq $-0x18, %rax
movq 0x10(%rsp), %rdi
leaq 0x18(%rdi), %rcx
movq (%rdi), %r8
movq %r8, 0x18(%rdi)
movdqu 0x8(%rdi), %xmm0
movdqu %xmm0, 0x20(%rdi)
movq %rcx, %rdi
addq $-0x18, %rax
jne 0xe3bc
movq 0x10(%rcx), %rax
movq 0x30(%rsp), %rdi
movq %rax, 0x10(%rdi)
movdqu (%rcx), %xmm0
movdqu %xmm0, (%rdi)
movq 0x10(%rsp), %rbp
jmp 0xe408
xorl %ebp, %ebp
xorl %r9d, %r9d
movq 0x18(%rsp), %rbx
leaq 0x100(%rsp), %r12
testq %rbp, %rbp
je 0xe42b
movq %r9, (%rsp)
movq 0x30(%rsp), %rdi
movq %r13, %rcx
movq 0x60(%rsp), %r8
movq %r9, %r15
movq %rbp, %r9
callq 0x14bcc
jmp 0xe440
movq 0x30(%rsp), %rdi
movq %r13, %rcx
movq 0x60(%rsp), %r8
movq %r9, %r15
callq 0x14909
movq %rbp, %rdi
shlq $0x3, %r15
leaq (%r15,%r15,2), %rsi
callq 0x4300
leaq 0x130(%rsp), %rbp
movq %r14, %rdi
movq 0x20(%rsp), %rsi
callq 0x11f92
movq 0x8(%rbx), %rsi
movq 0x18(%rbx), %rdx
subq (%rbx), %rsi
subq 0x10(%rbx), %rdx
movq %r14, %rdi
callq 0x1214f
movq %rbp, %rdi
callq 0x1d5ca
movq %r12, %rdi
callq 0x1d5ca
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0xe4a9
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0xe4c6
movq 0xc8(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
leaq 0x160(%rsp), %rdi
callq 0x1c358
leaq 0x160(%rsp), %rdi
callq 0x1c2fc
movq 0xa30(%rsp), %r15
testq %r15, %r15
je 0xe68c
movq 0x10(%r15), %rax
testq %rax, %rax
je 0xe5bb
leaq 0x160(%rsp), %rsi
movq %r14, 0x8(%rsi)
leaq 0x6eaf(%rip), %rcx      # 0x153c0
movq %rcx, (%rsi)
movq 0x8(%rbx), %rcx
subq (%rbx), %rcx
leaq 0x90(%rsp), %r15
movq %rcx, (%r15)
movq 0x18(%rbx), %rcx
subq 0x10(%rbx), %rcx
leaq 0x70(%rsp), %rbx
movq %rcx, (%rbx)
movq (%r14), %rdx
movq 0x8(%r14), %rdi
subq %rdx, %rdi
sarq $0x3, %rdi
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdi, %rcx
movq %rbx, (%rsp)
movq 0xa30(%rsp), %rdi
xorl %r8d, %r8d
movq %r15, %r9
callq *%rax
movq 0x18(%rsp), %rax
movq (%rax), %rax
movq 0x18(%rsp), %rcx
movq 0x10(%rcx), %rcx
addq (%r15), %rax
movq 0xa30(%rsp), %r15
movq 0x18(%rsp), %rdx
movq %rax, 0x8(%rdx)
addq (%rbx), %rcx
movq 0x18(%rsp), %rbx
movq %rcx, 0x18(%rbx)
movq %r14, %rdi
movq 0x20(%rsp), %rsi
callq 0x11f92
movq 0x8(%rbx), %rsi
movq 0x18(%rbx), %rdx
subq (%rbx), %rsi
subq 0x10(%rbx), %rdx
movq %r14, %rdi
callq 0x1214f
movq 0x18(%r15), %rax
testq %rax, %rax
je 0xe68c
movq 0x8(%rbx), %rcx
subq (%rbx), %rcx
leaq 0x160(%rsp), %r8
movq %rcx, (%r8)
movq 0x18(%rbx), %rcx
subq 0x10(%rbx), %rcx
leaq 0x90(%rsp), %r9
movq %rcx, (%r9)
movq (%r14), %rsi
movq 0x8(%r14), %rcx
subq %rsi, %rcx
sarq $0x3, %rcx
movq %rbx, %r12
movabsq $-0x5555555555555555, %rbx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rbx, %rcx
movq %r15, %rdi
leaq 0x70(%rsp), %r15
movq %rcx, (%r15)
movq %r15, %rdx
xorl %ecx, %ecx
callq *%rax
movq 0x8(%r14), %rax
subq (%r14), %rax
movq (%r15), %rsi
sarq $0x3, %rax
imulq %rbx, %rax
cmpq %rax, %rsi
ja 0xe6e1
movq %r14, %rdi
callq 0x12346
movq (%r12), %rax
movq 0x10(%r12), %rcx
addq 0x160(%rsp), %rax
movq %rax, 0x8(%r12)
addq 0x90(%rsp), %rcx
movq %rcx, 0x18(%r12)
movq %r14, %rdi
movq 0x20(%rsp), %rsi
callq 0x11f92
movq 0x8(%r12), %rsi
movq 0x18(%r12), %rdx
subq (%r12), %rsi
subq 0x10(%r12), %rdx
movq %r14, %rdi
callq 0x1214f
addq $0x9e8, %rsp            # imm = 0x9E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x40b0
leaq 0x4d5be(%rip), %rdi     # 0x5bc68
leaq 0x4d286(%rip), %rsi     # 0x5b937
leaq 0x4d5c5(%rip), %rcx     # 0x5bc7d
movl $0x3c3, %edx            # imm = 0x3C3
callq 0x4200
leaq 0x4d683(%rip), %rdi     # 0x5bd4c
leaq 0x4d267(%rip), %rsi     # 0x5b937
leaq 0x4d5a6(%rip), %rcx     # 0x5bc7d
movl $0x3c4, %edx            # imm = 0x3C4
callq 0x4200
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4d66c(%rip), %rsi     # 0x5bd61
movq %rax, %rdi
callq 0x4110
movq 0x6d8e4(%rip), %rsi     # 0x7bfe8
movq 0x6d8ad(%rip), %rdx     # 0x7bfb8
movq %r14, %rdi
callq 0x4590
leaq 0x4bd44(%rip), %rdi     # 0x5a45e
callq 0x41b0
jmp 0xe796
movq %rax, %rbx
movq %r14, %rdi
callq 0x4260
jmp 0xe7e1
movq %rax, %rbx
movq %r12, %rdi
callq 0x1d5ca
jmp 0xe741
movq %rax, %rbx
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0xe75e
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0xe7d4
movq 0xc8(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
jmp 0xe7d4
jmp 0xe79f
movq %rax, %rbx
jmp 0xe7ca
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0x12300
jmp 0xe7d4
movq %rax, %rbx
jmp 0xe7d4
jmp 0xe79f
jmp 0xe79f
movq %rax, %rbx
jmp 0xe7c0
movq %rax, %rbx
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0xe7b7
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
leaq 0x40(%rsp), %rdi
callq 0x1287c
leaq 0x70(%rsp), %rdi
callq 0x158d4
leaq 0x160(%rsp), %rdi
callq 0x1c2fc
movq %rbx, %rdi
callq 0x45e0