// File: /workspace/github_cpp_makefile_star2_O2/sisong[P]ApkDiffPatch/HDiffPatch/libHDiffPatch/HDiff/diff.cpp
// Function: (anonymous namespace)::search_and_dispose_cover(std::vector<(anonymous namespace)::TOldCover, std::allocator<(anonymous namespace)::TOldCover>>&, (anonymous namespace)::TDiffData const&, hdiff_private::TSuffixString const&, int, (anonymous namespace)::TDiffLimit*, bool)
static void search_and_dispose_cover(std::vector<TOldCover>& covers,const TDiffData& diff,
                                     const TSuffixString& sstring,int kMinSingleMatchScore,
                                     TDiffLimit* diffLimit,bool isCanExtendCover){
    const size_t cover_begin=covers.size();
    _search_cover(covers,diff,sstring,diffLimit,isCanExtendCover);
    if (covers.size()>cover_begin)
        _dispose_cover(covers,cover_begin,diff,kMinSingleMatchScore,diffLimit,isCanExtendCover);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movl %ecx, 0x54(%rsp)
movq %rdx, %r10
movq 0x8(%rdi), %rax
movq %rdi, 0x8(%rsp)
subq (%rdi), %rax
pushq $0x18
popq %rcx
movq %rax, 0xb8(%rsp)
cqto
idivq %rcx
movq %rax, 0xd8(%rsp)
movq 0x8(%r10), %rax
movq %r10, 0x98(%rsp)
cmpq (%r10), %rax
je 0xffce
movq %rsi, %rbp
testq %r8, %r8
je 0xf692
movq 0x8(%r8), %r15
movq 0x10(%r8), %r14
jmp 0xf69d
movq 0x8(%rbp), %r14
subq (%rbp), %r14
xorl %r15d, %r15d
movq %r14, %rax
subq %r15, %rax
cmpq $0x6, %rax
jl 0xffce
leaq -0x5(%r14), %rax
movq %rax, 0x108(%rsp)
xorps %xmm0, %xmm0
leaq 0xa0(%rsp), %rax
movaps %xmm0, (%rax)
andq $0x0, 0x10(%rax)
pushq $0x1
popq %r13
movq $0x0, 0x70(%rsp)
movq $0x0, 0x38(%rsp)
movq %r8, (%rsp)
movq %rbp, 0x100(%rsp)
movl %r9d, 0x50(%rsp)
movq %r14, 0x78(%rsp)
cmpq 0x108(%rsp), %r15
jg 0xff1c
movq (%rbp), %rdx
movq %r15, 0x10(%rsp)
addq %rdx, %r15
addq %r14, %rdx
movq 0x98(%rsp), %rdi
movq %r15, %rsi
movq %rdx, 0xe8(%rsp)
callq 0x1863e
movq (%rsp), %r8
movq %rax, %rdi
movq %r13, %rax
testq %rdi, %rdi
js 0xfa98
testq %r8, %r8
je 0xf788
movslq 0x50(%r8), %rbp
movq 0x18(%r8), %rax
movq %rax, 0xf0(%rsp)
movq 0x20(%r8), %rax
movq %rax, 0xe0(%rsp)
movq 0x98(%rsp), %rax
movq (%rax), %rcx
movq 0x8(%rax), %rax
movq %rax, 0x90(%rsp)
movq %rax, %r10
movq %rcx, 0xf8(%rsp)
subq %rcx, %r10
jmp 0xf7c4
movq 0x98(%rsp), %rax
movq (%rax), %rcx
movq 0x8(%rax), %rax
movq %rax, 0x90(%rsp)
movq %rax, %r10
movq %rcx, 0xf8(%rsp)
subq %rcx, %r10
movq $0x0, 0xf0(%rsp)
pushq $0x2
popq %rbp
movq %r10, 0xe0(%rsp)
subq 0x10(%rsp), %r14
movq %r14, 0x110(%rsp)
xorl %r11d, %r11d
testq %rbp, %rbp
cmovleq %r11, %rbp
movq %r13, 0x40(%rsp)
pushq $0x4
popq %r9
pushq $-0x1
popq %rax
movq %rax, 0x18(%rsp)
xorl %ebx, %ebx
xorl %r14d, %r14d
movq %rdi, 0x88(%rsp)
movq %r10, 0x80(%rsp)
cmpq %rbp, %r14
je 0xfa80
movq %r14, %r12
andq $0x1, %r12
jne 0xf81e
testb $0x1, %r11b
je 0xf827
jmp 0xfa70
testb $0x1, %bl
jne 0xfa70
leal (%r12,%r12), %eax
movq %r13, %rcx
subq %rax, %rcx
leaq 0x1(%r14), %rsi
shrq %rsi
imulq %rcx, %rsi
addq %rdi, %rsi
movq %rsi, %rax
shrq $0x3f, %rax
cmpq %r10, %rsi
setge %cl
orb %cl, %al
jne 0xfa70
movq %rbx, 0x30(%rsp)
movq %r11, 0x20(%rsp)
movq %r9, 0x28(%rsp)
movq 0x98(%rsp), %rdi
callq 0x1209c
movq (%rsp), %r8
movq %rax, %rbx
movq 0xf8(%rsp), %rax
leaq (%rax,%rbx), %r13
testq %r8, %r8
je 0xf8d6
movq 0x90(%rsp), %rax
subq %r13, %rax
movq 0x110(%rsp), %rcx
cmpq %rax, %rcx
cmovlq %rcx, %rax
movl $0x411, %ecx            # imm = 0x411
cmpq %rcx, %rax
cmovgeq %rcx, %rax
testq %rax, %rax
movl $0x0, %ecx
cmovgq %rax, %rcx
xorl %edx, %edx
movq 0x28(%rsp), %r9
cmpq %rdx, %rcx
je 0xf8ff
movb (%r15,%rdx), %sil
cmpb (%r13,%rdx), %sil
jne 0xf8fc
incq %rdx
jmp 0xf8c1
movq %r15, %rdi
movq 0xe8(%rsp), %rsi
movq %r13, %rdx
movq 0x90(%rsp), %rcx
callq 0x107da
movq (%rsp), %r8
movq 0x28(%rsp), %r9
jmp 0xf938
movq %rdx, %rcx
cmpq %rax, %rcx
cmovlq %rcx, %rax
cmpq %rbx, 0xf0(%rsp)
jg 0xf938
cmpq 0xe0(%rsp), %rbx
jge 0xf938
cmpq $0x411, %rax            # imm = 0x411
movl $0x208, %eax            # imm = 0x208
movq 0x40(%rsp), %rcx
cmoveq %rax, %rcx
movq %rcx, 0x40(%rsp)
jmp 0xfa52
cmpq %r9, %rax
movq %r9, %rcx
cmovgq %rax, %rcx
movq %rbx, %rdx
cmovleq 0x18(%rsp), %rdx
testq %r8, %r8
je 0xf9f6
cmpq %r9, %rax
jle 0xf9f6
movq %rbx, 0x58(%rsp)
movq 0x10(%rsp), %rcx
movq %rcx, 0x60(%rsp)
movq %rax, 0x68(%rsp)
movq (%r8), %rdi
leaq 0x58(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq *(%rdi)
movq 0x28(%rsp), %r9
movq 0x48(%rsp), %rcx
cmpq %r9, %rcx
jbe 0xfa4e
cmpq $0x411, %rcx            # imm = 0x411
jne 0xf9ef
movq %r15, %rdi
movq 0xe8(%rsp), %rsi
movq %r13, %rdx
movq 0x90(%rsp), %rcx
callq 0x107da
movq %rbx, 0xc0(%rsp)
movq 0x10(%rsp), %rcx
movq %rcx, 0xc8(%rsp)
movq %rax, 0xd0(%rsp)
movq (%rsp), %rax
movq (%rax), %rdi
leaq 0xc0(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq *(%rdi)
movq 0x48(%rsp), %rcx
movq %rbx, %rdx
movq (%rsp), %r8
testq %r12, %r12
jne 0xfa1e
movb $0x1, %r11b
movq 0x30(%rsp), %rbx
testb $0x1, %bl
pushq $0x1
popq %r13
movq 0x88(%rsp), %rdi
movq 0x80(%rsp), %r10
je 0xfa44
jmp 0xfa78
movb $0x1, %bl
movq 0x20(%rsp), %r11
testb $0x1, %r11b
pushq $0x1
popq %r13
movq 0x88(%rsp), %rdi
movq 0x80(%rsp), %r10
movq 0x40(%rsp), %rax
jne 0xfaa5
movq %rcx, %r9
movq %rdx, 0x18(%rsp)
jmp 0xfa70
movq (%rsp), %r8
pushq $0x1
popq %r13
movq 0x88(%rsp), %rdi
movq 0x80(%rsp), %r10
movq 0x20(%rsp), %r11
movq 0x30(%rsp), %rbx
incq %r14
jmp 0xf801
movq %rdx, 0x18(%rsp)
movq %rcx, %r9
movq 0x40(%rsp), %rax
cmpq $0x4, %r9
movq 0x100(%rsp), %rbp
movq 0x78(%rsp), %r14
jg 0xfaaf
movq 0x10(%rsp), %r15
addq %rax, %r15
jmp 0xf6f8
movq %rdx, 0x18(%rsp)
movq %rcx, %r9
jmp 0xfa85
movq 0x18(%rsp), %rax
movq %rax, 0xc0(%rsp)
movq 0x10(%rsp), %r15
movq %r15, 0xc8(%rsp)
movq %r9, 0xd0(%rsp)
leaq 0xc0(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
movq %r9, %rbx
callq 0x106ae
movq %rbx, %rcx
subq %rax, %rcx
cmpq $0x1, %rcx
jg 0xfb01
incq %r15
movq (%rsp), %r8
jmp 0xf6f8
cmpb $0x0, 0x50(%rsp)
je 0xfc05
cmpq $0x0, 0x38(%rsp)
movq 0x8(%rsp), %r8
movq 0x70(%rsp), %rdi
jle 0xfc70
movq 0x38(%rsp), %rax
addq %rdi, %rax
movq 0x10(%rsp), %r12
subq %rax, %r12
js 0xffe0
cmpq $0x1ff, %r12            # imm = 0x1FF
ja 0xfc70
movq %rbx, %r9
movq 0xa0(%rsp), %r10
movq 0x38(%rsp), %rcx
addq %r10, %rcx
leaq (%rcx,%r12), %r14
leaq (%r14,%rbx), %rdx
movq 0x18(%rbp), %rsi
subq 0x10(%rbp), %rsi
cmpq %rsi, %rdx
jg 0xfc70
movq 0x10(%rsp), %rdx
leaq (%r10,%rdx), %rsi
movq 0x18(%rsp), %rdx
leaq (%rdx,%rdi), %r15
cmpq $0x0, (%rsp)
movq %r10, 0x28(%rsp)
je 0xfbd7
cmpq %r15, %rsi
movq %rcx, 0x58(%rsp)
movq %r9, %rcx
movl $0x0, %edx
cmoveq %rdx, %rcx
movq %rax, 0x60(%rsp)
addq %r12, %rcx
movq %rcx, 0x68(%rsp)
movq (%rsp), %rax
movq (%rax), %rdi
movq %rsi, 0x20(%rsp)
leaq 0x58(%rsp), %rsi
xorl %edx, %edx
callq *(%rdi)
movq 0x20(%rsp), %rsi
movq 0x8(%rsp), %r8
testb %al, %al
je 0xfc70
cmpq %r15, %rsi
jne 0xfc23
leaq 0xa0(%rsp), %rdi
leaq 0xc0(%rsp), %rsi
callq 0x1086a
movq 0x8(%rsp), %rdi
movq 0x78(%rsp), %r14
movq 0x10(%rsp), %r15
jmp 0xfed8
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
leaq 0xc0(%rsp), %rsi
callq 0x106fe
movq (%rsp), %r8
jmp 0xfd7f
leaq 0xc0(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x106ae
movq %rax, %r15
movq (%rbp), %rdi
addq 0x10(%rsp), %rdi
addq 0x10(%rbp), %r14
movq %rbx, %rsi
movq %r14, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x19284
movq 0x28(%rsp), %r11
movq 0x70(%rsp), %r9
cmpq %r15, %rax
movq 0x8(%rsp), %r8
jle 0xfdbf
movq 0x8(%r8), %r14
movq %r14, %rax
subq (%r8), %rax
cmpq 0xb8(%rsp), %rax
jbe 0xfd5e
movq -0x8(%r14), %rsi
testq %rsi, %rsi
jle 0xfd5e
movq -0x18(%r14), %rdx
movq -0x10(%r14), %rdi
movq 0x10(%rsp), %rax
addq %rdx, %rax
movq 0x18(%rsp), %rcx
addq %rdi, %rcx
cmpq %rcx, %rax
je 0xfd5e
movq %rdi, %r15
subq 0x10(%rsp), %r15
addq 0x18(%rsp), %r15
js 0xfd5e
leaq (%r15,%rsi), %rcx
movq 0x10(%rbp), %rax
movq 0x18(%rbp), %r8
subq %rax, %r8
cmpq %r8, %rcx
movq 0x8(%rsp), %r8
jg 0xfd5e
movq (%rsp), %rcx
testq %rcx, %rcx
je 0xfd1f
movq %r15, 0x58(%rsp)
movq %rdi, 0x60(%rsp)
movq %rsi, 0x68(%rsp)
movq (%rcx), %rdi
leaq 0x58(%rsp), %rsi
xorl %edx, %edx
callq *(%rdi)
movq 0x8(%rsp), %r8
testb %al, %al
je 0xfd5e
movq -0x18(%r14), %rdx
movq -0x10(%r14), %rdi
movq -0x8(%r14), %rsi
movq 0x10(%rbp), %rax
addq %rax, %rdx
addq (%rbp), %rdi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x19284
movq (%rbp), %rdi
addq -0x10(%r14), %rdi
movq %rax, %rbx
movq -0x8(%r14), %rsi
movq 0x10(%rbp), %rdx
addq %r15, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x19284
cmpq %rax, %rbx
movq 0x8(%rsp), %r8
jl 0xfd5e
movq %r15, -0x18(%r14)
movq %r8, %rdi
leaq 0xc0(%rsp), %rsi
movq %r8, %rbx
callq 0x106fe
movq (%rsp), %r8
movq 0x78(%rsp), %r14
movq 0x10(%rsp), %r15
movq 0x8(%rbx), %rax
movups -0x18(%rax), %xmm0
movaps %xmm0, 0xa0(%rsp)
movq -0x8(%rax), %rdx
movq %rdx, 0xb0(%rsp)
incq %r15
movq 0xa8(%rsp), %rax
movq %rax, 0x70(%rsp)
movq %rdx, 0x38(%rsp)
addq %rdx, %rax
cmpq %rax, %r15
cmovleq %rax, %r15
jmp 0xf6f8
movq %rbx, %r14
addq 0x38(%rsp), %r12
leaq (%rbx,%rbx), %rax
xorl %edx, %edx
pushq $0x3
popq %rcx
divq %rcx
movq %rax, %rbx
addq %r12, %rbx
movq (%rbp), %rax
movq 0x8(%rbp), %rsi
movq %rax, 0x20(%rsp)
leaq (%rax,%r9), %rdi
addq %rbx, %rdi
movq 0x10(%rbp), %rax
movq %rax, 0x30(%rsp)
leaq (%rax,%r11), %rdx
addq %rbx, %rdx
movq 0x18(%rbp), %rcx
movq %r9, %r15
callq 0x107da
addq %rbx, %rax
movq (%rsp), %rdx
testq %rdx, %rdx
je 0xfe83
movq 0x10(%rdx), %rcx
subq %r15, %rcx
cmpq %rcx, %rax
cmovgeq %rcx, %rax
addq %r12, %r14
movq %rax, %rcx
subq %r14, %rcx
movq 0x8(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq 0x30(%rsp), %r8
jle 0xfe92
movq 0x28(%rsp), %rax
addq %r14, %rax
movq %rax, 0x58(%rsp)
leaq (%r14,%r15), %rax
movq %rax, 0x60(%rsp)
movq %rcx, 0x68(%rsp)
movq (%rdx), %rdi
leaq 0x58(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq *(%rdi)
movq 0x70(%rsp), %r15
movq 0x8(%rsp), %rdi
addq 0x48(%rsp), %r14
movq (%rbp), %rsi
movq 0x10(%rbp), %r8
movq %r14, %rax
jmp 0xfe92
movq 0x8(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq 0x30(%rsp), %r8
leaq (%rsi,%r15), %rdx
decq %rdx
movq 0x28(%rsp), %rcx
leaq (%r8,%rcx), %rsi
decq %rsi
movq %rax, %rcx
sarq $0x3f, %rcx
andq %rax, %rcx
movq 0x78(%rsp), %r14
movq 0x10(%rsp), %r15
testq %rax, %rax
jle 0xfed0
movb (%rdx,%rax), %r8b
cmpb (%rsi,%rax), %r8b
je 0xfecd
decq %rax
jmp 0xfeb9
movq %rax, %rcx
movq %rcx, 0xb0(%rsp)
movq 0x8(%rdi), %rax
movq %rax, %rcx
subq (%rdi), %rcx
cmpq 0xb8(%rsp), %rcx
jne 0xfefc
leaq 0xa0(%rsp), %rsi
movq %rdi, %rbx
jmp 0xfc15
movq 0xb0(%rsp), %rcx
movq %rcx, -0x8(%rax)
movaps 0xa0(%rsp), %xmm0
movups %xmm0, -0x18(%rax)
movq %rdi, %rbx
jmp 0xfc1a
movq 0x8(%rsp), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
cmpq 0xb8(%rsp), %rax
movl 0x50(%rsp), %eax
jbe 0xffce
testb %al, %al
je 0xffb2
movl 0x54(%rsp), %r12d
imull $0x24, %r12d, %eax
addl $0xfe, %eax
cmpl $0xc9, %eax
movl $0xc8, %ebx
cmovael %eax, %ebx
movl $0x320, %eax            # imm = 0x320
cmpl %eax, %ebx
cmovael %eax, %ebx
movq 0x8(%rsp), %r15
movq %r15, %rdi
movq 0xd8(%rsp), %r13
movq %r13, %rsi
movq %rbp, %rdx
movq %rbx, %rcx
movq %r8, %r14
callq 0x108c9
pushq $0x1
popq %r9
movq %r15, %rdi
movq %r13, %rsi
movq %rbp, %rdx
movl %r12d, %ecx
movq %r14, %r8
callq 0x10ad0
movq %r15, %rdi
movq %r13, %rsi
movq %rbp, %rdx
movq %rbx, %rcx
movq %r14, %r8
callq 0x108c9
jmp 0xffce
movq 0x8(%rsp), %rdi
movq 0xd8(%rsp), %rsi
movq %rbp, %rdx
movl 0x54(%rsp), %ecx
xorl %r9d, %r9d
callq 0x10ad0
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x40da4(%rip), %rdi     # 0x50d8b
leaq 0x40949(%rip), %rsi     # 0x50937
leaq 0x40da9(%rip), %rcx     # 0x50d9e
movl $0xde, %edx
callq 0x4230
nop