// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: selectInnerLoop
static void selectInnerLoop(
  Parse *pParse,          /* The parser context */
  Select *p,              /* The complete select statement being coded */
  ExprList *pEList,       /* List of values being extracted */
  int srcTab,             /* Pull data from this table */
  int nColumn,            /* Number of columns in the source table */
  ExprList *pOrderBy,     /* If not NULL, sort results using this key */
  DistinctCtx *pDistinct, /* If not NULL, info on how to process DISTINCT */
  SelectDest *pDest,      /* How to dispose of the results */
  int iContinue,          /* Jump here to continue with next row */
  int iBreak              /* Jump here to break out of the inner loop */
){
  Vdbe *v = pParse->pVdbe;
  int i;
  int hasDistinct;        /* True if the DISTINCT keyword is present */
  int regResult;              /* Start of memory holding result set */
  int eDest = pDest->eDest;   /* How to dispose of results */
  int iParm = pDest->iSDParm; /* First argument to disposal method */
  int nResultCol;             /* Number of result columns */

  assert( v );
  if( NEVER(v==0) ) return;
  assert( pEList!=0 );
  hasDistinct = pDistinct ? pDistinct->eTnctType : WHERE_DISTINCT_NOOP;
  if( pOrderBy==0 && !hasDistinct ){
    codeOffset(v, p, iContinue);
  }

  /* Pull the requested columns.
  */
  if( nColumn>0 ){
    nResultCol = nColumn;
  }else{
    nResultCol = pEList->nExpr;
  }
  if( pDest->iSdst==0 ){
    pDest->iSdst = pParse->nMem+1;
    pDest->nSdst = nResultCol;
    pParse->nMem += nResultCol;
  }else{ 
    assert( pDest->nSdst==nResultCol );
  }
  regResult = pDest->iSdst;
  if( nColumn>0 ){
    for(i=0; i<nColumn; i++){
      sqlite3VdbeAddOp3(v, OP_Column, srcTab, i, regResult+i);
    }
  }else if( eDest!=SRT_Exists ){
    /* If the destination is an EXISTS(...) expression, the actual
    ** values returned by the SELECT are not required.
    */
    sqlite3ExprCacheClear(pParse);
    sqlite3ExprCodeExprList(pParse, pEList, regResult, eDest==SRT_Output);
  }
  nColumn = nResultCol;

  /* If the DISTINCT keyword was present on the SELECT statement
  ** and this row has been seen before, then do not make this row
  ** part of the result.
  */
  if( hasDistinct ){
    assert( pEList!=0 );
    assert( pEList->nExpr==nColumn );
    switch( pDistinct->eTnctType ){
      case WHERE_DISTINCT_ORDERED: {
        VdbeOp *pOp;            /* No longer required OpenEphemeral instr. */
        int iJump;              /* Jump destination */
        int regPrev;            /* Previous row content */

        /* Allocate space for the previous row */
        regPrev = pParse->nMem+1;
        pParse->nMem += nColumn;

        /* Change the OP_OpenEphemeral coded earlier to an OP_Null
        ** sets the MEM_Cleared bit on the first register of the
        ** previous value.  This will cause the OP_Ne below to always
        ** fail on the first iteration of the loop even if the first
        ** row is all NULLs.
        */
        sqlite3VdbeChangeToNoop(v, pDistinct->addrTnct);
        pOp = sqlite3VdbeGetOp(v, pDistinct->addrTnct);
        pOp->opcode = OP_Null;
        pOp->p1 = 1;
        pOp->p2 = regPrev;

        iJump = sqlite3VdbeCurrentAddr(v) + nColumn;
        for(i=0; i<nColumn; i++){
          CollSeq *pColl = sqlite3ExprCollSeq(pParse, pEList->a[i].pExpr);
          if( i<nColumn-1 ){
            sqlite3VdbeAddOp3(v, OP_Ne, regResult+i, iJump, regPrev+i);
          }else{
            sqlite3VdbeAddOp3(v, OP_Eq, regResult+i, iContinue, regPrev+i);
          }
          sqlite3VdbeChangeP4(v, -1, (const char *)pColl, P4_COLLSEQ);
          sqlite3VdbeChangeP5(v, SQLITE_NULLEQ);
        }
        assert( sqlite3VdbeCurrentAddr(v)==iJump );
        sqlite3VdbeAddOp3(v, OP_Copy, regResult, regPrev, nColumn-1);
        break;
      }

      case WHERE_DISTINCT_UNIQUE: {
        sqlite3VdbeChangeToNoop(v, pDistinct->addrTnct);
        break;
      }

      default: {
        assert( pDistinct->eTnctType==WHERE_DISTINCT_UNORDERED );
        codeDistinct(pParse, pDistinct->tabTnct, iContinue, nColumn, regResult);
        break;
      }
    }
    if( pOrderBy==0 ){
      codeOffset(v, p, iContinue);
    }
  }

  switch( eDest ){
    /* In this mode, write each query result to the key of the temporary
    ** table iParm.
    */
#ifndef SQLITE_OMIT_COMPOUND_SELECT
    case SRT_Union: {
      int r1;
      r1 = sqlite3GetTempReg(pParse);
      sqlite3VdbeAddOp3(v, OP_MakeRecord, regResult, nColumn, r1);
      sqlite3VdbeAddOp2(v, OP_IdxInsert, iParm, r1);
      sqlite3ReleaseTempReg(pParse, r1);
      break;
    }

    /* Construct a record from the query result, but instead of
    ** saving that record, use it as a key to delete elements from
    ** the temporary table iParm.
    */
    case SRT_Except: {
      sqlite3VdbeAddOp3(v, OP_IdxDelete, iParm, regResult, nColumn);
      break;
    }
#endif

    /* Store the result as data using a unique key.
    */
    case SRT_Table:
    case SRT_EphemTab: {
      int r1 = sqlite3GetTempReg(pParse);
      testcase( eDest==SRT_Table );
      testcase( eDest==SRT_EphemTab );
      sqlite3VdbeAddOp3(v, OP_MakeRecord, regResult, nColumn, r1);
      if( pOrderBy ){
        pushOntoSorter(pParse, pOrderBy, p, r1);
      }else{
        int r2 = sqlite3GetTempReg(pParse);
        sqlite3VdbeAddOp2(v, OP_NewRowid, iParm, r2);
        sqlite3VdbeAddOp3(v, OP_Insert, iParm, r1, r2);
        sqlite3VdbeChangeP5(v, OPFLAG_APPEND);
        sqlite3ReleaseTempReg(pParse, r2);
      }
      sqlite3ReleaseTempReg(pParse, r1);
      break;
    }

#ifndef SQLITE_OMIT_SUBQUERY
    /* If we are creating a set for an "expr IN (SELECT ...)" construct,
    ** then there should be a single item on the stack.  Write this
    ** item into the set table with bogus data.
    */
    case SRT_Set: {
      assert( nColumn==1 );
      pDest->affSdst =
                  sqlite3CompareAffinity(pEList->a[0].pExpr, pDest->affSdst);
      if( pOrderBy ){
        /* At first glance you would think we could optimize out the
        ** ORDER BY in this case since the order of entries in the set
        ** does not matter.  But there might be a LIMIT clause, in which
        ** case the order does matter */
        pushOntoSorter(pParse, pOrderBy, p, regResult);
      }else{
        int r1 = sqlite3GetTempReg(pParse);
        sqlite3VdbeAddOp4(v, OP_MakeRecord, regResult,1,r1, &pDest->affSdst, 1);
        sqlite3ExprCacheAffinityChange(pParse, regResult, 1);
        sqlite3VdbeAddOp2(v, OP_IdxInsert, iParm, r1);
        sqlite3ReleaseTempReg(pParse, r1);
      }
      break;
    }

    /* If any row exist in the result set, record that fact and abort.
    */
    case SRT_Exists: {
      sqlite3VdbeAddOp2(v, OP_Integer, 1, iParm);
      /* The LIMIT clause will terminate the loop for us */
      break;
    }

    /* If this is a scalar select that is part of an expression, then
    ** store the results in the appropriate memory cell and break out
    ** of the scan loop.
    */
    case SRT_Mem: {
      assert( nColumn==1 );
      if( pOrderBy ){
        pushOntoSorter(pParse, pOrderBy, p, regResult);
      }else{
        sqlite3ExprCodeMove(pParse, regResult, iParm, 1);
        /* The LIMIT clause will jump out of the loop for us */
      }
      break;
    }
#endif /* #ifndef SQLITE_OMIT_SUBQUERY */

    /* Send the data to the callback function or to a subroutine.  In the
    ** case of a subroutine, the subroutine itself is responsible for
    ** popping the data from the stack.
    */
    case SRT_Coroutine:
    case SRT_Output: {
      testcase( eDest==SRT_Coroutine );
      testcase( eDest==SRT_Output );
      if( pOrderBy ){
        int r1 = sqlite3GetTempReg(pParse);
        sqlite3VdbeAddOp3(v, OP_MakeRecord, regResult, nColumn, r1);
        pushOntoSorter(pParse, pOrderBy, p, r1);
        sqlite3ReleaseTempReg(pParse, r1);
      }else if( eDest==SRT_Coroutine ){
        sqlite3VdbeAddOp1(v, OP_Yield, pDest->iSDParm);
      }else{
        sqlite3VdbeAddOp2(v, OP_ResultRow, regResult, nColumn);
        sqlite3ExprCacheAffinityChange(pParse, regResult, nColumn);
      }
      break;
    }

#if !defined(SQLITE_OMIT_TRIGGER)
    /* Discard the results.  This is used for SELECT statements inside
    ** the body of a TRIGGER.  The purpose of such selects is to call
    ** user-defined functions that have side effects.  We do not care
    ** about the actual results of the select.
    */
    default: {
      assert( eDest==SRT_Discard );
      break;
    }
#endif
  }

  /* Jump to the end of the loop if the LIMIT is reached.  Except, if
  ** there is a sorter, in which case the sorter has already limited
  ** the output for us.
  */
  if( pOrderBy==0 && p->iLimit ){
    sqlite3VdbeAddOp3(v, OP_IfZero, p->iLimit, iBreak, -1);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, -0x70(%rbp)
movq %rdi, -0x38(%rbp)
movq 0x10(%rdi), %rbx
testq %rbx, %rbx
je 0x54d0b
movl %r8d, %r15d
movl %ecx, %r14d
movq %rsi, %r12
movq 0x18(%rbp), %r13
movq 0x10(%rbp), %rax
testq %rax, %rax
movq %rax, -0x78(%rbp)
je 0x54652
cmpb $0x0, 0x1(%rax)
setne %cl
jmp 0x54654
xorl %ecx, %ecx
movl 0x28(%rbp), %eax
movl %eax, -0x7c(%rbp)
movl 0x20(%rbp), %eax
movl %eax, -0x44(%rbp)
movzbl (%r13), %eax
movq %rax, -0x60(%rbp)
movl 0x4(%r13), %eax
movl %eax, -0x2c(%rbp)
movq %r9, -0x50(%rbp)
testq %r9, %r9
setne %al
movl %ecx, -0x68(%rbp)
orb %cl, %al
testb $0x1, %al
jne 0x54691
movq %rbx, %rdi
movq %r12, %rsi
movl -0x44(%rbp), %edx
callq 0x5697d
movl %r15d, %esi
testl %r15d, %r15d
jg 0x5469f
movq -0x70(%rbp), %rax
movl (%rax), %esi
cmpl $0x0, 0x8(%r13)
jne 0x546bd
movq -0x38(%rbp), %rdx
movl 0x58(%rdx), %eax
leal 0x1(%rax), %ecx
movl %ecx, 0x8(%r13)
movl %esi, 0xc(%r13)
addl %esi, %eax
movl %eax, 0x58(%rdx)
movq %rsi, -0x40(%rbp)
movq %r12, -0x88(%rbp)
movq %r13, -0x58(%rbp)
movl 0x8(%r13), %r12d
testl %r15d, %r15d
jle 0x546f9
xorl %r13d, %r13d
leal (%r12,%r13), %r8d
movq %rbx, %rdi
movl $0x29, %esi
movl %r14d, %edx
movl %r13d, %ecx
callq 0x45b9e
incl %r13d
cmpl %r13d, %r15d
jne 0x546d8
jmp 0x54723
cmpl $0x3, -0x60(%rbp)
je 0x54723
movq -0x38(%rbp), %r14
movq %r14, %rdi
callq 0x5526f
xorl %ecx, %ecx
cmpl $0x5, -0x60(%rbp)
sete %cl
movq %r14, %rdi
movq -0x70(%rbp), %rsi
movl %r12d, %edx
callq 0x4e56d
cmpb $0x0, -0x68(%rbp)
movq -0x88(%rbp), %r13
movq -0x38(%rbp), %r15
je 0x548b9
movq -0x78(%rbp), %rcx
movzbl 0x1(%rcx), %eax
cmpl $0x1, %eax
je 0x5478a
cmpl $0x2, %eax
jne 0x5479a
movl 0x58(%r15), %r13d
movq -0x40(%rbp), %r14
leal (%r14,%r13), %eax
movl %eax, 0x58(%r15)
movq %rcx, %r15
movl 0x8(%rcx), %esi
movq %rbx, %rdi
callq 0x11b1d
movl 0x8(%r15), %eax
testl %eax, %eax
jns 0x54775
movl 0x34(%rbx), %eax
decl %eax
incl %r13d
movq (%rbx), %rcx
cmpb $0x0, 0x50(%rcx)
je 0x547b4
leaq 0x41848(%rip), %rax     # 0x95fd0
jmp 0x547c2
movl 0x8(%rcx), %esi
movq %rbx, %rdi
callq 0x11b1d
jmp 0x548a4
movl 0x4(%rcx), %esi
movq %r15, %rdi
movl -0x44(%rbp), %edx
movq -0x40(%rbp), %rcx
movl %r12d, %r8d
callq 0x5b8b4
jmp 0x548a4
cltq
leaq (%rax,%rax,2), %rax
shlq $0x3, %rax
addq 0x8(%rbx), %rax
movb $0x18, (%rax)
movl $0x1, 0x4(%rax)
movq %r13, -0x68(%rbp)
movl %r13d, 0x8(%rax)
testl %r14d, %r14d
jle 0x5487d
movl 0x34(%rbx), %eax
movq -0x40(%rbp), %rcx
addl %ecx, %eax
movl %eax, -0x80(%rbp)
leal -0x1(%rcx), %eax
cltq
movq %rax, -0x78(%rbp)
movl %ecx, %r15d
xorl %r14d, %r14d
movq -0x70(%rbp), %rax
movq 0x8(%rax), %rax
movq %r14, %rcx
shlq $0x5, %rcx
movq (%rax,%rcx), %rsi
movq -0x38(%rbp), %rdi
callq 0x4b095
movq %rax, %r13
movq -0x68(%rbp), %rax
leal (%rax,%r14), %r8d
leal (%r12,%r14), %edx
cmpq -0x78(%rbp), %r14
jge 0x54836
movq %rbx, %rdi
movl $0x4b, %esi
movl -0x80(%rbp), %ecx
jmp 0x54841
movq %rbx, %rdi
movl $0x4c, %esi
movl -0x44(%rbp), %ecx
callq 0x45b9e
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movq %r13, %rdx
movl $0xfffffffc, %ecx       # imm = 0xFFFFFFFC
callq 0x11975
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x54871
movslq 0x34(%rbx), %rcx
leaq (%rcx,%rcx,2), %rcx
movb $-0x80, -0x15(%rax,%rcx,8)
incq %r14
cmpq %r15, %r14
jne 0x547f8
movq -0x40(%rbp), %rax
leal -0x1(%rax), %r8d
movq %rbx, %rdi
movl $0x1c, %esi
movl %r12d, %edx
movq -0x68(%rbp), %rcx
callq 0x45b9e
movq -0x88(%rbp), %r13
movq -0x38(%rbp), %r15
cmpq $0x0, -0x50(%rbp)
jne 0x548b9
movq %rbx, %rdi
movq %r13, %rsi
movl -0x44(%rbp), %edx
callq 0x5697d
movq -0x60(%rbp), %rax
decl %eax
cmpl $0x9, %eax
ja 0x54d04
leaq 0x215dd(%rip), %rcx     # 0x75eac
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpq $0x0, -0x50(%rbp)
je 0x549d5
movb 0x1f(%r15), %al
testb %al, %al
je 0x54a9c
decb %al
movb %al, 0x1f(%r15)
movzbl %al, %eax
movl 0x28(%r15,%rax,4), %r14d
jmp 0x54aa7
movb 0x1f(%r15), %al
testb %al, %al
je 0x549fd
decb %al
movb %al, 0x1f(%r15)
movzbl %al, %eax
movl 0x28(%r15,%rax,4), %r14d
jmp 0x54a08
movq %rbx, %rdi
movl $0x15, %esi
movl $0x1, %edx
movl -0x2c(%rbp), %ecx
jmp 0x549f0
movq -0x70(%rbp), %rax
movq 0x8(%rax), %rax
movq (%rax), %rdi
movq -0x58(%rbp), %r14
movsbl 0x1(%r14), %esi
callq 0x4eee9
movb %al, 0x1(%r14)
movq -0x50(%rbp), %rsi
testq %rsi, %rsi
jne 0x549c2
incq %r14
movq %r14, -0x58(%rbp)
movb 0x1f(%r15), %al
testb %al, %al
je 0x54c6c
decb %al
movb %al, 0x1f(%r15)
movzbl %al, %eax
movl 0x28(%r15,%rax,4), %r14d
jmp 0x54c77
movb 0x1f(%r15), %al
testb %al, %al
je 0x54b36
decb %al
movb %al, 0x1f(%r15)
movzbl %al, %eax
movl 0x28(%r15,%rax,4), %r14d
jmp 0x54b41
movq %rbx, %rdi
movl $0x68, %esi
movl -0x2c(%rbp), %edx
movl %r12d, %ecx
movq -0x40(%rbp), %r8
jmp 0x549f3
movq -0x50(%rbp), %rsi
testq %rsi, %rsi
je 0x54ba7
movq %r15, %rdi
movq %r13, %rdx
movl %r12d, %ecx
callq 0x5b990
jmp 0x54d04
cmpl $0xa, -0x60(%rbp)
jne 0x54b09
movq -0x58(%rbp), %rax
movl 0x4(%rax), %edx
movq %rbx, %rdi
movl $0x11, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x45b9e
jmp 0x54d04
movl 0x58(%r15), %r14d
incl %r14d
movl %r14d, 0x58(%r15)
movq %rbx, %rdi
movl $0x2b, %esi
movl %r12d, %edx
movq -0x40(%rbp), %rcx
movl %r14d, %r8d
callq 0x45b9e
movq -0x50(%rbp), %rsi
testq %rsi, %rsi
je 0x54a7d
movq %r15, %rdi
movq %r13, %rdx
movl %r14d, %ecx
callq 0x5b990
testl %r14d, %r14d
movq -0x38(%rbp), %rdx
je 0x54d04
movzbl 0x1f(%rdx), %eax
cmpq $0x7, %rax
ja 0x54d04
xorl %ecx, %ecx
cmpl %r14d, 0x84(%rdx,%rcx)
je 0x54bbf
addq $0x18, %rcx
cmpl $0xf0, %ecx
jne 0x54a53
leal 0x1(%rax), %ecx
movb %cl, 0x1f(%rdx)
movl %r14d, 0x28(%rdx,%rax,4)
jmp 0x54d04
movb 0x1f(%r15), %al
testb %al, %al
je 0x54bc9
decb %al
movb %al, 0x1f(%r15)
movzbl %al, %eax
movl 0x28(%r15,%rax,4), %r15d
jmp 0x54bd7
movl 0x58(%r15), %r14d
incl %r14d
movl %r14d, 0x58(%r15)
movq %rbx, %rdi
movl $0x2b, %esi
movl %r12d, %edx
movq -0x40(%rbp), %rcx
movl %r14d, %r8d
callq 0x45b9e
movq %r15, %rdi
movq -0x50(%rbp), %rsi
movq %r13, %rdx
movl %r14d, %ecx
callq 0x5b990
testl %r14d, %r14d
je 0x54d04
movzbl 0x1f(%r15), %eax
cmpq $0x7, %rax
ja 0x54d04
xorl %ecx, %ecx
cmpl %r14d, 0x84(%r15,%rcx)
je 0x54cfe
addq $0x18, %rcx
cmpl $0xf0, %ecx
jne 0x54aea
jmp 0x54cf0
movq %rbx, %rdi
movl $0x1e, %esi
movl %r12d, %edx
movq -0x40(%rbp), %r14
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x45b9e
movq %r15, %rdi
movl %r12d, %esi
movl %r14d, %edx
callq 0x4e50d
jmp 0x54d04
movl 0x58(%r15), %r14d
incl %r14d
movl %r14d, 0x58(%r15)
movq %rbx, %rdi
movl $0x2b, %esi
movl %r12d, %edx
movq -0x40(%rbp), %rcx
movl %r14d, %r8d
callq 0x45b9e
movq %rbx, %rdi
movl $0x67, %esi
movl -0x2c(%rbp), %edx
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x45b9e
testl %r14d, %r14d
je 0x54d04
movzbl 0x1f(%r15), %eax
cmpq $0x7, %rax
ja 0x54d04
xorl %ecx, %ecx
cmpl %r14d, 0x84(%r15,%rcx)
je 0x54cfe
addq $0x18, %rcx
cmpl $0xf0, %ecx
jne 0x54b88
jmp 0x54cf0
movq %r15, %rdi
movl %r12d, %esi
movl -0x2c(%rbp), %edx
movl $0x1, %ecx
callq 0x552b9
jmp 0x54d04
movb $0x1, 0x7c(%rdx,%rcx)
jmp 0x54d04
movq %r15, %rax
movl 0x58(%r15), %r15d
incl %r15d
movl %r15d, 0x58(%rax)
movq %rbx, %rdi
movl $0x41, %esi
movl -0x2c(%rbp), %r12d
movl %r12d, %edx
movl %r15d, %ecx
xorl %r8d, %r8d
callq 0x45b9e
movq %rbx, %rdi
movl $0x42, %esi
movl %r12d, %edx
movl %r14d, %ecx
movl %r15d, %r8d
callq 0x45b9e
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x54c1d
movslq 0x34(%rbx), %rcx
leaq (%rcx,%rcx,2), %rcx
movb $0x8, -0x15(%rax,%rcx,8)
testl %r15d, %r15d
je 0x54a36
movq -0x38(%rbp), %rax
movzbl 0x1f(%rax), %eax
cmpq $0x7, %rax
ja 0x54a36
xorl %ecx, %ecx
movq -0x38(%rbp), %rdx
cmpl %r15d, 0x84(%rdx,%rcx)
je 0x54d46
addq $0x18, %rcx
cmpl $0xf0, %ecx
jne 0x54c3e
leal 0x1(%rax), %ecx
movq -0x38(%rbp), %rdx
movb %cl, 0x1f(%rdx)
movl %r15d, 0x28(%rdx,%rax,4)
jmp 0x54a36
movl 0x58(%r15), %r14d
incl %r14d
movl %r14d, 0x58(%r15)
movq %rbx, %rdi
movl $0x2b, %esi
movl %r12d, %edx
movl $0x1, %ecx
movl %r14d, %r8d
callq 0x45b9e
movq %rbx, %rdi
movl %eax, %esi
movq -0x58(%rbp), %rdx
movl $0x1, %ecx
callq 0x11975
movq %r15, %rdi
movl %r12d, %esi
movl $0x1, %edx
callq 0x4e50d
movq %rbx, %rdi
movl $0x67, %esi
movl -0x2c(%rbp), %edx
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x45b9e
testl %r14d, %r14d
je 0x54d04
movzbl 0x1f(%r15), %eax
cmpq $0x7, %rax
ja 0x54d04
xorl %ecx, %ecx
cmpl %r14d, 0x84(%r15,%rcx)
je 0x54cfe
addq $0x18, %rcx
cmpl $0xf0, %ecx
jne 0x54cda
leal 0x1(%rax), %ecx
movb %cl, 0x1f(%r15)
movl %r14d, 0x28(%r15,%rax,4)
jmp 0x54d04
movb $0x1, 0x7c(%r15,%rcx)
cmpq $0x0, -0x50(%rbp)
je 0x54d1a
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0xc(%r13), %edx
testl %edx, %edx
je 0x54d0b
movq %rbx, %rdi
movl $0x80, %esi
movl -0x7c(%rbp), %ecx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x45b9e
movq -0x38(%rbp), %rax
movb $0x1, 0x7c(%rax,%rcx)
jmp 0x54a36