// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: whereLoopAddBtree
static int whereLoopAddBtree(
  WhereLoopBuilder *pBuilder, /* WHERE clause information */
  Bitmask mPrereq             /* Extra prerequesites for using this table */
){
  WhereInfo *pWInfo;          /* WHERE analysis context */
  Index *pProbe;              /* An index we are evaluating */
  Index sPk;                  /* A fake index object for the primary key */
  LogEst aiRowEstPk[2];       /* The aiRowLogEst[] value for the sPk index */
  i16 aiColumnPk = -1;        /* The aColumn[] value for the sPk index */
  SrcList *pTabList;          /* The FROM clause */
  struct SrcList_item *pSrc;  /* The FROM clause btree term to add */
  WhereLoop *pNew;            /* Template WhereLoop object */
  int rc = SQLITE_OK;         /* Return code */
  int iSortIdx = 1;           /* Index number */
  int b;                      /* A boolean value */
  LogEst rSize;               /* number of rows in the table */
  LogEst rLogSize;            /* Logarithm of the number of rows in the table */
  WhereClause *pWC;           /* The parsed WHERE clause */
  Table *pTab;                /* Table being queried */

  pNew = pBuilder->pNew;
  pWInfo = pBuilder->pWInfo;
  pTabList = pWInfo->pTabList;
  pSrc = pTabList->a + pNew->iTab;
  pTab = pSrc->pTab;
  pWC = pBuilder->pWC;
  assert( !IsVirtual(pSrc->pTab) );

  if( pSrc->pIBIndex ){
    /* An INDEXED BY clause specifies a particular index to use */
    pProbe = pSrc->pIBIndex;
  }else if( !HasRowid(pTab) ){
    pProbe = pTab->pIndex;
  }else{
    /* There is no INDEXED BY clause.  Create a fake Index object in local
    ** variable sPk to represent the rowid primary key index.  Make this
    ** fake index the first in a chain of Index objects with all of the real
    ** indices to follow */
    Index *pFirst;                  /* First of real indices on the table */
    memset(&sPk, 0, sizeof(Index));
    sPk.nKeyCol = 1;
    sPk.nColumn = 1;
    sPk.aiColumn = &aiColumnPk;
    sPk.aiRowLogEst = aiRowEstPk;
    sPk.onError = OE_Replace;
    sPk.pTable = pTab;
    sPk.szIdxRow = pTab->szTabRow;
    sPk.idxType = SQLITE_IDXTYPE_IPK;
    aiRowEstPk[0] = pTab->nRowLogEst;
    aiRowEstPk[1] = 0;
    pFirst = pSrc->pTab->pIndex;
    if( pSrc->fg.notIndexed==0 ){
      /* The real indices of the table are only considered if the
      ** NOT INDEXED qualifier is omitted from the FROM clause */
      sPk.pNext = pFirst;
    }
    pProbe = &sPk;
  }
  rSize = pTab->nRowLogEst;
  rLogSize = estLog(rSize);

#ifndef SQLITE_OMIT_AUTOMATIC_INDEX
  /* Automatic indexes */
  if( !pBuilder->pOrSet      /* Not part of an OR optimization */
   && (pWInfo->wctrlFlags & WHERE_OR_SUBCLAUSE)==0
   && (pWInfo->pParse->db->flags & SQLITE_AutoIndex)!=0
   && pSrc->pIBIndex==0      /* Has no INDEXED BY clause */
   && !pSrc->fg.notIndexed   /* Has no NOT INDEXED clause */
   && HasRowid(pTab)         /* Not WITHOUT ROWID table. (FIXME: Why not?) */
   && !pSrc->fg.isCorrelated /* Not a correlated subquery */
   && !pSrc->fg.isRecursive  /* Not a recursive common table expression. */
  ){
    /* Generate auto-index WhereLoops */
    WhereTerm *pTerm;
    WhereTerm *pWCEnd = pWC->a + pWC->nTerm;
    for(pTerm=pWC->a; rc==SQLITE_OK && pTerm<pWCEnd; pTerm++){
      if( pTerm->prereqRight & pNew->maskSelf ) continue;
      if( termCanDriveIndex(pTerm, pSrc, 0) ){
        pNew->u.btree.nEq = 1;
        pNew->nSkip = 0;
        pNew->u.btree.pIndex = 0;
        pNew->nLTerm = 1;
        pNew->aLTerm[0] = pTerm;
        /* TUNING: One-time cost for computing the automatic index is
        ** estimated to be X*N*log2(N) where N is the number of rows in
        ** the table being indexed and where X is 7 (LogEst=28) for normal
        ** tables or 0.5 (LogEst=-10) for views and subqueries.  The value
        ** of X is smaller for views and subqueries so that the query planner
        ** will be more aggressive about generating automatic indexes for
        ** those objects, since there is no opportunity to add schema
        ** indexes on subqueries and views. */
        pNew->rSetup = rLogSize + rSize;
        if( pTab->pSelect==0 && (pTab->tabFlags & TF_Ephemeral)==0 ){
          pNew->rSetup += 28;
        }else{
          pNew->rSetup -= 10;
        }
        ApplyCostMultiplier(pNew->rSetup, pTab->costMult);
        if( pNew->rSetup<0 ) pNew->rSetup = 0;
        /* TUNING: Each index lookup yields 20 rows in the table.  This
        ** is more than the usual guess of 10 rows, since we have no way
        ** of knowing how selective the index will ultimately be.  It would
        ** not be unreasonable to make this value much larger. */
        pNew->nOut = 43;  assert( 43==sqlite3LogEst(20) );
        pNew->rRun = sqlite3LogEstAdd(rLogSize,pNew->nOut);
        pNew->wsFlags = WHERE_AUTO_INDEX;
        pNew->prereq = mPrereq | pTerm->prereqRight;
        rc = whereLoopInsert(pBuilder, pNew);
      }
    }
  }
#endif /* SQLITE_OMIT_AUTOMATIC_INDEX */

  /* Loop over all indices. If there was an INDEXED BY clause, then only
  ** consider index pProbe.  */
  for(; rc==SQLITE_OK && pProbe;
      pProbe=(pSrc->pIBIndex ? 0 : pProbe->pNext), iSortIdx++
  ){
    int isLeft = (pSrc->fg.jointype & JT_OUTER)!=0;
    if( pProbe->pPartIdxWhere!=0
     && !whereUsablePartialIndex(pSrc->iCursor, isLeft, pWC,
                                 pProbe->pPartIdxWhere)
    ){
      testcase( pNew->iTab!=pSrc->iCursor );  /* See ticket [98d973b8f5] */
      continue;  /* Partial index inappropriate for this query */
    }
    if( pProbe->bNoQuery ) continue;
    rSize = pProbe->aiRowLogEst[0];
    pNew->u.btree.nEq = 0;
    pNew->u.btree.nBtm = 0;
    pNew->u.btree.nTop = 0;
    pNew->nSkip = 0;
    pNew->nLTerm = 0;
    pNew->iSortIdx = 0;
    pNew->rSetup = 0;
    pNew->prereq = mPrereq;
    pNew->nOut = rSize;
    pNew->u.btree.pIndex = pProbe;
    b = indexMightHelpWithOrderBy(pBuilder, pProbe, pSrc->iCursor);

    /* The ONEPASS_DESIRED flags never occurs together with ORDER BY */
    assert( (pWInfo->wctrlFlags & WHERE_ONEPASS_DESIRED)==0 || b==0 );
    if( pProbe->idxType==SQLITE_IDXTYPE_IPK ){
      /* Integer primary key index */
      pNew->wsFlags = WHERE_IPK;

      /* Full table scan */
      pNew->iSortIdx = b ? iSortIdx : 0;
      /* TUNING: Cost of full table scan is (N*3.0). */
      pNew->rRun = rSize + 16;
      ApplyCostMultiplier(pNew->rRun, pTab->costMult);
      whereLoopOutputAdjust(pWC, pNew, rSize);
      rc = whereLoopInsert(pBuilder, pNew);
      pNew->nOut = rSize;
      if( rc ) break;
    }else{
      Bitmask m;
      if( pProbe->isCovering ){
        pNew->wsFlags = WHERE_IDX_ONLY | WHERE_INDEXED;
        m = 0;
      }else{
        m = pSrc->colUsed & pProbe->colNotIdxed;
        pNew->wsFlags = (m==0) ? (WHERE_IDX_ONLY|WHERE_INDEXED) : WHERE_INDEXED;
      }

      /* Full scan via index */
      if( b
       || !HasRowid(pTab)
       || pProbe->pPartIdxWhere!=0
       || pSrc->fg.isIndexedBy
       || ( m==0
         && pProbe->bUnordered==0
         && (pProbe->szIdxRow<pTab->szTabRow)
         && (pWInfo->wctrlFlags & WHERE_ONEPASS_DESIRED)==0
         && sqlite3GlobalConfig.bUseCis
         && OptimizationEnabled(pWInfo->pParse->db, SQLITE_CoverIdxScan)
          )
      ){
        pNew->iSortIdx = b ? iSortIdx : 0;

        /* The cost of visiting the index rows is N*K, where K is
        ** between 1.1 and 3.0, depending on the relative sizes of the
        ** index and table rows. */
        pNew->rRun = rSize + 1 + (15*pProbe->szIdxRow)/pTab->szTabRow;
        if( m!=0 ){
          /* If this is a non-covering index scan, add in the cost of
          ** doing table lookups.  The cost will be 3x the number of
          ** lookups.  Take into account WHERE clause terms that can be
          ** satisfied using just the index, and that do not require a
          ** table lookup. */
          LogEst nLookup = rSize + 16;  /* Base cost:  N*3 */
          int ii;
          int iCur = pSrc->iCursor;
          WhereClause *pWC2 = &pWInfo->sWC;
          for(ii=0; ii<pWC2->nTerm; ii++){
            WhereTerm *pTerm = &pWC2->a[ii];
            if( !sqlite3ExprCoveredByIndex(pTerm->pExpr, iCur, pProbe) ){
              break;
            }
            /* pTerm can be evaluated using just the index.  So reduce
            ** the expected number of table lookups accordingly */
            if( pTerm->truthProb<=0 ){
              nLookup += pTerm->truthProb;
            }else{
              nLookup--;
              if( pTerm->eOperator & (WO_EQ|WO_IS) ) nLookup -= 19;
            }
          }

          pNew->rRun = sqlite3LogEstAdd(pNew->rRun, nLookup);
        }
        ApplyCostMultiplier(pNew->rRun, pTab->costMult);
        whereLoopOutputAdjust(pWC, pNew, rSize);
        rc = whereLoopInsert(pBuilder, pNew);
        pNew->nOut = rSize;
        if( rc ) break;
      }
    }

    pBuilder->bldFlags1 = 0;
    rc = whereLoopAddBtreeIndex(pBuilder, pSrc, pProbe, 0);
    if( pBuilder->bldFlags1==SQLITE_BLDF1_INDEXED ){
      /* If a non-unique index is used, or if a prefix of the key for
      ** unique index is used (making the index functionally non-unique)
      ** then the sqlite_stat1 data becomes important for scoring the
      ** plan */
      pTab->tabFlags |= TF_StatsUsed;
    }
#ifdef SQLITE_ENABLE_STAT4
    sqlite3Stat4ProbeFree(pBuilder->pRec);
    pBuilder->nRecValid = 0;
    pBuilder->pRec = 0;
#endif
  }
  return rc;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
orw $-0x1, 0x26(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdi, %r15
movq 0x18(%rdi), %rdx
movq (%rdi), %rax
movq %rax, 0x30(%rsp)
movq 0x8(%rax), %rax
movzbl 0x10(%rdx), %ecx
imulq $0x70, %rcx, %rcx
addq %rcx, %rax
addq $0x8, %rax
movq 0x20(%rax), %rsi
movq %rax, 0x10(%rsp)
movq 0x68(%rax), %r14
movq %r14, %r13
testq %r14, %r14
jne 0x279996
testb $-0x80, 0x40(%rsi)
jne 0x279992
xorps %xmm0, %xmm0
leaq 0x70(%rsp), %r13
movaps %xmm0, 0x50(%r13)
movaps %xmm0, 0x60(%r13)
movaps %xmm0, (%r13)
movaps %xmm0, 0x10(%r13)
movaps %xmm0, 0x40(%r13)
movaps %xmm0, 0x30(%r13)
movaps %xmm0, 0x20(%r13)
movw $0x1, %ax
movw %ax, 0x5e(%r13)
movw %ax, 0x60(%r13)
leaq 0x26(%rsp), %rax
movq %rax, 0x8(%r13)
leaq 0x6c(%rsp), %rax
movq %rax, 0x10(%r13)
movb $0x5, 0x62(%r13)
movq %rsi, 0x18(%r13)
movzwl 0x4c(%rsi), %ecx
movw %cx, 0x5c(%r13)
movw $0x3, 0x63(%r13)
movzwl 0x4a(%rsi), %ecx
movw %cx, (%rax)
andw $0x0, 0x2(%rax)
movq 0x10(%rsp), %rax
testb $0x1, 0x3d(%rax)
jne 0x279996
movq 0x10(%rsi), %rax
movq %rax, 0x98(%rsp)
jmp 0x279996
movq 0x10(%rsi), %r13
movq %rdx, 0x18(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0x38(%rsp)
movq %rsi, 0x28(%rsp)
movzwl 0x4a(%rsi), %r12d
movswl %r12w, %edi
callq 0x27ac37
cmpq $0x0, 0x20(%r15)
movl $0x0, %ebx
jne 0x279b3e
movq 0x30(%rsp), %rcx
testb $0x20, 0x3c(%rcx)
movl $0x0, %ebx
jne 0x279b3e
movq 0x30(%rsp), %rcx
movq (%rcx), %rcx
movq (%rcx), %rcx
testb $-0x80, 0x31(%rcx)
movl $0x0, %ebx
je 0x279b3e
movl $0x0, %ebx
testq %r14, %r14
jne 0x279b3e
movq 0x10(%rsp), %rcx
movb 0x3d(%rcx), %cl
movl $0x0, %ebx
testb $0x1, %cl
jne 0x279b3e
movl $0x0, %ebx
testb $0x28, %cl
jne 0x279b3e
movl $0x80, %ecx
movl $0x0, %ebx
movq 0x28(%rsp), %rdx
andl 0x40(%rdx), %ecx
jne 0x279b3e
movq 0x38(%rsp), %rcx
movq 0x20(%rcx), %rdx
movslq 0x14(%rcx), %r14
shlq $0x6, %r14
addq %rdx, %r14
leal (%rax,%r12), %ebp
addl $-0xa, %ebp
leal (%rax,%r12), %ecx
addl $0x1c, %ecx
movl %ecx, 0x50(%rsp)
xorl %ebx, %ebx
cwtl
movl %eax, 0xc(%rsp)
testl %ebx, %ebx
jne 0x279b3e
cmpq %r14, %rdx
jae 0x279b3e
movq 0x18(%rsp), %rax
movq 0x8(%rax), %rax
xorl %ebx, %ebx
testq %rax, 0x30(%rdx)
jne 0x279b35
xorl %ebx, %ebx
movq %rdx, %r12
movq %rdx, %rdi
movq 0x10(%rsp), %rsi
xorl %edx, %edx
callq 0x27ac51
movq %r12, %rdx
testl %eax, %eax
je 0x279b35
movq 0x18(%rsp), %rax
movw $0x1, 0x18(%rax)
andq $0x0, 0x20(%rax)
movl $0x1, 0x2c(%rax)
movq 0x38(%rax), %rax
movq %rdx, (%rax)
movq 0x28(%rsp), %rax
cmpq $0x0, 0x18(%rax)
jne 0x279ae5
testb $0x2, 0x40(%rax)
movl 0x50(%rsp), %eax
je 0x279ae7
movl %ebp, %eax
testw %ax, %ax
movl $0x0, %ecx
cmovgl %eax, %ecx
movq 0x18(%rsp), %rbx
movw %cx, 0x12(%rbx)
movw $0x2b, 0x16(%rbx)
movl 0xc(%rsp), %edi
pushq $0x2b
popq %rsi
callq 0x275e47
movw %ax, 0x14(%rbx)
movl $0x4000, 0x28(%rbx)     # imm = 0x4000
movq 0x30(%r12), %rax
orq 0x58(%rsp), %rax
movq %rax, (%rbx)
movq %r15, %rdi
movq %rbx, %rsi
callq 0x27a7bb
movq %r12, %rdx
movl %eax, %ebx
addq $0x40, %rdx
jmp 0x279a6c
pushq $0x1
popq %rbp
movq %r15, 0x40(%rsp)
movq 0x18(%rsp), %r12
movq 0x38(%rsp), %r14
testl %ebx, %ebx
jne 0x279f46
testq %r13, %r13
je 0x279f46
movq 0x48(%r13), %rcx
testq %rcx, %rcx
je 0x279b8b
movq 0x10(%rsp), %rax
movl 0x3c(%rax), %esi
movl 0x40(%rax), %edi
shrl $0x5, %esi
andl $0x1, %esi
movq %r14, %rdx
callq 0x27aca1
testl %eax, %eax
je 0x279ccb
testb $0x1, 0x64(%r13)
jne 0x279ccb
movq 0x10(%r13), %rax
movzwl (%rax), %ecx
andl $0x0, 0x18(%r12)
andw $0x0, 0x1c(%r12)
andl $0x0, 0x2c(%r12)
movb $0x0, 0x11(%r12)
andw $0x0, 0x12(%r12)
movq 0x58(%rsp), %rax
movq %rax, (%r12)
movq %rcx, 0x50(%rsp)
movw %cx, 0x16(%r12)
movq %r13, 0x20(%r12)
movb $0x1, %r14b
testb $0x4, 0x63(%r13)
movl %ebp, 0xc(%rsp)
jne 0x279cde
movq (%r15), %rax
movq 0x10(%rax), %rax
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x279cde
movq 0x10(%rsp), %rax
movl 0x40(%rax), %ebx
movq 0x48(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x60(%rsp)
xorl %r12d, %r12d
movq 0x48(%rsp), %rax
movslq (%rax), %rax
cmpq %rax, %r12
setge %r14b
jge 0x279cde
imulq $0x18, %r12, %rax
movq 0x60(%rsp), %rcx
movq (%rcx,%rax), %rdi
callq 0x267d34
movq %rax, %rbp
cmpb $-0x5c, (%rax)
jne 0x279c7a
cmpl %ebx, 0x2c(%rbp)
jne 0x279c7a
movzwl 0x30(%rbp), %eax
testw %ax, %ax
movl 0xc(%rsp), %ebp
js 0x279cde
movzwl 0x5e(%r13), %ecx
xorl %edx, %edx
cmpq %rdx, %rcx
je 0x279cba
movq 0x8(%r13), %rsi
leaq 0x1(%rdx), %rdi
cmpw (%rsi,%rdx,2), %ax
movq %rdi, %rdx
jne 0x279c62
jmp 0x279cd2
movq 0x50(%r13), %r14
testq %r14, %r14
je 0x279cba
addq $0x8, %r14
xorl %r15d, %r15d
movzwl 0x5e(%r13), %eax
cmpq %rax, %r15
jae 0x279cba
movq 0x8(%r13), %rax
cmpw $-0x2, (%rax,%r15,2)
jne 0x279cb1
movq (%r14), %rsi
movq %rbp, %rdi
movl %ebx, %edx
callq 0x278f01
testl %eax, %eax
je 0x279cd2
incq %r15
addq $0x18, %r14
jmp 0x279c8a
incq %r12
movq 0x40(%rsp), %r15
movl 0xc(%rsp), %ebp
jmp 0x279c16
xorl %ebx, %ebx
jmp 0x279f28
xorl %r14d, %r14d
movq 0x40(%rsp), %r15
movl 0xc(%rsp), %ebp
movzwl 0x63(%r13), %eax
movl %eax, %ecx
notl %ecx
movq 0x50(%rsp), %rbx
movswl %bx, %r8d
testb $0x3, %cl
jne 0x279d52
testb %r14b, %r14b
movl %ebp, %eax
movl $0x0, %ecx
cmovnel %ecx, %eax
movq 0x18(%rsp), %r12
movl $0x100, 0x28(%r12)      # imm = 0x100
movb %al, 0x11(%r12)
leal 0x10(%rbx), %eax
movw %ax, 0x14(%r12)
movq 0x38(%rsp), %r14
movq %r14, %rdi
movq %r12, %rsi
movl %r8d, %edx
callq 0x27ad47
movq %r15, %rdi
movq %r12, %rsi
callq 0x27a7bb
movq %rbx, %rcx
movw %cx, 0x16(%r12)
testl %eax, %eax
je 0x279eff
jmp 0x279f44
testb $0x20, %al
movq 0x18(%rsp), %r12
jne 0x279d77
movq 0x68(%r13), %rax
xorl %ecx, %ecx
movq 0x10(%rsp), %rdx
testq %rax, 0x58(%rdx)
sete %cl
movl %ecx, %eax
orl $0x8, %eax
shll $0x6, %eax
jmp 0x279d7e
movb $0x1, %cl
movl $0x240, %eax            # imm = 0x240
movl %eax, 0x28(%r12)
movl %ebp, %eax
testb %r14b, %r14b
movq 0x38(%rsp), %r14
je 0x279e06
xorl %eax, %eax
movq 0x28(%rsp), %rdx
testb $-0x80, 0x40(%rdx)
jne 0x279e06
cmpq $0x0, 0x48(%r13)
jne 0x279e06
movq 0x10(%rsp), %rdx
testb $0x2, 0x3d(%rdx)
jne 0x279e06
testb %cl, %cl
je 0x279eff
testb $0x4, 0x63(%r13)
jne 0x279eff
movzwl 0x5c(%r13), %edx
movq 0x28(%rsp), %rsi
cmpw 0x4c(%rsi), %dx
jge 0x279eff
movq 0x30(%rsp), %rdx
testb $0x4, 0x3c(%rdx)
jne 0x279eff
cmpb $0x0, 0x1c082c(%rip)    # 0x43a617
je 0x279eff
movq 0x30(%rsp), %rdx
movq (%rdx), %rdx
movq (%rdx), %rdx
testb $0x20, 0x5c(%rdx)
jne 0x279eff
movzwl %bx, %esi
movb %al, 0x11(%r12)
movswl 0x5c(%r13), %eax
imull $0xf, %eax, %eax
movq 0x28(%rsp), %rdx
movswl 0x4c(%rdx), %edi
cltd
idivl %edi
addl %esi, %eax
incl %eax
movw %ax, 0x14(%r12)
testb %cl, %cl
movq %rbx, %rbp
jne 0x279ed8
movl %r8d, 0x48(%rsp)
leal 0x10(%rbp), %r12d
movq 0x10(%rsp), %rax
movl 0x40(%rax), %ebp
pushq $0x14
popq %r14
xorl %ebx, %ebx
movq 0x30(%rsp), %rcx
movslq 0x7c(%rcx), %rax
cmpq %rax, %rbx
jge 0x279ea9
movq 0x88(%rcx), %r15
movq -0x14(%r15,%r14), %rdi
movl %ebp, %esi
movq %r13, %rdx
callq 0x27ae6d
movq 0x30(%rsp), %rcx
testl %eax, %eax
je 0x279ea9
movzwl -0x4(%r15,%r14), %eax
testw %ax, %ax
jle 0x279e9a
movb (%r15,%r14), %al
andb $-0x7e, %al
cmpb $0x1, %al
movl $0x0, %eax
sbbl %eax, %eax
orl $0xffec, %eax           # imm = 0xFFEC
addl %r12d, %eax
incq %rbx
addq $0x40, %r14
movl %eax, %r12d
jmp 0x279e53
movq 0x18(%rsp), %rax
movswl 0x14(%rax), %edi
movswl %r12w, %esi
movq %rax, %r12
callq 0x275e47
movw %ax, 0x14(%r12)
movq 0x40(%rsp), %r15
movq 0x38(%rsp), %r14
movq 0x50(%rsp), %rbp
movl 0x48(%rsp), %r8d
movq %r14, %rdi
movq %r12, %rsi
movl %r8d, %edx
callq 0x27ad47
movq %r15, %rdi
movq %r12, %rsi
callq 0x27a7bb
movw %bp, 0x16(%r12)
testl %eax, %eax
movl 0xc(%rsp), %ebp
jne 0x279f44
movb $0x0, 0x28(%r15)
movq %r15, %rdi
movq 0x10(%rsp), %rsi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0x27aebc
movl %eax, %ebx
cmpb $0x1, 0x28(%r15)
jne 0x279f28
movq 0x28(%rsp), %rax
orb $0x1, 0x41(%rax)
movq 0x10(%rsp), %rax
cmpq $0x0, 0x68(%rax)
je 0x279f39
xorl %r13d, %r13d
jmp 0x279f3d
movq 0x28(%r13), %r13
incl %ebp
jmp 0x279b50
movl %eax, %ebx
movl %ebx, %eax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq