// File: sisong[P]ApkDiffPatch/lzma/C/LzFind.c
// Function: LzFind_SaturSub_256
void
Z7_FASTCALL
LzFind_SaturSub_256(UInt32 subValue, CLzRef *items, const CLzRef *lim)
{
  const __m256i sub2 = _mm256_set_epi32(
      (Int32)subValue, (Int32)subValue, (Int32)subValue, (Int32)subValue,
      (Int32)subValue, (Int32)subValue, (Int32)subValue, (Int32)subValue);
  Z7_PRAGMA_OPT_DISABLE_LOOP_UNROLL_VECTORIZE
  do
  {
    SASUB_256(0)  SASUB_256(1)  items += 2 * 8;
    SASUB_256(0)  SASUB_256(1)  items += 2 * 8;
  }
  while (items != lim);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
andq $-0x20, %rsp
subq $0x6c0, %rsp            # imm = 0x6C0
movl %edi, 0x25c(%rsp)
movq %rsi, 0x250(%rsp)
movq %rdx, 0x248(%rsp)
movl 0x25c(%rsp), %eax
movl %eax, 0x1c(%rsp)
movl %eax, 0x29c(%rsp)
movl %eax, 0x298(%rsp)
movl %eax, 0x294(%rsp)
movl %eax, 0x290(%rsp)
movl %eax, 0x28c(%rsp)
movl %eax, 0x288(%rsp)
movl %eax, 0x284(%rsp)
movl %eax, 0x280(%rsp)
movl 0x284(%rsp), %edx
movl 0x288(%rsp), %ecx
movl 0x28c(%rsp), %eax
movl 0x294(%rsp), %r8d
movl 0x298(%rsp), %edi
movl 0x29c(%rsp), %esi
vmovd 0x290(%rsp), %xmm0
vpinsrd $0x1, %r8d, %xmm0, %xmm0
vpinsrd $0x2, %edi, %xmm0, %xmm0
vpinsrd $0x3, %esi, %xmm0, %xmm1
vmovd 0x280(%rsp), %xmm0
vpinsrd $0x1, %edx, %xmm0, %xmm0
vpinsrd $0x2, %ecx, %xmm0, %xmm0
vpinsrd $0x3, %eax, %xmm0, %xmm2
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm0
vmovdqa %ymm0, 0x260(%rsp)
vmovdqa 0x260(%rsp), %ymm0
vmovdqa %ymm0, 0x220(%rsp)
movq 0x250(%rsp), %rax
vmovdqa (%rax), %ymm1
vmovdqa 0x220(%rsp), %ymm0
vmovdqa %ymm1, 0x200(%rsp)
vmovdqa %ymm0, 0x1e0(%rsp)
movq 0x1e0(%rsp), %rax
movq %rax, 0x640(%rsp)
movq 0x1e8(%rsp), %rax
movq %rax, 0x648(%rsp)
movq 0x1f0(%rsp), %rax
movq %rax, 0x650(%rsp)
movq 0x1f8(%rsp), %rax
movq %rax, 0x658(%rsp)
movq 0x200(%rsp), %rax
movq %rax, 0x620(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0x628(%rsp)
movq 0x210(%rsp), %rax
movq %rax, 0x630(%rsp)
movq 0x218(%rsp), %rax
movq %rax, 0x638(%rsp)
vmovdqa 0x620(%rsp), %ymm1
vmovdqa 0x640(%rsp), %ymm0
vmovdqa %ymm1, 0x680(%rsp)
vmovdqa %ymm0, 0x660(%rsp)
vmovdqa 0x680(%rsp), %ymm0
vmovdqa 0x660(%rsp), %ymm1
vpmaxud %ymm1, %ymm0, %ymm1
vmovdqa 0x220(%rsp), %ymm0
vmovdqa %ymm1, 0x1c0(%rsp)
vmovdqa %ymm0, 0x1a0(%rsp)
movq 0x1a0(%rsp), %rax
movq %rax, 0x440(%rsp)
movq 0x1a8(%rsp), %rax
movq %rax, 0x448(%rsp)
movq 0x1b0(%rsp), %rax
movq %rax, 0x450(%rsp)
movq 0x1b8(%rsp), %rax
movq %rax, 0x458(%rsp)
movq 0x1c0(%rsp), %rax
movq %rax, 0x420(%rsp)
movq 0x1c8(%rsp), %rax
movq %rax, 0x428(%rsp)
movq 0x1d0(%rsp), %rax
movq %rax, 0x430(%rsp)
movq 0x1d8(%rsp), %rax
movq %rax, 0x438(%rsp)
vmovdqa 0x420(%rsp), %ymm1
vmovdqa 0x440(%rsp), %ymm0
vmovdqa %ymm1, 0x480(%rsp)
vmovdqa %ymm0, 0x460(%rsp)
vmovdqa 0x480(%rsp), %ymm0
vmovdqa 0x460(%rsp), %ymm1
vpsubd %ymm1, %ymm0, %ymm0
movq 0x250(%rsp), %rax
vmovdqa %ymm0, (%rax)
movq 0x250(%rsp), %rax
vmovdqa 0x20(%rax), %ymm1
vmovdqa 0x220(%rsp), %ymm0
vmovdqa %ymm1, 0x180(%rsp)
vmovdqa %ymm0, 0x160(%rsp)
movq 0x160(%rsp), %rax
movq %rax, 0x5c0(%rsp)
movq 0x168(%rsp), %rax
movq %rax, 0x5c8(%rsp)
movq 0x170(%rsp), %rax
movq %rax, 0x5d0(%rsp)
movq 0x178(%rsp), %rax
movq %rax, 0x5d8(%rsp)
movq 0x180(%rsp), %rax
movq %rax, 0x5a0(%rsp)
movq 0x188(%rsp), %rax
movq %rax, 0x5a8(%rsp)
movq 0x190(%rsp), %rax
movq %rax, 0x5b0(%rsp)
movq 0x198(%rsp), %rax
movq %rax, 0x5b8(%rsp)
vmovdqa 0x5a0(%rsp), %ymm1
vmovdqa 0x5c0(%rsp), %ymm0
vmovdqa %ymm1, 0x600(%rsp)
vmovdqa %ymm0, 0x5e0(%rsp)
vmovdqa 0x600(%rsp), %ymm0
vmovdqa 0x5e0(%rsp), %ymm1
vpmaxud %ymm1, %ymm0, %ymm1
vmovdqa 0x220(%rsp), %ymm0
vmovdqa %ymm1, 0x140(%rsp)
vmovdqa %ymm0, 0x120(%rsp)
movq 0x120(%rsp), %rax
movq %rax, 0x3c0(%rsp)
movq 0x128(%rsp), %rax
movq %rax, 0x3c8(%rsp)
movq 0x130(%rsp), %rax
movq %rax, 0x3d0(%rsp)
movq 0x138(%rsp), %rax
movq %rax, 0x3d8(%rsp)
movq 0x140(%rsp), %rax
movq %rax, 0x3a0(%rsp)
movq 0x148(%rsp), %rax
movq %rax, 0x3a8(%rsp)
movq 0x150(%rsp), %rax
movq %rax, 0x3b0(%rsp)
movq 0x158(%rsp), %rax
movq %rax, 0x3b8(%rsp)
vmovdqa 0x3a0(%rsp), %ymm1
vmovdqa 0x3c0(%rsp), %ymm0
vmovdqa %ymm1, 0x400(%rsp)
vmovdqa %ymm0, 0x3e0(%rsp)
vmovdqa 0x400(%rsp), %ymm0
vmovdqa 0x3e0(%rsp), %ymm1
vpsubd %ymm1, %ymm0, %ymm0
movq 0x250(%rsp), %rax
vmovdqa %ymm0, 0x20(%rax)
movq 0x250(%rsp), %rax
addq $0x40, %rax
movq %rax, 0x250(%rsp)
movq 0x250(%rsp), %rax
vmovdqa (%rax), %ymm1
vmovdqa 0x220(%rsp), %ymm0
vmovdqa %ymm1, 0x100(%rsp)
vmovdqa %ymm0, 0xe0(%rsp)
movq 0xe0(%rsp), %rax
movq %rax, 0x540(%rsp)
movq 0xe8(%rsp), %rax
movq %rax, 0x548(%rsp)
movq 0xf0(%rsp), %rax
movq %rax, 0x550(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, 0x558(%rsp)
movq 0x100(%rsp), %rax
movq %rax, 0x520(%rsp)
movq 0x108(%rsp), %rax
movq %rax, 0x528(%rsp)
movq 0x110(%rsp), %rax
movq %rax, 0x530(%rsp)
movq 0x118(%rsp), %rax
movq %rax, 0x538(%rsp)
vmovdqa 0x520(%rsp), %ymm1
vmovdqa 0x540(%rsp), %ymm0
vmovdqa %ymm1, 0x580(%rsp)
vmovdqa %ymm0, 0x560(%rsp)
vmovdqa 0x580(%rsp), %ymm0
vmovdqa 0x560(%rsp), %ymm1
vpmaxud %ymm1, %ymm0, %ymm1
vmovdqa 0x220(%rsp), %ymm0
vmovdqa %ymm1, 0xc0(%rsp)
vmovdqa %ymm0, 0xa0(%rsp)
movq 0xa0(%rsp), %rax
movq %rax, 0x340(%rsp)
movq 0xa8(%rsp), %rax
movq %rax, 0x348(%rsp)
movq 0xb0(%rsp), %rax
movq %rax, 0x350(%rsp)
movq 0xb8(%rsp), %rax
movq %rax, 0x358(%rsp)
movq 0xc0(%rsp), %rax
movq %rax, 0x320(%rsp)
movq 0xc8(%rsp), %rax
movq %rax, 0x328(%rsp)
movq 0xd0(%rsp), %rax
movq %rax, 0x330(%rsp)
movq 0xd8(%rsp), %rax
movq %rax, 0x338(%rsp)
vmovdqa 0x320(%rsp), %ymm1
vmovdqa 0x340(%rsp), %ymm0
vmovdqa %ymm1, 0x380(%rsp)
vmovdqa %ymm0, 0x360(%rsp)
vmovdqa 0x380(%rsp), %ymm0
vmovdqa 0x360(%rsp), %ymm1
vpsubd %ymm1, %ymm0, %ymm0
movq 0x250(%rsp), %rax
vmovdqa %ymm0, (%rax)
movq 0x250(%rsp), %rax
vmovdqa 0x20(%rax), %ymm1
vmovdqa 0x220(%rsp), %ymm0
vmovdqa %ymm1, 0x80(%rsp)
vmovdqa %ymm0, 0x60(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x68(%rsp), %rax
movq %rax, 0x4c8(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x4d0(%rsp)
movq 0x78(%rsp), %rax
movq %rax, 0x4d8(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x4a0(%rsp)
movq 0x88(%rsp), %rax
movq %rax, 0x4a8(%rsp)
movq 0x90(%rsp), %rax
movq %rax, 0x4b0(%rsp)
movq 0x98(%rsp), %rax
movq %rax, 0x4b8(%rsp)
vmovdqa 0x4a0(%rsp), %ymm1
vmovdqa 0x4c0(%rsp), %ymm0
vmovdqa %ymm1, 0x500(%rsp)
vmovdqa %ymm0, 0x4e0(%rsp)
vmovdqa 0x500(%rsp), %ymm0
vmovdqa 0x4e0(%rsp), %ymm1
vpmaxud %ymm1, %ymm0, %ymm1
vmovdqa 0x220(%rsp), %ymm0
vmovdqa %ymm1, 0x40(%rsp)
vmovdqa %ymm0, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x2c0(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x2c8(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x2d0(%rsp)
movq 0x38(%rsp), %rax
movq %rax, 0x2d8(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x2a0(%rsp)
movq 0x48(%rsp), %rax
movq %rax, 0x2a8(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x2b0(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x2b8(%rsp)
vmovdqa 0x2a0(%rsp), %ymm1
vmovdqa 0x2c0(%rsp), %ymm0
vmovdqa %ymm1, 0x300(%rsp)
vmovdqa %ymm0, 0x2e0(%rsp)
vmovdqa 0x300(%rsp), %ymm0
vmovdqa 0x2e0(%rsp), %ymm1
vpsubd %ymm1, %ymm0, %ymm0
movq 0x250(%rsp), %rax
vmovdqa %ymm0, 0x20(%rax)
movq 0x250(%rsp), %rax
addq $0x40, %rax
movq %rax, 0x250(%rsp)
movq 0x250(%rsp), %rax
cmpq 0x248(%rsp), %rax
jne 0x74d0f
movq %rbp, %rsp
popq %rbp
vzeroupper
retq
nopl (%rax,%rax)