// File: /workspace/github_c_makefile_star2_O3/shifengbin[P]bishe/Output/../Persistence/sqlite3.c
// Function: multiSelect
static int multiSelect(
  Parse *pParse,        /* Parsing context */
  Select *p,            /* The right-most of SELECTs to be coded */
  SelectDest *pDest     /* What to do with query results */
){
  int rc = SQLITE_OK;   /* Success code from a subroutine */
  Select *pPrior;       /* Another SELECT immediately to our left */
  Vdbe *v;              /* Generate code to this VDBE */
  SelectDest dest;      /* Alternative data destination */
  Select *pDelete = 0;  /* Chain of simple selects to delete */
  sqlite3 *db;          /* Database connection */
#ifndef SQLITE_OMIT_EXPLAIN
  int iSub1 = 0;        /* EQP id of left-hand query */
  int iSub2 = 0;        /* EQP id of right-hand query */
#endif

  /* Make sure there is no ORDER BY or LIMIT clause on prior SELECTs.  Only
  ** the last (right-most) SELECT in the series may have an ORDER BY or LIMIT.
  */
  assert( p && p->pPrior );  /* Calling function guarantees this much */
  assert( (p->selFlags & SF_Recursive)==0 || p->op==TK_ALL || p->op==TK_UNION );
  db = pParse->db;
  pPrior = p->pPrior;
  dest = *pDest;
  if( pPrior->pOrderBy ){
    sqlite3ErrorMsg(pParse,"ORDER BY clause should come after %s not before",
      selectOpName(p->op));
    rc = 1;
    goto multi_select_end;
  }
  if( pPrior->pLimit ){
    sqlite3ErrorMsg(pParse,"LIMIT clause should come after %s not before",
      selectOpName(p->op));
    rc = 1;
    goto multi_select_end;
  }

  v = sqlite3GetVdbe(pParse);
  assert( v!=0 );  /* The VDBE already created by calling function */

  /* Create the destination temporary table if necessary
  */
  if( dest.eDest==SRT_EphemTab ){
    assert( p->pEList );
    sqlite3VdbeAddOp2(v, OP_OpenEphemeral, dest.iSDParm, p->pEList->nExpr);
    sqlite3VdbeChangeP5(v, BTREE_UNORDERED);
    dest.eDest = SRT_Table;
  }

  /* Special handling for a compound-select that originates as a VALUES clause.
  */
  if( p->selFlags & SF_MultiValue ){
    rc = multiSelectValues(pParse, p, &dest);
    goto multi_select_end;
  }

  /* Make sure all SELECTs in the statement have the same number of elements
  ** in their result sets.
  */
  assert( p->pEList && pPrior->pEList );
  assert( p->pEList->nExpr==pPrior->pEList->nExpr );

#ifndef SQLITE_OMIT_CTE
  if( p->selFlags & SF_Recursive ){
    generateWithRecursiveQuery(pParse, p, &dest);
  }else
#endif

  /* Compound SELECTs that have an ORDER BY clause are handled separately.
  */
  if( p->pOrderBy ){
    return multiSelectOrderBy(pParse, p, pDest);
  }else

  /* Generate code for the left and right SELECT statements.
  */
  switch( p->op ){
    case TK_ALL: {
      int addr = 0;
      int nLimit;
      assert( !pPrior->pLimit );
      pPrior->iLimit = p->iLimit;
      pPrior->iOffset = p->iOffset;
      pPrior->pLimit = p->pLimit;
      pPrior->pOffset = p->pOffset;
      explainSetInteger(iSub1, pParse->iNextSelectId);
      rc = sqlite3Select(pParse, pPrior, &dest);
      p->pLimit = 0;
      p->pOffset = 0;
      if( rc ){
        goto multi_select_end;
      }
      p->pPrior = 0;
      p->iLimit = pPrior->iLimit;
      p->iOffset = pPrior->iOffset;
      if( p->iLimit ){
        addr = sqlite3VdbeAddOp1(v, OP_IfNot, p->iLimit); VdbeCoverage(v);
        VdbeComment((v, "Jump ahead if LIMIT reached"));
        if( p->iOffset ){
          sqlite3VdbeAddOp3(v, OP_SetIfNotPos, p->iOffset, p->iOffset, 0);
          sqlite3VdbeAddOp3(v, OP_Add, p->iLimit, p->iOffset, p->iOffset+1);
          sqlite3VdbeAddOp3(v, OP_SetIfNotPos, p->iLimit, p->iOffset+1, -1);
        }
      }
      explainSetInteger(iSub2, pParse->iNextSelectId);
      rc = sqlite3Select(pParse, p, &dest);
      testcase( rc!=SQLITE_OK );
      pDelete = p->pPrior;
      p->pPrior = pPrior;
      p->nSelectRow += pPrior->nSelectRow;
      if( pPrior->pLimit
       && sqlite3ExprIsInteger(pPrior->pLimit, &nLimit)
       && nLimit>0 && p->nSelectRow > (u64)nLimit 
      ){
        p->nSelectRow = nLimit;
      }
      if( addr ){
        sqlite3VdbeJumpHere(v, addr);
      }
      break;
    }
    case TK_EXCEPT:
    case TK_UNION: {
      int unionTab;    /* Cursor number of the temporary table holding result */
      u8 op = 0;       /* One of the SRT_ operations to apply to self */
      int priorOp;     /* The SRT_ operation to apply to prior selects */
      Expr *pLimit, *pOffset; /* Saved values of p->nLimit and p->nOffset */
      int addr;
      SelectDest uniondest;

      testcase( p->op==TK_EXCEPT );
      testcase( p->op==TK_UNION );
      priorOp = SRT_Union;
      if( dest.eDest==priorOp ){
        /* We can reuse a temporary table generated by a SELECT to our
        ** right.
        */
        assert( p->pLimit==0 );      /* Not allowed on leftward elements */
        assert( p->pOffset==0 );     /* Not allowed on leftward elements */
        unionTab = dest.iSDParm;
      }else{
        /* We will need to create our own temporary table to hold the
        ** intermediate results.
        */
        unionTab = pParse->nTab++;
        assert( p->pOrderBy==0 );
        addr = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, unionTab, 0);
        assert( p->addrOpenEphm[0] == -1 );
        p->addrOpenEphm[0] = addr;
        findRightmost(p)->selFlags |= SF_UsesEphemeral;
        assert( p->pEList );
      }

      /* Code the SELECT statements to our left
      */
      assert( !pPrior->pOrderBy );
      sqlite3SelectDestInit(&uniondest, priorOp, unionTab);
      explainSetInteger(iSub1, pParse->iNextSelectId);
      rc = sqlite3Select(pParse, pPrior, &uniondest);
      if( rc ){
        goto multi_select_end;
      }

      /* Code the current SELECT statement
      */
      if( p->op==TK_EXCEPT ){
        op = SRT_Except;
      }else{
        assert( p->op==TK_UNION );
        op = SRT_Union;
      }
      p->pPrior = 0;
      pLimit = p->pLimit;
      p->pLimit = 0;
      pOffset = p->pOffset;
      p->pOffset = 0;
      uniondest.eDest = op;
      explainSetInteger(iSub2, pParse->iNextSelectId);
      rc = sqlite3Select(pParse, p, &uniondest);
      testcase( rc!=SQLITE_OK );
      /* Query flattening in sqlite3Select() might refill p->pOrderBy.
      ** Be sure to delete p->pOrderBy, therefore, to avoid a memory leak. */
      sqlite3ExprListDelete(db, p->pOrderBy);
      pDelete = p->pPrior;
      p->pPrior = pPrior;
      p->pOrderBy = 0;
      if( p->op==TK_UNION ) p->nSelectRow += pPrior->nSelectRow;
      sqlite3ExprDelete(db, p->pLimit);
      p->pLimit = pLimit;
      p->pOffset = pOffset;
      p->iLimit = 0;
      p->iOffset = 0;

      /* Convert the data in the temporary table into whatever form
      ** it is that we currently need.
      */
      assert( unionTab==dest.iSDParm || dest.eDest!=priorOp );
      if( dest.eDest!=priorOp ){
        int iCont, iBreak, iStart;
        assert( p->pEList );
        if( dest.eDest==SRT_Output ){
          Select *pFirst = p;
          while( pFirst->pPrior ) pFirst = pFirst->pPrior;
          generateColumnNames(pParse, pFirst->pSrc, pFirst->pEList);
        }
        iBreak = sqlite3VdbeMakeLabel(v);
        iCont = sqlite3VdbeMakeLabel(v);
        computeLimitRegisters(pParse, p, iBreak);
        sqlite3VdbeAddOp2(v, OP_Rewind, unionTab, iBreak); VdbeCoverage(v);
        iStart = sqlite3VdbeCurrentAddr(v);
        selectInnerLoop(pParse, p, p->pEList, unionTab,
                        0, 0, &dest, iCont, iBreak);
        sqlite3VdbeResolveLabel(v, iCont);
        sqlite3VdbeAddOp2(v, OP_Next, unionTab, iStart); VdbeCoverage(v);
        sqlite3VdbeResolveLabel(v, iBreak);
        sqlite3VdbeAddOp2(v, OP_Close, unionTab, 0);
      }
      break;
    }
    default: assert( p->op==TK_INTERSECT ); {
      int tab1, tab2;
      int iCont, iBreak, iStart;
      Expr *pLimit, *pOffset;
      int addr;
      SelectDest intersectdest;
      int r1;

      /* INTERSECT is different from the others since it requires
      ** two temporary tables.  Hence it has its own case.  Begin
      ** by allocating the tables we will need.
      */
      tab1 = pParse->nTab++;
      tab2 = pParse->nTab++;
      assert( p->pOrderBy==0 );

      addr = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, tab1, 0);
      assert( p->addrOpenEphm[0] == -1 );
      p->addrOpenEphm[0] = addr;
      findRightmost(p)->selFlags |= SF_UsesEphemeral;
      assert( p->pEList );

      /* Code the SELECTs to our left into temporary table "tab1".
      */
      sqlite3SelectDestInit(&intersectdest, SRT_Union, tab1);
      explainSetInteger(iSub1, pParse->iNextSelectId);
      rc = sqlite3Select(pParse, pPrior, &intersectdest);
      if( rc ){
        goto multi_select_end;
      }

      /* Code the current SELECT into temporary table "tab2"
      */
      addr = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, tab2, 0);
      assert( p->addrOpenEphm[1] == -1 );
      p->addrOpenEphm[1] = addr;
      p->pPrior = 0;
      pLimit = p->pLimit;
      p->pLimit = 0;
      pOffset = p->pOffset;
      p->pOffset = 0;
      intersectdest.iSDParm = tab2;
      explainSetInteger(iSub2, pParse->iNextSelectId);
      rc = sqlite3Select(pParse, p, &intersectdest);
      testcase( rc!=SQLITE_OK );
      pDelete = p->pPrior;
      p->pPrior = pPrior;
      if( p->nSelectRow>pPrior->nSelectRow ) p->nSelectRow = pPrior->nSelectRow;
      sqlite3ExprDelete(db, p->pLimit);
      p->pLimit = pLimit;
      p->pOffset = pOffset;

      /* Generate code to take the intersection of the two temporary
      ** tables.
      */
      assert( p->pEList );
      if( dest.eDest==SRT_Output ){
        Select *pFirst = p;
        while( pFirst->pPrior ) pFirst = pFirst->pPrior;
        generateColumnNames(pParse, pFirst->pSrc, pFirst->pEList);
      }
      iBreak = sqlite3VdbeMakeLabel(v);
      iCont = sqlite3VdbeMakeLabel(v);
      computeLimitRegisters(pParse, p, iBreak);
      sqlite3VdbeAddOp2(v, OP_Rewind, tab1, iBreak); VdbeCoverage(v);
      r1 = sqlite3GetTempReg(pParse);
      iStart = sqlite3VdbeAddOp2(v, OP_RowKey, tab1, r1);
      sqlite3VdbeAddOp4Int(v, OP_NotFound, tab2, iCont, r1, 0); VdbeCoverage(v);
      sqlite3ReleaseTempReg(pParse, r1);
      selectInnerLoop(pParse, p, p->pEList, tab1,
                      0, 0, &dest, iCont, iBreak);
      sqlite3VdbeResolveLabel(v, iCont);
      sqlite3VdbeAddOp2(v, OP_Next, tab1, iStart); VdbeCoverage(v);
      sqlite3VdbeResolveLabel(v, iBreak);
      sqlite3VdbeAddOp2(v, OP_Close, tab2, 0);
      sqlite3VdbeAddOp2(v, OP_Close, tab1, 0);
      break;
    }
  }

  explainComposite(pParse, p->op, iSub1, iSub2, p->op!=TK_ALL);

  /* Compute collating sequences used by 
  ** temporary tables needed to implement the compound select.
  ** Attach the KeyInfo structure to all temporary tables.
  **
  ** This section is run by the right-most SELECT statement only.
  ** SELECT statements to the left always skip this part.  The right-most
  ** SELECT might also skip this part if it has no ORDER BY clause and
  ** no temp tables are required.
  */
  if( p->selFlags & SF_UsesEphemeral ){
    int i;                        /* Loop counter */
    KeyInfo *pKeyInfo;            /* Collating sequence for the result set */
    Select *pLoop;                /* For looping through SELECT statements */
    CollSeq **apColl;             /* For looping through pKeyInfo->aColl[] */
    int nCol;                     /* Number of columns in result set */

    assert( p->pNext==0 );
    nCol = p->pEList->nExpr;
    pKeyInfo = sqlite3KeyInfoAlloc(db, nCol, 1);
    if( !pKeyInfo ){
      rc = SQLITE_NOMEM;
      goto multi_select_end;
    }
    for(i=0, apColl=pKeyInfo->aColl; i<nCol; i++, apColl++){
      *apColl = multiSelectCollSeq(pParse, p, i);
      if( 0==*apColl ){
        *apColl = db->pDfltColl;
      }
    }

    for(pLoop=p; pLoop; pLoop=pLoop->pPrior){
      for(i=0; i<2; i++){
        int addr = pLoop->addrOpenEphm[i];
        if( addr<0 ){
          /* If [0] is unused then [1] is also unused.  So we can
          ** always safely abort as soon as the first unused slot is found */
          assert( pLoop->addrOpenEphm[1]<0 );
          break;
        }
        sqlite3VdbeChangeP2(v, addr, nCol);
        sqlite3VdbeChangeP4(v, addr, (char*)sqlite3KeyInfoRef(pKeyInfo),
                            P4_KEYINFO);
        pLoop->addrOpenEphm[i] = -1;
      }
    }
    sqlite3KeyInfoUnref(pKeyInfo);
  }

multi_select_end:
  pDest->iSdst = dest.iSdst;
  pDest->nSdst = dest.nSdst;
  sqlite3SelectDelete(db, pDelete);
  return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %r12
movq (%rdi), %rbx
movq 0x50(%rsi), %r14
movq 0x10(%rdx), %rax
movq %rax, -0xe0(%rbp)
movups (%rdx), %xmm0
movaps %xmm0, -0xf0(%rbp)
cmpq $0x0, 0x48(%r14)
je 0x5b5a5
movb 0x8(%r15), %al
addb $-0x74, %al
cmpb $0x2, %al
ja 0x5b5c6
movzbl %al, %eax
leaq 0x35849(%rip), %rcx     # 0x90de8
movq (%rcx,%rax,8), %rdx
jmp 0x5b5cd
cmpq $0x0, 0x60(%r14)
je 0x5b5d6
movb 0x8(%r15), %al
addb $-0x74, %al
cmpb $0x2, %al
ja 0x5b623
movzbl %al, %eax
leaq 0x35828(%rip), %rcx     # 0x90de8
movq (%rcx,%rax,8), %rdx
jmp 0x5b62a
leaq 0x21d05(%rip), %rdx     # 0x7d2d2
leaq 0x22348(%rip), %rsi     # 0x7d91c
jmp 0x5b631
movq %r12, %rdi
callq 0x4f63b
movb -0xf0(%rbp), %dl
cmpb $0xc, %dl
movq %rax, -0x38(%rbp)
jne 0x5b69e
movl -0xec(%rbp), %edx
movq (%r15), %rax
movl (%rax), %ecx
movq -0x38(%rbp), %rdi
movl $0x3a, %esi
xorl %r8d, %r8d
callq 0x3ea9f
movq -0x38(%rbp), %rax
movq (%rax), %rcx
cmpb $0x0, 0x51(%rcx)
je 0x5b67d
leaq 0x37ed7(%rip), %rcx     # 0x934f8
jmp 0x5b691
leaq 0x21ca8(%rip), %rdx     # 0x7d2d2
leaq 0x2231b(%rip), %rsi     # 0x7d94c
xorl %r14d, %r14d
movq %r12, %rdi
xorl %eax, %eax
callq 0x14890
movl $0x1, %r15d
movl -0xe8(%rbp), %eax
movl %eax, 0x8(%r13)
movl -0xe4(%rbp), %eax
movl %eax, 0xc(%r13)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0x3c9f2
movl %r15d, %eax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movslq 0x3c(%rax), %rdx
movq 0x8(%rax), %rcx
leaq (%rdx,%rdx,2), %rdx
leaq (%rcx,%rdx,8), %rcx
addq $-0x18, %rcx
movb $0x8, 0x3(%rcx)
movb $0xe, -0xf0(%rbp)
movb $0xe, %dl
movzwl 0xa(%r15), %ecx
btl $0x9, %ecx
movq %r12, -0x58(%rbp)
jb 0x5b717
btl $0xd, %ecx
jb 0x5b782
cmpq $0x0, 0x48(%r15)
je 0x5b83f
movq (%r12), %r14
movq 0x10(%r12), %rbx
movq 0x30(%rbx), %rdi
callq 0x51729
movq %rax, -0x78(%rbp)
movq %rbx, -0x30(%rbp)
movq 0x30(%rbx), %rdi
callq 0x51729
movl %eax, -0x48(%rbp)
movb 0x8(%r15), %cl
movq 0x50(%r15), %rax
movq %rax, -0x38(%rbp)
movq 0x48(%r15), %rbx
movl (%rbx), %r8d
movq %rcx, -0x40(%rbp)
cmpb $0x74, %cl
movq %r13, -0x90(%rbp)
jne 0x5b942
movq %r14, %r12
jmp 0x5b950
movq %rbx, -0x30(%rbp)
xorl %r12d, %r12d
movq %r15, %rbx
movq 0x50(%r15), %r15
incq %r12
testq %r15, %r15
jne 0x5b71e
leaq -0xf0(%rbp), %r14
movq 0x50(%rbx), %r15
movq $0x0, 0x50(%rbx)
movq -0x58(%rbp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x44acb
movq %r15, 0x50(%rbx)
testl %eax, %eax
jne 0x5b773
movq %r12, 0x20(%rbx)
movq 0x58(%rbx), %rbx
testq %rbx, %rbx
jne 0x5b734
xorl %r14d, %r14d
xorl %r15d, %r15d
movq -0x30(%rbp), %rbx
jmp 0x5b644
movl %eax, %r15d
movq -0x30(%rbp), %rbx
xorl %r14d, %r14d
jmp 0x5b644
movq (%r15), %rax
movq 0x28(%r15), %r14
movl (%rax), %eax
movl %eax, -0x50(%rbp)
movq 0x10(%r12), %rax
movq %rax, -0x40(%rbp)
movq 0x50(%r15), %rax
movq %rax, -0x68(%rbp)
movq %r12, %rdi
movl $0x21, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x54de3
testl %eax, %eax
jne 0x5c7df
movq -0x40(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x51729
movq %r12, %rdi
movq %r15, %rsi
movq %rax, -0xa0(%rbp)
movl %eax, %edx
callq 0x5ceb1
movq 0x60(%r15), %rax
movq %rax, -0x78(%rbp)
movq 0x68(%r15), %rax
movq %rax, -0x60(%rbp)
movl 0xc(%r15), %edx
movl 0x10(%r15), %eax
movl %eax, -0x80(%rbp)
movq $0x0, 0xc(%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x60(%r15)
movslq (%r14), %rax
testq %rax, %rax
movl %edx, -0xd0(%rbp)
jle 0x5c157
imulq $0x70, %rax, %rcx
xorl %eax, %eax
movl -0x50(%rbp), %r8d
testb $0x20, 0x45(%r14,%rax)
jne 0x5c15f
addq $0x70, %rax
cmpq %rax, %rcx
jne 0x5b823
xorl %edx, %edx
jmp 0x5c164
movzbl 0x8(%r15), %ecx
cmpl $0x73, %ecx
je 0x5bee7
cmpl $0x75, %ecx
je 0x5bee7
cmpl $0x74, %ecx
jne 0x5c5e1
movl 0xc(%r15), %eax
movl %eax, 0xc(%r14)
movl 0x10(%r15), %eax
movl %eax, 0x10(%r14)
movq 0x60(%r15), %rax
movq %rax, 0x60(%r14)
movq 0x68(%r15), %rax
movq %rax, 0x68(%r14)
movl 0x200(%r12), %eax
movl %eax, -0x50(%rbp)
leaq -0xf0(%rbp), %rdx
movq %r12, %rdi
movq %r14, %rsi
callq 0x44acb
xorps %xmm0, %xmm0
movups %xmm0, 0x60(%r15)
testl %eax, %eax
jne 0x5c654
movq %rbx, -0x30(%rbp)
movq $0x0, 0x50(%r15)
movl 0xc(%r14), %edx
movl %edx, 0xc(%r15)
movl 0x10(%r14), %eax
movl %eax, 0x10(%r15)
testl %edx, %edx
je 0x5ca2e
movq -0x38(%rbp), %rbx
movq %rbx, %rdi
movl $0x2f, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movl %eax, -0x58(%rbp)
movl 0x10(%r15), %ecx
testl %ecx, %ecx
je 0x5ca35
movq %rbx, %rdi
movl $0x8c, %esi
movl %ecx, %edx
xorl %r8d, %r8d
callq 0x3ea9f
movl 0xc(%r15), %edx
movl 0x10(%r15), %ecx
leal 0x1(%rcx), %r8d
movq %rbx, %rdi
movl $0x59, %esi
callq 0x3ea9f
movl 0xc(%r15), %edx
movl 0x10(%r15), %ecx
incl %ecx
movq %rbx, %rdi
movl $0x8c, %esi
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
callq 0x3ea9f
jmp 0x5ca35
cmpb $0x0, 0x51(%r14)
movq %r14, %r12
je 0x5c322
movslq %r8d, %rsi
shlq $0x2, %rsi
movq %r12, %rdi
movl %r8d, %r14d
callq 0x145aa
movq $0x0, -0x80(%rbp)
testq %rax, %rax
movl %r14d, -0x94(%rbp)
movq %rax, -0x110(%rbp)
je 0x5b9bb
testl %r14d, %r14d
jle 0x5b9a3
movq 0x8(%rbx), %r8
movl %r14d, %ecx
shlq $0x2, %rcx
xorl %edx, %edx
movzwl 0x1c(%r8,%rdx,8), %esi
decl %esi
movl %esi, (%rax,%rdx)
addq $0x4, %rdx
cmpq %rdx, %rcx
jne 0x5b98f
movq -0x58(%rbp), %r13
movq %r13, %rdi
movq %r15, %rsi
callq 0x606bc
movq %rax, -0xf8(%rbp)
jmp 0x5b9ca
movq $0x0, -0xf8(%rbp)
movq -0x58(%rbp), %r13
movq %rbx, 0x48(%r15)
movq (%r13), %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x53d22
movq -0x38(%rbp), %rcx
movq %rax, 0x48(%rcx)
cmpb $0x74, -0x40(%rbp)
movq %r12, -0xa0(%rbp)
je 0x5ba6a
movq (%r15), %rax
movl (%rax), %r14d
movl 0x54(%r13), %eax
leal (%rax,%r14), %ecx
incl %ecx
incl %eax
movl %ecx, 0x54(%r13)
movq -0x30(%rbp), %rdi
movl $0x17, %esi
xorl %edx, %edx
movq %rax, -0x80(%rbp)
movl %eax, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq %r12, %rdi
movl %r14d, %esi
movl $0x1, %edx
callq 0x4fc2f
testq %rax, %rax
je 0x5ba6a
movq %rax, %rbx
testl %r14d, %r14d
jle 0x5ba6c
xorl %r13d, %r13d
movq -0x58(%rbp), %r12
movq %r12, %rdi
movq %r15, %rsi
movl %r13d, %edx
callq 0x6065a
movq %rax, 0x20(%rbx,%r13,8)
movq 0x18(%rbx), %rax
movb $0x0, (%rax,%r13)
incq %r13
cmpq %r13, %r14
jne 0x5ba44
jmp 0x5ba6c
xorl %ebx, %ebx
xorl %r14d, %r14d
movq %r14, 0x50(%r15)
movq -0x38(%rbp), %r13
movq %r14, 0x58(%r13)
movq 0x48(%r15), %rdx
leaq 0x214f2(%rip), %rcx     # 0x7cf78
movq -0x58(%rbp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x598ed
cmpq %r14, 0x50(%r13)
jne 0x5bab2
movq -0x38(%rbp), %rsi
movq 0x48(%rsi), %rdx
leaq 0x214ce(%rip), %rcx     # 0x7cf78
movq %r12, %rdi
callq 0x598ed
cmpb $0x74, -0x40(%rbp)
setne %r13b
movq %r12, %rdi
movq %r15, %rsi
movq -0x78(%rbp), %rdx
callq 0x5ceb1
movl 0xc(%r15), %eax
testl %eax, %eax
sete %cl
orb %r13b, %cl
movl $0x0, -0x60(%rbp)
jne 0x5bb29
movl 0x54(%r12), %r14d
leal 0x1(%r14), %ecx
movl %ecx, -0x60(%rbp)
addl $0x2, %r14d
movl %r14d, 0x54(%r12)
movl 0x10(%r15), %esi
leal 0x1(%rsi), %edx
testl %esi, %esi
cmovel %eax, %edx
movq -0x30(%rbp), %r13
movq %r13, %rdi
movl $0x1f, %esi
xorl %r8d, %r8d
callq 0x3ea9f
movq %r13, %rdi
movl $0x1f, %esi
movl -0x60(%rbp), %edx
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq %r14, -0x70(%rbp)
movq 0x60(%r15), %rsi
movq -0xa0(%rbp), %r14
movq %r14, %rdi
callq 0x3c8fe
xorl %r13d, %r13d
movq %r13, 0x60(%r15)
movq 0x68(%r15), %rsi
movq %r14, %rdi
callq 0x3c8fe
movq %r13, 0x68(%r15)
xorl %esi, %esi
movl 0x54(%r12), %eax
leal 0x1(%rax), %r13d
leal 0x2(%rax), %ecx
leal 0x3(%rax), %edx
movl %edx, -0x50(%rbp)
addl $0x4, %eax
movq %rax, -0x88(%rbp)
movl %eax, 0x54(%r12)
movw $0xd, %ax
leaq -0xc8(%rbp), %rdx
movw %ax, (%rdx)
movl %r13d, 0x4(%rdx)
movq %rsi, 0x8(%rdx)
movw %ax, -0x128(%rbp)
movl %ecx, -0x68(%rbp)
movl %ecx, -0x124(%rbp)
movq $0x0, -0xd0(%rbp)
movq %rsi, -0x120(%rbp)
movq -0x30(%rbp), %r14
movl 0x3c(%r14), %r8d
incl %r8d
movq %r14, %rdi
movl $0x11, %esi
movl %r13d, %edx
xorl %ecx, %ecx
callq 0x3ea9f
movl %eax, -0xac(%rbp)
movq -0x38(%rbp), %rsi
movl -0x60(%rbp), %eax
movl %eax, 0xc(%rsi)
movl 0x200(%r12), %eax
movl %eax, -0x104(%rbp)
movq %r12, %rdi
leaq -0xc8(%rbp), %rdx
callq 0x44acb
movq %r14, %rdi
movl $0x12, %esi
movl %r13d, -0x60(%rbp)
movl %r13d, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movl 0x3c(%r14), %r8d
leal -0x1(%r8), %eax
movq 0x30(%r14), %rcx
movl %eax, 0x68(%rcx)
movq (%r14), %rcx
cmpb $0x0, 0x51(%rcx)
je 0x5bc36
leaq 0x378c4(%rip), %rax     # 0x934f8
jmp 0x5bc4f
movl -0xac(%rbp), %ecx
testl %ecx, %ecx
cmovnsl %ecx, %eax
cltq
leaq (%rax,%rax,2), %rax
shlq $0x3, %rax
addq 0x8(%r14), %rax
movl %r8d, 0x8(%rax)
incl %r8d
movq %r14, %rdi
movl $0x11, %esi
movl -0x68(%rbp), %r12d
movl %r12d, %edx
xorl %ecx, %ecx
callq 0x3ea9f
movl %eax, -0x100(%rbp)
movq 0xc(%r15), %r13
movq -0x70(%rbp), %rax
movl %eax, 0xc(%r15)
movl $0x0, 0x10(%r15)
movq -0x58(%rbp), %r14
movl 0x200(%r14), %eax
movl %eax, -0xac(%rbp)
leaq -0x128(%rbp), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x44acb
movq %r13, 0xc(%r15)
movq -0x30(%rbp), %rdi
movl $0x12, %esi
movl %r12d, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
leaq -0xc8(%rbp), %rdx
movq %r14, %rdi
movq %r15, %rsi
movq -0x90(%rbp), %rcx
movl -0x50(%rbp), %r8d
movq -0x80(%rbp), %r14
movl %r14d, %r9d
movq -0x78(%rbp), %r13
pushq %r13
pushq %rbx
callq 0x607b6
addq $0x10, %rsp
movl %eax, -0x70(%rbp)
movq -0x40(%rbp), %rcx
leal -0x73(%rcx), %eax
movl %eax, -0xfc(%rbp)
cmpb $0x1, %al
ja 0x5bd3c
leaq -0x128(%rbp), %rdx
movq -0x58(%rbp), %rdi
movq %r15, %rsi
movq -0x90(%rbp), %rcx
movq -0x88(%rbp), %r8
movl %r14d, %r9d
pushq %r13
pushq %rbx
callq 0x607b6
movq -0x40(%rbp), %rcx
addq $0x10, %rsp
movq %rax, -0xd0(%rbp)
testq %rbx, %rbx
je 0x5bd51
decl (%rbx)
jne 0x5bd51
movq %rbx, %rdi
callq 0xa630
movq -0x40(%rbp), %rcx
leal -0x75(%rcx), %eax
cmpb $0x2, %al
jae 0x5bd9b
movl %r13d, -0x80(%rbp)
movl %r13d, %r14d
cmpb $0x76, %cl
movl -0x50(%rbp), %edx
jne 0x5bdfe
movq -0x38(%rbp), %rax
movq 0x20(%rax), %rax
cmpq %rax, 0x20(%r15)
jbe 0x5bd7d
movq %rax, 0x20(%r15)
movl %r13d, -0x80(%rbp)
movl %r13d, -0xa8(%rbp)
movl %r13d, -0xa4(%rbp)
movq -0x30(%rbp), %r13
movl -0x60(%rbp), %ebx
jmp 0x5be5c
movq -0x30(%rbp), %rbx
movq %rbx, %rdi
movl $0xf, %esi
movq -0x88(%rbp), %rdx
movq -0xd0(%rbp), %rcx
xorl %r8d, %r8d
callq 0x3ea9f
movl %eax, %r12d
movq %rbx, %rdi
movl $0x14, %esi
movl -0x68(%rbp), %edx
movl %r13d, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movl %eax, %r14d
movq %rbx, %rdi
movl $0xe, %esi
xorl %edx, %edx
movl %r12d, -0x80(%rbp)
movl %r12d, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq -0x38(%rbp), %rax
movq 0x20(%rax), %rax
addq %rax, 0x20(%r15)
movl %r14d, -0xa8(%rbp)
movq %r13, %r12
movq -0x30(%rbp), %r13
movq %r13, %rdi
movl $0xf, %esi
movl -0x50(%rbp), %edx
movl -0x70(%rbp), %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movl %eax, %r14d
movq %r13, %rdi
movl $0x14, %esi
movl -0x60(%rbp), %ebx
movl %ebx, %edx
movl %r12d, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq %r13, %rdi
movl $0xe, %esi
xorl %edx, %edx
movl %r14d, -0xa4(%rbp)
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movl -0x50(%rbp), %edx
movq %r13, %rdi
movl $0xf, %esi
movl -0x70(%rbp), %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movl %eax, %r14d
movq %r13, %rdi
movl $0x14, %esi
movl %ebx, %edx
movl -0x80(%rbp), %ebx
movl %ebx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq %r13, %rdi
movl $0xe, %esi
xorl %edx, %edx
movl -0x48(%rbp), %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq -0x40(%rbp), %rax
cmpb $0x74, %al
jne 0x5bed0
movl 0x3c(%r13), %eax
movl %eax, -0x40(%rbp)
movl %r14d, %r12d
movq %r13, %rdi
movl $0xf, %esi
movq -0x88(%rbp), %rdx
movq -0xd0(%rbp), %rcx
xorl %r8d, %r8d
callq 0x3ea9f
jmp 0x5bf40
cmpb $0x76, %al
jne 0x5befb
movl %r14d, %r12d
incl %r14d
movq -0x30(%rbp), %r13
movl 0x3c(%r13), %eax
movl %eax, -0x40(%rbp)
jmp 0x5bf40
cmpb $0x1, %dl
jne 0x5c3ea
movl -0xec(%rbp), %eax
jmp 0x5c428
movq -0x30(%rbp), %r13
movq %r13, %rdi
movl $0x14, %esi
movl -0x60(%rbp), %edx
movl %ebx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movl %eax, %r12d
movq %r13, %rdi
movl $0xe, %esi
xorl %edx, %edx
movl -0x48(%rbp), %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movl 0x3c(%r13), %eax
movl %eax, -0x40(%rbp)
cmpb $0x1, -0xfc(%rbp)
jbe 0x5beb0
movq %r13, %rdi
movl $0x14, %esi
movl -0x68(%rbp), %edx
movl -0xa4(%rbp), %ebx
movl %ebx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq %r13, %rdi
movl $0xe, %esi
xorl %edx, %edx
movl -0x48(%rbp), %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movl 0x3c(%r13), %eax
leal -0x1(%rax), %ecx
movq 0x30(%r13), %rdx
movl %ecx, 0x68(%rdx)
movq (%r13), %rdx
cmpb $0x0, 0x51(%rdx)
je 0x5bf91
leaq 0x37569(%rip), %rcx     # 0x934f8
jmp 0x5bfab
movl -0x100(%rbp), %edx
testl %edx, %edx
cmovnsl %edx, %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x3, %rcx
addq 0x8(%r13), %rcx
movl -0x60(%rbp), %edx
movl %eax, 0x8(%rcx)
movq %r13, %rdi
movl $0x14, %esi
movl -0xa8(%rbp), %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq %r13, %rdi
movl $0x14, %esi
movl -0x68(%rbp), %edx
movl %ebx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq 0x30(%r13), %rax
movq 0x80(%rax), %rdx
testq %rdx, %rdx
je 0x5bffd
movl -0x48(%rbp), %esi
notl %esi
movl 0x3c(%r13), %ecx
movslq %esi, %rsi
movl %ecx, (%rdx,%rsi,4)
jmp 0x5c001
movl 0x3c(%r13), %ecx
movq -0xf8(%rbp), %rbx
decl %ecx
movl %ecx, 0x68(%rax)
movq %r13, %rdi
movl $0x2a, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq %r13, %rdi
movl %eax, %esi
movq -0x110(%rbp), %rdx
movl $0xfffffff1, %ecx       # imm = 0xFFFFFFF1
callq 0x14b4f
movl -0xc0(%rbp), %edx
movl -0x120(%rbp), %ecx
movq %r13, %rdi
movl $0x2b, %esi
movl -0x94(%rbp), %r8d
callq 0x3ea9f
movq %r13, %rdi
movl %eax, %esi
movq %rbx, %rdx
movl $0xfffffffa, %ecx       # imm = 0xFFFFFFFA
callq 0x14b4f
movq (%r13), %rax
cmpb $0x0, 0x51(%rax)
je 0x5c07c
leaq 0x3747e(%rip), %rax     # 0x934f8
jmp 0x5c090
movslq 0x3c(%r13), %rax
movq 0x8(%r13), %rcx
leaq (%rax,%rax,2), %rax
leaq (%rcx,%rax,8), %rax
addq $-0x18, %rax
movl %r12d, %ecx
movl -0x40(%rbp), %r8d
movl %r14d, %edx
movb $0x1, 0x3(%rax)
movq %r13, %rdi
movl $0x2c, %esi
callq 0x3ea9f
movq 0x30(%r13), %rax
movq 0x80(%rax), %rdx
testq %rdx, %rdx
je 0x5c0cd
movq -0x78(%rbp), %rsi
notl %esi
movl 0x3c(%r13), %ecx
movslq %esi, %rsi
movl %ecx, (%rdx,%rsi,4)
jmp 0x5c0d1
movl 0x3c(%r13), %ecx
movq -0x90(%rbp), %rdx
decl %ecx
movl %ecx, 0x68(%rax)
cmpb $0x9, (%rdx)
movq -0x58(%rbp), %rbx
jne 0x5c105
movq -0x38(%rbp), %rcx
movq %rcx, %rax
movq 0x50(%rcx), %rcx
testq %rcx, %rcx
jne 0x5c0ea
movq (%rax), %rdx
movq 0x28(%rax), %rsi
movq %rbx, %rdi
callq 0x5ffe6
movq 0x50(%r15), %rsi
testq %rsi, %rsi
je 0x5c11f
movq -0xa0(%rbp), %rdi
movl $0x1, %edx
callq 0x3c9f2
movq -0x38(%rbp), %rax
movq %rax, 0x50(%r15)
movq %r15, 0x58(%rax)
movzbl 0x8(%r15), %esi
movq %rbx, %rdi
movl -0x104(%rbp), %edx
movl -0xac(%rbp), %ecx
xorl %r8d, %r8d
callq 0x605c3
xorl %r15d, %r15d
cmpl $0x0, 0x4c(%rbx)
setne %r15b
jmp 0x5b668
xorl %edx, %edx
movl -0x50(%rbp), %r8d
jmp 0x5c164
movl 0x4c(%r14,%rax), %edx
movq 0x48(%r15), %rsi
movl 0x50(%r12), %edi
leal 0x1(%rdi), %eax
movl %eax, 0x50(%r12)
cmpb $0x73, 0x8(%r15)
movq %rbx, -0x30(%rbp)
movq %rsi, -0x50(%rbp)
jne 0x5c19b
movl %eax, -0x70(%rbp)
testq %rsi, %rsi
setne %al
addb %al, %al
addb $0x6, %al
leal 0x2(%rdi), %ecx
movl %ecx, 0x50(%r12)
jmp 0x5c1ac
testq %rsi, %rsi
setne %al
addb %al, %al
orb $0x5, %al
movl $0x0, -0x70(%rbp)
movb %al, -0xc8(%rbp)
movl %edi, -0xc4(%rbp)
movb $0x0, -0xc7(%rbp)
movq $0x0, -0xc0(%rbp)
movq %r12, %rbx
movl 0x54(%r12), %ecx
incl %ecx
movl %ecx, 0x54(%r12)
movq %rdi, -0x48(%rbp)
movq -0x40(%rbp), %r14
movq %r14, %rdi
movl $0x3d, %esi
movl %edx, -0x88(%rbp)
movl %ecx, -0x94(%rbp)
movl %r8d, %r12d
callq 0x3ea9f
cmpq $0x0, -0x50(%rbp)
je 0x5c252
movq %rbx, %rdi
movq %r15, %rsi
callq 0x606bc
movq %r13, %rbx
movq %rax, %r13
movq -0x50(%rbp), %r12
movl (%r12), %ecx
addl $0x2, %ecx
movq %r14, %rdi
movl $0x3a, %esi
movq -0x48(%rbp), %rdx
xorl %r8d, %r8d
callq 0x3ea9f
movq %r14, %rdi
movl %eax, %esi
movq %r13, %rdx
movq %rbx, %r13
movl $0xfffffffa, %ecx       # imm = 0xFFFFFFFA
callq 0x14b4f
movq %r12, -0xb8(%rbp)
jmp 0x5c269
movq %r14, %rdi
movl $0x3a, %esi
movq -0x48(%rbp), %rdx
movl %r12d, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movl -0x70(%rbp), %edx
testl %edx, %edx
movq -0x68(%rbp), %r14
je 0x5c290
movq -0x40(%rbp), %rdi
movl $0x3a, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movl %eax, 0x14(%r15)
orb $0x10, 0xa(%r15)
xorl %eax, %eax
movq %rax, 0x48(%r15)
movq %rax, 0x58(%r14)
leaq -0xc8(%rbp), %rdx
movq -0x58(%rbp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0x44acb
movq %r15, 0x58(%r14)
testl %eax, %eax
movq -0x50(%rbp), %r14
jne 0x5c7ba
movq -0x40(%rbp), %rbx
movq %rbx, %rdi
movl $0x6e, %esi
movq -0x48(%rbp), %r12
movl %r12d, %edx
movq -0xa0(%rbp), %rcx
xorl %r8d, %r8d
callq 0x3ea9f
movl %eax, -0x70(%rbp)
movq %rbx, %rdi
movl $0x6a, %esi
movl -0x88(%rbp), %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
testq %r14, %r14
je 0x5c65f
movl (%r14), %ecx
incl %ecx
movq %rbx, %rdi
movl $0x30, %esi
movl %r12d, %edx
movl -0x94(%rbp), %r8d
jmp 0x5c673
movl $0x1, %r13d
movq (%r15), %rax
cmpl (%rax), %r13d
jg 0x5b950
testl %r8d, %r8d
jle 0x5c358
movq 0x8(%rbx), %rcx
addq $0x1c, %rcx
xorl %eax, %eax
movzwl (%rcx), %edx
cmpl %edx, %r13d
je 0x5c35a
incl %eax
addq $0x20, %rcx
cmpl %eax, %r8d
jne 0x5c343
jmp 0x5c35f
xorl %eax, %eax
cmpl %r8d, %eax
jne 0x5c3d6
movl %r8d, %r14d
movq $0x0, -0xc8(%rbp)
movl $0x0, -0xc0(%rbp)
movq %r12, %rdi
movl $0x84, %esi
leaq -0xc8(%rbp), %rdx
xorl %ecx, %ecx
callq 0x5589f
testq %rax, %rax
je 0x5c9be
orb $0x4, 0x5(%rax)
movl %r13d, 0x8(%rax)
movq -0x58(%rbp), %rcx
movq (%rcx), %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x46675
testq %rax, %rax
je 0x5c3d1
movq %rax, %rbx
movq 0x8(%rax), %rax
movl %r14d, %r8d
movslq %r14d, %rcx
incl %r8d
shlq $0x5, %rcx
movw %r13w, 0x1c(%rax,%rcx)
jmp 0x5c3d6
xorl %ebx, %ebx
movl %r14d, %r8d
incl %r13d
cmpb $0x0, 0x51(%r12)
je 0x5c328
jmp 0x5b950
movl 0x50(%r12), %edx
leal 0x1(%rdx), %ecx
movl %ecx, 0x50(%r12)
movq %rax, %rdi
movl $0x3a, %esi
movq %rdx, -0x48(%rbp)
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movl %eax, 0x14(%r15)
movq %r15, %rcx
movq %rcx, %rax
movq 0x58(%rcx), %rcx
testq %rcx, %rcx
jne 0x5c414
orb $0x10, 0xa(%rax)
movq -0x48(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq -0xc8(%rbp), %rdx
movw $0x1, (%rdx)
movl %eax, 0x4(%rdx)
movq $0x0, 0x8(%rdx)
movl 0x200(%r12), %ecx
movl %ecx, -0x50(%rbp)
movq %r12, %rdi
movq %r14, %rsi
callq 0x44acb
testl %eax, %eax
jne 0x5c654
movq %r13, -0x90(%rbp)
cmpb $0x75, 0x8(%r15)
sete %al
incb %al
xorl %ecx, %ecx
movq %rcx, 0x50(%r15)
movq 0x60(%r15), %r13
xorps %xmm0, %xmm0
movq %r12, %rdi
movq 0x68(%r15), %r12
movups %xmm0, 0x60(%r15)
leaq -0xc8(%rbp), %rdx
movb %al, (%rdx)
movl 0x200(%rdi), %eax
movq %rax, -0x78(%rbp)
movq %r15, %rsi
callq 0x44acb
movl %eax, -0x40(%rbp)
movq 0x48(%r15), %rsi
movq %rbx, -0x30(%rbp)
movq %rbx, %rdi
callq 0x3c97e
movq 0x50(%r15), %rax
movq %rax, -0x68(%rbp)
movq %r14, 0x50(%r15)
xorl %eax, %eax
movq %rax, 0x48(%r15)
cmpb $0x73, 0x8(%r15)
jne 0x5c4da
movq 0x20(%r14), %rax
addq %rax, 0x20(%r15)
movq 0x60(%r15), %rsi
movq -0x30(%rbp), %rdi
callq 0x3c8fe
movq %r13, 0x60(%r15)
movq %r12, 0x68(%r15)
movq $0x0, 0xc(%r15)
movzbl -0xf0(%rbp), %eax
cmpl $0x1, %eax
movq -0x90(%rbp), %r13
movq -0x58(%rbp), %r12
movq -0x68(%rbp), %r14
je 0x5cb6a
cmpl $0x9, %eax
jne 0x5c539
movq %r15, %rcx
movq %rcx, %rax
movq 0x50(%rcx), %rcx
testq %rcx, %rcx
jne 0x5c51e
movq (%rax), %rdx
movq 0x28(%rax), %rsi
movq %r12, %rdi
callq 0x5ffe6
movq -0x38(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x51729
movl %eax, %ebx
movq -0x38(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x51729
movq %rax, -0x70(%rbp)
movq %r12, %rdi
movq %r15, %rsi
movl %ebx, %edx
callq 0x5ceb1
movq -0x38(%rbp), %rdi
movl $0x6e, %esi
movq -0x48(%rbp), %r14
movl %r14d, %edx
movl %ebx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq -0x38(%rbp), %rax
movl 0x3c(%rax), %eax
movl %eax, -0x60(%rbp)
movq (%r15), %rdx
subq $0x8, %rsp
leaq -0xf0(%rbp), %rax
movq %r12, %rdi
movq %r15, %rsi
movl %r14d, %ecx
movq -0x70(%rbp), %r14
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %rbx
pushq %r14
pushq %rax
callq 0x5e1b6
movq -0x38(%rbp), %rcx
addq $0x20, %rsp
movq 0x30(%rcx), %rax
movq 0x80(%rax), %rdx
testq %rdx, %rdx
je 0x5c9c9
notl %r14d
movl 0x3c(%rcx), %ecx
movslq %r14d, %rsi
movl %ecx, (%rdx,%rsi,4)
jmp 0x5c9cc
movl 0x50(%r12), %edx
leal 0x2(%rdx), %ecx
movl %ecx, 0x50(%r12)
movq %rax, %rdi
movl $0x3a, %esi
movq %rdx, -0x48(%rbp)
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movl %eax, 0x14(%r15)
movq %r15, %rcx
movq %rcx, %rax
movq 0x58(%rcx), %rcx
testq %rcx, %rcx
jne 0x5c60b
orb $0x10, 0xa(%rax)
leaq -0xc8(%rbp), %rdx
movw $0x1, (%rdx)
movq -0x48(%rbp), %rax
movl %eax, 0x4(%rdx)
movq $0x0, 0x8(%rdx)
movl 0x200(%r12), %eax
movl %eax, -0x50(%rbp)
movq %r12, %rdi
movq %r14, %rsi
callq 0x44acb
testl %eax, %eax
je 0x5c88e
xorl %r14d, %r14d
movl %eax, %r15d
jmp 0x5b644
movq %rbx, %rdi
movl $0x68, %esi
movl %r12d, %edx
movl -0x94(%rbp), %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq %rbx, %rdi
movl $0x63, %esi
movl %r12d, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq 0x30(%rbx), %rdi
callq 0x51729
movl %eax, %r14d
movl -0x80(%rbp), %edx
testl %edx, %edx
movq %rbx, %r12
jle 0x5c6b9
movq %r12, %rdi
movl $0x8b, %esi
movl %r14d, %ecx
movl $0x1, %r8d
callq 0x3ea9f
movq (%r15), %rdx
subq $0x8, %rsp
leaq -0xf0(%rbp), %rax
movq -0x58(%rbp), %rdi
movq %r15, %rsi
movl -0x88(%rbp), %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
movq -0xa0(%rbp), %rbx
pushq %rbx
pushq %r14
pushq %rax
callq 0x5e1b6
addq $0x20, %rsp
movl -0xd0(%rbp), %edx
testl %edx, %edx
je 0x5c70a
movq %r12, %rdi
movl $0x8e, %esi
movl %ebx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq 0x30(%r12), %rax
movq 0x80(%rax), %rdx
testq %rdx, %rdx
je 0x5c72b
notl %r14d
movl 0x3c(%r12), %ecx
movslq %r14d, %rsi
movl %ecx, (%rdx,%rsi,4)
jmp 0x5c730
movl 0x3c(%r12), %ecx
movq -0x68(%rbp), %r14
decl %ecx
movl %ecx, 0x68(%rax)
testb $0x8, 0xa(%r15)
jne 0x5c761
movq $0x0, 0x50(%r15)
leaq -0xc8(%rbp), %rdx
movq -0x58(%rbp), %rdi
movq %r15, %rsi
callq 0x44acb
movq %r14, 0x50(%r15)
jmp 0x5c773
leaq 0x21211(%rip), %rsi     # 0x7d979
movq -0x58(%rbp), %rdi
xorl %eax, %eax
callq 0x14890
movq -0x50(%rbp), %r14
movq %r12, %rdi
movl $0xe, %esi
xorl %edx, %edx
movl -0x70(%rbp), %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq 0x30(%r12), %rax
movq 0x80(%rax), %rdx
testq %rdx, %rdx
je 0x5c7ac
notl %ebx
movl 0x3c(%r12), %ecx
movslq %ebx, %rsi
movl %ecx, (%rdx,%rsi,4)
jmp 0x5c7b1
movl 0x3c(%r12), %ecx
decl %ecx
movl %ecx, 0x68(%rax)
movq -0x58(%rbp), %r12
movq (%r12), %rdi
movq 0x48(%r15), %rsi
callq 0x3c97e
movq %r14, 0x48(%r15)
movq -0x78(%rbp), %rax
movq %rax, 0x60(%r15)
movq -0x60(%rbp), %rax
movq %rax, 0x68(%r15)
movq -0x30(%rbp), %rbx
xorl %edx, %edx
xorl %r14d, %r14d
movl $0x0, -0x40(%rbp)
xorl %ecx, %ecx
movzbl 0x8(%r15), %esi
xorl %r8d, %r8d
cmpl $0x74, %esi
setne %r8b
movq %r12, %rdi
callq 0x605c3
testb $0x10, 0xa(%r15)
jne 0x5c814
movl -0x40(%rbp), %r15d
jmp 0x5b644
movq %r14, -0x68(%rbp)
movq (%r15), %rax
movl (%rax), %r14d
movq %rbx, -0x30(%rbp)
movq %rbx, %rdi
movl %r14d, %esi
movl $0x1, %edx
callq 0x4fc2f
testq %rax, %rax
je 0x5c87f
movq %rax, %rbx
movq %r13, -0x90(%rbp)
testl %r14d, %r14d
jle 0x5cc6f
xorl %r13d, %r13d
movq %r12, %rdi
movq %r15, %rsi
movl %r13d, %edx
callq 0x6065a
movq %rax, 0x20(%rbx,%r13,8)
testq %rax, %rax
jne 0x5c872
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x20(%rbx,%r13,8)
incq %r13
cmpl %r13d, %r14d
jne 0x5c84d
jmp 0x5cc6a
movl $0x7, %r15d
movq -0x30(%rbp), %rbx
jmp 0x5ccf0
movq %rbx, -0x30(%rbp)
movq -0x48(%rbp), %rax
leal 0x1(%rax), %ebx
movq -0x38(%rbp), %rdi
movl $0x3a, %esi
movl %ebx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movl %eax, 0x18(%r15)
movq $0x0, 0x50(%r15)
movq 0x60(%r15), %rax
movq %rax, -0x70(%rbp)
movq %r12, %rdi
movq 0x68(%r15), %r12
xorps %xmm0, %xmm0
movups %xmm0, 0x60(%r15)
leaq -0xc8(%rbp), %rdx
movl %ebx, -0x60(%rbp)
movl %ebx, 0x4(%rdx)
movl 0x200(%rdi), %eax
movq %rax, -0x78(%rbp)
movq %r15, %rsi
callq 0x44acb
movl %eax, -0x40(%rbp)
movq 0x20(%r15), %rcx
movq 0x50(%r15), %rax
movq %rax, -0x68(%rbp)
movq %r14, 0x50(%r15)
movq 0x20(%r14), %rax
cmpq %rax, %rcx
jbe 0x5c910
movq %rax, 0x20(%r15)
movq 0x60(%r15), %rsi
movq -0x30(%rbp), %rdi
callq 0x3c8fe
movq -0x70(%rbp), %rax
movq %rax, 0x60(%r15)
movq %r12, 0x68(%r15)
cmpb $0x9, -0xf0(%rbp)
movq -0x58(%rbp), %r12
jne 0x5c954
movq %r15, %rcx
movq %rcx, %rax
movq 0x50(%rcx), %rcx
testq %rcx, %rcx
jne 0x5c939
movq (%rax), %rdx
movq 0x28(%rax), %rsi
movq %r12, %rdi
callq 0x5ffe6
movq -0x38(%rbp), %rbx
movq 0x30(%rbx), %rdi
callq 0x51729
movl %eax, %r14d
movq 0x30(%rbx), %rdi
callq 0x51729
movq %rax, -0x70(%rbp)
movq %r12, %rdi
movq %r15, %rsi
movl %r14d, %edx
callq 0x5ceb1
movq %rbx, %rdi
movl $0x6e, %esi
movq -0x48(%rbp), %rdx
movq %r14, -0xa0(%rbp)
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movb 0x1f(%r12), %al
testb %al, %al
je 0x5cad6
decb %al
movb %al, 0x1f(%r12)
movzbl %al, %eax
movl 0x24(%r12,%rax,4), %ebx
jmp 0x5cae2
movl $0x7, %r15d
jmp 0x5b668
movl 0x3c(%rcx), %ecx
decl %ecx
movl %ecx, 0x68(%rax)
movq -0x38(%rbp), %rdi
movl $0x8, %esi
movq -0x48(%rbp), %rdx
movl -0x60(%rbp), %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq -0x38(%rbp), %rdi
movq 0x30(%rdi), %rax
movq 0x80(%rax), %rdx
testq %rdx, %rdx
movq -0x68(%rbp), %r14
je 0x5ca0e
notl %ebx
movl 0x3c(%rdi), %ecx
movslq %ebx, %rsi
movl %ecx, (%rdx,%rsi,4)
jmp 0x5ca11
movl 0x3c(%rdi), %ecx
decl %ecx
movl %ecx, 0x68(%rax)
movl $0x3e, %esi
movq -0x48(%rbp), %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
jmp 0x5cb6a
movl $0x0, -0x58(%rbp)
movl 0x200(%r12), %eax
movq %rax, -0x78(%rbp)
leaq -0xf0(%rbp), %rdx
movq %r12, %rdi
movq %r15, %rsi
callq 0x44acb
movq 0x50(%r15), %rbx
movq %r14, 0x50(%r15)
movq 0x20(%r14), %rcx
addq %rcx, 0x20(%r15)
movl %eax, -0x40(%rbp)
movq 0x60(%r14), %rdi
testq %rdi, %rdi
je 0x5ca9e
leaq -0xc8(%rbp), %r14
movq %r14, %rsi
callq 0x54283
testl %eax, %eax
setne %cl
movl (%r14), %eax
testl %eax, %eax
setg %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x5ca9e
movl %eax, %eax
cmpq %rax, 0x20(%r15)
jbe 0x5ca9e
movq %rax, 0x20(%r15)
movl -0x58(%rbp), %edi
testl %edi, %edi
movq -0x38(%rbp), %rsi
movq %rbx, %r14
je 0x5cb6a
movl 0x3c(%rsi), %eax
leal -0x1(%rax), %ecx
movq 0x30(%rsi), %rdx
movl %ecx, 0x68(%rdx)
movq (%rsi), %rdx
cmpb $0x0, 0x51(%rdx)
je 0x5cb53
leaq 0x36a27(%rip), %rcx     # 0x934f8
jmp 0x5cb67
movl 0x54(%r12), %ebx
incl %ebx
movl %ebx, 0x54(%r12)
movq -0x38(%rbp), %r14
movq %r14, %rdi
movl $0x67, %esi
movq -0x48(%rbp), %rdx
movl %ebx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movl %eax, -0x88(%rbp)
movq %r14, %rdi
movl $0x46, %esi
movl -0x60(%rbp), %edx
movq -0x70(%rbp), %rcx
movl %ebx, %r8d
xorl %r9d, %r9d
callq 0x14a37
testl %ebx, %ebx
je 0x5cb80
movzbl 0x1f(%r12), %eax
cmpq $0x7, %rax
ja 0x5cb80
xorl %ecx, %ecx
cmpl %ebx, 0x94(%r12,%rcx)
je 0x5cb77
addq $0x14, %rcx
cmpl $0xc8, %ecx
jne 0x5cb2e
leal 0x1(%rax), %ecx
movb %cl, 0x1f(%r12)
movl %ebx, 0x24(%r12,%rax,4)
jmp 0x5cb80
testl %edi, %edi
cmovnsl %edi, %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x3, %rcx
addq 0x8(%rsi), %rcx
movl %eax, 0x8(%rcx)
movq -0x30(%rbp), %rbx
movq -0x78(%rbp), %rcx
jmp 0x5cc62
movb $0x1, 0x8e(%r12,%rcx)
movq (%r15), %rdx
subq $0x8, %rsp
leaq -0xf0(%rbp), %rax
movq %r12, %rdi
movq %r15, %rsi
movq -0x48(%rbp), %r14
movl %r14d, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq -0xa0(%rbp)
movq -0x70(%rbp), %rbx
pushq %rbx
pushq %rax
callq 0x5e1b6
addq $0x20, %rsp
movq -0x38(%rbp), %rcx
movq 0x30(%rcx), %rax
movq 0x80(%rax), %rdx
testq %rdx, %rdx
je 0x5cbd7
notl %ebx
movl 0x3c(%rcx), %edi
movslq %ebx, %rsi
movl %edi, (%rdx,%rsi,4)
jmp 0x5cbda
movl 0x3c(%rcx), %edi
movq -0x30(%rbp), %rbx
movl -0x88(%rbp), %ecx
decl %edi
movl %edi, 0x68(%rax)
movq -0x38(%rbp), %rdi
movl $0x8, %esi
movl %r14d, %edx
xorl %r8d, %r8d
callq 0x3ea9f
movq -0x38(%rbp), %r14
movq 0x30(%r14), %rax
movq 0x80(%rax), %rdx
testq %rdx, %rdx
je 0x5cc26
movq -0xa0(%rbp), %rsi
notl %esi
movl 0x3c(%r14), %ecx
movslq %esi, %rsi
movl %ecx, (%rdx,%rsi,4)
jmp 0x5cc2a
movl 0x3c(%r14), %ecx
decl %ecx
movl %ecx, 0x68(%rax)
movq %r14, %rdi
movl $0x3e, %esi
movl -0x60(%rbp), %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq %r14, %rdi
movl $0x3e, %esi
movq -0x48(%rbp), %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3ea9f
movq -0x78(%rbp), %rcx
movq -0x68(%rbp), %r14
movl -0x50(%rbp), %edx
jmp 0x5c7ed
testq %r15, %r15
je 0x5ccd5
movb $0x1, %r13b
xorl %r12d, %r12d
movslq 0x14(%r15,%r12,4), %rsi
testq %rsi, %rsi
js 0x5cccf
movq -0x38(%rbp), %rdi
movq (%rdi), %rax
cmpb $0x0, 0x51(%rax)
je 0x5cc95
leaq 0x36865(%rip), %rax     # 0x934f8
jmp 0x5cca1
leaq (%rsi,%rsi,2), %rax
shlq $0x3, %rax
addq 0x8(%rdi), %rax
movl %r14d, 0x8(%rax)
incl (%rbx)
movq %rbx, %rdx
movl $0xfffffffa, %ecx       # imm = 0xFFFFFFFA
callq 0x14b4f
movl $0xffffffff, 0x14(%r15,%r12,4) # imm = 0xFFFFFFFF
movl $0x1, %r12d
testb $0x1, %r13b
movl $0x0, %r13d
jne 0x5cc75
movq 0x50(%r15), %r15
jmp 0x5cc6a
decl (%rbx)
jne 0x5cce1
movq %rbx, %rdi
callq 0xa630
movq -0x90(%rbp), %r13
movq -0x30(%rbp), %rbx
movl -0x40(%rbp), %r15d
movq -0x68(%rbp), %r14
jmp 0x5b644