// File: /workspace/github_cpp_makefile_star2_O1/sisong[P]ApkDiffPatch/HDiffPatch/libHDiffPatch/HDiff/match_block.cpp
// Function: hdiff_private::TMatchBlock::getPackedCover()
void TMatchBlock::getPackedCover(){
    std::sort(blockCovers.begin(),blockCovers.end(),cover_cmp_by_old_t<hpatch_TCover>());
    _getPackedCovers<false>(oldData_end-oldData,blockCovers,packedCoversForOld);
    std::sort(blockCovers.begin(),blockCovers.end(),cover_cmp_by_new_t<hpatch_TCover>());
    _getPackedCovers<true>(newData_end-newData,blockCovers,packedCoversForNew);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x40(%rdi), %r14
movq 0x48(%rdi), %r15
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
cmpq %r15, %r14
je 0x17357
movq %r15, %rax
subq %r14, %rax
sarq $0x3, %rax
imulq %rcx, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x18d55
movq %r14, %rdi
movq %r15, %rsi
callq 0x18e14
movq 0x20(%rbx), %r13
subq 0x18(%rbx), %r13
movq 0x40(%rbx), %r12
leaq 0x58(%rbx), %rax
movq %rax, 0x20(%rsp)
movq 0x48(%rbx), %r15
cmpq %r15, %r12
jae 0x173ea
xorl %ebp, %ebp
xorl %eax, %eax
movq (%r12), %rcx
movq %rcx, %r14
subq %rax, %r14
jbe 0x173b6
movq %rax, 0x8(%rsp)
movq %rbp, 0x10(%rsp)
movq %r14, 0x18(%rsp)
movq 0x60(%rbx), %rsi
cmpq 0x68(%rbx), %rsi
je 0x173c4
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rsi)
movups 0x8(%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x18, 0x60(%rbx)
jmp 0x173d3
addq 0x10(%r12), %rcx
cmpq %rcx, %rax
cmovbeq %rcx, %rax
jmp 0x173df
movq 0x20(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x16078
addq %r14, %rbp
movq 0x10(%r12), %rax
addq (%r12), %rax
addq $0x18, %r12
cmpq %r15, %r12
jb 0x17379
jmp 0x173ee
xorl %eax, %eax
xorl %ebp, %ebp
subq %rax, %r13
jb 0x17573
je 0x17439
movq %rax, 0x8(%rsp)
movq %rbp, 0x10(%rsp)
movq %r13, 0x18(%rsp)
movq 0x60(%rbx), %rsi
cmpq 0x68(%rbx), %rsi
je 0x1742a
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rsi)
movups 0x8(%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x18, 0x60(%rbx)
jmp 0x17439
leaq 0x8(%rsp), %rdx
movq 0x20(%rsp), %rdi
callq 0x16078
movq 0x40(%rbx), %r14
movq 0x48(%rbx), %r15
cmpq %r15, %r14
je 0x17481
movq %r15, %rax
subq %r14, %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x169c3
movq %r14, %rdi
movq %r15, %rsi
callq 0x16a82
movq 0x8(%rbx), %r12
subq (%rbx), %r12
movq 0x40(%rbx), %rbp
leaq 0x70(%rbx), %rax
movq %rax, 0x20(%rsp)
movq 0x48(%rbx), %r15
cmpq %r15, %rbp
jae 0x17515
xorl %r13d, %r13d
xorl %eax, %eax
movq 0x8(%rbp), %rcx
movq %rcx, %r14
subq %rax, %r14
jbe 0x174e3
movq %rax, 0x8(%rsp)
movq %r13, 0x10(%rsp)
movq %r14, 0x18(%rsp)
movq 0x78(%rbx), %rsi
cmpq 0x80(%rbx), %rsi
je 0x174f0
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rsi)
movups 0x8(%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x18, 0x78(%rbx)
jmp 0x174ff
addq 0x10(%rbp), %rcx
cmpq %rcx, %rax
cmovbeq %rcx, %rax
jmp 0x1750a
movq 0x20(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x16078
addq %r14, %r13
movq 0x10(%rbp), %rax
addq 0x8(%rbp), %rax
addq $0x18, %rbp
cmpq %r15, %rbp
jb 0x174a3
jmp 0x1751a
xorl %eax, %eax
xorl %r13d, %r13d
subq %rax, %r12
jb 0x1758a
je 0x17564
movq %rax, 0x8(%rsp)
movq %r13, 0x10(%rsp)
movq %r12, 0x18(%rsp)
movq 0x78(%rbx), %rsi
cmpq 0x80(%rbx), %rsi
je 0x17555
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rsi)
movups 0x8(%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x18, 0x78(%rbx)
jmp 0x17564
leaq 0x8(%rsp), %rdx
movq 0x20(%rsp), %rdi
callq 0x16078
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x450d9(%rip), %rdi     # 0x5c653
leaq 0x45035(%rip), %rsi     # 0x5c5b6
leaq 0x450dc(%rip), %rcx     # 0x5c664
jmp 0x1759f
leaq 0x450c2(%rip), %rdi     # 0x5c653
leaq 0x4501e(%rip), %rsi     # 0x5c5b6
leaq 0x4514f(%rip), %rcx     # 0x5c6ee
movl $0x43, %edx
callq 0x4200
nop