// File: /workspace/github_c_makefile_star2_O2/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 $0x418, %rsp            # imm = 0x418
movq %r8, -0x50(%rbp)
movq %rdx, %rbx
movq 0x10(%rdi), %rdx
movq (%rdi), %rax
andq $0x0, -0x150(%rbp)
movq %rcx, -0xa0(%rbp)
movq %rcx, -0x160(%rbp)
movl %r9d, %r14d
andl $0x7bff, %r14d          # imm = 0x7BFF
testb $0x20, 0x4c(%rax)
cmovel %r9d, %r14d
movq %rsi, -0x110(%rbp)
movzbl (%rsi), %r13d
cmpl $0x41, %r13d
jb 0x4a9da
leaq 0x230ef(%rip), %rsi     # 0x6daba
pushq $0x40
popq %rdx
xorl %eax, %eax
callq 0x104d6
jmp 0x4b3e3
movq %rdx, -0x100(%rbp)
movq %rdi, -0x78(%rbp)
movzwl %r14w, %r12d
testb $0x40, %r12b
pushq $0x1
popq %rcx
cmovnel %ecx, %r13d
imull $0x48, %r13d, %r15d
addl $0x33f, %r15d           # imm = 0x33F
andl $0x7ff8, %r15d          # imm = 0x7FF8
leal 0x60(%r15), %esi
movq %rax, %rdi
movq %rax, -0xb8(%rbp)
callq 0xf4ae
movq -0xb8(%rbp), %rdi
cmpb $0x0, 0x50(%rdi)
je 0x4aa33
movq %rax, %rsi
callq 0x968b
jmp 0x4b3e3
movl %r12d, -0xc4(%rbp)
movl %r13d, -0x88(%rbp)
movb %r13b, 0x38(%rax)
movq -0x78(%rbp), %r12
movq %r12, (%rax)
movq -0x110(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0xa0(%rbp), %rcx
movq %rcx, 0x10(%rax)
movq -0x50(%rbp), %rcx
movq %rcx, 0x18(%rax)
movq -0x100(%rbp), %rdi
movq %rax, %r13
callq 0x47934
movl %eax, 0x44(%r13)
movw %r14w, 0x32(%r13)
movl 0x1e8(%r12), %eax
movl %eax, 0x48(%r13)
movq %r13, -0x170(%rbp)
leaq 0x150(%r13), %rax
movq %rax, -0xf8(%rbp)
movq %rax, -0x168(%rbp)
leaq (%r13,%r15), %rax
movq %rax, -0x38(%rbp)
movq %rax, -0x158(%rbp)
leaq 0x40(%r13,%r15), %rax
movq %rax, -0x80(%rbp)
movq %rax, 0x30(%r13,%r15)
movabsq $0x4000000000000, %rax  # imm = 0x4000000000000
movq %rax, 0x28(%r13,%r15)
andl $0x0, 0x4c(%r13)
movq %r13, 0x150(%r13)
andq $0x0, 0x158(%r13)
movabsq $0x800000000, %rax      # imm = 0x800000000
movq %rax, 0x164(%r13)
leaq 0x178(%r13), %rax
movq %r13, -0x30(%rbp)
movq %rax, 0x170(%r13)
cmpl $0x0, 0x16c(%r12)
jne 0x4ab4b
movq (%r12), %rax
testb $0x8, 0x4c(%rax)
jne 0x4ab4b
xorps %xmm0, %xmm0
leaq -0x438(%rbp), %rdi
movups %xmm0, 0x8(%rdi)
movups %xmm0, 0x18(%rdi)
leaq 0x478d(%rip), %rax      # 0x4f2c9
movq %rax, (%rdi)
movq %r12, 0x10(%rdi)
movq %rbx, %rsi
callq 0x4336b
pushq $0x45
popq %rdx
movq -0xf8(%rbp), %rdi
movq %rbx, %rsi
callq 0x4e828
pushq $-0x1
popq %rsi
movq %r12, %rdi
callq 0x4234d
testq %rbx, %rbx
movq -0x110(%rbp), %r14
movq -0x50(%rbp), %r13
movq -0x38(%rbp), %r12
je 0x4abab
cmpl $0x0, -0x88(%rbp)
movq -0x30(%rbp), %rax
je 0x4ab99
movq %rbx, %rdi
callq 0x4e881
testl %eax, %eax
movq -0x30(%rbp), %rax
je 0x4abd4
movl 0x44(%rax), %edx
pushq $0x8
popq %rcx
movq -0x78(%rbp), %rdi
movq %rbx, %rsi
callq 0x4797e
cmpl $0x0, -0x88(%rbp)
movq -0x30(%rbp), %rax
jne 0x4abd4
cmpq $0x0, -0xa0(%rbp)
je 0x4abc6
movb $0x1, 0x34(%rax)
btl $0xa, -0xc4(%rbp)
jae 0x4abd4
movb $0x1, 0x37(%rax)
leaq 0x4c(%rax), %rbx
movzbl (%r14), %eax
leaq 0x8(%r14), %rcx
movq %rcx, -0x140(%rbp)
imulq $0x68, %rax, %rax
xorl %ecx, %ecx
movq -0x30(%rbp), %r8
cmpq %rcx, %rax
je 0x4ac11
movl 0x44(%r14,%rcx), %edx
movslq 0x4c(%r8), %rsi
leal 0x1(%rsi), %edi
movl %edi, 0x4c(%r8)
movl %edx, 0x50(%r8,%rsi,4)
addq $0x68, %rcx
jmp 0x4abf1
movq -0xf8(%rbp), %rdi
callq 0x4e890
movq -0xb8(%rbp), %rdi
cmpb $0x0, 0x50(%rdi)
movq -0x30(%rbp), %rax
jne 0x4b3ce
movq %rbx, -0x70(%rbp)
cmpq $0x0, -0xa0(%rbp)
je 0x4ac98
movb $0x1, %cl
btl $0xa, -0xc4(%rbp)
jae 0x4ae5d
movq -0xa0(%rbp), %rax
movl (%rax), %ebx
xorl %eax, %eax
testl %ebx, %ebx
cmovlel %eax, %ebx
shlq $0x5, %rbx
addq $0x20, %rbx
leaq 0x20(%rax), %r14
cmpq %r14, %rbx
je 0x4ac94
movq -0xa0(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq (%rcx,%rax), %rdi
callq 0x45e0b
cmpb $-0x68, (%rax)
jne 0x4aca9
cmpw $0x0, 0x30(%rax)
movq %r14, %rax
jns 0x4ac68
xorl %ecx, %ecx
jmp 0x4acb4
movb $0x1, %cl
btl $0xa, -0xc4(%rbp)
jb 0x4acb4
jmp 0x4ae5d
movq -0x30(%rbp), %rax
andq $0x0, 0x10(%rax)
movb $0x1, %cl
movl %ecx, -0xf0(%rbp)
movq -0x110(%rbp), %rax
cmpb $0x1, (%rax)
jne 0x4ae34
movq -0x110(%rbp), %rax
movl 0x44(%rax), %ecx
movl %ecx, -0xc0(%rbp)
movq 0x28(%rax), %rax
movq %rax, -0x40(%rbp)
movl (%r13), %ebx
xorl %r14d, %r14d
testl %ebx, %ebx
cmovlel %r14d, %ebx
shlq $0x5, %rbx
cmpq %r14, %rbx
je 0x4ad26
movq 0x8(%r13), %rax
movq (%rax,%r14), %rdi
callq 0x45e0b
cmpb $-0x68, (%rax)
jne 0x4ad20
movl -0xc0(%rbp), %ecx
cmpl %ecx, 0x2c(%rax)
jne 0x4ad20
cmpw $0x0, 0x30(%rax)
js 0x4ae53
addq $0x20, %r14
jmp 0x4acf3
movq -0x40(%rbp), %rax
leaq 0x10(%rax), %r14
movq (%r14), %r14
testq %r14, %r14
je 0x4ae34
cmpb $0x0, 0x56(%r14)
je 0x4ae2b
xorl %r12d, %r12d
movzwl 0x54(%r14), %eax
cmpq %rax, %r12
jae 0x4ae1d
movq 0x8(%r14), %rax
movl (%rax,%r12,4), %edx
movq -0xf8(%rbp), %rdi
movl -0xc0(%rbp), %esi
pushq $-0x1
popq %rcx
pushq $0x2
popq %r8
movq %r14, %r9
callq 0x504dd
testq %rax, %rax
je 0x4ad84
incq %r12
jmp 0x4ad48
movq 0x40(%r14), %rax
movq (%rax,%r12,8), %rax
movq %rax, -0x48(%rbp)
xorl %r15d, %r15d
xorl %ebx, %ebx
movslq (%r13), %rax
cmpq %rax, %rbx
jge 0x4ae1d
movq 0x8(%r13), %rax
movq (%rax,%r15), %r13
movq %r13, %rdi
callq 0x45e0b
cmpb $-0x68, (%rax)
jne 0x4aded
movswl 0x30(%rax), %ecx
movq 0x8(%r14), %rdx
cmpl %ecx, (%rdx,%r12,4)
jne 0x4aded
movl -0xc0(%rbp), %ecx
cmpl %ecx, 0x2c(%rax)
jne 0x4aded
movq -0x78(%rbp), %rdi
movq %r13, %rsi
callq 0x466ee
testq %rax, %rax
je 0x4aded
movq (%rax), %rdi
movq -0x48(%rbp), %rsi
callq 0xb1bf
testl %eax, %eax
je 0x4adfa
incq %rbx
addq $0x20, %r15
movq -0x50(%rbp), %r13
jmp 0x4ad95
movq -0x40(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x8(%r14), %rcx
movslq (%rcx,%r12,4), %rcx
imulq $0x30, %rcx, %rcx
cmpb $0x0, 0x28(%rax,%rcx)
movq -0x50(%rbp), %r13
jne 0x4ad7f
movzwl 0x54(%r14), %eax
cmpq %rax, %r12
movq -0x38(%rbp), %r12
je 0x4ae53
addq $0x28, %r14
jmp 0x4ad2e
cmpb $0x0, -0xf0(%rbp)
je 0x4ae4b
movq -0x30(%rbp), %rax
orb $0x2, 0x33(%rax)
movq %r13, 0x10(%rax)
jmp 0x4ae5b
xorl %ecx, %ecx
movq -0x30(%rbp), %rax
jmp 0x4ae5d
movq -0x30(%rbp), %rax
movb $0x1, 0x37(%rax)
xorl %ecx, %ecx
movl %ecx, -0xf0(%rbp)
cmpl $0x1, -0x88(%rbp)
jne 0x4ae8c
testb $0x20, 0x32(%rax)
jne 0x4ae8c
movq 0x8(%rax), %r13
movq 0x28(%r13), %r14
testb $0x10, 0x46(%r14)
jne 0x4ae8c
cmpq $0x0, 0x60(%r13)
je 0x4b3f7
movq -0x30(%rbp), %rax
movq (%rax), %rax
movq -0x30(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq (%rax), %rax
movq %rax, -0xd0(%rbp)
movq -0x30(%rbp), %r14
movzbl 0x38(%r14), %eax
movl %eax, -0xa8(%rbp)
movq -0x80(%rbp), %rax
movq %rax, 0x30(%r12)
movabsq $0x4000000000000, %rax  # imm = 0x4000000000000
movq %rax, 0x28(%r12)
addq $0x8, %rcx
movq %rcx, -0xb0(%rbp)
leaq 0x18(%r12), %rax
movq %rax, -0x138(%rbp)
xorl %eax, %eax
movq $0x0, -0x118(%rbp)
xorl %ebx, %ebx
movq $0x0, -0x80(%rbp)
cmpl -0xa8(%rbp), %eax
je 0x4b348
movq %rax, -0xe0(%rbp)
movb %al, 0x10(%r12)
movq -0xb0(%rbp), %r14
movl 0x3c(%r14), %esi
movq -0x70(%rbp), %rdi
callq 0x4ee15
movq %rax, 0x8(%r12)
movb 0x38(%r14), %al
movb %al, -0xd8(%rbp)
orb %al, %bl
testb $0xa, %bl
movq -0x80(%rbp), %rbx
cmovneq -0x118(%rbp), %rbx
movq 0x20(%r14), %rax
testb $0x10, 0x46(%rax)
jne 0x4af61
leaq -0x170(%rbp), %rdi
movq %rbx, %rsi
callq 0x50e38
jmp 0x4af6d
leaq -0x170(%rbp), %rdi
callq 0x507d5
testl %eax, %eax
movq -0x30(%rbp), %r14
jne 0x4b3b0
testb $-0x80, 0x32(%r14)
movq %rbx, -0x80(%rbp)
jne 0x4b30a
movq 0x170(%r14), %rcx
movslq 0x164(%r14), %rax
imulq $0x38, %rax, %rax
addq %rcx, %rax
movq %rax, -0x98(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x190(%rbp)
movaps %xmm0, -0x1a0(%rbp)
movaps %xmm0, -0x1b0(%rbp)
andq $0x0, -0x180(%rbp)
xorl %edx, %edx
testl %edx, %edx
jne 0x4b2fe
cmpq -0x98(%rbp), %rcx
jae 0x4b2fe
xorl %edx, %edx
testb $0x1, 0x19(%rcx)
movq %rcx, -0x120(%rbp)
je 0x4b2ee
movq 0x10(%rcx), %rax
movq 0x8(%r12), %rcx
testq %rcx, 0x1e8(%rax)
je 0x4b2ee
movq 0x20(%rax), %rdx
movslq 0x14(%rax), %rax
imulq $0x38, %rax, %rsi
movq -0x30(%rbp), %rax
movq 0x8(%rax), %rax
movzbl 0x10(%r12), %ecx
imulq $0x68, %rcx, %rcx
addq %rcx, %rax
addq $0x8, %rax
movq %rax, -0x58(%rbp)
movl 0x3c(%rax), %eax
movl %eax, -0x108(%rbp)
movups -0x170(%rbp), %xmm0
movups -0x160(%rbp), %xmm1
movaps %xmm1, -0x1d0(%rbp)
movaps %xmm0, -0x1e0(%rbp)
andq $0x0, -0x1d0(%rbp)
addq %rdx, %rsi
movq %rsi, -0x60(%rbp)
leaq -0x218(%rbp), %rax
movq %rax, -0x1c0(%rbp)
xorl %eax, %eax
pushq $0x1
popq %rbx
cmpq -0x60(%rbp), %rdx
jae 0x4b24b
testb $0x2, 0x19(%rdx)
movq %rdx, -0x40(%rbp)
jne 0x4b0d0
movl -0x108(%rbp), %ecx
cmpl %ecx, 0xc(%rdx)
jne 0x4b23e
movq -0xf8(%rbp), %rcx
movq (%rcx), %rax
movq %rax, -0x438(%rbp)
movq %rcx, -0x430(%rbp)
movb $0x45, -0x428(%rbp)
movl $0x1, -0x424(%rbp)
movq %rdx, -0x418(%rbp)
leaq -0x438(%rbp), %rax
jmp 0x4b0d4
movq 0x10(%rdx), %rax
andw $0x0, -0x218(%rbp)
movq %rax, -0x1d8(%rbp)
movq -0x58(%rbp), %rax
movq 0x20(%rax), %rax
testb $0x10, 0x46(%rax)
jne 0x4b1dc
leaq -0x1e0(%rbp), %rdi
movq -0x80(%rbp), %rsi
callq 0x50e38
movzwl -0x218(%rbp), %r12d
testw %r12w, %r12w
je 0x4b256
movl %eax, -0x68(%rbp)
testl %ebx, %ebx
jne 0x4b213
movzwl -0x1b0(%rbp), %edx
movq %rdx, -0x48(%rbp)
shll $0x4, %edx
leaq -0x248(%rbp), %rdi
leaq -0x1a8(%rbp), %rsi
callq 0x82c0
andw $0x0, -0x1b0(%rbp)
xorl %r14d, %r14d
cmpq -0x48(%rbp), %r14
je 0x4b235
movq %r14, -0xc0(%rbp)
shlq $0x4, %r14
leaq -0x248(%rbp), %rax
addq %rax, %r14
leaq -0x206(%rbp), %r13
xorl %r15d, %r15d
movzwl %r12w, %eax
cmpq %rax, %r15
jae 0x4b1cd
movq -0xa(%r13), %r12
orq (%r14), %r12
movzwl 0x8(%r14), %edi
movzwl -0x2(%r13), %esi
callq 0x51712
movl %eax, %ebx
movzwl 0xa(%r14), %edi
movzwl (%r13), %esi
callq 0x51712
movzwl %bx, %edx
movzwl %ax, %ecx
leaq -0x1b0(%rbp), %rdi
movq %r12, %rsi
callq 0x5159e
incq %r15
movzwl -0x218(%rbp), %r12d
addq $0x10, %r13
jmp 0x4b177
movq -0xc0(%rbp), %r14
incq %r14
jmp 0x4b14e
leaq -0x1e0(%rbp), %rdi
callq 0x507d5
movzwl -0x218(%rbp), %r12d
movl %r12d, %esi
shll $0x4, %esi
xorl %ecx, %ecx
cmpq %rcx, %rsi
je 0x4b10d
movq -0x80(%rbp), %rdx
orq %rdx, -0x210(%rbp,%rcx)
addq $0x10, %rcx
jmp 0x4b1f8
movw %r12w, -0x1b0(%rbp)
movzwl %r12w, %edx
shll $0x4, %edx
leaq -0x1a8(%rbp), %rdi
leaq -0x210(%rbp), %rsi
callq 0x82c0
xorl %ebx, %ebx
movq -0x38(%rbp), %r12
movl -0x68(%rbp), %eax
movq -0x40(%rbp), %rdx
addq $0x38, %rdx
jmp 0x4b074
movl %eax, %edx
movzwl -0x1b0(%rbp), %ebx
jmp 0x4b266
movl %eax, %edx
andw $0x0, -0x1b0(%rbp)
xorl %ebx, %ebx
movq -0x38(%rbp), %r12
movw $0x1, 0x2c(%r12)
movq 0x30(%r12), %rax
movq -0x120(%rbp), %rcx
movq %rcx, (%rax)
movl $0x2000, 0x28(%r12)     # imm = 0x2000
andw $0x0, 0x12(%r12)
movb $0x0, 0x11(%r12)
movq -0x138(%rbp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
leaq -0x19e(%rbp), %r14
xorl %r15d, %r15d
movl %edx, %eax
movl %eax, %edx
testl %eax, %eax
jne 0x4b2ee
cmpq %rbx, %r15
jae 0x4b2ee
movl -0x2(%r14), %eax
addl $0x12, %eax
movw %ax, 0x14(%r12)
movzwl (%r14), %eax
movw %ax, 0x16(%r12)
movq -0xa(%r14), %rax
movq %rax, (%r12)
leaq -0x170(%rbp), %rdi
movq %r12, %rsi
callq 0x5137b
incq %r15
addq $0x10, %r14
jmp 0x4b2ac
movq -0x120(%rbp), %rcx
addq $0x38, %rcx
jmp 0x4afc6
testl %edx, %edx
movq -0x30(%rbp), %r14
jne 0x4b3b0
movq -0xd0(%rbp), %rax
cmpb $0x0, 0x50(%rax)
movq -0xe0(%rbp), %rax
jne 0x4b348
movq -0x118(%rbp), %rcx
orq 0x8(%r12), %rcx
movq %rcx, -0x118(%rbp)
incl %eax
addq $0x68, -0xb0(%rbp)
movb -0xd8(%rbp), %cl
movl %ecx, %ebx
jmp 0x4aefa
movq -0xd0(%rbp), %rdi
movq %r12, %rsi
callq 0x512a8
movq %r14, %rdi
xorl %esi, %esi
callq 0x4e8b8
movq -0xb8(%rbp), %rdi
cmpb $0x0, 0x50(%rdi)
movq -0x50(%rbp), %r15
jne 0x4b3c6
cmpq $0x0, 0x10(%r14)
movq -0x70(%rbp), %rbx
je 0x4b54f
movq -0x30(%rbp), %rax
movl 0x30(%rax), %eax
incl %eax
movzwl %ax, %esi
movq -0x30(%rbp), %rdi
callq 0x4e8b8
movq -0x30(%rbp), %rax
movq -0xb8(%rbp), %rdi
cmpb $0x0, 0x50(%rdi)
jne 0x4b3ce
movq 0x10(%rax), %rax
jmp 0x4b53f
movq -0xd0(%rbp), %rdi
movq %r12, %rsi
callq 0x512a8
movq -0xb8(%rbp), %rdi
testq %r14, %r14
movq %r14, %rax
je 0x4b3e3
movq %rax, %rsi
movl 0x48(%rax), %eax
movq -0x78(%rbp), %rcx
movl %eax, 0x1e8(%rcx)
callq 0x4f26f
xorl %eax, %eax
addq $0x418, %rsp            # imm = 0x418
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0x44(%r13), %ebx
andl $0x0, 0x28(%r12)
pushq $-0x1
popq %rdx
pushq $0x2
popq %r8
movq -0xf8(%rbp), %rdi
movl %ebx, %esi
xorl %ecx, %ecx
xorl %r9d, %r9d
callq 0x504dd
testq %rax, %rax
je 0x4b455
movl $0x1101, 0x28(%r12)     # imm = 0x1101
movq 0x30(%r12), %rcx
movq %rax, (%rcx)
movw $0x1, 0x2c(%r12)
movl $0x1, 0x18(%r12)
movw $0x21, %ax
movw %ax, 0x14(%r12)
movq -0x30(%rbp), %rax
jmp 0x4b4ec
addq $0x10, %r14
pushq $0x2
popq %r15
movq -0x30(%rbp), %rax
movq (%r14), %r14
testq %r14, %r14
je 0x4b4e0
cmpb $0x0, 0x56(%r14)
je 0x4b4d6
cmpq $0x0, 0x48(%r14)
jne 0x4b4d6
movzwl 0x54(%r14), %ecx
cmpw $0x4, %cx
ja 0x4b4d6
xorl %r12d, %r12d
movzwl %cx, %eax
cmpq %rax, %r12
jae 0x4b4c9
movq 0x8(%r14), %rax
movl (%rax,%r12,4), %edx
movq -0xf8(%rbp), %rdi
movl %ebx, %esi
xorl %ecx, %ecx
movl %r15d, %r8d
movq %r14, %r9
callq 0x504dd
movzwl 0x54(%r14), %ecx
testq %rax, %rax
je 0x4b4c6
movq -0x38(%rbp), %rdx
movq 0x30(%rdx), %rdx
movq %rax, (%rdx,%r12,8)
incq %r12
jmp 0x4b485
movzwl %cx, %eax
cmpq %r12, %rax
movq -0x30(%rbp), %rax
je 0x4cfd1
addq $0x28, %r14
movq -0x38(%rbp), %r12
jmp 0x4b461
cmpl $0x0, 0x28(%r12)
je 0x4ae8c
movw $0x1, %r14w
movw %r14w, 0x16(%r12)
movq %r12, 0x378(%rax)
movq -0x70(%rbp), %rdi
movl %ebx, %esi
movq %rax, %r15
callq 0x4ee15
movq %rax, 0x8(%r12)
movl %ebx, 0x33c(%r15)
movw %r14w, 0x30(%r15)
movq 0x10(%r15), %rax
testq %rax, %rax
je 0x4b52b
movb $0x1, 0x34(%r15)
testb $0x4, 0x33(%r15)
je 0x4b537
movb $0x1, 0x37(%r15)
movq -0x70(%rbp), %rbx
movq -0x50(%rbp), %r15
testq %rax, %rax
movq -0xb8(%rbp), %rdi
movq -0x30(%rbp), %r14
jne 0x4b55a
testb $0x2, 0x2e(%rdi)
je 0x4b55a
orq $-0x1, 0x28(%r14)
movq -0x78(%rbp), %rax
cmpl $0x0, 0x50(%rax)
movq -0x30(%rbp), %rax
movq -0xb8(%rbp), %rdi
jne 0x4b3ce
cmpb $0x0, 0x50(%rdi)
jne 0x4b3ce
testq %r15, %r15
je 0x4b662
movb 0x38(%rax), %r14b
cmpb $0x2, %r14b
jb 0x4b662
testb $0x4, 0x4d(%rdi)
jne 0x4b662
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4edb9
movq %rbx, %rdi
movq %rax, %rbx
movq -0xa0(%rbp), %rsi
testq %rsi, %rsi
je 0x4b5c3
callq 0x4edb9
orq %rax, %rbx
movq -0x30(%rbp), %rax
addq $0x338, %rax            # imm = 0x338
cmpb $0x2, %r14b
jb 0x4b65e
movzbl %r14b, %ecx
decl %ecx
imulq $0x48, %rcx, %rcx
movq 0x40(%rax,%rcx), %rcx
movq -0x30(%rbp), %rdx
movq 0x8(%rdx), %rdx
movzbl 0x10(%rcx), %esi
imulq $0x68, %rsi, %rsi
testb $0x8, 0x40(%rdx,%rsi)
je 0x4b65e
cmpb $0x0, -0xf0(%rbp)
je 0x4b60c
testb $0x10, 0x29(%rcx)
je 0x4b65e
movq 0x8(%rcx), %rcx
testq %rbx, %rcx
jne 0x4b65e
movq -0x30(%rbp), %rsi
movq 0x170(%rsi), %rdx
movslq 0x164(%rsi), %rsi
imulq $0x38, %rsi, %rsi
addq %rdx, %rsi
cmpq %rsi, %rdx
jae 0x4b648
testq %rcx, 0x30(%rdx)
je 0x4b642
movq (%rdx), %rdi
testb $0x1, 0x2(%rdi)
je 0x4b65e
addq $0x38, %rdx
jmp 0x4b62e
decb %r14b
movq -0x30(%rbp), %rcx
movb %r14b, 0x38(%rcx)
decl -0x88(%rbp)
jmp 0x4b5cd
movq -0x30(%rbp), %rax
movq %rax, %rdx
movzwl 0x30(%rax), %eax
movq (%rdx), %rcx
addl %eax, 0x1e8(%rcx)
movl -0xc4(%rbp), %esi
testb $0x4, %sil
je 0x4b698
movq 0x378(%rdx), %rax
movl 0x28(%rax), %ecx
btl $0xc, %ecx
jae 0x4b698
movb $0x1, 0x35(%rdx)
andl $-0x41, %ecx
movl %ecx, 0x28(%rax)
pushq $-0x1
popq %rax
movq %rax, -0xc0(%rbp)
leaq 0x338(%rdx), %r13
andl $0x10, %esi
movl %esi, -0x40(%rbp)
xorl %ecx, %ecx
movl -0x88(%rbp), %eax
testl %eax, %eax
cmovlel %ecx, %eax
movq %r13, -0x138(%rbp)
movl %eax, %ebx
cmpl %eax, %ecx
je 0x4b86d
movq %rcx, -0x80(%rbp)
movzbl 0x20(%r13), %eax
imulq $0x68, %rax, %rax
movq -0x140(%rbp), %rcx
leaq (%rcx,%rax), %rdx
movq %rdx, -0x48(%rbp)
movq 0x20(%rcx,%rax), %r12
movq 0x68(%r12), %rsi
movq -0xb8(%rbp), %rdi
callq 0x1064e
movl %eax, %r15d
movq 0x40(%r13), %r14
movzbl 0x46(%r12), %eax
testb $0x2, %al
jne 0x4b781
cmpq $0x0, 0x18(%r12)
jne 0x4b781
movl 0x28(%r14), %ecx
btl $0xa, %ecx
jb 0x4b74b
testb $0x10, %al
jne 0x4b781
andl $0x40, %ecx
orl -0x40(%rbp), %ecx
movq -0x78(%rbp), %rdi
je 0x4b800
movl 0x3c(%r12), %edx
movq (%r12), %r8
movl %r15d, %esi
xorl %ecx, %ecx
callq 0x4207f
jmp 0x4b781
movq -0xb8(%rbp), %rdi
movq %r12, %rsi
callq 0x3095c
movq -0x48(%rbp), %rcx
movl 0x3c(%rcx), %edx
movl $0xfffffff6, (%rsp)     # imm = 0xFFFFFFF6
movq -0x100(%rbp), %rdi
movl $0x89, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
movq %rax, %r9
callq 0x41fd2
testb $0x2, 0x29(%r14)
je 0x4b7d3
movq 0x20(%r14), %r12
movq -0x78(%rbp), %rdi
movq %r12, %rsi
callq 0x476ae
movl 0x10(%rbp), %ecx
movl %ecx, %edx
testl %ecx, %ecx
jne 0x4b7ae
movq -0x78(%rbp), %rsi
movl 0x54(%rsi), %edx
leal 0x1(%rdx), %ecx
movl %ecx, 0x54(%rsi)
movl %edx, 0x8(%r13)
movl 0x50(%r12), %ecx
movl $0xfffffff0, (%rsp)     # imm = 0xFFFFFFF0
movq -0x100(%rbp), %rdi
pushq $0x30
popq %rsi
movl %r15d, %r8d
movq %rax, %r9
callq 0x41fd2
movq -0x78(%rbp), %rdi
movl %r15d, %esi
callq 0x4234d
movq -0x48(%rbp), %rax
movl 0x3c(%rax), %esi
movq -0x70(%rbp), %rdi
callq 0x4ee15
movq -0x80(%rbp), %rcx
incl %ecx
addq $0x48, %r13
movl %ebx, %eax
jmp 0x4b6c3
movq -0x30(%rbp), %rax
cmpb $0x1, 0x35(%rax)
pushq $0x31
popq %r8
sbbl $0x0, %r8d
movq -0x48(%rbp), %rax
movl 0x3c(%rax), %esi
movl %r15d, %edx
movq %r12, %rcx
callq 0x4200b
movq -0x30(%rbp), %rax
cmpb $0x0, 0x35(%rax)
jne 0x4b781
cmpw $0x3f, 0x42(%r12)
jg 0x4b781
movq -0x48(%rbp), %rax
movq 0x50(%rax), %rax
xorl %edx, %edx
movq -0x100(%rbp), %rdi
testq %rax, %rax
je 0x4b85b
shrq %rax
incq %rdx
jmp 0x4b84e
movl 0x34(%rdi), %esi
decl %esi
pushq $-0xe
popq %rcx
callq 0x1074b
jmp 0x4b781
movq -0x100(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x30(%rbp), %rcx
movl %eax, 0x3c(%rcx)
movq %rcx, %rax
movq -0xb8(%rbp), %rdi
cmpb $0x0, 0x50(%rdi)
jne 0x4b3ce
movl %ebx, %ecx
movq %rcx, -0x118(%rbp)
leaq 0x3a0(%rax), %rcx
xorl %ebx, %ebx
cmpq -0x118(%rbp), %rbx
je 0x4b3e5
movq %rcx, -0x120(%rbp)
movq %rax, %r14
imulq $0x48, %rbx, %rax
movq -0x138(%rbp), %rcx
leaq (%rcx,%rax), %r13
movq 0x40(%rcx,%rax), %rax
testb $0x40, 0x29(%rax)
movq %r13, -0x68(%rbp)
movq %rbx, -0x108(%rbp)
je 0x4bd08
movzbl 0x20(%r13), %eax
imulq $0x68, %rax, %rbx
movq -0x140(%rbp), %r15
leaq (%r15,%rbx), %rax
movq %rax, -0x48(%rbp)
movq -0x78(%rbp), %rdi
movq 0x10(%rdi), %rax
movq %rax, -0x98(%rbp)
callq 0x49b86
movl %eax, -0x50(%rbp)
movq 0x20(%r15,%rbx), %rax
movq %rax, -0x58(%rbp)
movq %r13, %rcx
movq 0x170(%r14), %r13
movslq 0x164(%r14), %rax
imulq $0x38, %rax, %rax
addq %r13, %rax
movq %rax, -0x80(%rbp)
movq 0x40(%rcx), %rax
movq %rax, -0x60(%rbp)
xorl %r14d, %r14d
movq $0x0, -0x40(%rbp)
xorl %r15d, %r15d
cmpq -0x80(%rbp), %r13
jae 0x4ba08
movq %r13, %rdi
movq -0x48(%rbp), %rsi
movq -0xc0(%rbp), %rdx
callq 0x516d3
testl %eax, %eax
je 0x4b9c8
movslq 0x10(%r13), %rcx
pushq $0x1
popq %r12
shlq %cl, %r12
cmpq $0x40, %rcx
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmovgeq %rax, %r12
testb %r14b, %r14b
movq -0x78(%rbp), %rax
jne 0x4b9bf
movq -0x58(%rbp), %rax
movq (%rax), %rdx
movq 0x8(%rax), %rax
imulq $0x30, %rcx, %rcx
movq (%rax,%rcx), %rcx
movl $0x11c, %edi            # imm = 0x11C
leaq 0x22185(%rip), %rsi     # 0x6db39
xorl %eax, %eax
callq 0xaf99
movq -0x78(%rbp), %rax
movb $0x1, %r14b
testq %r12, -0x40(%rbp)
je 0x4b9cd
movl %r15d, %ebx
jmp 0x4b9fc
movq (%rax), %rdi
leal 0x1(%r15), %ebx
movq -0x60(%rbp), %r14
movq %r14, %rsi
movl %ebx, %edx
callq 0x512f5
testl %eax, %eax
jne 0x4bce8
movq 0x30(%r14), %rax
movslq %r15d, %rcx
movq %r13, (%rax,%rcx,8)
orq %r12, -0x40(%rbp)
movb $0x1, %r14b
addq $0x38, %r13
movl %ebx, %r15d
jmp 0x4b94e
movq -0x60(%rbp), %r14
movw %r15w, 0x2c(%r14)
movzwl %r15w, %eax
movl %eax, 0x18(%r14)
movq -0x48(%rbp), %rax
movq 0x50(%rax), %rax
movq -0x40(%rbp), %rsi
notq %rsi
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
orq %rcx, %rsi
andq %rax, %rsi
movq -0x58(%rbp), %rcx
movswl 0x42(%rcx), %ecx
testl %ecx, %ecx
movl $0x0, %ebx
cmovgl %ecx, %ebx
cmpl $0x3f, %ecx
pushq $0x3f
popq %rdx
cmovgeq %rdx, %rbx
xorl %edx, %edx
cmpq %rdx, %rbx
je 0x4ba68
btq %rdx, %rsi
adcl $0x0, %r15d
incq %rdx
jmp 0x4ba56
movq %rsi, -0x40(%rbp)
addl $-0x3f, %ecx
sarq $0x3f, %rax
andl %ecx, %eax
addl %eax, %r15d
movl $0x4241, 0x28(%r14)     # imm = 0x4241
imull $0xd, %r15d, %esi
addl $0x58, %esi
movq -0x78(%rbp), %rax
movq (%rax), %rdi
callq 0xf4ae
testq %rax, %rax
je 0x4bce8
movq %rax, %rdx
movslq %r15d, %rax
movq %rdx, 0x20(%r14)
leaq 0x58(%rdx), %rcx
movq %rcx, 0x40(%rdx)
leaq 0x58(%rdx,%rax,8), %rcx
movq %rcx, 0x8(%rdx)
leaq (%rcx,%rax,4), %rax
movq %rax, 0x38(%rdx)
leaq 0x2208d(%rip), %rax     # 0x6db53
movq %rax, (%rdx)
movw %r15w, 0x54(%rdx)
movq -0x58(%rbp), %rax
movq %rdx, -0x38(%rbp)
movq %rax, 0x18(%rdx)
movq -0x30(%rbp), %rax
movq 0x170(%rax), %r14
movq $0x0, -0x60(%rbp)
xorl %r13d, %r13d
cmpq -0x80(%rbp), %r14
jae 0x4bb81
movq %r14, %rdi
movq -0x48(%rbp), %rsi
movq -0xc0(%rbp), %rdx
callq 0x516d3
testl %eax, %eax
je 0x4bb78
movl 0x10(%r14), %ecx
pushq $0x1
popq %r12
shlq %cl, %r12
cmpl $0x40, %ecx
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmovgeq %rax, %r12
testq %r12, -0x60(%rbp)
jne 0x4bb78
movq (%r14), %rax
movq -0x38(%rbp), %rdx
movq 0x8(%rdx), %rdx
movslq %r13d, %r13
movl %ecx, (%rdx,%r13,4)
movq 0x10(%rax), %rsi
movq 0x18(%rax), %rdx
movq -0x78(%rbp), %rdi
callq 0x49bae
leaq 0x21a01(%rip), %rcx     # 0x6d55e
testq %rax, %rax
je 0x4bb65
movq (%rax), %rcx
orq %r12, -0x60(%rbp)
movq -0x38(%rbp), %rax
movq 0x40(%rax), %rax
movq %rcx, (%rax,%r13,8)
incl %r13d
addq $0x38, %r14
jmp 0x4baf0
xorl %ecx, %ecx
leaq 0x219d4(%rip), %rdi     # 0x6d55e
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %r14
movslq %r13d, %rax
cmpq %rcx, %rbx
je 0x4bbb9
btq %rcx, %rsi
jae 0x4bbb4
movq 0x8(%r14), %rdx
movl %ecx, (%rdx,%rax,4)
movq 0x40(%r14), %rdx
movq %rdi, (%rdx,%rax,8)
incl %eax
movl %eax, %r13d
incq %rcx
jmp 0x4bb92
movq -0x48(%rbp), %rcx
cmpq $0x0, 0x50(%rcx)
movq -0x68(%rbp), %r12
movq -0x98(%rbp), %r13
js 0x4c280
movq -0x78(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x476ae
movl 0x54(%rbx), %edx
leal 0x1(%rdx), %ecx
movl %ecx, 0x54(%rbx)
movl %edx, 0x8(%r12)
incl %r15d
movl $0xfffffff0, (%rsp)     # imm = 0xFFFFFFF0
movq %r13, %rdi
pushq $0x32
popq %rsi
movl %r15d, %ecx
xorl %r8d, %r8d
movq %rax, %r9
callq 0x41fd2
movl 0x4(%r12), %edx
movq %r13, %rdi
pushq $0x65
popq %rsi
callq 0x42436
movl %eax, %r15d
movq %rbx, %rdi
callq 0x46ff9
movq %r14, %rsi
movl %eax, %r14d
movl 0x4(%r12), %edx
movq %rbx, %rdi
movl %eax, %ecx
pushq $0x1
popq %r8
xorl %r9d, %r9d
callq 0x47732
movl 0x8(%r12), %edx
movq %r13, %rdi
pushq $0x67
popq %rsi
movl %r14d, %ecx
callq 0x41f42
movq 0x8(%r13), %rax
testq %rax, %rax
je 0x4bc6e
movslq 0x34(%r13), %rcx
imulq $0x18, %rcx, %rcx
movb $0x10, -0x15(%rax,%rcx)
movl 0x4(%r12), %edx
leal 0x1(%r15), %ecx
movq %r13, %rdi
pushq $0x7
popq %rsi
callq 0x41f42
movq 0x8(%r13), %rax
testq %rax, %rax
je 0x4bc98
movslq 0x34(%r13), %rcx
imulq $0x18, %rcx, %rcx
movb $0x3, -0x15(%rax,%rcx)
testl %r15d, %r15d
js 0x4bcb1
movl 0x34(%r13), %ecx
cmpl %r15d, %ecx
jbe 0x4bcb1
movl %r15d, %edx
imulq $0x18, %rdx, %rdx
movl %ecx, 0x8(%rax,%rdx)
movq -0x78(%rbp), %rdi
movl %r14d, %esi
callq 0x4701c
cmpl $0x0, -0x50(%rbp)
js 0x4bce8
movq -0x98(%rbp), %rax
movl 0x34(%rax), %eax
cmpl -0x50(%rbp), %eax
jbe 0x4bce8
movq -0x98(%rbp), %rcx
movq 0x8(%rcx), %rcx
movl -0x50(%rbp), %edx
imulq $0x18, %rdx, %rdx
movl %eax, 0x8(%rcx,%rdx)
movq -0xb8(%rbp), %rdi
cmpb $0x0, 0x50(%rdi)
movq -0x30(%rbp), %r14
movq -0x108(%rbp), %rbx
movq -0x68(%rbp), %r13
jne 0x4b3c6
movzbl 0x20(%r13), %r8d
movq -0x78(%rbp), %rdi
movq -0x110(%rbp), %rsi
movq %r13, %rdx
movl %ebx, %ecx
movl -0xc4(%rbp), %r9d
callq 0x4ee56
movq -0x100(%rbp), %rax
movl 0x34(%rax), %eax
movl %eax, 0x1c(%r13)
movq 0x28(%r14), %rax
movl %ebx, %ecx
shrq %cl, %rax
movq %rax, -0x38(%rbp)
movq 0x40(%r13), %rbx
testb $0x40, 0x28(%rbx)
jne 0x4bd5a
movl $0x0, -0xa0(%rbp)
jmp 0x4bd68
testb $0x20, 0x32(%r14)
sete %al
movl %eax, -0xa0(%rbp)
movq (%r14), %r12
movq 0x8(%r14), %rax
movq (%r12), %rcx
movq %rcx, -0x98(%rbp)
movq 0x10(%r12), %r14
movzbl 0x20(%r13), %ecx
imulq $0x68, %rcx, %rcx
leaq (%rax,%rcx), %r15
addq $0x8, %r15
movl 0x3c(%r15), %eax
movl %eax, -0x40(%rbp)
movq %r14, %rdi
callq 0x47934
movl %eax, 0x10(%r13)
movl %eax, -0x50(%rbp)
movl %eax, 0xc(%r13)
movq %r14, -0x58(%rbp)
movq %r14, %rdi
movq %r15, %r14
callq 0x47934
movl %eax, -0x80(%rbp)
movl %eax, 0x14(%r13)
cmpb $0x0, 0x20(%r13)
je 0x4bdec
testb $0x8, 0x38(%r14)
je 0x4bdec
movl 0x58(%r12), %ecx
incl %ecx
movl %ecx, 0x58(%r12)
movl %ecx, (%r13)
movq -0x58(%rbp), %rdi
pushq $0x15
popq %rsi
xorl %edx, %edx
callq 0x41f42
testb $0x4, 0x39(%r14)
movq %r12, -0x48(%rbp)
jne 0x4be5a
movq -0x38(%rbp), %rax
andl $0x1, %eax
movq %rax, -0x60(%rbp)
movl 0x28(%rbx), %eax
btl $0xa, %eax
jb 0x4beb0
btl $0x8, %eax
setae %cl
testb $0x5, %al
sete %dl
orb %cl, %dl
je 0x4bffb
movl %eax, %ecx
notl %ecx
testw $0x102, %cx             # imm = 0x102
jne 0x4c2a9
movl $0x0, %ecx
movl $0x0, %edx
testb $0x20, %al
je 0x4be4a
movq 0x30(%rbx), %rcx
movq (%rcx), %rcx
pushq $0x1
popq %rdx
testb $0x10, %al
jne 0x4c304
xorl %r14d, %r14d
jmp 0x4c30c
movl 0x30(%r14), %edx
movl 0x34(%r14), %ebx
decl %edx
movq -0x58(%rbp), %r14
movq %r14, %rdi
pushq $0x15
popq %rsi
movl %ebx, %ecx
callq 0x41f42
movq %r14, %rdi
pushq $0x11
popq %rsi
movl %ebx, %edx
callq 0x42436
movl %eax, 0x28(%r13)
incl %ebx
movq %r14, %rdi
pushq $0x27
popq %rsi
movl %ebx, %edx
movl -0x50(%rbp), %ecx
callq 0x41f42
movb $0xe, 0x21(%r13)
movl $0x0, -0x38(%rbp)
movq -0x70(%rbp), %rbx
movl -0x40(%rbp), %esi
jmp 0x4c07d
movq %r12, %rdi
movzwl 0x2c(%rbx), %r12d
incl 0x6c(%rdi)
leal 0x2(%r12), %esi
movl %esi, -0x50(%rbp)
callq 0x47c2c
movl 0xc(%r13), %r13d
movq %rax, -0x38(%rbp)
leal 0x2(%rax), %r15d
xorl %r14d, %r14d
cmpq %r14, %r12
je 0x4bf28
movq 0x30(%rbx), %rax
movq (%rax,%r14,8), %rsi
testq %rsi, %rsi
je 0x4bf23
leaq (%r15,%r14), %r9
testb $0x1, 0x18(%rsi)
jne 0x4bf08
movq (%rsi), %rax
movq 0x18(%rax), %rsi
movq -0x48(%rbp), %rdi
movl %r9d, %edx
callq 0x494eb
jmp 0x4bf23
movq -0x48(%rbp), %rdi
movq -0x68(%rbp), %r13
movq %r13, %rdx
movl %r14d, %ecx
movq -0x60(%rbp), %r8
callq 0x523a2
movl 0x10(%r13), %r13d
incq %r14
jmp 0x4bed7
movl 0x18(%rbx), %edx
movq -0x58(%rbp), %r15
movq %r15, %rdi
pushq $0x15
popq %rsi
movq -0x38(%rbp), %r14
movl %r14d, %ecx
callq 0x41f42
movl %r14d, %ecx
incl %ecx
movq %r15, %rdi
pushq $0x15
popq %rsi
movl %r12d, %edx
callq 0x41f42
movq 0x20(%rbx), %r9
xorl %eax, %eax
cmpb $0x0, 0x1c(%rbx)
sete %al
leal -0xb(%rax,%rax,8), %eax
movl %eax, (%rsp)
movq %r15, %rdi
pushq $0xc
popq %rsi
movl -0x40(%rbp), %edx
movl %r13d, %ecx
movl %r14d, %r8d
callq 0x41fd2
movb $0x0, 0x1c(%rbx)
cmpl $0x10, %r12d
pushq $0x10
popq %rax
movl %eax, %r14d
cmovbl %r12d, %r14d
xorl %r15d, %r15d
movq -0x68(%rbp), %r12
cmpq %r15, %r14
je 0x4bfb9
movzwl 0x1e(%rbx), %eax
btl %r15d, %eax
jae 0x4bfb4
movq 0x30(%rbx), %rax
movq (%rax,%r15,8), %rsi
movq %r12, %rdi
callq 0x52558
incq %r15
jmp 0x4bf95
movb $-0x75, 0x21(%r12)
movl -0x40(%rbp), %r14d
movl %r14d, 0x24(%r12)
movq -0x58(%rbp), %rax
movl 0x34(%rax), %eax
movl %eax, 0x28(%r12)
movq -0x48(%rbp), %rbx
movq %rbx, %rdi
movq -0x38(%rbp), %rsi
movl -0x50(%rbp), %edx
callq 0x47d6c
movq %rbx, %rdi
callq 0x4803b
movl %r14d, %esi
movl $0x0, -0x38(%rbp)
jmp 0x4c079
movq %r12, %rdi
callq 0x46ff9
movl %eax, %r9d
movq 0x30(%rbx), %rax
movq (%rax), %rsi
movq %r12, %rdi
movq %r13, %rdx
xorl %ecx, %ecx
movq -0x60(%rbp), %r8
movl %r9d, -0x38(%rbp)
callq 0x523a2
movl %eax, %ebx
movl 0x10(%r13), %r15d
movq -0x58(%rbp), %r14
movq %r14, %rdi
pushq $0x21
popq %rsi
movl %eax, %edx
movl %r15d, %ecx
callq 0x41f42
movq %r14, %rdi
pushq $0x3f
popq %rsi
movl -0x40(%rbp), %r14d
movl %r14d, %edx
movl %r15d, %ecx
movl %ebx, %r8d
callq 0x41f4c
movq %r12, %rdi
movl %ebx, %esi
pushq $0x1
popq %rdx
callq 0x49537
movq %r12, %rdi
movl %r14d, %esi
pushq $-0x1
popq %rdx
movl %ebx, %ecx
callq 0x49ac2
movl %r14d, %esi
movb $-0x6b, 0x21(%r13)
movq -0x70(%rbp), %rbx
movq %rbx, %rdi
callq 0x4ee15
movq %rax, %rbx
notq %rbx
andq -0xc0(%rbp), %rbx
movq -0x30(%rbp), %rax
movq 0x170(%rax), %r14
movl 0x164(%rax), %r15d
pushq $0x8
popq %r12
movq -0x68(%rbp), %r13
testl %r15d, %r15d
jle 0x4c0f5
testb $0x6, 0x1a(%r14)
jne 0x4c0ec
testq %rbx, 0x30(%r14)
je 0x4c0c4
movb $0x1, 0x36(%rax)
jmp 0x4c0ec
movq (%r14), %rsi
cmpl $0x0, (%r13)
je 0x4c0d4
testb $0x1, 0x2(%rsi)
je 0x4c0ec
movq -0x48(%rbp), %rdi
movl -0x80(%rbp), %edx
movl %r12d, %ecx
callq 0x4797e
movq -0x30(%rbp), %rax
orb $0x4, 0x1a(%r14)
decl %r15d
addq $0x38, %r14
jmp 0x4c0ac
movq 0x170(%rax), %r13
movl 0x164(%rax), %r14d
addq $0x1a, %r13
movl -0x40(%rbp), %esi
testl %r14d, %r14d
jle 0x4c1ce
testb $0x6, (%r13)
jne 0x4c132
cmpw $0x402, -0x2(%r13)      # imm = 0x402
jne 0x4c132
cmpl %esi, -0xe(%r13)
jne 0x4c132
movq -0x68(%rbp), %rax
cmpl $0x0, (%rax)
je 0x4c13b
decl %r14d
addq $0x38, %r13
jmp 0x4c10a
movq -0x1a(%r13), %rax
movq %rax, -0x60(%rbp)
movl -0xa(%r13), %edx
movq -0xf8(%rbp), %rdi
movq -0xc0(%rbp), %rcx
pushq $0x3
popq %r8
xorl %r9d, %r9d
callq 0x504dd
movl -0x40(%rbp), %esi
testq %rax, %rax
je 0x4c132
movq %rax, %r12
testb $0x4, 0x1a(%rax)
jne 0x4c132
movq -0x98(%rbp), %rdi
pushq $0x48
popq %rsi
callq 0x103b4
movl -0x40(%rbp), %esi
testq %rax, %rax
je 0x4c132
movq %rax, %r15
movq (%r12), %rsi
pushq $0x9
popq %rcx
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movq -0x60(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x10(%r15)
movq -0x48(%rbp), %rdi
movq %r15, %rsi
movl -0x80(%rbp), %edx
pushq $0x8
popq %rcx
callq 0x4797e
movq -0x98(%rbp), %rdi
movq %r15, %rsi
callq 0x968b
movl -0x40(%rbp), %esi
jmp 0x4c132
movq -0x68(%rbp), %r13
movl (%r13), %ecx
testl %ecx, %ecx
pushq $0x8
popq %r12
je 0x4c245
movq -0x58(%rbp), %rdi
movl 0x34(%rdi), %eax
movl %eax, 0x18(%r13)
pushq $0x15
popq %rsi
pushq $0x1
popq %rdx
callq 0x41f42
movq -0x48(%rbp), %rdi
callq 0x4da57
movq -0x30(%rbp), %rax
movq 0x170(%rax), %r14
xorl %r15d, %r15d
cmpl 0x164(%rax), %r15d
jge 0x4c245
testb $0x6, 0x1a(%r14)
jne 0x4c23c
testq %rbx, 0x30(%r14)
jne 0x4c23c
movq (%r14), %rsi
movq -0x48(%rbp), %rdi
movl -0x80(%rbp), %edx
movl %r12d, %ecx
callq 0x4797e
movq -0x30(%rbp), %rax
orb $0x4, 0x1a(%r14)
incl %r15d
addq $0x38, %r14
jmp 0x4c20b
movq -0x48(%rbp), %rdi
movl -0x38(%rbp), %esi
callq 0x4701c
movq %rbx, -0xc0(%rbp)
movl 0x14(%r13), %eax
movq -0x30(%rbp), %rcx
movl %eax, 0x40(%rcx)
movq %rcx, %rax
movq -0x108(%rbp), %rbx
incq %rbx
movq -0x120(%rbp), %rcx
addq $0x48, %rcx
jmp 0x4b8a4
movq -0x58(%rbp), %rcx
movswl 0x42(%rcx), %ecx
pushq $0x3f
popq %rdx
cmpl %ecx, %edx
jge 0x4bbd3
movq 0x8(%r14), %rsi
movl %edx, (%rsi,%rax,4)
movq 0x40(%r14), %rsi
movq %rdi, (%rsi,%rax,8)
incq %rax
incl %edx
jmp 0x4c28b
btl $0x9, %eax
jb 0x4c38c
btl $0xd, %eax
jb 0x4c464
movq -0x38(%rbp), %rcx
andl $0x1, %ecx
leaq 0x1e5de(%rip), %rax     # 0x6a8a9
movb (%rcx,%rax), %al
movb %al, 0x21(%r13)
movl -0x40(%rbp), %ebx
movl %ebx, 0x24(%r13)
leaq 0x1e5cb(%rip), %rax     # 0x6a8ab
movzbl (%rcx,%rax), %esi
movq -0x58(%rbp), %rdi
movl %ebx, %edx
movl -0x50(%rbp), %ecx
callq 0x41f42
movl %ebx, %esi
incl %eax
movl %eax, 0x28(%r13)
movb $0x1, 0x22(%r13)
jmp 0x4bff2
movq 0x30(%rbx), %rax
movq (%rax,%rdx,8), %r14
cmpl $0x0, -0x60(%rbp)
movq %rcx, %r15
cmoveq %r14, %r15
cmoveq %rcx, %r14
testq %r14, %r14
je 0x4c3e3
movq (%r14), %rbx
movq 0x18(%rbx), %rsi
movq -0x48(%rbp), %r12
movq %r12, %rdi
leaq -0x438(%rbp), %rdx
callq 0x4808a
movl %eax, %r13d
movzbl (%rbx), %eax
leaq 0x1f035(%rip), %rcx     # 0x6b380
movzbl -0x4d(%rax,%rcx), %esi
movq -0x58(%rbp), %rdi
movl -0x40(%rbp), %edx
movl -0x50(%rbp), %ecx
movl %r13d, %r8d
callq 0x41f4c
movq %r12, %rdi
movl %r13d, %esi
pushq $0x1
popq %rdx
callq 0x49537
movl -0x438(%rbp), %esi
movq %r12, %rdi
callq 0x4701c
movq -0x68(%rbp), %rdi
movq %r14, %rsi
callq 0x52558
jmp 0x4c3ff
movl 0x18(%rbx), %esi
movq 0x20(%rbx), %r8
xorl %r9d, %r9d
movb $0x1, %dl
movq -0x30(%rbp), %rcx
testb $0x1, 0x32(%rcx)
je 0x4c3b9
cmpb $0x0, 0x34(%rcx)
je 0x4c3b9
movzwl 0x54(%r8), %ecx
xorl %r9d, %r9d
cmpl %ecx, %esi
setge %dl
setl %r9b
movslq %esi, %rdi
testb $0x20, %al
movq %rdi, -0xe8(%rbp)
movb %dl, -0x89(%rbp)
jne 0x4c552
movq $0x0, -0x128(%rbp)
movl %esi, %ecx
jmp 0x4c56a
xorl %eax, %eax
cmpl $0x0, -0x60(%rbp)
sete %al
leal 0x62(%rax,%rax,2), %esi
movq -0x58(%rbp), %rdi
movl -0x40(%rbp), %edx
movl -0x50(%rbp), %ecx
callq 0x41f42
movl $0x0, -0x38(%rbp)
testq %r15, %r15
je 0x4c44e
movq (%r15), %rbx
movq -0x48(%rbp), %rdi
movl 0x58(%rdi), %r12d
incl %r12d
movl %r12d, 0x58(%rdi)
movq 0x18(%rbx), %rsi
movl %r12d, %edx
callq 0x494eb
movzbl (%rbx), %eax
orl $0x2, %eax
cmpl $0x4f, %eax
jne 0x4c79b
xorl %eax, %eax
cmpl $0x0, -0x60(%rbp)
sete %al
leal 0x4e(,%rax,2), %r13d
jmp 0x4c7a7
movl $0x95, %r13d
xorl %r12d, %r12d
movq -0x70(%rbp), %rbx
movq -0x68(%rbp), %r14
jmp 0x4c7ba
movl 0x54(%r12), %eax
movl 0x58(%r12), %r15d
movq %rax, -0x50(%rbp)
incl %eax
movl %eax, 0x54(%r12)
incl %r15d
movl %r15d, 0x58(%r12)
movq -0x58(%rbp), %rdi
callq 0x47934
movl %eax, -0xd8(%rbp)
movq 0x30(%rbx), %rax
movq (%rax), %rax
movq %rax, -0xe8(%rbp)
movq 0x10(%rax), %rax
movq %rax, -0x38(%rbp)
movb $0x10, 0x21(%r13)
movl %r15d, -0xd0(%rbp)
movl %r15d, 0x24(%r13)
movq -0x30(%rbp), %rax
movzbl 0x38(%rax), %ebx
cmpl $0x2, %ebx
jb 0x4cc0c
subl -0x108(%rbp), %ebx
imull $0x68, %ebx, %esi
addl $0x8, %esi
movq -0x98(%rbp), %rdi
callq 0x103b4
testq %rax, %rax
je 0x4c258
movq %rax, %r9
movb %bl, 0x1(%rax)
movb %bl, (%rax)
leaq 0x8(%rax), %rdi
pushq $0xd
popq %rcx
movq %r14, %r13
movq %r14, %rsi
rep  movsq (%rsi), %es:(%rdi)
movq -0x30(%rbp), %rax
movq 0x8(%rax), %rdx
addq $0x8, %rdx
movslq %ebx, %r8
movq %r9, -0xa0(%rbp)
movq %r9, %rax
addq $0x70, %rax
movq -0x120(%rbp), %r9
pushq $0x1
popq %r10
cmpq %r8, %r10
jge 0x4cc35
movzbl (%r9), %ecx
imulq $0x68, %rcx, %rsi
addq %rdx, %rsi
pushq $0xd
popq %rcx
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
incq %r10
addq $0x68, %rax
addq $0x48, %r9
jmp 0x4c528
movq 0x30(%rbx), %rdx
leal 0x1(%rsi), %ecx
movq (%rdx,%rdi,8), %rdx
movq %rdx, -0x128(%rbp)
pushq $0x1
popq %rdx
movl %edx, %r9d
testb $0x10, %al
movq %rsi, -0xa8(%rbp)
movq %rbx, -0x130(%rbp)
movq %r8, -0x148(%rbp)
jne 0x4c590
movq $0x0, -0x88(%rbp)
jmp 0x4c5a8
movq 0x30(%rbx), %rax
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x88(%rbp)
pushq $0x1
popq %rax
movl %eax, %r9d
movl 0x8(%r13), %eax
movl %eax, -0xf0(%rbp)
movq (%r12), %r14
movq 0x10(%r12), %rdi
movq 0x40(%r13), %rax
movl 0x18(%rax), %r15d
movq %rax, -0xb0(%rbp)
movq 0x20(%rax), %rsi
movl 0x58(%r12), %ebx
addl %r15d, %r9d
movq %r9, -0xd0(%rbp)
leal (%rbx,%r9), %eax
movl %eax, 0x58(%r12)
movq %rdi, -0xd8(%rbp)
callq 0x47ce5
movq %r14, %rdi
movq %rax, %rsi
callq 0xf173
movq %rax, -0x50(%rbp)
testq %rax, %rax
jne 0x4c60e
movq (%r12), %rax
movb $0x1, 0x50(%rax)
incl %ebx
testl %r15d, %r15d
movl $0x0, %eax
cmovlel %eax, %r15d
xorl %r12d, %r12d
movq %rbx, %r14
movq %r15, -0xe0(%rbp)
cmpq %r12, %r15
je 0x4c721
movq -0xb0(%rbp), %rax
movq 0x30(%rax), %rax
movq (%rax,%r12,8), %r15
movq %r13, %rdx
movq %r14, %rbx
movl %r14d, %r13d
addq %r12, %r13
movq -0x48(%rbp), %rdi
movq %r15, %rsi
movl %r12d, %ecx
movq -0x60(%rbp), %r8
movl %r13d, %r9d
callq 0x523a2
cmpl %eax, %r13d
je 0x4c69a
movl %eax, %r14d
cmpl $0x1, -0xd0(%rbp)
jne 0x4c685
movq -0x48(%rbp), %rdi
movl %ebx, %esi
callq 0x4701c
movq -0x68(%rbp), %r13
jmp 0x4c6a1
movq -0xd8(%rbp), %rdi
pushq $0x1d
popq %rsi
movl %r14d, %edx
movl %r13d, %ecx
callq 0x41f42
movq -0x68(%rbp), %r13
movq %rbx, %r14
testb $-0x7f, 0x18(%r15)
je 0x4c6b7
incq %r12
movq -0xe0(%rbp), %r15
jmp 0x4c629
movq (%r15), %rax
movq 0x18(%rax), %r15
leal (%r12,%r14), %edx
movl 0xc(%r13), %ecx
movq -0xd8(%rbp), %rdi
movq %r15, %rsi
callq 0x5259c
cmpq $0x0, -0x50(%rbp)
je 0x4c6a8
movq %r14, %rbx
movq -0x50(%rbp), %rax
movb (%rax,%r12), %r14b
movsbl %r14b, %esi
movq %r15, %rdi
callq 0x49bf2
cmpb $0x62, %al
jne 0x4c703
movq -0x50(%rbp), %rax
movb $0x62, (%rax,%r12)
movb $0x62, %r14b
movsbl %r14b, %esi
movq %r15, %rdi
callq 0x525ed
testl %eax, %eax
movq %rbx, %r14
je 0x4c6a8
movq -0x50(%rbp), %rax
movb $0x62, (%rax,%r12)
jmp 0x4c6a8
movq -0x98(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0xf173
movq %rax, -0xe0(%rbp)
movl 0x10(%r13), %eax
movl %eax, -0xb0(%rbp)
movq -0x148(%rbp), %rcx
movzwl 0x54(%rcx), %eax
movq -0xa8(%rbp), %rdx
cmpl %eax, %edx
movq -0xe8(%rbp), %r12
jge 0x4c773
movq 0x38(%rcx), %rcx
cmpb $0x0, (%rcx,%r12)
setne %cl
xorb -0x38(%rbp), %cl
testb $0x1, %cl
jne 0x4c785
cmpl $0x0, -0x60(%rbp)
je 0x4c85c
cmpl %eax, %edx
jne 0x4c85c
movq -0x128(%rbp), %rsi
pushq $0x1
popq %rax
movq -0x88(%rbp), %rcx
jmp 0x4c86d
movq -0x60(%rbp), %rax
leal 0x4d(,%rax,2), %r13d
movq -0x70(%rbp), %rbx
movq -0x68(%rbp), %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0x52558
movq -0x58(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x60(%rbp), %rcx
xorb $0x7, %cl
movb %cl, 0x21(%r14)
movl -0x40(%rbp), %esi
movl %esi, 0x24(%r14)
movl %eax, 0x28(%r14)
cmpl $0x95, %r13d
je 0x4c07d
movq -0x48(%rbp), %r14
movq %r14, %rdi
movl %r13d, -0x60(%rbp)
movl %esi, %r13d
callq 0x46ff9
movl %eax, %r15d
movl %r12d, -0x38(%rbp)
movq -0x58(%rbp), %r12
movq %r12, %rdi
pushq $0x60
popq %rsi
movl %r13d, %edx
movl %eax, %ecx
callq 0x41f42
movq %r14, %rdi
movl %r13d, %esi
pushq $-0x1
popq %rdx
movl %r15d, %ecx
callq 0x49ac2
movq %r12, %rdi
movl -0x60(%rbp), %esi
movl -0x38(%rbp), %edx
movl -0x50(%rbp), %ecx
movl %r15d, -0x38(%rbp)
movl %r15d, %r8d
callq 0x41f4c
movq 0x8(%r12), %rax
testq %rax, %rax
je 0x4bea8
movslq 0x34(%r12), %rcx
imulq $0x18, %rcx, %rcx
movb $0x6b, -0x15(%rax,%rcx)
jmp 0x4bea8
movq -0x88(%rbp), %rsi
movq -0x128(%rbp), %rcx
pushq $0x1
popq %rax
movl %eax, %r13d
testq %rcx, %rcx
je 0x4c880
xorl %r13d, %r13d
testb $0x28, 0x18(%rcx)
setne %r13b
testq %rsi, %rsi
je 0x4c88e
xorl %eax, %eax
testb $0x28, 0x18(%rsi)
setne %al
movl %eax, -0xd8(%rbp)
movq %rsi, -0x38(%rbp)
testq %rcx, %rcx
movq %rcx, -0x88(%rbp)
je 0x4c91b
movq (%rcx), %rax
movq 0x18(%rax), %r15
movq %r14, %rbx
addl %edx, %r14d
movq -0x48(%rbp), %rdi
movq %r15, %rsi
movl %r14d, %edx
callq 0x494eb
movq -0x58(%rbp), %rdi
movq %r15, %rsi
movl %r14d, %edx
movl -0xb0(%rbp), %ecx
callq 0x5259c
cmpq $0x0, -0x50(%rbp)
je 0x4c944
movq -0x50(%rbp), %rax
movb (%rax,%r12), %r14b
movsbl %r14b, %esi
movq %r15, %rdi
callq 0x49bf2
cmpb $0x62, %al
jne 0x4c900
movq -0x50(%rbp), %rax
movb $0x62, (%rax,%r12)
movb $0x62, %r14b
movsbl %r14b, %esi
movq %r15, %rdi
callq 0x525ed
testl %eax, %eax
je 0x4c944
movq -0x50(%rbp), %rax
movb $0x62, (%rax,%r12)
jmp 0x4c944
movq %r14, %rbx
testl %edx, %edx
setg %r14b
movl %edx, %r15d
cmpb $0x0, -0x89(%rbp)
jne 0x4c952
leal (%rbx,%rdx), %ecx
xorl %r13d, %r13d
movq -0x58(%rbp), %rdi
pushq $0x18
popq %rsi
xorl %edx, %edx
callq 0x41f42
movq -0xa8(%rbp), %rdx
leal 0x1(%rdx), %r15d
movb $0x1, %r14b
movq -0x48(%rbp), %rdi
movq %rdx, %r12
movl %ebx, %esi
movl %r15d, %edx
movq -0x50(%rbp), %rcx
callq 0x52686
movzbl %r14b, %eax
andl $0x1, %eax
addl %r13d, %r13d
leal (%r13,%rax,4), %eax
addl -0x60(%rbp), %eax
leaq 0x1e9f0(%rip), %rcx     # 0x6b370
movzbl (%rax,%rcx), %esi
movq -0x58(%rbp), %r13
movq %r13, %rdi
movl -0xf0(%rbp), %edx
movl -0xb0(%rbp), %ecx
movl %ebx, %r8d
movl %r15d, %r9d
callq 0x49ffa
movl %r12d, %r15d
movq -0x38(%rbp), %r12
testq %r12, %r12
je 0x4ca7d
movq (%r12), %rax
movq 0x18(%rax), %r15
movq -0xa8(%rbp), %rax
movq %rbx, -0xd0(%rbp)
leal (%rbx,%rax), %r14d
movq -0x48(%rbp), %rbx
movq %rbx, %rdi
movl %r14d, %esi
pushq $0x1
popq %rdx
callq 0x49537
movq %rbx, %rdi
movq %r15, %rsi
movl %r14d, %edx
callq 0x494eb
movq %r13, %rdi
movq %r15, %rsi
movl %r14d, %edx
movl -0xb0(%rbp), %ecx
callq 0x5259c
movq -0xe0(%rbp), %r12
testq %r12, %r12
je 0x4ca52
movq -0xe8(%rbp), %rax
movb (%r12,%rax), %r14b
movsbl %r14b, %esi
movq %r15, %rdi
callq 0x49bf2
cmpb $0x62, %al
jne 0x4ca36
movq -0xe8(%rbp), %rax
movb $0x62, (%r12,%rax)
movb $0x62, %r14b
movsbl %r14b, %esi
movq %r15, %rdi
callq 0x525ed
testl %eax, %eax
je 0x4ca52
movq -0xe8(%rbp), %rax
movb $0x62, (%r12,%rax)
movq -0xa8(%rbp), %rax
leal 0x1(%rax), %r15d
movq -0x48(%rbp), %rdi
movq -0xd0(%rbp), %rbx
movl %ebx, %esi
movl %r15d, %edx
movq %r12, %rcx
callq 0x52686
movq -0x58(%rbp), %r13
movq -0x38(%rbp), %r12
movq -0x98(%rbp), %r14
movq %r14, %rdi
movq -0x50(%rbp), %rsi
callq 0x968b
movq %r14, %rdi
movq -0xe0(%rbp), %rsi
callq 0x968b
movl 0x34(%r13), %eax
movq -0x68(%rbp), %rcx
movl %eax, 0x28(%rcx)
testq %r12, %r12
movl -0xf0(%rbp), %r13d
jne 0x4cabf
cmpl $0x0, -0xa8(%rbp)
je 0x4cb0d
leaq 0x1dde0(%rip), %rax     # 0x6a8a6
movq -0x60(%rbp), %rcx
movzbl 0x1(%rcx,%rax), %esi
movq -0x58(%rbp), %r14
movq %r14, %rdi
movl %r13d, %edx
movl -0xb0(%rbp), %ecx
movl %ebx, %r8d
movl %r15d, %r9d
callq 0x49ffa
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x4cb0d
movq -0x58(%rbp), %rcx
movslq 0x34(%rcx), %rcx
imulq $0x18, %rcx, %rcx
movl -0xd8(%rbp), %edx
cmpl -0x60(%rbp), %edx
setne -0x15(%rax,%rcx)
movq -0x48(%rbp), %r12
movq %r12, %rdi
callq 0x46ff9
movl %eax, %r14d
movq -0x130(%rbp), %rbx
testb $0x30, 0x28(%rbx)
movq -0x58(%rbp), %r15
je 0x4cb56
movq %r15, %rdi
pushq $0x29
popq %rsi
movl %r13d, %edx
movq -0xa8(%rbp), %rcx
movl %r14d, %r8d
callq 0x41f4c
movq %r15, %rdi
pushq $0x49
popq %rsi
movl %r14d, %edx
movl -0x80(%rbp), %ecx
callq 0x41f42
movq %r12, %rdi
movl %r14d, %esi
callq 0x4701c
movq -0x68(%rbp), %r14
movq %r14, %rdi
movq -0x88(%rbp), %rsi
callq 0x52558
movq %r14, %rdi
movq -0x38(%rbp), %rsi
callq 0x52558
movl $0x0, -0x38(%rbp)
cmpb $0x0, -0xa0(%rbp)
jne 0x4cbe1
movq %r12, %rdi
callq 0x46ff9
movl %r13d, %ebx
movl %eax, %r13d
movq %r15, %rdi
pushq $0x69
popq %rsi
movl %ebx, %edx
movl %eax, %ecx
callq 0x41f42
movq %r12, %rdi
movl -0x40(%rbp), %r14d
movl %r14d, %esi
pushq $-0x1
popq %rdx
movl %r13d, %ecx
callq 0x49ac2
movq %r15, %rdi
pushq $0x3b
popq %rsi
movl %r14d, %edx
movl %r13d, -0x38(%rbp)
movl %r13d, %ecx
movl %ebx, %r13d
movq -0x130(%rbp), %rbx
callq 0x41f42
movl 0x28(%rbx), %eax
btl $0xc, %eax
jb 0x4cbfe
cmpl $0x0, -0x60(%rbp)
movq -0x70(%rbp), %rbx
movq -0x68(%rbp), %rcx
je 0x4cc1c
movb $0x6, 0x21(%rcx)
jmp 0x4cc20
movq -0x68(%rbp), %rcx
movb $-0x6b, 0x21(%rcx)
movq -0x70(%rbp), %rbx
jmp 0x4cc20
movq %r14, %r13
movq 0x8(%rax), %rcx
movq %rcx, -0xa0(%rbp)
jmp 0x4cc3d
movb $0x7, 0x21(%rcx)
movl %r13d, 0x24(%rcx)
testb $0xf, %al
jne 0x4bea8
movb $0x1, 0x22(%rcx)
jmp 0x4bea8
movq -0x30(%rbp), %rax
movq -0x48(%rbp), %r12
movq -0x58(%rbp), %rbx
movl $0x0, -0xa8(%rbp)
testb $0x8, 0x32(%rax)
movl $0x0, %eax
movq %rax, -0x88(%rbp)
jne 0x4cc87
movl 0x58(%r12), %eax
leal 0x1(%rax), %ecx
addl $0x2, %eax
movq %rax, -0x88(%rbp)
movl %eax, 0x58(%r12)
movq %rbx, %rdi
pushq $0x18
popq %rsi
xorl %edx, %edx
movl %ecx, -0xa8(%rbp)
callq 0x41f42
movq %rbx, %rdi
pushq $0x15
popq %rsi
xorl %edx, %edx
movl -0xd0(%rbp), %ecx
callq 0x41f42
movl %eax, %ecx
movq -0x30(%rbp), %rax
movl 0x164(%rax), %eax
cmpl $0x2, %eax
movl %ecx, -0x130(%rbp)
movq %r13, -0xf0(%rbp)
jl 0x4cd60
xorl %r15d, %r15d
xorl %r12d, %r12d
xorl %ebx, %ebx
movq -0xe8(%rbp), %rdi
movslq %eax, %rcx
cmpq %rcx, %r12
jge 0x4cd42
movq -0x30(%rbp), %rcx
movq 0x170(%rcx), %rcx
leaq (%rcx,%r15), %rdx
cmpq %rdi, %rdx
je 0x4cd39
movq (%rcx,%r15), %rsi
testb $0x1, 0x2(%rsi)
jne 0x4cd39
testb $0x10, 0x1a(%rcx,%r15)
jne 0x4cd39
movzwl 0x18(%rcx,%r15), %ecx
testw $0xfff, %cx             # imm = 0xFFF
je 0x4cd39
movq -0x98(%rbp), %r14
movq %r14, %rdi
xorl %edx, %edx
callq 0x440d6
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x45ef0
movq -0xe8(%rbp), %rdi
movq %rax, %rbx
movq -0x30(%rbp), %rax
movl 0x164(%rax), %eax
incq %r12
addq $0x38, %r15
jmp 0x4cccb
testq %rbx, %rbx
je 0x4cd60
movq -0x48(%rbp), %rdi
pushq $0x45
popq %rsi
xorl %edx, %edx
movq %rbx, %rcx
xorl %r8d, %r8d
callq 0x36a09
movq %rax, %rsi
jmp 0x4cd62
xorl %esi, %esi
movq -0x38(%rbp), %r14
xorl %r15d, %r15d
xorl %r12d, %r12d
movq $0x0, -0xe0(%rbp)
movl $0x0, -0x60(%rbp)
movq -0x70(%rbp), %rbx
movl -0x40(%rbp), %ecx
movq %rsi, -0xb0(%rbp)
movslq 0x14(%r14), %rax
cmpq %rax, %r12
jge 0x4cf08
movq 0x20(%r14), %rax
cmpl %ecx, 0xc(%rax,%r15)
je 0x4cdb0
testb $0x2, 0x19(%rax,%r15)
je 0x4cefc
movq (%rax,%r15), %rdx
testq %rsi, %rsi
je 0x4cdc6
testb $0x1, 0x2(%rdx)
jne 0x4cdc6
movq %rdx, 0x10(%rsi)
movq %rsi, %rdx
movq -0x50(%rbp), %rax
movl %eax, (%rsp)
movq -0x48(%rbp), %r13
movq %r13, %rdi
movq -0xa0(%rbp), %r14
movq %r14, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0xf0, %r9d
callq 0x4a969
testq %rax, %rax
je 0x4ceb9
movq %rax, %rbx
leaq 0x338(%rax), %rdx
movq -0x68(%rbp), %rax
movzbl 0x20(%rax), %r8d
movq %r13, %rdi
movq %r14, %rsi
movq -0x108(%rbp), %rcx
xorl %r9d, %r9d
callq 0x4ee56
movq -0x30(%rbp), %rax
testb $0x8, 0x32(%rax)
movq -0x38(%rbp), %r14
jne 0x4ce7f
movl 0x14(%r14), %eax
decl %eax
cmpq %rax, %r12
movl %r12d, %r13d
pushq $-0x1
popq %rdx
cmovel %edx, %r13d
movq -0xf0(%rbp), %rax
movq 0x20(%rax), %rsi
movq -0x48(%rbp), %rdi
movl -0x40(%rbp), %ecx
movq -0x88(%rbp), %r8
xorl %r9d, %r9d
callq 0x4923a
movq -0x58(%rbp), %rdi
movl 0x34(%rdi), %ecx
addl $0x2, %ecx
pushq $0x78
popq %rsi
movl -0xa8(%rbp), %edx
movl %eax, %r8d
movl %r13d, %r9d
callq 0x49ffa
movq -0x58(%rbp), %rdi
pushq $0xf
popq %rsi
movl -0xd0(%rbp), %edx
movl -0xd8(%rbp), %ecx
callq 0x41f42
cmpb $0x0, 0x36(%rbx)
pushq $0x1
popq %rax
movl -0x60(%rbp), %ecx
cmovnel %eax, %ecx
movq 0x378(%rbx), %rax
testb $0x2, 0x29(%rax)
movl %ecx, -0x60(%rbp)
jne 0x4cec6
xorl %r13d, %r13d
jmp 0x4cedf
movq -0x70(%rbp), %rbx
movl -0x40(%rbp), %ecx
movq -0x38(%rbp), %r14
jmp 0x4cef5
movq 0x20(%rax), %r13
testq %r12, %r12
je 0x4cedf
cmpq -0xe0(%rbp), %r13
movl $0x0, %eax
cmovneq %rax, %r13
movq %rbx, %rdi
callq 0x4d5c3
movq %r13, -0xe0(%rbp)
movq -0x70(%rbp), %rbx
movl -0x40(%rbp), %ecx
movq -0xb0(%rbp), %rsi
incq %r12
addq $0x38, %r15
jmp 0x4cd8c
movq -0xe0(%rbp), %rax
movq -0x68(%rbp), %r15
movq %rax, 0x30(%r15)
testq %rax, %rax
je 0x4cf24
movq -0x50(%rbp), %rax
movl %eax, 0x8(%r15)
testq %rsi, %rsi
movq -0x58(%rbp), %r14
je 0x4cf3e
andq $0x0, 0x10(%rsi)
movq -0x98(%rbp), %rdi
callq 0x2f476
movl 0x34(%r14), %eax
movl -0x130(%rbp), %edx
cmpl %edx, %eax
jbe 0x4cf5a
movq 0x8(%r14), %rcx
movl %edx, %edx
imulq $0x18, %rdx, %rdx
movl %eax, 0x4(%rcx,%rdx)
movl 0xc(%r15), %ecx
movq %r14, %rdi
pushq $0xe
popq %rsi
xorl %edx, %edx
callq 0x41f42
cmpl $0x0, -0xd8(%rbp)
jns 0x4cf8e
movq 0x40(%r14), %rax
testq %rax, %rax
je 0x4cf8e
movl -0xd8(%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 0x4cfab
movq -0x98(%rbp), %rdi
movq -0xa0(%rbp), %rsi
callq 0x968b
movl $0x0, -0x38(%rbp)
cmpl $0x0, -0x60(%rbp)
jne 0x4bea8
movq -0x68(%rbp), %rdi
movq -0xe8(%rbp), %rsi
callq 0x52558
jmp 0x4bea8
movl $0x1201, %eax           # imm = 0x1201
movq -0x38(%rbp), %r15
movl %eax, 0x28(%r15)
movq 0x58(%r13), %r13
movq %r14, %rdi
callq 0x5079b
notq %rax
xorl %ecx, %ecx
testq %rax, %r13
sete %cl
shll $0x6, %ecx
movl $0x1201, %eax           # imm = 0x1201
orl %eax, %ecx
movl %ecx, 0x28(%r15)
movw %r12w, 0x2c(%r15)
movl %r12d, 0x18(%r15)
movq %r15, %r12
movq %r14, 0x20(%r15)
movw $0x27, %ax
jmp 0x4b446