// File: /workspace/github_cpp_makefile_star2_O1/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, 0xc0(%rsp)
movb 0x290(%rsp), %r8b
movq 0x298(%rsp), %r10
xorps %xmm0, %xmm0
leaq 0x60(%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 0xdb51
movq 0x68(%rsp), %rax
movq 0x60(%rsp), %rcx
movq %rax, %rdx
subq %rcx, %rdx
sarq $0x3, %rdx
movabsq $-0x5555555555555555, %rsi # imm = 0xAAAAAAAAAAAAAAAB
imulq %rsi, %rdx
movq %rdx, 0xb8(%rsp)
xorl %edx, %edx
movq %rdx, 0xb0(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0xa0(%rsp)
movq %rdx, 0x90(%rsp)
movaps %xmm0, 0x80(%rsp)
movq %rdx, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
cmpq %rcx, %rax
je 0xd5b0
movq 0xb8(%rsp), %r14
cmpq $0x1, %r14
adcq $0x0, %r14
xorl %ebx, %ebx
leaq 0x178(%rsp), %r13
leaq 0x110(%rsp), %rbp
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x60(%rsp), %rax
movq 0x10(%rax,%rbx), %rdx
movq %r13, 0x110(%rsp)
movq %rbp, %rdi
leaq 0x183(%rsp), %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x437d8
testl %eax, %eax
je 0xd92e
movq 0xa8(%rsp), %rsi
movq 0x110(%rsp), %rcx
leaq 0xa0(%rsp), %rdi
movq %r13, %rdx
callq 0x9e84
movq 0x60(%rsp), %rax
movq 0x8(%rax,%rbx), %rdx
subq %r15, %rdx
jl 0xd94c
movq %r13, 0x110(%rsp)
movq %rbp, %rdi
leaq 0x183(%rsp), %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x437d8
testl %eax, %eax
je 0xd96b
movq 0x88(%rsp), %rsi
movq 0x110(%rsp), %rcx
leaq 0x80(%rsp), %rdi
movq %r13, %rdx
callq 0x9e84
movq 0x60(%rsp), %rax
movq (%rax,%rbx), %rax
movq %rax, %rdx
subq %r12, %rdx
jge 0xd54e
subq %rax, %r12
movq %r13, 0x110(%rsp)
movq %rbp, %rdi
leaq 0x183(%rsp), %rsi
movq %r12, %rdx
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x437d8
testl %eax, %eax
je 0xd989
movq 0x48(%rsp), %rsi
movq 0x110(%rsp), %rcx
leaq 0x40(%rsp), %rdi
movq %r13, %rdx
callq 0x9e84
jmp 0xd590
movq %r13, 0x110(%rsp)
movq %rbp, %rdi
leaq 0x183(%rsp), %rsi
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x437d8
testl %eax, %eax
je 0xd9a7
movq 0x48(%rsp), %rsi
movq 0x110(%rsp), %rcx
leaq 0x40(%rsp), %rdi
movq %r13, %rdx
callq 0x9e84
movq 0x60(%rsp), %rax
movq (%rax,%rbx), %r12
movq 0x10(%rax,%rbx), %r15
addq 0x8(%rax,%rbx), %r15
addq $0x18, %rbx
decq %r14
jne 0xd449
movq 0x60(%rsp), %rax
movq 0x68(%rsp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %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 0x4392d
leaq 0xe8(%rsp), %rdi
movq %rdi, 0x130(%rsp)
movq %rbx, 0x138(%rsp)
movq 0x240(%rsp), %rsi
callq 0x23e44
movq 0xc0(%rsp), %r14
leaq 0x110(%rsp), %rdi
movq %rax, %rsi
callq 0x23b34
leaq 0x178(%rsp), %rax
leaq 0x38(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x183(%rsp), %rsi
movq 0xb8(%rsp), %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x437d8
testl %eax, %eax
je 0xd9d9
movq 0x8(%r14), %rsi
movq 0x38(%rsp), %rcx
leaq 0x178(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rdx
callq 0x9e84
movq 0xa8(%rsp), %rdx
subq 0xa0(%rsp), %rdx
leaq 0x38(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x183(%rsp), %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x437d8
testl %eax, %eax
je 0xd9f7
movq 0x8(%r14), %rsi
movq 0x38(%rsp), %rcx
leaq 0x178(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rdx
callq 0x9e84
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 0x437d8
testl %eax, %eax
je 0xda15
movq 0x8(%r14), %rsi
movq 0x38(%rsp), %rcx
leaq 0x178(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rdx
callq 0x9e84
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 0x437d8
testl %eax, %eax
je 0xda33
movq 0x8(%r14), %rsi
movq 0x38(%rsp), %rcx
leaq 0x178(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rdx
callq 0x9e84
movq 0x118(%rsp), %rdx
leaq 0x38(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x183(%rsp), %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x437d8
testl %eax, %eax
je 0xda51
movq 0x8(%r14), %rsi
movq 0x38(%rsp), %rcx
leaq 0x178(%rsp), %rdx
movq %r14, %rdi
callq 0x9e84
movq 0x8(%r14), %rsi
movq 0xa0(%rsp), %rdx
movq 0xa8(%rsp), %rcx
movq %r14, %rdi
callq 0xa244
movq 0x8(%r14), %rsi
movq 0x80(%rsp), %rdx
movq 0x88(%rsp), %rcx
movq %r14, %rdi
callq 0xa244
movq 0x8(%r14), %rsi
movq 0x40(%rsp), %rdx
movq 0x48(%rsp), %rcx
movq %r14, %rdi
callq 0xa244
leaq 0x110(%rsp), %rsi
movq %r14, %rdi
callq 0x155bc
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 0x2431e
leaq 0x178(%rsp), %rsi
movq %r14, %rdi
movl $0x1, %edx
callq 0x1b05a
movq 0x1a8(%rsp), %rax
cmpq 0x180(%rsp), %rax
jne 0xda83
movq 0x1e0(%rsp), %rdi
testq %rdi, %rdi
je 0xd8b4
leaq 0x1e0(%rsp), %rbx
callq 0x43b0
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0xd8cb
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0xd8e8
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0xd905
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0xd91c
movq 0x70(%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 0x4cabe(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
jmp 0xd9c3
leaq 0x4e78f(%rip), %rdi     # 0x5c0e2
leaq 0x4dfdd(%rip), %rsi     # 0x5b937
leaq 0x4e79e(%rip), %rcx     # 0x5c0ff
movl $0x24c, %edx            # imm = 0x24C
callq 0x4200
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4ca81(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
jmp 0xd9c3
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4ca63(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
jmp 0xd9c3
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4ca45(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
movq 0x6e61e(%rip), %rsi     # 0x7bfe8
movq 0x6e5e7(%rip), %rdx     # 0x7bfb8
movq %r14, %rdi
callq 0x4590
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4ca13(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
jmp 0xda6d
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4c9f5(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
jmp 0xda6d
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4c9d7(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
jmp 0xda6d
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4c9b9(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
jmp 0xda6d
movl $0x10, %edi
callq 0x4190
movq %rax, %r14
leaq 0x4c99b(%rip), %rsi     # 0x5a400
movq %rax, %rdi
callq 0x4110
movq 0x6e574(%rip), %rsi     # 0x7bfe8
movq 0x6e53d(%rip), %rdx     # 0x7bfb8
movq %r14, %rdi
callq 0x4590
leaq 0x4e718(%rip), %rdi     # 0x5c1a2
leaq 0x4e728(%rip), %rsi     # 0x5c1b9
leaq 0x4e76f(%rip), %rcx     # 0x5c207
movl $0x3d, %edx
callq 0x4200
jmp 0xdacd
jmp 0xdacd
jmp 0xdacd
jmp 0xdacd
jmp 0xdacd
movq %rax, %rbx
leaq 0x178(%rsp), %rdi
callq 0x1592c
jmp 0xdae1
jmp 0xdade
jmp 0xdade
movq %rax, %rbx
jmp 0xdb32
jmp 0xdacd
jmp 0xdacd
jmp 0xdacd
movq %rax, %rbx
movq %r14, %rdi
callq 0x4260
jmp 0xdae1
jmp 0xdade
jmp 0xdade
movq %rax, %rbx
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0xdaf8
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0xdb15
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0xdb32
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0xdb49
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x4300
movq %rbx, %rdi
callq 0x45e0