// File: sisong[P]ApkDiffPatch/lzma/C/LzFind.c
// Function: Bt2_MatchFinder_GetMatches
static UInt32* Bt2_MatchFinder_GetMatches(void *_p, UInt32 *distances)
{
  CMatchFinder *p = (CMatchFinder *)_p;
  GET_MATCHES_HEADER(2)
  HASH2_CALC
  curMatch = p->hash[hv];
  p->hash[hv] = p->pos;
  GET_MATCHES_FOOTER_BT(1)
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x90(%rbp)
movq %rsi, -0x98(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
movl 0x14(%rax), %eax
movl %eax, -0xb8(%rbp)
cmpl $0x2, -0xb8(%rbp)
jae 0x725df
movq -0xa0(%rbp), %rdi
callq 0x707d0
movq -0x98(%rbp), %rax
movq %rax, -0x88(%rbp)
jmp 0x729d2
movq -0xa0(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rax
movzwl (%rax), %eax
movl %eax, -0xa4(%rbp)
movq -0xa0(%rbp), %rax
movq 0x28(%rax), %rax
movl -0xa4(%rbp), %ecx
movl (%rax,%rcx,4), %eax
movl %eax, -0xb4(%rbp)
movq -0xa0(%rbp), %rax
movl 0x8(%rax), %edx
movq -0xa0(%rbp), %rax
movq 0x28(%rax), %rax
movl -0xa4(%rbp), %ecx
movl %edx, (%rax,%rcx,4)
movl -0xb8(%rbp), %r11d
movl -0xb4(%rbp), %r10d
movq -0xa0(%rbp), %rax
movl 0x8(%rax), %r9d
movq -0xa0(%rbp), %rax
movq (%rax), %r8
movq -0xa0(%rbp), %rax
movq 0x30(%rax), %rdi
movq -0xa0(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, %esi
movq -0xa0(%rbp), %rax
movl 0x1c(%rax), %edx
movq -0xa0(%rbp), %rax
movl 0x3c(%rax), %ecx
movq -0x98(%rbp), %rax
movl %r11d, -0xc(%rbp)
movl %r10d, -0x10(%rbp)
movl %r9d, -0x14(%rbp)
movq %r8, -0x20(%rbp)
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
movl %edx, -0x34(%rbp)
movl %ecx, -0x38(%rbp)
movq %rax, -0x40(%rbp)
movl $0x1, -0x44(%rbp)
movq -0x28(%rbp), %rax
movq -0x30(%rbp), %rcx
shlq %rcx
shlq $0x2, %rcx
addq %rcx, %rax
addq $0x4, %rax
movq %rax, -0x50(%rbp)
movq -0x28(%rbp), %rax
movq -0x30(%rbp), %rcx
shlq %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x58(%rbp)
movl $0x0, -0x5c(%rbp)
movl $0x0, -0x60(%rbp)
movl -0x14(%rbp), %eax
subl -0x34(%rbp), %eax
movl %eax, -0x64(%rbp)
movl -0x14(%rbp), %eax
cmpl -0x34(%rbp), %eax
ja 0x7270c
movl $0x0, -0x64(%rbp)
movl -0x64(%rbp), %eax
cmpl -0x10(%rbp), %eax
jae 0x7293b
jmp 0x7271a
movl -0x14(%rbp), %eax
subl -0x10(%rbp), %eax
movl %eax, -0x68(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x30(%rbp), %rax
movl -0x68(%rbp), %ecx
subq %rcx, %rax
movq %rax, -0xc8(%rbp)
movl -0x68(%rbp), %eax
cmpq -0x30(%rbp), %rax
jbe 0x72753
movl -0x34(%rbp), %eax
movl %eax, -0xd4(%rbp)
jmp 0x7275d
xorl %eax, %eax
movl %eax, -0xd4(%rbp)
jmp 0x7275d
movq -0xd0(%rbp), %rax
movq -0xc8(%rbp), %rcx
movl -0xd4(%rbp), %edx
movl %edx, %edx
addq %rdx, %rcx
shlq %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x70(%rbp)
movq -0x20(%rbp), %rax
movl -0x68(%rbp), %ecx
movl %ecx, %edx
xorl %ecx, %ecx
subq %rdx, %rcx
addq %rcx, %rax
movq %rax, -0x78(%rbp)
movl -0x5c(%rbp), %eax
cmpl -0x60(%rbp), %eax
jae 0x727ac
movl -0x5c(%rbp), %eax
movl %eax, -0xd8(%rbp)
jmp 0x727b5
movl -0x60(%rbp), %eax
movl %eax, -0xd8(%rbp)
movl -0xd8(%rbp), %eax
movl %eax, -0x7c(%rbp)
movq -0x70(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x80(%rbp)
movq -0x78(%rbp), %rax
movl -0x7c(%rbp), %ecx
movzbl (%rax,%rcx), %eax
movq -0x20(%rbp), %rcx
movl -0x7c(%rbp), %edx
movzbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne 0x728a5
movl -0x7c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x7c(%rbp)
cmpl -0xc(%rbp), %eax
je 0x7283d
movq -0x78(%rbp), %rax
movl -0x7c(%rbp), %ecx
movzbl (%rax,%rcx), %eax
movq -0x20(%rbp), %rcx
movl -0x7c(%rbp), %edx
movzbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne 0x7283d
jmp 0x7280f
movl -0x7c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x7c(%rbp)
cmpl -0xc(%rbp), %eax
je 0x7283b
movq -0x78(%rbp), %rax
movl -0x7c(%rbp), %ecx
movzbl (%rax,%rcx), %eax
movq -0x20(%rbp), %rcx
movl -0x7c(%rbp), %edx
movzbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
je 0x72839
jmp 0x7283b
jmp 0x7280f
jmp 0x7283d
movl -0x44(%rbp), %eax
cmpl -0x7c(%rbp), %eax
jae 0x728a3
movl -0x7c(%rbp), %eax
movl %eax, -0x44(%rbp)
movl -0x7c(%rbp), %ecx
movq -0x40(%rbp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, -0x40(%rbp)
movl %ecx, (%rax)
movl -0x68(%rbp), %ecx
subl $0x1, %ecx
movq -0x40(%rbp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, -0x40(%rbp)
movl %ecx, (%rax)
movl -0x7c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jne 0x728a1
movl -0x80(%rbp), %ecx
movq -0x58(%rbp), %rax
movl %ecx, (%rax)
movq -0x70(%rbp), %rax
movl 0x4(%rax), %ecx
movq -0x50(%rbp), %rax
movl %ecx, (%rax)
movq -0x40(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x72957
jmp 0x728a3
jmp 0x728a5
movq -0x78(%rbp), %rax
movl -0x7c(%rbp), %ecx
movzbl (%rax,%rcx), %eax
movq -0x20(%rbp), %rcx
movl -0x7c(%rbp), %edx
movzbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jge 0x728e6
movl -0x10(%rbp), %ecx
movq -0x58(%rbp), %rax
movl %ecx, (%rax)
movq -0x70(%rbp), %rax
movl 0x4(%rax), %eax
movl %eax, -0x10(%rbp)
movq -0x70(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x58(%rbp)
movl -0x7c(%rbp), %eax
movl %eax, -0x60(%rbp)
jmp 0x72906
movl -0x10(%rbp), %ecx
movq -0x50(%rbp), %rax
movl %ecx, (%rax)
movq -0x70(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x10(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x50(%rbp)
movl -0x7c(%rbp), %eax
movl %eax, -0x5c(%rbp)
movl -0x38(%rbp), %ecx
addl $-0x1, %ecx
movl %ecx, -0x38(%rbp)
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0xd9(%rbp)
je 0x7292b
movl -0x64(%rbp), %eax
cmpl -0x10(%rbp), %eax
setb %al
movb %al, -0xd9(%rbp)
movb -0xd9(%rbp), %al
testb $0x1, %al
jne 0x7271a
jmp 0x7293b
movq -0x58(%rbp), %rax
movl $0x0, (%rax)
movq -0x50(%rbp), %rax
movl $0x0, (%rax)
movq -0x40(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0xa0(%rbp), %rax
movl 0x18(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x18(%rax)
movq -0xa0(%rbp), %rax
movq (%rax), %rcx
addq $0x1, %rcx
movq %rcx, (%rax)
movq -0xa0(%rbp), %rax
movl 0x8(%rax), %eax
addl $0x1, %eax
movl %eax, -0xbc(%rbp)
movl -0xbc(%rbp), %ecx
movq -0xa0(%rbp), %rax
movl %ecx, 0x8(%rax)
movl -0xbc(%rbp), %eax
movq -0xa0(%rbp), %rcx
cmpl 0xc(%rcx), %eax
jne 0x729c4
movq -0xa0(%rbp), %rdi
callq 0x70830
movq -0x98(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rax
addq $0xe0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)