// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: sqlite3WhereEnd
SQLITE_PRIVATE void sqlite3WhereEnd(WhereInfo *pWInfo){
  Parse *pParse = pWInfo->pParse;
  Vdbe *v = pParse->pVdbe;
  int i;
  WhereLevel *pLevel;
  WhereLoop *pLoop;
  SrcList *pTabList = pWInfo->pTabList;
  sqlite3 *db = pParse->db;

  /* Generate loop termination code.
  */
  VdbeModuleComment((v, "End WHERE-core"));
  for(i=pWInfo->nLevel-1; i>=0; i--){
    int addr;
    pLevel = &pWInfo->a[i];
    pLoop = pLevel->pWLoop;
    if( pLevel->op!=OP_Noop ){
#ifndef SQLITE_DISABLE_SKIPAHEAD_DISTINCT
      int addrSeek = 0;
      Index *pIdx;
      int n;
      if( pWInfo->eDistinct==WHERE_DISTINCT_ORDERED
       && i==pWInfo->nLevel-1  /* Ticket [ef9318757b152e3] 2017-10-21 */
       && (pLoop->wsFlags & WHERE_INDEXED)!=0
       && (pIdx = pLoop->u.btree.pIndex)->hasStat1
       && (n = pLoop->u.btree.nDistinctCol)>0
       && pIdx->aiRowLogEst[n]>=36
      ){
        int r1 = pParse->nMem+1;
        int j, op;
        for(j=0; j<n; j++){
          sqlite3VdbeAddOp3(v, OP_Column, pLevel->iIdxCur, j, r1+j);
        }
        pParse->nMem += n+1;
        op = pLevel->op==OP_Prev ? OP_SeekLT : OP_SeekGT;
        addrSeek = sqlite3VdbeAddOp4Int(v, op, pLevel->iIdxCur, 0, r1, n);
        VdbeCoverageIf(v, op==OP_SeekLT);
        VdbeCoverageIf(v, op==OP_SeekGT);
        sqlite3VdbeAddOp2(v, OP_Goto, 1, pLevel->p2);
      }
#endif /* SQLITE_DISABLE_SKIPAHEAD_DISTINCT */
      /* The common case: Advance to the next row */
      sqlite3VdbeResolveLabel(v, pLevel->addrCont);
      sqlite3VdbeAddOp3(v, pLevel->op, pLevel->p1, pLevel->p2, pLevel->p3);
      sqlite3VdbeChangeP5(v, pLevel->p5);
      VdbeCoverage(v);
      VdbeCoverageIf(v, pLevel->op==OP_Next);
      VdbeCoverageIf(v, pLevel->op==OP_Prev);
      VdbeCoverageIf(v, pLevel->op==OP_VNext);
      if( pLevel->regBignull ){
        sqlite3VdbeResolveLabel(v, pLevel->addrBignull);
        sqlite3VdbeAddOp2(v, OP_DecrJumpZero, pLevel->regBignull, pLevel->p2-1);
        VdbeCoverage(v);
      }
#ifndef SQLITE_DISABLE_SKIPAHEAD_DISTINCT
      if( addrSeek ) sqlite3VdbeJumpHere(v, addrSeek);
#endif
    }else{
      sqlite3VdbeResolveLabel(v, pLevel->addrCont);
    }
    if( pLoop->wsFlags & WHERE_IN_ABLE && pLevel->u.in.nIn>0 ){
      struct InLoop *pIn;
      int j;
      sqlite3VdbeResolveLabel(v, pLevel->addrNxt);
      for(j=pLevel->u.in.nIn, pIn=&pLevel->u.in.aInLoop[j-1]; j>0; j--, pIn--){
        sqlite3VdbeJumpHere(v, pIn->addrInTop+1);
        if( pIn->eEndLoopOp!=OP_Noop ){
          if( pIn->nPrefix ){
            assert( pLoop->wsFlags & WHERE_IN_EARLYOUT );
            if( pLevel->iLeftJoin ){
              /* For LEFT JOIN queries, cursor pIn->iCur may not have been
              ** opened yet. This occurs for WHERE clauses such as
              ** "a = ? AND b IN (...)", where the index is on (a, b). If
              ** the RHS of the (a=?) is NULL, then the "b IN (...)" may
              ** never have been coded, but the body of the loop run to
              ** return the null-row. So, if the cursor is not open yet,
              ** jump over the OP_Next or OP_Prev instruction about to
              ** be coded.  */
              sqlite3VdbeAddOp2(v, OP_IfNotOpen, pIn->iCur,
                  sqlite3VdbeCurrentAddr(v) + 2 +
                     ((pLoop->wsFlags & WHERE_VIRTUALTABLE)==0)
              );
              VdbeCoverage(v);
            }
            if( (pLoop->wsFlags & WHERE_VIRTUALTABLE)==0 ){
              sqlite3VdbeAddOp4Int(v, OP_IfNoHope, pLevel->iIdxCur,
                  sqlite3VdbeCurrentAddr(v)+2,
                  pIn->iBase, pIn->nPrefix);
              VdbeCoverage(v);
            }
          }
          sqlite3VdbeAddOp2(v, pIn->eEndLoopOp, pIn->iCur, pIn->addrInTop);
          VdbeCoverage(v);
          VdbeCoverageIf(v, pIn->eEndLoopOp==OP_Prev);
          VdbeCoverageIf(v, pIn->eEndLoopOp==OP_Next);
        }
        sqlite3VdbeJumpHere(v, pIn->addrInTop-1);
      }
    }
    sqlite3VdbeResolveLabel(v, pLevel->addrBrk);
    if( pLevel->addrSkip ){
      sqlite3VdbeGoto(v, pLevel->addrSkip);
      VdbeComment((v, "next skip-scan on %s", pLoop->u.btree.pIndex->zName));
      sqlite3VdbeJumpHere(v, pLevel->addrSkip);
      sqlite3VdbeJumpHere(v, pLevel->addrSkip-2);
    }
#ifndef SQLITE_LIKE_DOESNT_MATCH_BLOBS
    if( pLevel->addrLikeRep ){
      sqlite3VdbeAddOp2(v, OP_DecrJumpZero, (int)(pLevel->iLikeRepCntr>>1),
                        pLevel->addrLikeRep);
      VdbeCoverage(v);
    }
#endif
    if( pLevel->iLeftJoin ){
      int ws = pLoop->wsFlags;
      addr = sqlite3VdbeAddOp1(v, OP_IfPos, pLevel->iLeftJoin); VdbeCoverage(v);
      assert( (ws & WHERE_IDX_ONLY)==0 || (ws & WHERE_INDEXED)!=0 );
      if( (ws & WHERE_IDX_ONLY)==0 ){
        assert( pLevel->iTabCur==pTabList->a[pLevel->iFrom].iCursor );
        sqlite3VdbeAddOp1(v, OP_NullRow, pLevel->iTabCur);
      }
      if( (ws & WHERE_INDEXED)
       || ((ws & WHERE_MULTI_OR) && pLevel->u.pCovidx)
      ){
        sqlite3VdbeAddOp1(v, OP_NullRow, pLevel->iIdxCur);
      }
      if( pLevel->op==OP_Return ){
        sqlite3VdbeAddOp2(v, OP_Gosub, pLevel->p1, pLevel->addrFirst);
      }else{
        sqlite3VdbeGoto(v, pLevel->addrFirst);
      }
      sqlite3VdbeJumpHere(v, addr);
    }
    VdbeModuleComment((v, "End WHERE-loop%d: %s", i,
                     pWInfo->pTabList->a[pLevel->iFrom].pTab->zName));
  }

  /* The "break" point is here, just past the end of the outer loop.
  ** Set it.
  */
  sqlite3VdbeResolveLabel(v, pWInfo->iBreak);

  assert( pWInfo->nLevel<=pTabList->nSrc );
  for(i=0, pLevel=pWInfo->a; i<pWInfo->nLevel; i++, pLevel++){
    int k, last;
    VdbeOp *pOp;
    Index *pIdx = 0;
    struct SrcList_item *pTabItem = &pTabList->a[pLevel->iFrom];
    Table *pTab = pTabItem->pTab;
    assert( pTab!=0 );
    pLoop = pLevel->pWLoop;

    /* For a co-routine, change all OP_Column references to the table of
    ** the co-routine into OP_Copy of result contained in a register.
    ** OP_Rowid becomes OP_Null.
    */
    if( pTabItem->fg.viaCoroutine ){
      testcase( pParse->db->mallocFailed );
      translateColumnToCopy(pParse, pLevel->addrBody, pLevel->iTabCur,
                            pTabItem->regResult, 0);
      continue;
    }

#ifdef SQLITE_ENABLE_EARLY_CURSOR_CLOSE
    /* Close all of the cursors that were opened by sqlite3WhereBegin.
    ** Except, do not close cursors that will be reused by the OR optimization
    ** (WHERE_OR_SUBCLAUSE).  And do not close the OP_OpenWrite cursors
    ** created for the ONEPASS optimization.
    */
    if( (pTab->tabFlags & TF_Ephemeral)==0
     && pTab->pSelect==0
     && (pWInfo->wctrlFlags & WHERE_OR_SUBCLAUSE)==0
    ){
      int ws = pLoop->wsFlags;
      if( pWInfo->eOnePass==ONEPASS_OFF && (ws & WHERE_IDX_ONLY)==0 ){
        sqlite3VdbeAddOp1(v, OP_Close, pTabItem->iCursor);
      }
      if( (ws & WHERE_INDEXED)!=0
       && (ws & (WHERE_IPK|WHERE_AUTO_INDEX))==0
       && pLevel->iIdxCur!=pWInfo->aiCurOnePass[1]
      ){
        sqlite3VdbeAddOp1(v, OP_Close, pLevel->iIdxCur);
      }
    }
#endif

    /* If this scan uses an index, make VDBE code substitutions to read data
    ** from the index instead of from the table where possible.  In some cases
    ** this optimization prevents the table from ever being read, which can
    ** yield a significant performance boost.
    **
    ** Calls to the code generator in between sqlite3WhereBegin and
    ** sqlite3WhereEnd will have created code that references the table
    ** directly.  This loop scans all that code looking for opcodes
    ** that reference the table and converts them into opcodes that
    ** reference the index.
    */
    if( pLoop->wsFlags & (WHERE_INDEXED|WHERE_IDX_ONLY) ){
      pIdx = pLoop->u.btree.pIndex;
    }else if( pLoop->wsFlags & WHERE_MULTI_OR ){
      pIdx = pLevel->u.pCovidx;
    }
    if( pIdx
     && (pWInfo->eOnePass==ONEPASS_OFF || !HasRowid(pIdx->pTable))
     && !db->mallocFailed
    ){
      last = sqlite3VdbeCurrentAddr(v);
      k = pLevel->addrBody;
#ifdef SQLITE_DEBUG
      if( db->flags & SQLITE_VdbeAddopTrace ){
        printf("TRANSLATE opcodes in range %d..%d\n", k, last-1);
      }
#endif
      pOp = sqlite3VdbeGetOp(v, k);
      for(; k<last; k++, pOp++){
        if( pOp->p1!=pLevel->iTabCur ) continue;
        if( pOp->opcode==OP_Column
#ifdef SQLITE_ENABLE_OFFSET_SQL_FUNC
         || pOp->opcode==OP_Offset
#endif
        ){
          int x = pOp->p2;
          assert( pIdx->pTable==pTab );
          if( !HasRowid(pTab) ){
            Index *pPk = sqlite3PrimaryKeyIndex(pTab);
            x = pPk->aiColumn[x];
            assert( x>=0 );
          }else{
            testcase( x!=sqlite3StorageColumnToTable(pTab,x) );
            x = sqlite3StorageColumnToTable(pTab,x);
          }
          x = sqlite3TableColumnToIndex(pIdx, x);
          if( x>=0 ){
            pOp->p2 = x;
            pOp->p1 = pLevel->iIdxCur;
            OpcodeRewriteTrace(db, k, pOp);
          }
          assert( (pLoop->wsFlags & WHERE_IDX_ONLY)==0 || x>=0
              || pWInfo->eOnePass );
        }else if( pOp->opcode==OP_Rowid ){
          pOp->p1 = pLevel->iIdxCur;
          pOp->opcode = OP_IdxRowid;
          OpcodeRewriteTrace(db, k, pOp);
        }else if( pOp->opcode==OP_IfNullRow ){
          pOp->p1 = pLevel->iIdxCur;
          OpcodeRewriteTrace(db, k, pOp);
        }
      }
#ifdef SQLITE_DEBUG
      if( db->flags & SQLITE_VdbeAddopTrace ) printf("TRANSLATE complete\n");
#endif
    }
  }

  /* Undo all Expr node modifications */
  while( pWInfo->pExprMods ){
    WhereExprMod *p = pWInfo->pExprMods;
    pWInfo->pExprMods = p->pNext;
    memcpy(p->pExpr, &p->orig, sizeof(p->orig));
    sqlite3DbFree(db, p);
  }

  /* Final cleanup
  */
  pParse->nQueryLoop = pWInfo->savedNQueryLoop;
  whereInfoFree(db, pWInfo);
  return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x40(%rbp)
movq -0x8(%rbp), %rax
movzbl 0x40(%rax), %eax
subl $0x1, %eax
movl %eax, -0x1c(%rbp)
cmpl $0x0, -0x1c(%rbp)
jl 0x44468c
movq -0x8(%rbp), %rax
addq $0x398, %rax            # imm = 0x398
movslq -0x1c(%rbp), %rcx
imulq $0x60, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq 0x50(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x28(%rbp), %rax
movzbl 0x35(%rax), %eax
cmpl $0xad, %eax
je 0x444386
movl $0x0, -0x48(%rbp)
movq -0x8(%rbp), %rax
movzbl 0x43(%rax), %eax
cmpl $0x2, %eax
jne 0x4442ed
movl -0x1c(%rbp), %eax
movq -0x8(%rbp), %rcx
movzbl 0x40(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x4442ed
movq -0x30(%rbp), %rax
movl 0x28(%rax), %eax
andl $0x200, %eax            # imm = 0x200
cmpl $0x0, %eax
je 0x4442ed
movq -0x30(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x50(%rbp)
movw 0x63(%rax), %ax
shrw $0x7, %ax
andw $0x1, %ax
movzwl %ax, %eax
cmpl $0x0, %eax
je 0x4442ed
movq -0x30(%rbp), %rax
movzwl 0x1e(%rax), %eax
movl %eax, -0x54(%rbp)
cmpl $0x0, %eax
jle 0x4442ed
movq -0x50(%rbp), %rax
movq 0x10(%rax), %rax
movslq -0x54(%rbp), %rcx
movswl (%rax,%rcx,2), %eax
cmpl $0x24, %eax
jl 0x4442ed
movq -0x10(%rbp), %rax
movl 0x38(%rax), %eax
addl $0x1, %eax
movl %eax, -0x58(%rbp)
movl $0x0, -0x5c(%rbp)
movl -0x5c(%rbp), %eax
cmpl -0x54(%rbp), %eax
jge 0x444288
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movl 0x8(%rax), %edx
movl -0x5c(%rbp), %ecx
movl -0x58(%rbp), %r8d
addl -0x5c(%rbp), %r8d
movl $0x59, %esi
callq 0x410130
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0x444255
movl -0x54(%rbp), %ecx
addl $0x1, %ecx
movq -0x10(%rbp), %rax
addl 0x38(%rax), %ecx
movl %ecx, 0x38(%rax)
movq -0x28(%rbp), %rax
movzbl 0x35(%rax), %edx
movl $0x19, %eax
movl $0x16, %ecx
cmpl $0x4, %edx
cmovel %ecx, %eax
movl %eax, -0x60(%rbp)
movq -0x18(%rbp), %rdi
movl -0x60(%rbp), %esi
movq -0x28(%rbp), %rax
movl 0x8(%rax), %edx
movl -0x58(%rbp), %r8d
movl -0x54(%rbp), %r9d
xorl %ecx, %ecx
callq 0x3cb970
movl %eax, -0x48(%rbp)
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movl 0x3c(%rax), %ecx
movl $0xb, %esi
movl $0x1, %edx
callq 0x410100
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movl 0x18(%rax), %esi
callq 0x42dc90
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movzbl 0x35(%rax), %esi
movq -0x28(%rbp), %rax
movl 0x38(%rax), %edx
movq -0x28(%rbp), %rax
movl 0x3c(%rax), %ecx
movq -0x28(%rbp), %rax
movzbl 0x36(%rax), %r8d
callq 0x410130
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movzbl 0x37(%rax), %eax
movzwl %ax, %esi
callq 0x3cb9f0
movq -0x28(%rbp), %rax
cmpl $0x0, 0x24(%rax)
je 0x444372
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movl 0x28(%rax), %esi
callq 0x42dc90
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movl 0x24(%rax), %edx
movq -0x28(%rbp), %rax
movl 0x3c(%rax), %ecx
subl $0x1, %ecx
movl $0x3b, %esi
callq 0x410100
cmpl $0x0, -0x48(%rbp)
je 0x444384
movq -0x18(%rbp), %rdi
movl -0x48(%rbp), %esi
callq 0x429a70
jmp 0x444396
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movl 0x18(%rax), %esi
callq 0x42dc90
movq -0x30(%rbp), %rax
movl 0x28(%rax), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
je 0x444538
movq -0x28(%rbp), %rax
cmpl $0x0, 0x40(%rax)
jle 0x444538
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movl 0x10(%rax), %esi
callq 0x42dc90
movq -0x28(%rbp), %rax
movl 0x40(%rax), %eax
movl %eax, -0x6c(%rbp)
movq -0x28(%rbp), %rax
movq 0x48(%rax), %rax
movl -0x6c(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
imulq $0x14, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x68(%rbp)
cmpl $0x0, -0x6c(%rbp)
jle 0x444536
movq -0x18(%rbp), %rdi
movq -0x68(%rbp), %rax
movl 0x4(%rax), %esi
addl $0x1, %esi
callq 0x429a70
movq -0x68(%rbp), %rax
movzbl 0x10(%rax), %eax
cmpl $0xad, %eax
je 0x444509
movq -0x68(%rbp), %rax
cmpl $0x0, 0xc(%rax)
je 0x4444eb
movq -0x28(%rbp), %rax
cmpl $0x0, (%rax)
je 0x44448b
movq -0x18(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x68(%rbp), %rax
movl (%rax), %eax
movl %eax, -0xb4(%rbp)
movq -0x18(%rbp), %rdi
callq 0x430ae0
movq -0xc0(%rbp), %rdi
movl -0xb4(%rbp), %edx
movl %eax, %ecx
addl $0x2, %ecx
movq -0x30(%rbp), %rax
movl 0x28(%rax), %eax
andl $0x400, %eax            # imm = 0x400
cmpl $0x0, %eax
sete %al
andb $0x1, %al
movzbl %al, %eax
addl %eax, %ecx
movl $0x1a, %esi
callq 0x410100
movq -0x30(%rbp), %rax
movl 0x28(%rax), %eax
andl $0x400, %eax            # imm = 0x400
cmpl $0x0, %eax
jne 0x4444e9
movq -0x18(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x28(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0xc4(%rbp)
movq -0x18(%rbp), %rdi
callq 0x430ae0
movq -0xd0(%rbp), %rdi
movl -0xc4(%rbp), %edx
movl %eax, %ecx
addl $0x2, %ecx
movq -0x68(%rbp), %rax
movl 0x8(%rax), %r8d
movq -0x68(%rbp), %rax
movl 0xc(%rax), %r9d
movl $0x1b, %esi
callq 0x3cb970
jmp 0x4444eb
movq -0x18(%rbp), %rdi
movq -0x68(%rbp), %rax
movzbl 0x10(%rax), %esi
movq -0x68(%rbp), %rax
movl (%rax), %edx
movq -0x68(%rbp), %rax
movl 0x4(%rax), %ecx
callq 0x410100
movq -0x18(%rbp), %rdi
movq -0x68(%rbp), %rax
movl 0x4(%rax), %esi
subl $0x1, %esi
callq 0x429a70
movl -0x6c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x6c(%rbp)
movq -0x68(%rbp), %rax
addq $-0x14, %rax
movq %rax, -0x68(%rbp)
jmp 0x4443ef
jmp 0x444538
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movl 0xc(%rax), %esi
callq 0x42dc90
movq -0x28(%rbp), %rax
cmpl $0x0, 0x14(%rax)
je 0x444585
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movl 0x14(%rax), %esi
callq 0x429db0
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movl 0x14(%rax), %esi
callq 0x429a70
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movl 0x14(%rax), %esi
subl $0x2, %esi
callq 0x429a70
movq -0x28(%rbp), %rax
cmpl $0x0, 0x30(%rax)
je 0x4445ad
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movl 0x2c(%rax), %edx
shrl %edx
movq -0x28(%rbp), %rax
movl 0x30(%rax), %ecx
movl $0x3b, %esi
callq 0x410100
movq -0x28(%rbp), %rax
cmpl $0x0, (%rax)
je 0x44467c
movq -0x30(%rbp), %rax
movl 0x28(%rax), %eax
movl %eax, -0x70(%rbp)
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movl (%rax), %edx
movl $0x30, %esi
callq 0x42ba70
movl %eax, -0x44(%rbp)
movl -0x70(%rbp), %eax
andl $0x40, %eax
cmpl $0x0, %eax
jne 0x4445fb
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movl 0x4(%rax), %edx
movl $0x80, %esi
callq 0x42ba70
movl -0x70(%rbp), %eax
andl $0x200, %eax            # imm = 0x200
cmpl $0x0, %eax
jne 0x444620
movl -0x70(%rbp), %eax
andl $0x2000, %eax           # imm = 0x2000
cmpl $0x0, %eax
je 0x444635
movq -0x28(%rbp), %rax
cmpq $0x0, 0x40(%rax)
je 0x444635
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movl 0x8(%rax), %edx
movl $0x80, %esi
callq 0x42ba70
movq -0x28(%rbp), %rax
movzbl 0x35(%rax), %eax
cmpl $0x41, %eax
jne 0x444660
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movl 0x38(%rax), %edx
movq -0x28(%rbp), %rax
movl 0x1c(%rax), %ecx
movl $0xc, %esi
callq 0x410100
jmp 0x444670
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rax
movl 0x1c(%rax), %esi
callq 0x429db0
movq -0x18(%rbp), %rdi
movl -0x44(%rbp), %esi
callq 0x429a70
jmp 0x44467e
movl -0x1c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x44416b
movq -0x18(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x34(%rax), %esi
callq 0x42dc90
movl $0x0, -0x1c(%rbp)
movq -0x8(%rbp), %rax
addq $0x398, %rax            # imm = 0x398
movq %rax, -0x28(%rbp)
movl -0x1c(%rbp), %eax
movq -0x8(%rbp), %rcx
movzbl 0x40(%rcx), %ecx
cmpl %ecx, %eax
jge 0x444956
movq $0x0, -0x88(%rbp)
movq -0x38(%rbp), %rax
addq $0x8, %rax
movq -0x28(%rbp), %rcx
movzbl 0x34(%rcx), %ecx
imulq $0x70, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x98(%rbp)
movq -0x28(%rbp), %rax
movq 0x50(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x90(%rbp), %rax
movb 0x3d(%rax), %al
shrb $0x4, %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
je 0x44474b
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rax
movl 0x20(%rax), %esi
movq -0x28(%rbp), %rax
movl 0x4(%rax), %edx
movq -0x90(%rbp), %rax
movl 0x38(%rax), %ecx
xorl %r8d, %r8d
callq 0x455bd0
jmp 0x44493c
movq -0x30(%rbp), %rax
movl 0x28(%rax), %eax
andl $0x240, %eax            # imm = 0x240
cmpl $0x0, %eax
je 0x44476d
movq -0x30(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x88(%rbp)
jmp 0x44478f
movq -0x30(%rbp), %rax
movl 0x28(%rax), %eax
andl $0x2000, %eax           # imm = 0x2000
cmpl $0x0, %eax
je 0x44478d
movq -0x28(%rbp), %rax
movq 0x40(%rax), %rax
movq %rax, -0x88(%rbp)
jmp 0x44478f
cmpq $0x0, -0x88(%rbp)
je 0x44493a
movq -0x8(%rbp), %rax
movzbl 0x42(%rax), %eax
cmpl $0x0, %eax
je 0x4447c6
movq -0x88(%rbp), %rax
movq 0x18(%rax), %rax
movl 0x40(%rax), %eax
andl $0x80, %eax
cmpl $0x0, %eax
je 0x44493a
movq -0x40(%rbp), %rax
cmpb $0x0, 0x61(%rax)
jne 0x44493a
movq -0x18(%rbp), %rdi
callq 0x430ae0
movl %eax, -0x78(%rbp)
movq -0x28(%rbp), %rax
movl 0x20(%rax), %eax
movl %eax, -0x74(%rbp)
movq -0x18(%rbp), %rdi
movl -0x74(%rbp), %esi
callq 0x429e10
movq %rax, -0x80(%rbp)
movl -0x74(%rbp), %eax
cmpl -0x78(%rbp), %eax
jge 0x444938
movq -0x80(%rbp), %rax
movl 0x4(%rax), %eax
movq -0x28(%rbp), %rcx
cmpl 0x4(%rcx), %eax
je 0x44481b
jmp 0x44491e
movq -0x80(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x59, %eax
jne 0x4448db
movq -0x80(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x9c(%rbp)
movq -0x98(%rbp), %rax
movl 0x40(%rax), %eax
andl $0x80, %eax
cmpl $0x0, %eax
je 0x44487d
movq -0x98(%rbp), %rdi
callq 0x3cef20
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
movq 0x8(%rax), %rax
movslq -0x9c(%rbp), %rcx
movswl (%rax,%rcx,2), %eax
movl %eax, -0x9c(%rbp)
jmp 0x444899
movq -0x98(%rbp), %rdi
movl -0x9c(%rbp), %eax
movswl %ax, %esi
callq 0x4598d0
cwtl
movl %eax, -0x9c(%rbp)
movq -0x88(%rbp), %rdi
movl -0x9c(%rbp), %eax
movswl %ax, %esi
callq 0x42e800
cwtl
movl %eax, -0x9c(%rbp)
cmpl $0x0, -0x9c(%rbp)
jl 0x4448d9
movl -0x9c(%rbp), %ecx
movq -0x80(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x28(%rbp), %rax
movl 0x8(%rax), %ecx
movq -0x80(%rbp), %rax
movl %ecx, 0x4(%rax)
jmp 0x44491c
movq -0x80(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x7f, %eax
jne 0x4448fe
movq -0x28(%rbp), %rax
movl 0x8(%rax), %ecx
movq -0x80(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x80(%rbp), %rax
movb $-0x7a, (%rax)
jmp 0x44491a
movq -0x80(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x15, %eax
jne 0x444918
movq -0x28(%rbp), %rax
movl 0x8(%rax), %ecx
movq -0x80(%rbp), %rax
movl %ecx, 0x4(%rax)
jmp 0x44491a
jmp 0x44491c
jmp 0x44491e
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
movq -0x80(%rbp), %rax
addq $0x18, %rax
movq %rax, -0x80(%rbp)
jmp 0x4447fa
jmp 0x44493a
jmp 0x44493c
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
movq -0x28(%rbp), %rax
addq $0x60, %rax
movq %rax, -0x28(%rbp)
jmp 0x4446b1
jmp 0x444958
movq -0x8(%rbp), %rax
cmpq $0x0, 0x58(%rax)
je 0x4449b6
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rax
movq (%rax), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x58(%rax)
movq -0xb0(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0xb0(%rbp), %rsi
addq $0x10, %rsi
movl $0x48, %edx
callq 0x19610
movq -0x40(%rbp), %rdi
movq -0xb0(%rbp), %rsi
callq 0x3c00a0
jmp 0x444958
movq -0x8(%rbp), %rax
movl 0x38(%rax), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0xc4(%rax)
movq -0x40(%rbp), %rdi
movq -0x8(%rbp), %rsi
callq 0x44d380
addq $0xd0, %rsp
popq %rbp
retq
nopl (%rax)