// File: /workspace/github_cpp_makefile_star2_O3/sisong[P]ApkDiffPatch/lzma/C/LzmaDec.c
// Function: LzmaDec_DecodeReal2
static int Z7_FASTCALL LzmaDec_DecodeReal2(CLzmaDec *p, SizeT limit, const Byte *bufLimit)
{
  if (p->checkDicSize == 0)
  {
    UInt32 rem = p->prop.dicSize - p->processedPos;
    if (limit - p->dicPos > rem)
      limit = p->dicPos + rem;
  }
  {
    int res = LZMA_DECODE_REAL(p, limit, bufLimit);
    if (p->checkDicSize == 0 && p->processedPos >= p->prop.dicSize)
      p->checkDicSize = p->prop.dicSize;
    return res;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, 0x10(%rsp)
movl 0x40(%rdi), %r14d
movl 0x44(%rdi), %eax
movl %eax, -0x3c(%rsp)
testl %eax, %eax
je 0x55bd8
movq %rsi, -0x38(%rsp)
movq 0x28(%rdi), %r13
jmp 0x55bf8
movl 0x4(%rdi), %eax
subl %r14d, %eax
movq 0x28(%rdi), %r13
movq %rsi, %rcx
subq %r13, %rcx
leaq (%rax,%r13), %rdx
cmpq %rax, %rcx
cmovaq %rdx, %rsi
movq %rsi, -0x38(%rsp)
movq 0x10(%rdi), %r10
movl 0x58(%rdi), %r11d
movl 0x48(%rdi), %eax
movl %eax, -0x78(%rsp)
movl 0x4c(%rdi), %eax
movl %eax, -0x74(%rsp)
movl 0x50(%rdi), %eax
movl %eax, -0x7c(%rsp)
movl 0x54(%rdi), %eax
movl %eax, -0x4c(%rsp)
movb 0x1(%rdi), %r8b
movb 0x2(%rdi), %cl
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
shll %cl, %eax
notl %eax
movl %eax, -0x24(%rsp)
movzbl (%rdi), %edx
movl $0x100, %eax            # imm = 0x100
movl $0x100, %esi            # imm = 0x100
movl %r8d, %ecx
shll %cl, %esi
movl %edx, -0x28(%rsp)
movl %edx, %ecx
shrl %cl, %eax
subl %eax, %esi
movl %esi, -0x2c(%rsp)
movq 0x18(%rdi), %r12
movq 0x20(%rdi), %rax
movq %rax, -0x60(%rsp)
movq 0x30(%rdi), %r8
movl 0x38(%rdi), %ebp
movq %rdi, -0x10(%rsp)
movl 0x3c(%rdi), %eax
leaq -0xa00(%r10), %rcx
movq %rcx, -0x8(%rsp)
leaq -0x600(%r10), %rcx
movq %rcx, (%rsp)
leaq 0x80(%r10), %rcx
movq %rcx, -0x20(%rsp)
leaq 0x280(%r10), %rcx
movq %rcx, 0x8(%rsp)
xorl %r15d, %r15d
movq %r10, -0x70(%rsp)
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x55cbc
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %ecx
incq %r8
orl %eax, %ecx
movl %ecx, %eax
movl %r14d, %ecx
andl -0x24(%rsp), %ecx
shll $0x4, %ecx
leal (%r11,%rcx), %ebx
movzwl -0x200(%r10,%rbx,2), %edx
movl %ebp, %edi
shrl $0xb, %edi
imull %edx, %edi
movl %eax, %esi
subl %edi, %esi
jae 0x55da0
movl $0x800, %ecx            # imm = 0x800
subl %edx, %ecx
shrl $0x5, %ecx
addl %edx, %ecx
movw %cx, -0x200(%r10,%rbx,2)
movl %r14d, %ecx
orl -0x3c(%rsp), %ecx
movq 0x8(%rsp), %rsi
movq %rsi, %rcx
movq -0x60(%rsp), %r9
je 0x55d39
movl %r14d, %ecx
shll $0x8, %ecx
testq %r13, %r13
movq %r13, %rdx
cmoveq %r9, %rdx
movzbl -0x1(%r12,%rdx), %edx
orl %ecx, %edx
andl -0x2c(%rsp), %edx
movl -0x28(%rsp), %ecx
shll %cl, %edx
leal (%rdx,%rdx,2), %ecx
leaq (%rsi,%rcx,2), %rcx
cmpl $0x6, %r11d
ja 0x55e14
subl $0x3, %r11d
movl $0x0, %edx
cmovbl %edx, %r11d
movq %r11, %rbp
cmpl $0xffffff, %edi         # imm = 0xFFFFFF
ja 0x55d6c
shll $0x8, %edi
shll $0x8, %eax
movzbl (%r8), %edx
incq %r8
orl %eax, %edx
movl %edx, %eax
movzwl 0x2(%rcx), %r9d
movl %edi, %esi
shrl $0xb, %esi
imull %r9d, %esi
movl %eax, %r11d
subl %esi, %r11d
jae 0x55f7d
movl $0x800, %r10d           # imm = 0x800
subl %r9d, %r10d
shrl $0x5, %r10d
addl %r9d, %r10d
movl $0x2, %edx
jmp 0x55f95
subl %edi, %ebp
movl %edx, %eax
shrl $0x5, %eax
subl %eax, %edx
movw %dx, -0x200(%r10,%rbx,2)
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x55dc9
shll $0x8, %ebp
shll $0x8, %esi
movzbl (%r8), %eax
incq %r8
orl %eax, %esi
movl %r11d, %edx
movzwl 0x20(%r10,%rdx,2), %r9d
movl %ebp, %edi
shrl $0xb, %edi
imull %r9d, %edi
movl %esi, %eax
subl %edi, %eax
jae 0x55ea5
movl $0x800, %eax            # imm = 0x800
subl %r9d, %eax
shrl $0x5, %eax
addl %r9d, %eax
movw %ax, 0x20(%r10,%rdx,2)
addl $0xc, %r11d
movq (%rsp), %rdx
movl -0x7c(%rsp), %r15d
movl -0x74(%rsp), %ebp
movl -0x78(%rsp), %r10d
jmp 0x56747
movl -0x78(%rsp), %esi
movq %r13, %rdx
subq %rsi, %rdx
movl $0x0, %esi
cmovbq %r9, %rsi
cmpl $0xa, %r11d
setb %r9b
cmpl $0xffffff, %edi         # imm = 0xFFFFFF
movq %r11, -0x58(%rsp)
movb %r9b, -0x64(%rsp)
ja 0x55e54
shll $0x8, %edi
shll $0x8, %eax
movzbl (%r8), %r9d
incq %r8
orl %eax, %r9d
movl %r9d, %eax
addq %r12, %rdx
movzbl (%rsi,%rdx), %r11d
leal (%r11,%r11), %r9d
andl $0x100, %r9d            # imm = 0x100
movzwl 0x202(%rcx,%r9,2), %r10d
movl %edi, %edx
shrl $0xb, %edx
imull %r10d, %edx
movl %eax, %ebp
subl %edx, %ebp
jae 0x55fe6
movl $0x800, %ebx            # imm = 0x800
subl %r10d, %ebx
shrl $0x5, %ebx
addl %r10d, %ebx
movl %r9d, %r10d
xorl $0x100, %r10d           # imm = 0x100
movl $0x2, %esi
jmp 0x56000
subl %edi, %ebp
movl %r9d, %esi
shrl $0x5, %esi
subl %esi, %r9d
movw %r9w, 0x20(%r10,%rdx,2)
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x55ecf
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %esi
incq %r8
orl %eax, %esi
movl %esi, %eax
movzwl 0x38(%r10,%rdx,2), %r9d
movl %ebp, %edi
shrl $0xb, %edi
imull %r9d, %edi
movl %eax, %esi
subl %edi, %esi
jae 0x56071
movl $0x800, %esi            # imm = 0x800
subl %r9d, %esi
shrl $0x5, %esi
addl %r9d, %esi
movw %si, 0x38(%r10,%rdx,2)
cmpl $0xffffff, %edi         # imm = 0xFFFFFF
ja 0x55f15
shll $0x8, %edi
shll $0x8, %eax
movzbl (%r8), %edx
incq %r8
orl %eax, %edx
movl %edx, %eax
movzwl -0xc00(%r10,%rbx,2), %edx
movl %edi, %ebp
shrl $0xb, %ebp
imull %edx, %ebp
movl %eax, %esi
subl %ebp, %esi
jae 0x5667a
movl $0x800, %ecx            # imm = 0x800
subl %edx, %ecx
shrl $0x5, %ecx
addl %edx, %ecx
movw %cx, -0xc00(%r10,%rbx,2)
movl -0x78(%rsp), %ecx
movq %r13, %rdx
subq %rcx, %rdx
movl $0x0, %ecx
cmovbq -0x60(%rsp), %rcx
addq %r12, %rdx
movb (%rcx,%rdx), %cl
movb %cl, (%r12,%r13)
incq %r13
xorl %ecx, %ecx
cmpl $0x7, %r11d
setae %cl
leal 0x9(,%rcx,2), %r11d
jmp 0x56670
subl %esi, %edi
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
movl $0x3, %edx
movl %r9d, %r10d
movl %edi, %esi
movl %r11d, %eax
movw %r10w, 0x2(%rcx)
cmpl $0xffffff, %esi         # imm = 0xFFFFFF
ja 0x55fb3
shll $0x8, %esi
shll $0x8, %eax
movzbl (%r8), %edi
incq %r8
orl %eax, %edi
movl %edi, %eax
movl %edx, %edi
movzwl (%rcx,%rdi,2), %r10d
movl %esi, %edx
shrl $0xb, %edx
imull %r10d, %edx
leal (%rdi,%rdi), %r9d
movl %eax, %ebx
subl %edx, %ebx
jae 0x560d4
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x560ea
subl %edx, %edi
movl %r10d, %eax
shrl $0x5, %eax
subl %eax, %r10d
movl $0x3, %esi
movl %r10d, %ebx
movl %edi, %edx
movl %ebp, %eax
movl %r9d, %r10d
movw %bx, 0x202(%rcx,%r9,2)
cmpl $0xffffff, %edx         # imm = 0xFFFFFF
movl %r14d, -0x40(%rsp)
movq %r13, -0x18(%rsp)
ja 0x5602c
shll $0x8, %edx
shll $0x8, %eax
movzbl (%r8), %edi
incq %r8
orl %eax, %edi
movl %edi, %eax
leal (,%r11,4), %edi
andl %r10d, %edi
leal (%r10,%rsi), %ebx
addl %edi, %ebx
movzwl (%rcx,%rbx,2), %r13d
movl %edx, %ebp
shrl $0xb, %ebp
imull %r13d, %ebp
addl %esi, %esi
movl %eax, %r14d
subl %ebp, %r14d
jae 0x5613c
movl $0x800, %r9d            # imm = 0x800
subl %r13d, %r9d
shrl $0x5, %r9d
addl %r13d, %r9d
xorl %r10d, %edi
jmp 0x56152
subl %edi, %ebp
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
movw %r9w, 0x38(%r10,%rdx,2)
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x56099
shll $0x8, %ebp
shll $0x8, %esi
movzbl (%r8), %eax
incq %r8
orl %eax, %esi
movzwl 0x50(%r10,%rdx,2), %r9d
movl %ebp, %edi
shrl $0xb, %edi
imull %r9d, %edi
movl %esi, %eax
subl %edi, %eax
jae 0x5669f
movl $0x800, %eax            # imm = 0x800
subl %r9d, %eax
shrl $0x5, %eax
addl %r9d, %eax
movw %ax, 0x50(%r10,%rdx,2)
movl -0x78(%rsp), %ebp
movl -0x74(%rsp), %r9d
jmp 0x56695
subl %edx, %esi
movl %r10d, %eax
shrl $0x5, %eax
subl %eax, %r10d
orl $0x1, %r9d
movl %r10d, %r11d
movl %esi, %edx
movl %ebx, %eax
movw %r11w, (%rcx,%rdi,2)
movl %r9d, %edi
movzwl (%rcx,%rdi,2), %r10d
cmpl $0xffffff, %edx         # imm = 0xFFFFFF
ja 0x56110
shll $0x8, %edx
shll $0x8, %eax
movzbl (%r8), %esi
incq %r8
orl %eax, %esi
movl %esi, %eax
movl %edx, %esi
shrl $0xb, %esi
imull %r10d, %esi
leal (%rdi,%rdi), %r9d
movl %eax, %ebx
subl %esi, %ebx
jae 0x561b2
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x561c8
subl %ebp, %edx
movl %r13d, %eax
shrl $0x5, %eax
subl %eax, %r13d
orl $0x1, %esi
movl %r13d, %r9d
movl %edx, %ebp
movl %r14d, %eax
movw %r9w, (%rcx,%rbx,2)
leal (,%r11,8), %edx
andl %edi, %edx
leal (%rdi,%rsi), %ebx
addl %edx, %ebx
movzwl (%rcx,%rbx,2), %r9d
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x56186
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %r10d
incq %r8
orl %eax, %r10d
movl %r10d, %eax
movl %ebp, %r10d
shrl $0xb, %r10d
imull %r9d, %r10d
addl %esi, %esi
movl %eax, %r14d
subl %r10d, %r14d
jae 0x5621a
movl $0x800, %r13d           # imm = 0x800
subl %r9d, %r13d
shrl $0x5, %r13d
addl %r9d, %r13d
xorl %edi, %edx
jmp 0x56232
subl %esi, %edx
movl %r10d, %eax
shrl $0x5, %eax
subl %eax, %r10d
orl $0x1, %r9d
movl %r10d, %r11d
movl %edx, %esi
movl %ebx, %eax
movw %r11w, (%rcx,%rdi,2)
movl %r9d, %edi
movzwl (%rcx,%rdi,2), %r10d
cmpl $0xffffff, %esi         # imm = 0xFFFFFF
ja 0x561ee
shll $0x8, %esi
shll $0x8, %eax
movzbl (%r8), %edx
incq %r8
orl %eax, %edx
movl %edx, %eax
movl %esi, %edx
shrl $0xb, %edx
imull %r10d, %edx
leal (%rdi,%rdi), %r9d
movl %eax, %ebx
subl %edx, %ebx
jae 0x5628f
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x562a5
subl %r10d, %ebp
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
orl $0x1, %esi
movl %r9d, %r13d
movl %ebp, %r10d
movl %r14d, %eax
movw %r13w, (%rcx,%rbx,2)
movl %r11d, %edi
shll $0x4, %edi
andl %edx, %edi
leal (%rdx,%rsi), %ebx
addl %edi, %ebx
movzwl (%rcx,%rbx,2), %r9d
cmpl $0xffffff, %r10d        # imm = 0xFFFFFF
ja 0x56264
shll $0x8, %r10d
shll $0x8, %eax
movzbl (%r8), %ebp
incq %r8
orl %eax, %ebp
movl %ebp, %eax
movl %r10d, %ebp
shrl $0xb, %ebp
imull %r9d, %ebp
addl %esi, %esi
movl %eax, %r14d
subl %ebp, %r14d
jae 0x562f7
movl $0x800, %r13d           # imm = 0x800
subl %r9d, %r13d
shrl $0x5, %r13d
addl %r9d, %r13d
xorl %edx, %edi
jmp 0x5630f
subl %edx, %esi
movl %r10d, %eax
shrl $0x5, %eax
subl %eax, %r10d
orl $0x1, %r9d
movl %r10d, %r11d
movl %esi, %edx
movl %ebx, %eax
movw %r11w, (%rcx,%rdi,2)
movl %r9d, %edi
movzwl (%rcx,%rdi,2), %r10d
cmpl $0xffffff, %edx         # imm = 0xFFFFFF
ja 0x562cb
shll $0x8, %edx
shll $0x8, %eax
movzbl (%r8), %esi
incq %r8
orl %eax, %esi
movl %esi, %eax
movl %edx, %esi
shrl $0xb, %esi
imull %r10d, %esi
leal (%rdi,%rdi), %r9d
movl %eax, %ebx
subl %esi, %ebx
jae 0x5636d
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x56383
subl %ebp, %r10d
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
orl $0x1, %esi
movl %r9d, %r13d
movl %r10d, %ebp
movl %r14d, %eax
movw %r13w, (%rcx,%rbx,2)
movl %r11d, %ebx
shll $0x5, %ebx
andl %edi, %ebx
leal (%rdi,%rsi), %edx
addl %ebx, %edx
movzwl (%rcx,%rdx,2), %r9d
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x56341
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %r10d
incq %r8
orl %eax, %r10d
movl %r10d, %eax
movl %ebp, %r10d
shrl $0xb, %r10d
imull %r9d, %r10d
addl %esi, %esi
movl %eax, %r14d
subl %r10d, %r14d
jae 0x563d5
movl $0x800, %r13d           # imm = 0x800
subl %r9d, %r13d
shrl $0x5, %r13d
addl %r9d, %r13d
xorl %edi, %ebx
jmp 0x563ed
subl %esi, %edx
movl %r10d, %eax
shrl $0x5, %eax
subl %eax, %r10d
orl $0x1, %r9d
movl %r10d, %r11d
movl %edx, %esi
movl %ebx, %eax
movw %r11w, (%rcx,%rdi,2)
movl %r9d, %edx
movzwl (%rcx,%rdx,2), %r10d
cmpl $0xffffff, %esi         # imm = 0xFFFFFF
ja 0x563a9
shll $0x8, %esi
shll $0x8, %eax
movzbl (%r8), %edi
incq %r8
orl %eax, %edi
movl %edi, %eax
movl %esi, %edi
shrl $0xb, %edi
imull %r10d, %edi
leal (%rdx,%rdx), %r9d
movl %eax, %ebx
subl %edi, %ebx
jae 0x5644a
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x56460
subl %r10d, %ebp
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
orl $0x1, %esi
movl %r9d, %r13d
movl %ebp, %r10d
movl %r14d, %eax
movw %r13w, (%rcx,%rdx,2)
movl %r11d, %ebp
shll $0x6, %ebp
andl %ebx, %ebp
leal (%rbx,%rsi), %edi
addl %ebp, %edi
movzwl (%rcx,%rdi,2), %r9d
cmpl $0xffffff, %r10d        # imm = 0xFFFFFF
ja 0x5641f
shll $0x8, %r10d
shll $0x8, %eax
movzbl (%r8), %edx
incq %r8
orl %eax, %edx
movl %edx, %eax
movl %r10d, %edx
shrl $0xb, %edx
imull %r9d, %edx
addl %esi, %esi
movl %eax, %r14d
subl %edx, %r14d
jae 0x564b2
movl $0x800, %r13d           # imm = 0x800
subl %r9d, %r13d
shrl $0x5, %r13d
addl %r9d, %r13d
xorl %ebx, %ebp
jmp 0x564ca
subl %edi, %esi
movl %r10d, %eax
shrl $0x5, %eax
subl %eax, %r10d
orl $0x1, %r9d
movl %r10d, %r11d
movl %esi, %edi
movl %ebx, %eax
movw %r11w, (%rcx,%rdx,2)
movl %r9d, %esi
movzwl (%rcx,%rsi,2), %r10d
cmpl $0xffffff, %edi         # imm = 0xFFFFFF
ja 0x56486
shll $0x8, %edi
shll $0x8, %eax
movzbl (%r8), %edx
incq %r8
orl %eax, %edx
movl %edx, %eax
movl %edi, %edx
shrl $0xb, %edx
imull %r10d, %edx
leal (%rsi,%rsi), %r9d
movl %eax, %ebx
subl %edx, %ebx
jae 0x5652c
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x56542
subl %edx, %r10d
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
orl $0x1, %esi
movl %r9d, %r13d
movl %r10d, %edx
movl %r14d, %eax
movw %r13w, (%rcx,%rdi,2)
movl %r11d, %edi
shll $0x7, %edi
andl %ebp, %edi
leal (%rsi,%rbp), %ebx
addl %edi, %ebx
movzwl (%rcx,%rbx,2), %r9d
cmpl $0xffffff, %edx         # imm = 0xFFFFFF
ja 0x564fc
shll $0x8, %edx
shll $0x8, %eax
movzbl (%r8), %r10d
incq %r8
orl %eax, %r10d
movl %r10d, %eax
movl %edx, %r10d
shrl $0xb, %r10d
imull %r9d, %r10d
addl %esi, %esi
movl %eax, %r14d
subl %r10d, %r14d
jae 0x5659a
movl $0x800, %r13d           # imm = 0x800
subl %r9d, %r13d
shrl $0x5, %r13d
addl %r9d, %r13d
xorl %ebp, %edi
jmp 0x565b2
subl %edx, %edi
movl %r10d, %eax
shrl $0x5, %eax
subl %eax, %r10d
orl $0x1, %r9d
movl %r10d, %r11d
movl %edi, %edx
movl %ebx, %eax
movw %r11w, (%rcx,%rsi,2)
movl %r9d, %edi
movzwl (%rcx,%rdi,2), %r9d
cmpl $0xffffff, %edx         # imm = 0xFFFFFF
ja 0x56568
shll $0x8, %edx
shll $0x8, %eax
movzbl (%r8), %esi
incq %r8
orl %eax, %esi
movl %esi, %eax
movq %rbp, %r11
movl %edx, %ebp
shrl $0xb, %ebp
imull %r9d, %ebp
leal (%rdi,%rdi), %esi
movl %eax, %r10d
subl %ebp, %r10d
jae 0x56633
movl $0x800, %edx            # imm = 0x800
subl %r9d, %edx
shrl $0x5, %edx
addl %r9d, %edx
movw %dx, (%rcx,%rdi,2)
jmp 0x56664
subl %r10d, %edx
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
orl $0x1, %esi
movl %r9d, %r13d
movl %edx, %r10d
movl %r14d, %eax
movl -0x40(%rsp), %r14d
movb -0x64(%rsp), %bpl
movw %r13w, (%rcx,%rbx,2)
shll $0x8, %r11d
andl %edi, %r11d
addl %esi, %edi
addl %r11d, %edi
movzwl (%rcx,%rdi,2), %edx
cmpl $0xffffff, %r10d        # imm = 0xFFFFFF
ja 0x565ee
shll $0x8, %r10d
shll $0x8, %eax
movzbl (%r8), %r9d
incq %r8
orl %eax, %r9d
movl %r9d, %eax
movq -0x18(%rsp), %r13
movq -0x58(%rsp), %r11
xorl %r9d, %r9d
movb %bpl, %r9b
leal (%r9,%r9,2), %r9d
addl %r9d, %r11d
addl $-0x6, %r11d
movl %r10d, %ebp
shrl $0xb, %ebp
imull %edx, %ebp
addl %esi, %esi
movl %eax, %r9d
subl %ebp, %r9d
jae 0x5664d
movl $0x800, %r9d            # imm = 0x800
subl %edx, %r9d
shrl $0x5, %r9d
addl %edx, %r9d
movw %r9w, (%rcx,%rdi,2)
jmp 0x56664
subl %ebp, %edx
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
movw %r9w, (%rcx,%rdi,2)
orl $0x1, %esi
movl %edx, %ebp
movl %r10d, %eax
jmp 0x56664
subl %ebp, %r10d
movl %edx, %eax
shrl $0x5, %eax
subl %eax, %edx
movw %dx, (%rcx,%rdi,2)
orl $0x1, %esi
movl %r10d, %ebp
movl %r9d, %eax
movq -0x70(%rsp), %r10
movb %sil, (%r12,%r13)
incq %r13
movl $0x1, %ecx
jmp 0x57112
subl %ebp, %edi
movl %edx, %eax
shrl $0x5, %eax
subl %eax, %edx
movw %dx, -0xc00(%r10,%rbx,2)
movl -0x74(%rsp), %ebp
movl -0x78(%rsp), %r9d
movl -0x7c(%rsp), %r10d
jmp 0x5672e
subl %edi, %ebp
movl %r9d, %esi
shrl $0x5, %esi
subl %esi, %r9d
movw %r9w, 0x50(%r10,%rdx,2)
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x566c7
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %esi
incq %r8
orl %esi, %eax
movzwl 0x68(%r10,%rdx,2), %r9d
movl %ebp, %edi
shrl $0xb, %edi
imull %r9d, %edi
movl %eax, %r10d
subl %edi, %r10d
jae 0x566f3
movl $0x800, %esi            # imm = 0x800
subl %r9d, %esi
shrl $0x5, %esi
addl %r9d, %esi
movl -0x7c(%rsp), %r10d
jmp 0x56715
subl %edi, %ebp
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
movl %r9d, %esi
movl %ebp, %edi
movl %r10d, %eax
movl -0x7c(%rsp), %r9d
movl -0x4c(%rsp), %r10d
movl %r9d, -0x4c(%rsp)
movl -0x78(%rsp), %ebp
movl %r10d, %r9d
movq -0x70(%rsp), %r10
movw %si, 0x68(%r10,%rdx,2)
movl %eax, %esi
movl -0x74(%rsp), %r10d
xorl %eax, %eax
cmpl $0x7, %r11d
setae %al
leal 0x8(%rax,%rax,2), %r11d
movq -0x8(%rsp), %rdx
movl %r10d, %r15d
movl %r9d, %r10d
movzwl (%rdx), %r9d
cmpl $0xffffff, %edi         # imm = 0xFFFFFF
ja 0x56762
shll $0x8, %edi
shll $0x8, %esi
movzbl (%r8), %eax
incq %r8
orl %eax, %esi
movl %edi, %eax
shrl $0xb, %eax
imull %r9d, %eax
movl %esi, %ebx
subl %eax, %ebx
movq %r11, -0x58(%rsp)
movl %ebp, -0x64(%rsp)
movl %r15d, -0x44(%rsp)
movl %r10d, -0x48(%rsp)
jae 0x567e1
movl $0x800, %edi            # imm = 0x800
subl %r9d, %edi
shrl $0x5, %edi
addl %r9d, %edi
movw %di, (%rdx)
cmpl $0xffffff, %eax         # imm = 0xFFFFFF
ja 0x567ab
shll $0x8, %eax
shll $0x8, %esi
movzbl (%r8), %edi
incq %r8
orl %edi, %esi
movl %ecx, %edi
movzwl 0x2(%rdx,%rdi,2), %r10d
movl %eax, %ecx
shrl $0xb, %ecx
imull %r10d, %ecx
movl %esi, %ebx
subl %ecx, %ebx
jae 0x56880
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
movl $0x2, %r9d
jmp 0x56898
subl %eax, %edi
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
movw %r9w, (%rdx)
cmpl $0xffffff, %edi         # imm = 0xFFFFFF
ja 0x56807
shll $0x8, %edi
shll $0x8, %ebx
movzbl (%r8), %eax
incq %r8
orl %eax, %ebx
movzwl 0x10(%rdx), %esi
movl %edi, %r10d
shrl $0xb, %r10d
imull %esi, %r10d
movl %ebx, %eax
subl %r10d, %eax
jae 0x568ec
movl $0x800, %eax            # imm = 0x800
subl %esi, %eax
shrl $0x5, %eax
addl %esi, %eax
movw %ax, 0x10(%rdx)
cmpl $0xffffff, %r10d        # imm = 0xFFFFFF
ja 0x5684a
shll $0x8, %r10d
shll $0x8, %ebx
movzbl (%r8), %eax
incq %r8
orl %eax, %ebx
movl %ecx, %eax
movzwl 0x12(%rdx,%rax,2), %edi
movl %r10d, %esi
shrl $0xb, %esi
imull %edi, %esi
movl %ebx, %r9d
subl %esi, %r9d
jae 0x56d52
movl $0x800, %r11d           # imm = 0x800
subl %edi, %r11d
shrl $0x5, %r11d
addl %edi, %r11d
movl $0x2, %ecx
jmp 0x56d6a
subl %ecx, %eax
movl %r10d, %ecx
shrl $0x5, %ecx
subl %ecx, %r10d
movl $0x3, %r9d
movl %r10d, %r11d
movl %eax, %ecx
movl %ebx, %esi
leaq (%rdx,%rdi,2), %rax
movw %r11w, 0x2(%rax)
cmpl $0xffffff, %ecx         # imm = 0xFFFFFF
ja 0x568b8
shll $0x8, %ecx
shll $0x8, %esi
movzbl (%r8), %edx
incq %r8
orl %edx, %esi
movl %r9d, %edi
movzwl (%rax,%rdi,2), %r10d
movl %ecx, %edx
shrl $0xb, %edx
imull %r10d, %edx
leal (%rdi,%rdi), %r9d
movl %esi, %ebx
subl %edx, %ebx
jae 0x56987
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x5699d
subl %r10d, %edi
movl %esi, %ecx
shrl $0x5, %ecx
subl %ecx, %esi
movw %si, 0x10(%rdx)
movl $0x1, %r15d
movl %edi, %ebp
movq -0x60(%rsp), %rbx
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x5691e
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %ecx
incq %r8
orl %ecx, %eax
movl %ebp, %esi
movl %r15d, %ecx
movzwl 0x200(%rdx,%rcx,2), %edi
shrl $0xb, %ebp
imull %edi, %ebp
leal (%rcx,%rcx), %r15d
movl %eax, %r10d
subl %ebp, %r10d
jae 0x5694f
movl $0x800, %r9d            # imm = 0x800
subl %edi, %r9d
shrl $0x5, %r9d
addl %edi, %r9d
jmp 0x56964
subl %ebp, %esi
movl %edi, %eax
shrl $0x5, %eax
subl %eax, %edi
orl $0x1, %r15d
movl %edi, %r9d
movl %esi, %ebp
movl %r10d, %eax
movq -0x70(%rsp), %r10
movw %r9w, 0x200(%rdx,%rcx,2)
cmpl $0x100, %r15d           # imm = 0x100
jb 0x56907
addl $0xffffff10, %r15d      # imm = 0xFFFFFF10
jmp 0x56a16
subl %edx, %ecx
movl %r10d, %edx
shrl $0x5, %edx
subl %edx, %r10d
orl $0x1, %r9d
movl %r10d, %r11d
movl %ecx, %edx
movl %ebx, %esi
movq -0x60(%rsp), %rbx
movw %r11w, (%rax,%rdi,2)
movl %r9d, %ecx
movzwl (%rax,%rcx,2), %edi
cmpl $0xffffff, %edx         # imm = 0xFFFFFF
ja 0x569c6
shll $0x8, %edx
shll $0x8, %esi
movzbl (%r8), %r9d
incq %r8
orl %r9d, %esi
movq -0x58(%rsp), %r11
movl %edx, %ebp
shrl $0xb, %ebp
imull %edi, %ebp
leal (%rcx,%rcx), %r15d
movl %esi, %r10d
subl %ebp, %r10d
jae 0x569f1
movl $0x800, %r9d            # imm = 0x800
subl %edi, %r9d
shrl $0x5, %r9d
addl %edi, %r9d
jmp 0x56a06
subl %ebp, %edx
movl %edi, %esi
shrl $0x5, %esi
subl %esi, %edi
orl $0x1, %r15d
movl %edi, %r9d
movl %edx, %ebp
movl %r10d, %esi
movq -0x70(%rsp), %r10
movw %r9w, (%rax,%rcx,2)
addl $-0x8, %r15d
movl %esi, %eax
cmpl $0xc, %r11d
jb 0x56a77
cmpl $0x3, %r15d
movl $0x3, %ecx
cmovbl %r15d, %ecx
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x56a42
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %edx
incq %r8
orl %eax, %edx
movl %edx, %eax
movq -0x20(%rsp), %r11
shll $0x7, %ecx
movzwl 0x2(%r11,%rcx), %edi
movl %ebp, %edx
shrl $0xb, %edx
imull %edi, %edx
movl %eax, %r10d
subl %edx, %r10d
jae 0x56a90
movl $0x800, %r9d            # imm = 0x800
subl %edi, %r9d
shrl $0x5, %r9d
addl %edi, %r9d
movl $0x2, %esi
jmp 0x56aa6
movl -0x44(%rsp), %ecx
movl %ecx, -0x7c(%rsp)
movl -0x64(%rsp), %ecx
movl %ecx, -0x74(%rsp)
movl -0x48(%rsp), %edi
jmp 0x5708a
subl %edx, %ebp
movl %edi, %eax
shrl $0x5, %eax
subl %eax, %edi
movl $0x3, %esi
movl %edi, %r9d
movl %ebp, %edx
movl %r10d, %eax
addq %r11, %rcx
movw %r9w, 0x2(%rcx)
cmpl $0xffffff, %edx         # imm = 0xFFFFFF
ja 0x56ac7
shll $0x8, %edx
shll $0x8, %eax
movzbl (%r8), %edi
incq %r8
orl %eax, %edi
movl %edi, %eax
movl %esi, %edi
movzwl (%rcx,%rdi,2), %r10d
movl %edx, %esi
shrl $0xb, %esi
imull %r10d, %esi
leal (%rdi,%rdi), %r9d
movl %eax, %ebx
subl %esi, %ebx
jae 0x56af3
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x56b09
subl %esi, %edx
movl %r10d, %eax
shrl $0x5, %eax
subl %eax, %r10d
orl $0x1, %r9d
movl %r10d, %r11d
movl %edx, %esi
movl %ebx, %eax
movw %r11w, (%rcx,%rdi,2)
movl %r9d, %edi
movzwl (%rcx,%rdi,2), %r10d
cmpl $0xffffff, %esi         # imm = 0xFFFFFF
ja 0x56b2f
shll $0x8, %esi
shll $0x8, %eax
movzbl (%r8), %edx
incq %r8
orl %eax, %edx
movl %edx, %eax
movl %esi, %edx
shrl $0xb, %edx
imull %r10d, %edx
leal (%rdi,%rdi), %r9d
movl %eax, %ebx
subl %edx, %ebx
jae 0x56b54
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x56b6a
subl %edx, %esi
movl %r10d, %eax
shrl $0x5, %eax
subl %eax, %r10d
orl $0x1, %r9d
movl %r10d, %r11d
movl %esi, %edx
movl %ebx, %eax
movw %r11w, (%rcx,%rdi,2)
movl %r9d, %edi
movzwl (%rcx,%rdi,2), %r10d
cmpl $0xffffff, %edx         # imm = 0xFFFFFF
ja 0x56b90
shll $0x8, %edx
shll $0x8, %eax
movzbl (%r8), %esi
incq %r8
orl %eax, %esi
movl %esi, %eax
movl %edx, %esi
shrl $0xb, %esi
imull %r10d, %esi
leal (%rdi,%rdi), %r9d
movl %eax, %ebx
subl %esi, %ebx
jae 0x56bb5
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x56bcb
subl %esi, %edx
movl %r10d, %eax
shrl $0x5, %eax
subl %eax, %r10d
orl $0x1, %r9d
movl %r10d, %r11d
movl %edx, %esi
movl %ebx, %eax
movw %r11w, (%rcx,%rdi,2)
movl %r9d, %edx
movzwl (%rcx,%rdx,2), %r10d
cmpl $0xffffff, %esi         # imm = 0xFFFFFF
ja 0x56bf1
shll $0x8, %esi
shll $0x8, %eax
movzbl (%r8), %edi
incq %r8
orl %eax, %edi
movl %edi, %eax
movl %esi, %edi
shrl $0xb, %edi
imull %r10d, %edi
leal (%rdx,%rdx), %r9d
movl %eax, %ebx
subl %edi, %ebx
jae 0x56c16
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x56c2c
subl %edi, %esi
movl %r10d, %eax
shrl $0x5, %eax
subl %eax, %r10d
orl $0x1, %r9d
movl %r10d, %r11d
movl %esi, %edi
movl %ebx, %eax
movq -0x60(%rsp), %rbx
movw %r11w, (%rcx,%rdx,2)
movl %r9d, %esi
movzwl (%rcx,%rsi,2), %r10d
cmpl $0xffffff, %edi         # imm = 0xFFFFFF
ja 0x56c57
shll $0x8, %edi
shll $0x8, %eax
movzbl (%r8), %edx
incq %r8
orl %eax, %edx
movl %edx, %eax
movl %edi, %ebp
shrl $0xb, %ebp
imull %r10d, %ebp
leal (%rsi,%rsi), %edx
movl %eax, %r11d
subl %ebp, %r11d
jae 0x56c7d
movl $0x800, %r9d            # imm = 0x800
subl %r10d, %r9d
shrl $0x5, %r9d
addl %r10d, %r9d
jmp 0x56c93
subl %ebp, %edi
movl %r10d, %eax
shrl $0x5, %eax
subl %eax, %r10d
orl $0x1, %edx
movl %r10d, %r9d
movl %edi, %ebp
movl %r11d, %eax
movq -0x58(%rsp), %r11
movw %r9w, (%rcx,%rsi,2)
leal -0x40(%rdx), %esi
cmpl $0x4, %esi
movq -0x70(%rsp), %r10
jb 0x5704d
movl %esi, %ecx
shrl %ecx
andl $0x1, %edx
orl $0x2, %edx
cmpl $0xd, %esi
ja 0x56dbe
decl %ecx
shll %cl, %edx
incl %edx
movl $0x1, %esi
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x56ce3
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %edi
incq %r8
orl %edi, %eax
movl %ebp, %r9d
movl %edx, %edx
movzwl -0xd00(%r10,%rdx,2), %r10d
shrl $0xb, %ebp
imull %r10d, %ebp
leal (%rsi,%rsi), %edi
movl %eax, %ebx
subl %ebp, %ebx
jae 0x56d13
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x56d29
subl %ebp, %r9d
movl %r10d, %eax
shrl $0x5, %eax
subl %eax, %r10d
movl %r10d, %r11d
movl %r9d, %ebp
movl %ebx, %eax
movl %edi, %esi
movq -0x60(%rsp), %rbx
movq -0x70(%rsp), %r10
movw %r11w, -0xd00(%r10,%rdx,2)
addl %esi, %edx
movl %edi, %esi
decl %ecx
movq -0x58(%rsp), %r11
jne 0x56ccc
subl %edi, %edx
movl %edx, %esi
jmp 0x5704d
subl %esi, %r10d
movl %edi, %ecx
shrl $0x5, %ecx
subl %ecx, %edi
movl $0x3, %ecx
movl %edi, %r11d
movl %r10d, %esi
movl %r9d, %ebx
leaq (%rdx,%rax,2), %r9
movw %r11w, 0x12(%r9)
cmpl $0xffffff, %esi         # imm = 0xFFFFFF
ja 0x56d8a
shll $0x8, %esi
shll $0x8, %ebx
movzbl (%r8), %edi
incq %r8
orl %edi, %ebx
movl %ecx, %edi
movzwl 0x10(%r9,%rdi,2), %r10d
movl %esi, %ecx
shrl $0xb, %ecx
imull %r10d, %ecx
leal (%rdi,%rdi), %r9d
movl %ebx, %ebp
subl %ecx, %ebp
jae 0x56e44
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x56e5a
addl $-0x5, %ecx
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x56dde
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %edi
incq %r8
orl %eax, %edi
movl %ebp, %esi
movl %edi, %eax
jmp 0x56de0
movl %ebp, %esi
shrl %ebp
movl %eax, %edi
subl %ebp, %edi
movl %edi, %eax
sarl $0x1f, %eax
leal (%rax,%rdx,2), %edx
incl %edx
andl %ebp, %eax
addl %edi, %eax
decl %ecx
jne 0x56dc1
cmpl $0x1ffffff, %esi        # imm = 0x1FFFFFF
ja 0x56e11
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %ecx
incq %r8
orl %eax, %ecx
movl %ecx, %eax
movzwl 0x2(%r10), %edi
movl %ebp, %esi
shrl $0xb, %esi
imull %edi, %esi
movl %eax, %r10d
subl %esi, %r10d
jae 0x56edc
movl $0x800, %r9d            # imm = 0x800
subl %edi, %r9d
shrl $0x5, %r9d
addl %edi, %r9d
movl $0x2, %ecx
jmp 0x56ef2
subl %ecx, %esi
movl %r10d, %ecx
shrl $0x5, %ecx
subl %ecx, %r10d
orl $0x1, %r9d
movl %r10d, %r11d
movl %esi, %ecx
movl %ebp, %ebx
leaq (%rdx,%rax,2), %rdx
addq $0x10, %rdx
movw %r11w, (%rdx,%rdi,2)
movl %r9d, %esi
movzwl (%rdx,%rsi,2), %edi
cmpl $0xffffff, %ecx         # imm = 0xFFFFFF
movq -0x70(%rsp), %r10
ja 0x56e8c
shll $0x8, %ecx
shll $0x8, %ebx
movzbl (%r8), %eax
incq %r8
orl %ebx, %eax
jmp 0x56e8e
movl %ebx, %eax
movq -0x58(%rsp), %r11
movl %ecx, %ebp
shrl $0xb, %ebp
imull %edi, %ebp
leal (%rsi,%rsi), %r15d
movl %eax, %r9d
subl %ebp, %r9d
movq -0x60(%rsp), %rbx
jae 0x56ec1
movl $0x800, %ecx            # imm = 0x800
subl %edi, %ecx
shrl $0x5, %ecx
addl %edi, %ecx
movw %cx, (%rdx,%rsi,2)
jmp 0x56a16
subl %ebp, %ecx
movl %edi, %eax
shrl $0x5, %eax
subl %eax, %edi
movw %di, (%rdx,%rsi,2)
orl $0x1, %r15d
movl %ecx, %ebp
movl %r9d, %eax
jmp 0x56a16
subl %esi, %ebp
movl %edi, %eax
shrl $0x5, %eax
subl %eax, %edi
movl $0x3, %ecx
movl %edi, %r9d
movl %ebp, %esi
movl %r10d, %eax
movq -0x70(%rsp), %r10
movw %r9w, 0x2(%r10)
cmpl $0xffffff, %esi         # imm = 0xFFFFFF
ja 0x56f15
shll $0x8, %esi
shll $0x8, %eax
movzbl (%r8), %edi
incq %r8
orl %eax, %edi
movl %edi, %eax
movl %ecx, %edi
movzwl (%r10,%rdi,2), %r9d
movl %esi, %ecx
shrl $0xb, %ecx
imull %r9d, %ecx
movl %eax, %r11d
subl %ecx, %r11d
jae 0x56f42
movl $0x800, %r10d           # imm = 0x800
subl %r9d, %r10d
shrl $0x5, %r10d
addl %r9d, %r10d
leal 0x2(%rdi), %ebx
jmp 0x56f58
subl %ecx, %esi
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
leal 0x4(%rdi), %ebx
movl %r9d, %r10d
movl %esi, %ecx
movl %r11d, %eax
movq -0x70(%rsp), %rsi
movw %r10w, (%rsi,%rdi,2)
movl %ebx, %edi
movzwl (%rsi,%rdi,2), %r9d
cmpl $0xffffff, %ecx         # imm = 0xFFFFFF
ja 0x56f82
shll $0x8, %ecx
shll $0x8, %eax
movzbl (%r8), %esi
incq %r8
orl %eax, %esi
movl %esi, %eax
movl %ecx, %esi
shrl $0xb, %esi
imull %r9d, %esi
movl %eax, %ebx
subl %esi, %ebx
jae 0x56fa9
movl $0x800, %r10d           # imm = 0x800
subl %r9d, %r10d
shrl $0x5, %r10d
addl %r9d, %r10d
movl $0x4, %r11d
jmp 0x56fc1
subl %esi, %ecx
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
movl $0x8, %r11d
movl %r9d, %r10d
movl %ecx, %esi
movl %ebx, %eax
movq -0x60(%rsp), %rbx
leal (%rdi,%r11), %ecx
movq -0x70(%rsp), %r9
movw %r10w, (%r9,%rdi,2)
movzwl (%r9,%rcx,2), %edi
cmpl $0xffffff, %esi         # imm = 0xFFFFFF
ja 0x56ff4
shll $0x8, %esi
shll $0x8, %eax
movzbl (%r8), %r9d
incq %r8
orl %eax, %r9d
movl %r9d, %eax
movq -0x58(%rsp), %r11
movl %esi, %ebp
shrl $0xb, %ebp
imull %edi, %ebp
movl %eax, %r10d
subl %ebp, %r10d
jae 0x57020
movl $0x800, %r9d            # imm = 0x800
subl %edi, %r9d
shrl $0x5, %r9d
addl %edi, %r9d
movl %ecx, %edi
addl $-0x8, %edi
jmp 0x57033
subl %ebp, %esi
movl %edi, %eax
shrl $0x5, %eax
subl %eax, %edi
movl %edi, %r9d
movl %esi, %ebp
movl %r10d, %eax
movl %ecx, %edi
shll $0x4, %edx
movl %edx, %esi
orl %edi, %esi
movq -0x70(%rsp), %r10
movw %r9w, (%r10,%rcx,2)
cmpl $-0x1, %esi
je 0x57155
leal 0x1(%rsi), %edi
xorl %ecx, %ecx
cmpl $0x13, %r11d
setae %cl
movl -0x3c(%rsp), %edx
testl %edx, %edx
leal 0x7(%rcx,%rcx,2), %r11d
movl %edx, %ecx
cmovel %r14d, %ecx
cmpl %ecx, %esi
jae 0x57130
movl -0x44(%rsp), %ecx
movl %ecx, -0x4c(%rsp)
movl -0x64(%rsp), %ecx
movl %ecx, -0x7c(%rsp)
movl -0x48(%rsp), %ecx
movl %ecx, -0x74(%rsp)
addl $0x2, %r15d
movq -0x38(%rsp), %rcx
subq %r13, %rcx
movl %edi, -0x78(%rsp)
je 0x57129
movl %r15d, %edx
cmpq %rdx, %rcx
cmovael %r15d, %ecx
movl %edi, %edx
movq %r13, %rsi
subq %rdx, %rsi
movl $0x0, %edx
cmovbq %rbx, %rdx
addq %rsi, %rdx
subl %ecx, %r15d
movq %rbx, %rsi
subq %rdx, %rsi
cmpq %rcx, %rsi
jae 0x570f6
leaq (%r12,%r13), %rdi
xorl %esi, %esi
movb (%r12,%rdx), %r9b
movb %r9b, (%rdi,%rsi)
incq %rdx
cmpq %rbx, %rdx
movl $0x0, %r9d
cmoveq %r9, %rdx
incq %rsi
cmpl %esi, %ecx
jne 0x570d2
addq %rsi, %r13
jmp 0x57112
leaq (%r12,%r13), %rsi
subq %r13, %rdx
movq %rcx, %rdi
movb (%rsi,%rdx), %r9b
movb %r9b, (%rsi)
incq %rsi
decq %rdi
jne 0x57100
addq %rcx, %r13
addl %ecx, %r14d
cmpq -0x38(%rsp), %r13
jae 0x57177
cmpq 0x10(%rsp), %r8
jb 0x55ca3
jmp 0x57177
movq -0x38(%rsp), %r13
jmp 0x57177
movl %edi, -0x78(%rsp)
addl $0x202, %r15d           # imm = 0x202
movl -0x48(%rsp), %ecx
movl %ecx, -0x74(%rsp)
movl -0x64(%rsp), %ecx
movl %ecx, -0x7c(%rsp)
movl -0x44(%rsp), %ecx
movl %ecx, -0x4c(%rsp)
jmp 0x57177
addl $-0xc, %r11d
movl $0x112, %r15d           # imm = 0x112
movl -0x48(%rsp), %ecx
movl %ecx, -0x78(%rsp)
movl -0x64(%rsp), %ecx
movl %ecx, -0x74(%rsp)
movl -0x44(%rsp), %ecx
movl %ecx, -0x7c(%rsp)
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x57190
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %ecx
incq %r8
orl %eax, %ecx
movl %ecx, %eax
movl -0x78(%rsp), %edx
movl -0x7c(%rsp), %esi
movq -0x10(%rsp), %rcx
movq %r8, 0x30(%rcx)
movl %ebp, 0x38(%rcx)
movl %eax, 0x3c(%rcx)
movl %r15d, 0x5c(%rcx)
movq %r13, 0x28(%rcx)
movl %r14d, 0x40(%rcx)
movl %edx, 0x48(%rcx)
movl -0x74(%rsp), %eax
movl %eax, 0x4c(%rcx)
movl %esi, 0x50(%rcx)
movl -0x4c(%rsp), %eax
movl %eax, 0x54(%rcx)
movl %r11d, 0x58(%rcx)
cmpl $0x0, 0x44(%rcx)
jne 0x571dc
movl 0x4(%rcx), %eax
cmpl %eax, %r14d
jb 0x571dc
movl %eax, 0x44(%rcx)
xorl %eax, %eax
cmpl $0x200, %r15d           # imm = 0x200
setae %al
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq