// File: /workspace/github_cpp_makefile_star2_O2/sisong[P]ApkDiffPatch/lzma/C/LzmaEnc.c
// Function: LzmaEnc_CodeOneBlock
Z7_NO_INLINE
static SRes LzmaEnc_CodeOneBlock(CLzmaEnc *p, UInt32 maxPackSize, UInt32 maxUnpackSize)
{
  UInt32 nowPos32, startPos32;
  if (p->needInit)
  {
    #ifndef Z7_ST
    if (p->mtMode)
    {
      RINOK(MatchFinderMt_InitMt(&p->matchFinderMt))
    }
    #endif
    p->matchFinder.Init(p->matchFinderObj);
    p->needInit = 0;
  }

  if (p->finished)
    return p->result;
  RINOK(CheckErrors(p))

  nowPos32 = (UInt32)p->nowPos64;
  startPos32 = nowPos32;

  if (p->nowPos64 == 0)
  {
    unsigned numPairs;
    Byte curByte;
    if (p->matchFinder.GetNumAvailableBytes(p->matchFinderObj) == 0)
      return Flush(p, nowPos32);
    ReadMatchDistances(p, &numPairs);
    RangeEnc_EncodeBit_0(&p->rc, &p->isMatch[kState_Start][0]);
    // p->state = kLiteralNextStates[p->state];
    curByte = *(p->matchFinder.GetPointerToCurrentPos(p->matchFinderObj) - p->additionalOffset);
    LitEnc_Encode(&p->rc, p->litProbs, curByte);
    p->additionalOffset--;
    nowPos32++;
  }

  if (p->matchFinder.GetNumAvailableBytes(p->matchFinderObj) != 0)
  
  for (;;)
  {
    UInt32 dist;
    unsigned len, posState;
    UInt32 range, ttt, newBound;
    CLzmaProb *probs;
  
    if (p->fastMode)
      len = GetOptimumFast(p);
    else
    {
      unsigned oci = p->optCur;
      if (p->optEnd == oci)
        len = GetOptimum(p, nowPos32);
      else
      {
        const COptimal *opt = &p->opt[oci];
        len = opt->len;
        p->backRes = opt->dist;
        p->optCur = oci + 1;
      }
    }

    posState = (unsigned)nowPos32 & p->pbMask;
    range = p->rc.range;
    probs = &p->isMatch[p->state][posState];
    
    RC_BIT_PRE(&p->rc, probs)
    
    dist = p->backRes;

    #ifdef SHOW_STAT2
    printf("\n pos = %6X, len = %3u  pos = %6u", nowPos32, len, dist);
    #endif

    if (dist == MARK_LIT)
    {
      Byte curByte;
      const Byte *data;
      unsigned state;

      RC_BIT_0(&p->rc, probs)
      p->rc.range = range;
      data = p->matchFinder.GetPointerToCurrentPos(p->matchFinderObj) - p->additionalOffset;
      probs = LIT_PROBS(nowPos32, *(data - 1));
      curByte = *data;
      state = p->state;
      p->state = kLiteralNextStates[state];
      if (IsLitState(state))
        LitEnc_Encode(&p->rc, probs, curByte);
      else
        LitEnc_EncodeMatched(&p->rc, probs, curByte, *(data - p->reps[0]));
    }
    else
    {
      RC_BIT_1(&p->rc, probs)
      probs = &p->isRep[p->state];
      RC_BIT_PRE(&p->rc, probs)
      
      if (dist < LZMA_NUM_REPS)
      {
        RC_BIT_1(&p->rc, probs)
        probs = &p->isRepG0[p->state];
        RC_BIT_PRE(&p->rc, probs)
        if (dist == 0)
        {
          RC_BIT_0(&p->rc, probs)
          probs = &p->isRep0Long[p->state][posState];
          RC_BIT_PRE(&p->rc, probs)
          if (len != 1)
          {
            RC_BIT_1_BASE(&p->rc, probs)
          }
          else
          {
            RC_BIT_0_BASE(&p->rc, probs)
            p->state = kShortRepNextStates[p->state];
          }
        }
        else
        {
          RC_BIT_1(&p->rc, probs)
          probs = &p->isRepG1[p->state];
          RC_BIT_PRE(&p->rc, probs)
          if (dist == 1)
          {
            RC_BIT_0_BASE(&p->rc, probs)
            dist = p->reps[1];
          }
          else
          {
            RC_BIT_1(&p->rc, probs)
            probs = &p->isRepG2[p->state];
            RC_BIT_PRE(&p->rc, probs)
            if (dist == 2)
            {
              RC_BIT_0_BASE(&p->rc, probs)
              dist = p->reps[2];
            }
            else
            {
              RC_BIT_1_BASE(&p->rc, probs)
              dist = p->reps[3];
              p->reps[3] = p->reps[2];
            }
            p->reps[2] = p->reps[1];
          }
          p->reps[1] = p->reps[0];
          p->reps[0] = dist;
        }

        RC_NORM(&p->rc)

        p->rc.range = range;

        if (len != 1)
        {
          LenEnc_Encode(&p->repLenProbs, &p->rc, len - LZMA_MATCH_LEN_MIN, posState);
          --p->repLenEncCounter;
          p->state = kRepNextStates[p->state];
        }
      }
      else
      {
        unsigned posSlot;
        RC_BIT_0(&p->rc, probs)
        p->rc.range = range;
        p->state = kMatchNextStates[p->state];

        LenEnc_Encode(&p->lenProbs, &p->rc, len - LZMA_MATCH_LEN_MIN, posState);
        // --p->lenEnc.counter;

        dist -= LZMA_NUM_REPS;
        p->reps[3] = p->reps[2];
        p->reps[2] = p->reps[1];
        p->reps[1] = p->reps[0];
        p->reps[0] = dist + 1;
        
        p->matchPriceCount++;
        GetPosSlot(dist, posSlot)
        // RcTree_Encode_PosSlot(&p->rc, p->posSlotEncoder[GetLenToPosState(len)], posSlot);
        {
          UInt32 sym = (UInt32)posSlot + (1 << kNumPosSlotBits);
          range = p->rc.range;
          probs = p->posSlotEncoder[GetLenToPosState(len)];
          do
          {
            CLzmaProb *prob = probs + (sym >> kNumPosSlotBits);
            UInt32 bit = (sym >> (kNumPosSlotBits - 1)) & 1;
            sym <<= 1;
            RC_BIT(&p->rc, prob, bit)
          }
          while (sym < (1 << kNumPosSlotBits * 2));
          p->rc.range = range;
        }
        
        if (dist >= kStartPosModelIndex)
        {
          unsigned footerBits = ((posSlot >> 1) - 1);

          if (dist < kNumFullDistances)
          {
            unsigned base = ((2 | (posSlot & 1)) << footerBits);
            RcTree_ReverseEncode(&p->rc, p->posEncoders + base, footerBits, (unsigned)(dist /* - base */));
          }
          else
          {
            UInt32 pos2 = (dist | 0xF) << (32 - footerBits);
            range = p->rc.range;
            // RangeEnc_EncodeDirectBits(&p->rc, posReduced >> kNumAlignBits, footerBits - kNumAlignBits);
            /*
            do
            {
              range >>= 1;
              p->rc.low += range & (0 - ((dist >> --footerBits) & 1));
              RC_NORM(&p->rc)
            }
            while (footerBits > kNumAlignBits);
            */
            do
            {
              range >>= 1;
              p->rc.low += range & (0 - (pos2 >> 31));
              pos2 += pos2;
              RC_NORM(&p->rc)
            }
            while (pos2 != 0xF0000000);


            // RcTree_ReverseEncode(&p->rc, p->posAlignEncoder, kNumAlignBits, posReduced & kAlignMask);

            {
              unsigned m = 1;
              unsigned bit;
              bit = dist & 1; dist >>= 1; RC_BIT(&p->rc, p->posAlignEncoder + m, bit)  m = (m << 1) + bit;
              bit = dist & 1; dist >>= 1; RC_BIT(&p->rc, p->posAlignEncoder + m, bit)  m = (m << 1) + bit;
              bit = dist & 1; dist >>= 1; RC_BIT(&p->rc, p->posAlignEncoder + m, bit)  m = (m << 1) + bit;
              bit = dist & 1;             RC_BIT(&p->rc, p->posAlignEncoder + m, bit)
              p->rc.range = range;
              // p->alignPriceCount++;
            }
          }
        }
      }
    }

    nowPos32 += (UInt32)len;
    p->additionalOffset -= len;
    
    if (p->additionalOffset == 0)
    {
      UInt32 processed;

      if (!p->fastMode)
      {
        /*
        if (p->alignPriceCount >= 16) // kAlignTableSize
          FillAlignPrices(p);
        if (p->matchPriceCount >= 128)
          FillDistancesPrices(p);
        if (p->lenEnc.counter <= 0)
          LenPriceEnc_UpdateTables(&p->lenEnc, 1 << p->pb, &p->lenProbs, p->ProbPrices);
        */
        if (p->matchPriceCount >= 64)
        {
          FillAlignPrices(p);
          // { int y; for (y = 0; y < 100; y++) {
          FillDistancesPrices(p);
          // }}
          LenPriceEnc_UpdateTables(&p->lenEnc, (unsigned)1 << p->pb, &p->lenProbs, p->ProbPrices);
        }
        if (p->repLenEncCounter <= 0)
        {
          p->repLenEncCounter = REP_LEN_COUNT;
          LenPriceEnc_UpdateTables(&p->repLenEnc, (unsigned)1 << p->pb, &p->repLenProbs, p->ProbPrices);
        }
      }
    
      if (p->matchFinder.GetNumAvailableBytes(p->matchFinderObj) == 0)
        break;
      processed = nowPos32 - startPos32;
      
      if (maxPackSize)
      {
        if (processed + kNumOpts + 300 >= maxUnpackSize
            || RangeEnc_GetProcessed_sizet(&p->rc) + kPackReserve >= maxPackSize)
          break;
      }
      else if (processed >= (1 << 17))
      {
        p->nowPos64 += nowPos32 - startPos32;
        return CheckErrors(p);
      }
    }
  }

  p->nowPos64 += nowPos32 - startPos32;
  return Flush(p, nowPos32);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movl %edx, 0x11c(%rsp)
movl %esi, 0xc4(%rsp)
movq %rdi, %rbx
cmpl $0x0, 0xdc(%rdi)
je 0x2bc03
cmpl $0x0, 0xfc(%rbx)
je 0x2bbf6
leaq 0x100(%rbx), %rdi
callq 0x31dd4
testl %eax, %eax
jne 0x2bc20
movq (%rbx), %rdi
callq *0x8(%rbx)
andl $0x0, 0xdc(%rbx)
cmpl $0x0, 0xd4(%rbx)
je 0x2bc14
movl 0xf8(%rbx), %eax
jmp 0x2bc20
movq %rbx, %rdi
callq 0x2e8dc
testl %eax, %eax
je 0x2bc32
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0xe0(%rbx), %rcx
movl %ecx, %r12d
movq %rcx, 0xf0(%rsp)
testq %rcx, %rcx
movq %rbx, 0x50(%rsp)
jne 0x2bcd7
movq (%rbx), %rdi
callq *0x10(%rbx)
testl %eax, %eax
je 0x2dfd5
leaq 0x30(%rsp), %rsi
movq %rbx, %rdi
callq 0x2eb2e
leaq 0x70(%rbx), %r15
movq %rbx, %rdx
movl 0x70(%rbx), %ebx
movzwl 0x2280(%rdx), %eax
shrl $0xb, %ebx
imull %eax, %ebx
movl $0x800, %ecx            # imm = 0x800
subl %eax, %ecx
shrl $0x5, %ecx
addl %eax, %ecx
movw %cx, 0x2280(%rdx)
cmpl $0xffffff, %ebx         # imm = 0xFFFFFF
ja 0x2bcaa
shll $0x8, %ebx
movq %r15, %rdi
callq 0x2ec6a
movq 0x50(%rsp), %rax
movl %ebx, 0x70(%rax)
movq %rax, %rbx
movq (%rax), %rdi
callq *0x18(%rax)
movl 0x4c(%rbx), %ecx
subq %rcx, %rax
movzbl (%rax), %edx
movq 0x68(%rbx), %rsi
movq %r15, %rdi
callq 0x2ebdf
decl 0x4c(%rbx)
pushq $0x1
popq %r12
movq (%rbx), %rdi
callq *0x10(%rbx)
testl %eax, %eax
je 0x2dfa8
leaq 0x3c(%rbx), %rax
movq %rax, 0x168(%rsp)
leaq 0xf888(%rbx), %rdx
leaq 0xb30(%rbx), %rax
movq %rax, 0x48(%rsp)
leaq 0x2280(%rbx), %rax
movq %rax, 0xa0(%rsp)
leaq 0x2400(%rbx), %rax
movq %rax, 0x90(%rsp)
leaq 0xb488(%rbx), %rax
movq %rax, 0xb8(%rsp)
leaq 0x7084(%rbx), %rax
movq %rax, 0x158(%rsp)
leaq 0x1600(%rbx), %rax
movq %rax, 0x150(%rsp)
leaq 0x1a00(%rbx), %rax
movq %rax, 0x148(%rsp)
leaq 0x70(%rbx), %rax
movq %rax, 0x18(%rsp)
leaq 0x2880(%rbx), %rax
movq %rax, 0x140(%rsp)
leaq 0x2580(%rbx), %rax
movq %rax, 0x1b0(%rsp)
leaq 0x2780(%rbx), %rax
movq %rax, 0x188(%rsp)
leaq 0x2c80(%rbx), %rax
movq %rax, 0x138(%rsp)
leaq 0x7080(%rbx), %rax
movq %rax, 0x190(%rsp)
leaq 0xb484(%rbx), %rax
movq %rax, 0x180(%rsp)
movl 0xc4(%rsp), %eax
movq %rax, 0x1a8(%rsp)
leaq 0xb480(%rbx), %rax
movq %rax, 0x170(%rsp)
leaq 0x1f0a8(%rbx), %rax
movq %rax, 0x160(%rsp)
movq %rdx, 0x8(%rsp)
cmpl $0x0, 0xcc(%rbx)
movl %r12d, 0x20(%rsp)
je 0x2be14
cmpl $0x0, 0x4c(%rbx)
je 0x2be3f
movl 0x38(%rbx), %r13d
movl 0x3c(%rbx), %eax
movl %eax, 0x30(%rsp)
jmp 0x2be4f
movl 0x30(%rbx), %eax
cmpl %eax, 0x34(%rbx)
jne 0x2bf44
andq $0x0, 0x30(%rbx)
cmpl $0x0, 0x4c(%rbx)
je 0x2bf88
movl 0x38(%rbx), %r15d
movl 0x3c(%rbx), %eax
movl %eax, 0x24(%rsp)
jmp 0x2bf98
movq %rbx, %rdi
leaq 0x30(%rsp), %rsi
callq 0x2eb2e
movl %eax, %r13d
movl 0x40(%rbx), %r14d
orl $-0x1, 0xb8(%rbx)
pushq $0x1
popq %rax
movq %rax, (%rsp)
cmpl $0x2, %r14d
jb 0x2c225
movl $0x111, %eax            # imm = 0x111
cmpl %eax, %r14d
movl $0x111, %r15d           # imm = 0x111
cmovbl %r14d, %r15d
movq (%rbx), %rdi
callq *0x18(%rbx)
movb -0x1(%rax), %sil
xorl %edx, %edx
xorl %r10d, %r10d
xorl %ecx, %ecx
cmpq $0x4, %rdx
je 0x2bee8
movl 0x50(%rbx,%rdx,4), %r8d
movq %r8, %rdi
notq %rdi
cmpb (%rdi,%rax), %sil
jne 0x2bee3
negq %r8
movb (%rax), %dil
cmpb (%rax,%r8), %dil
jne 0x2bee3
addq %rax, %r8
pushq $0x2
popq %rdi
cmpq %rdi, %r15
je 0x2becd
movb -0x1(%rax,%rdi), %r9b
cmpb -0x1(%r8,%rdi), %r9b
jne 0x2bed0
incq %rdi
jmp 0x2beb7
movl %r15d, %edi
cmpl 0x48(%rbx), %edi
jae 0x2c201
cmpl %r10d, %edi
cmoval %edi, %r10d
cmoval %edx, %ecx
incq %rdx
jmp 0x2be8e
cmpl 0x48(%rbx), %r13d
jae 0x2bf67
movq %r10, (%rsp)
xorl %ebp, %ebp
cmpl $0x2, %r13d
jb 0x2c0b8
movl 0x30(%rsp), %eax
movl 0xd2c(%rbx,%rax,4), %ebp
cmpl $0x3, %eax
jb 0x2c0a1
movl %eax, %edx
movl 0xd20(%rbx,%rdx,4), %esi
incl %esi
cmpl %esi, %r13d
jne 0x2c0a1
movl 0xd24(%rbx,%rdx,4), %edx
movl %ebp, %esi
shrl $0x7, %esi
cmpl %edx, %esi
jbe 0x2c0a1
addl $-0x2, %eax
decl %r13d
movl %edx, %ebp
jmp 0x2bf09
movq %rax, %rcx
shlq $0x5, %rcx
movl 0x8(%rdx,%rcx), %esi
movq %rsi, (%rsp)
movl 0xc(%rdx,%rcx), %ecx
movl %ecx, 0xb8(%rbx)
incl %eax
movl %eax, 0x30(%rbx)
jmp 0x2c225
movl 0x30(%rsp), %eax
movl 0xd2c(%rbx,%rax,4), %eax
addl $0x4, %eax
movl %eax, 0xb8(%rbx)
leal -0x1(%r13), %esi
movq %r13, (%rsp)
jmp 0x2c21c
movq %rbx, %rdi
leaq 0x24(%rsp), %rsi
callq 0x2eb2e
movl %eax, %r15d
movl 0x40(%rbx), %r14d
cmpl $0x1, %r14d
ja 0x2bfb5
orl $-0x1, 0xb8(%rbx)
pushq $0x1
popq %rax
movq %rax, (%rsp)
jmp 0x2c225
movl $0x111, %eax            # imm = 0x111
cmpl %eax, %r14d
cmovael %eax, %r14d
movq (%rbx), %rdi
callq *0x18(%rbx)
xorl %edx, %edx
xorl %ecx, %ecx
cmpq $0x4, %rdx
je 0x2c03e
movl 0x50(%rbx,%rdx,4), %esi
movl %esi, 0x30(%rsp,%rdx,4)
movb -0x1(%rax), %dil
movq %rsi, %r8
notq %r8
cmpb (%r8,%rax), %dil
jne 0x2c011
negq %rsi
movb (%rax), %dil
cmpb (%rax,%rsi), %dil
jne 0x2c011
addq %rax, %rsi
pushq $0x2
popq %rdi
cmpq %rdi, %r14
je 0x2c01b
movb -0x1(%rax,%rdi), %r8b
cmpb -0x1(%rsi,%rdi), %r8b
jne 0x2c01e
incq %rdi
jmp 0x2bffb
andl $0x0, 0x120(%rsp,%rdx,4)
jmp 0x2c039
movl %r14d, %edi
movl %edi, 0x120(%rsp,%rdx,4)
movl %ecx, %esi
cmpl 0x120(%rsp,%rsi,4), %edi
cmoval %edx, %ecx
cmpl $0x111, %edi            # imm = 0x111
je 0x2c03e
incq %rdx
jmp 0x2bfcb
movl %ecx, %edx
movl 0x120(%rsp,%rdx,4), %esi
movl 0x48(%rbx), %edx
cmpl %edx, %esi
jae 0x2c210
cmpl %edx, %r15d
jae 0x2cbba
movb -0x1(%rax), %bpl
movl 0x30(%rsp), %edx
movq %rdx, %rcx
notq %rcx
movb (%rcx,%rax), %r12b
cmpl %r15d, %esi
cmovbel %r15d, %esi
movq %rsi, %r13
cmpl $0x1, %esi
ja 0x2cbe7
cmpb %r12b, %bpl
je 0x2cbe7
orl $-0x1, 0xb8(%rbx)
pushq $0x1
popq %rax
movq %rax, (%rsp)
movl 0x20(%rsp), %r12d
jmp 0x2c225
cmpl $0x7f, %ebp
movl %r13d, %eax
pushq $0x1
popq %rdx
cmoval %edx, %eax
cmpl $0x2, %r13d
cmovnel %r13d, %eax
movl %eax, %r13d
movq (%rsp), %rdx
cmpl $0x2, %edx
jb 0x2c0f7
leal 0x1(%rdx), %eax
cmpl %r13d, %eax
jae 0x2c0e9
leal 0x2(%rdx), %eax
cmpl %r13d, %eax
jb 0x2c0d9
cmpl $0x1ff, %ebp            # imm = 0x1FF
ja 0x2c0e9
leal 0x3(%rdx), %eax
cmpl %r13d, %eax
jb 0x2c0f7
cmpl $0x8000, %ebp           # imm = 0x8000
jb 0x2c0f7
movl %ecx, 0xb8(%rbx)
leal -0x1(%rdx), %esi
jmp 0x2c21c
pushq $0x1
popq %rax
movq %rax, (%rsp)
cmpl $0x2, %r14d
je 0x2c225
pushq $0x1
popq %rax
movq %rax, (%rsp)
cmpl $0x2, %r13d
jb 0x2c225
movq %rbx, %rdi
movq 0x168(%rsp), %rsi
callq 0x2eb2e
movl %eax, 0x38(%rbx)
cmpl $0x2, %eax
jb 0x2c1a4
movl 0x3c(%rbx), %ecx
movl 0xd2c(%rbx,%rcx,4), %ecx
cmpl %r13d, %eax
jb 0x2c14f
pushq $0x1
popq %rdx
movq %rdx, (%rsp)
cmpl %ebp, %ecx
jb 0x2c225
leal 0x1(%r13), %edi
cmpl %edi, %eax
sete %dl
movl %ecx, %esi
shrl $0x7, %esi
cmpl %ebp, %esi
setbe %sil
pushq $0x1
popq %r8
movq %r8, (%rsp)
cmpl %edi, %eax
ja 0x2c225
pushq $0x1
popq %rdi
movq %rdi, (%rsp)
andb %sil, %dl
jne 0x2c225
cmpl $0x3, %r13d
jb 0x2c1a4
incl %eax
cmpl %r13d, %eax
jb 0x2c1a4
movl %ebp, %eax
shrl $0x7, %eax
pushq $0x1
popq %rdx
movq %rdx, (%rsp)
cmpl %ecx, %eax
ja 0x2c225
movq (%rbx), %rdi
callq *0x18(%rbx)
movb -0x1(%rax), %cl
leal -0x1(%r13), %edx
xorl %esi, %esi
cmpq $0x4, %rsi
je 0x2de39
movl 0x50(%rbx,%rsi,4), %edi
movq %rdi, %r8
notq %r8
cmpb (%r8,%rax), %cl
jne 0x2c1fc
negq %rdi
movb (%rax), %r8b
cmpb (%rax,%rdi), %r8b
jne 0x2c1fc
addq %rax, %rdi
pushq $0x2
popq %r8
cmpq %rdx, %r8
jae 0x2bfa9
movb -0x1(%rax,%r8), %r9b
leaq 0x1(%r8), %r10
cmpb -0x1(%rdi,%r8), %r9b
movq %r10, %r8
je 0x2c1e0
incq %rsi
jmp 0x2c1b3
movl %edx, 0xb8(%rbx)
leal -0x1(%rdi), %esi
movq %rdi, (%rsp)
jmp 0x2c21c
movl %ecx, 0xb8(%rbx)
movq %rsi, (%rsp)
decl %esi
addl %esi, 0x4c(%rbx)
movq (%rbx), %rdi
callq *0x28(%rbx)
movl 0x64(%rbx), %r13d
andl %r12d, %r13d
movl 0x44(%rbx), %eax
movl 0x70(%rbx), %ebp
movq %rax, %rcx
shlq $0x5, %rcx
addq 0xa0(%rsp), %rcx
leaq (%rcx,%r13,2), %rcx
movzwl (%rcx), %edx
movq %rbx, %rdi
movl %ebp, %ebx
shrl $0xb, %ebx
imull %edx, %ebx
movl 0xb8(%rdi), %r15d
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
cmpq %rsi, %r15
je 0x2c29e
subl %ebx, %ebp
movl %ebx, %esi
addq %rsi, 0x78(%rdi)
movl %edx, %esi
shrl $0x5, %esi
subl %esi, %edx
movw %dx, (%rcx)
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
movq %rdi, %r14
ja 0x2c32c
shll $0x8, %ebp
movq 0x18(%rsp), %r12
movq %r12, %rdi
callq 0x2ec6a
movl 0x44(%r14), %eax
jmp 0x2c331
movl $0x800, %eax            # imm = 0x800
subl %edx, %eax
shrl $0x5, %eax
addl %edx, %eax
movw %ax, (%rcx)
cmpl $0xffffff, %ebx         # imm = 0xFFFFFF
ja 0x2c2c2
shll $0x8, %ebx
movq 0x18(%rsp), %rdi
callq 0x2ec6a
movq 0x50(%rsp), %rax
movl %ebx, 0x70(%rax)
movq %rax, %rbx
movq (%rax), %rdi
callq *0x18(%rax)
movl 0x44(%rbx), %edx
movl 0x4c(%rbx), %ecx
subq %rcx, %rax
shll $0x8, %r12d
movzbl -0x1(%rax), %esi
orl %r12d, %esi
andl 0x60(%rbx), %esi
movb 0xbc(%rbx), %cl
shll %cl, %esi
leal (%rsi,%rsi,2), %r13d
addq %r13, %r13
addq 0x68(%rbx), %r13
movzbl (%rax), %ebp
leaq 0x28789(%rip), %rcx     # 0x54a90
movzbl (%rdx,%rcx), %ecx
movl %ecx, 0x44(%rbx)
cmpq $0x6, %rdx
ja 0x2c4ac
movq 0x18(%rsp), %rdi
movq %r13, %rsi
movl %ebp, %edx
callq 0x2ebdf
jmp 0x2c6e4
movq 0x18(%rsp), %r12
movzwl 0x2220(%r14,%rax,2), %ecx
movl %ebp, %ebx
shrl $0xb, %ebx
imull %ecx, %ebx
cmpl $0x3, %r15d
ja 0x2c40b
subl %ebx, %ebp
movl %ebx, %edx
addq %rdx, 0x78(%r14)
movl %ecx, %edx
shrl $0x5, %edx
subl %edx, %ecx
movw %cx, 0x2220(%r14,%rax,2)
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
movq %r14, %rbx
movq %r15, %r14
ja 0x2c380
shll $0x8, %ebp
movq %r12, %rdi
callq 0x2ec6a
movl 0x44(%rbx), %eax
movzwl 0x2238(%rbx,%rax,2), %ecx
movl %ebp, %r15d
shrl $0xb, %r15d
imull %ecx, %r15d
testq %r14, %r14
je 0x2c6f2
subl %r15d, %ebp
movl %r15d, %edx
addq %rdx, 0x78(%rbx)
movl %ecx, %edx
shrl $0x5, %edx
subl %edx, %ecx
movw %cx, 0x2238(%rbx,%rax,2)
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x2c3cb
shll $0x8, %ebp
movq %r12, %rdi
callq 0x2ec6a
movl 0x44(%rbx), %eax
movq %r14, %r15
movzwl 0x2250(%rbx,%rax,2), %ecx
movl %ebp, %r14d
shrl $0xb, %r14d
imull %ecx, %r14d
cmpl $0x1, %r15d
jne 0x2c76e
movl $0x800, %edx            # imm = 0x800
subl %ecx, %edx
shrl $0x5, %edx
addl %ecx, %edx
movw %dx, 0x2250(%rbx,%rax,2)
movl 0x54(%rbx), %edx
movq (%rsp), %rbp
jmp 0x2ca31
movl $0x800, %edx            # imm = 0x800
subl %ecx, %edx
shrl $0x5, %edx
addl %ecx, %edx
movw %dx, 0x2220(%r14,%rax,2)
cmpl $0xffffff, %ebx         # imm = 0xFFFFFF
ja 0x2c437
shll $0x8, %ebx
movq %r12, %rdi
callq 0x2ec6a
movl 0x44(%r14), %eax
movq (%rsp), %rdx
movl %ebx, 0x70(%r14)
leaq 0x2866e(%rip), %rcx     # 0x54ab4
movzbl (%rax,%rcx), %eax
movl %eax, 0x44(%r14)
leal -0x2(%rdx), %ebp
movq 0x140(%rsp), %rdi
movq %r12, %rsi
movl %ebp, %edx
movl %r13d, %ecx
callq 0x2ecf8
movl 0x58(%r14), %eax
movl %eax, 0x5c(%r14)
movq 0x50(%r14), %rax
movq %rax, 0x54(%r14)
leal -0x3(%r15), %eax
movl %eax, 0x50(%r14)
incl 0xe8(%r14)
leal -0x4(%r15), %r13d
movl %r13d, %eax
cmpl $0x7f, %r13d
movq %r14, %rbx
movq %r15, 0x28(%rsp)
ja 0x2c566
movzbl 0x3080(%rbx,%rax), %r12d
jmp 0x2c585
movl 0x50(%rbx), %ecx
movl 0x70(%rbx), %r12d
subq %rcx, %rax
movzbl (%rax), %r14d
orl $0x100, %ebp            # imm = 0x100
movl $0x100, %r15d           # imm = 0x100
addl %r14d, %r14d
movl %r14d, %ecx
andl %r15d, %ecx
movl %ebp, %eax
shrl $0x8, %eax
addl %r15d, %eax
addl %ecx, %eax
movl %ebp, %ecx
shrl $0x7, %ecx
andl $0x1, %ecx
movzwl (%r13,%rax,2), %edx
movl %r12d, %esi
shrl $0xb, %esi
imull %edx, %esi
movl %ecx, %edi
negl %edi
andl %edi, %r12d
andl %esi, %edi
movl %r12d, %r8d
addq %rdi, 0x78(%rbx)
subl %edi, %r8d
decl %ecx
andl %ecx, %esi
movl %esi, %r12d
addl %r8d, %r12d
andl $0x7e1, %ecx            # imm = 0x7E1
subl %edx, %ecx
addl $0x1f, %ecx
shrl $0x5, %ecx
addl %edx, %ecx
movw %cx, (%r13,%rax,2)
cmpl $0xffffff, %r12d        # imm = 0xFFFFFF
ja 0x2c53a
shll $0x8, %r12d
movq 0x18(%rsp), %rdi
callq 0x2ec6a
leal (,%rbp,2), %eax
movl %r14d, %ecx
xorl %eax, %ecx
notl %ecx
andl %ecx, %r15d
cmpl $0x8000, %ebp           # imm = 0x8000
movl %eax, %ebp
jb 0x2c4c6
movq 0x18(%rsp), %rax
movl %r12d, (%rax)
jmp 0x2c6e4
cmpl $0x100000, %r13d        # imm = 0x100000
pushq $0x13
popq %rcx
pushq $0x6
popq %rdx
cmovbl %edx, %ecx
shrq %cl, %rax
movzbl 0x3080(%rbx,%rax), %eax
leal (%rax,%rcx,2), %r12d
leal 0x40(%r12), %r15d
movq 0x18(%rsp), %rax
movl (%rax), %r14d
cmpl $0x5, (%rsp)
pushq $0x3
popq %rax
cmovael %eax, %ebp
shlq $0x7, %rbp
addq 0x1b0(%rsp), %rbp
movl %r15d, %eax
shrl $0x5, %eax
movl %eax, %ecx
andl $-0x2, %ecx
andl $0x1, %eax
movzwl (%rbp,%rcx), %edx
movl %r14d, %esi
shrl $0xb, %esi
imull %edx, %esi
movl %eax, %edi
negl %edi
andl %edi, %r14d
andl %esi, %edi
movl %r14d, %r8d
addq %rdi, 0x78(%rbx)
subl %edi, %r8d
decl %eax
andl %eax, %esi
movl %esi, %r14d
addl %r8d, %r14d
andl $0x7e1, %eax            # imm = 0x7E1
subl %edx, %eax
addl $0x1f, %eax
shrl $0x5, %eax
addl %edx, %eax
movw %ax, (%rbp,%rcx)
cmpl $0xffffff, %r14d        # imm = 0xFFFFFF
ja 0x2c60c
shll $0x8, %r14d
movq 0x18(%rsp), %rdi
callq 0x2ec6a
leal (%r15,%r15), %eax
cmpl $0x800, %r15d           # imm = 0x800
movl %eax, %r15d
jb 0x2c5a8
movq 0x18(%rsp), %rax
movl %r14d, (%rax)
cmpl $0x4, %r13d
movq 0x8(%rsp), %rdx
movq (%rsp), %rbp
jb 0x2caa9
movl %r12d, %ebp
shrl %ebp
cmpl $0x7f, %r13d
ja 0x2c7ce
decl %ebp
andl $0x1, %r12d
orl $0x2, %r12d
movl %ebp, %ecx
shll %cl, %r12d
movq 0x188(%rsp), %rax
leaq (%rax,%r12,2), %r15
pushq $0x1
popq %rax
movl %eax, %r12d
movl %r13d, %ebx
andl $0x1, %ebx
movl %r12d, %eax
movzwl (%r15,%rax,2), %ecx
movl %r14d, %edx
shrl $0xb, %edx
imull %ecx, %edx
movl %ebx, %esi
negl %esi
andl %esi, %r14d
andl %edx, %esi
movl %r14d, %edi
movq 0x50(%rsp), %r8
addq %rsi, 0x78(%r8)
subl %esi, %edi
leal -0x1(%rbx), %esi
andl %esi, %edx
movl %edx, %r14d
addl %edi, %r14d
andl $0x7e1, %esi            # imm = 0x7E1
subl %ecx, %esi
addl $0x1f, %esi
shrl $0x5, %esi
addl %ecx, %esi
movw %si, (%r15,%rax,2)
cmpl $0xffffff, %r14d        # imm = 0xFFFFFF
ja 0x2c6cc
shll $0x8, %r14d
movq 0x18(%rsp), %rdi
callq 0x2ec6a
shrl %r13d
leal (%rbx,%r12,2), %r12d
decl %ebp
jne 0x2c667
movq 0x18(%rsp), %rax
movl %r14d, (%rax)
movq 0x50(%rsp), %rbx
movq 0x8(%rsp), %rdx
movq (%rsp), %rbp
jmp 0x2caa9
movl $0x800, %edx            # imm = 0x800
subl %ecx, %edx
shrl $0x5, %edx
addl %ecx, %edx
movw %dx, 0x2238(%rbx,%rax,2)
cmpl $0xffffff, %r15d        # imm = 0xFFFFFF
ja 0x2c71e
shll $0x8, %r15d
movq %r12, %rdi
callq 0x2ec6a
movl 0x44(%rbx), %eax
movq (%rsp), %rbp
movq %rax, %rcx
shlq $0x5, %rcx
addq 0x90(%rsp), %rcx
leaq (%rcx,%r13,2), %rcx
movzwl (%rcx), %edx
movl %r15d, %r14d
shrl $0xb, %r14d
imull %edx, %r14d
cmpl $0x1, %ebp
jne 0x2c9e7
movl $0x800, %esi            # imm = 0x800
subl %edx, %esi
shrl $0x5, %esi
addl %edx, %esi
movw %si, (%rcx)
leaq 0x2833a(%rip), %rcx     # 0x54a9c
movzbl (%rax,%rcx), %eax
movl %eax, 0x44(%rbx)
jmp 0x2ca3a
subl %r14d, %ebp
movl %r14d, %edx
addq %rdx, 0x78(%rbx)
movl %ecx, %edx
shrl $0x5, %edx
subl %edx, %ecx
movw %cx, 0x2250(%rbx,%rax,2)
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x2c79d
shll $0x8, %ebp
movq %r12, %rdi
callq 0x2ec6a
movl 0x44(%rbx), %eax
movzwl 0x2268(%rbx,%rax,2), %ecx
movl %ebp, %r14d
shrl $0xb, %r14d
imull %ecx, %r14d
cmpl $0x2, %r15d
jne 0x2ca00
movl $0x800, %esi            # imm = 0x800
subl %ecx, %esi
shrl $0x5, %esi
addl %ecx, %esi
movl 0x58(%rbx), %edx
jmp 0x2ca1f
movl %r13d, %ebx
orl $0xf, %ebx
movb $0x21, %cl
subb %bpl, %cl
shll %cl, %ebx
movq 0x18(%rsp), %r15
movl %r14d, %eax
shrl %r14d
movl %ebx, %ecx
sarl $0x1f, %ecx
andl %r14d, %ecx
movq 0x50(%rsp), %rdx
addq %rcx, 0x78(%rdx)
cmpl $0x1ffffff, %eax        # imm = 0x1FFFFFF
ja 0x2c80a
shll $0x8, %r14d
movq %r15, %rdi
callq 0x2ec6a
addl %ebx, %ebx
cmpl $0xf0000000, %ebx       # imm = 0xF0000000
jne 0x2c7e0
movq 0x28(%rsp), %r15
movl %r15d, %r12d
andl $0x1, %r12d
movq 0x50(%rsp), %rbx
movzwl 0x2202(%rbx), %ecx
movl %r14d, %ebp
shrl $0xb, %ebp
imull %ecx, %ebp
movl %r12d, %eax
negl %eax
andl %eax, %r14d
andl %ebp, %eax
subl %eax, %r14d
addq 0x78(%rbx), %rax
movq %rax, 0x78(%rbx)
leal -0x1(%r12), %edx
andl %edx, %ebp
addl %r14d, %ebp
andl $0x7e1, %edx            # imm = 0x7E1
subl %ecx, %edx
addl $0x1f, %edx
shrl $0x5, %edx
addl %ecx, %edx
movw %dx, 0x2202(%rbx)
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x2c884
shll $0x8, %ebp
movq 0x18(%rsp), %rdi
callq 0x2ec6a
movq 0x78(%rbx), %rax
shrl %r15d
orl $0x2, %r12d
andl $0x1, %r15d
movzwl 0x2200(%rbx,%r12,2), %edx
movl %ebp, %r14d
shrl $0xb, %r14d
imull %edx, %r14d
movl %r15d, %ecx
negl %ecx
andl %ecx, %ebp
andl %r14d, %ecx
subl %ecx, %ebp
addq %rax, %rcx
movq %rcx, 0x78(%rbx)
leal -0x1(%r15), %eax
andl %eax, %r14d
addl %ebp, %r14d
andl $0x7e1, %eax            # imm = 0x7E1
subl %edx, %eax
addl $0x1f, %eax
shrl $0x5, %eax
addl %edx, %eax
movw %ax, 0x2200(%rbx,%r12,2)
movq %r15, %rbp
cmpl $0xffffff, %r14d        # imm = 0xFFFFFF
ja 0x2c8f6
shll $0x8, %r14d
movq 0x18(%rsp), %rdi
callq 0x2ec6a
movq 0x78(%rbx), %rcx
movl %r13d, %r15d
shrl $0x2, %r15d
leal (%rbp,%r12,2), %r12d
andl $0x1, %r15d
movzwl 0x2200(%rbx,%r12,2), %edx
movl %r14d, %ebp
shrl $0xb, %ebp
imull %edx, %ebp
movl %r15d, %eax
negl %eax
andl %eax, %r14d
andl %ebp, %eax
subl %eax, %r14d
addq %rcx, %rax
movq %rax, 0x78(%rbx)
leal -0x1(%r15), %ecx
andl %ecx, %ebp
addl %r14d, %ebp
andl $0x7e1, %ecx            # imm = 0x7E1
subl %edx, %ecx
addl $0x1f, %ecx
shrl $0x5, %ecx
addl %edx, %ecx
movw %cx, 0x2200(%rbx,%r12,2)
cmpl $0xffffff, %ebp         # imm = 0xFFFFFF
ja 0x2c967
shll $0x8, %ebp
movq 0x18(%rsp), %rdi
callq 0x2ec6a
movq 0x78(%rbx), %rax
shrl $0x3, %r13d
andl $0x1, %r13d
addl %r15d, %r15d
leal (%r15,%r12,4), %ecx
movzwl 0x2200(%rbx,%rcx), %edx
movq %rbx, %rdi
movl %ebp, %ebx
shrl $0xb, %ebx
imull %edx, %ebx
movl %r13d, %esi
negl %esi
andl %esi, %ebp
andl %ebx, %esi
subl %esi, %ebp
addq %rax, %rsi
movq %rsi, 0x78(%rdi)
decl %r13d
andl %r13d, %ebx
addl %ebp, %ebx
andl $0x7e1, %r13d           # imm = 0x7E1
subl %edx, %r13d
addl $0x1f, %r13d
shrl $0x5, %r13d
addl %edx, %r13d
movw %r13w, 0x2200(%rdi,%rcx)
cmpl $0xffffff, %ebx         # imm = 0xFFFFFF
ja 0x2ca93
shll $0x8, %ebx
movq 0x18(%rsp), %r14
movq %r14, %rdi
callq 0x2ec6a
movq 0x8(%rsp), %rdx
jmp 0x2ca9d
subl %r14d, %r15d
movl %r14d, %eax
addq %rax, 0x78(%rbx)
movl %edx, %eax
shrl $0x5, %eax
subl %eax, %edx
movw %dx, (%rcx)
movl %r15d, %r14d
jmp 0x2ca3a
subl %r14d, %ebp
movl %r14d, %edx
addq %rdx, 0x78(%rbx)
movl %ecx, %edx
shrl $0x5, %edx
subl %edx, %ecx
movl 0x58(%rbx), %esi
movl 0x5c(%rbx), %edx
movl %esi, 0x5c(%rbx)
movl %ecx, %esi
movl %ebp, %r14d
movq (%rsp), %rbp
movw %si, 0x2268(%rbx,%rax,2)
movl 0x54(%rbx), %eax
movl %eax, 0x58(%rbx)
movl 0x50(%rbx), %eax
movl %eax, 0x54(%rbx)
movl %edx, 0x50(%rbx)
cmpl $0xffffff, %r14d        # imm = 0xFFFFFF
ja 0x2ca4f
shll $0x8, %r14d
movq %r12, %rdi
callq 0x2ec6a
movq 0x8(%rsp), %rdx
movl %r14d, (%r12)
cmpl $0x1, %ebp
je 0x2caa9
leal -0x2(%rbp), %edx
movq 0x138(%rsp), %rdi
movq 0x18(%rsp), %rsi
movl %r13d, %ecx
callq 0x2ecf8
movq 0x8(%rsp), %rdx
decl 0xec(%rbx)
movl 0x44(%rbx), %eax
leaq 0x2801e(%rip), %rcx     # 0x54aa8
movzbl (%rax,%rcx), %eax
movl %eax, 0x44(%rbx)
jmp 0x2caa9
movq 0x8(%rsp), %rdx
movq 0x18(%rsp), %r14
movq (%rsp), %rbp
movl %ebx, (%r14)
movq 0x50(%rsp), %rbx
movl 0x20(%rsp), %r12d
addl %ebp, %r12d
subl %ebp, 0x4c(%rbx)
jne 0x2bdf3
cmpl $0x0, 0xcc(%rbx)
jne 0x2cb39
cmpl $0x40, 0xe8(%rbx)
jb 0x2cb01
movq %rbx, %rdi
callq 0x2e5ec
movq %rbx, %rdi
callq 0x2e2e1
movb 0xc4(%rbx), %cl
pushq $0x1
popq %rsi
shll %cl, %esi
movq 0x190(%rsp), %rdi
movq 0x140(%rsp), %rdx
movq 0x48(%rsp), %rcx
callq 0x2e6d3
cmpl $0x0, 0xec(%rbx)
jg 0x2cb39
movl $0x40, 0xec(%rbx)
movb 0xc4(%rbx), %cl
pushq $0x1
popq %rsi
shll %cl, %esi
movq 0x180(%rsp), %rdi
movq 0x138(%rsp), %rdx
movq 0x48(%rsp), %rcx
callq 0x2e6d3
movq (%rbx), %rdi
callq *0x10(%rbx)
testl %eax, %eax
je 0x2dfa8
movl %r12d, %eax
subl 0xf0(%rsp), %eax
cmpl $0x0, 0xc4(%rsp)
movq 0x8(%rsp), %rdx
je 0x2cbaa
addl $0x92c, %eax            # imm = 0x92C
cmpl 0x11c(%rsp), %eax
jae 0x2dfa8
movq 0x80(%rbx), %rax
movq 0xa8(%rbx), %rcx
addq 0x88(%rbx), %rcx
subq 0x98(%rbx), %rcx
addq %rcx, %rax
addq $0x4000, %rax           # imm = 0x4000
cmpq 0x1a8(%rsp), %rax
jb 0x2bdf3
jmp 0x2dfa8
cmpl $0x20000, %eax          # imm = 0x20000
jb 0x2bdf3
jmp 0x2dfe2
movl 0x24(%rsp), %eax
movl 0xd2c(%rbx,%rax,4), %eax
addl $0x4, %eax
movl %eax, 0xb8(%rbx)
leal -0x1(%r15), %esi
addl %esi, 0x4c(%rbx)
movq (%rbx), %rdi
callq *0x28(%rbx)
movl %r15d, %r13d
movq %r13, (%rsp)
jmp 0x2c225
movq %r15, 0xa8(%rsp)
movq %rdx, 0xc8(%rsp)
movzbl %bpl, %esi
movl 0x44(%rbx), %r14d
movw %r14w, 0xf88c(%rbx)
movl 0x64(%rbx), %r15d
movl 0x20(%rsp), %edx
movl %edx, %ecx
shll $0x8, %ecx
movzbl -0x2(%rax), %eax
orl %ecx, %eax
andl 0x60(%rbx), %eax
movb 0xbc(%rbx), %cl
shll %cl, %eax
leal (%rax,%rax,2), %edi
addq %rdi, %rdi
addq 0x68(%rbx), %rdi
andl %edx, %r15d
movq %r14, %rdx
shlq $0x5, %rdx
movq %rbx, %rcx
movq 0xa0(%rsp), %rax
movq %rdx, (%rsp)
leaq (%rax,%rdx), %rbx
movzwl (%rbx,%r15,2), %eax
shrl $0x4, %eax
movl 0xb30(%rcx,%rax,4), %eax
movl %eax, 0x28(%rsp)
cmpq $0x7, %r14
jae 0x2cc71
movq 0x48(%rsp), %rdx
callq 0x2efda
jmp 0x2cc7f
movzbl %r12b, %edx
movq 0x48(%rsp), %rcx
callq 0x2ef81
cmpb %r12b, %bpl
sete %dil
addl 0x28(%rsp), %eax
movq 0x50(%rsp), %rdx
movl %eax, 0xf8a8(%rdx)
orl $-0x1, 0xf8b4(%rdx)
leaq (%rbx,%r15,2), %rcx
movq %rdx, %rbx
andw $0x0, 0xf8ae(%rdx)
movzwl (%rcx), %ecx
shrl $0x2, %ecx
andl $-0x4, %ecx
movl $0x1fc, %esi            # imm = 0x1FC
xorl %esi, %ecx
movl 0xb30(%rdx,%rcx), %edx
movzwl 0x2220(%rbx,%r14,2), %ecx
shrl $0x2, %ecx
andl $-0x4, %ecx
xorl %esi, %ecx
movl 0xb30(%rbx,%rcx), %esi
addl %edx, %esi
movl 0x120(%rsp), %ecx
testl %ecx, %ecx
sete %r8b
andb %dil, %r8b
cmpb $0x1, %r8b
movl 0x20(%rsp), %r12d
movq %r13, %rbp
movq (%rsp), %r10
jne 0x2cd5a
movzwl 0x2238(%rbx,%r14,2), %edi
shrl $0x4, %edi
movq 0x90(%rsp), %r8
addq %r10, %r8
movzwl (%r8,%r15,2), %r9d
shrl $0x4, %r9d
movl 0xb30(%rbx,%rdi,4), %r8d
addl %esi, %r8d
addl 0xb30(%rbx,%r9,4), %r8d
pushq $-0x1
popq %rdi
cmpl %eax, %r8d
jae 0x2cd51
movl %r8d, 0xf8a8(%rbx)
andl $0x0, 0xf8b4(%rbx)
andw $0x0, 0xf8ae(%rbx)
xorl %edi, %edi
cmpl $0x1, %ebp
jbe 0x2de61
movl $0x1, 0xf8b0(%rbx)
movq 0xc8(%rsp), %rax
movl %eax, 0xf898(%rbx)
movl 0x34(%rsp), %eax
movl %eax, 0x88(%rsp)
movl %eax, 0xf89c(%rbx)
movl 0x38(%rsp), %eax
movl %eax, 0x8c(%rsp)
movl %eax, 0xf8a0(%rbx)
movl 0x3c(%rsp), %eax
movl %eax, 0x84(%rsp)
movl %eax, 0xf8a4(%rbx)
addq 0x90(%rsp), %r10
leaq (%r10,%r15,2), %rax
xorl %edi, %edi
cmpq $0x4, %rdi
je 0x2ceba
movl 0x120(%rsp,%rdi,4), %r8d
cmpl $0x2, %r8d
jb 0x2ceaf
movzwl 0x2238(%rbx,%r14,2), %r10d
shrl $0x4, %r10d
testq %rdi, %rdi
je 0x2ce0b
movzwl %r10w, %r9d
xorl $0x7f, %r9d
movl 0xb30(%rbx,%r9,4), %r9d
movzwl 0x2250(%rbx,%r14,2), %r10d
shrl $0x4, %r10d
cmpq $0x1, %rdi
jne 0x2ce2d
movq 0x48(%rsp), %r11
jmp 0x2ce27
movzwl (%rax), %r9d
shrl $0x2, %r9d
andl $-0x4, %r9d
xorl $0x1fc, %r9d            # imm = 0x1FC
movq 0x48(%rsp), %r11
movl (%r11,%r9), %r9d
addl (%r11,%r10,4), %r9d
jmp 0x2ce63
movzwl %r10w, %r10d
xorl $0x7f, %r10d
addl 0xb30(%rbx,%r10,4), %r9d
movzwl 0x2268(%rbx,%r14,2), %r10d
pushq $0x2
popq %r11
subl %edi, %r11d
andl $0x7f0, %r11d           # imm = 0x7F0
xorl %r10d, %r11d
shrl $0x4, %r11d
addl 0xb30(%rbx,%r11,4), %r9d
addl %esi, %r9d
movl %r8d, %r10d
imulq $0x440, %r15, %r11      # imm = 0x440
addq 0xb8(%rsp), %r11
movl -0x8(%r11,%r10,4), %r11d
addl %r9d, %r11d
shlq $0x5, %r10
movq 0x8(%rsp), %rbp
cmpl (%rbp,%r10), %r11d
jae 0x2cea6
addq 0x8(%rsp), %r10
movl %r11d, (%r10)
movl %r8d, 0x8(%r10)
movl %edi, 0xc(%r10)
andw $0x0, 0x6(%r10)
decl %r8d
cmpl $0x1, %r8d
ja 0x2ce66
incq %rdi
movq %r13, %rbp
jmp 0x2cdb3
incl %ecx
cmpl 0xa8(%rsp), %ecx
jbe 0x2dd24
movl $0x7fe, %eax            # imm = 0x7FE
movq %rax, 0x130(%rsp)
pushq $0x1
popq %r9
xorl %edx, %edx
movl %r12d, %r14d
movq 0x8(%rsp), %r8
leaq 0x1(%rdx), %rcx
movl %ebp, %eax
cmpq %rax, %rcx
je 0x2de5c
cmpq $0x7bf, %rdx            # imm = 0x7BF
je 0x2de6c
movq %rdx, 0xb0(%rsp)
movq %r9, 0x70(%rsp)
movq %rcx, 0x28(%rsp)
movq %rbx, %rdi
leaq 0x24(%rsp), %rsi
callq 0x2eb2e
cmpl 0x48(%rbx), %eax
jae 0x2dec8
movq 0x28(%rsp), %rsi
movq %rsi, %rcx
shlq $0x5, %rcx
movq 0x8(%rsp), %rdi
leaq (%rdi,%rcx), %r12
movl 0x8(%rdi,%rcx), %edx
subl %edx, %esi
movl %esi, %ecx
cmpl $0x1, %edx
movq %rbp, (%rsp)
movl %eax, 0x114(%rsp)
jne 0x2cf6f
shlq $0x5, %rcx
movzwl 0x4(%rdi,%rcx), %edx
cmpl $0x0, 0xc(%r12)
je 0x2cfb8
leaq 0x27b23(%rip), %rcx     # 0x54a90
jmp 0x2cfbf
movl 0xc(%r12), %r10d
movzwl 0x6(%r12), %edx
testl %edx, %edx
je 0x2cfe7
subl %edx, %esi
cmpl $0x4, %r10d
movl $0x0, %r15d
adcl $0x7, %r15d
cmpl $0x1, %edx
pushq $0x8
popq %rcx
cmovnel %ecx, %r15d
movq %rsi, %rcx
shlq $0x5, %rcx
leaq (%rdi,%rcx), %rdx
addq $0x10, %rdx
movl (%rdx), %r8d
movq %rsi, %rcx
cmpl $0x4, %r10d
jb 0x2d014
jmp 0x2d04f
leaq 0x27add(%rip), %rcx     # 0x54a9c
movzbl (%rdx,%rcx), %r15d
movq 0xc8(%rsp), %r8
movl 0x8c(%rsp), %ecx
movl 0x88(%rsp), %edi
movl 0x84(%rsp), %r9d
jmp 0x2d0bd
movq %rcx, %rdx
shlq $0x5, %rdx
addq %rdi, %rdx
addq $0x10, %rdx
movzwl -0xc(%rdx), %esi
movl (%rdx), %r8d
cmpl $0x3, %r10d
ja 0x2d043
movq %r8, %r9
leaq 0x27a9c(%rip), %r8      # 0x54aa8
movzbl (%rsi,%r8), %r15d
movq %r9, %r8
testq %r10, %r10
je 0x2d075
movl %r8d, 0x34(%rsp)
movl 0x4(%rdx), %esi
cmpl $0x1, %r10d
jne 0x2d093
movl %esi, 0x30(%rsp)
movl 0x8(%rdx), %ecx
movl %ecx, 0x38(%rsp)
movl 0xc(%rdx), %r9d
movl %r9d, 0x3c(%rsp)
movl %r8d, %edi
movl %esi, %r8d
jmp 0x2d0bd
leaq 0x27a6a(%rip), %rcx     # 0x54ab4
movzbl (%rsi,%rcx), %r15d
addl $-0x3, %r10d
movl %r10d, 0x30(%rsp)
movl %r8d, 0x34(%rsp)
movl 0x4(%rdx), %ecx
movl %ecx, 0x38(%rsp)
movl 0x8(%rdx), %r9d
movl %r9d, 0x3c(%rsp)
movl %r8d, %edi
movl %r10d, %r8d
jmp 0x2d0bd
movl %r8d, 0x30(%rsp)
movl 0x4(%rdx), %edi
movl %edi, 0x34(%rsp)
movl 0x8(%rdx), %ecx
movl %ecx, 0x38(%rsp)
movl 0xc(%rdx), %r9d
movl %r9d, 0x3c(%rsp)
jmp 0x2d0bd
movl %esi, 0x38(%rsp)
shlq $0x5, %rcx
addq %rdi, %rcx
movl %r8d, %edi
movl 0x10(%rcx,%r10,4), %edx
movl %edx, 0x30(%rsp)
xorq $0x1, %r10
movl 0x10(%rcx,%r10,4), %r9d
movl %r9d, 0x3c(%rsp)
movl %esi, %ecx
movl %edx, %r8d
movq %r14, 0x78(%rsp)
leal 0x1(%r14), %r13d
movw %r15w, 0x4(%r12)
movl %r8d, 0x10(%r12)
movl %edi, 0x88(%rsp)
movl %edi, 0x14(%r12)
movl %ecx, 0x8c(%rsp)
movl %ecx, 0x18(%r12)
movl %r9d, 0x84(%rsp)
movl %r9d, 0x1c(%r12)
movq (%rbx), %rdi
movq %r8, %r14
callq *0x18(%rbx)
movq %rax, %r10
decq %rax
movq %rax, 0xa8(%rsp)
movb -0x1(%r10), %bpl
movq %r14, 0xc8(%rsp)
movl %r14d, %ecx
movq %rcx, 0x98(%rsp)
subq %rcx, %rax
movb (%rax), %r11b
movl 0x64(%rbx), %eax
movl %eax, 0x5c(%rsp)
movl %eax, %ecx
movq %r13, 0xd8(%rsp)
andl %r13d, %ecx
movl (%r12), %r13d
movl %r15d, %esi
movq %rsi, %r12
shlq $0x5, %r12
movq 0xa0(%rsp), %rax
addq %r12, %rax
movq %rcx, 0x60(%rsp)
movzwl (%rax,%rcx,2), %eax
shrl $0x2, %eax
andl $-0x4, %eax
movl %eax, %ecx
xorl $0x1fc, %ecx            # imm = 0x1FC
movl 0xb30(%rbx,%rcx), %ecx
addl %r13d, %ecx
movl %ecx, 0xc0(%rsp)
movq 0xb0(%rsp), %rdi
movq %rdi, %rcx
shlq $0x5, %rcx
movq 0x8(%rsp), %r8
leaq (%rcx,%r8), %r15
addq $0x40, %r15
movl (%r15), %r14d
cmpl $0x40000000, %r14d      # imm = 0x40000000
setb %cl
cmpb %bpl, %r11b
sete %dl
testb %dl, %cl
movq %rsi, 0xd0(%rsp)
movq %r10, 0x68(%rsp)
jne 0x2d21d
addl 0xb30(%rbx,%rax), %r13d
cmpl %r14d, %r13d
movq 0x70(%rsp), %r9
ja 0x2d219
movq %rsi, %r8
movb %bpl, 0x10(%rsp)
movzbl %bpl, %esi
movq 0xd8(%rsp), %rax
shll $0x8, %eax
movzbl -0x2(%r10), %edx
orl %eax, %edx
andl 0x60(%rbx), %edx
movb 0xbc(%rbx), %cl
shll %cl, %edx
leal (%rdx,%rdx,2), %edi
addq %rdi, %rdi
addq 0x68(%rbx), %rdi
cmpl $0x7, %r8d
jae 0x2d226
movl %r11d, %ebp
movq 0x48(%rsp), %rdx
callq 0x2efda
jmp 0x2d237
xorl %eax, %eax
jmp 0x2d29b
xorl %eax, %eax
movq 0x70(%rsp), %r9
jmp 0x2d29b
movl %r11d, %ebp
movzbl %r11b, %edx
movq 0x48(%rsp), %rcx
callq 0x2ef81
addl %r13d, %eax
cmpl %r14d, %eax
movq 0x8(%rsp), %r8
movq 0x70(%rsp), %r9
movq 0xb0(%rsp), %rdi
jae 0x2d286
movl %eax, (%r15)
movabsq $-0xffffffff, %rcx      # imm = 0xFFFFFFFF00000001
movq %rcx, 0x8(%r15)
andw $0x0, 0x6(%r15)
movl %eax, %r14d
pushq $0x1
popq %r13
movq 0x68(%rsp), %r10
movq 0xd0(%rsp), %rsi
movl %ebp, %r11d
movb 0x10(%rsp), %bpl
jmp 0x2d29e
movq 0x68(%rsp), %r10
movq 0xd0(%rsp), %rsi
movl %ebp, %r11d
movb 0x10(%rsp), %bpl
xorl %r13d, %r13d
movzwl 0x2220(%rbx,%rsi,2), %ecx
shrl $0x2, %ecx
andl $-0x4, %ecx
xorl $0x1fc, %ecx            # imm = 0x1FC
movl 0xb30(%rbx,%rcx), %ecx
addl 0xc0(%rsp), %ecx
movl %ecx, 0x10(%rsp)
movl 0x40(%rbx), %ecx
movl $0x7fe, %edx            # imm = 0x7FE
subl %edi, %edx
cmpl %edx, %ecx
movq %rcx, 0xe8(%rsp)
cmovbl %ecx, %edx
movl %edx, 0x14(%rsp)
cmpl $0x6, %esi
ja 0x2d34b
cmpb %bpl, %r11b
jne 0x2d34b
cmpl %r14d, 0x10(%rsp)
jae 0x2d34b
cmpl $0x2, 0x8(%r15)
jb 0x2d2fe
cmpl $0x0, 0xc(%r15)
je 0x2d34b
movzwl 0x2238(%rbx,%rsi,2), %ecx
shrl $0x4, %ecx
movq 0x90(%rsp), %rdx
addq %r12, %rdx
movq 0x60(%rsp), %rdi
movzwl (%rdx,%rdi,2), %edx
shrl $0x4, %edx
movl 0xb30(%rbx,%rcx,4), %ecx
addl 0x10(%rsp), %ecx
addl 0xb30(%rbx,%rdx,4), %ecx
cmpl %r14d, %ecx
jae 0x2d34b
movl %ecx, (%r15)
movq $0x1, 0x8(%r15)
andw $0x0, 0x6(%r15)
xorl %r13d, %r13d
movl 0x14(%rsp), %ecx
cmpl $0x2, %ecx
jae 0x2d362
movl 0x20(%rsp), %r12d
movq (%rsp), %rbp
jmp 0x2d864
movl %r11d, %edi
movq %rsi, %r11
movl 0x48(%rbx), %esi
cmpl %esi, %ecx
movq %rsi, 0xf8(%rsp)
movl %esi, %r15d
cmovbl %ecx, %r15d
testl %eax, %eax
sete %cl
orb %r13b, %cl
jne 0x2d402
cmpb %bpl, %dil
movq %r11, %rsi
je 0x2dc32
cmpl $0x2, 0x14(%rsp)
movq (%rsp), %rbp
je 0x2d409
movq 0x98(%rsp), %rdi
negq %rdi
movb (%r10), %cl
cmpb (%r10,%rdi), %cl
jne 0x2d409
movb 0x1(%r10), %cl
cmpb 0x1(%r10,%rdi), %cl
jne 0x2d409
movq 0xf8(%rsp), %rcx
leal 0x1(%rcx), %edx
movl 0x14(%rsp), %ecx
cmpl %ecx, %edx
cmovael %ecx, %edx
cmpl $0x4, %edx
movl %edx, %ecx
pushq $0x3
popq %rsi
cmovbl %esi, %ecx
addq %r10, %rdi
pushq $0x3
popq %rsi
movq %rdi, %r8
cmpq %rdx, %rsi
jae 0x2dc3b
movb -0x1(%r10,%rsi), %dil
cmpb -0x1(%r8,%rsi), %dil
jne 0x2dc40
incq %rsi
jmp 0x2d3e4
movq (%rsp), %rbp
movq %r11, %rsi
addq 0x90(%rsp), %r12
movq 0x60(%rsp), %rdx
leaq (%r12,%rdx,2), %rax
movq %rax, 0x198(%rsp)
movl %r15d, %r11d
cmpl $0x3, %r15d
pushq $0x2
popq %rcx
movl %ecx, %eax
movl %r15d, 0x110(%rsp)
cmovael %r15d, %eax
movl %eax, 0xe0(%rsp)
imulq $0x440, %rdx, %rdx      # imm = 0x440
movq 0x170(%rsp), %rax
movq %rdx, 0xb0(%rsp)
leaq (%rax,%rdx), %r13
xorl %r14d, %r14d
movl %ecx, %edi
movq %r11, 0x60(%rsp)
cmpq $0x4, %r14
je 0x2d82c
movl 0x30(%rsp,%r14,4), %r12d
movq 0xa8(%rsp), %rcx
movq %rcx, %rax
subq %r12, %rax
movb (%rcx), %cl
cmpb (%rax), %cl
jne 0x2d4b3
movb (%r10), %cl
cmpb 0x1(%rax), %cl
jne 0x2d4b3
movq %rbp, %rdx
negq %r12
addq %r10, %r12
pushq $0x2
popq %rbp
cmpq %r11, %rbp
jae 0x2d4bb
movb -0x1(%r10,%rbp), %cl
cmpb -0x1(%r12,%rbp), %cl
jne 0x2d4c4
incq %rbp
jmp 0x2d49d
movl %ebp, %r12d
jmp 0x2d770
movl 0xe0(%rsp), %ecx
movl %ecx, %ebp
movq 0x28(%rsp), %rcx
addl %ebp, %ecx
cmpl %ecx, %edx
cmoval %edx, %ecx
movl %ecx, (%rsp)
movzwl 0x2238(%rbx,%rsi,2), %ecx
shrl $0x4, %ecx
testq %r14, %r14
je 0x2d513
movq %rdi, %r10
movzwl %cx, %ecx
xorl $0x7f, %ecx
movl 0xb30(%rbx,%rcx,4), %r15d
movzwl 0x2250(%rbx,%rsi,2), %ecx
shrl $0x4, %ecx
cmpq $0x1, %r14
jne 0x2d53f
movq %rsi, %r11
movq 0x48(%rsp), %rdx
addl (%rdx,%rcx,4), %r15d
jmp 0x2d571
movq %rsi, %r11
movq %rdi, %r10
movq 0x198(%rsp), %rdx
movzwl (%rdx), %edx
shrl $0x2, %edx
andl $-0x4, %edx
xorl $0x1fc, %edx            # imm = 0x1FC
movq 0x48(%rsp), %rsi
movl (%rsi,%rdx), %r15d
addl (%rsi,%rcx,4), %r15d
jmp 0x2d571
movzwl %cx, %ecx
xorl $0x7f, %ecx
addl 0xb30(%rbx,%rcx,4), %r15d
movq %rsi, %r11
movzwl 0x2268(%rbx,%rsi,2), %ecx
pushq $0x2
popq %rdx
subl %r14d, %edx
andl $0x7f0, %edx            # imm = 0x7F0
xorl %ecx, %edx
shrl $0x4, %edx
addl 0xb30(%rbx,%rdx,4), %r15d
addl 0x10(%rsp), %r15d
movl %ebp, %esi
movq %rsi, %rcx
movl (%r13,%rcx,4), %edx
addl %r15d, %edx
leal (%r9,%rcx), %edi
shlq $0x5, %rdi
cmpl (%r8,%rdi), %edx
jae 0x2d5a2
addq %r8, %rdi
movl %edx, (%rdi)
movl %ecx, 0x8(%rdi)
movl %r14d, 0xc(%rdi)
andw $0x0, 0x6(%rdi)
decq %rcx
testl $0xfffffffe, %ecx       # imm = 0xFFFFFFFE
jne 0x2d57b
leaq 0x1(%rsi), %rdx
testq %r14, %r14
movq %r10, %rdi
cmovel %edx, %edi
movq 0xf8(%rsp), %rcx
leal (%rdx,%rcx), %r10d
movl 0x14(%rsp), %ecx
cmpl %ecx, %r10d
cmovael %ecx, %r10d
leal 0x3(%rbp), %ecx
cmpl %r10d, %ecx
jbe 0x2d5e3
movq 0x68(%rsp), %r10
jmp 0x2d764
movl %ecx, 0x118(%rsp)
movq %r10, 0x78(%rsp)
movq %rdx, %r10
movq 0xa8(%rsp), %rdx
movb (%rdx,%r10), %cl
movq %r10, 0x1a0(%rsp)
cmpb (%rax,%r10), %cl
movq 0x68(%rsp), %r10
jne 0x2d764
movb 0x2(%rdx,%rsi), %cl
cmpb 0x2(%rax,%rsi), %cl
jne 0x2d764
movq %rdi, 0x98(%rsp)
leaq 0x27476(%rip), %rcx     # 0x54aa8
movzbl (%r11,%rcx), %ecx
movq 0xd8(%rsp), %rdx
addl %ebp, %edx
movl %edx, %edi
andl 0x5c(%rsp), %edi
movq %rdi, %r9
movq %rdi, 0x178(%rsp)
shll $0x8, %edx
movzbl -0x2(%r10,%rsi), %edi
orl %edx, %edi
movq 0xb8(%rsp), %rdx
movq 0xb0(%rsp), %r8
addq %r8, %rdx
movl -0x8(%rdx,%rsi,4), %edx
movl %edx, 0x10c(%rsp)
shll $0x5, %ecx
addq 0xa0(%rsp), %rcx
movzwl (%rcx,%r9,2), %edx
andl 0x60(%rbx), %edi
movb 0xbc(%rbx), %cl
shll %cl, %edi
shrl $0x4, %edx
movl 0xb30(%rbx,%rdx,4), %ecx
movl %ecx, 0x108(%rsp)
leal (%rdi,%rdi,2), %edi
addq %rdi, %rdi
addq 0x68(%rbx), %rdi
movzbl (%rax,%rsi), %edx
movzbl -0x1(%r10,%rsi), %esi
movq 0x48(%rsp), %rcx
callq 0x2ef81
movl %eax, 0x104(%rsp)
movq 0x178(%rsp), %rdx
incl %edx
andl 0x5c(%rsp), %edx
movzwl 0x2320(%rbx,%rdx,2), %ecx
shrl $0x2, %ecx
andl $-0x4, %ecx
movl $0x1fc, %edi            # imm = 0x1FC
xorl %edi, %ecx
movl 0xb30(%rbx,%rcx), %ecx
movq %rdx, %rax
movzwl 0x24a0(%rbx,%rdx,2), %edx
shrl $0x2, %edx
andl $-0x4, %edx
xorl %edi, %edx
movl 0xb30(%rbx,%rdx), %edx
movzwl 0x222a(%rbx), %esi
shrl $0x2, %esi
andl $-0x4, %esi
xorl %edi, %esi
movl 0xb30(%rbx,%rsi), %esi
movzwl 0x2242(%rbx), %edi
shrl $0x4, %edi
movl 0xb30(%rbx,%rdi,4), %edi
movl 0x118(%rsp), %r8d
movl 0x78(%rsp), %r9d
movq 0x60(%rsp), %r11
cmpq %r9, %r8
jae 0x2d77b
movq 0x68(%rsp), %r10
movb -0x1(%r10,%r8), %r10b
cmpb -0x1(%r12,%r8), %r10b
jne 0x2d787
incq %r8
jmp 0x2d749
movq %r11, %rsi
movq 0x60(%rsp), %r11
movl (%rsp), %r12d
incq %r14
movl %r12d, %ebp
jmp 0x2d466
movq 0x68(%rsp), %r10
movq 0x78(%rsp), %r9
jmp 0x2d78f
movl %r8d, %r9d
movq 0x68(%rsp), %r10
movq 0x28(%rsp), %r8
addl %r9d, %r8d
movl (%rsp), %r12d
cmpl %r8d, %r12d
cmovbel %r8d, %r12d
notl %ebp
addl %r9d, %ebp
movl 0x10c(%rsp), %r9d
addl %r15d, %r9d
movl %r9d, %r15d
addl 0x108(%rsp), %r15d
addl 0x104(%rsp), %r15d
addl %ecx, %r15d
addl %edx, %r15d
addl %esi, %r15d
addl %edi, %r15d
imulq $0x440, %rax, %rax      # imm = 0x440
addq 0xb8(%rsp), %rax
addl -0x8(%rax,%rbp,4), %r15d
shlq $0x5, %r8
movq 0x8(%rsp), %rax
cmpl (%rax,%r8), %r15d
movq 0x70(%rsp), %r9
movq 0xd0(%rsp), %rsi
jae 0x2d81c
addq %rax, %r8
movl %r15d, (%r8)
movl %ebp, 0x8(%r8)
movq 0x1a0(%rsp), %rcx
movw %cx, 0x6(%r8)
movl %r14d, 0xc(%r8)
movq %rax, %r8
movq 0x98(%rsp), %rdi
jmp 0x2d770
movl 0x114(%rsp), %ecx
movl 0x110(%rsp), %edx
cmpl %edx, %ecx
jbe 0x2d85b
xorl %eax, %eax
movl %eax, %ecx
addl $0x2, %eax
cmpl 0xd30(%rbx,%rcx,4), %edx
ja 0x2d840
movl %edx, 0xd30(%rbx,%rcx,4)
movl %eax, 0x24(%rsp)
movl %edx, %ecx
cmpl %edi, %ecx
jae 0x2d884
movl 0x20(%rsp), %r12d
decq 0x130(%rsp)
incq %r9
movq 0x28(%rsp), %rdx
movq 0xd8(%rsp), %rax
movl %eax, %r14d
jmp 0x2cee4
movzwl 0x2220(%rbx,%rsi,2), %eax
shrl $0x4, %eax
movl 0xb30(%rbx,%rax,4), %eax
movl %eax, 0x10(%rsp)
pushq $-0x2
popq %rax
movl %eax, %r12d
addl $0x2, %r12d
cmpl 0xd30(%rbx,%r12,4), %edi
ja 0x2d8a0
addl 0x28(%rsp), %ecx
movl 0x10(%rsp), %eax
addl 0xc0(%rsp), %eax
movl %eax, 0x10(%rsp)
cmpl %ecx, %ebp
cmovbel %ecx, %ebp
movl 0xd34(%rbx,%r12,4), %r14d
cmpq $0x100000, %r14         # imm = 0x100000
pushq $0x13
popq %rax
movl %eax, %ecx
pushq $0x6
popq %rax
cmovbl %eax, %ecx
movq %r14, %rax
shrq %cl, %rax
movzbl 0x3080(%rbx,%rax), %eax
leal (%rax,%rcx,2), %ecx
addq $-0x2, %r10
movl 0x24(%rsp), %eax
movl %eax, 0x60(%rsp)
leal 0x3(%rdi), %r13d
movq 0x130(%rsp), %rax
movq 0xe8(%rsp), %rdx
cmpq %rdx, %rax
cmovbq %rax, %rdx
movq %rdx, 0xe8(%rsp)
movq %r10, 0x68(%rsp)
movl 0x14(%rsp), %r11d
leal -0x2(%rdi), %eax
cmpl $0x3, %eax
pushq $0x3
popq %rdx
cmovael %edx, %eax
movl %r14d, %esi
cmpl $0x7f, %r14d
movq %rdi, %r10
ja 0x2d953
shlq $0x9, %rax
addq 0x148(%rsp), %rax
movl (%rax,%rsi,4), %edx
jmp 0x2d974
movl %ecx, %edi
shlq $0x8, %rax
addq 0x150(%rsp), %rax
movl %r14d, %edx
andl $0xf, %edx
movl 0x15c0(%rbx,%rdx,4), %edx
addl (%rax,%rdi,4), %edx
movq %r10, %rdi
movl %edi, %eax
movq 0x158(%rsp), %rdi
movq 0xb0(%rsp), %r15
addq %r15, %rdi
movl -0x8(%rdi,%rax,4), %r15d
movq %r10, %rdi
addl 0x10(%rsp), %r15d
addl %edx, %r15d
movq 0x28(%rsp), %rdx
addl %r10d, %edx
shlq $0x5, %rdx
cmpl (%r8,%rdx), %r15d
jae 0x2d9c3
addq %r8, %rdx
movl %r15d, (%rdx)
movl %edi, 0x8(%rdx)
leal 0x4(%r14), %edi
movl %edi, 0xc(%rdx)
movq %r10, %rdi
andw $0x0, 0x6(%rdx)
movq %rbp, (%rsp)
movl %r13d, %r13d
movl %r12d, %edx
cmpl 0xd30(%rbx,%rdx,4), %edi
jne 0x2da6c
leal 0x1(%rdi), %ebp
movq 0xf8(%rsp), %rcx
addl %edi, %ecx
incl %ecx
cmpl %r11d, %ecx
movq %rdi, %rdx
movl %r11d, %edi
cmovbl %ecx, %edi
addl $0x3, %edx
cmpl %edi, %edx
ja 0x2dbe7
movq 0x68(%rsp), %rdx
subq %rsi, %rdx
movl %ebp, %esi
movq 0xa8(%rsp), %r11
movb (%r11,%rsi), %r8b
cmpb (%rdx,%rsi), %r8b
jne 0x2da75
leal 0x2(%r10), %esi
movb (%r11,%rsi), %r8b
cmpb (%rdx,%rsi), %r8b
jne 0x2da75
movl %edi, %esi
movl %ecx, %r11d
movq 0xe8(%rsp), %rcx
cmpq %r11, %rcx
cmovbq %rcx, %r11
cmpq %r13, %r11
cmovbeq %r13, %r11
movq %r13, %rcx
movq 0xa8(%rsp), %r9
movq 0xd0(%rsp), %r8
cmpq %rsi, %rcx
jae 0x2da7f
movb (%r9,%rcx), %dil
cmpb (%rdx,%rcx), %dil
jne 0x2da86
incq %rcx
jmp 0x2da58
incl %edi
movl %edi, %ebp
jmp 0x2dc24
movq 0x8(%rsp), %r8
jmp 0x2dbe2
movq %r11, 0x78(%rsp)
jmp 0x2da8b
movq %rcx, 0x78(%rsp)
leaq 0x27022(%rip), %rcx     # 0x54ab4
movzbl (%r8,%rcx), %ecx
movq 0xd8(%rsp), %rsi
movq %r10, 0x98(%rsp)
addl %r10d, %esi
movl %esi, %edi
andl 0x5c(%rsp), %edi
movq %rdi, 0xe0(%rsp)
shll $0x5, %ecx
addq 0xa0(%rsp), %rcx
movzwl (%rcx,%rdi,2), %r8d
shrl $0x4, %r8d
shll $0x8, %esi
movzbl -0x1(%r9,%rax), %edi
orl %esi, %edi
andl 0x60(%rbx), %edi
movb 0xbc(%rbx), %cl
shll %cl, %edi
leal (%rdi,%rdi,2), %edi
addq %rdi, %rdi
addq 0x68(%rbx), %rdi
movzbl (%r9,%rax), %esi
movzbl (%rdx,%rax), %edx
addl 0xb30(%rbx,%r8,4), %r15d
movq 0x48(%rsp), %rcx
callq 0x2ef81
movq 0xe0(%rsp), %r10
incl %r10d
andl 0x5c(%rsp), %r10d
movzwl 0x2300(%rbx,%r10,2), %ecx
shrl $0x2, %ecx
andl $-0x4, %ecx
movl $0x1fc, %edx            # imm = 0x1FC
xorl %edx, %ecx
movzwl 0x2480(%rbx,%r10,2), %esi
shrl $0x2, %esi
andl $-0x4, %esi
xorl %edx, %esi
movzwl 0x2228(%rbx), %edi
shrl $0x2, %edi
andl $-0x4, %edi
xorl %edx, %edi
movzwl 0x2240(%rbx), %r8d
shrl $0x4, %r8d
movq 0x28(%rsp), %rdx
movq 0x78(%rsp), %r11
addl %r11d, %edx
movq (%rsp), %r9
cmpl %edx, %r9d
cmovbel %edx, %r9d
movq %r9, (%rsp)
movq 0x98(%rsp), %r9
notl %r9d
addl %r11d, %r9d
addl %r15d, %eax
addl 0xb30(%rbx,%rcx), %eax
addl 0xb30(%rbx,%rsi), %eax
addl 0xb30(%rbx,%rdi), %eax
addl 0xb30(%rbx,%r8,4), %eax
imulq $0x440, %r10, %rcx      # imm = 0x440
addq 0xb8(%rsp), %rcx
addl -0x8(%rcx,%r9,4), %eax
shlq $0x5, %rdx
movq 0x8(%rsp), %r8
cmpl (%r8,%rdx), %eax
jae 0x2dbdd
movq %r9, %rsi
addq %r8, %rdx
movl %eax, (%rdx)
movl %esi, 0x8(%rdx)
movw %bp, 0x6(%rdx)
addl $0x4, %r14d
movl %r14d, 0xc(%rdx)
movq 0x70(%rsp), %r9
movl 0x14(%rsp), %r11d
addl $0x2, %r12d
cmpl 0x60(%rsp), %r12d
je 0x2d354
movl %r12d, %eax
movl 0xd34(%rbx,%rax,4), %r14d
cmpq $0x100000, %r14         # imm = 0x100000
pushq $0x13
popq %rax
movl %eax, %ecx
pushq $0x6
popq %rax
cmovbl %eax, %ecx
movq %r14, %rax
shrq %cl, %rax
movzbl 0x3080(%rbx,%rax), %eax
leal (%rax,%rcx,2), %ecx
incl %r13d
movl %ebp, %edi
movq (%rsp), %rbp
jmp 0x2d92a
movq (%rsp), %rbp
jmp 0x2d409
movq %r10, %r14
jmp 0x2dc45
movq %r10, %r14
movl %esi, %ecx
leaq 0x26e44(%rip), %rdx     # 0x54a90
movzbl (%r11,%rdx), %esi
movq 0x78(%rsp), %r13
addl $0x2, %r13d
andl 0x5c(%rsp), %r13d
movzwl 0x2220(%rbx,%rsi,2), %edx
movzwl 0x2238(%rbx,%rsi,2), %edi
shll $0x5, %esi
movq 0xa0(%rsp), %r8
addq %rsi, %r8
movzwl (%r8,%r13,2), %r8d
shrl $0x2, %r8d
andl $-0x4, %r8d
movl $0x1fc, %r10d           # imm = 0x1FC
xorl %r10d, %r8d
addq 0x90(%rsp), %rsi
movzwl (%rsi,%r13,2), %r9d
shrl $0x2, %r9d
andl $-0x4, %r9d
xorl %r10d, %r9d
shrl $0x2, %edx
andl $-0x4, %edx
xorl %r10d, %edx
shrl $0x4, %edi
movq 0x28(%rsp), %rsi
addl %ecx, %esi
cmpl %esi, %ebp
cmovbel %esi, %ebp
addl 0xb30(%rbx,%r8), %eax
addl 0xb30(%rbx,%r9), %eax
addl 0xb30(%rbx,%rdx), %eax
addl 0xb30(%rbx,%rdi,4), %eax
decl %ecx
imulq $0x440, %r13, %rdx      # imm = 0x440
addq 0xb8(%rsp), %rdx
addl -0x8(%rdx,%rcx,4), %eax
shlq $0x5, %rsi
movq 0x8(%rsp), %r8
cmpl (%r8,%rsi), %eax
jae 0x2dd17
addq %r8, %rsi
movl %eax, (%rsi)
movl %ecx, 0x8(%rsi)
andl $0x0, 0xc(%rsi)
movw $0x1, 0x6(%rsi)
movq 0x70(%rsp), %r9
movq %r14, %r10
jmp 0x2d406
xorl %eax, %eax
pushq $0x2
popq %rsi
cmpl $0x2, %ecx
jb 0x2dd3f
pushq $-0x2
popq %rax
addl $0x2, %eax
cmpl 0xd30(%rbx,%rax,4), %ecx
ja 0x2dd31
movl %ecx, %esi
movzwl 0x2220(%rbx,%r14,2), %ecx
shrl $0x4, %ecx
addl 0xb30(%rbx,%rcx,4), %edx
movl 0x24(%rsp), %edi
movl %eax, %eax
movl 0xd34(%rbx,%rax,4), %r9d
movl %esi, %r8d
imulq $0x440, %r15, %rcx      # imm = 0x440
addq 0x158(%rsp), %rcx
movl -0x8(%rcx,%r8,4), %r10d
addl %edx, %r10d
leal -0x2(%rsi), %ecx
cmpl $0x5, %esi
pushq $0x3
popq %r11
cmovael %r11d, %ecx
movl %ecx, %r11d
cmpq $0x7f, %r9
ja 0x2dda3
shlq $0x9, %r11
addq 0x148(%rsp), %r11
addl (%r11,%r9,4), %r10d
jmp 0x2ddea
pushq $0x6
popq %rcx
cmpl $0x100000, %r9d         # imm = 0x100000
jb 0x2ddb2
pushq $0x13
popq %rcx
movq %r9, %rbx
shrq %cl, %rbx
movq 0x50(%rsp), %r14
movzbl 0x3080(%r14,%rbx), %ebx
leal (%rbx,%rcx,2), %ecx
movl %r9d, %ebx
andl $0xf, %ebx
addl 0x15c0(%r14,%rbx,4), %r10d
movq %r14, %rbx
shlq $0x8, %r11
addq 0x150(%rsp), %r11
addl (%r11,%rcx,4), %r10d
shlq $0x5, %r8
movq 0x8(%rsp), %rcx
cmpl (%rcx,%r8), %r10d
jae 0x2de13
addq 0x8(%rsp), %r8
movl %r10d, (%r8)
movl %esi, 0x8(%r8)
leal 0x4(%r9), %ecx
movl %ecx, 0xc(%r8)
andw $0x0, 0x6(%r8)
movl 0xd30(%rbx,%rax,4), %r8d
leal 0x2(%rax), %ecx
cmpl %r8d, %esi
jne 0x2de2b
cmpl %edi, %ecx
je 0x2cec9
cmpl %r8d, %esi
jne 0x2de32
movl %ecx, %eax
incl %esi
jmp 0x2dd56
addl $0x4, %ebp
movl %ebp, 0xb8(%rbx)
pushq $0x2
popq %rax
movq %rax, (%rsp)
cmpl $0x2, %r13d
je 0x2c225
leal -0x2(%r13), %esi
jmp 0x2bf7f
movl %ebp, %r11d
jmp 0x2dedc
movl %edi, 0xb8(%rbx)
jmp 0x2bfa9
movl 0x1f088(%rbx), %ecx
movl $0x7c0, %ebx            # imm = 0x7C0
movl $0x7c1, %edx            # imm = 0x7C1
movq 0x160(%rsp), %rsi
cmpq %rax, %rdx
ja 0x2de9c
movl (%rsi), %edi
cmpl %edi, %ecx
cmovael %edi, %ecx
cmovael %edx, %ebx
incq %rdx
addq $0x20, %rsi
jmp 0x2de84
movl $0x7c0, %r11d           # imm = 0x7C0
cmpl $0x7c0, %ebx            # imm = 0x7C0
je 0x2dedc
leal -0x7c0(%rbx), %esi
movq 0x50(%rsp), %rax
addl %esi, 0x4c(%rax)
movq (%rax), %rdi
callq *0x28(%rax)
movq 0x8(%rsp), %r8
movl %ebx, %r11d
jmp 0x2dedc
movl 0x24(%rsp), %ecx
movl %ecx, 0x3c(%rbx)
movl %eax, 0x38(%rbx)
movq 0x8(%rsp), %r8
movq 0x28(%rsp), %r11
movl %ebp, %eax
shlq $0x5, %rax
movl $0x40000000, (%r8,%rax) # imm = 0x40000000
decl %ebp
jne 0x2dedc
leal 0x1(%r11), %ecx
movq 0x50(%rsp), %rbx
movl %ecx, 0x34(%rbx)
movl %r11d, %edx
shlq $0x5, %rdx
movl 0x8(%r8,%rdx), %r10d
movl 0xc(%r8,%rdx), %eax
movzwl 0x6(%r8,%rdx), %esi
subl %r10d, %r11d
testl %esi, %esi
je 0x2df4f
leal -0x1(%rcx), %edx
movq %rdx, %r8
shlq $0x5, %r8
movq 0x8(%rsp), %rdi
addq %r8, %rdi
movq 0x8(%rsp), %r9
movl %r10d, 0x8(%r9,%r8)
movq 0x8(%rsp), %r8
subl %esi, %r11d
cmpl $0x1, %esi
jne 0x2df53
movl %eax, 0xc(%rdi)
pushq $-0x1
popq %rax
pushq $0x1
popq %rcx
movl %ecx, %r10d
jmp 0x2df77
movl %ecx, %edx
jmp 0x2df77
andl $0x0, 0xc(%rdi)
decl %esi
addl $-0x2, %ecx
movq %rcx, %rdx
shlq $0x5, %rdx
movabsq $-0xffffffff, %rdi      # imm = 0xFFFFFFFF00000001
movq %rdi, 0x8(%r8,%rdx)
movl %ecx, %edx
movl %esi, %r10d
testl %r11d, %r11d
je 0x2df96
decl %edx
movq %rdx, %rcx
shlq $0x5, %rcx
movl %eax, 0xc(%r8,%rcx)
movl %r10d, 0x8(%r8,%rcx)
movl %edx, %ecx
jmp 0x2defa
movq %r10, (%rsp)
movl %eax, 0xb8(%rbx)
movl %edx, 0x30(%rbx)
jmp 0x2c225
movl %r12d, %eax
subl 0xf0(%rsp), %eax
addq %rax, 0xe0(%rbx)
movq %rbx, %rdi
movl %r12d, %esi
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2e956
movq %rbx, %rdi
movq 0xf0(%rsp), %rsi
jmp 0x2dfbf
movl %eax, %eax
addq %rax, 0xe0(%rbx)
movq %rbx, %rdi
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2e8dc