// File: /workspace/github_c_makefile_star2_O1/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 $0xf8, %rsp
movq %rdx, %r13
movq %rdi, %r15
movq (%rdi), %r12
movq 0x50(%rsi), %rbx
movq 0x10(%rdx), %rax
movq %rax, -0xd0(%rbp)
movups (%rdx), %xmm0
movaps %xmm0, -0xe0(%rbp)
cmpq $0x0, 0x48(%rbx)
movq %r12, -0x80(%rbp)
je 0x5ca98
movb 0x8(%rsi), %al
addb $-0x74, %al
cmpb $0x2, %al
ja 0x5cab8
movzbl %al, %eax
leaq 0x36356(%rip), %rcx     # 0x92de8
movq (%rcx,%rax,8), %rdx
jmp 0x5cabf
cmpq $0x0, 0x60(%rbx)
je 0x5cac8
movb 0x8(%rsi), %al
addb $-0x74, %al
cmpb $0x2, %al
ja 0x5cb1b
movzbl %al, %eax
leaq 0x36336(%rip), %rcx     # 0x92de8
movq (%rcx,%rax,8), %rdx
jmp 0x5cb22
leaq 0x22803(%rip), %rdx     # 0x7f2c2
leaq 0x22e46(%rip), %rsi     # 0x7f90c
jmp 0x5cb29
movq %r15, %rdi
movq %rsi, -0x30(%rbp)
callq 0x507bf
movq -0x30(%rbp), %rcx
cmpb $0xc, -0xe0(%rbp)
movq %rax, -0x50(%rbp)
jne 0x5cb99
movl -0xdc(%rbp), %edx
movq (%rcx), %rax
movl (%rax), %ecx
movq -0x50(%rbp), %rdi
movl $0x3a, %esi
xorl %r8d, %r8d
callq 0x3fa9e
movq -0x50(%rbp), %rax
movq (%rax), %rcx
cmpb $0x0, 0x51(%rcx)
je 0x5cb76
leaq 0x389cf(%rip), %rcx     # 0x954e8
jmp 0x5cb8a
leaq 0x227a0(%rip), %rdx     # 0x7f2c2
leaq 0x22e13(%rip), %rsi     # 0x7f93c
movq %r15, %rdi
xorl %eax, %eax
callq 0x14804
xorl %r8d, %r8d
movl $0x1, %r15d
movl -0xd8(%rbp), %eax
movl %eax, 0x8(%r13)
movl -0xd4(%rbp), %eax
movl %eax, 0xc(%r13)
movq -0x80(%rbp), %rdi
movq %r8, %rsi
movl $0x1, %edx
callq 0x3d9e2
movl %r15d, %eax
addq $0xf8, %rsp
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, -0xe0(%rbp)
movq -0x30(%rbp), %rcx
movzwl 0xa(%rcx), %edx
btl $0x9, %edx
movq %r15, -0x78(%rbp)
jb 0x5cc85
btl $0xd, %edx
jb 0x5cce9
cmpq $0x0, 0x48(%rcx)
je 0x5cdcd
movq (%r15), %r14
movq 0x10(%r15), %rbx
movq %rbx, %rdi
callq 0x528c8
movq %rax, -0x48(%rbp)
movq %rbx, -0x40(%rbp)
movq %rbx, %rdi
callq 0x528c8
movq -0x30(%rbp), %rsi
movl %eax, -0x70(%rbp)
movb 0x8(%rsi), %cl
movq 0x50(%rsi), %rax
movq %rax, -0x50(%rbp)
movq 0x48(%rsi), %rbx
movl (%rbx), %r12d
movq %rcx, -0x58(%rbp)
cmpb $0x74, %cl
movq %r14, -0x80(%rbp)
movq %r13, -0xa0(%rbp)
je 0x5cc17
cmpb $0x0, 0x51(%r14)
je 0x5d844
movslq %r12d, %rsi
shlq $0x2, %rsi
movq %r14, %rdi
callq 0x144ee
movq $0x0, -0x88(%rbp)
testq %rax, %rax
movq %rax, -0xf0(%rbp)
je 0x5ced8
testl %r12d, %r12d
jle 0x5cc66
movq 0x8(%rbx), %rdi
movl %r12d, %ecx
shlq $0x2, %rcx
xorl %edx, %edx
movzwl 0x1c(%rdi,%rdx,8), %esi
decl %esi
movl %esi, (%rax,%rdx)
addq $0x4, %rdx
cmpq %rdx, %rcx
jne 0x5cc53
movq %r15, %rdi
movq -0x30(%rbp), %r13
movq %r13, %rsi
callq 0x61cb3
movq %rax, -0x108(%rbp)
movq -0x80(%rbp), %r14
jmp 0x5cee7
xorl %r12d, %r12d
movq %rcx, %rbx
movq 0x50(%rcx), %rcx
incq %r12
testq %rcx, %rcx
jne 0x5cc88
testq %rbx, %rbx
je 0x5cdb7
leaq -0xe0(%rbp), %r14
movq 0x50(%rbx), %r15
movq $0x0, 0x50(%rbx)
movq -0x78(%rbp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x45a6e
movq %r15, 0x50(%rbx)
testl %eax, %eax
jne 0x5cdc2
movq %r12, 0x20(%rbx)
movq 0x58(%rbx), %rbx
xorl %r8d, %r8d
movl $0x0, %r15d
testq %rbx, %rbx
jne 0x5cca7
jmp 0x5cb3c
movq (%rcx), %rax
movq 0x28(%rcx), %rbx
movl (%rax), %r14d
movq 0x10(%r15), %rax
movq %rax, -0x48(%rbp)
movq 0x50(%rcx), %r12
movq %r15, %rdi
movl $0x21, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x5605b
xorl %ecx, %ecx
testl %eax, %eax
jne 0x5dd66
movl %r14d, -0x40(%rbp)
movq %r12, -0x58(%rbp)
movq -0x48(%rbp), %r14
movq %r14, %rdi
callq 0x528c8
movq %r15, %rdi
movq -0x30(%rbp), %r12
movq %r12, %rsi
movq %rax, -0x88(%rbp)
movl %eax, %edx
callq 0x5e411
movq 0x60(%r12), %rax
movq %rax, -0x60(%rbp)
movq 0x68(%r12), %rax
movq %rax, -0x70(%rbp)
movl 0xc(%r12), %edx
movl 0x10(%r12), %eax
movl %eax, -0xa8(%rbp)
movq $0x0, 0xc(%r12)
xorps %xmm0, %xmm0
movups %xmm0, 0x60(%r12)
movslq (%rbx), %rax
testq %rax, %rax
movl %edx, -0x98(%rbp)
jle 0x5d67d
imulq $0x70, %rax, %rcx
xorl %eax, %eax
movl -0x40(%rbp), %r8d
testb $0x20, 0x45(%rbx,%rax)
jne 0x5d688
addq $0x70, %rax
cmpq %rax, %rcx
jne 0x5cd99
movq %r14, %rsi
xorl %edx, %edx
jmp 0x5d68f
xorl %r8d, %r8d
xorl %r15d, %r15d
jmp 0x5cb3c
movl %eax, %r15d
xorl %r8d, %r8d
jmp 0x5cb3c
movzbl 0x8(%rcx), %edx
cmpl $0x73, %edx
je 0x5cfa0
cmpl $0x75, %edx
je 0x5cfa0
cmpl $0x74, %edx
jne 0x5db78
movl 0xc(%rcx), %eax
movl %eax, 0xc(%rbx)
movl 0x10(%rcx), %eax
movl %eax, 0x10(%rbx)
movq 0x60(%rcx), %rax
movq %rax, 0x60(%rbx)
movq 0x68(%rcx), %rax
movq %rax, 0x68(%rbx)
movl 0x200(%r15), %r14d
leaq -0xe0(%rbp), %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x45a6e
movq -0x30(%rbp), %rcx
xorps %xmm0, %xmm0
movups %xmm0, 0x60(%rcx)
testl %eax, %eax
jne 0x5dbe9
movl %eax, -0x48(%rbp)
movl %r14d, -0x70(%rbp)
movq $0x0, 0x50(%rcx)
movl 0xc(%rbx), %edx
movl %edx, 0xc(%rcx)
movl 0x10(%rbx), %eax
movl %eax, 0x10(%rcx)
testl %edx, %edx
je 0x5e007
movq -0x50(%rbp), %r14
movq %r14, %rdi
movl $0x2f, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movl %eax, -0x40(%rbp)
movq -0x30(%rbp), %rax
movl 0x10(%rax), %ecx
testl %ecx, %ecx
je 0x5e00e
movq %r14, %rdi
movl $0x8c, %esi
movl %ecx, %edx
xorl %r8d, %r8d
callq 0x3fa9e
movq -0x30(%rbp), %rax
movl 0xc(%rax), %edx
movq -0x30(%rbp), %rax
movl 0x10(%rax), %ecx
leal 0x1(%rcx), %r8d
movq %r14, %rdi
movl $0x59, %esi
callq 0x3fa9e
movq -0x30(%rbp), %rax
movl 0xc(%rax), %edx
movq -0x30(%rbp), %rax
movl 0x10(%rax), %ecx
incl %ecx
movq %r14, %rdi
movl $0x8c, %esi
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
callq 0x3fa9e
jmp 0x5e00e
movq $0x0, -0x108(%rbp)
movq -0x30(%rbp), %r13
movq %rbx, 0x48(%r13)
movq (%r15), %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x54f04
movq -0x50(%rbp), %rcx
movq %rax, 0x48(%rcx)
cmpb $0x74, -0x58(%rbp)
movl %r12d, -0xf8(%rbp)
jne 0x5cf15
xorl %r14d, %r14d
jmp 0x5cfbd
movq (%r13), %rax
movl (%rax), %ebx
movl 0x54(%r15), %eax
leal (%rax,%rbx), %ecx
incl %ecx
incl %eax
movl %ecx, 0x54(%r15)
movq -0x40(%rbp), %rdi
movl $0x17, %esi
xorl %edx, %edx
movq %rax, -0x88(%rbp)
movl %eax, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq %r14, %rdi
movl %ebx, %esi
movl $0x1, %edx
callq 0x50dad
movq %rax, %r14
testq %rax, %rax
setne %al
testl %ebx, %ebx
setg %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x5cfb9
movq %r15, %r13
movl %ebx, %r15d
xorl %ebx, %ebx
movq -0x30(%rbp), %r12
movq %r13, %rdi
movq %r12, %rsi
movl %ebx, %edx
callq 0x61c4d
movq %rax, 0x20(%r14,%rbx,8)
movq 0x18(%r14), %rax
movb $0x0, (%rax,%rbx)
incq %rbx
cmpq %rbx, %r15
jne 0x5cf76
movq %r13, %r15
movq %r12, %r13
jmp 0x5cfbd
cmpb $0x1, -0xe0(%rbp)
jne 0x5d912
movl -0xdc(%rbp), %r14d
jmp 0x5d94a
movq -0x30(%rbp), %r13
xorl %ebx, %ebx
movq %rbx, 0x50(%r13)
movq -0x50(%rbp), %r12
movq %rbx, 0x58(%r12)
movq 0x48(%r13), %rdx
leaq 0x21f91(%rip), %rcx     # 0x7ef68
movq %r15, %rdi
movq %r13, %rsi
callq 0x5adab
cmpq %rbx, 0x50(%r12)
jne 0x5d000
movq -0x50(%rbp), %rsi
movq 0x48(%rsi), %rdx
leaq 0x21f70(%rip), %rcx     # 0x7ef68
movq %r15, %rdi
callq 0x5adab
cmpb $0x74, -0x58(%rbp)
setne %r15b
movq -0x78(%rbp), %rdi
movq %r13, %rsi
movq -0x48(%rbp), %rdx
callq 0x5e411
movl 0xc(%r13), %eax
testl %eax, %eax
sete %cl
orb %r15b, %cl
movq -0x78(%rbp), %r15
movl $0x0, -0x34(%rbp)
jne 0x5d083
movl 0x54(%r15), %ebx
leal 0x1(%rbx), %r8d
addl $0x2, %ebx
movl %ebx, 0x54(%r15)
movl 0x10(%r13), %ecx
leal 0x1(%rcx), %edx
testl %ecx, %ecx
cmovel %eax, %edx
movq -0x40(%rbp), %r12
movq %r12, %rdi
movl $0x1f, %esi
movl %r8d, %r13d
movl %r8d, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq %r12, %rdi
movl $0x1f, %esi
movl %r13d, -0x34(%rbp)
movl %r13d, %edx
movl %ebx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq -0x30(%rbp), %r13
movq %rbx, -0xe8(%rbp)
movq 0x60(%r13), %rsi
movq -0x80(%rbp), %rbx
movq %rbx, %rdi
callq 0x3d8f7
xorl %r12d, %r12d
movq %r12, 0x60(%r13)
movq 0x68(%r13), %rsi
movq %rbx, %rdi
callq 0x3d8f7
movq %r12, 0x68(%r13)
xorl %esi, %esi
movl 0x54(%r15), %eax
leal 0x1(%rax), %ebx
leal 0x2(%rax), %ecx
leal 0x3(%rax), %edx
movl %edx, -0x68(%rbp)
addl $0x4, %eax
movq %rax, -0x98(%rbp)
movl %eax, 0x54(%r15)
movw $0xd, %ax
leaq -0xc0(%rbp), %r12
movw %ax, (%r12)
movl %ebx, 0x4(%r12)
movq %rsi, 0x8(%r12)
movw %ax, -0x120(%rbp)
movl %ecx, -0x60(%rbp)
movl %ecx, -0x11c(%rbp)
movq $0x0, -0xa8(%rbp)
movq %rsi, -0x118(%rbp)
movq -0x40(%rbp), %r13
movl 0x3c(%r13), %r8d
incl %r8d
movq %r13, %rdi
movl $0x11, %esi
movl %ebx, %edx
xorl %ecx, %ecx
callq 0x3fa9e
movl %eax, -0x90(%rbp)
movq -0x50(%rbp), %rsi
movl -0x34(%rbp), %eax
movl %eax, 0xc(%rsi)
movl 0x200(%r15), %eax
movl %eax, -0x100(%rbp)
movq %r15, %rdi
movq %r12, %rdx
callq 0x45a6e
movq %r13, %rdi
movl $0x12, %esi
movl %ebx, -0x34(%rbp)
movl %ebx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movl 0x3c(%r13), %r8d
leal -0x1(%r8), %eax
movq 0x30(%r13), %rcx
movl %eax, 0x68(%rcx)
movq (%r13), %rcx
cmpb $0x0, 0x51(%rcx)
je 0x5d18a
leaq 0x38360(%rip), %rax     # 0x954e8
jmp 0x5d1a3
movl -0x90(%rbp), %ecx
testl %ecx, %ecx
cmovnsl %ecx, %eax
cltq
leaq (%rax,%rax,2), %rax
shlq $0x3, %rax
addq 0x8(%r13), %rax
movq -0xe8(%rbp), %rbx
movl %r8d, 0x8(%rax)
incl %r8d
movq %r13, %rdi
movl $0x11, %esi
movl -0x60(%rbp), %r15d
movl %r15d, %edx
xorl %ecx, %ecx
callq 0x3fa9e
movl %eax, -0xfc(%rbp)
movq -0x30(%rbp), %r12
movq 0xc(%r12), %rax
movq %rax, -0x90(%rbp)
movl %ebx, 0xc(%r12)
movl $0x0, 0x10(%r12)
movq -0x78(%rbp), %rbx
movl 0x200(%rbx), %eax
movl %eax, -0xe8(%rbp)
leaq -0x120(%rbp), %rdx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x45a6e
movq -0x90(%rbp), %rax
movq %rax, 0xc(%r12)
movq %r13, %rdi
movl $0x12, %esi
movl %r15d, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
leaq -0xc0(%rbp), %rdx
movq %rbx, %rdi
movq %r12, %rsi
movq -0xa0(%rbp), %rcx
movl -0x68(%rbp), %r8d
movq -0x88(%rbp), %rbx
movl %ebx, %r9d
pushq -0x48(%rbp)
pushq %r14
callq 0x61dad
addq $0x10, %rsp
movl %eax, %r13d
movq -0x58(%rbp), %r12
leal -0x73(%r12), %eax
movl %eax, -0x90(%rbp)
cmpb $0x1, %al
ja 0x5d2a9
leaq -0x120(%rbp), %rdx
movq -0x78(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0xa0(%rbp), %rcx
movq -0x98(%rbp), %r8
movl %ebx, %r9d
pushq -0x48(%rbp)
pushq %r14
callq 0x61dad
addq $0x10, %rsp
movq %rax, -0xa8(%rbp)
testq %r14, %r14
je 0x5d2bb
decl (%r14)
jne 0x5d2bb
movq %r14, %rdi
callq 0xa620
leal -0x75(%r12), %eax
movq -0x48(%rbp), %rcx
movl %ecx, %r15d
movl %ecx, %ebx
cmpb $0x2, %al
jb 0x5d32f
movq -0x40(%rbp), %r14
movq %r14, %rdi
movl $0xf, %esi
movq -0x98(%rbp), %rdx
movq -0xa8(%rbp), %rcx
xorl %r8d, %r8d
callq 0x3fa9e
movl %eax, %ebx
movq %r14, %rdi
movl $0x14, %esi
movl -0x60(%rbp), %edx
movq -0x48(%rbp), %rcx
xorl %r8d, %r8d
callq 0x3fa9e
movl %eax, %r15d
movq %r14, %rdi
movl $0xe, %esi
xorl %edx, %edx
movl %ebx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq -0x50(%rbp), %rax
movq 0x20(%rax), %rax
movq -0x30(%rbp), %rcx
addq %rax, 0x20(%rcx)
cmpb $0x76, %r12b
movl %r15d, -0x88(%rbp)
jne 0x5d35e
movq -0x50(%rbp), %rax
movq 0x20(%rax), %rax
movl %ebx, %r14d
movq -0x30(%rbp), %rcx
cmpq %rax, 0x20(%rcx)
jbe 0x5d3a7
movq -0x30(%rbp), %rcx
movq %rax, 0x20(%rcx)
movl %ebx, %r14d
jmp 0x5d3a7
movq -0x40(%rbp), %r12
movq %r12, %rdi
movl $0xf, %esi
movl -0x68(%rbp), %edx
movl %r13d, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movl %eax, %r14d
movq %r12, %rdi
movl $0x14, %esi
movl -0x34(%rbp), %edx
movq -0x48(%rbp), %rcx
xorl %r8d, %r8d
callq 0x3fa9e
movq %r12, %rdi
movl $0xe, %esi
xorl %edx, %edx
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq -0x40(%rbp), %r12
movq %r12, %rdi
movl $0xf, %esi
movl -0x68(%rbp), %edx
movl %r13d, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movl %eax, %r15d
movq %r12, %rdi
movl $0x14, %esi
movl -0x34(%rbp), %edx
movl %ebx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq %r12, %rdi
movl $0xe, %esi
xorl %edx, %edx
movl -0x70(%rbp), %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq -0x58(%rbp), %rax
cmpb $0x74, %al
jne 0x5d3ff
movl %r15d, %r12d
movl %r15d, -0x58(%rbp)
jmp 0x5d40d
movl %r15d, %r12d
cmpb $0x76, %al
jne 0x5d413
movl %r12d, -0x58(%rbp)
incl %r12d
movq -0x40(%rbp), %rbx
jmp 0x5d444
movq -0x40(%rbp), %rdi
movl $0x14, %esi
movl -0x34(%rbp), %edx
movl %ebx, %ecx
movq %rdi, %rbx
xorl %r8d, %r8d
callq 0x3fa9e
movl %eax, -0x58(%rbp)
movq %rbx, %rdi
movl $0xe, %esi
xorl %edx, %edx
movl -0x70(%rbp), %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movl -0x90(%rbp), %ecx
movl 0x3c(%rbx), %eax
movl %eax, -0x40(%rbp)
cmpb $0x1, %cl
ja 0x5d473
movq %rbx, %rdi
movl $0xf, %esi
movq -0x98(%rbp), %rdx
movq -0xa8(%rbp), %rcx
xorl %r8d, %r8d
callq 0x3fa9e
movq %rbx, %rdi
movl $0x14, %esi
movl -0x60(%rbp), %edx
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq %rbx, %rdi
movl $0xe, %esi
xorl %edx, %edx
movl -0x70(%rbp), %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movl 0x3c(%rbx), %eax
leal -0x1(%rax), %ecx
movq 0x30(%rbx), %rdx
movl %ecx, 0x68(%rdx)
movq (%rbx), %rdx
cmpb $0x0, 0x51(%rdx)
movq -0xa0(%rbp), %r15
je 0x5d4c4
leaq 0x38026(%rip), %rcx     # 0x954e8
jmp 0x5d4de
movl -0xfc(%rbp), %edx
testl %edx, %edx
cmovnsl %edx, %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x3, %rcx
addq 0x8(%rbx), %rcx
movl %eax, 0x8(%rcx)
movq %rbx, %rdi
movl $0x14, %esi
movl -0x34(%rbp), %edx
movl -0x88(%rbp), %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq %rbx, %rdi
movl $0x14, %esi
movl -0x60(%rbp), %edx
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq 0x30(%rbx), %rax
movq 0x80(%rax), %rcx
testq %rcx, %rcx
je 0x5d52e
movl -0x70(%rbp), %esi
notl %esi
movl 0x3c(%rbx), %edx
movslq %esi, %rsi
movl %edx, (%rcx,%rsi,4)
movl 0x3c(%rbx), %ecx
decl %ecx
movl %ecx, 0x68(%rax)
movq %rbx, %rdi
movl $0x2a, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq %rbx, %rdi
movl %eax, %esi
movq -0xf0(%rbp), %rdx
movl $0xfffffff1, %ecx       # imm = 0xFFFFFFF1
callq 0x14ab9
movl -0xb8(%rbp), %edx
movl -0x118(%rbp), %ecx
movq %rbx, %rdi
movl $0x2b, %esi
movl -0xf8(%rbp), %r8d
callq 0x3fa9e
movq %rbx, %rdi
movl %eax, %esi
movq -0x108(%rbp), %rdx
movl $0xfffffffa, %ecx       # imm = 0xFFFFFFFA
callq 0x14ab9
movq (%rbx), %rax
cmpb $0x0, 0x51(%rax)
je 0x5d5a8
leaq 0x37f42(%rip), %rax     # 0x954e8
jmp 0x5d5bc
movslq 0x3c(%rbx), %rax
movq 0x8(%rbx), %rcx
leaq (%rax,%rax,2), %rax
leaq (%rcx,%rax,8), %rax
addq $-0x18, %rax
movb $0x1, 0x3(%rax)
movq %rbx, %rdi
movl $0x2c, %esi
movl %r12d, %edx
movl -0x58(%rbp), %ecx
movl -0x40(%rbp), %r8d
callq 0x3fa9e
movq 0x30(%rbx), %rax
movq 0x80(%rax), %rcx
testq %rcx, %rcx
je 0x5d5f6
movq -0x48(%rbp), %rsi
notl %esi
movl 0x3c(%rbx), %edx
movslq %esi, %rsi
movl %edx, (%rcx,%rsi,4)
movl 0x3c(%rbx), %ecx
decl %ecx
movl %ecx, 0x68(%rax)
cmpb $0x9, (%r15)
movq -0x78(%rbp), %rbx
jne 0x5d627
movq -0x50(%rbp), %rcx
movq %rcx, %rax
movq 0x50(%rcx), %rcx
testq %rcx, %rcx
jne 0x5d60c
movq (%rax), %rdx
movq 0x28(%rax), %rsi
movq %rbx, %rdi
callq 0x615c6
movq -0x30(%rbp), %rax
movq 0x50(%rax), %rsi
testq %rsi, %rsi
je 0x5d642
movq -0x80(%rbp), %rdi
movl $0x1, %edx
callq 0x3d9e2
movq -0x30(%rbp), %rax
movq -0x50(%rbp), %rcx
movq %rcx, 0x50(%rax)
movq %rax, 0x58(%rcx)
movzbl 0x8(%rax), %esi
movq %rbx, %rdi
movl -0x100(%rbp), %edx
movl -0xe8(%rbp), %ecx
xorl %r8d, %r8d
callq 0x61bb6
xorl %r15d, %r15d
cmpl $0x0, 0x4c(%rbx)
setne %r15b
jmp 0x5cb61
movq %r14, %rsi
xorl %edx, %edx
movl -0x40(%rbp), %r8d
jmp 0x5d68f
movq %r14, %rsi
movl 0x4c(%rbx,%rax), %edx
movq 0x48(%r12), %r14
movl 0x50(%r15), %edi
leal 0x1(%rdi), %eax
movl %eax, 0x50(%r15)
cmpb $0x73, 0x8(%r12)
movq %r14, -0x40(%rbp)
jne 0x5d6c1
movl %eax, -0x34(%rbp)
testq %r14, %r14
setne %al
addb %al, %al
addb $0x6, %al
leal 0x2(%rdi), %ecx
movl %ecx, 0x50(%r15)
jmp 0x5d6d2
testq %r14, %r14
setne %al
addb %al, %al
orb $0x5, %al
movl $0x0, -0x34(%rbp)
movb %al, -0xc0(%rbp)
movl %edi, -0xbc(%rbp)
movb $0x0, -0xbf(%rbp)
movq $0x0, -0xb8(%rbp)
movl 0x54(%r15), %ecx
incl %ecx
movl %ecx, 0x54(%r15)
movq %rsi, %r14
movq %rdi, %r12
movq %rsi, %rdi
movl $0x3d, %esi
movl %edx, -0x68(%rbp)
movl %ecx, -0xf0(%rbp)
movl %r8d, %ebx
callq 0x3fa9e
cmpq $0x0, -0x40(%rbp)
movq %r12, -0xf8(%rbp)
je 0x5d773
movq %r15, %rdi
movq -0x30(%rbp), %rsi
callq 0x61cb3
movq %r13, %r15
movq %rax, %r13
movq -0x40(%rbp), %rbx
movl (%rbx), %ecx
addl $0x2, %ecx
movq %r14, %rdi
movl $0x3a, %esi
movl %r12d, %edx
xorl %r8d, %r8d
callq 0x3fa9e
movq %r14, %rdi
movl %eax, %esi
movq %r13, %rdx
movq %r15, %r13
movl $0xfffffffa, %ecx       # imm = 0xFFFFFFFA
callq 0x14ab9
movq %rbx, -0xb0(%rbp)
jmp 0x5d788
movq %r14, %rdi
movl $0x3a, %esi
movl %r12d, %edx
movl %ebx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movl -0x34(%rbp), %edx
testl %edx, %edx
movq -0x30(%rbp), %r15
je 0x5d7ae
movq %r14, %rdi
movl $0x3a, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movl %eax, 0x14(%r15)
orb $0x10, 0xa(%r15)
xorl %eax, %eax
movq %rax, 0x48(%r15)
movq -0x58(%rbp), %rbx
movq %rax, 0x58(%rbx)
leaq -0xc0(%rbp), %rdx
movq -0x78(%rbp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x45a6e
movq %r15, 0x58(%rbx)
testl %eax, %eax
jne 0x5dd40
movq -0x48(%rbp), %r15
movq %r15, %rdi
movl $0x6e, %esi
movq -0xf8(%rbp), %rbx
movl %ebx, %edx
movq -0x88(%rbp), %r14
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movl %eax, -0x34(%rbp)
movq %r15, %rdi
movl $0x6a, %esi
movl -0x68(%rbp), %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq -0x40(%rbp), %rax
testq %rax, %rax
je 0x5dbf6
movl (%rax), %ecx
incl %ecx
movq %r15, %rdi
movl $0x30, %esi
movl %ebx, %edx
movl -0xf0(%rbp), %r8d
jmp 0x5dc09
movl $0x1, %r13d
movq (%rsi), %rax
cmpl (%rax), %r13d
jg 0x5cc17
testl %r12d, %r12d
jle 0x5d87d
movq 0x8(%rbx), %rcx
addq $0x1c, %rcx
xorl %eax, %eax
movzwl (%rcx), %edx
cmpl %edx, %r13d
je 0x5d87f
incl %eax
addq $0x20, %rcx
cmpl %eax, %r12d
jne 0x5d865
movl %r12d, %eax
jmp 0x5d87f
xorl %eax, %eax
movb $0x1, %r14b
cmpl %r12d, %eax
jne 0x5d8f2
movq $0x0, -0xc0(%rbp)
movl $0x0, -0xb8(%rbp)
movq -0x80(%rbp), %rdi
movl $0x84, %esi
leaq -0xc0(%rbp), %rdx
xorl %ecx, %ecx
callq 0x56afe
testq %rax, %rax
setne %r14b
je 0x5d8ee
orb $0x4, 0x5(%rax)
movl %r13d, 0x8(%rax)
movq %r15, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x475f8
movq %rax, %rbx
testq %rax, %rax
je 0x5d8ee
movq 0x8(%rbx), %rax
movslq %r12d, %rcx
incl %r12d
shlq $0x5, %rcx
movw %r13w, 0x1c(%rax,%rcx)
movq -0x30(%rbp), %rsi
testb %r14b, %r14b
je 0x5dea9
incl %r13d
movq -0x80(%rbp), %r14
cmpb $0x0, 0x51(%r14)
je 0x5d84a
jmp 0x5cc17
movl 0x50(%r15), %r14d
leal 0x1(%r14), %ecx
movl %ecx, 0x50(%r15)
movq %rax, %rdi
movl $0x3a, %esi
movl %r14d, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq -0x30(%rbp), %rcx
movl %eax, 0x14(%rcx)
movq %rcx, %rax
movq 0x58(%rcx), %rcx
testq %rcx, %rcx
jne 0x5d93a
orb $0x10, 0xa(%rax)
leaq -0xc0(%rbp), %rdx
movw $0x1, (%rdx)
movl %r14d, 0x4(%rdx)
movq $0x0, 0x8(%rdx)
movq %r14, %r12
movl 0x200(%r15), %r14d
movq %r15, %rdi
movq %rbx, %rsi
callq 0x45a6e
testl %eax, %eax
jne 0x5dbe9
movq %r15, %rdi
movl %eax, -0x34(%rbp)
movq %r12, -0x58(%rbp)
movl %r14d, -0x70(%rbp)
movq -0x30(%rbp), %r12
cmpb $0x75, 0x8(%r12)
sete %al
incb %al
xorl %ecx, %ecx
movq %rcx, 0x50(%r12)
movq 0x60(%r12), %r14
xorps %xmm0, %xmm0
movq 0x68(%r12), %r15
movups %xmm0, 0x60(%r12)
leaq -0xc0(%rbp), %rdx
movb %al, (%rdx)
movl 0x200(%rdi), %eax
movq %rax, -0x60(%rbp)
movq %r12, %rsi
callq 0x45a6e
movl %eax, -0x40(%rbp)
movq 0x48(%r12), %rsi
movq -0x80(%rbp), %rdi
callq 0x3d971
movq 0x50(%r12), %rax
movq %rax, -0x48(%rbp)
movq %rbx, 0x50(%r12)
xorl %eax, %eax
movq %rax, 0x48(%r12)
cmpb $0x73, 0x8(%r12)
jne 0x5da08
movq 0x20(%rbx), %rax
addq %rax, 0x20(%r12)
movq -0x30(%rbp), %rax
movq 0x60(%rax), %rsi
movq -0x80(%rbp), %rdi
callq 0x3d8f7
movq -0x30(%rbp), %rax
movq %r14, 0x60(%rax)
movq %r15, 0x68(%rax)
movq $0x0, 0xc(%rax)
movzbl -0xe0(%rbp), %eax
cmpl $0x1, %eax
je 0x5dfef
cmpl $0x9, %eax
movq -0x78(%rbp), %r14
jne 0x5da65
movq -0x30(%rbp), %rcx
movq %rcx, %rax
movq 0x50(%rcx), %rcx
testq %rcx, %rcx
jne 0x5da4a
movq (%rax), %rdx
movq 0x28(%rax), %rsi
movq %r14, %rdi
callq 0x615c6
movq -0x50(%rbp), %r15
movq %r15, %rdi
callq 0x528c8
movl %eax, %ebx
movq %r15, %rdi
callq 0x528c8
movq %rax, -0x88(%rbp)
movq %r14, %rdi
movq -0x30(%rbp), %r12
movq %r12, %rsi
movl %ebx, %edx
callq 0x5e411
movq %r15, %rdi
movl $0x6e, %esi
movq -0x58(%rbp), %r14
movl %r14d, %edx
movl %ebx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movl 0x3c(%r15), %eax
movl %eax, -0x68(%rbp)
movq (%r12), %rdx
subq $0x8, %rsp
leaq -0xe0(%rbp), %rax
movq -0x78(%rbp), %rdi
movq %r12, %rsi
movl %r14d, %ecx
movq -0x88(%rbp), %r14
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %rbx
pushq %r14
pushq %rax
callq 0x5f765
addq $0x20, %rsp
movq 0x30(%r15), %rax
movq 0x80(%rax), %rcx
testq %rcx, %rcx
je 0x5db03
notl %r14d
movl 0x3c(%r15), %edx
movslq %r14d, %rsi
movl %edx, (%rcx,%rsi,4)
movl 0x3c(%r15), %ecx
decl %ecx
movl %ecx, 0x68(%rax)
movq -0x50(%rbp), %rdi
movl $0x8, %esi
movq -0x58(%rbp), %r14
movl %r14d, %edx
movl -0x68(%rbp), %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq -0x50(%rbp), %rdi
movq 0x30(%rdi), %rax
movq 0x80(%rax), %rcx
testq %rcx, %rcx
movq -0x60(%rbp), %r12
je 0x5db4a
notl %ebx
movl 0x3c(%rdi), %edx
movslq %ebx, %rsi
movl %edx, (%rcx,%rsi,4)
movl 0x3c(%rdi), %ecx
decl %ecx
movl %ecx, 0x68(%rax)
movl $0x3e, %esi
movl %r14d, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movl -0x40(%rbp), %r15d
movq -0x48(%rbp), %r8
movl -0x70(%rbp), %r14d
movq %r12, %rcx
jmp 0x5dfff
movl 0x50(%r15), %edx
leal 0x2(%rdx), %esi
movl %esi, 0x50(%r15)
movq %rax, %rdi
movq %rcx, %r14
movl $0x3a, %esi
movq %rdx, -0x58(%rbp)
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movl %eax, 0x14(%r14)
movq %r14, %rcx
movq %rcx, %rax
movq 0x58(%rcx), %rcx
testq %rcx, %rcx
jne 0x5dba3
orb $0x10, 0xa(%rax)
leaq -0xc0(%rbp), %rdx
movw $0x1, (%rdx)
movq -0x58(%rbp), %r12
movl %r12d, 0x4(%rdx)
movq $0x0, 0x8(%rdx)
movl 0x200(%r15), %r14d
movq %r15, %rdi
movq %rbx, %rsi
callq 0x45a6e
testl %eax, %eax
je 0x5deb4
xorl %ecx, %ecx
xorl %r8d, %r8d
movl %eax, %r15d
jmp 0x5e249
movq %r15, %rdi
movl $0x68, %esi
movl %ebx, %edx
movl -0xf0(%rbp), %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq %r15, %rdi
movl $0x63, %esi
movl %ebx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq %r15, %rdi
callq 0x528c8
movl %eax, %ebx
movl -0xa8(%rbp), %edx
testl %edx, %edx
movq -0x78(%rbp), %r12
jle 0x5dc4f
movq %r15, %rdi
movl $0x8b, %esi
movl %ebx, %ecx
movl $0x1, %r8d
callq 0x3fa9e
movq -0x30(%rbp), %rsi
movq (%rsi), %rdx
subq $0x8, %rsp
leaq -0xe0(%rbp), %rax
movq %r12, %rdi
movl -0x68(%rbp), %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %r14
pushq %rbx
pushq %rax
callq 0x5f765
addq $0x20, %rsp
movl -0x98(%rbp), %edx
testl %edx, %edx
je 0x5dc97
movq %r15, %rdi
movl $0x8e, %esi
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq 0x30(%r15), %rax
movq 0x80(%rax), %rcx
testq %rcx, %rcx
je 0x5dcb3
notl %ebx
movl 0x3c(%r15), %edx
movslq %ebx, %rsi
movl %edx, (%rcx,%rsi,4)
movl 0x3c(%r15), %ecx
decl %ecx
movl %ecx, 0x68(%rax)
movq -0x30(%rbp), %rbx
testb $0x8, 0xa(%rbx)
jne 0x5dcea
movq $0x0, 0x50(%rbx)
leaq -0xc0(%rbp), %rdx
movq %r12, %rdi
movq %rbx, %rsi
callq 0x45a6e
movq -0x58(%rbp), %rax
movq %rax, 0x50(%rbx)
jmp 0x5dcfb
leaq 0x21c78(%rip), %rsi     # 0x7f969
movq %r12, %rdi
xorl %eax, %eax
callq 0x14804
movl -0x34(%rbp), %ecx
movq -0x48(%rbp), %rbx
movq %rbx, %rdi
movl $0xe, %esi
xorl %edx, %edx
xorl %r8d, %r8d
callq 0x3fa9e
movq 0x30(%rbx), %rax
movq 0x80(%rax), %rcx
testq %rcx, %rcx
je 0x5dd30
notl %r14d
movl 0x3c(%rbx), %edx
movslq %r14d, %rsi
movl %edx, (%rcx,%rsi,4)
movl 0x3c(%rbx), %ecx
decl %ecx
movl %ecx, 0x68(%rax)
movq -0x30(%rbp), %r15
movq -0x78(%rbp), %r14
movq (%r14), %rdi
movq 0x48(%r15), %rsi
callq 0x3d971
movq -0x40(%rbp), %rax
movq %rax, 0x48(%r15)
movq -0x60(%rbp), %rax
movq %rax, 0x60(%r15)
movq -0x70(%rbp), %rax
movq %rax, 0x68(%r15)
xorl %ecx, %ecx
xorl %r14d, %r14d
xorl %r8d, %r8d
xorl %r15d, %r15d
movq %r8, -0x48(%rbp)
movl %r15d, -0x40(%rbp)
movq -0x30(%rbp), %rax
movzbl 0x8(%rax), %esi
xorl %r8d, %r8d
cmpl $0x74, %esi
setne %r8b
movq -0x78(%rbp), %r15
movq %r15, %rdi
movl %r14d, %edx
callq 0x61bb6
movq -0x30(%rbp), %rax
testb $0x10, 0xa(%rax)
je 0x5de94
movq (%rax), %rax
movl (%rax), %ebx
movq -0x80(%rbp), %r12
movq %r12, %rdi
movl %ebx, %esi
movl $0x1, %edx
callq 0x50dad
testq %rax, %rax
je 0x5dea1
movq %rax, %r14
movq %r13, -0xa0(%rbp)
testl %ebx, %ebx
movq -0x30(%rbp), %rsi
jle 0x5de7b
xorl %r13d, %r13d
movq %r15, %rdi
movl %r13d, %edx
callq 0x61c4d
movq %rax, 0x20(%r14,%r13,8)
testq %rax, %rax
jne 0x5ddff
movq 0x10(%r12), %rax
movq %rax, 0x20(%r14,%r13,8)
incq %r13
cmpl %r13d, %ebx
movq -0x30(%rbp), %rsi
jne 0x5dde0
jmp 0x5de7b
xorl %r15d, %r15d
movslq 0x14(%rsi,%r15), %r13
testq %r13, %r13
js 0x5de77
movq %rsi, %r12
movq -0x50(%rbp), %rdi
movq (%rdi), %rax
cmpb $0x0, 0x51(%rax)
leaq 0x376b9(%rip), %rax     # 0x954e8
jne 0x5de44
leaq (,%r13,2), %rax
addq %r13, %rax
shlq $0x3, %rax
addq 0x8(%rdi), %rax
movl %ebx, 0x8(%rax)
incl (%r14)
movl %r13d, %esi
movq %r14, %rdx
movl $0xfffffffa, %ecx       # imm = 0xFFFFFFFA
callq 0x14ab9
movq %r12, %rsi
movl $0xffffffff, 0x14(%r12,%r15) # imm = 0xFFFFFFFF
testl %r13d, %r13d
js 0x5de77
leaq 0x4(%r15), %rax
testq %r15, %r15
movq %rax, %r15
je 0x5de10
movq 0x50(%rsi), %rsi
testq %rsi, %rsi
jne 0x5de0d
decl (%r14)
jne 0x5de8d
movq %r14, %rdi
callq 0xa620
movq -0xa0(%rbp), %r13
movl -0x40(%rbp), %r15d
movq -0x48(%rbp), %r8
jmp 0x5cb3c
movl $0x7, %r15d
jmp 0x5de98
movl $0x7, %r15d
jmp 0x5cb61
movl %eax, -0x88(%rbp)
movl %r14d, -0x70(%rbp)
leal 0x1(%r12), %r14d
movq -0x50(%rbp), %rdi
movl $0x3a, %esi
movl %r14d, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq -0x30(%rbp), %r12
movl %eax, 0x18(%r12)
movq $0x0, 0x50(%r12)
movq 0x60(%r12), %rax
movq %rax, -0x68(%rbp)
movq %r15, %rdi
movq 0x68(%r12), %r15
xorps %xmm0, %xmm0
movups %xmm0, 0x60(%r12)
leaq -0xc0(%rbp), %rdx
movl %r14d, -0x34(%rbp)
movl %r14d, 0x4(%rdx)
movl 0x200(%rdi), %eax
movq %rax, -0x60(%rbp)
movq %r12, %rsi
callq 0x45a6e
movl %eax, -0x40(%rbp)
movq 0x20(%r12), %rcx
movq 0x50(%r12), %rax
movq %rax, -0x48(%rbp)
movq %rbx, 0x50(%r12)
movq 0x20(%rbx), %rax
cmpq %rax, %rcx
jbe 0x5df4a
movq %rax, 0x20(%r12)
movq 0x60(%r12), %rsi
movq -0x80(%rbp), %rdi
callq 0x3d8f7
movq -0x68(%rbp), %rax
movq %rax, 0x60(%r12)
movq %r15, 0x68(%r12)
cmpb $0x9, -0xe0(%rbp)
movq -0x78(%rbp), %r15
jne 0x5df93
movq %r12, %rax
movq 0x50(%r12), %r12
testq %r12, %r12
jne 0x5df73
movq (%rax), %rdx
movq 0x28(%rax), %rsi
movq %r15, %rdi
callq 0x615c6
movq -0x30(%rbp), %r12
movq -0x50(%rbp), %r14
movq %r14, %rdi
callq 0x528c8
movl %eax, %ebx
movq %r14, %rdi
callq 0x528c8
movq %rax, -0x68(%rbp)
movq %r15, %rdi
movq %r12, %rsi
movl %ebx, %edx
callq 0x5e411
movq %r14, %rdi
movl $0x6e, %esi
movq -0x58(%rbp), %rdx
movl %ebx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movb 0x1f(%r15), %al
testb %al, %al
je 0x5e0bd
decb %al
movb %al, 0x1f(%r15)
movzbl %al, %eax
movl 0x24(%r15,%rax,4), %r14d
jmp 0x5e0c8
movq -0x60(%rbp), %rcx
movl -0x40(%rbp), %r15d
movq -0x48(%rbp), %r8
movl -0x70(%rbp), %r14d
movl -0x34(%rbp), %eax
jmp 0x5e249
movl $0x0, -0x40(%rbp)
movl 0x200(%r15), %eax
movq %rax, -0x60(%rbp)
leaq -0xe0(%rbp), %rdx
movq %r15, %rdi
movq -0x30(%rbp), %rsi
callq 0x45a6e
movq -0x30(%rbp), %rdx
movq 0x50(%rdx), %r8
movq %rbx, 0x50(%rdx)
movq 0x20(%rbx), %rcx
addq %rcx, 0x20(%rdx)
movl %eax, %r15d
movq 0x60(%rbx), %rdi
testq %rdi, %rdi
je 0x5e084
leaq -0xc0(%rbp), %rbx
movq %rbx, %rsi
movq %r8, %r14
callq 0x55469
movq %r14, %r8
movq -0x30(%rbp), %rsi
testl %eax, %eax
setne %cl
movl (%rbx), %eax
testl %eax, %eax
setg %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x5e084
movl %eax, %eax
cmpq %rax, 0x20(%rsi)
jbe 0x5e084
movq %rax, 0x20(%rsi)
movl -0x40(%rbp), %eax
testl %eax, %eax
movl -0x70(%rbp), %r14d
je 0x5e13d
movq -0x50(%rbp), %rsi
movl 0x3c(%rsi), %edi
leal -0x1(%rdi), %ecx
movq 0x30(%rsi), %rdx
movl %ecx, 0x68(%rdx)
movq (%rsi), %rdx
cmpb $0x0, 0x51(%rdx)
je 0x5e149
leaq 0x37430(%rip), %rcx     # 0x954e8
jmp 0x5e15d
movl 0x54(%r15), %r14d
incl %r14d
movl %r14d, 0x54(%r15)
movq -0x50(%rbp), %r12
movq %r12, %rdi
movl $0x67, %esi
movq -0x58(%rbp), %rdx
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movl %eax, -0x98(%rbp)
movq %r12, %rdi
movl $0x46, %esi
movl -0x34(%rbp), %edx
movq -0x68(%rbp), %rcx
movl %r14d, %r8d
xorl %r9d, %r9d
callq 0x149ac
testl %r14d, %r14d
movq -0x30(%rbp), %rsi
je 0x5e171
movzbl 0x1f(%r15), %eax
cmpq $0x7, %rax
ja 0x5e171
xorl %ecx, %ecx
cmpl %r14d, 0x94(%r15,%rcx)
je 0x5e168
addq $0x14, %rcx
cmpl $0xc8, %ecx
jne 0x5e119
leal 0x1(%rax), %ecx
movb %cl, 0x1f(%r15)
movl %r14d, 0x24(%r15,%rax,4)
jmp 0x5e171
movq -0x60(%rbp), %rcx
movl -0x48(%rbp), %eax
jmp 0x5e249
testl %eax, %eax
cmovnsl %eax, %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x3, %rcx
addq 0x8(%rsi), %rcx
movl -0x48(%rbp), %eax
movl %edi, 0x8(%rcx)
jmp 0x5e245
movb $0x1, 0x8e(%r15,%rcx)
movq (%rsi), %rdx
subq $0x8, %rsp
leaq -0xe0(%rbp), %rax
movq %r15, %rdi
movq -0x58(%rbp), %r12
movl %r12d, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %rbx
movq -0x68(%rbp), %r14
pushq %r14
pushq %rax
callq 0x5f765
addq $0x20, %rsp
movq -0x50(%rbp), %rdi
movq 0x30(%rdi), %rax
movq 0x80(%rax), %rcx
testq %rcx, %rcx
je 0x5e1c0
notl %r14d
movl 0x3c(%rdi), %edx
movslq %r14d, %rsi
movl %edx, (%rcx,%rsi,4)
movl 0x3c(%rdi), %ecx
decl %ecx
movl %ecx, 0x68(%rax)
movq -0x50(%rbp), %rdi
movl $0x8, %esi
movl %r12d, %edx
movl -0x98(%rbp), %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq -0x50(%rbp), %rdi
movq 0x30(%rdi), %rax
movq 0x80(%rax), %rcx
testq %rcx, %rcx
movl -0x40(%rbp), %r15d
movl -0x70(%rbp), %r14d
je 0x5e209
notl %ebx
movl 0x3c(%rdi), %edx
movslq %ebx, %rsi
movl %edx, (%rcx,%rsi,4)
movl 0x3c(%rdi), %ecx
decl %ecx
movl %ecx, 0x68(%rax)
movq %rdi, %rbx
movl $0x3e, %esi
movl -0x34(%rbp), %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq %rbx, %rdi
movl $0x3e, %esi
movl %r12d, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3fa9e
movq -0x48(%rbp), %r8
movl -0x88(%rbp), %eax
movq -0x60(%rbp), %rcx
testl %eax, %eax
jne 0x5cb3c
jmp 0x5dd6f