// File: /workspace/github_c_makefile_star2_O2/shifengbin[P]bishe/Output/../Persistence/sqlite3.c
// Function: whereLoopAddVirtual
static int whereLoopAddVirtual(
  WhereLoopBuilder *pBuilder,  /* WHERE clause information */
  Bitmask mExtra,              /* Tables that must be scanned before this one */
  Bitmask mUnusable            /* Tables that must be scanned after this one */
){
  WhereInfo *pWInfo;           /* WHERE analysis context */
  Parse *pParse;               /* The parsing context */
  WhereClause *pWC;            /* The WHERE clause */
  struct SrcList_item *pSrc;   /* The FROM clause term to search */
  Table *pTab;
  sqlite3 *db;
  sqlite3_index_info *pIdxInfo;
  struct sqlite3_index_constraint *pIdxCons;
  struct sqlite3_index_constraint_usage *pUsage;
  WhereTerm *pTerm;
  int i, j;
  int iTerm, mxTerm;
  int nConstraint;
  int seenIn = 0;              /* True if an IN operator is seen */
  int seenVar = 0;             /* True if a non-constant constraint is seen */
  int iPhase;                  /* 0: const w/o IN, 1: const, 2: no IN,  2: IN */
  WhereLoop *pNew;
  int rc = SQLITE_OK;

  assert( (mExtra & mUnusable)==0 );
  pWInfo = pBuilder->pWInfo;
  pParse = pWInfo->pParse;
  db = pParse->db;
  pWC = pBuilder->pWC;
  pNew = pBuilder->pNew;
  pSrc = &pWInfo->pTabList->a[pNew->iTab];
  pTab = pSrc->pTab;
  assert( IsVirtual(pTab) );
  pIdxInfo = allocateIndexInfo(pParse, pWC, mUnusable, pSrc,pBuilder->pOrderBy);
  if( pIdxInfo==0 ) return SQLITE_NOMEM;
  pNew->prereq = 0;
  pNew->rSetup = 0;
  pNew->wsFlags = WHERE_VIRTUALTABLE;
  pNew->nLTerm = 0;
  pNew->u.vtab.needFree = 0;
  pUsage = pIdxInfo->aConstraintUsage;
  nConstraint = pIdxInfo->nConstraint;
  if( whereLoopResize(db, pNew, nConstraint) ){
    sqlite3DbFree(db, pIdxInfo);
    return SQLITE_NOMEM;
  }

  for(iPhase=0; iPhase<=3; iPhase++){
    if( !seenIn && (iPhase&1)!=0 ){
      iPhase++;
      if( iPhase>3 ) break;
    }
    if( !seenVar && iPhase>1 ) break;
    pIdxCons = *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint;
    for(i=0; i<pIdxInfo->nConstraint; i++, pIdxCons++){
      j = pIdxCons->iTermOffset;
      pTerm = &pWC->a[j];
      switch( iPhase ){
        case 0:    /* Constants without IN operator */
          pIdxCons->usable = 0;
          if( (pTerm->eOperator & WO_IN)!=0 ){
            seenIn = 1;
          }
          if( (pTerm->prereqRight & ~mExtra)!=0 ){
            seenVar = 1;
          }else if( (pTerm->eOperator & WO_IN)==0 ){
            pIdxCons->usable = 1;
          }
          break;
        case 1:    /* Constants with IN operators */
          assert( seenIn );
          pIdxCons->usable = (pTerm->prereqRight & ~mExtra)==0;
          break;
        case 2:    /* Variables without IN */
          assert( seenVar );
          pIdxCons->usable = (pTerm->eOperator & WO_IN)==0;
          break;
        default:   /* Variables with IN */
          assert( seenVar && seenIn );
          pIdxCons->usable = 1;
          break;
      }
    }
    memset(pUsage, 0, sizeof(pUsage[0])*pIdxInfo->nConstraint);
    if( pIdxInfo->needToFreeIdxStr ) sqlite3_free(pIdxInfo->idxStr);
    pIdxInfo->idxStr = 0;
    pIdxInfo->idxNum = 0;
    pIdxInfo->needToFreeIdxStr = 0;
    pIdxInfo->orderByConsumed = 0;
    pIdxInfo->estimatedCost = SQLITE_BIG_DBL / (double)2;
    pIdxInfo->estimatedRows = 25;
    pIdxInfo->idxFlags = 0;
    pIdxInfo->colUsed = (sqlite3_int64)pSrc->colUsed;
    rc = vtabBestIndex(pParse, pTab, pIdxInfo);
    if( rc ) goto whereLoopAddVtab_exit;
    pIdxCons = *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint;
    pNew->prereq = mExtra;
    mxTerm = -1;
    assert( pNew->nLSlot>=nConstraint );
    for(i=0; i<nConstraint; i++) pNew->aLTerm[i] = 0;
    pNew->u.vtab.omitMask = 0;
    for(i=0; i<nConstraint; i++, pIdxCons++){
      if( (iTerm = pUsage[i].argvIndex - 1)>=0 ){
        j = pIdxCons->iTermOffset;
        if( iTerm>=nConstraint
         || j<0
         || j>=pWC->nTerm
         || pNew->aLTerm[iTerm]!=0
        ){
          rc = SQLITE_ERROR;
          sqlite3ErrorMsg(pParse, "%s.xBestIndex() malfunction", pTab->zName);
          goto whereLoopAddVtab_exit;
        }
        testcase( iTerm==nConstraint-1 );
        testcase( j==0 );
        testcase( j==pWC->nTerm-1 );
        pTerm = &pWC->a[j];
        pNew->prereq |= pTerm->prereqRight;
        assert( iTerm<pNew->nLSlot );
        pNew->aLTerm[iTerm] = pTerm;
        if( iTerm>mxTerm ) mxTerm = iTerm;
        testcase( iTerm==15 );
        testcase( iTerm==16 );
        if( iTerm<16 && pUsage[i].omit ) pNew->u.vtab.omitMask |= 1<<iTerm;
        if( (pTerm->eOperator & WO_IN)!=0 ){
          if( pUsage[i].omit==0 ){
            /* Do not attempt to use an IN constraint if the virtual table
            ** says that the equivalent EQ constraint cannot be safely omitted.
            ** If we do attempt to use such a constraint, some rows might be
            ** repeated in the output. */
            break;
          }
          /* A virtual table that is constrained by an IN clause may not
          ** consume the ORDER BY clause because (1) the order of IN terms
          ** is not necessarily related to the order of output terms and
          ** (2) Multiple outputs from a single IN value will not merge
          ** together.  */
          pIdxInfo->orderByConsumed = 0;
          pIdxInfo->idxFlags &= ~SQLITE_INDEX_SCAN_UNIQUE;
        }
      }
    }
    if( i>=nConstraint ){
      pNew->nLTerm = mxTerm+1;
      assert( pNew->nLTerm<=pNew->nLSlot );
      pNew->u.vtab.idxNum = pIdxInfo->idxNum;
      pNew->u.vtab.needFree = pIdxInfo->needToFreeIdxStr;
      pIdxInfo->needToFreeIdxStr = 0;
      pNew->u.vtab.idxStr = pIdxInfo->idxStr;
      pNew->u.vtab.isOrdered = (i8)(pIdxInfo->orderByConsumed ?
                                      pIdxInfo->nOrderBy : 0);
      pNew->rSetup = 0;
      pNew->rRun = sqlite3LogEstFromDouble(pIdxInfo->estimatedCost);
      pNew->nOut = sqlite3LogEst(pIdxInfo->estimatedRows);

      /* Set the WHERE_ONEROW flag if the xBestIndex() method indicated
      ** that the scan will visit at most one row. Clear it otherwise. */
      if( pIdxInfo->idxFlags & SQLITE_INDEX_SCAN_UNIQUE ){
        pNew->wsFlags |= WHERE_ONEROW;
      }else{
        pNew->wsFlags &= ~WHERE_ONEROW;
      }
      whereLoopInsert(pBuilder, pNew);
      if( pNew->u.vtab.needFree ){
        sqlite3_free(pNew->u.vtab.idxStr);
        pNew->u.vtab.needFree = 0;
      }
    }
  }  

whereLoopAddVtab_exit:
  if( pIdxInfo->needToFreeIdxStr ) sqlite3_free(pIdxInfo->idxStr);
  sqlite3DbFree(db, pIdxInfo);
  return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, %r15
movq %rsi, -0x68(%rbp)
movq (%rdi), %rax
movq 0x8(%rdi), %rdx
movq (%rax), %rcx
movq 0x8(%rax), %rax
movq %rcx, -0x38(%rbp)
movq (%rcx), %r9
movq 0x18(%rdi), %rcx
movq %rcx, -0x78(%rbp)
movzbl 0x10(%rcx), %ecx
imulq $0x70, %rcx, %rcx
leaq (%rax,%rcx), %r14
addq $0x8, %r14
movq 0x20(%r14), %rax
movq %rax, -0x80(%rbp)
movq %rdi, -0x98(%rbp)
movq 0x10(%rdi), %r12
movq 0x20(%rdx), %rax
movq %rdx, -0x50(%rbp)
movl 0x14(%rdx), %ecx
xorl %ebx, %ebx
testl %ecx, %ecx
cmovlel %ebx, %ecx
addq $0x28, %rax
subl $0x1, %ecx
jb 0x5a69b
movl -0x1c(%rax), %edx
cmpl 0x44(%r14), %edx
jne 0x5a695
testq %r15, (%rax)
jne 0x5a695
movzwl -0xe(%rax), %edx
andl $0xf67f, %edx           # imm = 0xF67F
cmpw $0x1, %dx
sbbl $-0x1, %ebx
addq $0x38, %rax
jmp 0x5a671
testq %r12, %r12
movq %r9, -0x70(%rbp)
je 0x5a6f0
movl (%r12), %eax
xorl %edx, %edx
testl %eax, %eax
movl $0x0, %ecx
cmovgl %eax, %ecx
movq %rcx, %rsi
shlq $0x5, %rsi
xorl %edi, %edi
cmpq %rdx, %rsi
je 0x5a6e5
movq 0x8(%r12), %r8
movq (%r8,%rdx), %r8
cmpb $-0x68, (%r8)
jne 0x5a6e3
movl 0x2c(%r8), %r8d
cmpl 0x44(%r14), %r8d
jne 0x5a6e3
incl %edi
addq $0x20, %rdx
jmp 0x5a6bd
movl %edi, %ecx
xorl %r13d, %r13d
cmpl %eax, %ecx
cmovel %eax, %r13d
jmp 0x5a6f3
xorl %r13d, %r13d
movslq %ebx, %rax
movq %rax, -0x58(%rbp)
imulq $0x14, %rax, %rax
movslq %r13d, %rcx
movq %rcx, -0x60(%rbp)
leaq (%rax,%rcx,8), %rsi
addq $0x60, %rsi
movq -0x70(%rbp), %rdi
callq 0x12153
testq %rax, %rax
je 0x5a844
leaq 0x60(%rax), %rcx
imulq $0xc, -0x58(%rbp), %r8
leaq (%rax,%r8), %rdx
addq $0x60, %rdx
movq -0x60(%rbp), %rdi
leaq (%rdx,%rdi,8), %rsi
movl %ebx, (%rax)
movl %edi, 0x10(%rax)
movq %rcx, 0x8(%rax)
movq %rdx, 0x18(%rax)
movq %rax, -0x30(%rbp)
movq %rsi, 0x20(%rax)
movq -0x50(%rbp), %rdi
movl 0x14(%rdi), %edx
xorl %esi, %esi
testl %edx, %edx
cmovlel %esi, %edx
movq 0x20(%rdi), %rdi
addq $0xc, %rdi
pushq $0x2
popq %rax
xorl %r9d, %r9d
cmpl %r9d, %edx
je 0x5a7c1
movl (%rdi), %r10d
cmpl 0x44(%r14), %r10d
jne 0x5a7b8
testq %r15, 0x1c(%rdi)
jne 0x5a7b8
movzwl 0xe(%rdi), %r10d
testw $0xf67f, %r10w          # imm = 0xF67F
je 0x5a7b8
movl 0x4(%rdi), %ebx
movslq %esi, %r11
imulq $0xc, %r11, %r11
movl %ebx, (%rcx,%r11)
movl %r9d, 0x8(%rcx,%r11)
cmpb $0x1, %r10b
cmovel %eax, %r10d
cmpb $0x40, %r10b
jne 0x5a7af
movb 0x13(%rdi), %r10b
addq %rcx, %r11
movb %r10b, 0x4(%r11)
incl %esi
incl %r9d
addq $0x38, %rdi
jmp 0x5a769
xorl %ecx, %ecx
testl %r13d, %r13d
cmovlel %ecx, %r13d
movq -0x30(%rbp), %rdi
leaq (%rdi,%r8), %rax
addq $0x64, %rax
shlq $0x3, %r13
cmpq %rcx, %r13
je 0x5a7fd
movq 0x8(%r12), %rdx
movq (%rdx,%rcx,4), %rsi
movswl 0x30(%rsi), %esi
movl %esi, -0x4(%rax,%rcx)
movb 0x18(%rdx,%rcx,4), %dl
movb %dl, (%rax,%rcx)
addq $0x8, %rcx
jmp 0x5a7da
movq -0x78(%rbp), %rsi
andq $0x0, (%rsi)
andw $0x0, 0x12(%rsi)
movl $0x400, 0x28(%rsi)      # imm = 0x400
andw $0x0, 0x2c(%rsi)
movb $0x0, 0x1c(%rsi)
movq 0x20(%rdi), %r15
movl (%rdi), %r13d
movq -0x70(%rbp), %rbx
movq %rdi, %r12
movq %rbx, %rdi
movl %r13d, %edx
callq 0x5b6f0
testl %eax, %eax
je 0x5a85f
movq %rbx, %rdi
movq %r12, %rsi
callq 0xb856
jmp 0x5a856
leaq 0x11bcc(%rip), %rsi     # 0x6c417
movq -0x38(%rbp), %rdi
xorl %eax, %eax
callq 0x1357a
pushq $0x7
popq %r12
jmp 0x5ad3e
movq %r15, -0x48(%rbp)
movq -0x68(%rbp), %rax
notq %rax
movq %rax, -0x60(%rbp)
movq %r12, %rax
addq $0x30, %rax
movq %rax, -0x90(%rbp)
testl %r13d, %r13d
movl $0x0, %r11d
movl %r13d, -0x84(%rbp)
cmovgl %r13d, %r11d
xorl %r13d, %r13d
xorl %r9d, %r9d
xorl %r15d, %r15d
movq -0x50(%rbp), %rbx
movq %r12, %rdx
movq %r11, -0x58(%rbp)
cmpl $0x3, %r15d
jg 0x5ad50
testl %r13d, %r13d
jne 0x5a8c8
movl %r15d, %eax
andl $0x1, %eax
je 0x5a8c8
cmpl $0x3, %r15d
je 0x5ad50
incl %r15d
testl %r9d, %r9d
sete %al
cmpl $0x2, %r15d
setge %cl
testb %cl, %al
jne 0x5ad50
movq 0x8(%rdx), %rax
movslq (%rdx), %rdx
testl %edx, %edx
movl $0x0, %ecx
cmovgl %edx, %ecx
addq $0x5, %rax
subl $0x1, %ecx
jb 0x5a991
movslq 0x3(%rax), %rsi
imulq $0x38, %rsi, %rdi
addq 0x20(%rbx), %rdi
cmpl $0x2, %r15d
je 0x5a969
cmpl $0x1, %r15d
je 0x5a95c
testl %r15d, %r15d
jne 0x5a979
movb $0x0, (%rax)
movb 0x1a(%rdi), %r8b
testb $0x1, %r8b
movl %r13d, %esi
movl %r9d, %r12d
pushq $0x1
popq %r10
cmovnel %r10d, %esi
movq -0x60(%rbp), %r9
testq %r9, 0x28(%rdi)
setne %r9b
cmovel %r10d, %esi
movl %r12d, %edi
cmovnel %r10d, %edi
orb %r8b, %r9b
testb $0x1, %r9b
jne 0x5a982
movb $0x1, (%rax)
movl %r13d, %esi
movl %r12d, %edi
jmp 0x5a982
movq -0x60(%rbp), %rsi
testq %rsi, 0x28(%rdi)
sete (%rax)
jmp 0x5a97c
movb 0x1a(%rdi), %sil
notb %sil
andb $0x1, %sil
movb %sil, (%rax)
jmp 0x5a97c
movb $0x1, (%rax)
movl %r13d, %esi
movl %r9d, %edi
addq $0xc, %rax
movl %esi, %r13d
movl %edi, %r9d
jmp 0x5a8f2
movl %r9d, -0x3c(%rbp)
shlq $0x3, %rdx
movq -0x48(%rbp), %rdi
xorl %esi, %esi
callq 0xa270
movq -0x30(%rbp), %rbx
cmpl $0x0, 0x38(%rbx)
movq -0x90(%rbp), %r12
je 0x5a9c2
movq (%r12), %rdi
callq 0xa828
movq -0x30(%rbp), %rbx
andl $0x0, 0x28(%rbx)
xorpd %xmm0, %xmm0
movupd %xmm0, (%r12)
movabsq $0x546d42aea2879f2e, %rax # imm = 0x546D42AEA2879F2E
movq %rax, 0x40(%rbx)
movq $0x19, 0x48(%rbx)
andl $0x0, 0x50(%rbx)
movq 0x58(%r14), %rax
movq %rax, 0x58(%rbx)
movq -0x38(%rbp), %rax
movq (%rax), %rdi
movq -0x80(%rbp), %rsi
callq 0x37f66
movq 0x10(%rax), %r12
movq (%r12), %rax
movq %r12, %rdi
movq %rbx, %rsi
callq *0x18(%rax)
testl %eax, %eax
je 0x5aa5c
cmpl $0x7, %eax
jne 0x5aa29
movq -0x38(%rbp), %rax
movq (%rax), %rax
movb $0x1, 0x51(%rax)
jmp 0x5aa5c
movq 0x10(%r12), %rdx
testq %rdx, %rdx
je 0x5aa40
movq -0x38(%rbp), %rdi
leaq 0x11945(%rip), %rsi     # 0x6c383
jmp 0x5aa55
movl %eax, %edi
callq 0x113bc
movq -0x38(%rbp), %rdi
leaq 0x11931(%rip), %rsi     # 0x6c383
movq %rax, %rdx
xorl %eax, %eax
callq 0x1357a
movq 0x10(%r12), %rdi
callq 0xa828
andq $0x0, 0x10(%r12)
pushq $0x5
popq %rbx
xorl %r12d, %r12d
movq -0x30(%rbp), %rdx
movq -0x58(%rbp), %r11
movslq (%rdx), %rax
cmpq %rax, %r12
jge 0x5aac1
movq 0x8(%rdx), %rax
cmpb $0x0, (%rax,%rbx)
jne 0x5aab8
movq 0x20(%rdx), %rax
cmpl $0x0, (%rax,%r12,8)
jle 0x5aab8
movq -0x80(%rbp), %rax
movq (%rax), %rdx
movq -0x38(%rbp), %rdi
leaq 0x13f91(%rip), %rsi     # 0x6ea3a
xorl %eax, %eax
callq 0x1357a
movq -0x58(%rbp), %r11
movq -0x30(%rbp), %rdx
incq %r12
addq $0xc, %rbx
jmp 0x5aa7a
movq -0x38(%rbp), %rax
movl 0x4c(%rax), %r12d
testl %r12d, %r12d
jne 0x5ad1c
movq 0x8(%rdx), %rax
movq -0x68(%rbp), %rcx
movq -0x78(%rbp), %r12
movq %rcx, (%r12)
xorl %ecx, %ecx
movq -0x50(%rbp), %rbx
cmpq %rcx, %r11
je 0x5aafc
movq 0x38(%r12), %rdx
andq $0x0, (%rdx,%rcx,8)
incq %rcx
jmp 0x5aae8
andw $0x0, 0x1e(%r12)
addq $0x8, %rax
movq -0x68(%rbp), %rsi
xorl %edi, %edi
pushq $-0x1
popq %rdx
movq -0x48(%rbp), %rcx
cmpq %rdi, %r11
je 0x5abe9
movl (%rcx,%rdi,8), %r8d
testl %r8d, %r8d
jle 0x5abdd
cmpl -0x84(%rbp), %r8d
jg 0x5acfb
movl (%rax), %r9d
testl %r9d, %r9d
js 0x5acfb
cmpl 0x14(%rbx), %r9d
jge 0x5acfb
leal -0x1(%r8), %ecx
movq 0x38(%r12), %r10
movl %ecx, %r11d
cmpq $0x0, (%r10,%r11,8)
jne 0x5acfb
movq 0x20(%rbx), %rbx
imulq $0x38, %r9, %r12
leaq (%rbx,%r12), %r9
orq 0x28(%rbx,%r12), %rsi
movq -0x78(%rbp), %r12
movq %rsi, (%r12)
movq %r9, (%r10,%r11,8)
cmpl %edx, %ecx
cmovgl %ecx, %edx
cmpl $0x10, %r8d
ja 0x5aba5
movq -0x48(%rbp), %r8
cmpb $0x0, 0x4(%r8,%rdi,8)
je 0x5aba5
pushq $0x1
popq %r8
shll %cl, %r8d
orw %r8w, 0x1e(%r12)
testb $0x1, 0x1a(%r9)
movq -0x58(%rbp), %r11
jne 0x5abb6
movq -0x50(%rbp), %rbx
jmp 0x5abd9
movq -0x48(%rbp), %rcx
cmpb $0x0, 0x4(%rcx,%rdi,8)
movq -0x50(%rbp), %rbx
movl -0x3c(%rbp), %r9d
je 0x5acef
movq -0x30(%rbp), %rcx
andl $0x0, 0x3c(%rcx)
andb $-0x2, 0x50(%rcx)
movq -0x48(%rbp), %rcx
incq %rdi
addq $0xc, %rax
jmp 0x5ab14
incl %edx
movw %dx, 0x2c(%r12)
movq -0x30(%rbp), %rcx
movl 0x28(%rcx), %eax
movl %eax, 0x18(%r12)
movb 0x38(%rcx), %al
movb %al, 0x1c(%r12)
andl $0x0, 0x38(%rcx)
movq 0x30(%rcx), %rax
movq %rax, 0x20(%r12)
cmpl $0x0, 0x3c(%rcx)
je 0x5ac1d
movb 0x10(%rcx), %al
jmp 0x5ac1f
xorl %eax, %eax
movb %al, 0x1d(%r12)
andw $0x0, 0x12(%r12)
movsd 0x40(%rcx), %xmm0
movsd 0x112c0(%rip), %xmm1    # 0x6bef8
ucomisd %xmm0, %xmm1
jae 0x5ac5f
movsd 0x112c2(%rip), %xmm1    # 0x6bf08
ucomisd %xmm0, %xmm1
jae 0x5ac63
movq %xmm0, %rax
shrq $0x34, %rax
imull $0xa, %eax, %eax
addl $0xffffd814, %eax       # imm = 0xFFFFD814
jmp 0x5ac8b
xorl %eax, %eax
jmp 0x5ac8b
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x11251(%rip), %xmm0    # 0x6bec8
cvttsd2si %xmm0, %rdi
andq %rcx, %rdi
orq %rax, %rdi
callq 0x364ed
movq -0x30(%rbp), %rcx
movw %ax, 0x14(%r12)
movq 0x48(%rcx), %rdi
callq 0x364ed
movw %ax, 0x16(%r12)
movq -0x30(%rbp), %rax
movl 0x50(%rax), %eax
movl 0x28(%r12), %ecx
movl $0xffffefff, %edx       # imm = 0xFFFFEFFF
andl %edx, %ecx
andl $0x1, %eax
shll $0xc, %eax
orl %ecx, %eax
movl %eax, 0x28(%r12)
movq -0x98(%rbp), %rdi
movq %r12, %rsi
callq 0x5b776
cmpb $0x0, 0x1c(%r12)
movl -0x3c(%rbp), %r9d
je 0x5acef
movq 0x20(%r12), %rdi
callq 0xa828
movl -0x3c(%rbp), %r9d
movb $0x0, 0x1c(%r12)
incl %r15d
movq -0x30(%rbp), %rdx
jmp 0x5a8a4
movq -0x80(%rbp), %rax
movq (%rax), %rdx
leaq 0x13d15(%rip), %rsi     # 0x6ea1e
movq -0x38(%rbp), %rdi
xorl %eax, %eax
callq 0x1357a
pushq $0x1
popq %r12
movq -0x30(%rbp), %rdx
cmpl $0x0, 0x38(%rdx)
je 0x5ad31
movq -0x90(%rbp), %rax
movq (%rax), %rdi
callq 0xa828
movq -0x70(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0xb856
movl %r12d, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r12d, %r12d
jmp 0x5ad1c