// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: analyzeOneTable
static void analyzeOneTable(
  Parse *pParse,   /* Parser context */
  Table *pTab,     /* Table whose indices are to be analyzed */
  Index *pOnlyIdx, /* If not NULL, only analyze this one index */
  int iStatCur,    /* Index of VdbeCursor that writes the sqlite_stat1 table */
  int iMem,        /* Available memory locations begin here */
  int iTab         /* Next available cursor */
){
  sqlite3 *db = pParse->db;    /* Database handle */
  Index *pIdx;                 /* An index to being analyzed */
  int iIdxCur;                 /* Cursor open on index being analyzed */
  int iTabCur;                 /* Table cursor */
  Vdbe *v;                     /* The virtual machine being built up */
  int i;                       /* Loop counter */
  int jZeroRows = -1;          /* Jump from here if number of rows is zero */
  int iDb;                     /* Index of database containing pTab */
  u8 needTableCnt = 1;         /* True to count the table */
  int regNewRowid = iMem++;    /* Rowid for the inserted record */
  int regStat = iMem++;        /* Register to hold StatAccum object */
  int regChng = iMem++;        /* Index of changed index field */
  int regRowid = iMem++;       /* Rowid argument passed to stat_push() */
  int regTemp = iMem++;        /* Temporary use register */
  int regTemp2 = iMem++;       /* Second temporary use register */
  int regTabname = iMem++;     /* Register containing table name */
  int regIdxname = iMem++;     /* Register containing index name */
  int regStat1 = iMem++;       /* Value for the stat column of sqlite_stat1 */
  int regPrev = iMem;          /* MUST BE LAST (see below) */
#ifdef SQLITE_ENABLE_PREUPDATE_HOOK
  Table *pStat1 = 0;
#endif

  pParse->nMem = MAX(pParse->nMem, iMem);
  v = sqlite3GetVdbe(pParse);
  if( v==0 || NEVER(pTab==0) ){
    return;
  }
  if( pTab->tnum==0 ){
    /* Do not gather statistics on views or virtual tables */
    return;
  }
  if( sqlite3_strlike("sqlite\\_%", pTab->zName, '\\')==0 ){
    /* Do not gather statistics on system tables */
    return;
  }
  assert( sqlite3BtreeHoldsAllMutexes(db) );
  iDb = sqlite3SchemaToIndex(db, pTab->pSchema);
  assert( iDb>=0 );
  assert( sqlite3SchemaMutexHeld(db, iDb, 0) );
#ifndef SQLITE_OMIT_AUTHORIZATION
  if( sqlite3AuthCheck(pParse, SQLITE_ANALYZE, pTab->zName, 0,
      db->aDb[iDb].zDbSName ) ){
    return;
  }
#endif

#ifdef SQLITE_ENABLE_PREUPDATE_HOOK
  if( db->xPreUpdateCallback ){
    pStat1 = (Table*)sqlite3DbMallocZero(db, sizeof(Table) + 13);
    if( pStat1==0 ) return;
    pStat1->zName = (char*)&pStat1[1];
    memcpy(pStat1->zName, "sqlite_stat1", 13);
    pStat1->nCol = 3;
    pStat1->iPKey = -1;
    sqlite3VdbeAddOp4(pParse->pVdbe, OP_Noop, 0, 0, 0,(char*)pStat1,P4_DYNBLOB);
  }
#endif

  /* Establish a read-lock on the table at the shared-cache level.
  ** Open a read-only cursor on the table. Also allocate a cursor number
  ** to use for scanning indexes (iIdxCur). No index cursor is opened at
  ** this time though.  */
  sqlite3TableLock(pParse, iDb, pTab->tnum, 0, pTab->zName);
  iTabCur = iTab++;
  iIdxCur = iTab++;
  pParse->nTab = MAX(pParse->nTab, iTab);
  sqlite3OpenTable(pParse, iTabCur, iDb, pTab, OP_OpenRead);
  sqlite3VdbeLoadString(v, regTabname, pTab->zName);

  for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){
    int nCol;                     /* Number of columns in pIdx. "N" */
    int addrRewind;               /* Address of "OP_Rewind iIdxCur" */
    int addrNextRow;              /* Address of "next_row:" */
    const char *zIdxName;         /* Name of the index */
    int nColTest;                 /* Number of columns to test for changes */

    if( pOnlyIdx && pOnlyIdx!=pIdx ) continue;
    if( pIdx->pPartIdxWhere==0 ) needTableCnt = 0;
    if( !HasRowid(pTab) && IsPrimaryKeyIndex(pIdx) ){
      nCol = pIdx->nKeyCol;
      zIdxName = pTab->zName;
      nColTest = nCol - 1;
    }else{
      nCol = pIdx->nColumn;
      zIdxName = pIdx->zName;
      nColTest = pIdx->uniqNotNull ? pIdx->nKeyCol-1 : nCol-1;
    }

    /* Populate the register containing the index name. */
    sqlite3VdbeLoadString(v, regIdxname, zIdxName);
    VdbeComment((v, "Analysis for %s.%s", pTab->zName, zIdxName));

    /*
    ** Pseudo-code for loop that calls stat_push():
    **
    **   Rewind csr
    **   if eof(csr) goto end_of_scan;
    **   regChng = 0
    **   goto chng_addr_0;
    **
    **  next_row:
    **   regChng = 0
    **   if( idx(0) != regPrev(0) ) goto chng_addr_0
    **   regChng = 1
    **   if( idx(1) != regPrev(1) ) goto chng_addr_1
    **   ...
    **   regChng = N
    **   goto chng_addr_N
    **
    **  chng_addr_0:
    **   regPrev(0) = idx(0)
    **  chng_addr_1:
    **   regPrev(1) = idx(1)
    **  ...
    **
    **  endDistinctTest:
    **   regRowid = idx(rowid)
    **   stat_push(P, regChng, regRowid)
    **   Next csr
    **   if !eof(csr) goto next_row;
    **
    **  end_of_scan:
    */

    /* Make sure there are enough memory cells allocated to accommodate
    ** the regPrev array and a trailing rowid (the rowid slot is required
    ** when building a record to insert into the sample column of
    ** the sqlite_stat4 table.  */
    pParse->nMem = MAX(pParse->nMem, regPrev+nColTest);

    /* Open a read-only cursor on the index being analyzed. */
    assert( iDb==sqlite3SchemaToIndex(db, pIdx->pSchema) );
    sqlite3VdbeAddOp3(v, OP_OpenRead, iIdxCur, pIdx->tnum, iDb);
    sqlite3VdbeSetP4KeyInfo(pParse, pIdx);
    VdbeComment((v, "%s", pIdx->zName));

    /* Invoke the stat_init() function. The arguments are:
    **
    **    (1) the number of columns in the index including the rowid
    **        (or for a WITHOUT ROWID table, the number of PK columns),
    **    (2) the number of columns in the key without the rowid/pk
    **    (3) estimated number of rows in the index,
    */
    sqlite3VdbeAddOp2(v, OP_Integer, nCol, regStat+1);
    assert( regRowid==regStat+2 );
    sqlite3VdbeAddOp2(v, OP_Integer, pIdx->nKeyCol, regRowid);
#ifdef SQLITE_ENABLE_STAT4
    if( OptimizationEnabled(db, SQLITE_Stat4) ){
      sqlite3VdbeAddOp2(v, OP_Count, iIdxCur, regTemp);
      addrRewind = sqlite3VdbeAddOp1(v, OP_Rewind, iIdxCur);
      VdbeCoverage(v);
    }else
#endif
    {
      addrRewind = sqlite3VdbeAddOp1(v, OP_Rewind, iIdxCur);
      VdbeCoverage(v);
      sqlite3VdbeAddOp3(v, OP_Count, iIdxCur, regTemp, 1);
    }
    assert( regTemp2==regStat+4 );
    sqlite3VdbeAddOp2(v, OP_Integer, db->nAnalysisLimit, regTemp2);
    sqlite3VdbeAddFunctionCall(pParse, 0, regStat+1, regStat, 4,
                               &statInitFuncdef, 0);

    /* Implementation of the following:
    **
    **   Rewind csr
    **   if eof(csr) goto end_of_scan;
    **   regChng = 0
    **   goto next_push_0;
    **
    */
    sqlite3VdbeAddOp2(v, OP_Integer, 0, regChng);
    addrNextRow = sqlite3VdbeCurrentAddr(v);

    if( nColTest>0 ){
      int endDistinctTest = sqlite3VdbeMakeLabel(pParse);
      int *aGotoChng;               /* Array of jump instruction addresses */
      aGotoChng = sqlite3DbMallocRawNN(db, sizeof(int)*nColTest);
      if( aGotoChng==0 ) continue;

      /*
      **  next_row:
      **   regChng = 0
      **   if( idx(0) != regPrev(0) ) goto chng_addr_0
      **   regChng = 1
      **   if( idx(1) != regPrev(1) ) goto chng_addr_1
      **   ...
      **   regChng = N
      **   goto endDistinctTest
      */
      sqlite3VdbeAddOp0(v, OP_Goto);
      addrNextRow = sqlite3VdbeCurrentAddr(v);
      if( nColTest==1 && pIdx->nKeyCol==1 && IsUniqueIndex(pIdx) ){
        /* For a single-column UNIQUE index, once we have found a non-NULL
        ** row, we know that all the rest will be distinct, so skip
        ** subsequent distinctness tests. */
        sqlite3VdbeAddOp2(v, OP_NotNull, regPrev, endDistinctTest);
        VdbeCoverage(v);
      }
      for(i=0; i<nColTest; i++){
        char *pColl = (char*)sqlite3LocateCollSeq(pParse, pIdx->azColl[i]);
        sqlite3VdbeAddOp2(v, OP_Integer, i, regChng);
        sqlite3VdbeAddOp3(v, OP_Column, iIdxCur, i, regTemp);
        analyzeVdbeCommentIndexWithColumnName(v,pIdx,i);
        aGotoChng[i] =
        sqlite3VdbeAddOp4(v, OP_Ne, regTemp, 0, regPrev+i, pColl, P4_COLLSEQ);
        sqlite3VdbeChangeP5(v, SQLITE_NULLEQ);
        VdbeCoverage(v);
      }
      sqlite3VdbeAddOp2(v, OP_Integer, nColTest, regChng);
      sqlite3VdbeGoto(v, endDistinctTest);


      /*
      **  chng_addr_0:
      **   regPrev(0) = idx(0)
      **  chng_addr_1:
      **   regPrev(1) = idx(1)
      **  ...
      */
      sqlite3VdbeJumpHere(v, addrNextRow-1);
      for(i=0; i<nColTest; i++){
        sqlite3VdbeJumpHere(v, aGotoChng[i]);
        sqlite3VdbeAddOp3(v, OP_Column, iIdxCur, i, regPrev+i);
        analyzeVdbeCommentIndexWithColumnName(v,pIdx,i);
      }
      sqlite3VdbeResolveLabel(v, endDistinctTest);
      sqlite3DbFree(db, aGotoChng);
    }

    /*
    **  chng_addr_N:
    **   regRowid = idx(rowid)            // STAT4 only
    **   stat_push(P, regChng, regRowid)  // 3rd parameter STAT4 only
    **   Next csr
    **   if !eof(csr) goto next_row;
    */
#ifdef SQLITE_ENABLE_STAT4
    if( OptimizationEnabled(db, SQLITE_Stat4) ){
      assert( regRowid==(regStat+2) );
      if( HasRowid(pTab) ){
        sqlite3VdbeAddOp2(v, OP_IdxRowid, iIdxCur, regRowid);
      }else{
        Index *pPk = sqlite3PrimaryKeyIndex(pIdx->pTable);
        int j, k, regKey;
        regKey = sqlite3GetTempRange(pParse, pPk->nKeyCol);
        for(j=0; j<pPk->nKeyCol; j++){
          k = sqlite3TableColumnToIndex(pIdx, pPk->aiColumn[j]);
          assert( k>=0 && k<pIdx->nColumn );
          sqlite3VdbeAddOp3(v, OP_Column, iIdxCur, k, regKey+j);
          analyzeVdbeCommentIndexWithColumnName(v,pIdx,k);
        }
        sqlite3VdbeAddOp3(v, OP_MakeRecord, regKey, pPk->nKeyCol, regRowid);
        sqlite3ReleaseTempRange(pParse, regKey, pPk->nKeyCol);
      }
    }
#endif
    assert( regChng==(regStat+1) );
    {
      sqlite3VdbeAddFunctionCall(pParse, 1, regStat, regTemp, 2+IsStat4,
                                 &statPushFuncdef, 0);
      if( db->nAnalysisLimit ){
        int j1, j2, j3;
        j1 = sqlite3VdbeAddOp1(v, OP_IsNull, regTemp); VdbeCoverage(v);
        j2 = sqlite3VdbeAddOp1(v, OP_If, regTemp); VdbeCoverage(v);
        j3 = sqlite3VdbeAddOp4Int(v, OP_SeekGT, iIdxCur, 0, regPrev, 1);
        VdbeCoverage(v);
        sqlite3VdbeJumpHere(v, j1);
        sqlite3VdbeAddOp2(v, OP_Next, iIdxCur, addrNextRow); VdbeCoverage(v);
        sqlite3VdbeJumpHere(v, j2);
        sqlite3VdbeJumpHere(v, j3);
      }else{
        sqlite3VdbeAddOp2(v, OP_Next, iIdxCur, addrNextRow); VdbeCoverage(v);
      }
    }

    /* Add the entry to the stat1 table. */
    callStatGet(pParse, regStat, STAT_GET_STAT1, regStat1);
    assert( "BBB"[0]==SQLITE_AFF_TEXT );
    sqlite3VdbeAddOp4(v, OP_MakeRecord, regTabname, 3, regTemp, "BBB", 0);
    sqlite3VdbeAddOp2(v, OP_NewRowid, iStatCur, regNewRowid);
    sqlite3VdbeAddOp3(v, OP_Insert, iStatCur, regTemp, regNewRowid);
#ifdef SQLITE_ENABLE_PREUPDATE_HOOK
    sqlite3VdbeChangeP4(v, -1, (char*)pStat1, P4_TABLE);
#endif
    sqlite3VdbeChangeP5(v, OPFLAG_APPEND);

    /* Add the entries to the stat4 table. */
#ifdef SQLITE_ENABLE_STAT4
    if( OptimizationEnabled(db, SQLITE_Stat4) && db->nAnalysisLimit==0 ){
      int regEq = regStat1;
      int regLt = regStat1+1;
      int regDLt = regStat1+2;
      int regSample = regStat1+3;
      int regCol = regStat1+4;
      int regSampleRowid = regCol + nCol;
      int addrNext;
      int addrIsNull;
      u8 seekOp = HasRowid(pTab) ? OP_NotExists : OP_NotFound;

      pParse->nMem = MAX(pParse->nMem, regCol+nCol);

      addrNext = sqlite3VdbeCurrentAddr(v);
      callStatGet(pParse, regStat, STAT_GET_ROWID, regSampleRowid);
      addrIsNull = sqlite3VdbeAddOp1(v, OP_IsNull, regSampleRowid);
      VdbeCoverage(v);
      callStatGet(pParse, regStat, STAT_GET_NEQ, regEq);
      callStatGet(pParse, regStat, STAT_GET_NLT, regLt);
      callStatGet(pParse, regStat, STAT_GET_NDLT, regDLt);
      sqlite3VdbeAddOp4Int(v, seekOp, iTabCur, addrNext, regSampleRowid, 0);
      VdbeCoverage(v);
      for(i=0; i<nCol; i++){
        sqlite3ExprCodeLoadIndexColumn(pParse, pIdx, iTabCur, i, regCol+i);
      }
      sqlite3VdbeAddOp3(v, OP_MakeRecord, regCol, nCol, regSample);
      sqlite3VdbeAddOp3(v, OP_MakeRecord, regTabname, 6, regTemp);
      sqlite3VdbeAddOp2(v, OP_NewRowid, iStatCur+1, regNewRowid);
      sqlite3VdbeAddOp3(v, OP_Insert, iStatCur+1, regTemp, regNewRowid);
      sqlite3VdbeAddOp2(v, OP_Goto, 1, addrNext); /* P1==1 for end-of-loop */
      sqlite3VdbeJumpHere(v, addrIsNull);
    }
#endif /* SQLITE_ENABLE_STAT4 */

    /* End of analysis */
    sqlite3VdbeJumpHere(v, addrRewind);
  }


  /* Create a single sqlite_stat1 entry containing NULL as the index
  ** name and the row count as the content.
  */
  if( pOnlyIdx==0 && needTableCnt ){
    VdbeComment((v, "%s", pTab->zName));
    sqlite3VdbeAddOp2(v, OP_Count, iTabCur, regStat1);
    jZeroRows = sqlite3VdbeAddOp1(v, OP_IfNot, regStat1); VdbeCoverage(v);
    sqlite3VdbeAddOp2(v, OP_Null, 0, regIdxname);
    assert( "BBB"[0]==SQLITE_AFF_TEXT );
    sqlite3VdbeAddOp4(v, OP_MakeRecord, regTabname, 3, regTemp, "BBB", 0);
    sqlite3VdbeAddOp2(v, OP_NewRowid, iStatCur, regNewRowid);
    sqlite3VdbeAddOp3(v, OP_Insert, iStatCur, regTemp, regNewRowid);
    sqlite3VdbeChangeP5(v, OPFLAG_APPEND);
#ifdef SQLITE_ENABLE_PREUPDATE_HOOK
    sqlite3VdbeChangeP4(v, -1, (char*)pStat1, P4_TABLE);
#endif
    sqlite3VdbeJumpHere(v, jZeroRows);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %r9, 0x90(%rsp)
movl %ecx, 0x50(%rsp)
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %rbp
movq (%rdi), %rax
movq %rax, 0x70(%rsp)
movq %r8, 0x60(%rsp)
leal 0x9(%r8), %edx
movl 0x38(%rdi), %eax
cmpl %edx, %eax
movq %rdx, 0x38(%rsp)
cmovlel %edx, %eax
movl %eax, 0x38(%rdi)
callq 0x2645be
movq %rax, %r14
testq %rax, %rax
sete %al
testq %r13, %r13
sete %cl
orb %al, %cl
jne 0x284aec
cmpl $0x0, 0x38(%r13)
je 0x284aec
movq (%r13), %rbx
leaq 0xf4f4a(%rip), %rdi     # 0x3799ef
pushq $0x5c
popq %rdx
movq %rbx, %rsi
callq 0x227d38
testl %eax, %eax
je 0x284aec
movq 0x70(%r13), %rsi
movq 0x70(%rsp), %r12
movq %r12, %rdi
callq 0x226e9e
movq 0x20(%r12), %rdx
movl %eax, %r12d
movslq %eax, %rcx
shlq $0x5, %rcx
movq (%rdx,%rcx), %r8
pushq $0x1c
popq %rsi
movq %rbp, %rdi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x26a651
testl %eax, %eax
je 0x284afe
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x60(%rsp), %rcx
leal 0x1(%rcx), %eax
movl %eax, 0x28(%rsp)
leal 0x2(%rcx), %eax
movl %eax, 0x2c(%rsp)
leal 0x3(%rcx), %eax
movl %eax, 0x84(%rsp)
movl %r12d, %ebx
leal 0x4(%rcx), %eax
movl %eax, 0x14(%rsp)
leal 0x5(%rcx), %eax
movl %eax, 0x80(%rsp)
leal 0x6(%rcx), %r12d
leal 0x7(%rcx), %eax
movl %eax, 0x4c(%rsp)
leal 0x8(%rcx), %eax
movl %eax, 0x44(%rsp)
movl 0x38(%r13), %edx
movq (%r13), %r8
movq %rbp, %rdi
movl %ebx, %esi
xorl %ecx, %ecx
callq 0x264778
movq 0x90(%rsp), %rsi
leal 0x1(%rsi), %eax
movl %eax, 0x10(%rsp)
leal 0x2(%rsi), %eax
movl 0x34(%rbp), %ecx
cmpl %eax, %ecx
cmovgl %ecx, %eax
movl %eax, 0x34(%rbp)
pushq $0x60
popq %r8
movq %rbp, %rdi
movl %ebx, 0x88(%rsp)
movl %ebx, %edx
movq %r13, %rcx
callq 0x2646bb
movq (%r13), %rdx
movq %r14, %rdi
movl %r12d, 0x48(%rsp)
movl %r12d, %esi
callq 0x26475f
leaq 0x10(%r13), %r12
movl 0x38(%rsp), %eax
movq %rax, 0xa0(%rsp)
movb $0x1, %sil
movq %r15, 0x98(%rsp)
movq %rbp, 0x78(%rsp)
xorl %edx, %edx
movq %r13, 0x68(%rsp)
movq (%r12), %r12
testq %r12, %r12
je 0x2850a3
testq %r15, %r15
setne %al
cmpq %r15, %r12
setne %cl
testb %cl, %al
jne 0x285082
cmpq $0x0, 0x48(%r12)
movzbl %sil, %esi
cmovel %edx, %esi
movzwl 0x63(%r12), %eax
testb $-0x80, 0x40(%r13)
movl %esi, 0x54(%rsp)
je 0x284c23
movl %eax, %ecx
andl $0x3, %ecx
cmpw $0x2, %cx
jne 0x284c23
movzwl 0x5e(%r12), %ecx
movq 0x68(%rsp), %rax
movq (%rax), %rdx
movl %ecx, 0x18(%rsp)
jmp 0x284c35
movzwl 0x60(%r12), %ecx
movq (%r12), %rdx
testb $0x8, %al
movl %ecx, 0x18(%rsp)
jne 0x284c39
movl %ecx, %ebx
jmp 0x284c3f
movzwl 0x5e(%r12), %ebx
movq %rbx, 0x30(%rsp)
movq %r14, %rdi
movl 0x4c(%rsp), %esi
callq 0x26475f
movl 0x38(%rbp), %eax
movq 0x38(%rsp), %rcx
addl %ebx, %ecx
decl %ecx
cmpl %ecx, %eax
cmovgl %eax, %ecx
movl %ecx, 0x38(%rbp)
movl 0x58(%r12), %ecx
movq %r14, %rdi
pushq $0x60
popq %rsi
movq %r12, %r13
movl 0x10(%rsp), %r12d
movl %r12d, %edx
movl 0x88(%rsp), %r8d
callq 0x24d51f
movq %rbp, %rdi
movq %r13, %rsi
callq 0x264872
movq %r14, %rdi
pushq $0x45
popq %r15
movl %r15d, %esi
movl 0x18(%rsp), %edx
movl 0x2c(%rsp), %ebx
movl %ebx, %ecx
callq 0x24d51a
movq %r13, 0x18(%rsp)
movzwl 0x5e(%r13), %edx
movq %r14, %rdi
movl %r15d, %esi
movl 0x84(%rsp), %ecx
callq 0x24d51a
movq %r14, %rdi
pushq $0x25
popq %rsi
movl %r12d, %edx
callq 0x265d5c
movl %eax, 0x8c(%rsp)
movq %r14, %rdi
pushq $0x5c
popq %rsi
movl %r12d, %edx
movl 0x14(%rsp), %r12d
movl %r12d, %ecx
pushq $0x1
popq %r13
movl %r13d, %r8d
callq 0x24d51f
movq 0x70(%rsp), %r15
movl 0x2b0(%r15), %edx
movq %r14, %rdi
pushq $0x45
popq %rsi
movl 0x80(%rsp), %ecx
callq 0x24d51a
andl $0x0, (%rsp)
movq %rbp, %rdi
xorl %esi, %esi
movl %ebx, %edx
movl 0x28(%rsp), %ecx
pushq $0x4
popq %r8
leaq 0x1b224f(%rip), %r9     # 0x436f80
callq 0x26660d
movq %r14, %rdi
pushq $0x45
popq %rsi
xorl %edx, %edx
movl %ebx, %ecx
movq 0x30(%rsp), %rbx
callq 0x24d51a
cmpl $0x2, %ebx
jb 0x284e72
decl %ebx
movl 0x44(%rbp), %eax
decl %eax
movl %eax, 0x24(%rsp)
movl %eax, 0x44(%rbp)
movl %ebx, %r12d
leaq (,%r12,4), %rsi
movq %r15, %rdi
callq 0x22d205
movq %rax, %r13
testq %rax, %rax
movq 0x68(%rsp), %rax
je 0x28508b
movq %r14, %rdi
pushq $0xb
popq %rsi
callq 0x2645ec
movl 0x90(%r14), %eax
movq %rax, 0x58(%rsp)
movq %rbx, 0x30(%rsp)
cmpl $0x1, %ebx
jne 0x284dd1
movq 0x18(%rsp), %rax
cmpw $0x1, 0x5e(%rax)
jne 0x284dd1
movq 0x18(%rsp), %rax
cmpb $0x0, 0x62(%rax)
je 0x284dd1
movq %r14, %rdi
pushq $0x33
popq %rsi
movq 0x38(%rsp), %rdx
movl 0x24(%rsp), %ecx
callq 0x24d51a
xorl %r15d, %r15d
cmpq %r15, %r12
je 0x284e83
movq 0x18(%rsp), %rax
movq 0x40(%rax), %rax
movq (%rax,%r15,8), %rsi
movq %rbp, %rdi
callq 0x264a12
movq %rax, %rbp
movq %r14, %rdi
pushq $0x45
popq %rsi
movl %r15d, %edx
movl 0x2c(%rsp), %ecx
callq 0x24d51a
movq %r14, %rdi
pushq $0x59
popq %rsi
movl 0x10(%rsp), %edx
movl %r15d, %ecx
movl 0x14(%rsp), %ebx
movl %ebx, %r8d
callq 0x24d51f
movq 0x38(%rsp), %rax
leal (%rax,%r15), %r8d
movl $0xfffffffe, (%rsp)     # imm = 0xFFFFFFFE
movq %r14, %rdi
pushq $0x34
popq %rsi
movl %ebx, %edx
xorl %ecx, %ecx
movq %rbp, %r9
callq 0x264609
movl %eax, (%r13,%r15,4)
movslq 0x90(%r14), %rax
testq %rax, %rax
jle 0x284e65
movq 0x88(%r14), %rcx
imulq $0x18, %rax, %rax
movw $0x80, -0x16(%rcx,%rax)
incq %r15
movq 0x78(%rsp), %rbp
jmp 0x284dd4
movl 0x90(%r14), %eax
movq %rax, 0x58(%rsp)
jmp 0x284f10
movq %r14, %rdi
pushq $0x45
popq %rsi
movq 0x30(%rsp), %rdx
movl 0x2c(%rsp), %ecx
callq 0x24d51a
movq %r14, %rdi
movl 0x24(%rsp), %esi
callq 0x264680
movq 0x58(%rsp), %rax
leal -0x1(%rax), %esi
movq %r14, %rdi
callq 0x2645f8
xorl %r15d, %r15d
cmpq %r15, %r12
je 0x284eeb
movl (%r13,%r15,4), %esi
movq %r14, %rdi
callq 0x2645f8
movq 0xa0(%rsp), %rax
leal (%rax,%r15), %r8d
movq %r14, %rdi
pushq $0x59
popq %rsi
movl 0x10(%rsp), %edx
movl %r15d, %ecx
callq 0x24d51f
incq %r15
jmp 0x284eb6
movq %r14, %rdi
movl 0x24(%rsp), %esi
callq 0x266fe1
movq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r13, %rsi
callq 0x22d0fc
movl 0x14(%rsp), %r12d
pushq $0x1
popq %r13
andl $0x0, (%rsp)
movq %rbp, %rdi
movl %r13d, %esi
movl 0x28(%rsp), %edx
movl %r12d, %ecx
pushq $0x2
popq %r8
leaq 0x1b209c(%rip), %r9     # 0x436fc8
callq 0x26660d
cmpl $0x0, 0x2b0(%r15)
movl %r12d, %r15d
movq 0x18(%rsp), %r12
movq %r14, %rdi
je 0x284fc1
pushq $0x32
popq %rsi
movl %r15d, %edx
callq 0x265d5c
movl %eax, %ebp
movq %r14, %rdi
pushq $0x12
popq %rsi
movl %r15d, %edx
callq 0x265d5c
movl %eax, 0x30(%rsp)
movq %r14, %rdi
pushq $0x19
popq %rsi
movl 0x10(%rsp), %ebx
movl %ebx, %edx
xorl %ecx, %ecx
movq 0x38(%rsp), %r8
movl %r13d, %r9d
callq 0x226fc2
movl %eax, %r13d
movq %r14, %rdi
movl %ebp, %esi
movq 0x78(%rsp), %rbp
callq 0x2645f8
movq %r14, %rdi
pushq $0x5
popq %rsi
movl %ebx, %edx
movq 0x58(%rsp), %rcx
callq 0x24d51a
movq %r14, %rdi
movl 0x30(%rsp), %esi
callq 0x2645f8
movq %r14, %rdi
movl %r13d, %esi
pushq $0x1
popq %r13
callq 0x2645f8
jmp 0x284fd2
pushq $0x5
popq %rsi
movl 0x10(%rsp), %edx
movq 0x58(%rsp), %rcx
callq 0x24d51a
andl $0x0, (%rsp)
movq %rbp, %rdi
xorl %esi, %esi
movl 0x28(%rsp), %edx
movl 0x44(%rsp), %ecx
movl %r13d, %r8d
leaq 0x1b2023(%rip), %r9     # 0x437010
callq 0x26660d
andl $0x0, (%rsp)
movq %r14, %rdi
pushq $0x5b
popq %rsi
movl 0x48(%rsp), %edx
pushq $0x3
popq %rcx
movl %r15d, %r8d
leaq 0xf49ec(%rip), %r9      # 0x3799f9
callq 0x264609
movq %r14, %rdi
pushq $0x78
popq %rsi
movl 0x50(%rsp), %ebp
movl %ebp, %edx
movq 0x60(%rsp), %rbx
movl %ebx, %ecx
callq 0x24d51a
movq %r14, %rdi
pushq $0x79
popq %rsi
movl %ebp, %edx
movl %r15d, %ecx
movl %ebx, %r8d
callq 0x24d51f
movslq 0x90(%r14), %rax
testq %rax, %rax
jle 0x28505b
movq 0x88(%r14), %rcx
imulq $0x18, %rax, %rax
movw $0x8, -0x16(%rcx,%rax)
movq %r14, %rdi
movl 0x8c(%rsp), %esi
callq 0x2645f8
movq 0x78(%rsp), %rbp
xorl %edx, %edx
movl 0x54(%rsp), %esi
movq 0x98(%rsp), %r15
movq 0x68(%rsp), %r13
addq $0x28, %r12
jmp 0x284bc5
movq 0x98(%rsp), %r15
xorl %edx, %edx
movl 0x54(%rsp), %esi
movq 0x18(%rsp), %r12
movq %rax, %r13
jmp 0x285082
testq %r15, %r15
jne 0x284aec
testb %sil, %sil
je 0x284aec
pushq $0x5c
popq %rsi
movq %r14, %rdi
movq 0x90(%rsp), %rdx
movl 0x44(%rsp), %ebx
movl %ebx, %ecx
callq 0x24d51a
pushq $0x14
popq %rsi
movq %r14, %rdi
movl %ebx, %edx
callq 0x265d5c
movl %eax, %ebx
pushq $0x48
popq %rsi
movq %r14, %rdi
xorl %edx, %edx
movl 0x4c(%rsp), %ecx
callq 0x24d51a
andl $0x0, (%rsp)
leaq 0xf4900(%rip), %r9      # 0x3799f9
pushq $0x5b
popq %rsi
pushq $0x3
popq %rcx
movq %r14, %rdi
movl 0x48(%rsp), %edx
movl 0x14(%rsp), %r12d
movl %r12d, %r8d
callq 0x264609
pushq $0x78
popq %rsi
movq %r14, %rdi
movl 0x50(%rsp), %ebp
movl %ebp, %edx
movq 0x60(%rsp), %r15
movl %r15d, %ecx
callq 0x24d51a
pushq $0x79
popq %rsi
movq %r14, %rdi
movl %ebp, %edx
movl %r12d, %ecx
movl %r15d, %r8d
callq 0x24d51f
movslq 0x90(%r14), %rax
testq %rax, %rax
jle 0x28515d
movq 0x88(%r14), %rcx
imulq $0x18, %rax, %rax
movw $0x8, -0x16(%rcx,%rax)
movq %r14, %rdi
movl %ebx, %esi
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2645f8