// File: /workspace/github_cpp_makefile_star2_O2/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 $0x10, %rsp
movq %rdx, 0x8(%rsp)
movl 0x40(%rdi), %r14d
movl 0x44(%rdi), %eax
movl %eax, -0x3c(%rsp)
testl %eax, %eax
je 0x4b654
movq %rsi, -0x38(%rsp)
movq 0x28(%rdi), %rbx
jmp 0x4b674
movl 0x4(%rdi), %eax
subl %r14d, %eax
movq 0x28(%rdi), %rbx
movq %rsi, %rcx
subq %rbx, %rcx
leaq (%rbx,%rax), %rdx
cmpq %rax, %rcx
cmovaq %rdx, %rsi
movq %rsi, -0x38(%rsp)
movq 0x10(%rdi), %r9
movl 0x58(%rdi), %r11d
movl 0x48(%rdi), %eax
movl %eax, -0x7c(%rsp)
movl 0x4c(%rdi), %eax
movl %eax, -0x78(%rsp)
movl 0x50(%rdi), %eax
movl %eax, -0x80(%rsp)
movl 0x54(%rdi), %eax
movl %eax, -0x60(%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, -0x48(%rsp)
movq 0x30(%rdi), %r8
movl 0x38(%rdi), %ebp
movq %rdi, -0x18(%rsp)
movl 0x3c(%rdi), %eax
leaq -0xa00(%r9), %rcx
movq %rcx, -0x10(%rsp)
leaq -0x600(%r9), %rcx
movq %rcx, -0x8(%rsp)
leaq 0x80(%r9), %rcx
movq %rcx, -0x20(%rsp)
leaq 0x280(%r9), %rcx
movq %rcx, (%rsp)
xorl %r15d, %r15d
movq %r9, -0x58(%rsp)
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x4b738
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %ecx
incq %r8
orl %eax, %ecx
movl %ecx, %eax
movl %r14d, %esi
andl -0x24(%rsp), %esi
shll $0x4, %esi
leal (%r11,%rsi), %r10d
movzwl -0x200(%r9,%r10,2), %ecx
movl %ebp, %edi
shrl $0xb, %edi
imull %ecx, %edi
movl %eax, %edx
movl -0x7c(%rsp), %r13d
subl %edi, %edx
movq %rbx, -0x70(%rsp)
jae 0x4b81d
movl $0x800, %edx            # imm = 0x800
subl %ecx, %edx
shrl $0x5, %edx
addl %ecx, %edx
movw %dx, -0x200(%r9,%r10,2)
movl %r14d, %ecx
orl -0x3c(%rsp), %ecx
movq (%rsp), %rsi
movq %rsi, %rcx
je 0x4b7bb
movl %r14d, %ecx
shll $0x8, %ecx
testq %rbx, %rbx
movq %rbx, %rdx
cmoveq -0x48(%rsp), %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 0x4b89e
subl $0x3, %r11d
movl $0x0, %edx
cmovbl %edx, %r11d
cmpl $0xffffff, %edi         # imm = 0xFFFFFF
ja 0x4b7eb
shll $0x8, %edi
shll $0x8, %eax
movzbl (%r8), %edx
incq %r8
orl %eax, %edx
movl %edx, %eax
movzwl 0x2(%rcx), %edx
movl %edi, %esi
shrl $0xb, %esi
imull %edx, %esi
movl %eax, %r10d
subl %esi, %r10d
jae 0x4ba15
movl $0x800, %r9d            # imm = 0x800
subl %edx, %r9d
shrl $0x5, %r9d
addl %edx, %r9d
movl $0x2, %edx
jmp 0x4ba2b
subl %edi, %ebp
movl %ecx, %eax
shrl $0x5, %eax
subl %eax, %ecx
movw %cx, -0x200(%r9,%r10,2)
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x4b846
shll $0x8, %ebp
shll $0x8, %edx
movzbl (%r8), %eax
incq %r8
orl %eax, %edx
movl %r11d, %ecx
movq -0x58(%rsp), %rbx
movzwl 0x20(%rbx,%rcx,2), %r9d
movl %ebp, %edi
shrl $0xb, %edi
imull %r9d, %edi
movl %edx, %eax
subl %edi, %eax
jae 0x4b933
movl $0x800, %eax            # imm = 0x800
subl %r9d, %eax
shrl $0x5, %eax
addl %r9d, %eax
movw %ax, 0x20(%rbx,%rcx,2)
addl $0xc, %r11d
movq -0x8(%rsp), %rcx
movl -0x80(%rsp), %r15d
movl -0x78(%rsp), %ebp
movl -0x7c(%rsp), %eax
movl %eax, -0x5c(%rsp)
movq -0x48(%rsp), %r13
jmp 0x4c1e0
movq %rbx, %rdx
subq %r13, %rdx
movl $0x0, %esi
cmovbq -0x48(%rsp), %rsi
cmpl $0xa, %r11d
setb %r9b
cmpl $0xffffff, %edi         # imm = 0xFFFFFF
movb %r9b, -0x74(%rsp)
ja 0x4b8d7
shll $0x8, %edi
shll $0x8, %eax
movzbl (%r8), %r9d
incq %r8
orl %eax, %r9d
movl %r9d, %eax
movq %r11, -0x68(%rsp)
addq %r12, %rdx
movzbl (%rsi,%rdx), %ebp
leal (,%rbp,2), %r9d
andl $0x100, %r9d            # imm = 0x100
movzwl 0x202(%rcx,%r9,2), %esi
movl %edi, %edx
shrl $0xb, %edx
imull %esi, %edx
movl %eax, %r10d
subl %edx, %r10d
jae 0x4ba7f
movl $0x800, %r11d           # imm = 0x800
subl %esi, %r11d
shrl $0x5, %r11d
addl %esi, %r11d
movl %r9d, %r10d
xorl $0x100, %r10d           # imm = 0x100
movl $0x2, %esi
jmp 0x4ba98
subl %edi, %ebp
movl %r9d, %edx
shrl $0x5, %edx
subl %edx, %r9d
movw %r9w, 0x20(%rbx,%rcx,2)
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x4b95d
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %edx
incq %r8
orl %eax, %edx
movl %edx, %eax
movq -0x58(%rsp), %rbx
movzwl 0x38(%rbx,%rcx,2), %r9d
movl %ebp, %edi
shrl $0xb, %edi
imull %r9d, %edi
movl %eax, %edx
subl %edi, %edx
jae 0x4bb04
movl $0x800, %edx            # imm = 0x800
subl %r9d, %edx
shrl $0x5, %edx
addl %r9d, %edx
movw %dx, 0x38(%rbx,%rcx,2)
cmpl $0xffffff, %edi         # imm = 0xFFFFFF
ja 0x4b9a7
shll $0x8, %edi
shll $0x8, %eax
movzbl (%r8), %ecx
incq %r8
orl %eax, %ecx
movl %ecx, %eax
movq -0x70(%rsp), %rbx
movq -0x58(%rsp), %r9
movzwl -0xc00(%r9,%r10,2), %ecx
movl %edi, %ebp
shrl $0xb, %ebp
imull %ecx, %ebp
movl %eax, %edx
subl %ebp, %edx
jae 0x4c112
movl $0x800, %edx            # imm = 0x800
subl %ecx, %edx
shrl $0x5, %edx
addl %ecx, %edx
movw %dx, -0xc00(%r9,%r10,2)
movq %rbx, %rcx
subq %r13, %rcx
movl $0x0, %edx
cmovbq -0x48(%rsp), %rdx
addq %r12, %rcx
movb (%rdx,%rcx), %cl
movb %cl, (%r12,%rbx)
incq %rbx
xorl %ecx, %ecx
cmpl $0x7, %r11d
setae %cl
leal 0x9(,%rcx,2), %r11d
jmp 0x4c108
subl %esi, %edi
movl %edx, %eax
shrl $0x5, %eax
subl %eax, %edx
movl %edx, %r9d
movl %edi, %esi
movl %r10d, %eax
movl $0x3, %edx
movw %r9w, 0x2(%rcx)
cmpl $0xffffff, %esi         # imm = 0xFFFFFF
ja 0x4ba49
shll $0x8, %esi
shll $0x8, %eax
movzbl (%r8), %edi
incq %r8
orl %eax, %edi
movl %edi, %eax
movq %r11, %rbp
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 0x4bb6b
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x4bb81
subl %edx, %edi
movl %esi, %eax
shrl $0x5, %eax
subl %eax, %esi
movl %esi, %r11d
movl %edi, %edx
movl %r10d, %eax
movl $0x3, %esi
movl %r9d, %r10d
movw %r11w, 0x202(%rcx,%r9,2)
cmpl $0xffffff, %edx         # imm = 0xFFFFFF
movl %r14d, -0x40(%rsp)
ja 0x4babf
shll $0x8, %edx
shll $0x8, %eax
movzbl (%r8), %edi
incq %r8
orl %eax, %edi
movl %edi, %eax
leal (,%rbp,4), %edi
andl %r10d, %edi
leal (%r10,%rsi), %r11d
addl %edi, %r11d
movzwl (%rcx,%r11,2), %r13d
movl %edx, %ebx
shrl $0xb, %ebx
imull %r13d, %ebx
addl %esi, %esi
movl %eax, %r14d
subl %ebx, %r14d
jae 0x4bbd3
movl $0x800, %r9d            # imm = 0x800
subl %r13d, %r9d
shrl $0x5, %r9d
addl %r13d, %r9d
xorl %r10d, %edi
jmp 0x4bbe9
subl %edi, %ebp
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
movw %r9w, 0x38(%rbx,%rcx,2)
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x4bb2c
shll $0x8, %ebp
shll $0x8, %edx
movzbl (%r8), %eax
incq %r8
orl %eax, %edx
movq -0x48(%rsp), %r13
movzwl 0x50(%rbx,%rcx,2), %r9d
movl %ebp, %edi
shrl $0xb, %edi
imull %r9d, %edi
movl %edx, %eax
subl %edi, %eax
jae 0x4c13c
movl $0x800, %eax            # imm = 0x800
subl %r9d, %eax
shrl $0x5, %eax
addl %r9d, %eax
movw %ax, 0x50(%rbx,%rcx,2)
movl -0x7c(%rsp), %ebp
movl -0x78(%rsp), %r9d
jmp 0x4c132
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 0x4bba7
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 0x4bc4a
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x4bc60
subl %ebx, %edx
movl %r13d, %eax
shrl $0x5, %eax
subl %eax, %r13d
orl $0x1, %esi
movl %r13d, %r9d
movl %edx, %ebx
movl %r14d, %eax
movw %r9w, (%rcx,%r11,2)
leal (,%rbp,8), %edx
andl %edi, %edx
leal (%rdi,%rsi), %r11d
addl %edx, %r11d
movzwl (%rcx,%r11,2), %r9d
cmpl $0xffffff, %ebx         # imm = 0xFFFFFF
ja 0x4bc1e
shll $0x8, %ebx
shll $0x8, %eax
movzbl (%r8), %r10d
incq %r8
orl %eax, %r10d
movl %r10d, %eax
movl %ebx, %r10d
shrl $0xb, %r10d
imull %r9d, %r10d
addl %esi, %esi
movl %eax, %r14d
subl %r10d, %r14d
jae 0x4bcb2
movl $0x800, %r13d           # imm = 0x800
subl %r9d, %r13d
shrl $0x5, %r13d
addl %r9d, %r13d
xorl %edi, %edx
jmp 0x4bcca
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 0x4bc86
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 0x4bd29
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x4bd3f
subl %r10d, %ebx
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
orl $0x1, %esi
movl %r9d, %r13d
movl %ebx, %r10d
movl %r14d, %eax
movw %r13w, (%rcx,%r11,2)
movl %ebp, %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 0x4bcfd
shll $0x8, %r10d
shll $0x8, %eax
movzbl (%r8), %r11d
incq %r8
orl %eax, %r11d
movl %r11d, %eax
movl %r10d, %r11d
shrl $0xb, %r11d
imull %r9d, %r11d
addl %esi, %esi
movl %eax, %r14d
subl %r11d, %r14d
jae 0x4bd91
movl $0x800, %r13d           # imm = 0x800
subl %r9d, %r13d
shrl $0x5, %r13d
addl %r9d, %r13d
xorl %edx, %edi
jmp 0x4bda9
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 0x4bd65
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 0x4be08
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x4be1e
subl %r11d, %r10d
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
orl $0x1, %esi
movl %r9d, %r13d
movl %r10d, %r11d
movl %r14d, %eax
movw %r13w, (%rcx,%rbx,2)
movl %ebp, %ebx
shll $0x5, %ebx
andl %edi, %ebx
leal (%rdi,%rsi), %edx
addl %ebx, %edx
movzwl (%rcx,%rdx,2), %r9d
cmpl $0xffffff, %r11d        # imm = 0xFFFFFF
ja 0x4bddc
shll $0x8, %r11d
shll $0x8, %eax
movzbl (%r8), %r10d
incq %r8
orl %eax, %r10d
movl %r10d, %eax
movl %r11d, %r10d
shrl $0xb, %r10d
imull %r9d, %r10d
addl %esi, %esi
movl %eax, %r14d
subl %r10d, %r14d
jae 0x4be70
movl $0x800, %r13d           # imm = 0x800
subl %r9d, %r13d
shrl $0x5, %r13d
addl %r9d, %r13d
xorl %edi, %ebx
jmp 0x4be88
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 0x4be44
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 0x4bee7
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x4befd
subl %r10d, %r11d
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
orl $0x1, %esi
movl %r9d, %r13d
movl %r11d, %r10d
movl %r14d, %eax
movw %r13w, (%rcx,%rdx,2)
movl %ebp, %edx
shll $0x6, %edx
andl %ebx, %edx
leal (%rbx,%rsi), %edi
addl %edx, %edi
movzwl (%rcx,%rdi,2), %r9d
cmpl $0xffffff, %r10d        # imm = 0xFFFFFF
ja 0x4bebb
shll $0x8, %r10d
shll $0x8, %eax
movzbl (%r8), %r11d
incq %r8
orl %eax, %r11d
movl %r11d, %eax
movl %r10d, %r11d
shrl $0xb, %r11d
imull %r9d, %r11d
addl %esi, %esi
movl %eax, %r14d
subl %r11d, %r14d
jae 0x4bf4f
movl $0x800, %r13d           # imm = 0x800
subl %r9d, %r13d
shrl $0x5, %r13d
addl %r9d, %r13d
xorl %ebx, %edx
jmp 0x4bf67
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 0x4bf23
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 0x4bfc9
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x4bfdf
subl %r11d, %r10d
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
orl $0x1, %esi
movl %r9d, %r13d
movl %r10d, %r11d
movl %r14d, %eax
movw %r13w, (%rcx,%rdi,2)
movl %ebp, %edi
shll $0x7, %edi
andl %edx, %edi
leal (%rdx,%rsi), %r10d
addl %edi, %r10d
movzwl (%rcx,%r10,2), %r9d
cmpl $0xffffff, %r11d        # imm = 0xFFFFFF
ja 0x4bf9a
shll $0x8, %r11d
shll $0x8, %eax
movzbl (%r8), %ebx
incq %r8
orl %eax, %ebx
movl %ebx, %eax
movl %r11d, %ebx
shrl $0xb, %ebx
imull %r9d, %ebx
addl %esi, %esi
movl %eax, %r14d
subl %ebx, %r14d
jae 0x4c03c
movl $0x800, %r13d           # imm = 0x800
subl %r9d, %r13d
shrl $0x5, %r13d
addl %r9d, %r13d
xorl %edx, %edi
jmp 0x4c054
subl %edx, %edi
movl %r10d, %eax
shrl $0x5, %eax
subl %eax, %r10d
orl $0x1, %r9d
movl %r10d, %r11d
movl %edi, %edx
movl %ebx, %eax
movq -0x70(%rsp), %rbx
movw %r11w, (%rcx,%rsi,2)
movl %r9d, %edi
movzwl (%rcx,%rdi,2), %r9d
cmpl $0xffffff, %edx         # imm = 0xFFFFFF
ja 0x4c00a
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 0x4c0cf
movl $0x800, %edx            # imm = 0x800
subl %r9d, %edx
shrl $0x5, %edx
addl %r9d, %edx
movw %dx, (%rcx,%rdi,2)
jmp 0x4c101
subl %ebx, %r11d
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
orl $0x1, %esi
movl %r9d, %r13d
movl %r11d, %ebx
movl %r14d, %eax
movl -0x40(%rsp), %r14d
movq -0x68(%rsp), %r11
movw %r13w, (%rcx,%r10,2)
shll $0x8, %ebp
andl %edi, %ebp
addl %esi, %edi
addl %ebp, %edi
movzwl (%rcx,%rdi,2), %edx
cmpl $0xffffff, %ebx         # imm = 0xFFFFFF
ja 0x4c08b
shll $0x8, %ebx
shll $0x8, %eax
movzbl (%r8), %r9d
incq %r8
orl %eax, %r9d
movl %r9d, %eax
movq -0x70(%rsp), %r10
xorl %r9d, %r9d
movb -0x74(%rsp), %bpl
movb %bpl, %r9b
leal (%r9,%r9,2), %r9d
addl %r9d, %r11d
addl $-0x6, %r11d
movl %ebx, %ebp
shrl $0xb, %ebp
imull %edx, %ebp
addl %esi, %esi
movl %eax, %r9d
subl %ebp, %r9d
jae 0x4c0e9
movl $0x800, %r9d            # imm = 0x800
subl %edx, %r9d
shrl $0x5, %r9d
addl %edx, %r9d
movw %r9w, (%rcx,%rdi,2)
jmp 0x4c0fe
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 0x4c101
subl %ebp, %ebx
movl %edx, %eax
shrl $0x5, %eax
subl %eax, %edx
movw %dx, (%rcx,%rdi,2)
orl $0x1, %esi
movl %ebx, %ebp
movl %r9d, %eax
movq %r10, %rbx
movb %sil, (%r12,%rbx)
incq %rbx
movl $0x1, %ecx
jmp 0x4cb77
subl %ebp, %edi
movl %ecx, %eax
shrl $0x5, %eax
subl %eax, %ecx
movw %cx, -0xc00(%r9,%r10,2)
movl -0x78(%rsp), %ebp
movq -0x48(%rsp), %r13
movl -0x7c(%rsp), %r9d
movl -0x80(%rsp), %r10d
jmp 0x4c1c5
subl %edi, %ebp
movl %r9d, %edx
shrl $0x5, %edx
subl %edx, %r9d
movw %r9w, 0x50(%rbx,%rcx,2)
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x4c164
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %edx
incq %r8
orl %edx, %eax
movzwl 0x68(%rbx,%rcx,2), %r9d
movl %ebp, %edi
shrl $0xb, %edi
imull %r9d, %edi
movl %eax, %r10d
subl %edi, %r10d
jae 0x4c190
movl $0x800, %edx            # imm = 0x800
subl %r9d, %edx
shrl $0x5, %edx
addl %r9d, %edx
movl -0x80(%rsp), %r10d
jmp 0x4c1b2
subl %edi, %ebp
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
movl %r9d, %edx
movl %ebp, %edi
movl %r10d, %eax
movl -0x80(%rsp), %r9d
movl -0x60(%rsp), %r10d
movl %r9d, -0x60(%rsp)
movl -0x7c(%rsp), %ebp
movl %r10d, %r9d
movw %dx, 0x68(%rbx,%rcx,2)
movl %eax, %edx
movl -0x78(%rsp), %r10d
xorl %eax, %eax
cmpl $0x7, %r11d
setae %al
leal 0x8(%rax,%rax,2), %r11d
movq -0x10(%rsp), %rcx
movl %r10d, %r15d
movl %r9d, -0x5c(%rsp)
movzwl (%rcx), %r9d
cmpl $0xffffff, %edi         # imm = 0xFFFFFF
ja 0x4c1fb
shll $0x8, %edi
shll $0x8, %edx
movzbl (%r8), %eax
incq %r8
orl %eax, %edx
movl %edi, %eax
shrl $0xb, %eax
imull %r9d, %eax
movl %edx, %ebx
movl %esi, %esi
subl %eax, %ebx
movq %r11, -0x68(%rsp)
movl %ebp, -0x74(%rsp)
movl %r15d, -0x4c(%rsp)
jae 0x4c277
movl $0x800, %edi            # imm = 0x800
subl %r9d, %edi
shrl $0x5, %edi
addl %r9d, %edi
movw %di, (%rcx)
cmpl $0xffffff, %eax         # imm = 0xFFFFFF
ja 0x4c241
shll $0x8, %eax
shll $0x8, %edx
movzbl (%r8), %edi
incq %r8
orl %edi, %edx
movzwl 0x2(%rcx,%rsi,2), %r9d
movl %eax, %edi
shrl $0xb, %edi
imull %r9d, %edi
movl %edx, %r11d
subl %edi, %r11d
jae 0x4c311
movl $0x800, %r10d           # imm = 0x800
subl %r9d, %r10d
shrl $0x5, %r10d
addl %r9d, %r10d
movl $0x2, %r9d
jmp 0x4c32a
subl %eax, %edi
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
movw %r9w, (%rcx)
cmpl $0xffffff, %edi         # imm = 0xFFFFFF
ja 0x4c29d
shll $0x8, %edi
shll $0x8, %ebx
movzbl (%r8), %eax
incq %r8
orl %eax, %ebx
movzwl 0x10(%rcx), %r9d
movl %edi, %edx
shrl $0xb, %edx
imull %r9d, %edx
movl %ebx, %eax
subl %edx, %eax
jae 0x4c37e
movl $0x800, %eax            # imm = 0x800
subl %r9d, %eax
shrl $0x5, %eax
addl %r9d, %eax
movw %ax, 0x10(%rcx)
cmpl $0xffffff, %edx         # imm = 0xFFFFFF
ja 0x4c2de
shll $0x8, %edx
shll $0x8, %ebx
movzbl (%r8), %eax
incq %r8
orl %eax, %ebx
movzwl 0x12(%rcx,%rsi,2), %edi
movl %edx, %eax
shrl $0xb, %eax
imull %edi, %eax
movl %ebx, %r10d
subl %eax, %r10d
jae 0x4c7cc
movl $0x800, %r9d            # imm = 0x800
subl %edi, %r9d
shrl $0x5, %r9d
addl %edi, %r9d
movl $0x2, %edi
jmp 0x4c7e2
subl %edi, %eax
movl %r9d, %edx
shrl $0x5, %edx
subl %edx, %r9d
movl %r9d, %r10d
movl $0x3, %r9d
movl %eax, %edi
movl %r11d, %edx
leaq (%rcx,%rsi,2), %rax
movw %r10w, 0x2(%rax)
cmpl $0xffffff, %edi         # imm = 0xFFFFFF
ja 0x4c34a
shll $0x8, %edi
shll $0x8, %edx
movzbl (%r8), %ecx
incq %r8
orl %ecx, %edx
movl %r9d, %esi
movzwl (%rax,%rsi,2), %r10d
movl %edi, %ecx
shrl $0xb, %ecx
imull %r10d, %ecx
leal (%rsi,%rsi), %r9d
movl %edx, %ebx
subl %ecx, %ebx
jae 0x4c416
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x4c42c
subl %edx, %edi
movl %r9d, %edx
shrl $0x5, %edx
subl %edx, %r9d
movw %r9w, 0x10(%rcx)
movl $0x1, %r15d
movl %edi, %ebp
movq -0x70(%rsp), %rbx
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x4c3b2
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %edx
incq %r8
orl %edx, %eax
movl %ebp, %esi
movl %r15d, %edx
movzwl 0x200(%rcx,%rdx,2), %edi
shrl $0xb, %ebp
imull %edi, %ebp
leal (%rdx,%rdx), %r15d
movl %eax, %r10d
subl %ebp, %r10d
jae 0x4c3e3
movl $0x800, %r9d            # imm = 0x800
subl %edi, %r9d
shrl $0x5, %r9d
addl %edi, %r9d
jmp 0x4c3f8
subl %ebp, %esi
movl %edi, %eax
shrl $0x5, %eax
subl %eax, %edi
orl $0x1, %r15d
movl %edi, %r9d
movl %esi, %ebp
movl %r10d, %eax
movw %r9w, 0x200(%rcx,%rdx,2)
cmpl $0x100, %r15d           # imm = 0x100
jb 0x4c39b
addl $0xffffff10, %r15d      # imm = 0xFFFFFF10
jmp 0x4c4a0
subl %ecx, %edi
movl %r10d, %ecx
shrl $0x5, %ecx
subl %ecx, %r10d
orl $0x1, %r9d
movl %r10d, %r11d
movl %edi, %ecx
movl %ebx, %edx
movq -0x70(%rsp), %rbx
movw %r11w, (%rax,%rsi,2)
movl %r9d, %esi
movzwl (%rax,%rsi,2), %edi
cmpl $0xffffff, %ecx         # imm = 0xFFFFFF
ja 0x4c455
shll $0x8, %ecx
shll $0x8, %edx
movzbl (%r8), %r9d
incq %r8
orl %r9d, %edx
movq -0x68(%rsp), %r11
movl %ecx, %ebp
shrl $0xb, %ebp
imull %edi, %ebp
leal (%rsi,%rsi), %r15d
movl %edx, %r10d
subl %ebp, %r10d
jae 0x4c480
movl $0x800, %r9d            # imm = 0x800
subl %edi, %r9d
shrl $0x5, %r9d
addl %edi, %r9d
jmp 0x4c495
subl %ebp, %ecx
movl %edi, %edx
shrl $0x5, %edx
subl %edx, %edi
orl $0x1, %r15d
movl %edi, %r9d
movl %ecx, %ebp
movl %r10d, %edx
movw %r9w, (%rax,%rsi,2)
addl $-0x8, %r15d
movl %edx, %eax
cmpl $0xc, %r11d
jb 0x4c4fd
cmpl $0x3, %r15d
movl $0x3, %ecx
cmovbl %r15d, %ecx
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x4c4cc
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %edx
incq %r8
orl %eax, %edx
movl %edx, %eax
movq -0x20(%rsp), %r10
shll $0x7, %ecx
movzwl 0x2(%r10,%rcx), %esi
movl %ebp, %edx
shrl $0xb, %edx
imull %esi, %edx
movl %eax, %r9d
subl %edx, %r9d
jae 0x4c516
movl $0x800, %edi            # imm = 0x800
subl %esi, %edi
shrl $0x5, %edi
addl %esi, %edi
movl $0x2, %esi
jmp 0x4c52b
movl -0x4c(%rsp), %ecx
movl %ecx, -0x80(%rsp)
movl -0x74(%rsp), %ecx
movl %ecx, -0x78(%rsp)
movl -0x5c(%rsp), %edi
jmp 0x4caef
subl %edx, %ebp
movl %esi, %eax
shrl $0x5, %eax
subl %eax, %esi
movl %esi, %edi
movl %ebp, %edx
movl %r9d, %eax
movl $0x3, %esi
addq %r10, %rcx
movw %di, 0x2(%rcx)
cmpl $0xffffff, %edx         # imm = 0xFFFFFF
ja 0x4c54b
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 0x4c577
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x4c58d
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 0x4c5b3
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 0x4c5d8
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x4c5ee
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 0x4c614
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 0x4c639
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x4c64f
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 0x4c675
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 0x4c69a
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x4c6b0
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 -0x58(%rsp), %rbx
movw %r11w, (%rcx,%rdx,2)
movl %r9d, %esi
movzwl (%rcx,%rsi,2), %r10d
cmpl $0xffffff, %edi         # imm = 0xFFFFFF
ja 0x4c6db
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 0x4c701
movl $0x800, %r9d            # imm = 0x800
subl %r10d, %r9d
shrl $0x5, %r9d
addl %r10d, %r9d
jmp 0x4c717
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 -0x68(%rsp), %r11
movw %r9w, (%rcx,%rsi,2)
leal -0x40(%rdx), %esi
cmpl $0x4, %esi
jb 0x4caad
movl %esi, %ecx
shrl %ecx
andl $0x1, %edx
orl $0x2, %edx
cmpl $0xd, %esi
ja 0x4c836
decl %ecx
shll %cl, %edx
incl %edx
movl $0x1, %esi
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x4c762
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %edi
incq %r8
orl %edi, %eax
movl %ebp, %r9d
movl %edx, %edx
movzwl -0xd00(%rbx,%rdx,2), %r10d
shrl $0xb, %ebp
imull %r10d, %ebp
leal (%rsi,%rsi), %edi
movl %eax, %ebx
subl %ebp, %ebx
jae 0x4c792
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x4c7a8
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 -0x58(%rsp), %rbx
movw %r11w, -0xd00(%rbx,%rdx,2)
addl %esi, %edx
movl %edi, %esi
decl %ecx
movq -0x68(%rsp), %r11
jne 0x4c74b
subl %edi, %edx
movl %edx, %esi
jmp 0x4caad
subl %eax, %edx
movl %edi, %eax
shrl $0x5, %eax
subl %eax, %edi
movl %edi, %r9d
movl $0x3, %edi
movl %edx, %eax
movl %r10d, %ebx
leaq (%rcx,%rsi,2), %rdx
movw %r9w, 0x12(%rdx)
cmpl $0xffffff, %eax         # imm = 0xFFFFFF
ja 0x4c802
shll $0x8, %eax
shll $0x8, %ebx
movzbl (%r8), %r9d
incq %r8
orl %r9d, %ebx
movl %edi, %edi
movzwl 0x10(%rdx,%rdi,2), %r10d
movl %eax, %edx
shrl $0xb, %edx
imull %r10d, %edx
leal (%rdi,%rdi), %r9d
movl %ebx, %ebp
subl %edx, %ebp
jae 0x4c8b7
movl $0x800, %r11d           # imm = 0x800
subl %r10d, %r11d
shrl $0x5, %r11d
addl %r10d, %r11d
jmp 0x4c8cd
addl $-0x5, %ecx
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x4c856
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %edi
incq %r8
orl %eax, %edi
movl %ebp, %esi
movl %edi, %eax
jmp 0x4c858
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 0x4c839
cmpl $0x1ffffff, %esi        # imm = 0x1FFFFFF
ja 0x4c889
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %ecx
incq %r8
orl %eax, %ecx
movl %ecx, %eax
movzwl 0x2(%rbx), %ecx
movl %ebp, %esi
shrl $0xb, %esi
imull %ecx, %esi
movl %eax, %r9d
subl %esi, %r9d
jae 0x4c94a
movl $0x800, %edi            # imm = 0x800
subl %ecx, %edi
shrl $0x5, %edi
addl %ecx, %edi
movl $0x2, %ecx
jmp 0x4c95f
subl %edx, %eax
movl %r10d, %edx
shrl $0x5, %edx
subl %edx, %r10d
orl $0x1, %r9d
movl %r10d, %r11d
movl %eax, %edx
movl %ebp, %ebx
leaq (%rcx,%rsi,2), %rcx
addq $0x10, %rcx
movw %r11w, (%rcx,%rdi,2)
movl %r9d, %esi
movzwl (%rcx,%rsi,2), %edi
cmpl $0xffffff, %edx         # imm = 0xFFFFFF
ja 0x4c8fa
shll $0x8, %edx
shll $0x8, %ebx
movzbl (%r8), %eax
incq %r8
orl %ebx, %eax
jmp 0x4c8fc
movl %ebx, %eax
movq -0x68(%rsp), %r11
movl %edx, %ebp
shrl $0xb, %ebp
imull %edi, %ebp
leal (%rsi,%rsi), %r15d
movl %eax, %r9d
subl %ebp, %r9d
movq -0x70(%rsp), %rbx
jae 0x4c92f
movl $0x800, %edx            # imm = 0x800
subl %edi, %edx
shrl $0x5, %edx
addl %edi, %edx
movw %dx, (%rcx,%rsi,2)
jmp 0x4c4a0
subl %ebp, %edx
movl %edi, %eax
shrl $0x5, %eax
subl %eax, %edi
movw %di, (%rcx,%rsi,2)
orl $0x1, %r15d
movl %edx, %ebp
movl %r9d, %eax
jmp 0x4c4a0
subl %esi, %ebp
movl %ecx, %eax
shrl $0x5, %eax
subl %eax, %ecx
movl %ecx, %edi
movl %ebp, %esi
movl %r9d, %eax
movl $0x3, %ecx
movw %di, 0x2(%rbx)
cmpl $0xffffff, %esi         # imm = 0xFFFFFF
ja 0x4c97c
shll $0x8, %esi
shll $0x8, %eax
movzbl (%r8), %edi
incq %r8
orl %eax, %edi
movl %edi, %eax
movl %ecx, %edi
movzwl (%rbx,%rdi,2), %r9d
movl %esi, %ecx
shrl $0xb, %ecx
imull %r9d, %ecx
movl %eax, %r11d
subl %ecx, %r11d
jae 0x4c9a9
movl $0x800, %r10d           # imm = 0x800
subl %r9d, %r10d
shrl $0x5, %r10d
addl %r9d, %r10d
leal 0x2(%rdi), %ebx
jmp 0x4c9bf
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 -0x58(%rsp), %rsi
movw %r10w, (%rsi,%rdi,2)
movl %ebx, %edi
movzwl (%rsi,%rdi,2), %r9d
cmpl $0xffffff, %ecx         # imm = 0xFFFFFF
ja 0x4c9e9
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 0x4ca12
movl $0x800, %r10d           # imm = 0x800
subl %r9d, %r10d
shrl $0x5, %r10d
addl %r9d, %r10d
movl $0x4, %ecx
movl %ecx, %r11d
jmp 0x4ca2c
subl %esi, %ecx
movl %r9d, %eax
shrl $0x5, %eax
subl %eax, %r9d
movl $0x8, %eax
movl %eax, %r11d
movl %r9d, %r10d
movl %ecx, %esi
movl %ebx, %eax
leal (%rdi,%r11), %ecx
movq -0x58(%rsp), %rbx
movw %r10w, (%rbx,%rdi,2)
movzwl (%rbx,%rcx,2), %edi
cmpl $0xffffff, %esi         # imm = 0xFFFFFF
ja 0x4ca59
shll $0x8, %esi
shll $0x8, %eax
movzbl (%r8), %r9d
incq %r8
orl %eax, %r9d
movl %r9d, %eax
movq -0x68(%rsp), %r11
movl %esi, %ebp
shrl $0xb, %ebp
imull %edi, %ebp
movl %eax, %r10d
subl %ebp, %r10d
jae 0x4ca85
movl $0x800, %r9d            # imm = 0x800
subl %edi, %r9d
shrl $0x5, %r9d
addl %edi, %r9d
movl %ecx, %edi
addl $-0x8, %edi
jmp 0x4ca98
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
movw %r9w, (%rbx,%rcx,2)
cmpl $-0x1, %esi
je 0x4cbbf
movq -0x70(%rsp), %rbx
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 0x4cb9a
movl -0x4c(%rsp), %ecx
movl %ecx, -0x60(%rsp)
movl -0x74(%rsp), %ecx
movl %ecx, -0x80(%rsp)
movl -0x5c(%rsp), %ecx
movl %ecx, -0x78(%rsp)
addl $0x2, %r15d
movq -0x38(%rsp), %rcx
subq %rbx, %rcx
movl %edi, -0x7c(%rsp)
je 0x4cb93
movl %r15d, %edx
cmpq %rdx, %rcx
cmovael %r15d, %ecx
movl %edi, %edx
movq %rbx, %rsi
subq %rdx, %rsi
movl $0x0, %edx
cmovbq %r13, %rdx
addq %rsi, %rdx
subl %ecx, %r15d
movq %r13, %rsi
subq %rdx, %rsi
cmpq %rcx, %rsi
jae 0x4cb5b
leaq (%r12,%rbx), %rdi
xorl %esi, %esi
movb (%r12,%rdx), %r9b
movb %r9b, (%rdi,%rsi)
incq %rdx
cmpq %r13, %rdx
movl $0x0, %r9d
cmoveq %r9, %rdx
incq %rsi
cmpl %esi, %ecx
jne 0x4cb37
addq %rsi, %rbx
jmp 0x4cb77
leaq (%r12,%rbx), %rsi
subq %rbx, %rdx
movq %rcx, %rdi
movb (%rsi,%rdx), %r9b
movb %r9b, (%rsi)
incq %rsi
decq %rdi
jne 0x4cb65
addq %rcx, %rbx
addl %ecx, %r14d
cmpq -0x38(%rsp), %rbx
jae 0x4cbe6
cmpq 0x8(%rsp), %r8
movq -0x58(%rsp), %r9
jb 0x4b71f
jmp 0x4cbe6
movq -0x38(%rsp), %rbx
jmp 0x4cbe6
movl %edi, -0x7c(%rsp)
addl $0x202, %r15d           # imm = 0x202
movl -0x5c(%rsp), %ecx
movl %ecx, -0x78(%rsp)
movl -0x74(%rsp), %ecx
movl %ecx, -0x80(%rsp)
movl -0x4c(%rsp), %ecx
movl %ecx, -0x60(%rsp)
jmp 0x4cbe6
addl $-0xc, %r11d
movl $0x112, %r15d           # imm = 0x112
movl -0x5c(%rsp), %ecx
movl %ecx, -0x7c(%rsp)
movl -0x74(%rsp), %ecx
movl %ecx, -0x78(%rsp)
movl -0x4c(%rsp), %ecx
movl %ecx, -0x80(%rsp)
movq -0x70(%rsp), %rbx
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x4cbff
shll $0x8, %ebp
shll $0x8, %eax
movzbl (%r8), %ecx
incq %r8
orl %eax, %ecx
movl %ecx, %eax
movl -0x7c(%rsp), %edx
movq -0x18(%rsp), %rcx
movq %r8, 0x30(%rcx)
movl %ebp, 0x38(%rcx)
movl %eax, 0x3c(%rcx)
movl %r15d, 0x5c(%rcx)
movq %rbx, 0x28(%rcx)
movl %r14d, 0x40(%rcx)
movl %edx, 0x48(%rcx)
movl -0x78(%rsp), %eax
movl %eax, 0x4c(%rcx)
movl -0x80(%rsp), %eax
movl %eax, 0x50(%rcx)
movl -0x60(%rsp), %eax
movl %eax, 0x54(%rcx)
movl %r11d, 0x58(%rcx)
cmpl $0x0, 0x44(%rcx)
jne 0x4cc4b
movl 0x4(%rcx), %eax
cmpl %eax, %r14d
jb 0x4cc4b
movl %eax, 0x44(%rcx)
xorl %eax, %eax
cmpl $0x200, %r15d           # imm = 0x200
setae %al
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq