// File: /workspace/github_cpp_makefile_star2_O3/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, %r12 # imm = 0xAAAAAAAAAAAAAAAB
cmpq %r15, %r14
je 0x170cd
movq %r15, %rax
subq %r14, %rax
sarq $0x3, %rax
imulq %r12, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x18a8f
movq %r14, %rdi
movq %r15, %rsi
callq 0x18b4e
movq 0x20(%rbx), %r13
movq 0x40(%rbx), %r12
movq 0x48(%rbx), %r15
subq 0x18(%rbx), %r13
leaq 0x58(%rbx), %rax
movq %rax, 0x8(%rsp)
xorl %ebp, %ebp
xorl %eax, %eax
cmpq %r15, %r12
jae 0x170e4
movq (%r12), %rcx
movq %rcx, %r14
subq %rax, %r14
jbe 0x17072
movq %rax, 0x10(%rsp)
movq %rbp, 0x18(%rsp)
movq %r14, 0x20(%rsp)
movq 0x60(%rbx), %rsi
cmpq 0x68(%rbx), %rsi
je 0x17080
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rsi)
movups 0x10(%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x18, 0x60(%rbx)
jmp 0x1708f
addq 0x10(%r12), %rcx
cmpq %rcx, %rax
cmovbeq %rcx, %rax
jmp 0x1709b
movq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x15d40
addq %r14, %rbp
movq 0x10(%r12), %rax
addq (%r12), %rax
addq $0x18, %r12
cmpq %r15, %r12
jb 0x17035
cmpq %r13, %rax
movabsq $-0x5555555555555555, %r12 # imm = 0xAAAAAAAAAAAAAAAB
jbe 0x170ee
leaq 0x4557e(%rip), %rdi     # 0x5c638
leaq 0x454da(%rip), %rsi     # 0x5c59b
leaq 0x45581(%rip), %rcx     # 0x5c649
jmp 0x17225
movq 0x20(%rbx), %r13
subq 0x18(%rbx), %r13
leaq 0x58(%rbx), %rax
movq %rax, 0x8(%rsp)
xorl %ebp, %ebp
xorl %eax, %eax
jmp 0x170ee
movabsq $-0x5555555555555555, %r12 # imm = 0xAAAAAAAAAAAAAAAB
subq %rax, %r13
je 0x17133
movq %rax, 0x10(%rsp)
movq %rbp, 0x18(%rsp)
movq %r13, 0x20(%rsp)
movq 0x60(%rbx), %rsi
cmpq 0x68(%rbx), %rsi
je 0x17124
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rsi)
movups 0x10(%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x18, 0x60(%rbx)
jmp 0x17133
leaq 0x10(%rsp), %rdx
movq 0x8(%rsp), %rdi
callq 0x15d40
movq 0x40(%rbx), %r14
movq 0x48(%rbx), %r15
cmpq %r15, %r14
je 0x1722f
movq %r15, %rax
subq %r14, %rax
sarq $0x3, %rax
imulq %r12, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x16683
movq %r14, %rdi
movq %r15, %rsi
callq 0x16742
movq 0x8(%rbx), %r12
movq 0x40(%rbx), %rbp
movq 0x48(%rbx), %r15
subq (%rbx), %r12
leaq 0x70(%rbx), %rax
movq %rax, 0x8(%rsp)
cmpq %r15, %rbp
jae 0x1723f
xorl %r13d, %r13d
xorl %eax, %eax
movq 0x8(%rbp), %rcx
movq %rcx, %r14
subq %rax, %r14
jbe 0x171db
movq %rax, 0x10(%rsp)
movq %r13, 0x18(%rsp)
movq %r14, 0x20(%rsp)
movq 0x78(%rbx), %rsi
cmpq 0x80(%rbx), %rsi
je 0x171e8
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rsi)
movups 0x10(%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x18, 0x78(%rbx)
jmp 0x171f7
addq 0x10(%rbp), %rcx
cmpq %rcx, %rax
cmovbeq %rcx, %rax
jmp 0x17202
movq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x15d40
addq %r14, %r13
movq 0x10(%rbp), %rax
addq 0x8(%rbp), %rax
addq $0x18, %rbp
cmpq %r15, %rbp
jb 0x1719b
cmpq %r12, %rax
jbe 0x17244
leaq 0x45421(%rip), %rdi     # 0x5c638
leaq 0x4537d(%rip), %rsi     # 0x5c59b
leaq 0x454ae(%rip), %rcx     # 0x5c6d3
movl $0x43, %edx
callq 0x4200
movq 0x8(%rbx), %r12
subq (%rbx), %r12
leaq 0x70(%rbx), %rax
movq %rax, 0x8(%rsp)
xorl %r13d, %r13d
xorl %eax, %eax
subq %rax, %r12
je 0x1728c
movq %rax, 0x10(%rsp)
movq %r13, 0x18(%rsp)
movq %r12, 0x20(%rsp)
movq 0x78(%rbx), %rsi
cmpq 0x80(%rbx), %rsi
je 0x1727d
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rsi)
movups 0x10(%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x18, 0x78(%rbx)
jmp 0x1728c
leaq 0x10(%rsp), %rdx
movq 0x8(%rsp), %rdi
callq 0x15d40
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop