// File: /workspace/github_c_makefile_star2_O3/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3WhereBegin
SQLITE_PRIVATE WhereInfo *sqlite3WhereBegin(
  Parse *pParse,        /* The parser context */
  SrcList *pTabList,    /* FROM clause: A list of all tables to be scanned */
  Expr *pWhere,         /* The WHERE clause */
  ExprList *pOrderBy,   /* An ORDER BY clause, or NULL */
  ExprList *pResultSet, /* Result set of the query */
  u16 wctrlFlags,       /* One of the WHERE_* flags defined in sqliteInt.h */
  int iIdxCur           /* If WHERE_ONETABLE_ONLY is set, index cursor number */
){
  int nByteWInfo;            /* Num. bytes allocated for WhereInfo struct */
  int nTabList;              /* Number of elements in pTabList */
  WhereInfo *pWInfo;         /* Will become the return value of this function */
  Vdbe *v = pParse->pVdbe;   /* The virtual database engine */
  Bitmask notReady;          /* Cursors that are not yet positioned */
  WhereLoopBuilder sWLB;     /* The WhereLoop builder */
  WhereMaskSet *pMaskSet;    /* The expression mask set */
  WhereLevel *pLevel;        /* A single level in pWInfo->a[] */
  WhereLoop *pLoop;          /* Pointer to a single WhereLoop object */
  int ii;                    /* Loop counter */
  sqlite3 *db;               /* Database connection */
  int rc;                    /* Return code */


  /* Variable initialization */
  db = pParse->db;
  memset(&sWLB, 0, sizeof(sWLB));
  sWLB.pOrderBy = pOrderBy;

  /* Disable the DISTINCT optimization if SQLITE_DistinctOpt is set via
  ** sqlite3_test_ctrl(SQLITE_TESTCTRL_OPTIMIZATIONS,...) */
  if( OptimizationDisabled(db, SQLITE_DistinctOpt) ){
    wctrlFlags &= ~WHERE_WANT_DISTINCT;
  }

  /* The number of tables in the FROM clause is limited by the number of
  ** bits in a Bitmask 
  */
  testcase( pTabList->nSrc==BMS );
  if( pTabList->nSrc>BMS ){
    sqlite3ErrorMsg(pParse, "at most %d tables in a join", BMS);
    return 0;
  }

  /* This function normally generates a nested loop for all tables in 
  ** pTabList.  But if the WHERE_ONETABLE_ONLY flag is set, then we should
  ** only generate code for the first table in pTabList and assume that
  ** any cursors associated with subsequent tables are uninitialized.
  */
  nTabList = (wctrlFlags & WHERE_ONETABLE_ONLY) ? 1 : pTabList->nSrc;

  /* Allocate and initialize the WhereInfo structure that will become the
  ** return value. A single allocation is used to store the WhereInfo
  ** struct, the contents of WhereInfo.a[], the WhereClause structure
  ** and the WhereMaskSet structure. Since WhereClause contains an 8-byte
  ** field (type Bitmask) it must be aligned on an 8-byte boundary on
  ** some architectures. Hence the ROUND8() below.
  */
  nByteWInfo = ROUND8(sizeof(WhereInfo)+(nTabList-1)*sizeof(WhereLevel));
  pWInfo = sqlite3DbMallocZero(db, nByteWInfo + sizeof(WhereLoop));
  if( db->mallocFailed ){
    sqlite3DbFree(db, pWInfo);
    pWInfo = 0;
    goto whereBeginError;
  }
  pWInfo->nLevel = nTabList;
  pWInfo->pParse = pParse;
  pWInfo->pTabList = pTabList;
  pWInfo->pOrderBy = pOrderBy;
  pWInfo->pResultSet = pResultSet;
  pWInfo->iBreak = sqlite3VdbeMakeLabel(v);
  pWInfo->wctrlFlags = wctrlFlags;
  pWInfo->savedNQueryLoop = pParse->nQueryLoop;
  pMaskSet = &pWInfo->sMaskSet;
  sWLB.pWInfo = pWInfo;
  sWLB.pWC = &pWInfo->sWC;
  sWLB.pNew = (WhereLoop*)(((char*)pWInfo)+nByteWInfo);
  assert( EIGHT_BYTE_ALIGNMENT(sWLB.pNew) );
  whereLoopInit(sWLB.pNew);
#ifdef SQLITE_DEBUG
  sWLB.pNew->cId = '*';
#endif

  /* Split the WHERE clause into separate subexpressions where each
  ** subexpression is separated by an AND operator.
  */
  initMaskSet(pMaskSet);
  whereClauseInit(&pWInfo->sWC, pWInfo);
  sqlite3ExprCodeConstants(pParse, pWhere);
  whereSplit(&pWInfo->sWC, pWhere, TK_AND);
  sqlite3CodeVerifySchema(pParse, -1); /* Insert the cookie verifier Goto */
    
  /* Special case: a WHERE clause that is constant.  Evaluate the
  ** expression and either jump over all of the code or fall thru.
  */
  if( pWhere && (nTabList==0 || sqlite3ExprIsConstantNotJoin(pWhere)) ){
    sqlite3ExprIfFalse(pParse, pWhere, pWInfo->iBreak, SQLITE_JUMPIFNULL);
    pWhere = 0;
  }

  /* Special case: No FROM clause
  */
  if( nTabList==0 ){
    if( pOrderBy ) pWInfo->bOBSat = 1;
    if( wctrlFlags & WHERE_WANT_DISTINCT ){
      pWInfo->eDistinct = WHERE_DISTINCT_UNIQUE;
    }
  }

  /* Assign a bit from the bitmask to every term in the FROM clause.
  **
  ** When assigning bitmask values to FROM clause cursors, it must be
  ** the case that if X is the bitmask for the N-th FROM clause term then
  ** the bitmask for all FROM clause terms to the left of the N-th term
  ** is (X-1).   An expression from the ON clause of a LEFT JOIN can use
  ** its Expr.iRightJoinTable value to find the bitmask of the right table
  ** of the join.  Subtracting one from the right table bitmask gives a
  ** bitmask for all tables to the left of the join.  Knowing the bitmask
  ** for all tables to the left of a left join is important.  Ticket #3015.
  **
  ** Note that bitmasks are created for all pTabList->nSrc tables in
  ** pTabList, not just the first nTabList tables.  nTabList is normally
  ** equal to pTabList->nSrc but might be shortened to 1 if the
  ** WHERE_ONETABLE_ONLY flag is set.
  */
  for(ii=0; ii<pTabList->nSrc; ii++){
    createMask(pMaskSet, pTabList->a[ii].iCursor);
  }
#ifndef NDEBUG
  {
    Bitmask toTheLeft = 0;
    for(ii=0; ii<pTabList->nSrc; ii++){
      Bitmask m = getMask(pMaskSet, pTabList->a[ii].iCursor);
      assert( (m-1)==toTheLeft );
      toTheLeft |= m;
    }
  }
#endif

  /* Analyze all of the subexpressions.  Note that exprAnalyze() might
  ** add new virtual terms onto the end of the WHERE clause.  We do not
  ** want to analyze these virtual terms, so start analyzing at the end
  ** and work forward so that the added virtual terms are never processed.
  */
  exprAnalyzeAll(pTabList, &pWInfo->sWC);
  if( db->mallocFailed ){
    goto whereBeginError;
  }

  /* If the ORDER BY (or GROUP BY) clause contains references to general
  ** expressions, then we won't be able to satisfy it using indices, so
  ** go ahead and disable it now.
  */
  if( pOrderBy && (wctrlFlags & WHERE_WANT_DISTINCT)!=0 ){
    for(ii=0; ii<pOrderBy->nExpr; ii++){
      Expr *pExpr = sqlite3ExprSkipCollate(pOrderBy->a[ii].pExpr);
      if( pExpr->op!=TK_COLUMN ){
        pWInfo->pOrderBy = pOrderBy = 0;
        break;
      }else if( pExpr->iColumn<0 ){
        break;
      }
    }
  }

  if( wctrlFlags & WHERE_WANT_DISTINCT ){
    if( isDistinctRedundant(pParse, pTabList, &pWInfo->sWC, pResultSet) ){
      /* The DISTINCT marking is pointless.  Ignore it. */
      pWInfo->eDistinct = WHERE_DISTINCT_UNIQUE;
    }else if( pOrderBy==0 ){
      /* Try to ORDER BY the result set to make distinct processing easier */
      pWInfo->wctrlFlags |= WHERE_DISTINCTBY;
      pWInfo->pOrderBy = pResultSet;
    }
  }

  /* Construct the WhereLoop objects */
  WHERETRACE(0xffff,("*** Optimizer Start ***\n"));
  if( nTabList!=1 || whereShortCut(&sWLB)==0 ){
    rc = whereLoopAddAll(&sWLB);
    if( rc ) goto whereBeginError;
  
    /* Display all of the WhereLoop objects if wheretrace is enabled */
#ifdef WHERETRACE_ENABLED
    if( sqlite3WhereTrace ){
      WhereLoop *p;
      int i;
      static char zLabel[] = "0123456789abcdefghijklmnopqrstuvwyxz"
                                       "ABCDEFGHIJKLMNOPQRSTUVWYXZ";
      for(p=pWInfo->pLoops, i=0; p; p=p->pNextLoop, i++){
        p->cId = zLabel[i%sizeof(zLabel)];
        whereLoopPrint(p, pTabList);
      }
    }
#endif
  
    wherePathSolver(pWInfo, 0);
    if( db->mallocFailed ) goto whereBeginError;
    if( pWInfo->pOrderBy ){
       wherePathSolver(pWInfo, pWInfo->nRowOut+1);
       if( db->mallocFailed ) goto whereBeginError;
    }
  }
  if( pWInfo->pOrderBy==0 && (db->flags & SQLITE_ReverseOrder)!=0 ){
     pWInfo->revMask = (Bitmask)(-1);
  }
  if( pParse->nErr || NEVER(db->mallocFailed) ){
    goto whereBeginError;
  }
#ifdef WHERETRACE_ENABLED
  if( sqlite3WhereTrace ){
    int ii;
    sqlite3DebugPrintf("---- Solution nRow=%d", pWInfo->nRowOut);
    if( pWInfo->bOBSat ){
      sqlite3DebugPrintf(" ORDERBY=0x%llx", pWInfo->revMask);
    }
    switch( pWInfo->eDistinct ){
      case WHERE_DISTINCT_UNIQUE: {
        sqlite3DebugPrintf("  DISTINCT=unique");
        break;
      }
      case WHERE_DISTINCT_ORDERED: {
        sqlite3DebugPrintf("  DISTINCT=ordered");
        break;
      }
      case WHERE_DISTINCT_UNORDERED: {
        sqlite3DebugPrintf("  DISTINCT=unordered");
        break;
      }
    }
    sqlite3DebugPrintf("\n");
    for(ii=0; ii<pWInfo->nLevel; ii++){
      whereLoopPrint(pWInfo->a[ii].pWLoop, pTabList);
    }
  }
#endif
  /* Attempt to omit tables from the join that do not effect the result */
  if( pWInfo->nLevel>=2
   && pResultSet!=0
   && OptimizationEnabled(db, SQLITE_OmitNoopJoin)
  ){
    Bitmask tabUsed = exprListTableUsage(pMaskSet, pResultSet);
    if( sWLB.pOrderBy ) tabUsed |= exprListTableUsage(pMaskSet, sWLB.pOrderBy);
    while( pWInfo->nLevel>=2 ){
      WhereTerm *pTerm, *pEnd;
      pLoop = pWInfo->a[pWInfo->nLevel-1].pWLoop;
      if( (pWInfo->pTabList->a[pLoop->iTab].jointype & JT_LEFT)==0 ) break;
      if( (wctrlFlags & WHERE_WANT_DISTINCT)==0
       && (pLoop->wsFlags & WHERE_ONEROW)==0
      ){
        break;
      }
      if( (tabUsed & pLoop->maskSelf)!=0 ) break;
      pEnd = sWLB.pWC->a + sWLB.pWC->nTerm;
      for(pTerm=sWLB.pWC->a; pTerm<pEnd; pTerm++){
        if( (pTerm->prereqAll & pLoop->maskSelf)!=0
         && !ExprHasProperty(pTerm->pExpr, EP_FromJoin)
        ){
          break;
        }
      }
      if( pTerm<pEnd ) break;
      WHERETRACE(0xffff, ("-> drop loop %c not used\n", pLoop->cId));
      pWInfo->nLevel--;
      nTabList--;
    }
  }
  WHERETRACE(0xffff,("*** Optimizer Finished ***\n"));
  pWInfo->pParse->nQueryLoop += pWInfo->nRowOut;

  /* If the caller is an UPDATE or DELETE statement that is requesting
  ** to use a one-pass algorithm, determine if this is appropriate.
  ** The one-pass algorithm only works if the WHERE clause constraints
  ** the statement to update a single row.
  */
  assert( (wctrlFlags & WHERE_ONEPASS_DESIRED)==0 || pWInfo->nLevel==1 );
  if( (wctrlFlags & WHERE_ONEPASS_DESIRED)!=0 
   && (pWInfo->a[0].pWLoop->wsFlags & WHERE_ONEROW)!=0 ){
    pWInfo->okOnePass = 1;
    pWInfo->a[0].pWLoop->wsFlags &= ~WHERE_IDX_ONLY;
  }

  /* Open all tables in the pTabList and any indices selected for
  ** searching those tables.
  */
  notReady = ~(Bitmask)0;
  for(ii=0, pLevel=pWInfo->a; ii<nTabList; ii++, pLevel++){
    Table *pTab;     /* Table to open */
    int iDb;         /* Index of database containing table/index */
    struct SrcList_item *pTabItem;

    pTabItem = &pTabList->a[pLevel->iFrom];
    pTab = pTabItem->pTab;
    iDb = sqlite3SchemaToIndex(db, pTab->pSchema);
    pLoop = pLevel->pWLoop;
    if( (pTab->tabFlags & TF_Ephemeral)!=0 || pTab->pSelect ){
      /* Do nothing */
    }else
#ifndef SQLITE_OMIT_VIRTUALTABLE
    if( (pLoop->wsFlags & WHERE_VIRTUALTABLE)!=0 ){
      const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);
      int iCur = pTabItem->iCursor;
      sqlite3VdbeAddOp4(v, OP_VOpen, iCur, 0, 0, pVTab, P4_VTAB);
    }else if( IsVirtual(pTab) ){
      /* noop */
    }else
#endif
    if( (pLoop->wsFlags & WHERE_IDX_ONLY)==0
         && (wctrlFlags & WHERE_OMIT_OPEN_CLOSE)==0 ){
      int op = pWInfo->okOnePass ? OP_OpenWrite : OP_OpenRead;
      sqlite3OpenTable(pParse, pTabItem->iCursor, iDb, pTab, op);
      testcase( !pWInfo->okOnePass && pTab->nCol==BMS-1 );
      testcase( !pWInfo->okOnePass && pTab->nCol==BMS );
      if( !pWInfo->okOnePass && pTab->nCol<BMS ){
        Bitmask b = pTabItem->colUsed;
        int n = 0;
        for(; b; b=b>>1, n++){}
        sqlite3VdbeChangeP4(v, sqlite3VdbeCurrentAddr(v)-1, 
                            SQLITE_INT_TO_PTR(n), P4_INT32);
        assert( n<=pTab->nCol );
      }
    }else{
      sqlite3TableLock(pParse, iDb, pTab->tnum, 0, pTab->zName);
    }
    if( pLoop->wsFlags & WHERE_INDEXED ){
      Index *pIx = pLoop->u.btree.pIndex;
      KeyInfo *pKey = sqlite3IndexKeyinfo(pParse, pIx);
      /* FIXME:  As an optimization use pTabItem->iCursor if WHERE_IDX_ONLY */
      int iIndexCur = pLevel->iIdxCur = iIdxCur ? iIdxCur : pParse->nTab++;
      assert( pIx->pSchema==pTab->pSchema );
      assert( iIndexCur>=0 );
      sqlite3VdbeAddOp4(v, OP_OpenRead, iIndexCur, pIx->tnum, iDb,
                        (char*)pKey, P4_KEYINFO_HANDOFF);
      VdbeComment((v, "%s", pIx->zName));
    }
    sqlite3CodeVerifySchema(pParse, iDb);
    notReady &= ~getMask(&pWInfo->sMaskSet, pTabItem->iCursor);
  }
  pWInfo->iTop = sqlite3VdbeCurrentAddr(v);
  if( db->mallocFailed ) goto whereBeginError;

  /* Generate the code to do the search.  Each iteration of the for
  ** loop below generates code for a single nested loop of the VM
  ** program.
  */
  notReady = ~(Bitmask)0;
  for(ii=0; ii<nTabList; ii++){
    pLevel = &pWInfo->a[ii];
#ifndef SQLITE_OMIT_AUTOMATIC_INDEX
    if( (pLevel->pWLoop->wsFlags & WHERE_AUTO_INDEX)!=0 ){
      constructAutomaticIndex(pParse, &pWInfo->sWC,
                &pTabList->a[pLevel->iFrom], notReady, pLevel);
      if( db->mallocFailed ) goto whereBeginError;
    }
#endif
    explainOneScan(pParse, pTabList, pLevel, ii, pLevel->iFrom, wctrlFlags);
    pLevel->addrBody = sqlite3VdbeCurrentAddr(v);
    notReady = codeOneLoopStart(pWInfo, ii, notReady);
    pWInfo->iContinue = pLevel->addrCont;
  }

  /* Done. */
  return pWInfo;

  /* Jump here if malloc fails */
whereBeginError:
  if( pWInfo ){
    pParse->nQueryLoop = pWInfo->savedNQueryLoop;
    whereInfoFree(db, pWInfo);
  }
  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3f8, %rsp            # imm = 0x3F8
movq %r8, -0x80(%rbp)
movq %rdx, %rbx
movq 0x10(%rdi), %rdx
movq (%rdi), %r8
movq $0x0, -0x178(%rbp)
movq %rcx, -0x188(%rbp)
movl %r9d, %r15d
andl $0x7bff, %r15d          # imm = 0x7BFF
testb $0x20, 0x4c(%r8)
cmovel %r9d, %r15d
movzbl (%rsi), %eax
cmpl $0x41, %eax
jb 0x51efd
leaq 0x29bb0(%rip), %rsi     # 0x7ba9a
xorl %ebx, %ebx
movl $0x40, %edx
xorl %eax, %eax
callq 0x11842
jmp 0x52e48
movq %rcx, -0xa8(%rbp)
movq %rdx, -0x100(%rbp)
movq %rsi, -0x118(%rbp)
movq %rdi, -0x48(%rbp)
movzwl %r15w, %edx
movl %edx, -0xb4(%rbp)
testb $0x40, %dl
movl $0x1, %edx
cmovel %eax, %edx
movq %rdx, -0x70(%rbp)
leal (%rdx,%rdx,8), %eax
leal 0x33f(,%rax,8), %r12d
andl $0x7ff8, %r12d          # imm = 0x7FF8
leal 0x60(%r12), %r14d
movq %r8, -0xd8(%rbp)
movq %r8, %rdi
movl %r14d, %esi
callq 0x11721
movq %rax, %r13
testq %rax, %rax
je 0x51f6d
movl %r14d, %edx
movq %r13, %rdi
xorl %esi, %esi
callq 0x8200
movq %r13, -0x30(%rbp)
movq -0xd8(%rbp), %rdi
cmpb $0x0, 0x50(%rdi)
movq -0x48(%rbp), %rax
je 0x51f90
movq -0x30(%rbp), %rsi
callq 0x9ca4
jmp 0x52e46
movq -0x30(%rbp), %r14
movq -0x70(%rbp), %rcx
movb %cl, 0x38(%r14)
movq %rax, (%r14)
movq -0x118(%rbp), %rax
movq %rax, 0x8(%r14)
movq -0xa8(%rbp), %rax
movq %rax, 0x10(%r14)
movq -0x80(%rbp), %rax
movq %rax, 0x18(%r14)
movq -0x100(%rbp), %rdi
callq 0x4c5eb
movq -0x48(%rbp), %rcx
movl %eax, 0x44(%r14)
movw %r15w, 0x32(%r14)
movl 0x1e8(%rcx), %eax
movl %eax, 0x48(%r14)
movq %r14, -0x198(%rbp)
leaq 0x150(%r14), %rax
movq %rax, -0xc8(%rbp)
movq %rax, -0x190(%rbp)
leaq (%r14,%r12), %rax
movq %rax, -0x60(%rbp)
movq %rax, -0x180(%rbp)
leaq 0x40(%r14,%r12), %r13
movq %r13, 0x30(%r14,%r12)
movabsq $0x4000000000000, %rax  # imm = 0x4000000000000
movq %rax, 0x28(%r14,%r12)
movl $0x0, 0x4c(%r14)
movq %r14, 0x150(%r14)
movq $0x0, 0x158(%r14)
movabsq $0x800000000, %rax      # imm = 0x800000000
movq %rax, 0x164(%r14)
leaq 0x178(%r14), %rax
movq %rax, 0x170(%r14)
cmpl $0x0, 0x16c(%rcx)
jne 0x5209b
movq (%rcx), %rax
testb $0x8, 0x4c(%rax)
jne 0x5209b
xorps %xmm0, %xmm0
leaq -0x418(%rbp), %rdi
movups %xmm0, 0x8(%rdi)
movups %xmm0, 0x18(%rdi)
leaq 0x599c(%rip), %rax      # 0x57a24
movq %rax, (%rdi)
movq %rcx, 0x10(%rdi)
movq %rbx, %rsi
callq 0x473bb
movq -0x48(%rbp), %rcx
movq -0xc8(%rbp), %rdi
movq %rbx, %rsi
movq %rcx, %r14
movl $0x45, %edx
callq 0x56a32
movq %r14, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x4632f
testq %rbx, %rbx
movq -0x118(%rbp), %r15
movq -0x70(%rbp), %r12
je 0x52132
testl %r12d, %r12d
je 0x5211a
xorps %xmm0, %xmm0
leaq -0x418(%rbp), %r14
movups %xmm0, 0x10(%r14)
movq $0x0, 0x20(%r14)
movl $0x3, 0x20(%r14)
leaq -0x6545(%rip), %rax     # 0x4bbb5
movq %rax, (%r14)
leaq -0x650d(%rip), %rax     # 0x4bbf7
movq %rax, 0x8(%r14)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x473bb
cmpl $0x0, 0x20(%r14)
je 0x5215b
movq -0x30(%rbp), %rax
movl 0x44(%rax), %edx
movq -0x48(%rbp), %rdi
movq %rbx, %rsi
movl $0x8, %ecx
callq 0x4c638
testl %r12d, %r12d
jne 0x5215b
cmpq $0x0, -0xa8(%rbp)
je 0x52149
movq -0x30(%rbp), %rax
movb $0x1, 0x34(%rax)
btl $0xa, -0xb4(%rbp)
jae 0x5215b
movq -0x30(%rbp), %rax
movb $0x1, 0x37(%rax)
movzbl (%r15), %eax
testq %rax, %rax
movq -0x30(%rbp), %r8
je 0x5218c
imulq $0x68, %rax, %rax
xorl %ecx, %ecx
movl 0x44(%r15,%rcx), %edx
movslq 0x4c(%r8), %rsi
leal 0x1(%rsi), %edi
movl %edi, 0x4c(%r8)
movl %edx, 0x50(%r8,%rsi,4)
addq $0x68, %rcx
cmpq %rcx, %rax
jne 0x5216e
movl 0x164(%r8), %ebx
testl %ebx, %ebx
movq -0xc8(%rbp), %r14
jle 0x521b2
incl %ebx
leal -0x2(%rbx), %esi
movq %r14, %rdi
callq 0x57c97
decl %ebx
cmpl $0x1, %ebx
ja 0x521a0
movq -0xd8(%rbp), %rcx
cmpb $0x0, 0x50(%rcx)
movq -0x30(%rbp), %rbx
jne 0x52e29
cmpq $0x0, -0xa8(%rbp)
je 0x52232
movb $0x1, %dil
btl $0xa, -0xb4(%rbp)
jae 0x5247d
movq -0xa8(%rbp), %rcx
movslq (%rcx), %rax
testq %rax, %rax
jle 0x52251
movq 0x8(%rcx), %rcx
xorl %edx, %edx
movq %rdx, %rsi
shlq $0x5, %rsi
addq %rcx, %rsi
movq (%rsi), %rsi
movzbl (%rsi), %edi
cmpl $0x18, %edi
je 0x52211
cmpl $0x5c, %edi
jne 0x52217
addq $0x10, %rsi
jmp 0x52201
cmpl $0x98, %edi
jne 0x52244
xorl %edi, %edi
cmpw $0x0, 0x30(%rsi)
js 0x52253
incq %rdx
cmpq %rax, %rdx
jne 0x521f7
jmp 0x52253
movb $0x1, %dil
btl $0xa, -0xb4(%rbp)
jb 0x52253
jmp 0x5247d
movq $0x0, 0x10(%rbx)
movb $0x1, %dil
jmp 0x52253
xorl %edi, %edi
movq %r13, -0x40(%rbp)
movl %edi, -0xcc(%rbp)
cmpb $0x1, (%r15)
jne 0x5244c
movl 0x44(%r15), %ebx
movq 0x28(%r15), %rax
movq %rax, -0x108(%rbp)
movq -0x80(%rbp), %rax
movslq (%rax), %rax
testq %rax, %rax
jle 0x522cc
movq -0x80(%rbp), %rcx
movq 0x8(%rcx), %rcx
xorl %edx, %edx
movq %rdx, %rsi
shlq $0x5, %rsi
addq %rcx, %rsi
movq (%rsi), %rsi
movzbl (%rsi), %edi
cmpl $0x18, %edi
je 0x522a6
cmpl $0x5c, %edi
jne 0x522ac
addq $0x10, %rsi
jmp 0x52296
cmpl $0x98, %edi
jne 0x522c4
cmpl %ebx, 0x2c(%rsi)
jne 0x522c4
cmpw $0x0, 0x30(%rsi)
js 0x5246f
incq %rdx
cmpq %rax, %rdx
jne 0x5228c
movq -0x108(%rbp), %rax
movq 0x10(%rax), %r14
testq %r14, %r14
je 0x5244c
leaq 0x23dc9(%rip), %r13     # 0x760b0
cmpb $0x0, 0x56(%r14)
je 0x5243f
cmpw $0x0, 0x54(%r14)
je 0x5242e
xorl %r12d, %r12d
movq 0x8(%r14), %rax
movl (%rax,%r12,4), %edx
movq -0xc8(%rbp), %rdi
movl %ebx, %esi
movq $-0x1, %rcx
movl $0x2, %r8d
movq %r14, %r9
callq 0x59103
testq %rax, %rax
je 0x5233e
incq %r12
movzwl 0x54(%r14), %eax
cmpq %rax, %r12
jb 0x52301
jmp 0x52431
movq -0x80(%rbp), %rdx
cmpl $0x0, (%rdx)
jle 0x52431
movq 0x40(%r14), %rax
movq (%rax,%r12,8), %rax
movq %rax, -0x38(%rbp)
xorl %r15d, %r15d
movq 0x8(%rdx), %rax
movq %r15, %rcx
shlq $0x5, %rcx
movq (%rax,%rcx), %rsi
movq %rsi, %rax
movzbl (%rax), %ecx
cmpl $0x18, %ecx
je 0x52379
cmpl $0x5c, %ecx
jne 0x5237f
movq 0x10(%rax), %rax
jmp 0x5236c
cmpl $0x98, %ecx
jne 0x523f5
movswl 0x30(%rax), %ecx
movq 0x8(%r14), %rdx
cmpl %ecx, (%rdx,%r12,4)
movq -0x80(%rbp), %rdx
jne 0x523f5
cmpl %ebx, 0x2c(%rax)
jne 0x523f5
movq -0x48(%rbp), %rdi
callq 0x4b225
movq -0x80(%rbp), %rdx
testq %rax, %rax
je 0x523f5
movq (%rax), %rcx
movb (%rcx), %dl
testb %dl, %dl
je 0x523de
incq %rcx
movq -0x38(%rbp), %rax
movzbl %dl, %edx
movb (%rdx,%r13), %sil
movzbl (%rax), %edi
cmpb (%rdi,%r13), %sil
jne 0x523e4
incq %rax
movb (%rcx), %dl
incq %rcx
testb %dl, %dl
jne 0x523c0
jmp 0x523e2
movq -0x38(%rbp), %rax
xorl %edx, %edx
movb (%rdx,%r13), %cl
movzbl (%rax), %eax
cmpb (%rax,%r13), %cl
movq -0x80(%rbp), %rdx
je 0x52406
incq %r15
movslq (%rdx), %rax
cmpq %rax, %r15
jl 0x5235a
jmp 0x52431
movq -0x108(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x8(%r14), %rcx
movslq (%rcx,%r12,4), %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x4, %rcx
cmpb $0x0, 0x28(%rax,%rcx)
jne 0x5232c
jmp 0x52431
xorl %r12d, %r12d
movzwl 0x54(%r14), %eax
cmpl %eax, %r12d
movq -0x70(%rbp), %r12
je 0x5246f
movq 0x28(%r14), %r14
testq %r14, %r14
jne 0x522e7
cmpb $0x0, -0xcc(%rbp)
je 0x52467
movq -0x30(%rbp), %rbx
orb $0x2, 0x33(%rbx)
movq -0x80(%rbp), %rax
movq %rax, 0x10(%rbx)
jmp 0x52477
xorl %edi, %edi
movq -0x30(%rbp), %rbx
jmp 0x52479
movq -0x30(%rbp), %rbx
movb $0x1, 0x37(%rbx)
xorl %edi, %edi
movq -0x40(%rbp), %r13
movl %edi, -0xcc(%rbp)
leaq 0x4c(%rbx), %rax
movq %rax, -0xc0(%rbp)
cmpl $0x1, %r12d
movq %rbx, %rcx
jne 0x524b9
testb $0x20, 0x32(%rcx)
jne 0x524b9
movq 0x8(%rcx), %r12
movq 0x28(%r12), %r14
testb $0x10, 0x46(%r14)
jne 0x524b9
cmpq $0x0, 0x60(%r12)
je 0x52e5d
movq (%rcx), %rax
movq 0x8(%rcx), %rdx
movq %rdx, -0x98(%rbp)
movq (%rax), %rax
movq %rax, -0xf0(%rbp)
movzbl 0x38(%rcx), %edx
movq -0x60(%rbp), %rsi
movq %r13, 0x30(%rsi)
movabsq $0x4000000000000, %rax  # imm = 0x4000000000000
movq %rax, 0x28(%rsi)
movl %edx, -0xe8(%rbp)
testl %edx, %edx
movq %rcx, %rbx
je 0x52a2f
addq $0x8, -0x98(%rbp)
leaq 0x18(%rsi), %rax
movq %rax, -0xa0(%rbp)
xorl %r13d, %r13d
xorl %eax, %eax
movq $0x0, -0x78(%rbp)
xorl %ecx, %ecx
movl %ecx, -0x88(%rbp)
movb %cl, 0x10(%rsi)
movq -0xc0(%rbp), %rcx
movslq (%rcx), %rdx
testq %rdx, %rdx
jle 0x52550
movq -0x98(%rbp), %rcx
movl 0x3c(%rcx), %esi
xorl %ecx, %ecx
cmpl %esi, 0x50(%rbx,%rcx,4)
je 0x52554
incq %rcx
cmpq %rcx, %rdx
jne 0x52542
xorl %edx, %edx
jmp 0x5255c
movl $0x1, %edx
shlq %cl, %rdx
movq -0x60(%rbp), %rcx
movq %rdx, 0x8(%rcx)
movq -0x98(%rbp), %rcx
movb 0x38(%rcx), %dl
movb %dl, -0x110(%rbp)
orb %dl, %al
testb $0xa, %al
cmovneq -0x78(%rbp), %r13
movq 0x20(%rcx), %rax
testb $0x10, 0x46(%rax)
jne 0x52598
leaq -0x198(%rbp), %rdi
movq %r13, %rsi
callq 0x59b87
jmp 0x525a4
leaq -0x198(%rbp), %rdi
callq 0x59482
testl %eax, %eax
movl -0x88(%rbp), %ecx
jne 0x52e12
testb $-0x80, 0x32(%rbx)
jne 0x529f6
movq 0x170(%rbx), %r14
movslq 0x164(%rbx), %rax
xorps %xmm0, %xmm0
movaps %xmm0, -0x150(%rbp)
movaps %xmm0, -0x160(%rbp)
movaps %xmm0, -0x170(%rbp)
movq $0x0, -0x140(%rbp)
testq %rax, %rax
jle 0x529f6
imulq $0x38, %rax, %rax
addq %r14, %rax
movq %rax, -0x130(%rbp)
xorl %ebx, %ebx
movq -0x60(%rbp), %rax
movq %r13, -0x128(%rbp)
testb $0x1, 0x19(%r14)
jne 0x5261f
xorl %esi, %esi
jmp 0x529d5
movq %rax, %rdx
movq 0x10(%r14), %rax
movq 0x8(%rdx), %rcx
testq %rcx, 0x1e8(%rax)
je 0x5290a
movq 0x20(%rax), %rdi
movslq 0x14(%rax), %rax
movzbl 0x10(%rdx), %ecx
imulq $0x68, %rcx, %rcx
movq -0x30(%rbp), %rdx
movq 0x8(%rdx), %rdx
movl 0x44(%rdx,%rcx), %esi
movl %esi, -0x138(%rbp)
movups -0x198(%rbp), %xmm0
movups -0x188(%rbp), %xmm1
movaps %xmm1, -0x1b0(%rbp)
movaps %xmm0, -0x1c0(%rbp)
movq $0x0, -0x1b0(%rbp)
leaq -0x1f8(%rbp), %rsi
movq %rsi, -0x1a0(%rbp)
testq %rax, %rax
movq %r14, -0xf8(%rbp)
jle 0x52914
imulq $0x38, %rax, %rax
addq %rdi, %rax
movq %rax, -0xb0(%rbp)
leaq (%rdx,%rcx), %rax
addq $0x8, %rax
movq %rax, -0xe0(%rbp)
xorl %esi, %esi
movl $0x1, -0x8c(%rbp)
movq -0xc8(%rbp), %rax
testb $0x2, 0x19(%rdi)
movq %rdi, -0x120(%rbp)
jne 0x5271f
movl -0x138(%rbp), %ecx
cmpl %ecx, 0xc(%rdi)
jne 0x528e9
movq %rax, %rcx
movq (%rax), %rax
movq %rax, -0x418(%rbp)
movq %rcx, -0x410(%rbp)
movb $0x45, -0x408(%rbp)
movl $0x1, -0x404(%rbp)
movq %rdi, -0x3f8(%rbp)
leaq -0x418(%rbp), %rax
jmp 0x52723
movq 0x10(%rdi), %rax
movq %rax, -0x1b8(%rbp)
movw $0x0, -0x1f8(%rbp)
movq -0xe0(%rbp), %rax
movq 0x20(%rax), %rax
testb $0x10, 0x46(%rax)
jne 0x5275e
leaq -0x1c0(%rbp), %rdi
movq %r13, %rsi
callq 0x59b87
movl %eax, %esi
movzwl -0x1f8(%rbp), %eax
jmp 0x52794
leaq -0x1c0(%rbp), %rdi
callq 0x59482
movl %eax, %esi
movzwl -0x1f8(%rbp), %eax
testq %rax, %rax
je 0x52918
movl %eax, %ecx
shll $0x4, %ecx
xorl %edx, %edx
orq %r13, -0x1f0(%rbp,%rdx)
addq $0x10, %rdx
cmpq %rdx, %rcx
jne 0x52783
testw %ax, %ax
je 0x52918
movl %esi, -0x50(%rbp)
cmpl $0x0, -0x8c(%rbp)
jne 0x528b5
movzwl -0x170(%rbp), %ebx
movl %ebx, %edx
shll $0x4, %edx
leaq -0x228(%rbp), %rdi
leaq -0x168(%rbp), %rsi
callq 0x82f0
movw $0x0, -0x170(%rbp)
movq %rbx, -0x58(%rbp)
testl %ebx, %ebx
je 0x528d5
movw $0x1, %ax
xorl %ecx, %ecx
movl -0x50(%rbp), %esi
movl $0x0, -0x8c(%rbp)
testw %ax, %ax
je 0x5289d
movq %rcx, -0x68(%rbp)
movq %rcx, %rax
shlq $0x4, %rax
leaq -0x228(%rbp), %rcx
movq (%rcx,%rax), %rdx
movq %rdx, -0x38(%rbp)
movzwl 0x8(%rcx,%rax), %edx
movl %edx, -0x40(%rbp)
movzwl 0xa(%rcx,%rax), %eax
movl %eax, -0x108(%rbp)
leaq -0x1e6(%rbp), %r13
xorl %r12d, %r12d
leaq -0x170(%rbp), %r15
movq -0xa(%r13), %r14
orq -0x38(%rbp), %r14
movzwl -0x2(%r13), %esi
movl -0x40(%rbp), %edi
callq 0x5a50e
movl %eax, %ebx
movzwl (%r13), %esi
movl -0x108(%rbp), %edi
callq 0x5a50e
movzwl %bx, %edx
movzwl %ax, %ecx
movq %r15, %rdi
movq %r14, %rsi
callq 0x5a38b
incq %r12
movzwl -0x1f8(%rbp), %eax
addq $0x10, %r13
cmpq %rax, %r12
jb 0x5283b
movq -0x128(%rbp), %r13
movq -0xf8(%rbp), %r14
movl -0x50(%rbp), %esi
movq -0x68(%rbp), %rcx
jmp 0x5289f
xorl %eax, %eax
incq %rcx
cmpq -0x58(%rbp), %rcx
jne 0x527ea
movq -0xc8(%rbp), %rax
jmp 0x528e9
movw %ax, -0x170(%rbp)
movzwl %ax, %edx
shll $0x4, %edx
leaq -0x168(%rbp), %rdi
leaq -0x1f0(%rbp), %rsi
callq 0x82f0
movl $0x0, -0x8c(%rbp)
movq -0xc8(%rbp), %rax
movl -0x50(%rbp), %esi
movq -0x120(%rbp), %rdi
addq $0x38, %rdi
cmpq -0xb0(%rbp), %rdi
jb 0x526ce
movzwl -0x170(%rbp), %ebx
jmp 0x52923
xorl %esi, %esi
movq %rdx, %rax
jmp 0x529cf
xorl %esi, %esi
jmp 0x52923
movw $0x0, -0x170(%rbp)
xorl %ebx, %ebx
movq -0x60(%rbp), %rax
movw $0x1, 0x2c(%rax)
movq %rax, %rcx
movq 0x30(%rax), %rax
movq %r14, (%rax)
movl $0x2000, 0x28(%rcx)     # imm = 0x2000
movw $0x0, 0x12(%rcx)
movb $0x0, 0x11(%rcx)
movq -0xa0(%rbp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
testl %esi, %esi
sete %al
testw %bx, %bx
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x529cb
movzwl %bx, %r14d
movl $0x1, %r12d
leaq -0x15e(%rbp), %r15
movl -0x2(%r15), %eax
addl $0x12, %eax
movq -0x60(%rbp), %rdx
movw %ax, 0x14(%rdx)
movzwl (%r15), %eax
movw %ax, 0x16(%rdx)
movq -0xa(%r15), %rax
movq %rax, (%rdx)
movq -0x30(%rbp), %rdi
xorl %esi, %esi
callq 0x5a131
movl %eax, %esi
testl %eax, %eax
jne 0x529b8
leaq 0x1(%r12), %rax
addq $0x10, %r15
cmpq %r14, %r12
movq %rax, %r12
jb 0x52978
movq -0x60(%rbp), %rax
movl -0x88(%rbp), %ecx
movq -0xf8(%rbp), %r14
jmp 0x529d5
movq -0x60(%rbp), %rax
movl -0x88(%rbp), %ecx
addq $0x38, %r14
cmpq -0x130(%rbp), %r14
jae 0x529ea
testl %esi, %esi
je 0x52611
testl %esi, %esi
movq -0x30(%rbp), %rbx
jne 0x52e12
movq -0xf0(%rbp), %rax
cmpb $0x0, 0x50(%rax)
movq -0x60(%rbp), %rsi
jne 0x52a2f
movq -0x78(%rbp), %rax
orq 0x8(%rsi), %rax
movq %rax, -0x78(%rbp)
incl %ecx
addq $0x68, -0x98(%rbp)
movb -0x110(%rbp), %al
cmpl -0xe8(%rbp), %ecx
jne 0x5251e
movq -0xf0(%rbp), %rdi
callq 0x5a05c
movq %rbx, %rdi
xorl %esi, %esi
callq 0x56a92
movq -0xd8(%rbp), %rcx
cmpb $0x0, 0x50(%rcx)
movq -0x118(%rbp), %r15
movq -0x70(%rbp), %r12
jne 0x52e29
cmpq $0x0, 0x10(%rbx)
movq -0x48(%rbp), %rdi
je 0x52a9a
movl 0x30(%rbx), %eax
incl %eax
movzwl %ax, %esi
movq %rbx, %rdi
callq 0x56a92
movq -0xd8(%rbp), %rcx
movq -0x48(%rbp), %rdi
cmpb $0x0, 0x50(%rcx)
jne 0x52e32
movq 0x10(%rbx), %rax
testq %rax, %rax
jne 0x52aa8
testb $0x2, 0x2e(%rcx)
je 0x52aa8
movq $-0x1, 0x28(%rbx)
cmpl $0x0, 0x50(%rdi)
jne 0x52e32
cmpb $0x0, 0x50(%rcx)
jne 0x52e32
movq -0x80(%rbp), %rsi
testq %rsi, %rsi
je 0x52ba9
movb 0x38(%rbx), %al
cmpb $0x2, %al
jb 0x52ba9
testb $0x4, 0x4d(%rcx)
jne 0x52ba9
movzbl %al, %r14d
movq -0xc0(%rbp), %r12
movq %r12, %rdi
callq 0x57007
movq %rax, %rbx
movq -0xa8(%rbp), %rsi
testq %rsi, %rsi
je 0x52b0b
movq %r12, %rdi
callq 0x57007
orq %rax, %rbx
movq -0x70(%rbp), %r12
movq -0x30(%rbp), %rcx
leaq 0x338(%rcx), %rax
movq 0x8(%rcx), %rcx
addq $0x8, %rcx
leal -0x1(%r14), %edx
leaq (%rdx,%rdx,8), %rdx
movq 0x40(%rax,%rdx,8), %rdx
movzbl 0x10(%rdx), %esi
imulq $0x68, %rsi, %rsi
testb $0x8, 0x38(%rcx,%rsi)
je 0x52ba9
cmpb $0x0, -0xcc(%rbp)
je 0x52b4d
testb $0x10, 0x29(%rdx)
je 0x52ba9
movq 0x8(%rdx), %rdx
testq %rbx, %rdx
jne 0x52ba9
movq -0x30(%rbp), %rsi
movslq 0x164(%rsi), %rdi
testq %rdi, %rdi
jle 0x52b91
movq -0x30(%rbp), %rsi
movq 0x170(%rsi), %rsi
imulq $0x38, %rdi, %rdi
addq %rsi, %rdi
testq %rdx, 0x30(%rsi)
je 0x52b88
movq (%rsi), %r8
testb $0x1, 0x2(%r8)
je 0x52ba9
addq $0x38, %rsi
cmpq %rdi, %rsi
jb 0x52b78
decq %r14
movq -0x30(%rbp), %rdx
movb %r14b, 0x38(%rdx)
decl %r12d
cmpb $0x1, %r14b
ja 0x52b22
movq -0x30(%rbp), %rbx
movzwl 0x30(%rbx), %eax
movq (%rbx), %rcx
addl %eax, 0x1e8(%rcx)
testb $0x4, -0xb4(%rbp)
je 0x52bdd
movq 0x378(%rbx), %rax
movl 0x28(%rax), %ecx
btl $0xc, %ecx
jae 0x52bdd
movb $0x1, 0x35(%rbx)
andl $-0x41, %ecx
movl %ecx, 0x28(%rax)
testl %r12d, %r12d
movq -0xd8(%rbp), %rcx
jle 0x544bc
movq %r12, -0x70(%rbp)
leaq 0x338(%rbx), %r12
leaq 0x8(%r15), %rax
movq %rax, -0x108(%rbp)
movl -0xb4(%rbp), %eax
andl $0x10, %eax
movl %eax, -0x38(%rbp)
xorl %r13d, %r13d
movq %r12, -0x138(%rbp)
movzbl 0x20(%r12), %eax
imulq $0x68, %rax, %rsi
movq -0x108(%rbp), %rax
movq 0x20(%rax,%rsi), %r14
movq 0x68(%r14), %rax
testq %rax, %rax
je 0x52c61
movq %rcx, %rdx
movl 0x28(%rcx), %ecx
testl %ecx, %ecx
jle 0x52c68
movq 0x20(%rdx), %rdx
addq $0x18, %rdx
xorl %ebx, %ebx
cmpq %rax, (%rdx)
je 0x52c6a
incq %rbx
addq $0x20, %rdx
cmpq %rbx, %rcx
jne 0x52c4c
movl %ecx, %ebx
jmp 0x52c6a
movl $0xfff0bdc0, %ebx       # imm = 0xFFF0BDC0
jmp 0x52c6a
xorl %ebx, %ebx
movq 0x40(%r12), %r15
movzbl 0x46(%r14), %eax
testb $0x2, %al
jne 0x52d0e
cmpq $0x0, 0x18(%r14)
jne 0x52d0e
addq -0x108(%rbp), %rsi
movl 0x28(%r15), %ecx
btl $0xa, %ecx
jb 0x52cbe
testb $0x10, %al
jne 0x52d0e
andl $0x40, %ecx
orl -0x38(%rbp), %ecx
je 0x52d9c
movl 0x3c(%r14), %edx
movq (%r14), %r8
movq -0x48(%rbp), %rdi
movl %ebx, %esi
xorl %ecx, %ecx
callq 0x46018
jmp 0x52d0e
movq 0x58(%r14), %r14
testq %r14, %r14
je 0x52cdc
movq -0xd8(%rbp), %rax
cmpq %rax, (%r14)
je 0x52cdf
movq 0x28(%r14), %r14
testq %r14, %r14
jne 0x52cce
xorl %r14d, %r14d
movl 0x3c(%rsi), %edx
movq -0x100(%rbp), %rdi
movl $0x89, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x45f15
movq -0x100(%rbp), %rdi
movl %eax, %esi
movq %r14, %rdx
movl $0xfffffff6, %ecx       # imm = 0xFFFFFFF6
callq 0x11a9f
testb $0x2, 0x29(%r15)
je 0x52d70
movq 0x20(%r15), %r15
movq -0x48(%rbp), %rdi
movq %r15, %rsi
callq 0x4c2fa
movq %rax, %r14
movl 0x10(%rbp), %eax
movl %eax, %edx
testl %eax, %eax
jne 0x52d3e
movq -0x48(%rbp), %rcx
movl 0x54(%rcx), %edx
leal 0x1(%rdx), %eax
movl %eax, 0x54(%rcx)
movl %edx, 0x8(%r12)
movl 0x50(%r15), %ecx
movq -0x100(%rbp), %r15
movq %r15, %rdi
movl $0x30, %esi
movl %ebx, %r8d
callq 0x45f15
movq %r15, %rdi
movl %eax, %esi
movq %r14, %rdx
movl $0xfffffff0, %ecx       # imm = 0xFFFFFFF0
callq 0x11a9f
movq -0x48(%rbp), %rdi
movl %ebx, %esi
callq 0x4632f
incl %r13d
addq $0x48, %r12
cmpl -0x70(%rbp), %r13d
movq -0x30(%rbp), %rbx
movq -0xd8(%rbp), %rcx
jne 0x52c19
jmp 0x52f98
movq -0x30(%rbp), %rax
cmpb $0x1, 0x35(%rax)
movl $0x31, %r8d
sbbl $0x0, %r8d
movq %rsi, -0x40(%rbp)
movq -0x40(%rbp), %rax
movl 0x3c(%rax), %esi
movq -0x48(%rbp), %rdi
movl %ebx, %edx
movq %r14, %rcx
callq 0x45fa0
movq -0x40(%rbp), %rax
movq -0x30(%rbp), %rcx
cmpb $0x0, 0x35(%rcx)
jne 0x52d0e
cmpw $0x3f, 0x42(%r14)
jg 0x52d0e
movq 0x50(%rax), %rax
bsrq %rax, %rdx
xorq $-0x40, %rdx
addq $0x41, %rdx
testq %rax, %rax
cmoveq %rax, %rdx
movq -0x100(%rbp), %rdi
movl 0x34(%rdi), %esi
decl %esi
movl $0xfffffff2, %ecx       # imm = 0xFFFFFFF2
jmp 0x52d09
movq -0xf0(%rbp), %rdi
movq -0x60(%rbp), %rsi
callq 0x5a05c
movq -0xd8(%rbp), %rcx
testq %rbx, %rbx
movq -0x48(%rbp), %rdi
je 0x52e46
movl 0x48(%rbx), %eax
movl %eax, 0x1e8(%rdi)
movq %rcx, %rdi
movq %rbx, %rsi
callq 0x579ca
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x3f8, %rsp            # imm = 0x3F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r13, -0x40(%rbp)
movl 0x44(%r12), %ebx
movq -0x60(%rbp), %r15
movl $0x0, 0x28(%r15)
movq -0xc8(%rbp), %rdi
movl %ebx, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
xorl %ecx, %ecx
movl $0x2, %r8d
xorl %r9d, %r9d
callq 0x59103
testq %rax, %rax
je 0x52f0f
movl $0x1101, 0x28(%r15)     # imm = 0x1101
movq 0x30(%r15), %rcx
movq %rax, (%rcx)
movw $0x1, 0x2c(%r15)
movl $0x1, 0x18(%r15)
movw $0x21, %ax
movw %ax, 0x14(%r15)
movq -0x60(%rbp), %rax
cmpl $0x0, 0x28(%rax)
movq -0x30(%rbp), %rcx
movq -0x40(%rbp), %r13
je 0x524b9
movq -0x60(%rbp), %rax
movw $0x1, 0x16(%rax)
movq %rax, 0x378(%rcx)
movslq 0x4c(%rcx), %rdx
xorl %eax, %eax
testq %rdx, %rdx
jle 0x544d6
xorl %ecx, %ecx
movq -0x30(%rbp), %rsi
cmpl %ebx, 0x50(%rsi,%rcx,4)
je 0x544ce
incq %rcx
cmpq %rcx, %rdx
jne 0x52ef8
jmp 0x544d6
movq 0x10(%r14), %r14
testq %r14, %r14
je 0x52ebc
cmpb $0x0, 0x56(%r14)
je 0x52f8f
cmpq $0x0, 0x48(%r14)
jne 0x52f8f
movzwl 0x54(%r14), %eax
cmpw $0x4, %ax
ja 0x52f8f
testw %ax, %ax
je 0x54527
xorl %r13d, %r13d
movq 0x8(%r14), %rax
movl (%rax,%r13,4), %edx
movq -0xc8(%rbp), %rdi
movl %ebx, %esi
xorl %ecx, %ecx
movl $0x2, %r8d
movq %r14, %r9
callq 0x59103
testq %rax, %rax
je 0x52f7e
movq -0x60(%rbp), %rcx
movq 0x30(%rcx), %rcx
movq %rax, (%rcx,%r13,8)
incq %r13
movzwl 0x54(%r14), %ecx
cmpq %rcx, %r13
jb 0x52f3d
jmp 0x52f83
movzwl 0x54(%r14), %ecx
movzwl %cx, %esi
cmpl %esi, %r13d
je 0x54543
movq 0x28(%r14), %r14
jmp 0x52f13
cmpb $0x0, 0x50(%rcx)
movq -0x100(%rbp), %rax
movl 0x34(%rax), %eax
movl %eax, 0x3c(%rbx)
movq -0x48(%rbp), %rdi
movq -0x118(%rbp), %r14
movq -0x70(%rbp), %rax
jne 0x52e32
testl %eax, %eax
jle 0x52e48
movl %eax, %eax
movq %rax, -0x130(%rbp)
movq %rbx, %r13
addq $0x3a0, %r13            # imm = 0x3A0
movq $-0x1, -0xf8(%rbp)
xorl %r15d, %r15d
xorl %ecx, %ecx
movl %ecx, -0x60(%rbp)
leaq (%r15,%r15,8), %rax
movq -0x138(%rbp), %rcx
leaq (%rcx,%rax,8), %r12
movq 0x40(%r12), %rax
testb $0x40, 0x29(%rax)
je 0x53046
movzbl 0x20(%r12), %eax
imulq $0x68, %rax, %rdx
addq -0x108(%rbp), %rdx
movq -0x48(%rbp), %rdi
movq -0xc8(%rbp), %rsi
movq -0xf8(%rbp), %rcx
movq %r12, %r8
callq 0x57062
movq -0xd8(%rbp), %rcx
movq -0x48(%rbp), %rdi
cmpb $0x0, 0x50(%rcx)
jne 0x52e32
movq %r13, -0x120(%rbp)
movzbl 0x20(%r12), %r8d
movq %r14, %rsi
movq %r12, %rdx
movl %r15d, %ecx
movl -0xb4(%rbp), %r9d
callq 0x57563
movq -0x100(%rbp), %rax
movl 0x34(%rax), %eax
movl %eax, 0x1c(%r12)
movq 0x28(%rbx), %r14
movl %r15d, %ecx
shrq %cl, %r14
movq %r12, -0x40(%rbp)
movq 0x40(%r12), %rcx
movq %rcx, -0x68(%rbp)
testb $0x40, 0x28(%rcx)
movq %r15, -0x128(%rbp)
jne 0x530a7
movl $0x0, -0x88(%rbp)
jmp 0x530b4
testb $0x20, 0x32(%rbx)
sete %cl
movl %ecx, -0x88(%rbp)
movq (%rbx), %rcx
movq 0x8(%rbx), %rax
movq (%rcx), %rdx
movq %rdx, -0xe0(%rbp)
movq %rcx, -0x38(%rbp)
movq 0x10(%rcx), %r13
movq -0x40(%rbp), %rbx
movzbl 0x20(%rbx), %ecx
imulq $0x68, %rcx, %rcx
leaq (%rax,%rcx), %r15
addq $0x8, %r15
movl 0x3c(%r15), %eax
movl %eax, -0x58(%rbp)
movq %r13, %rdi
callq 0x4c5eb
movl %eax, %r12d
movl %eax, 0x10(%rbx)
movl %eax, 0xc(%rbx)
movq %r13, -0x50(%rbp)
movq %r13, %rdi
callq 0x4c5eb
movl %eax, -0x8c(%rbp)
movl %eax, 0x14(%rbx)
cmpb $0x0, 0x20(%rbx)
je 0x53140
testb $0x8, 0x38(%r15)
je 0x53140
movq -0x38(%rbp), %rax
movl 0x58(%rax), %ecx
incl %ecx
movl %ecx, 0x58(%rax)
movq -0x40(%rbp), %rax
movl %ecx, (%rax)
movq -0x50(%rbp), %rdi
movl $0x15, %esi
xorl %edx, %edx
xorl %r8d, %r8d
callq 0x45f15
testb $0x4, 0x39(%r15)
jne 0x531b5
movl %r14d, %r13d
andl $0x1, %r13d
movq -0x68(%rbp), %rcx
movl 0x28(%rcx), %eax
btl $0xa, %eax
jb 0x53215
btl $0x8, %eax
setae %cl
testb $0x5, %al
sete %dl
orb %cl, %dl
je 0x5323a
movl %eax, %ecx
notl %ecx
testl $0x102, %ecx            # imm = 0x102
jne 0x536d3
movl $0x0, %ecx
movl $0x0, %edx
testb $0x20, %al
je 0x531a1
movq -0x68(%rbp), %rcx
movq 0x30(%rcx), %rcx
movq (%rcx), %rcx
movl $0x1, %edx
testb $0x10, %al
movq -0x38(%rbp), %r14
jne 0x537d4
xorl %r15d, %r15d
jmp 0x537e0
movl 0x30(%r15), %edx
movl 0x34(%r15), %ebx
decl %edx
xorl %r15d, %r15d
movq -0x50(%rbp), %r13
movq %r13, %rdi
movl $0x15, %esi
movl %ebx, %ecx
xorl %r8d, %r8d
callq 0x45f15
movq %r13, %rdi
movl $0x11, %esi
movl %ebx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x45f15
movq -0x40(%rbp), %r14
movl %eax, 0x28(%r14)
incl %ebx
movq %r13, %rdi
movl $0x27, %esi
movl %ebx, %edx
movl %r12d, %ecx
xorl %r8d, %r8d
callq 0x45f15
movb $0xe, 0x21(%r14)
jmp 0x533fb
movzwl 0x2c(%rcx), %r12d
movq -0x38(%rbp), %rdx
incl 0x6c(%rdx)
leal 0x2(%r12), %esi
movl 0x48(%rdx), %eax
subl %esi, %eax
jge 0x5325e
movl 0x58(%rdx), %eax
leal 0x1(%rax), %edi
addl %esi, %eax
movl %eax, 0x58(%rdx)
jmp 0x5326a
movq %r13, %r8
movq -0x38(%rbp), %rdi
movb 0x1f(%rdi), %al
testb %al, %al
je 0x53734
decb %al
movb %al, 0x1f(%rdi)
movzbl %al, %eax
movl 0x28(%rdi,%rax,4), %r15d
jmp 0x5373f
movl 0x4c(%rdx), %edi
leal (%rdi,%rsi), %ecx
movl %ecx, 0x4c(%rdx)
movl %eax, 0x48(%rdx)
movq -0x40(%rbp), %rax
movq %rsi, -0x80(%rbp)
movl 0xc(%rax), %ebx
testl %r12d, %r12d
movq %rdi, -0x88(%rbp)
je 0x532e7
movq %r13, -0xb0(%rbp)
leal 0x2(%rdi), %r15d
movl %r12d, %r13d
xorl %r14d, %r14d
movq -0x68(%rbp), %rax
movq 0x30(%rax), %rax
movq (%rax,%r14,8), %rsi
testq %rsi, %rsi
je 0x532df
leaq (%r15,%r14), %r9
testb $0x1, 0x18(%rsi)
jne 0x532c2
movq (%rsi), %rax
movq 0x18(%rax), %rsi
movq -0x38(%rbp), %rdi
movl %r9d, %edx
callq 0x4e50a
jmp 0x532df
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rbx
movq %rbx, %rdx
movl %r14d, %ecx
movq -0xb0(%rbp), %r8
callq 0x5b1ec
movl 0x10(%rbx), %ebx
incq %r14
cmpq %r14, %r13
jne 0x53292
movl %ebx, -0xb0(%rbp)
movq -0x68(%rbp), %r13
movl 0x18(%r13), %edx
movq -0x50(%rbp), %rbx
movq %rbx, %rdi
movl $0x15, %esi
movq -0x88(%rbp), %r14
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x45f15
leal 0x1(%r14), %ecx
movq %rbx, %rdi
movl $0x15, %esi
movl %r12d, %edx
xorl %r8d, %r8d
callq 0x45f15
movq 0x20(%r13), %rax
movq %rax, -0xa0(%rbp)
xorl %eax, %eax
cmpb $0x0, 0x1c(%r13)
sete %al
leal -0xb(%rax,%rax,8), %r15d
movq %rbx, %rdi
movl $0xc, %esi
movl -0x58(%rbp), %edx
movl -0xb0(%rbp), %ecx
movl %r14d, %r8d
callq 0x45f15
movq %rbx, %rdi
movl %eax, %esi
movq -0xa0(%rbp), %rdx
movl %r15d, %ecx
callq 0x11a9f
movb $0x0, 0x1c(%r13)
testl %r12d, %r12d
movq -0x40(%rbp), %r15
je 0x533b2
cmpl $0x10, %r12d
movl $0x10, %eax
cmovael %eax, %r12d
xorl %r14d, %r14d
movzwl 0x1e(%r13), %eax
btl %r14d, %eax
jae 0x533aa
movq 0x30(%r13), %rax
movq (%rax,%r14,8), %rsi
movq %r15, %rdi
callq 0x5b3bc
incq %r14
cmpq %r14, %r12
jne 0x5338f
movb $-0x75, 0x21(%r15)
movl -0x58(%rbp), %eax
movl %eax, 0x24(%r15)
movl 0x34(%rbx), %eax
movl %eax, 0x28(%r15)
movq -0x38(%rbp), %rbx
movq %rbx, %rdi
movq -0x88(%rbp), %r15
movl %r15d, %esi
movq -0x80(%rbp), %r14
movl %r14d, %edx
callq 0x4e564
cmpl %r14d, 0x48(%rbx)
jge 0x533f0
movl %r14d, 0x48(%rbx)
movl %r15d, 0x4c(%rbx)
movq %rbx, %rdi
callq 0x4cd64
xorl %r15d, %r15d
movq -0x30(%rbp), %rbx
movq -0x48(%rbp), %rdi
movq -0xc0(%rbp), %rax
movl -0x58(%rbp), %r13d
movslq (%rax), %rax
movq $-0x1, %r12
testq %rax, %rax
jle 0x5343a
xorl %ecx, %ecx
cmpl %r13d, 0x50(%rbx,%rcx,4)
je 0x53430
incq %rcx
cmpq %rcx, %rax
jne 0x5341f
jmp 0x5343a
movq $-0x2, %r12
rolq %cl, %r12
andq -0xf8(%rbp), %r12
movl 0x164(%rbx), %ebx
testl %ebx, %ebx
jle 0x535b0
movq -0x30(%rbp), %rax
movq 0x170(%rax), %r14
incl %ebx
movq -0x40(%rbp), %r13
testb $0x6, 0x1a(%r14)
jne 0x534a4
testq %r12, 0x30(%r14)
je 0x53477
movq -0x30(%rbp), %rax
movb $0x1, 0x36(%rax)
jmp 0x534a4
movq (%r14), %rsi
cmpl $0x0, (%r13)
je 0x53487
testb $0x1, 0x2(%rsi)
je 0x534a4
movq -0x38(%rbp), %rdi
movl -0x8c(%rbp), %edx
movl $0x8, %ecx
callq 0x4c638
movq -0x48(%rbp), %rdi
orb $0x4, 0x1a(%r14)
addq $0x38, %r14
decl %ebx
cmpl $0x1, %ebx
jg 0x53460
movq -0x30(%rbp), %rax
movl 0x164(%rax), %r13d
testl %r13d, %r13d
movl -0x58(%rbp), %ecx
jle 0x535b0
movq -0x30(%rbp), %rax
movq 0x170(%rax), %rbx
incl %r13d
addq $0x1a, %rbx
testb $0x6, (%rbx)
jne 0x534f3
cmpw $0x402, -0x2(%rbx)      # imm = 0x402
jne 0x534f3
cmpl %ecx, -0xe(%rbx)
jne 0x534f3
movq -0x40(%rbp), %rax
cmpl $0x0, (%rax)
je 0x53505
decl %r13d
addq $0x38, %rbx
cmpl $0x1, %r13d
jg 0x534d8
jmp 0x535b0
movq -0x1a(%rbx), %rax
movq %rax, -0x68(%rbp)
movl -0xa(%rbx), %edx
movq -0xc8(%rbp), %rdi
movl -0x58(%rbp), %esi
movq -0xf8(%rbp), %rcx
movl $0x3, %r8d
xorl %r9d, %r9d
callq 0x59103
movl -0x58(%rbp), %ecx
movq -0x48(%rbp), %rdi
testq %rax, %rax
je 0x534f3
movq %rax, %r14
testb $0x4, 0x1a(%rax)
jne 0x534f3
movq -0xe0(%rbp), %rdi
movl $0x48, %esi
callq 0x11721
movl -0x58(%rbp), %ecx
movq -0x48(%rbp), %rdi
testq %rax, %rax
je 0x534f3
movq (%r14), %rsi
movl $0x9, %ecx
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movq %rax, %r14
movq -0x68(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x10(%r14)
movq -0x38(%rbp), %rdi
movq %r14, %rsi
movl -0x8c(%rbp), %edx
movl $0x8, %ecx
callq 0x4c638
movq -0xe0(%rbp), %rdi
movq %r14, %rsi
callq 0x9ca4
movl -0x58(%rbp), %ecx
movq -0x48(%rbp), %rdi
jmp 0x534f3
movq -0x40(%rbp), %rax
movl (%rax), %ecx
testl %ecx, %ecx
movq -0x120(%rbp), %r13
je 0x5364f
movq -0x50(%rbp), %rdi
movl 0x34(%rdi), %eax
movq -0x40(%rbp), %rdx
movl %eax, 0x18(%rdx)
movl $0x15, %esi
movl $0x1, %edx
xorl %r8d, %r8d
callq 0x45f15
movq -0x38(%rbp), %rdi
callq 0x552af
movq -0x48(%rbp), %rdi
movq -0x30(%rbp), %rax
movl 0x164(%rax), %eax
testl %eax, %eax
jle 0x5364f
movq -0x30(%rbp), %rcx
movq 0x170(%rcx), %rbx
xorl %r14d, %r14d
testb $0x6, 0x1a(%rbx)
jne 0x53643
testq %r12, 0x30(%rbx)
jne 0x53643
movq (%rbx), %rsi
movq -0x38(%rbp), %rdi
movl -0x8c(%rbp), %edx
movl $0x8, %ecx
callq 0x4c638
movq -0x48(%rbp), %rdi
orb $0x4, 0x1a(%rbx)
movq -0x30(%rbp), %rax
movl 0x164(%rax), %eax
incl %r14d
addq $0x38, %rbx
cmpl %eax, %r14d
jl 0x5360e
testl %r15d, %r15d
je 0x5368b
movq -0x38(%rbp), %rdx
movzbl 0x1f(%rdx), %eax
cmpq $0x7, %rax
movq -0x30(%rbp), %rbx
ja 0x53696
xorl %ecx, %ecx
cmpl %r15d, 0x84(%rdx,%rcx)
je 0x53691
addq $0x18, %rcx
cmpl $0xf0, %ecx
jne 0x53668
leal 0x1(%rax), %ecx
movb %cl, 0x1f(%rdx)
movl %r15d, 0x28(%rdx,%rax,4)
jmp 0x53696
movq -0x30(%rbp), %rbx
jmp 0x53696
movb $0x1, 0x7c(%rdx,%rcx)
movl -0x60(%rbp), %ecx
movq -0x40(%rbp), %rax
movl 0x14(%rax), %eax
movl %eax, 0x40(%rbx)
movq -0x128(%rbp), %r15
incq %r15
decl %ecx
addq $0x48, %r13
movq %r12, -0xf8(%rbp)
cmpq -0x130(%rbp), %r15
movq -0x118(%rbp), %r14
jne 0x52fe9
jmp 0x52e48
btl $0x9, %eax
jb 0x5389c
btl $0xd, %eax
jb 0x53912
andl $0x1, %r14d
leaq 0x251f7(%rip), %rax     # 0x788e9
movb (%r14,%rax), %al
movq -0x40(%rbp), %rbx
movb %al, 0x21(%rbx)
movl -0x58(%rbp), %r13d
movl %r13d, 0x24(%rbx)
leaq 0x251df(%rip), %rax     # 0x788eb
movzbl (%r14,%rax), %esi
xorl %r15d, %r15d
movq -0x50(%rbp), %rdi
movl %r13d, %edx
movl %r12d, %ecx
xorl %r8d, %r8d
callq 0x45f15
incl %eax
movl %eax, 0x28(%rbx)
movb $0x1, 0x22(%rbx)
jmp 0x537c0
movl 0x58(%rdi), %r15d
incl %r15d
movl %r15d, 0x58(%rdi)
movq -0x40(%rbp), %r12
movq -0x50(%rbp), %r13
movq -0x68(%rbp), %rax
movq 0x30(%rax), %rax
movq (%rax), %rsi
movq %r12, %rdx
xorl %ecx, %ecx
movl %r15d, %r9d
callq 0x5b1ec
movl %eax, %ebx
movl 0x10(%r12), %r14d
movq %r13, %rdi
movl $0x21, %esi
movl %eax, %edx
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x45f15
movq %r13, %rdi
movl $0x3f, %esi
movl -0x58(%rbp), %r13d
movl %r13d, %edx
movl %r14d, %ecx
movq -0x38(%rbp), %r14
movl %ebx, %r8d
callq 0x45f15
movq %r14, %rdi
movl %ebx, %esi
movl $0x1, %edx
callq 0x4e564
movq %r14, %rdi
movl %r13d, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl %ebx, %ecx
callq 0x4ee66
movb $-0x6b, 0x21(%r12)
movq -0x30(%rbp), %rbx
movq -0x48(%rbp), %rdi
movq -0xc0(%rbp), %rax
jmp 0x5340e
movq -0x68(%rbp), %rax
movq 0x30(%rax), %rax
movq (%rax,%rdx,8), %r15
testl %r13d, %r13d
movq %rcx, %rbx
cmoveq %r15, %rbx
cmoveq %rcx, %r15
testq %r15, %r15
movq %r13, -0xb0(%rbp)
je 0x538e8
movq (%r15), %r13
movq 0x18(%r13), %rsi
movq %r14, %rdi
leaq -0x418(%rbp), %rdx
callq 0x4cdbd
movl %eax, %r14d
movzbl (%r13), %eax
leaq 0x25a49(%rip), %rcx     # 0x7926c
movzbl -0x4d(%rax,%rcx), %esi
movq -0x50(%rbp), %r13
movq %r13, %rdi
movl -0x58(%rbp), %edx
movl %r12d, %ecx
movl %r14d, %r8d
callq 0x45f15
movq -0x38(%rbp), %rdi
movl %r14d, %esi
movl $0x1, %edx
callq 0x4e564
movl -0x418(%rbp), %eax
testl %eax, %eax
je 0x53f28
movq -0x38(%rbp), %rcx
movzbl 0x1f(%rcx), %ecx
cmpq $0x7, %rcx
ja 0x53f28
xorl %edx, %edx
movq -0x38(%rbp), %rsi
cmpl %eax, 0x84(%rsi,%rdx)
je 0x53f1f
addq $0x18, %rdx
cmpl $0xf0, %edx
jne 0x53874
leal 0x1(%rcx), %edx
movb %dl, 0x1f(%rsi)
movl %eax, 0x28(%rsi,%rcx,4)
jmp 0x53f24
movq -0x68(%rbp), %rcx
movl 0x18(%rcx), %ebx
movq 0x20(%rcx), %r12
xorl %ecx, %ecx
movb $0x1, %dil
movq -0x30(%rbp), %rdx
testb $0x1, 0x32(%rdx)
je 0x538d1
movq -0x30(%rbp), %rdx
cmpb $0x0, 0x34(%rdx)
je 0x538d1
movzwl 0x54(%r12), %edx
xorl %ecx, %ecx
cmpl %edx, %ebx
setge %dil
setl %cl
testb $0x20, %al
jne 0x53a09
movq $0x0, -0x78(%rbp)
movl %ebx, %edx
jmp 0x53a24
xorl %eax, %eax
testl %r13d, %r13d
sete %al
leal 0x62(%rax,%rax,2), %esi
movq -0x50(%rbp), %r13
movq %r13, %rdi
movl -0x58(%rbp), %edx
movl %r12d, %ecx
xorl %r8d, %r8d
callq 0x45f15
movq -0x40(%rbp), %r14
jmp 0x53f37
movq -0x38(%rbp), %rcx
movl 0x54(%rcx), %eax
movl 0x58(%rcx), %ebx
movq %rax, -0x80(%rbp)
incl %eax
movl %eax, 0x54(%rcx)
incl %ebx
movl %ebx, 0x58(%rcx)
movq -0x50(%rbp), %rdi
callq 0x4c5eb
movl %eax, -0x98(%rbp)
movq -0x68(%rbp), %rax
movq 0x30(%rax), %rax
movq (%rax), %rax
movq %rax, -0xf0(%rbp)
movq 0x10(%rax), %rax
movq %rax, -0x68(%rbp)
movq -0x40(%rbp), %rax
movb $0x10, 0x21(%rax)
movl %ebx, -0x70(%rbp)
movl %ebx, 0x24(%rax)
movq -0x30(%rbp), %rax
movzbl 0x38(%rax), %ebx
cmpl $0x2, %ebx
jb 0x53c00
movl %ebx, %r14d
subl -0x128(%rbp), %r14d
imull $0x68, %r14d, %esi
addl $0x8, %esi
movq -0xe0(%rbp), %rdi
callq 0x11721
movq %rax, -0x78(%rbp)
testq %rax, %rax
je 0x544a1
movq -0x78(%rbp), %rax
movb %r14b, 0x1(%rax)
movb %r14b, (%rax)
leaq 0x8(%rax), %rdi
movl $0xd, %ecx
movq %r15, %rsi
rep  movsq (%rsi), %es:(%rdi)
cmpl $0x2, %r14d
jl 0x53c0c
movq -0x30(%rbp), %rax
movq 0x8(%rax), %rdx
addq $0x8, %rdx
addl -0x60(%rbp), %ebx
movq -0x78(%rbp), %rax
addq $0x70, %rax
decq %rbx
movq -0x120(%rbp), %r8
movzbl (%r8), %ecx
imulq $0x68, %rcx, %rsi
addq %rdx, %rsi
movl $0xd, %ecx
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
addq $0x68, %rax
addq $0x48, %r8
decq %rbx
jne 0x539e1
jmp 0x53c0c
movq -0x68(%rbp), %rcx
movq 0x30(%rcx), %rcx
leal 0x1(%rbx), %edx
movslq %ebx, %rsi
movq (%rcx,%rsi,8), %rcx
movq %rcx, -0x78(%rbp)
movl $0x1, %ecx
testb $0x10, %al
movb %dil, -0xe8(%rbp)
jne 0x53a34
xorl %r15d, %r15d
jmp 0x53a48
movq -0x68(%rbp), %rax
movq 0x30(%rax), %rax
movslq %edx, %rcx
movq (%rax,%rcx,8), %r15
movl $0x1, %ecx
movq -0x40(%rbp), %rsi
movl 0x8(%rsi), %eax
movl %eax, -0x80(%rbp)
movq -0x38(%rbp), %rdi
movl %r13d, %edx
leaq -0x418(%rbp), %r8
callq 0x5b400
movq %rax, -0xa0(%rbp)
movq -0x418(%rbp), %rsi
movq -0xe0(%rbp), %rdi
movq %rsi, -0x70(%rbp)
callq 0x101fc
movq %rax, -0x110(%rbp)
movzwl 0x54(%r12), %eax
cmpl %eax, %ebx
jge 0x53aab
movq 0x38(%r12), %rcx
movslq %ebx, %rdx
cmpb $0x0, (%rcx,%rdx)
setne %cl
xorb %r14b, %cl
testb $0x1, %cl
jne 0x53ab4
testl %r13d, %r13d
je 0x53aba
cmpl %eax, %ebx
jne 0x53aba
movq -0x78(%rbp), %rcx
jmp 0x53ac1
movq %r15, %rcx
movq -0x78(%rbp), %r15
movq -0x40(%rbp), %rax
movl 0x10(%rax), %eax
movl %eax, -0x78(%rbp)
movl $0x1, %eax
movl $0x1, %edx
testq %r15, %r15
je 0x53ae4
xorl %edx, %edx
testb $0x28, 0x18(%r15)
setne %dl
testq %rcx, %rcx
je 0x53af2
xorl %eax, %eax
testb $0x28, 0x18(%rcx)
setne %al
movq %rdx, -0x98(%rbp)
movl %eax, -0xcc(%rbp)
movq %rcx, -0xa8(%rbp)
testq %r15, %r15
movq %r15, -0xf0(%rbp)
je 0x53bc2
movq (%r15), %rax
movq 0x18(%rax), %r12
movq -0xa0(%rbp), %r15
leal (%r15,%rbx), %r14d
movq -0x38(%rbp), %rdi
movq %r12, %rsi
movl %r14d, %edx
callq 0x4e50a
movq -0x50(%rbp), %rdi
movq %r12, %rsi
movl %r14d, %edx
movl -0x78(%rbp), %ecx
callq 0x5b5a2
movq -0x70(%rbp), %rcx
testq %rcx, %rcx
je 0x53ba1
movslq %ebx, %rax
movq %rax, -0xe8(%rbp)
movb (%rcx,%rax), %r14b
movsbl %r14b, %esi
movq %r12, %rdi
callq 0x4ef70
cmpb $0x62, %al
jne 0x53b82
movq -0x70(%rbp), %rax
movq -0xe8(%rbp), %rcx
movb $0x62, (%rax,%rcx)
movb $0x62, %r14b
movsbl %r14b, %esi
movq %r12, %rdi
callq 0x5b5f6
testl %eax, %eax
movq -0x70(%rbp), %rcx
je 0x53ba1
movq -0xe8(%rbp), %rax
movb $0x62, (%rcx,%rax)
leal 0x1(%rbx), %r14d
movq -0x38(%rbp), %rdi
movl %r15d, %esi
movl %r14d, %edx
callq 0x5b697
movl $0x4, %r12d
movq %r15, %r8
jmp 0x540b9
cmpb $0x0, -0xe8(%rbp)
je 0x54070
xorl %r12d, %r12d
testl %ebx, %ebx
setg %r12b
movq -0x38(%rbp), %rdi
movq -0xa0(%rbp), %r14
movl %r14d, %esi
movl %ebx, %edx
movq -0x70(%rbp), %rcx
callq 0x5b697
movq %r14, %r8
shll $0x2, %r12d
movl %ebx, %r14d
jmp 0x540b9
movq -0x30(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x78(%rbp)
movl $0x0, -0xa8(%rbp)
movq -0x30(%rbp), %rbx
testb $0x8, 0x32(%rbx)
movl $0x0, %eax
movq %rax, -0x110(%rbp)
movq -0x50(%rbp), %r14
jne 0x53c5f
movq -0x38(%rbp), %rax
movl 0x58(%rax), %edx
leal 0x1(%rdx), %ecx
addl $0x2, %edx
movq %rdx, -0x110(%rbp)
movl %edx, 0x58(%rax)
movq %r14, %rdi
movl $0x18, %esi
xorl %edx, %edx
movl %ecx, -0xa8(%rbp)
xorl %r8d, %r8d
callq 0x45f15
movq %r14, %rdi
movl $0x15, %esi
xorl %edx, %edx
movl -0x70(%rbp), %ecx
xorl %r8d, %r8d
callq 0x45f15
movl %eax, -0xe8(%rbp)
movl 0x164(%rbx), %eax
cmpl $0x2, %eax
jl 0x53d34
xorl %r14d, %r14d
xorl %r12d, %r12d
xorl %ebx, %ebx
movq -0xf0(%rbp), %rdi
movq -0x30(%rbp), %rcx
movq 0x170(%rcx), %rcx
leaq (%rcx,%r14), %rdx
cmpq %rdi, %rdx
je 0x53d01
movq (%rcx,%r14), %rsi
testb $0x1, 0x2(%rsi)
jne 0x53d01
testb $0x10, 0x1a(%rcx,%r14)
jne 0x53d01
movzwl 0x18(%rcx,%r14), %ecx
testl $0xfff, %ecx            # imm = 0xFFF
je 0x53d01
movq -0xe0(%rbp), %r13
movq %r13, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x4848c
movq %r13, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x4a8e5
movq -0xf0(%rbp), %rdi
movq %rax, %rbx
movq -0x30(%rbp), %rax
movl 0x164(%rax), %eax
incq %r12
movslq %eax, %rcx
addq $0x38, %r14
cmpq %rcx, %r12
jl 0x53c98
testq %rbx, %rbx
je 0x53d34
movq -0x38(%rbp), %rdi
movl $0x45, %esi
xorl %edx, %edx
movq %rbx, %rcx
xorl %r8d, %r8d
callq 0x3a637
movq %rax, -0x88(%rbp)
jmp 0x53d3f
movq $0x0, -0x88(%rbp)
movq -0x68(%rbp), %rdx
cmpl $0x0, 0x14(%rdx)
jle 0x543db
xorl %r13d, %r13d
xorl %ebx, %ebx
movl $0x0, -0xb0(%rbp)
movq $0x0, -0xa0(%rbp)
movq -0x38(%rbp), %r14
movl -0x58(%rbp), %ecx
movq -0x78(%rbp), %r12
movq 0x20(%rdx), %rax
cmpl %ecx, 0xc(%rax,%r13)
je 0x53d89
testb $0x2, 0x19(%rax,%r13)
je 0x53ed9
movq (%rax,%r13), %rdx
movq -0x88(%rbp), %rax
testq %rax, %rax
je 0x53da6
testb $0x1, 0x2(%rdx)
jne 0x53da6
movq %rdx, 0x10(%rax)
movq %rax, %rdx
movq -0x80(%rbp), %rax
movl %eax, (%rsp)
movq %r14, %rdi
movq %r12, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0xf0, %r9d
callq 0x51e94
movq %r14, %rdi
testq %rax, %rax
je 0x53e9a
movq %rax, %r14
leaq 0x338(%rax), %rdx
movq -0x40(%rbp), %rax
movzbl 0x20(%rax), %r8d
movq %r12, %rsi
movq -0x128(%rbp), %rcx
xorl %r9d, %r9d
callq 0x57563
movq -0x30(%rbp), %rax
testb $0x8, 0x32(%rax)
jne 0x53e55
movq -0x68(%rbp), %rax
movl 0x14(%rax), %eax
decl %eax
cmpq %rax, %rbx
movl %ebx, %r12d
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmovel %eax, %r12d
movq 0x20(%r15), %rsi
movq -0x38(%rbp), %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl -0x58(%rbp), %ecx
movq -0x110(%rbp), %r8
xorl %r9d, %r9d
callq 0x4e1f8
movq -0x50(%rbp), %rdi
movl 0x34(%rdi), %ecx
addl $0x2, %ecx
movl $0x78, %esi
movl -0xa8(%rbp), %edx
movl %eax, %r8d
movl %r12d, %r9d
callq 0x4f411
movq -0x50(%rbp), %rdi
movl $0xf, %esi
movl -0x70(%rbp), %edx
movl -0x98(%rbp), %ecx
xorl %r8d, %r8d
callq 0x45f15
cmpb $0x0, 0x36(%r14)
movl $0x1, %eax
movl -0xb0(%rbp), %ecx
cmovnel %eax, %ecx
movq 0x378(%r14), %rax
testb $0x2, 0x29(%rax)
movl %ecx, -0xb0(%rbp)
jne 0x53ea2
xorl %r12d, %r12d
jmp 0x53ebb
movq %rdi, %r14
movl -0x58(%rbp), %ecx
jmp 0x53ed5
movq 0x20(%rax), %r12
testq %r13, %r13
je 0x53ebb
cmpq -0xa0(%rbp), %r12
movl $0x0, %eax
cmovneq %rax, %r12
movq %r14, %rdi
callq 0x54d64
movq %r12, -0xa0(%rbp)
movq -0x38(%rbp), %r14
movl -0x58(%rbp), %ecx
movq -0x78(%rbp), %r12
movq -0x68(%rbp), %rdx
incq %rbx
movslq 0x14(%rdx), %rax
addq $0x38, %r13
cmpq %rax, %rbx
jl 0x53d72
cmpl $0x0, -0xb0(%rbp)
sete %bl
movq -0x40(%rbp), %rax
movq -0xa0(%rbp), %rcx
movq %rcx, 0x30(%rax)
testq %rcx, %rcx
je 0x543e9
movq -0x40(%rbp), %rax
movq -0x80(%rbp), %rcx
movl %ecx, 0x8(%rax)
jmp 0x543e9
movb $0x1, 0x7c(%rsi,%rdx)
movq -0x50(%rbp), %r13
movq -0x40(%rbp), %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0x5b3bc
testq %rbx, %rbx
je 0x53f7b
movq (%rbx), %r14
movq -0x38(%rbp), %rdi
movl 0x58(%rdi), %edx
incl %edx
movl %edx, 0x58(%rdi)
movq 0x18(%r14), %rsi
movl %edx, -0x68(%rbp)
callq 0x4e50a
movzbl (%r14), %eax
orl $0x2, %eax
cmpl $0x4f, %eax
jne 0x53fa1
xorl %eax, %eax
movq -0xb0(%rbp), %r15
testl %r15d, %r15d
sete %al
leal 0x4e(,%rax,2), %eax
jmp 0x53fb0
movl 0x34(%r13), %eax
movq -0xb0(%rbp), %rcx
xorb $0x7, %cl
movb %cl, 0x21(%r14)
movl -0x58(%rbp), %r13d
movl %r13d, 0x24(%r14)
movl %eax, 0x28(%r14)
xorl %r15d, %r15d
jmp 0x537c0
movq -0xb0(%rbp), %r15
leal 0x4d(,%r15,2), %eax
movl %eax, -0x88(%rbp)
movq -0x40(%rbp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5b3bc
movq -0x50(%rbp), %rax
movl 0x34(%rax), %eax
xorb $0x7, %r15b
movb %r15b, 0x21(%r14)
movl -0x58(%rbp), %ecx
movl %ecx, 0x24(%r14)
movl %eax, 0x28(%r14)
movq -0x38(%rbp), %rcx
movb 0x1f(%rcx), %al
testb %al, %al
je 0x53ff9
decb %al
movb %al, 0x1f(%rcx)
movzbl %al, %eax
movl 0x28(%rcx,%rax,4), %r15d
jmp 0x54004
movl 0x58(%rcx), %r15d
incl %r15d
movl %r15d, 0x58(%rcx)
movq -0x30(%rbp), %rbx
movq -0x50(%rbp), %r13
movq %r13, %rdi
movl $0x60, %esi
movl -0x58(%rbp), %r14d
movl %r14d, %edx
movl %r15d, %ecx
xorl %r8d, %r8d
callq 0x45f15
movq -0x38(%rbp), %rdi
movl %r14d, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl %r15d, %ecx
callq 0x4ee66
movq %r13, %rdi
movl -0x88(%rbp), %esi
movl -0x68(%rbp), %edx
movl %r12d, %ecx
movl %r15d, %r8d
callq 0x45f15
movq 0x8(%r13), %rax
testq %rax, %rax
je 0x533ff
movslq 0x34(%r13), %rcx
leaq (%rcx,%rcx,2), %rcx
movb $0x6b, -0x15(%rax,%rcx,8)
jmp 0x533ff
movq -0xa0(%rbp), %r15
leal (%r15,%rbx), %ecx
movq $0x0, -0x98(%rbp)
movq -0x50(%rbp), %rdi
movl $0x18, %esi
xorl %edx, %edx
xorl %r8d, %r8d
callq 0x45f15
leal 0x1(%rbx), %r14d
movq -0x38(%rbp), %rdi
movl %r15d, %esi
movl %r14d, %edx
movq -0x70(%rbp), %rcx
callq 0x5b697
movq %r15, %r8
movl $0x4, %r12d
movq -0x98(%rbp), %rax
leal (%r12,%rax,2), %eax
orl %r13d, %eax
leaq 0x25292(%rip), %rcx     # 0x79360
movzbl (%rax,%rcx), %esi
movq -0x50(%rbp), %r15
movq %r15, %rdi
movl -0x80(%rbp), %edx
movl -0x78(%rbp), %ecx
movl %r14d, %r9d
callq 0x4f411
movl %ebx, %r14d
movq -0xa8(%rbp), %r12
testq %r12, %r12
movq %rbx, -0x98(%rbp)
je 0x541b9
movq (%r12), %rax
movq 0x18(%rax), %r12
movq -0xa0(%rbp), %rax
movl %eax, %r14d
addl %ebx, %r14d
movq -0x38(%rbp), %rbx
movq %rbx, %rdi
movl %r14d, %esi
movl $0x1, %edx
callq 0x4e564
movq %rbx, %rdi
movq %r12, %rsi
movl %r14d, %edx
callq 0x4e50a
movq %r15, %rdi
movq %r12, %rsi
movl %r14d, %edx
movl -0x78(%rbp), %ecx
callq 0x5b5a2
movq -0x110(%rbp), %rbx
testq %rbx, %rbx
je 0x5418d
movslq -0x98(%rbp), %r15
movb (%rbx,%r15), %r14b
movsbl %r14b, %esi
movq %r12, %rdi
callq 0x4ef70
cmpb $0x62, %al
jne 0x54178
movb $0x62, (%rbx,%r15)
movb $0x62, %r14b
movsbl %r14b, %esi
movq %r12, %rdi
callq 0x5b5f6
testl %eax, %eax
je 0x5418d
movb $0x62, (%rbx,%r15)
movq -0x98(%rbp), %rax
leal 0x1(%rax), %r14d
movq -0x38(%rbp), %rdi
movq -0xa0(%rbp), %rsi
movl %r14d, %edx
movq %rbx, %rcx
callq 0x5b697
movq -0x50(%rbp), %r15
movq -0xa8(%rbp), %r12
movq -0xe0(%rbp), %rbx
movq %rbx, %rdi
movq -0x70(%rbp), %rsi
callq 0x9ca4
movq %rbx, %rdi
movq -0x110(%rbp), %rsi
callq 0x9ca4
movl 0x34(%r15), %eax
movq -0x40(%rbp), %rcx
movl %eax, 0x28(%rcx)
cmpl $0x0, -0x98(%rbp)
jne 0x541f4
testq %r12, %r12
je 0x5423e
leaq 0x246eb(%rip), %rax     # 0x788e6
movzbl 0x1(%r13,%rax), %esi
movq -0x50(%rbp), %rbx
movq %rbx, %rdi
movl -0x80(%rbp), %edx
movl -0x78(%rbp), %ecx
movq -0xa0(%rbp), %r8
movl %r14d, %r9d
callq 0x4f411
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x5423e
cmpl %r13d, -0xcc(%rbp)
movq -0x50(%rbp), %rcx
movslq 0x34(%rcx), %rcx
leaq (%rcx,%rcx,2), %rcx
setne -0x15(%rax,%rcx,8)
movq -0x38(%rbp), %rcx
movb 0x1f(%rcx), %al
testb %al, %al
movq -0xf0(%rbp), %r15
je 0x5425f
decb %al
movb %al, 0x1f(%rcx)
movzbl %al, %eax
movl 0x28(%rcx,%rax,4), %r14d
jmp 0x5426a
movl 0x58(%rcx), %r14d
incl %r14d
movl %r14d, 0x58(%rcx)
movq -0x68(%rbp), %rax
testb $0x30, 0x28(%rax)
je 0x542ab
movq -0x50(%rbp), %rbx
movq %rbx, %rdi
movl $0x29, %esi
movl -0x80(%rbp), %edx
movq -0x98(%rbp), %rcx
movl %r14d, %r8d
callq 0x45f15
movq %rbx, %rdi
movl $0x49, %esi
movl %r14d, %edx
movl -0x8c(%rbp), %ecx
xorl %r8d, %r8d
callq 0x45f15
testl %r14d, %r14d
je 0x542fb
movq -0x38(%rbp), %rax
movzbl 0x1f(%rax), %eax
cmpq $0x7, %rax
ja 0x542fb
xorl %ecx, %ecx
movq -0x38(%rbp), %rdx
cmpl %r14d, 0x84(%rdx,%rcx)
je 0x542eb
addq $0x18, %rcx
cmpl $0xf0, %ecx
jne 0x542c0
leal 0x1(%rax), %ecx
movq -0x38(%rbp), %rdx
movb %cl, 0x1f(%rdx)
movl %r14d, 0x28(%rdx,%rax,4)
jmp 0x542f4
movq -0x38(%rbp), %rax
movb $0x1, 0x7c(%rax,%rcx)
movq -0xa8(%rbp), %r12
movq -0x40(%rbp), %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5b3bc
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5b3bc
xorl %r15d, %r15d
cmpb $0x0, -0x88(%rbp)
movq -0x38(%rbp), %rbx
jne 0x5438a
movb 0x1f(%rbx), %al
testb %al, %al
je 0x5433b
decb %al
movb %al, 0x1f(%rbx)
movzbl %al, %eax
movl 0x28(%rbx,%rax,4), %r15d
jmp 0x54346
movl 0x58(%rbx), %r15d
incl %r15d
movl %r15d, 0x58(%rbx)
movq -0x50(%rbp), %r14
movq %r14, %rdi
movl $0x69, %esi
movl -0x80(%rbp), %edx
movl %r15d, %ecx
xorl %r8d, %r8d
callq 0x45f15
movq %rbx, %rdi
movl -0x58(%rbp), %ebx
movl %ebx, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl %r15d, %ecx
callq 0x4ee66
movq %r14, %rdi
movl $0x3b, %esi
movl %ebx, %edx
movl %r15d, %ecx
xorl %r8d, %r8d
callq 0x45f15
movq -0x68(%rbp), %rax
movl 0x28(%rax), %eax
btl $0xc, %eax
jb 0x543a6
testl %r13d, %r13d
je 0x543b0
movq -0x40(%rbp), %rcx
movb $0x6, 0x21(%rcx)
jmp 0x543b8
movq -0x40(%rbp), %rcx
movb $-0x6b, 0x21(%rcx)
jmp 0x543b8
movq -0x40(%rbp), %rcx
movb $0x7, 0x21(%rcx)
movq -0x30(%rbp), %rbx
movq -0x48(%rbp), %rdi
movl -0x58(%rbp), %r13d
movl -0x80(%rbp), %edx
movl %edx, 0x24(%rcx)
testb $0xf, %al
jne 0x537c8
movb $0x1, 0x22(%rcx)
jmp 0x537c8
movq -0x40(%rbp), %rax
movq $0x0, 0x30(%rax)
movb $0x1, %bl
movq -0x88(%rbp), %rsi
testq %rsi, %rsi
je 0x54409
movq $0x0, 0x10(%rsi)
movq -0xe0(%rbp), %rdi
callq 0x3479d
movq -0x50(%rbp), %r14
movl 0x34(%r14), %eax
cmpl -0xe8(%rbp), %eax
jbe 0x5442b
movq 0x8(%r14), %rcx
movl -0xe8(%rbp), %edx
leaq (%rdx,%rdx,2), %rdx
movl %eax, 0x4(%rcx,%rdx,8)
movq -0x40(%rbp), %rax
movl 0xc(%rax), %ecx
movq %r14, %rdi
movl $0xe, %esi
xorl %edx, %edx
xorl %r8d, %r8d
callq 0x45f15
cmpl $0x0, -0x98(%rbp)
jns 0x54467
movq 0x40(%r14), %rax
testq %rax, %rax
je 0x54467
movl -0x98(%rbp), %edx
notl %edx
movl 0x34(%r14), %ecx
movl %edx, %edx
movl %ecx, (%rax,%rdx,4)
movq -0x30(%rbp), %rax
cmpb $0x2, 0x38(%rax)
jb 0x54481
movq -0xe0(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0x9ca4
xorl %r15d, %r15d
testb %bl, %bl
je 0x533fb
movq -0x40(%rbp), %rdi
movq -0xf0(%rbp), %rsi
callq 0x5b3bc
jmp 0x533fb
movq -0xf8(%rbp), %r12
movq -0x30(%rbp), %rbx
movq -0x48(%rbp), %rdi
movq -0x120(%rbp), %r13
jmp 0x53696
movq -0x100(%rbp), %rax
movl 0x34(%rax), %eax
movl %eax, 0x3c(%rbx)
jmp 0x52e48
movl $0x1, %eax
shlq %cl, %rax
movq -0x60(%rbp), %rcx
movq %rax, 0x8(%rcx)
movq -0x30(%rbp), %rax
movl %ebx, 0x33c(%rax)
movq %rax, %rbx
movw $0x1, 0x30(%rax)
movq 0x10(%rax), %rax
testq %rax, %rax
movq -0x48(%rbp), %rdi
movq -0xd8(%rbp), %rcx
je 0x54509
movb $0x1, 0x34(%rbx)
testb $0x4, 0x33(%rbx)
movq -0x118(%rbp), %r15
movq -0x70(%rbp), %r12
je 0x52a95
movb $0x1, 0x37(%rbx)
jmp 0x52a95
movq -0x60(%rbp), %rax
movl $0x1201, 0x28(%rax)     # imm = 0x1201
movq 0x58(%r12), %rax
movq $-0x1, %rdx
xorl %r13d, %r13d
jmp 0x54590
movq -0x60(%rbp), %rax
movl $0x1201, 0x28(%rax)     # imm = 0x1201
movq 0x58(%r12), %rax
testw %cx, %cx
je 0x54589
movq 0x8(%r14), %rdi
incq %rsi
xorl %r8d, %r8d
xorl %edx, %edx
movl -0x8(%rdi,%rsi,4), %ecx
movl $0x1, %r9d
shlq %cl, %r9
cmpl $0x3f, %ecx
cmovgeq %r8, %r9
orq %r9, %rdx
decq %rsi
cmpq $0x1, %rsi
ja 0x54564
notq %rdx
jmp 0x54590
movq $-0x1, %rdx
testq %rax, %rdx
jne 0x545a0
movq -0x60(%rbp), %rax
movl $0x1241, 0x28(%rax)     # imm = 0x1241
movq -0x60(%rbp), %r15
movw %r13w, 0x2c(%r15)
movl %r13d, 0x18(%r15)
movq %r14, 0x20(%r15)
movw $0x27, %ax
jmp 0x52eb7