// File: /workspace/github_cpp_makefile_star2_O3/sisong[P]ApkDiffPatch/HDiffPatch/libHDiffPatch/HDiff/diff.cpp
// Function: create_diff(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*, std::vector<unsigned char, std::allocator<unsigned char>>&, int, bool, unsigned long)
void create_diff(const TByte* newData,const TByte* newData_end,
                 const TByte* oldData,const TByte* oldData_end,
                 std::vector<TByte>& out_diff,
                 int kMinSingleMatchScore,bool isUseBigCacheMatch,size_t threadNum){
    TDiffData diff;
    std::vector<TOldCover> covers;
    get_diff(newData,newData_end,oldData,oldData_end,diff,covers,
             kMinSingleMatchScore,isUseBigCacheMatch,0,0,threadNum);
    serialize_diff(diff,covers,out_diff);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq %r8, %r14
movb 0x290(%rsp), %r8b
movq 0x298(%rsp), %r10
xorps %xmm0, %xmm0
leaq 0xa0(%rsp), %rax
movaps %xmm0, (%rax)
movq $0x0, 0x10(%rax)
movq %r10, 0x20(%rsp)
movups %xmm0, 0x10(%rsp)
movzbl %r8b, %r8d
movl %r8d, 0x8(%rsp)
movl %r9d, (%rsp)
movl $0x1, 0x28(%rsp)
leaq 0xc8(%rsp), %r8
movq %rax, %r9
callq 0xd8b0
movq 0xa0(%rsp), %rax
movq 0xa8(%rsp), %rcx
movq %rcx, %r15
subq %rax, %r15
sarq $0x3, %r15
movabsq $-0x5555555555555555, %rsi # imm = 0xAAAAAAAAAAAAAAAB
imulq %rsi, %r15
xorl %edx, %edx
movq %rdx, 0x90(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movq %rdx, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movq %rdx, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
cmpq %rax, %rcx
je 0xd34f
movq %r14, 0xc0(%rsp)
cmpq $0x1, %r15
movq %r15, 0xb8(%rsp)
movq %r15, %r14
adcq $0x0, %r14
xorl %ebx, %ebx
leaq 0x178(%rsp), %r13
leaq 0x110(%rsp), %rbp
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x10(%rax,%rbx), %rdx
movq %r13, 0x110(%rsp)
movq %rbp, %rdi
leaq 0x183(%rsp), %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x43254
testl %eax, %eax
je 0xd6ab
movq 0x88(%rsp), %rsi
movq 0x110(%rsp), %rcx
leaq 0x80(%rsp), %rdi
movq %r13, %rdx
callq 0x9c50
movq 0xa0(%rsp), %rax
movq 0x8(%rax,%rbx), %rdx
subq %r15, %rdx
jl 0xd6c9
movq %r13, 0x110(%rsp)
movq %rbp, %rdi
leaq 0x183(%rsp), %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x43254
testl %eax, %eax
je 0xd68d
movq 0x68(%rsp), %rsi
movq 0x110(%rsp), %rcx
leaq 0x60(%rsp), %rdi
movq %r13, %rdx
callq 0x9c50
movq 0xa0(%rsp), %rax
movq (%rax,%rbx), %rax
movq %rax, %rdx
subq %r12, %rdx
jge 0xd2c6
subq %rax, %r12
movq %r13, 0x110(%rsp)
movq %rbp, %rdi
leaq 0x183(%rsp), %rsi
movq %r12, %rdx
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x43254
testl %eax, %eax
je 0xd6e8
movq 0x48(%rsp), %rsi
movq 0x110(%rsp), %rcx
leaq 0x40(%rsp), %rdi
movq %r13, %rdx
callq 0x9c50
jmp 0xd308
movq %r13, 0x110(%rsp)
movq %rbp, %rdi
leaq 0x183(%rsp), %rsi
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x43254
testl %eax, %eax
je 0xd706
movq 0x48(%rsp), %rsi
movq 0x110(%rsp), %rcx
leaq 0x40(%rsp), %rdi
movq %r13, %rdx
callq 0x9c50
movq 0xa0(%rsp), %rax
movq (%rax,%rbx), %r12
movq 0x10(%rax,%rbx), %r15
addq 0x8(%rax,%rbx), %r15
addq $0x18, %rbx
decq %r14
jne 0xd1c6
movq 0xa8(%rsp), %rcx
movq 0xc0(%rsp), %r14
movq 0xb8(%rsp), %r15
movabsq $-0x5555555555555555, %rsi # imm = 0xAAAAAAAAAAAAAAAB
jmp 0xd352
movq %rax, %rcx
subq %rax, %rcx
sarq $0x3, %rcx
imulq %rsi, %rcx
movq %rax, 0xf8(%rsp)
movq %rcx, 0x100(%rsp)
movb $0x0, 0x108(%rsp)
movq $0x0, 0xe8(%rsp)
movq 0xc8(%rsp), %rsi
movq 0xd0(%rsp), %rdx
leaq 0x238(%rsp), %rbx
movq %rbx, %rdi
callq 0x433a9
leaq 0xe8(%rsp), %rdi
movq %rdi, 0x130(%rsp)
movq %rbx, 0x138(%rsp)
movq 0x240(%rsp), %rsi
callq 0x23b46
leaq 0x110(%rsp), %rdi
movq %rax, %rsi
callq 0x2388e
leaq 0x178(%rsp), %rax
leaq 0x38(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x183(%rsp), %rsi
movq %r15, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x43254
testl %eax, %eax
je 0xd738
movq 0x8(%r14), %rsi
movq 0x38(%rsp), %rcx
leaq 0x178(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rdx
callq 0x9c50
movq 0x88(%rsp), %rdx
subq 0x80(%rsp), %rdx
leaq 0x38(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x183(%rsp), %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x43254
testl %eax, %eax
je 0xd756
movq 0x8(%r14), %rsi
movq 0x38(%rsp), %rcx
leaq 0x178(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rdx
callq 0x9c50
movq 0x68(%rsp), %rdx
subq 0x60(%rsp), %rdx
leaq 0x38(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x183(%rsp), %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x43254
testl %eax, %eax
je 0xd774
movq 0x8(%r14), %rsi
movq 0x38(%rsp), %rcx
leaq 0x178(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rdx
callq 0x9c50
movq 0x48(%rsp), %rdx
subq 0x40(%rsp), %rdx
leaq 0x38(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x183(%rsp), %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x43254
testl %eax, %eax
je 0xd792
movq 0x8(%r14), %rsi
movq 0x38(%rsp), %rcx
leaq 0x178(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rdx
callq 0x9c50
movq 0x118(%rsp), %rdx
leaq 0x38(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x183(%rsp), %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x43254
testl %eax, %eax
je 0xd7b0
movq 0x8(%r14), %rsi
movq 0x38(%rsp), %rcx
leaq 0x178(%rsp), %rdx
movq %r14, %rdi
callq 0x9c50
movq 0x80(%rsp), %rdx
movq 0x88(%rsp), %rcx
movq 0x8(%r14), %rsi
movq %r14, %rdi
callq 0xa020
movq 0x60(%rsp), %rdx
movq 0x68(%rsp), %rcx
movq 0x8(%r14), %rsi
movq %r14, %rdi
callq 0xa020
movq 0x40(%rsp), %rdx
movq 0x48(%rsp), %rcx
movq 0x8(%r14), %rsi
movq %r14, %rdi
callq 0xa020
leaq 0x110(%rsp), %rsi
movq %r14, %rdi
callq 0x15343
movq 0xc8(%rsp), %rsi
movq 0xd0(%rsp), %rdx
movq 0xd8(%rsp), %rcx
movq 0xe0(%rsp), %r8
xorl %eax, %eax
movl %eax, 0x8(%rsp)
movl %eax, (%rsp)
leaq 0x178(%rsp), %rdi
leaq 0xe8(%rsp), %r9
callq 0x24028
leaq 0x178(%rsp), %rsi
movq %r14, %rdi
movl $0x1, %edx
callq 0x1ad5d
movq 0x1a8(%rsp), %rax
cmpq 0x180(%rsp), %rax
jne 0xd7e2
movq 0x1e0(%rsp), %rdi
testq %rdi, %rdi
je 0xd613
callq 0x43b0
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0xd62a
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0xd641
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0xd65e
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0xd67b
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4cd5f(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
jmp 0xd722
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4cd41(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
jmp 0xd722
leaq 0x4ea12(%rip), %rdi     # 0x5c0e2
leaq 0x4e260(%rip), %rsi     # 0x5b937
leaq 0x4ea21(%rip), %rcx     # 0x5c0ff
movl $0x24c, %edx            # imm = 0x24C
callq 0x4200
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4cd04(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
jmp 0xd722
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4cce6(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
movq 0x6e8bf(%rip), %rsi     # 0x7bfe8
movq 0x6e888(%rip), %rdx     # 0x7bfb8
movq %r14, %rdi
callq 0x4590
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4ccb4(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
jmp 0xd7cc
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4cc96(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
jmp 0xd7cc
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4cc78(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
jmp 0xd7cc
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4cc5a(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
jmp 0xd7cc
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4cc3c(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
movq 0x6e815(%rip), %rsi     # 0x7bfe8
movq 0x6e7de(%rip), %rdx     # 0x7bfb8
movq %r14, %rdi
callq 0x4590
leaq 0x4e9b9(%rip), %rdi     # 0x5c1a2
leaq 0x4e9c9(%rip), %rsi     # 0x5c1b9
leaq 0x4ea10(%rip), %rcx     # 0x5c207
movl $0x3d, %edx
callq 0x4200
jmp 0xd82c
jmp 0xd82c
jmp 0xd82c
jmp 0xd82c
jmp 0xd82c
movq %rax, %rbx
leaq 0x178(%rsp), %rdi
callq 0x155e8
jmp 0xd840
jmp 0xd83d
jmp 0xd83d
movq %rax, %rbx
jmp 0xd88b
jmp 0xd82c
jmp 0xd82c
jmp 0xd82c
movq %rax, %rbx
movq %r14, %rdi
callq 0x4260
jmp 0xd840
jmp 0xd83d
jmp 0xd83d
movq %rax, %rbx
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0xd857
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0xd86e
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0xd88b
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0xd8a8
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
movq %rbx, %rdi
callq 0x45e0