// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: sqlite3ExprCodeIN
static void sqlite3ExprCodeIN(
  Parse *pParse,        /* Parsing and code generating context */
  Expr *pExpr,          /* The IN expression */
  int destIfFalse,      /* Jump here if LHS is not contained in the RHS */
  int destIfNull        /* Jump here if the results are unknown due to NULLs */
){
  int rRhsHasNull = 0;  /* Register that is true if RHS contains NULL values */
  int eType;            /* Type of the RHS */
  int rLhs;             /* Register(s) holding the LHS values */
  int rLhsOrig;         /* LHS values prior to reordering by aiMap[] */
  Vdbe *v;              /* Statement under construction */
  int *aiMap = 0;       /* Map from vector field to index column */
  char *zAff = 0;       /* Affinity string for comparisons */
  int nVector;          /* Size of vectors for this IN operator */
  int iDummy;           /* Dummy parameter to exprCodeVector() */
  Expr *pLeft;          /* The LHS of the IN operator */
  int i;                /* loop counter */
  int destStep2;        /* Where to jump when NULLs seen in step 2 */
  int destStep6 = 0;    /* Start of code for Step 6 */
  int addrTruthOp;      /* Address of opcode that determines the IN is true */
  int destNotNull;      /* Jump here if a comparison is not true in step 6 */
  int addrTop;          /* Top of the step-6 loop */
  int iTab = 0;         /* Index to use */
  u8 okConstFactor = pParse->okConstFactor;

  assert( !ExprHasVVAProperty(pExpr,EP_Immutable) );
  pLeft = pExpr->pLeft;
  if( sqlite3ExprCheckIN(pParse, pExpr) ) return;
  zAff = exprINAffinity(pParse, pExpr);
  nVector = sqlite3ExprVectorSize(pExpr->pLeft);
  aiMap = (int*)sqlite3DbMallocZero(
      pParse->db, nVector*(sizeof(int) + sizeof(char)) + 1
  );
  if( pParse->db->mallocFailed ) goto sqlite3ExprCodeIN_oom_error;

  /* Attempt to compute the RHS. After this step, if anything other than
  ** IN_INDEX_NOOP is returned, the table opened with cursor iTab
  ** contains the values that make up the RHS. If IN_INDEX_NOOP is returned,
  ** the RHS has not yet been coded.  */
  v = pParse->pVdbe;
  assert( v!=0 );       /* OOM detected prior to this routine */
  VdbeNoopComment((v, "begin IN expr"));
  eType = sqlite3FindInIndex(pParse, pExpr,
                             IN_INDEX_MEMBERSHIP | IN_INDEX_NOOP_OK,
                             destIfFalse==destIfNull ? 0 : &rRhsHasNull,
                             aiMap, &iTab);

  assert( pParse->nErr || nVector==1 || eType==IN_INDEX_EPH
       || eType==IN_INDEX_INDEX_ASC || eType==IN_INDEX_INDEX_DESC
  );
#ifdef SQLITE_DEBUG
  /* Confirm that aiMap[] contains nVector integer values between 0 and
  ** nVector-1. */
  for(i=0; i<nVector; i++){
    int j, cnt;
    for(cnt=j=0; j<nVector; j++) if( aiMap[j]==i ) cnt++;
    assert( cnt==1 );
  }
#endif

  /* Code the LHS, the <expr> from "<expr> IN (...)". If the LHS is a
  ** vector, then it is stored in an array of nVector registers starting
  ** at r1.
  **
  ** sqlite3FindInIndex() might have reordered the fields of the LHS vector
  ** so that the fields are in the same order as an existing index.   The
  ** aiMap[] array contains a mapping from the original LHS field order to
  ** the field order that matches the RHS index.
  **
  ** Avoid factoring the LHS of the IN(...) expression out of the loop,
  ** even if it is constant, as OP_Affinity may be used on the register
  ** by code generated below.  */
  assert( pParse->okConstFactor==okConstFactor );
  pParse->okConstFactor = 0;
  rLhsOrig = exprCodeVector(pParse, pLeft, &iDummy);
  pParse->okConstFactor = okConstFactor;
  for(i=0; i<nVector && aiMap[i]==i; i++){} /* Are LHS fields reordered? */
  if( i==nVector ){
    /* LHS fields are not reordered */
    rLhs = rLhsOrig;
  }else{
    /* Need to reorder the LHS fields according to aiMap */
    rLhs = sqlite3GetTempRange(pParse, nVector);
    for(i=0; i<nVector; i++){
      sqlite3VdbeAddOp3(v, OP_Copy, rLhsOrig+i, rLhs+aiMap[i], 0);
    }
  }

  /* If sqlite3FindInIndex() did not find or create an index that is
  ** suitable for evaluating the IN operator, then evaluate using a
  ** sequence of comparisons.
  **
  ** This is step (1) in the in-operator.md optimized algorithm.
  */
  if( eType==IN_INDEX_NOOP ){
    ExprList *pList = pExpr->x.pList;
    CollSeq *pColl = sqlite3ExprCollSeq(pParse, pExpr->pLeft);
    int labelOk = sqlite3VdbeMakeLabel(pParse);
    int r2, regToFree;
    int regCkNull = 0;
    int ii;
    assert( !ExprHasProperty(pExpr, EP_xIsSelect) );
    if( destIfNull!=destIfFalse ){
      regCkNull = sqlite3GetTempReg(pParse);
      sqlite3VdbeAddOp3(v, OP_BitAnd, rLhs, rLhs, regCkNull);
    }
    for(ii=0; ii<pList->nExpr; ii++){
      r2 = sqlite3ExprCodeTemp(pParse, pList->a[ii].pExpr, &regToFree);
      if( regCkNull && sqlite3ExprCanBeNull(pList->a[ii].pExpr) ){
        sqlite3VdbeAddOp3(v, OP_BitAnd, regCkNull, r2, regCkNull);
      }
      sqlite3ReleaseTempReg(pParse, regToFree);
      if( ii<pList->nExpr-1 || destIfNull!=destIfFalse ){
        int op = rLhs!=r2 ? OP_Eq : OP_NotNull;
        sqlite3VdbeAddOp4(v, op, rLhs, labelOk, r2,
                          (void*)pColl, P4_COLLSEQ);
        VdbeCoverageIf(v, ii<pList->nExpr-1 && op==OP_Eq);
        VdbeCoverageIf(v, ii==pList->nExpr-1 && op==OP_Eq);
        VdbeCoverageIf(v, ii<pList->nExpr-1 && op==OP_NotNull);
        VdbeCoverageIf(v, ii==pList->nExpr-1 && op==OP_NotNull);
        sqlite3VdbeChangeP5(v, zAff[0]);
      }else{
        int op = rLhs!=r2 ? OP_Ne : OP_IsNull;
        assert( destIfNull==destIfFalse );
        sqlite3VdbeAddOp4(v, op, rLhs, destIfFalse, r2,
                          (void*)pColl, P4_COLLSEQ);
        VdbeCoverageIf(v, op==OP_Ne);
        VdbeCoverageIf(v, op==OP_IsNull);
        sqlite3VdbeChangeP5(v, zAff[0] | SQLITE_JUMPIFNULL);
      }
    }
    if( regCkNull ){
      sqlite3VdbeAddOp2(v, OP_IsNull, regCkNull, destIfNull); VdbeCoverage(v);
      sqlite3VdbeGoto(v, destIfFalse);
    }
    sqlite3VdbeResolveLabel(v, labelOk);
    sqlite3ReleaseTempReg(pParse, regCkNull);
    goto sqlite3ExprCodeIN_finished;
  }

  /* Step 2: Check to see if the LHS contains any NULL columns.  If the
  ** LHS does contain NULLs then the result must be either FALSE or NULL.
  ** We will then skip the binary search of the RHS.
  */
  if( destIfNull==destIfFalse ){
    destStep2 = destIfFalse;
  }else{
    destStep2 = destStep6 = sqlite3VdbeMakeLabel(pParse);
  }
  if( pParse->nErr ) goto sqlite3ExprCodeIN_finished;
  for(i=0; i<nVector; i++){
    Expr *p = sqlite3VectorFieldSubexpr(pExpr->pLeft, i);
    if( sqlite3ExprCanBeNull(p) ){
      sqlite3VdbeAddOp2(v, OP_IsNull, rLhs+i, destStep2);
      VdbeCoverage(v);
    }
  }

  /* Step 3.  The LHS is now known to be non-NULL.  Do the binary search
  ** of the RHS using the LHS as a probe.  If found, the result is
  ** true.
  */
  if( eType==IN_INDEX_ROWID ){
    /* In this case, the RHS is the ROWID of table b-tree and so we also
    ** know that the RHS is non-NULL.  Hence, we combine steps 3 and 4
    ** into a single opcode. */
    sqlite3VdbeAddOp3(v, OP_SeekRowid, iTab, destIfFalse, rLhs);
    VdbeCoverage(v);
    addrTruthOp = sqlite3VdbeAddOp0(v, OP_Goto);  /* Return True */
  }else{
    sqlite3VdbeAddOp4(v, OP_Affinity, rLhs, nVector, 0, zAff, nVector);
    if( destIfFalse==destIfNull ){
      /* Combine Step 3 and Step 5 into a single opcode */
      sqlite3VdbeAddOp4Int(v, OP_NotFound, iTab, destIfFalse,
                           rLhs, nVector); VdbeCoverage(v);
      goto sqlite3ExprCodeIN_finished;
    }
    /* Ordinary Step 3, for the case where FALSE and NULL are distinct */
    addrTruthOp = sqlite3VdbeAddOp4Int(v, OP_Found, iTab, 0,
                                      rLhs, nVector); VdbeCoverage(v);
  }

  /* Step 4.  If the RHS is known to be non-NULL and we did not find
  ** an match on the search above, then the result must be FALSE.
  */
  if( rRhsHasNull && nVector==1 ){
    sqlite3VdbeAddOp2(v, OP_NotNull, rRhsHasNull, destIfFalse);
    VdbeCoverage(v);
  }

  /* Step 5.  If we do not care about the difference between NULL and
  ** FALSE, then just return false.
  */
  if( destIfFalse==destIfNull ) sqlite3VdbeGoto(v, destIfFalse);

  /* Step 6: Loop through rows of the RHS.  Compare each row to the LHS.
  ** If any comparison is NULL, then the result is NULL.  If all
  ** comparisons are FALSE then the final result is FALSE.
  **
  ** For a scalar LHS, it is sufficient to check just the first row
  ** of the RHS.
  */
  if( destStep6 ) sqlite3VdbeResolveLabel(v, destStep6);
  addrTop = sqlite3VdbeAddOp2(v, OP_Rewind, iTab, destIfFalse);
  VdbeCoverage(v);
  if( nVector>1 ){
    destNotNull = sqlite3VdbeMakeLabel(pParse);
  }else{
    /* For nVector==1, combine steps 6 and 7 by immediately returning
    ** FALSE if the first comparison is not NULL */
    destNotNull = destIfFalse;
  }
  for(i=0; i<nVector; i++){
    Expr *p;
    CollSeq *pColl;
    int r3 = sqlite3GetTempReg(pParse);
    p = sqlite3VectorFieldSubexpr(pLeft, i);
    pColl = sqlite3ExprCollSeq(pParse, p);
    sqlite3VdbeAddOp3(v, OP_Column, iTab, i, r3);
    sqlite3VdbeAddOp4(v, OP_Ne, rLhs+i, destNotNull, r3,
                      (void*)pColl, P4_COLLSEQ);
    VdbeCoverage(v);
    sqlite3ReleaseTempReg(pParse, r3);
  }
  sqlite3VdbeAddOp2(v, OP_Goto, 0, destIfNull);
  if( nVector>1 ){
    sqlite3VdbeResolveLabel(v, destNotNull);
    sqlite3VdbeAddOp2(v, OP_Next, iTab, addrTop+1);
    VdbeCoverage(v);

    /* Step 7:  If we reach this point, we know that the result must
    ** be false. */
    sqlite3VdbeAddOp2(v, OP_Goto, 0, destIfFalse);
  }

  /* Jumps here in order to return true. */
  sqlite3VdbeJumpHere(v, addrTruthOp);

sqlite3ExprCodeIN_finished:
  if( rLhs!=rLhsOrig ) sqlite3ReleaseTempReg(pParse, rLhs);
  VdbeComment((v, "end IN expr"));
sqlite3ExprCodeIN_oom_error:
  sqlite3DbFree(pParse->db, aiMap);
  sqlite3DbFree(pParse->db, zAff);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movl %ecx, %r12d
andl $0x0, 0x64(%rsp)
movl %edx, %r15d
andl $0x0, 0x44(%rsp)
movq %rsi, %r13
movq %rdi, %rbx
movb 0x23(%rdi), %bpl
movq 0x10(%rsi), %r14
callq 0x268b81
testl %eax, %eax
jne 0x266fbc
movb %bpl, 0x18(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x268bd6
movq %rax, 0x68(%rsp)
movq 0x10(%r13), %rdi
callq 0x26697d
movl %eax, %ebp
movq (%rbx), %rdi
cltq
leaq (%rax,%rax,4), %rsi
incq %rsi
callq 0x2258ed
movq %rax, %rsi
movq (%rbx), %rax
cmpb $0x0, 0x61(%rax)
jne 0x266fa7
movq 0x10(%rbx), %rax
movq %rax, 0x30(%rsp)
movq %r14, 0x48(%rsp)
xorl %r14d, %r14d
movl %r15d, 0x14(%rsp)
movl %r12d, 0x1c(%rsp)
cmpl %r12d, %r15d
movq %rsi, 0x50(%rsp)
leaq 0x64(%rsp), %rcx
cmoveq %r14, %rcx
pushq $0x3
popq %rdx
leaq 0x44(%rsp), %r9
movq %rbx, %rdi
movq %r13, %rsi
movq 0x50(%rsp), %r8
callq 0x268c8b
movl %eax, %r15d
movb $0x0, 0x23(%rbx)
leaq 0x74(%rsp), %rdx
movq %rbx, %rdi
movq 0x48(%rsp), %rsi
callq 0x2671bf
movq 0x50(%rsp), %rcx
movl %eax, 0x60(%rsp)
movq %rax, 0x20(%rsp)
movb 0x18(%rsp), %al
movb %al, 0x23(%rbx)
testl %ebp, %ebp
movl $0x0, %r12d
cmovgl %ebp, %r12d
cmpq %r14, %r12
je 0x266aae
movl (%rcx,%r14,4), %eax
cmpq %rax, %r14
jne 0x266ab1
incq %r14
jmp 0x266a9b
movl %r12d, %r14d
cmpl %ebp, %r14d
movl %ebp, 0x3c(%rsp)
movl %r15d, 0x2c(%rsp)
je 0x266b08
movq %rbx, %rdi
movl %ebp, %esi
callq 0x266492
movq %rax, 0x20(%rsp)
movl 0x60(%rsp), %r14d
xorl %r15d, %r15d
pushq $0x4d
popq %rbp
cmpq %r15, %r12
movq 0x50(%rsp), %rax
je 0x266b03
movl (%rax,%r15,4), %ecx
addl 0x20(%rsp), %ecx
leal (%r14,%r15), %edx
movq 0x30(%rsp), %rdi
movl %ebp, %esi
xorl %r8d, %r8d
callq 0x24d51f
incq %r15
jmp 0x266ad9
movl 0x2c(%rsp), %r15d
cmpl $0x5, %r15d
movq 0x48(%rsp), %r14
jne 0x266c9c
movq 0x10(%r13), %rsi
movq 0x20(%r13), %r12
movq %rbx, %rdi
callq 0x24e541
movq %rax, 0x48(%rsp)
movl 0x44(%rbx), %eax
decl %eax
xorl %r13d, %r13d
movl %eax, 0x18(%rsp)
movl %eax, 0x44(%rbx)
movl 0x1c(%rsp), %eax
cmpl %eax, 0x14(%rsp)
movq 0x30(%rsp), %r15
je 0x266b6a
movq %rbx, %rdi
callq 0x267d61
movl %eax, %r13d
pushq $0x65
popq %rsi
movq %r15, %rdi
movq 0x20(%rsp), %rcx
movl %ecx, %edx
movl %eax, %r8d
callq 0x24d51f
leaq 0x8(%r12), %rbp
xorl %r14d, %r14d
movslq (%r12), %rax
cmpq %rax, %r14
jge 0x266d0c
movq (%rbp), %rsi
movq %rbx, %rdi
leaq 0x70(%rsp), %rdx
callq 0x2661cb
movl %eax, %r15d
testl %r13d, %r13d
je 0x266bbb
movq (%rbp), %rdi
callq 0x269684
testl %eax, %eax
je 0x266bbb
movq 0x30(%rsp), %rdi
pushq $0x65
popq %rsi
movl %r13d, %edx
movl %r15d, %ecx
movl %r13d, %r8d
callq 0x24d51f
movl 0x70(%rsp), %eax
testl %eax, %eax
je 0x266bda
movzbl 0x1f(%rbx), %ecx
cmpq $0x7, %rcx
ja 0x266bda
leal 0x1(%rcx), %edx
movb %dl, 0x1f(%rbx)
movl %eax, 0xd4(%rbx,%rcx,4)
movl 0x1c(%rsp), %eax
cmpl %eax, 0x14(%rsp)
jne 0x266c38
movslq (%r12), %rax
decq %rax
cmpq %rax, %r14
jl 0x266c38
xorl %eax, %eax
movq 0x20(%rsp), %rdx
cmpl %r15d, %edx
setne %al
leal 0x32(%rax,%rax), %esi
movl $0xfffffffe, (%rsp)     # imm = 0xFFFFFFFE
movq 0x30(%rsp), %rdi
movl 0x14(%rsp), %ecx
movl %r15d, %r8d
movq %rdi, %r15
movq 0x48(%rsp), %r9
callq 0x264609
movl 0x90(%r15), %eax
testl %eax, %eax
jle 0x266c90
movq 0x68(%rsp), %rcx
movb (%rcx), %cl
orb $0x10, %cl
jmp 0x266c7b
xorl %eax, %eax
movq 0x20(%rsp), %rdx
cmpl %r15d, %edx
setne %al
leal 0x33(%rax,%rax), %esi
movl $0xfffffffe, (%rsp)     # imm = 0xFFFFFFFE
movq 0x30(%rsp), %rdi
movl 0x18(%rsp), %ecx
movl %r15d, %r8d
movq %rdi, %r15
movq 0x48(%rsp), %r9
callq 0x264609
movl 0x90(%r15), %eax
testl %eax, %eax
jle 0x266c90
movq 0x68(%rsp), %rcx
movb (%rcx), %cl
movsbl %cl, %ecx
movq 0x88(%r15), %rdx
movl %eax, %eax
imulq $0x18, %rax, %rax
movw %cx, -0x16(%rdx,%rax)
incq %r14
addq $0x18, %rbp
jmp 0x266b72
xorl %ecx, %ecx
movl 0x14(%rsp), %eax
movl %eax, %r15d
cmpl 0x1c(%rsp), %eax
movq 0x20(%rsp), %rdx
je 0x266cbb
movl 0x44(%rbx), %ecx
decl %ecx
movl %ecx, 0x44(%rbx)
movl %ecx, %r15d
cmpl $0x0, 0x30(%rbx)
jne 0x266f76
movl %ecx, 0x40(%rsp)
movq %rdx, 0x20(%rsp)
xorl %ebp, %ebp
cmpl %ebp, %r12d
je 0x266d65
movq 0x10(%r13), %rdi
movl %ebp, %esi
callq 0x267cfa
movq %rax, %rdi
callq 0x269684
testl %eax, %eax
je 0x266d08
movq 0x20(%rsp), %rax
leal (%rax,%rbp), %edx
movq 0x30(%rsp), %rdi
pushq $0x32
popq %rsi
movl %r15d, %ecx
callq 0x24d51a
incl %ebp
jmp 0x266cd0
testl %r13d, %r13d
je 0x266d9a
pushq $0x32
popq %rsi
movq %r15, %rdi
movl %r13d, %edx
movl 0x1c(%rsp), %ecx
callq 0x24d51a
movq %r15, %rdi
movl 0x14(%rsp), %esi
callq 0x264680
movq %r15, %rdi
movl 0x18(%rsp), %esi
callq 0x266fe1
movzbl 0x1f(%rbx), %eax
cmpq $0x7, %rax
movq 0x20(%rsp), %rdx
ja 0x266f76
leal 0x1(%rax), %ecx
movb %cl, 0x1f(%rbx)
movl %r13d, 0xd4(%rbx,%rax,4)
jmp 0x266f76
cmpl $0x1, 0x2c(%rsp)
jne 0x266dab
movl 0x44(%rsp), %edx
pushq $0x1f
popq %rsi
movq 0x30(%rsp), %r15
movq %r15, %rdi
movl %edx, 0x18(%rsp)
movl 0x14(%rsp), %ecx
movq 0x20(%rsp), %r8
callq 0x24d51f
pushq $0xb
popq %rsi
movq %r15, %rdi
callq 0x2645ec
jmp 0x266dfd
movq %r15, %rdi
movl 0x18(%rsp), %esi
callq 0x266fe1
jmp 0x266f71
movl 0x3c(%rsp), %ebp
movl %ebp, (%rsp)
pushq $0x5a
popq %rsi
movq 0x30(%rsp), %r15
movq %r15, %rdi
movq 0x20(%rsp), %r13
movl %r13d, %edx
movl %ebp, %ecx
xorl %r8d, %r8d
movq 0x68(%rsp), %r9
callq 0x264609
movl 0x44(%rsp), %edx
movl 0x14(%rsp), %ecx
cmpl 0x1c(%rsp), %ecx
je 0x266fcb
pushq $0x1e
popq %rsi
movq %r15, %rdi
movl %edx, 0x18(%rsp)
xorl %ecx, %ecx
movl %r13d, %r8d
movl %ebp, %r9d
callq 0x226fc2
movl %eax, 0x5c(%rsp)
movl 0x64(%rsp), %edx
testl %edx, %edx
sete %al
cmpl $0x1, 0x3c(%rsp)
setne %cl
orb %al, %cl
movl 0x40(%rsp), %ebp
jne 0x266e29
pushq $0x33
popq %rsi
movq %r15, %rdi
movl 0x14(%rsp), %ecx
callq 0x24d51a
movl 0x1c(%rsp), %eax
cmpl %eax, 0x14(%rsp)
jne 0x266e3f
movq %r15, %rdi
movl 0x14(%rsp), %esi
callq 0x264680
testl %ebp, %ebp
je 0x266e4d
movq %r15, %rdi
movl %ebp, %esi
callq 0x266fe1
pushq $0x25
popq %rsi
movq %r15, %rdi
movl 0x18(%rsp), %edx
movl 0x14(%rsp), %ebp
movl %ebp, %ecx
callq 0x24d51a
movl %eax, 0x40(%rsp)
movl %ebp, 0x2c(%rsp)
cmpl $0x2, 0x3c(%rsp)
jl 0x266e7d
movl 0x44(%rbx), %eax
decl %eax
movl %eax, 0x2c(%rsp)
movl %eax, 0x44(%rbx)
xorl %r15d, %r15d
cmpl %r15d, %r12d
je 0x266f16
movq %rbx, %rdi
callq 0x267d61
movl %eax, %r13d
movq %r14, %rdi
movl %r15d, %esi
callq 0x267cfa
movq %rbx, %rdi
movq %rax, %rsi
callq 0x24e541
movq %rax, %rbp
movq 0x30(%rsp), %r14
movq %r14, %rdi
pushq $0x59
popq %rsi
movl 0x18(%rsp), %edx
movl %r15d, %ecx
movl %r13d, %r8d
callq 0x24d51f
movq 0x20(%rsp), %rax
leal (%rax,%r15), %edx
movl $0xfffffffe, (%rsp)     # imm = 0xFFFFFFFE
movq %r14, %rdi
pushq $0x34
popq %rsi
movl 0x2c(%rsp), %ecx
movl %r13d, %r8d
movq %rbp, %r9
callq 0x264609
testl %r13d, %r13d
je 0x266f09
movzbl 0x1f(%rbx), %eax
cmpq $0x7, %rax
ja 0x266f09
leal 0x1(%rax), %ecx
movb %cl, 0x1f(%rbx)
movl %r13d, 0xd4(%rbx,%rax,4)
incl %r15d
movq 0x48(%rsp), %r14
jmp 0x266e80
pushq $0xb
popq %rsi
movq 0x30(%rsp), %r15
movq %r15, %rdi
xorl %edx, %edx
movl 0x1c(%rsp), %ecx
callq 0x24d51a
cmpl $0x2, 0x3c(%rsp)
jl 0x266f65
movq %r15, %rdi
movl 0x2c(%rsp), %esi
callq 0x266fe1
movl 0x40(%rsp), %ecx
incl %ecx
pushq $0x5
popq %rsi
movq %r15, %rdi
movl 0x18(%rsp), %edx
callq 0x24d51a
pushq $0xb
popq %rsi
movq %r15, %rdi
xorl %edx, %edx
movl 0x14(%rsp), %ecx
callq 0x24d51a
movq %r15, %rdi
movl 0x5c(%rsp), %esi
callq 0x2645f8
movq 0x20(%rsp), %rdx
cmpl 0x60(%rsp), %edx
sete %al
testl %edx, %edx
sete %cl
orb %al, %cl
movq 0x50(%rsp), %rsi
jne 0x266fa7
movzbl 0x1f(%rbx), %eax
cmpq $0x7, %rax
ja 0x266fa7
leal 0x1(%rax), %ecx
movb %cl, 0x1f(%rbx)
movq 0x50(%rsp), %rsi
movl %edx, 0xd4(%rbx,%rax,4)
movq (%rbx), %rdi
callq 0x21f26b
movq (%rbx), %rdi
movq 0x68(%rsp), %rsi
callq 0x21f26b
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x1d
popq %rsi
movq %r15, %rdi
movl %r13d, %r8d
movl %ebp, %r9d
callq 0x226fc2
movq %r13, %rdx
jmp 0x266f76