LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3NestedParse
SQLITE_PRIVATE void sqlite3NestedParse(Parse *pParse, const char *zFormat, ...){
  va_list ap;
  char *zSql;
  char *zErrMsg = 0;
  sqlite3 *db = pParse->db;
# define SAVE_SZ  (sizeof(Parse) - offsetof(Parse,nVar))
  char saveBuf[SAVE_SZ];

  if( pParse->nErr ) return;
  assert( pParse->nested<10 );  /* Nesting should only be of limited depth */
  va_start(ap, zFormat);
  zSql = sqlite3VMPrintf(db, zFormat, ap);
  va_end(ap);
  if( zSql==0 ){
    return;   /* A malloc must have failed */
  }
  pParse->nested++;
  memcpy(saveBuf, &pParse->nVar, SAVE_SZ);
  memset(&pParse->nVar, 0, SAVE_SZ);
  sqlite3RunParser(pParse, zSql, &zErrMsg);
  sqlite3DbFree(db, zErrMsg);
  sqlite3DbFree(db, zSql);
  memcpy(&pParse->nVar, saveBuf, SAVE_SZ);
  pParse->nested--;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x178, %rsp            # imm = 0x178
movq %rdx, -0xf0(%rbp)
movq %rcx, -0xe8(%rbp)
movq %r8, -0xe0(%rbp)
movq %r9, -0xd8(%rbp)
testb %al, %al
je 0x46616
movaps %xmm0, -0xd0(%rbp)
movaps %xmm1, -0xc0(%rbp)
movaps %xmm2, -0xb0(%rbp)
movaps %xmm3, -0xa0(%rbp)
movaps %xmm4, -0x90(%rbp)
movaps %xmm5, -0x80(%rbp)
movaps %xmm6, -0x70(%rbp)
movaps %xmm7, -0x60(%rbp)
movq $0x0, -0x30(%rbp)
cmpl $0x0, 0x50(%rdi)
jne 0x466cf
movq %rdi, %rbx
movq (%rdi), %r14
leaq -0x100(%rbp), %rax
leaq -0x50(%rbp), %rdx
movq %rax, 0x10(%rdx)
leaq 0x10(%rbp), %rax
movq %rax, 0x8(%rdx)
movabsq $0x3000000010, %rax     # imm = 0x3000000010
movq %rax, (%rdx)
movq %r14, %rdi
callq 0x19668
testq %rax, %rax
je 0x466cf
movq %rax, %r15
incb 0x1e(%rbx)
leaq 0x1f8(%rbx), %r12
leaq -0x1a0(%rbp), %rdi
movl $0xa0, %edx
movq %r12, %rsi
callq 0x82f0
movl $0xa0, %edx
movq %r12, %rdi
xorl %esi, %esi
callq 0x8200
leaq -0x30(%rbp), %r13
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x1373c
movq (%r13), %rsi
movq %r14, %rdi
callq 0x9c3a
movq %r14, %rdi
movq %r15, %rsi
callq 0x9c3a
movl $0xa0, %edx
movq %r12, %rdi
leaq -0x1a0(%rbp), %rsi
callq 0x82f0
decb 0x1e(%rbx)
addq $0x178, %rsp            # imm = 0x178
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3ChangeCookie
SQLITE_PRIVATE void sqlite3ChangeCookie(Parse *pParse, int iDb){
  int r1 = sqlite3GetTempReg(pParse);
  sqlite3 *db = pParse->db;
  Vdbe *v = pParse->pVdbe;
  assert( sqlite3SchemaMutexHeld(db, iDb, 0) );
  sqlite3VdbeAddOp2(v, OP_Integer, db->aDb[iDb].pSchema->schema_cookie+1, r1);
  sqlite3VdbeAddOp3(v, OP_SetCookie, iDb, BTREE_SCHEMA_VERSION, r1);
  sqlite3ReleaseTempReg(pParse, r1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movb 0x1f(%rdi), %al
testb %al, %al
je 0x46705
decb %al
movb %al, 0x1f(%rbx)
movzbl %al, %eax
movl 0x28(%rbx,%rax,4), %r14d
jmp 0x46710
movl 0x58(%rbx), %r14d
incl %r14d
movl %r14d, 0x58(%rbx)
movq (%rbx), %rax
movq 0x10(%rbx), %r15
movq 0x20(%rax), %rax
movslq %esi, %r12
movq %r12, %rcx
shlq $0x5, %rcx
movq 0x18(%rax,%rcx), %rax
movl (%rax), %edx
incl %edx
movq %r15, %rdi
movl $0x15, %esi
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x45b9e
movq %r15, %rdi
movl $0x2e, %esi
movl %r12d, %edx
movl $0x1, %ecx
movl %r14d, %r8d
callq 0x45b9e
testl %r14d, %r14d
je 0x46792
movzbl 0x1f(%rbx), %eax
cmpq $0x7, %rax
ja 0x46792
xorl %ecx, %ecx
cmpl %r14d, 0x84(%rbx,%rcx)
je 0x4678d
addq $0x18, %rcx
cmpl $0xf0, %ecx
jne 0x4676a
leal 0x1(%rax), %ecx
movb %cl, 0x1f(%rbx)
movl %r14d, 0x28(%rbx,%rax,4)
jmp 0x46792
movb $0x1, 0x7c(%rbx,%rcx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3VdbeAddParseSchemaOp
SQLITE_PRIVATE void sqlite3VdbeAddParseSchemaOp(Vdbe *p, int iDb, char *zWhere){
  int j;
  int addr = sqlite3VdbeAddOp3(p, OP_ParseSchema, iDb, 0, 0);
  sqlite3VdbeChangeP4(p, addr, zWhere, P4_DYNAMIC);
  for(j=0; j<p->db->nDb; j++) sqlite3VdbeUsesBtree(p, j);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movl %esi, %edx
movq %rdi, %rbx
xorl %r15d, %r15d
movl $0x70, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x45b9e
movq %rbx, %rdi
movl %eax, %esi
movq %r14, %rdx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x11975
movq (%rbx), %rax
movl 0x28(%rax), %eax
testl %eax, %eax
jle 0x467f3
movl 0xa0(%rbx), %ecx
btsl %r15d, %ecx
incl %r15d
cmpl %r15d, %eax
jne 0x467e1
movl %ecx, 0xa0(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3ResolveExprNames
SQLITE_PRIVATE int sqlite3ResolveExprNames( 
  NameContext *pNC,       /* Namespace to resolve expressions in. */
  Expr *pExpr             /* The expression to be analyzed. */
){
  u8 savedHasAgg;
  Walker w;

  if( pExpr==0 ) return 0;
#if SQLITE_MAX_EXPR_DEPTH>0
  {
    Parse *pParse = pNC->pParse;
    if( sqlite3ExprCheckHeight(pParse, pExpr->nHeight+pNC->pParse->nHeight) ){
      return 1;
    }
    pParse->nHeight += pExpr->nHeight;
  }
#endif
  savedHasAgg = pNC->ncFlags & NC_HasAgg;
  pNC->ncFlags &= ~NC_HasAgg;
  memset(&w, 0, sizeof(w));
  w.xExprCallback = resolveExprStep;
  w.xSelectCallback = resolveSelectStep;
  w.pParse = pNC->pParse;
  w.u.pNC = pNC;
  sqlite3WalkExpr(&w, pExpr);
#if SQLITE_MAX_EXPR_DEPTH>0
  pNC->pParse->nHeight -= pExpr->nHeight;
#endif
  if( pNC->nErr>0 || w.pParse->nErr>0 ){
    ExprSetProperty(pExpr, EP_Error);
  }
  if( pNC->ncFlags & NC_HasAgg ){
    ExprSetProperty(pExpr, EP_Agg);
  }else if( savedHasAgg ){
    pNC->ncFlags |= NC_HasAgg;
  }
  return ExprHasProperty(pExpr, EP_Error);
}

// Assembly:
testq %rsi, %rsi
je 0x46844
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rdi
movl 0x20c(%rdi), %eax
addl 0x28(%rsi), %eax
movq (%rdi), %rcx
movl 0x74(%rcx), %edx
cmpl %eax, %edx
jge 0x46847
leaq 0x34694(%rip), %rsi     # 0x7aec7
xorl %eax, %eax
callq 0x11724
movl $0x1, %eax
jmp 0x468e0
xorl %eax, %eax
retq
movl 0x28(%rbx), %eax
addl %eax, 0x20c(%rdi)
movb 0x30(%r14), %r15b
movl %r15d, %eax
andb $-0x3, %al
movb %al, 0x30(%r14)
xorps %xmm0, %xmm0
leaq -0x40(%rbp), %rdi
movaps %xmm0, (%rdi)
movaps %xmm0, 0x10(%rdi)
movq $0x0, 0x20(%rdi)
leaq 0x71(%rip), %rax        # 0x468eb
movq %rax, (%rdi)
leaq 0x4b3(%rip), %rax       # 0x46d37
movq %rax, 0x8(%rdi)
movq (%r14), %rax
movq %rax, 0x10(%rdi)
movq %r14, 0x20(%rdi)
movq %rbx, %rsi
callq 0x470d7
movl 0x28(%rbx), %eax
movq (%r14), %rcx
subl %eax, 0x20c(%rcx)
cmpl $0x0, 0x2c(%r14)
jg 0x468b8
movq -0x30(%rbp), %rax
cmpl $0x0, 0x50(%rax)
jle 0x468bc
orb $0x8, 0x2(%rbx)
movb 0x30(%r14), %al
testb $0x2, %al
jne 0x468d2
testb $0x2, %r15b
je 0x468d6
orb $0x2, %al
movb %al, 0x30(%r14)
jmp 0x468d6
orb $0x2, 0x2(%rbx)
movzwl 0x2(%rbx), %eax
shrl $0x3, %eax
andl $0x1, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3WalkExpr
SQLITE_PRIVATE int sqlite3WalkExpr(Walker *pWalker, Expr *pExpr){
  int rc;
  if( pExpr==0 ) return WRC_Continue;
  testcase( ExprHasProperty(pExpr, EP_TokenOnly) );
  testcase( ExprHasProperty(pExpr, EP_Reduced) );
  rc = pWalker->xExprCallback(pWalker, pExpr);
  if( rc==WRC_Continue
              && !ExprHasAnyProperty(pExpr,EP_TokenOnly) ){
    if( sqlite3WalkExpr(pWalker, pExpr->pLeft) ) return WRC_Abort;
    if( sqlite3WalkExpr(pWalker, pExpr->pRight) ) return WRC_Abort;
    if( ExprHasProperty(pExpr, EP_xIsSelect) ){
      if( sqlite3WalkSelect(pWalker, pExpr->x.pSelect) ) return WRC_Abort;
    }else{
      if( sqlite3WalkExprList(pWalker, pExpr->x.pList) ) return WRC_Abort;
    }
  }
  return rc & WRC_Abort;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rsi, %rsi
je 0x4713c
movq %rsi, %r12
movq %rdi, %r15
callq *(%rdi)
movl %eax, %ebx
testl %eax, %eax
jne 0x4714a
testb $0x40, 0x3(%r12)
jne 0x4714a
movq 0x10(%r12), %rsi
movq %r15, %rdi
callq 0x470d7
movl $0x2, %r14d
testl %eax, %eax
jne 0x47150
movq 0x18(%r12), %rsi
movq %r15, %rdi
callq 0x470d7
testl %eax, %eax
jne 0x47150
testb $0x8, 0x3(%r12)
movq 0x20(%r12), %rsi
movq %r15, %rdi
jne 0x47141
callq 0x47c1b
jmp 0x47146
xorl %r14d, %r14d
jmp 0x47150
callq 0x47c6e
testl %eax, %eax
jne 0x47150
andl $0x2, %ebx
movl %ebx, %r14d
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3WalkExprList
SQLITE_PRIVATE int sqlite3WalkExprList(Walker *pWalker, ExprList *p){
  int i;
  struct ExprList_item *pItem;
  if( p ){
    for(i=p->nExpr, pItem=p->a; i>0; i--, pItem++){
      if( sqlite3WalkExpr(pWalker, pItem->pExpr) ) return WRC_Abort;
    }
  }
  return WRC_Continue;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
xorl %ebx, %ebx
testq %rsi, %rsi
je 0x47c63
movl (%rsi), %r15d
testl %r15d, %r15d
jle 0x47c63
movq %rdi, %r14
movq 0x8(%rsi), %r12
incl %r15d
movq (%r12), %rsi
movq %r14, %rdi
callq 0x470d7
testl %eax, %eax
jne 0x47c5e
addq $0x20, %r12
decl %r15d
cmpl $0x1, %r15d
jg 0x47c3f
jmp 0x47c63
movl $0x2, %ebx
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3WalkSelect
SQLITE_PRIVATE int sqlite3WalkSelect(Walker *pWalker, Select *p){
  int rc;
  if( p==0 || pWalker->xSelectCallback==0 ) return WRC_Continue;
  rc = WRC_Continue;
  pWalker->walkerDepth++;
  while( p ){
    if( !pWalker->bSelectDepthFirst ){
       rc = pWalker->xSelectCallback(pWalker, p);
       if( rc ) break;
    }
    if( sqlite3WalkSelectExpr(pWalker, p)
     || sqlite3WalkSelectFrom(pWalker, p)
    ){
      pWalker->walkerDepth--;
      return WRC_Abort;
    }
    if( pWalker->bSelectDepthFirst ){
      rc = pWalker->xSelectCallback(pWalker, p);
      /* Depth-first search is currently only used for
      ** selectAddSubqueryTypeInfo() and that routine always returns
      ** WRC_Continue (0).  So the following branch is never taken. */
      if( NEVER(rc) ) break;
    }
    p = p->pPrior;
  }
  pWalker->walkerDepth--;
  return rc & WRC_Abort;
}

// Assembly:
xorl %eax, %eax
testq %rsi, %rsi
je 0x47d9d
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
cmpq $0x0, 0x8(%rdi)
je 0x47d95
movq %rsi, %r14
incl 0x18(%rbx)
cmpb $0x0, 0x1c(%rbx)
jne 0x47caf
movq %rbx, %rdi
movq %r14, %rsi
callq *0x8(%rbx)
testl %eax, %eax
jne 0x47d85
movq (%r14), %rsi
movq %rbx, %rdi
callq 0x47c1b
testl %eax, %eax
jne 0x47d8d
movq 0x30(%r14), %rsi
movq %rbx, %rdi
callq 0x470d7
testl %eax, %eax
jne 0x47d8d
movq 0x38(%r14), %rsi
movq %rbx, %rdi
callq 0x47c1b
testl %eax, %eax
jne 0x47d8d
movq 0x40(%r14), %rsi
movq %rbx, %rdi
callq 0x470d7
testl %eax, %eax
jne 0x47d8d
movq 0x48(%r14), %rsi
movq %rbx, %rdi
callq 0x47c1b
testl %eax, %eax
jne 0x47d8d
movq 0x68(%r14), %rsi
movq %rbx, %rdi
callq 0x470d7
testl %eax, %eax
jne 0x47d8d
movq 0x70(%r14), %rsi
movq %rbx, %rdi
callq 0x470d7
testl %eax, %eax
jne 0x47d8d
movq 0x28(%r14), %r15
testq %r15, %r15
je 0x47d63
movzbl (%r15), %r12d
testl %r12d, %r12d
je 0x47d63
addq $0x30, %r15
incl %r12d
movq (%r15), %rsi
movq %rbx, %rdi
callq 0x47c6e
testl %eax, %eax
jne 0x47d8d
addq $0x68, %r15
decl %r12d
cmpl $0x1, %r12d
jg 0x47d47
cmpb $0x0, 0x1c(%rbx)
je 0x47d76
movq %rbx, %rdi
movq %r14, %rsi
callq *0x8(%rbx)
testl %eax, %eax
jne 0x47d85
movq 0x50(%r14), %r14
testq %r14, %r14
jne 0x47c98
xorl %eax, %eax
decl 0x18(%rbx)
andl $0x2, %eax
jmp 0x47d95
decl 0x18(%rbx)
movl $0x2, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3MatchSpanName
SQLITE_PRIVATE int sqlite3MatchSpanName(
  const char *zSpan,
  const char *zCol,
  const char *zTab,
  const char *zDb
){
  int n;
  for(n=0; ALWAYS(zSpan[n]) && zSpan[n]!='.'; n++){}
  if( zDb && (sqlite3StrNICmp(zSpan, zDb, n)!=0 || zDb[n]!=0) ){
    return 0;
  }
  zSpan += n+1;
  for(n=0; ALWAYS(zSpan[n]) && zSpan[n]!='.'; n++){}
  if( zTab && (sqlite3StrNICmp(zSpan, zTab, n)!=0 || zTab[n]!=0) ){
    return 0;
  }
  zSpan += n+1;
  if( zCol && sqlite3StrICmp(zSpan, zCol)!=0 ){
    return 0;
  }
  return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, %rbx
leaq 0x1(%rdi), %r15
xorl %r13d, %r13d
movzbl -0x1(%r15), %eax
testl %eax, %eax
je 0x47dd2
cmpl $0x2e, %eax
je 0x47dd2
incq %r13
incq %r15
jmp 0x47dbc
testq %r12, %r12
je 0x47df9
movq %r12, %rsi
movl %r13d, %edx
callq 0x9454
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0x47e84
cmpb $0x0, (%r12,%r13)
jne 0x47e84
leaq 0x2(%r15), %r13
xorl %r12d, %r12d
movzbl -0x2(%r13), %eax
testl %eax, %eax
je 0x47e16
cmpl $0x2e, %eax
je 0x47e16
incq %r12
incq %r13
jmp 0x47e00
testq %r14, %r14
je 0x47e38
movq %r15, %rdi
movq %r14, %rsi
movl %r12d, %edx
callq 0x9454
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0x47e84
cmpb $0x0, (%r14,%r12)
jne 0x47e84
testq %rbx, %rbx
je 0x47e7f
movb -0x1(%r13), %al
testb %al, %al
je 0x47e68
leaq 0x2e214(%rip), %rcx     # 0x76060
movzbl %al, %edx
movb (%rdx,%rcx), %dl
movzbl (%rbx), %esi
cmpb (%rsi,%rcx), %dl
jne 0x47e68
incq %rbx
movb (%r13), %al
incq %r13
testb %al, %al
jne 0x47e4c
movzbl %al, %eax
leaq 0x2e1ee(%rip), %rcx     # 0x76060
movb (%rax,%rcx), %dl
movzbl (%rbx), %esi
xorl %eax, %eax
cmpb (%rsi,%rcx), %dl
jne 0x47e84
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3IsRowid
SQLITE_PRIVATE int sqlite3IsRowid(const char *z){
  if( sqlite3StrICmp(z, "_ROWID_")==0 ) return 1;
  if( sqlite3StrICmp(z, "ROWID")==0 ) return 1;
  if( sqlite3StrICmp(z, "OID")==0 ) return 1;
  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movb (%rdi), %cl
testb %cl, %cl
je 0x47ed1
leaq 0x1(%rdi), %rsi
leaq 0x33153(%rip), %rax     # 0x7affb
leaq 0x2e1b1(%rip), %r8      # 0x76060
movl %ecx, %edx
movzbl %dl, %r9d
movb (%r9,%r8), %r9b
movzbl (%rax), %r10d
cmpb (%r10,%r8), %r9b
jne 0x47eda
incq %rax
movb (%rsi), %dl
incq %rsi
testb %dl, %dl
jne 0x47eb1
jmp 0x47eda
leaq 0x33123(%rip), %rax     # 0x7affb
movl %ecx, %edx
movzbl %dl, %esi
leaq 0x2e17c(%rip), %rdx     # 0x76060
movb (%rsi,%rdx), %sil
movzbl (%rax), %r8d
movl $0x1, %eax
cmpb (%r8,%rdx), %sil
je 0x47f8f
testb %cl, %cl
je 0x47f2f
leaq 0x1(%rdi), %r9
leaq 0x330f9(%rip), %rsi     # 0x7b003
movl %ecx, %r8d
movzbl %r8b, %r10d
movb (%r10,%rdx), %r10b
movzbl (%rsi), %r11d
cmpb (%r11,%rdx), %r10b
jne 0x47f39
incq %rsi
movb (%r9), %r8b
incq %r9
testb %r8b, %r8b
jne 0x47f0d
jmp 0x47f39
leaq 0x330cd(%rip), %rsi     # 0x7b003
movl %ecx, %r8d
movzbl %r8b, %r8d
movb (%r8,%rdx), %r8b
movzbl (%rsi), %esi
cmpb (%rsi,%rdx), %r8b
je 0x47f8f
testb %cl, %cl
je 0x47f77
incq %rdi
leaq 0x330b1(%rip), %rax     # 0x7b009
movzbl %cl, %esi
movb (%rsi,%rdx), %sil
movzbl (%rax), %r8d
cmpb (%r8,%rdx), %sil
jne 0x47f7e
incq %rax
movb (%rdi), %cl
incq %rdi
testb %cl, %cl
jne 0x47f58
jmp 0x47f7e
leaq 0x3308b(%rip), %rax     # 0x7b009
movzbl %cl, %ecx
movb (%rcx,%rdx), %cl
movzbl (%rax), %esi
xorl %eax, %eax
cmpb (%rsi,%rdx), %cl
sete %al
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3ExprAddCollateString
SQLITE_PRIVATE Expr *sqlite3ExprAddCollateString(Parse *pParse, Expr *pExpr, const char *zC){
  Token s;
  assert( zC!=0 );
  s.z = zC;
  s.n = sqlite3Strlen30(s.z);
  return sqlite3ExprAddCollateToken(pParse, pExpr, &s);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdx, -0x10(%rbp)
testq %rdx, %rdx
je 0x4814f
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
incl %eax
cmpb $0x0, (%rdx)
leaq 0x1(%rdx), %rdx
jne 0x4813d
andl $0x3fffffff, %eax       # imm = 0x3FFFFFFF
jmp 0x48151
xorl %eax, %eax
leaq -0x10(%rbp), %rdx
movl %eax, 0x8(%rdx)
callq 0x40694
addq $0x10, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: dupedExprSize
static int dupedExprSize(Expr *p, int flags){
  int nByte = 0;
  if( p ){
    nByte = dupedExprNodeSize(p, flags);
    if( flags&EXPRDUP_REDUCE ){
      nByte += dupedExprSize(p->pLeft, flags) + dupedExprSize(p->pRight, flags);
    }
  }
  return nByte;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %r14d
movq %rdi, %r15
xorl %ebx, %ebx
xorl %r13d, %r13d
testq %r15, %r15
je 0x4840b
movq %r15, %rdi
movl %r14d, %esi
callq 0x486a6
movl %eax, %r12d
testb $0x1, %r14b
je 0x48408
movq 0x10(%r15), %rdi
movl %r14d, %esi
callq 0x483bb
movq 0x18(%r15), %r15
addl %r13d, %r12d
addl %eax, %r12d
movl %r12d, %r13d
jmp 0x483d4
movl %r12d, %ebx
addl %r13d, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3SelectDup
SQLITE_PRIVATE Select *sqlite3SelectDup(sqlite3 *db, Select *p, int flags){
  Select *pNew, *pPrior;
  if( p==0 ) return 0;
  pNew = sqlite3DbMallocRaw(db, sizeof(*p) );
  if( pNew==0 ) return 0;
  pNew->pEList = sqlite3ExprListDup(db, p->pEList, flags);
  pNew->pSrc = sqlite3SrcListDup(db, p->pSrc, flags);
  pNew->pWhere = sqlite3ExprDup(db, p->pWhere, flags);
  pNew->pGroupBy = sqlite3ExprListDup(db, p->pGroupBy, flags);
  pNew->pHaving = sqlite3ExprDup(db, p->pHaving, flags);
  pNew->pOrderBy = sqlite3ExprListDup(db, p->pOrderBy, flags);
  pNew->op = p->op;
  pNew->pPrior = pPrior = sqlite3SelectDup(db, p->pPrior, flags);
  if( pPrior ) pPrior->pNext = pNew;
  pNew->pNext = 0;
  pNew->pLimit = sqlite3ExprDup(db, p->pLimit, flags);
  pNew->pOffset = sqlite3ExprDup(db, p->pOffset, flags);
  pNew->iLimit = 0;
  pNew->iOffset = 0;
  pNew->selFlags = p->selFlags & ~SF_UsesEphemeral;
  pNew->pRightmost = 0;
  pNew->addrOpenEphm[0] = -1;
  pNew->addrOpenEphm[1] = -1;
  pNew->addrOpenEphm[2] = -1;
  return pNew;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x48542
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %r12
movl $0x78, %esi
callq 0x115e9
testq %rax, %rax
je 0x48542
movq %rax, %rbx
movq (%r14), %rsi
movq %r12, %rdi
movl %r15d, %edx
callq 0x48556
movq %rax, (%rbx)
movq 0x28(%r14), %rsi
movq %r12, %rdi
movl %r15d, %edx
callq 0x4870b
movq %rax, 0x28(%rbx)
movq 0x30(%r14), %rsi
movq %r12, %rdi
movl %r15d, %edx
xorl %ecx, %ecx
callq 0x48163
movq %rax, 0x30(%rbx)
movq 0x38(%r14), %rsi
movq %r12, %rdi
movl %r15d, %edx
callq 0x48556
movq %rax, 0x38(%rbx)
movq 0x40(%r14), %rsi
movq %r12, %rdi
movl %r15d, %edx
xorl %ecx, %ecx
callq 0x48163
movq %rax, 0x40(%rbx)
movq 0x48(%r14), %rsi
movq %r12, %rdi
movl %r15d, %edx
callq 0x48556
movq %rax, 0x48(%rbx)
movb 0x8(%r14), %al
movb %al, 0x8(%rbx)
movq 0x50(%r14), %rsi
movq %r12, %rdi
movl %r15d, %edx
callq 0x4841f
movq %rax, 0x50(%rbx)
testq %rax, %rax
je 0x484ec
movq %rbx, 0x58(%rax)
xorl %r13d, %r13d
movq %r13, 0x58(%rbx)
movq 0x68(%r14), %rsi
movq %r12, %rdi
movl %r15d, %edx
xorl %ecx, %ecx
callq 0x48163
movq %rax, 0x68(%rbx)
movq 0x70(%r14), %rsi
movq %r12, %rdi
movl %r15d, %edx
xorl %ecx, %ecx
callq 0x48163
movq %rax, 0x70(%rbx)
movq %r13, 0xc(%rbx)
movzwl 0xa(%r14), %eax
andl $-0x9, %eax
movw %ax, 0xa(%rbx)
movq %r13, 0x60(%rbx)
movq $-0x1, 0x14(%rbx)
movl $0xffffffff, 0x1c(%rbx) # imm = 0xFFFFFFFF
jmp 0x48544
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3ExprListDup
SQLITE_PRIVATE ExprList *sqlite3ExprListDup(sqlite3 *db, ExprList *p, int flags){
  ExprList *pNew;
  struct ExprList_item *pItem, *pOldItem;
  int i;
  if( p==0 ) return 0;
  pNew = sqlite3DbMallocRaw(db, sizeof(*pNew) );
  if( pNew==0 ) return 0;
  pNew->iECursor = 0;
  pNew->nExpr = i = p->nExpr;
  if( (flags & EXPRDUP_REDUCE)==0 ) for(i=1; i<p->nExpr; i+=i){}
  pNew->a = pItem = sqlite3DbMallocRaw(db,  i*sizeof(p->a[0]) );
  if( pItem==0 ){
    sqlite3DbFree(db, pNew);
    return 0;
  } 
  pOldItem = p->a;
  for(i=0; i<p->nExpr; i++, pItem++, pOldItem++){
    Expr *pOldExpr = pOldItem->pExpr;
    pItem->pExpr = sqlite3ExprDup(db, pOldExpr, flags);
    pItem->zName = sqlite3DbStrDup(db, pOldItem->zName);
    pItem->zSpan = sqlite3DbStrDup(db, pOldItem->zSpan);
    pItem->sortOrder = pOldItem->sortOrder;
    pItem->done = 0;
    pItem->bSpanIsTab = pOldItem->bSpanIsTab;
    pItem->iOrderByCol = pOldItem->iOrderByCol;
    pItem->iAlias = pOldItem->iAlias;
  }
  return pNew;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
testq %rsi, %rsi
je 0x48692
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %r14
movl $0x10, %esi
callq 0x115e9
testq %rax, %rax
je 0x48692
movq %rax, %rbx
movl $0x0, 0x4(%rax)
movl (%r12), %esi
movl %esi, (%rax)
testb $0x1, %r15b
jne 0x485b4
movl (%r12), %eax
movl $0x1, %ecx
movl %ecx, %esi
leal (%rsi,%rsi), %ecx
cmpl %eax, %esi
jl 0x485ab
shll $0x5, %esi
movq %r14, %rdi
callq 0x115e9
movq %rax, 0x8(%rbx)
testq %rax, %rax
je 0x48687
cmpl $0x0, (%r12)
jle 0x48694
movq %rax, %r13
movq %rbx, -0x38(%rbp)
movq 0x8(%r12), %rbx
movl %r15d, -0x2c(%rbp)
xorl %r15d, %r15d
movq %r12, -0x40(%rbp)
xorl %r12d, %r12d
movq (%rbx,%r15), %rsi
movq %r14, %rdi
movl -0x2c(%rbp), %edx
xorl %ecx, %ecx
callq 0x48163
movq %rax, (%r13,%r15)
movq 0x8(%rbx,%r15), %rsi
movq %r14, %rdi
callq 0x1010d
movq %rax, 0x8(%r13,%r15)
movq 0x10(%rbx,%r15), %rsi
movq %r14, %rdi
callq 0x1010d
movq %rax, 0x10(%r13,%r15)
movb 0x18(%rbx,%r15), %al
movb %al, 0x18(%r13,%r15)
movb 0x19(%r13,%r15), %al
movl %eax, %ecx
andb $-0x2, %cl
movb %cl, 0x19(%r13,%r15)
movb 0x19(%rbx,%r15), %cl
andb $0x2, %cl
andb $-0x4, %al
orb %cl, %al
movb %al, 0x19(%r13,%r15)
movzwl 0x1a(%rbx,%r15), %eax
movw %ax, 0x1a(%r13,%r15)
movzwl 0x1c(%rbx,%r15), %eax
movw %ax, 0x1c(%r13,%r15)
incl %r12d
addq $0x20, %r15
movq -0x40(%rbp), %rax
cmpl (%rax), %r12d
jl 0x485f1
movq -0x38(%rbp), %rbx
jmp 0x48694
movq %r14, %rdi
movq %rbx, %rsi
callq 0x9c3a
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: dupedExprNodeSize
static int dupedExprNodeSize(Expr *p, int flags){
  int nByte = dupedExprStructSize(p, flags) & 0xfff;
  if( !ExprHasProperty(p, EP_IntValue) && p->u.zToken ){
    nByte += sqlite3Strlen30(p->u.zToken)+1;
  }
  return ROUND8(nByte);
}

// Assembly:
movl $0x48, %eax
testb $0x1, %sil
je 0x486d6
movl $0x2c, %eax
cmpq $0x0, 0x10(%rdi)
jne 0x486d6
cmpq $0x0, 0x18(%rdi)
jne 0x486d6
cmpq $0x0, 0x20(%rdi)
movl $0x10, %ecx
movl $0x2c, %eax
cmovel %ecx, %eax
testb $0x4, 0x3(%rdi)
jne 0x48704
movq 0x8(%rdi), %rdx
testq %rdx, %rdx
je 0x48704
pushq %rbp
movq %rsp, %rbp
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
incl %ecx
cmpb $0x0, (%rdx)
leaq 0x1(%rdx), %rdx
jne 0x486ee
andl $0x3fffffff, %ecx       # imm = 0x3FFFFFFF
addl %ecx, %eax
incl %eax
popq %rbp
addl $0x7, %eax
andl $-0x8, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3IdListDup
SQLITE_PRIVATE IdList *sqlite3IdListDup(sqlite3 *db, IdList *p){
  IdList *pNew;
  int i;
  if( p==0 ) return 0;
  pNew = sqlite3DbMallocRaw(db, sizeof(*pNew) );
  if( pNew==0 ) return 0;
  pNew->nId = p->nId;
  pNew->a = sqlite3DbMallocRaw(db, p->nId*sizeof(p->a[0]) );
  if( pNew->a==0 ){
    sqlite3DbFree(db, pNew);
    return 0;
  }
  /* Note that because the size of the allocation for p->a[] is not
  ** necessarily a power of two, sqlite3IdListAppend() may not be called
  ** on the duplicate created by this function. */
  for(i=0; i<p->nId; i++){
    struct IdList_item *pNewItem = &pNew->a[i];
    struct IdList_item *pOldItem = &p->a[i];
    pNewItem->zName = sqlite3DbStrDup(db, pOldItem->zName);
    pNewItem->idx = pOldItem->idx;
  }
  return pNew;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
testq %rsi, %rsi
je 0x4897a
movq %rsi, %r15
movq %rdi, %r14
movl $0x10, %esi
callq 0x115e9
testq %rax, %rax
je 0x4897a
movq %rax, %rbx
movl 0x8(%r15), %eax
movl %eax, 0x8(%rbx)
movl 0x8(%r15), %esi
shll $0x4, %esi
movq %r14, %rdi
callq 0x115e9
movq %rax, (%rbx)
testq %rax, %rax
je 0x4896f
cmpl $0x0, 0x8(%r15)
jle 0x4897c
movq %r15, -0x40(%rbp)
movl $0x8, %r12d
xorl %r13d, %r13d
movq %r14, -0x30(%rbp)
movq %rbx, -0x38(%rbp)
movq -0x40(%rbp), %r15
movq (%rbx), %r14
movq (%r15), %rbx
movq -0x8(%rbx,%r12), %rsi
movq -0x30(%rbp), %rdi
callq 0x1010d
movq %rax, -0x8(%r14,%r12)
movl (%rbx,%r12), %eax
movq -0x38(%rbp), %rbx
movl %eax, (%r14,%r12)
incq %r13
movslq 0x8(%r15), %rax
addq $0x10, %r12
cmpq %rax, %r13
jl 0x48938
jmp 0x4897c
movq %r14, %rdi
movq %rbx, %rsi
callq 0x9c3a
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3AuthReadCol
SQLITE_PRIVATE int sqlite3AuthReadCol(
  Parse *pParse,                  /* The parser context */
  const char *zTab,               /* Table name */
  const char *zCol,               /* Column name */
  int iDb                         /* Index of containing database. */
){
  sqlite3 *db = pParse->db;       /* Database handle */
  char *zDb = db->aDb[iDb].zName; /* Name of attached database */
  int rc;                         /* Auth callback return code */

  rc = db->xAuth(db->pAuthArg, SQLITE_READ, zTab,zCol,zDb,pParse->zAuthContext);
  if( rc==SQLITE_DENY ){
    if( db->nDb>2 || iDb!=0 ){
      sqlite3ErrorMsg(pParse, "access to %s.%s.%s is prohibited",zDb,zTab,zCol);
    }else{
      sqlite3ErrorMsg(pParse, "access to %s.%s is prohibited", zTab, zCol);
    }
    pParse->rc = SQLITE_AUTH;
  }else if( rc!=SQLITE_IGNORE && rc!=SQLITE_OK ){
    sqliteAuthBadReturnCode(pParse);
  }
  return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %r15d
movq %rdx, %rcx
movq %rsi, %rdx
movq %rdi, %rbx
movq (%rdi), %r12
movslq %r15d, %rax
shlq $0x5, %rax
movq 0x20(%r12), %rsi
movq 0x188(%r12), %rdi
movq (%rsi,%rax), %r13
movq 0x248(%rbx), %r9
movl $0x14, %esi
movq %rdx, -0x30(%rbp)
movq %rcx, -0x38(%rbp)
movq %r13, %r8
callq *0x180(%r12)
movl %eax, %r14d
cmpl $0x1, %eax
jne 0x48a28
testl %r15d, %r15d
jne 0x48a49
cmpl $0x3, 0x28(%r12)
jge 0x48a49
leaq 0x3261a(%rip), %rsi     # 0x7b02e
movq %rbx, %rdi
movq -0x30(%rbp), %rdx
movq -0x38(%rbp), %rcx
xorl %eax, %eax
callq 0x11724
jmp 0x48a65
testl $0xfffffffd, %r14d      # imm = 0xFFFFFFFD
je 0x48a6d
leaq 0x322f5(%rip), %rsi     # 0x7ad2d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x11724
movl $0x1, %eax
jmp 0x48a6a
leaq 0x325bd(%rip), %rsi     # 0x7b00d
movq %rbx, %rdi
movq %r13, %rdx
movq -0x30(%rbp), %rcx
movq -0x38(%rbp), %r8
xorl %eax, %eax
callq 0x11724
movl $0x17, %eax
movl %eax, 0x18(%rbx)
movl %r14d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: exprSrcCount
static int exprSrcCount(Walker *pWalker, Expr *pExpr){
  /* The NEVER() on the second term is because sqlite3FunctionUsesThisSrc()
  ** is always called before sqlite3ExprAnalyzeAggregates() and so the
  ** TK_COLUMNs have not yet been converted into TK_AGG_COLUMN.  If
  ** sqlite3FunctionUsesThisSrc() is used differently in the future, the
  ** NEVER() will need to be removed. */
  if( pExpr->op==TK_COLUMN || NEVER(pExpr->op==TK_AGG_COLUMN) ){
    int i;
    struct SrcCount *p = pWalker->u.pSrcCount;
    SrcList *pSrc = p->pSrc;
    for(i=0; i<pSrc->nSrc; i++){
      if( pExpr->iTable==pSrc->a[i].iCursor ) break;
    }
    if( i<pSrc->nSrc ){
      p->nThis++;
    }else{
      p->nOther++;
    }
  }
  return WRC_Continue;
}

// Assembly:
movzbl (%rsi), %eax
orl $0x2, %eax
cmpl $0x9a, %eax
jne 0x48ae0
pushq %rbp
movq %rsp, %rbp
movq 0x20(%rdi), %rax
movq (%rax), %rdx
movzbl (%rdx), %ecx
testq %rcx, %rcx
setne %dil
je 0x48adc
movl 0x2c(%rsi), %esi
cmpl 0x44(%rdx), %esi
je 0x48ad2
addq $0xac, %rdx
leaq -0x1(%rcx), %r8
xorl %edi, %edi
cmpq %rdi, %r8
je 0x48adc
leaq 0x68(%rdx), %r9
incq %rdi
cmpl (%rdx), %esi
movq %r9, %rdx
jne 0x48ab8
cmpq %rcx, %rdi
setb %dil
testb %dil, %dil
je 0x48adc
incl 0x8(%rax)
jmp 0x48adf
incl 0xc(%rax)
popq %rbp
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3SelectPrep
SQLITE_PRIVATE void sqlite3SelectPrep(
  Parse *pParse,         /* The parser context */
  Select *p,             /* The SELECT statement being coded. */
  NameContext *pOuterNC  /* Name context for container */
){
  sqlite3 *db;
  if( NEVER(p==0) ) return;
  db = pParse->db;
  if( db->mallocFailed ) return;
  if( p->selFlags & SF_HasTypeInfo ) return;
  sqlite3SelectExpand(pParse, p);
  if( pParse->nErr || db->mallocFailed ) return;
  sqlite3ResolveSelectNames(pParse, p, pOuterNC);
  if( pParse->nErr || db->mallocFailed ) return;
  sqlite3SelectAddTypeInfo(pParse, p);
}

// Assembly:
testq %rsi, %rsi
je 0x48c09
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %r14
movq (%rdi), %r12
cmpb $0x0, 0x50(%r12)
jne 0x48bfb
movq %rsi, %rbx
testb $0x20, 0xa(%rsi)
jne 0x48bfb
movq %rdx, %r15
xorps %xmm0, %xmm0
movaps %xmm0, -0x50(%rbp)
movaps %xmm0, -0x40(%rbp)
movq $0x0, -0x30(%rbp)
leaq 0x640(%rip), %r13       # 0x49179
movq %r13, -0x50(%rbp)
movq %r14, -0x40(%rbp)
cmpb $0x0, 0x25(%r14)
je 0x48b5f
leaq 0x632(%rip), %rax       # 0x49181
leaq -0x50(%rbp), %rdi
movq %rax, 0x8(%rdi)
movq %rbx, %rsi
callq 0x47c6e
leaq 0x785(%rip), %rax       # 0x492eb
leaq -0x50(%rbp), %rdi
movq %rax, 0x8(%rdi)
movq %rbx, %rsi
callq 0x47c6e
cmpl $0x0, 0x50(%r14)
jne 0x48bfb
cmpb $0x0, 0x50(%r12)
jne 0x48bfb
xorps %xmm0, %xmm0
leaq -0x50(%rbp), %rdi
movaps %xmm0, (%rdi)
movaps %xmm0, 0x10(%rdi)
leaq -0x22af(%rip), %rax     # 0x468eb
movq %rax, (%rdi)
leaq -0x1e6d(%rip), %rax     # 0x46d37
movq %rax, 0x8(%rdi)
movq %r14, 0x10(%rdi)
movq %r15, 0x20(%rdi)
movq %rbx, %rsi
callq 0x47c6e
cmpl $0x0, 0x50(%r14)
jne 0x48bfb
cmpb $0x0, 0x50(%r12)
jne 0x48bfb
xorps %xmm0, %xmm0
leaq -0x50(%rbp), %rdi
movaps %xmm0, (%rdi)
movaps %xmm0, 0x10(%rdi)
movq $0x0, 0x20(%rdi)
leaq 0x20b8(%rip), %rax      # 0x4ac9c
movq %rax, 0x8(%rdi)
movq %r13, (%rdi)
movq %r14, 0x10(%rdi)
movb $0x1, 0x1c(%rdi)
movq %rbx, %rsi
callq 0x47c6e
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3SrcListAssignCursors
SQLITE_PRIVATE void sqlite3SrcListAssignCursors(Parse *pParse, SrcList *pList){
  int i;
  struct SrcList_item *pItem;
  assert(pList || pParse->db->mallocFailed );
  if( pList ){
    for(i=0, pItem=pList->a; i<pList->nSrc; i++, pItem++){
      if( pItem->iCursor>=0 ) break;
      pItem->iCursor = pParse->nTab++;
      if( pItem->pSelect ){
        sqlite3SrcListAssignCursors(pParse, pItem->pSelect->pSrc);
      }
    }
  }
}

// Assembly:
testq %rsi, %rsi
je 0x49f5a
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
cmpb $0x0, (%rsi)
je 0x49f52
movq %rdi, %r14
leaq 0x44(%rbx), %r15
xorl %r12d, %r12d
cmpl $0x0, (%r15)
jns 0x49f52
movl 0x54(%r14), %eax
leal 0x1(%rax), %ecx
movl %ecx, 0x54(%r14)
movl %eax, (%r15)
movq -0x14(%r15), %rax
testq %rax, %rax
je 0x49f43
movq 0x28(%rax), %rsi
movq %r14, %rdi
callq 0x49ef8
incl %r12d
movzbl (%rbx), %eax
addq $0x68, %r15
cmpl %eax, %r12d
jb 0x49f1a
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3LocateTableItem
SQLITE_PRIVATE Table *sqlite3LocateTableItem(
  Parse *pParse, 
  int isView, 
  struct SrcList_item *p
){
  const char *zDb;
  assert( p->pSchema==0 || p->zDatabase==0 );
  if( p->pSchema ){
    int iDb = sqlite3SchemaToIndex(pParse->db, p->pSchema);
    zDb = pParse->db->aDb[iDb].zName;
  }else{
    zDb = p->zDatabase;
  }
  return sqlite3LocateTable(pParse, isView, p->zName, zDb);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rdx), %rcx
testq %rcx, %rcx
je 0x4a305
movq (%rdi), %rax
movl 0x28(%rax), %r8d
testl %r8d, %r8d
jle 0x4a30b
movq 0x20(%rax), %r10
addq $0x18, %r10
xorl %r9d, %r9d
cmpq %rcx, (%r10)
je 0x4a30e
incq %r9
addq $0x20, %r10
cmpq %r9, %r8
jne 0x4a2ef
movl %r8d, %r9d
jmp 0x4a30e
leaq 0x8(%rdx), %rcx
jmp 0x4a319
xorl %r9d, %r9d
movslq %r9d, %rcx
shlq $0x5, %rcx
addq 0x20(%rax), %rcx
movq (%rcx), %rcx
movq 0x10(%rdx), %rdx
popq %rbp
jmp 0x11689
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3IndexedByLookup
SQLITE_PRIVATE int sqlite3IndexedByLookup(Parse *pParse, struct SrcList_item *pFrom){
  if( pFrom->pTab && pFrom->zIndex ){
    Table *pTab = pFrom->pTab;
    char *zIndex = pFrom->zIndex;
    Index *pIdx;
    for(pIdx=pTab->pIndex; 
        pIdx && sqlite3StrICmp(pIdx->zName, zIndex); 
        pIdx=pIdx->pNext
    );
    if( !pIdx ){
      sqlite3ErrorMsg(pParse, "no such index: %s", zIndex, 0);
      pParse->checkSchema = 1;
      return SQLITE_ERROR;
    }
    pFrom->pIndex = pIdx;
  }
  return SQLITE_OK;
}

// Assembly:
movq 0x20(%rsi), %rax
testq %rax, %rax
je 0x4a5ed
movq 0x58(%rsi), %rdx
testq %rdx, %rdx
je 0x4a5ed
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rax), %rax
testq %rax, %rax
sete %r14b
je 0x4a5c1
leaq 0x2baf4(%rip), %rcx     # 0x76060
movq (%rax), %r9
movb (%r9), %dil
testb %dil, %dil
je 0x4a59f
incq %r9
movq %rdx, %r8
movzbl %dil, %r10d
movb (%r10,%rcx), %r10b
movzbl (%r8), %r11d
cmpb (%r11,%rcx), %r10b
jne 0x4a5a2
incq %r8
movb (%r9), %dil
incq %r9
testb %dil, %dil
jne 0x4a57d
jmp 0x4a5a2
movq %rdx, %r8
movzbl %dil, %edi
movb (%rdi,%rcx), %dil
movzbl (%r8), %r8d
cmpb (%r8,%rcx), %dil
je 0x4a5da
movq 0x28(%rax), %rax
testq %rax, %rax
sete %r14b
jne 0x4a56c
leaq 0x30bed(%rip), %rsi     # 0x7b1b5
movq %rbx, %rdi
xorl %ecx, %ecx
xorl %eax, %eax
callq 0x11724
movb $0x1, 0x1d(%rbx)
jmp 0x4a5de
movq %rax, 0x60(%rsi)
movl $0x1, %eax
testb $0x1, %r14b
popq %rbx
popq %r14
popq %rbp
jne 0x4a5ef
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3IdListIndex
SQLITE_PRIVATE int sqlite3IdListIndex(IdList *pList, const char *zName){
  int i;
  if( pList==0 ) return -1;
  for(i=0; i<pList->nId; i++){
    if( sqlite3StrICmp(pList->a[i].zName, zName)==0 ) return i;
  }
  return -1;
}

// Assembly:
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testq %rdi, %rdi
je 0x4a676
movslq 0x8(%rdi), %rcx
testq %rcx, %rcx
jle 0x4a676
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq (%rdi), %rdi
xorl %edx, %edx
leaq 0x2ba4a(%rip), %r8      # 0x76060
movq %rdx, %r9
shlq $0x4, %r9
movq (%rdi,%r9), %r11
movb (%r11), %r9b
testb %r9b, %r9b
je 0x4a651
incq %r11
movq %rsi, %r10
movzbl %r9b, %ebx
movb (%rbx,%r8), %bl
movzbl (%r10), %r14d
cmpb (%r14,%r8), %bl
jne 0x4a654
incq %r10
movb (%r11), %r9b
incq %r11
testb %r9b, %r9b
jne 0x4a62f
jmp 0x4a654
movq %rsi, %r10
movzbl %r9b, %r9d
movb (%r9,%r8), %r9b
movzbl (%r10), %r10d
cmpb (%r10,%r8), %r9b
je 0x4a670
incq %rdx
cmpq %rcx, %rdx
jne 0x4a616
jmp 0x4a672
movl %edx, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: addWhereTerm
static void addWhereTerm(
  Parse *pParse,                  /* Parsing context */
  SrcList *pSrc,                  /* List of tables in FROM clause */
  int iLeft,                      /* Index of first table to join in pSrc */
  int iColLeft,                   /* Index of column in first table */
  int iRight,                     /* Index of second table in pSrc */
  int iColRight,                  /* Index of column in second table */
  int isOuterJoin,                /* True if this is an OUTER join */
  Expr **ppWhere                  /* IN/OUT: The WHERE clause to add to */
){
  sqlite3 *db = pParse->db;
  Expr *pE1;
  Expr *pE2;
  Expr *pEq;

  assert( iLeft<iRight );
  assert( pSrc->nSrc>iRight );
  assert( pSrc->a[iLeft].pTab );
  assert( pSrc->a[iRight].pTab );

  pE1 = sqlite3CreateColumnExpr(db, pSrc, iLeft, iColLeft);
  pE2 = sqlite3CreateColumnExpr(db, pSrc, iRight, iColRight);

  pEq = sqlite3PExpr(pParse, TK_EQ, pE1, pE2, 0);
  if( pEq && isOuterJoin ){
    ExprSetProperty(pEq, EP_FromJoin);
    assert( !ExprHasAnyProperty(pEq, EP_TokenOnly|EP_Reduced) );
    ExprSetIrreducible(pEq);
    pEq->iRightJoinTable = (i16)pE2->iTable;
  }
  *ppWhere = sqlite3ExprAnd(db, *ppWhere, pEq);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, -0x2c(%rbp)
movl %r8d, %r14d
movq %rsi, %r12
movq %rdi, %r13
movq (%rdi), %rbx
movq %rbx, %rdi
callq 0x4a8a4
movq %rax, %r15
movq %rbx, %rdi
movq %r12, %rsi
movl %r14d, %edx
movl -0x2c(%rbp), %ecx
callq 0x4a8a4
movq %rax, %r14
movq %r13, %rdi
movl $0x4c, %esi
movq %r15, %rdx
movq %rax, %rcx
xorl %r8d, %r8d
callq 0x39f77
testq %rax, %rax
sete %cl
cmpl $0x0, 0x10(%rbp)
sete %dl
orb %cl, %dl
jne 0x4a6e8
orb $0x1, 0x2(%rax)
movzwl 0x2c(%r14), %ecx
movw %cx, 0x34(%rax)
movq 0x18(%rbp), %r14
movq (%r14), %rsi
movq %rbx, %rdi
movq %rax, %rdx
callq 0x4a740
movq %rax, (%r14)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: setJoinExpr
static void setJoinExpr(Expr *p, int iTable){
  while( p ){
    ExprSetProperty(p, EP_FromJoin);
    assert( !ExprHasAnyProperty(p, EP_TokenOnly|EP_Reduced) );
    ExprSetIrreducible(p);
    p->iRightJoinTable = (i16)iTable;
    setJoinExpr(p->pLeft, iTable);
    p = p->pRight;
  } 
}

// Assembly:
testq %rdi, %rdi
je 0x4a73f
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %ebx
movq %rdi, %r14
orb $0x1, 0x2(%r14)
movw %bx, 0x34(%r14)
movq 0x10(%r14), %rdi
movl %ebx, %esi
callq 0x4a70c
movq 0x18(%r14), %r14
testq %r14, %r14
jne 0x4a71d
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3ExprAnd
SQLITE_PRIVATE Expr *sqlite3ExprAnd(sqlite3 *db, Expr *pLeft, Expr *pRight){
  if( pLeft==0 ){
    return pRight;
  }else if( pRight==0 ){
    return pLeft;
  }else if( exprAlwaysFalse(pLeft) || exprAlwaysFalse(pRight) ){
    sqlite3ExprDelete(db, pLeft);
    sqlite3ExprDelete(db, pRight);
    return sqlite3ExprAlloc(db, TK_INTEGER, &sqlite3IntTokens[0], 0);
  }else{
    Expr *pNew = sqlite3ExprAlloc(db, TK_AND, 0, 0);
    sqlite3ExprAttachSubtrees(db, pNew, pLeft, pRight);
    return pNew;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %rbx
testq %rsi, %rsi
je 0x4a7aa
movq %rsi, %r15
testq %rbx, %rbx
je 0x4a7af
movq %rdi, %r14
movq %r15, %rdi
callq 0x4aa64
testl %eax, %eax
jne 0x4a776
movq %rbx, %rdi
callq 0x4aa64
testl %eax, %eax
je 0x4a7be
movq %r14, %rdi
movq %r15, %rsi
callq 0x34068
movq %r14, %rdi
movq %rbx, %rsi
callq 0x34068
leaq 0x48c8d(%rip), %rdx     # 0x93420
movq %r14, %rdi
movl $0x81, %esi
xorl %ecx, %ecx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x4a949
movq %rbx, %r12
jmp 0x4a7b2
movq %r15, %r12
movq %r12, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
movl $0x48, %esi
callq 0x115e9
movq %rax, %r12
testq %rax, %rax
je 0x4a80c
xorps %xmm0, %xmm0
movups %xmm0, (%r12)
movups %xmm0, 0x30(%r12)
movups %xmm0, 0x20(%r12)
movups %xmm0, 0x10(%r12)
movq $0x0, 0x40(%r12)
movb $0x45, (%r12)
movw $0xffff, 0x32(%r12)     # imm = 0xFFFF
movl $0x1, 0x28(%r12)
movq %r14, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x4aa98
jmp 0x4a7b2
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: columnIndex
static int columnIndex(Table *pTab, const char *zCol){
  int i;
  for(i=0; i<pTab->nCol; i++){
    if( sqlite3StrICmp(pTab->aCol[i].zName, zCol)==0 ) return i;
  }
  return -1;
}

// Assembly:
movswq 0x42(%rdi), %rcx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testq %rcx, %rcx
jle 0x4a8a3
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq 0x8(%rdi), %rdi
xorl %edx, %edx
leaq 0x2b81e(%rip), %r8      # 0x76060
leaq (%rdx,%rdx,2), %r9
shlq $0x4, %r9
movq (%rdi,%r9), %r11
movb (%r11), %r9b
testb %r9b, %r9b
je 0x4a87e
incq %r11
movq %rsi, %r10
movzbl %r9b, %ebx
movb (%rbx,%r8), %bl
movzbl (%r10), %r14d
cmpb (%r14,%r8), %bl
jne 0x4a881
incq %r10
movb (%r11), %r9b
incq %r11
testb %r9b, %r9b
jne 0x4a85c
jmp 0x4a881
movq %rsi, %r10
movzbl %r9b, %r9d
movb (%r9,%r8), %r9b
movzbl (%r10), %r10d
cmpb (%r10,%r8), %r9b
je 0x4a89d
incq %rdx
cmpq %rcx, %rdx
jne 0x4a842
jmp 0x4a89f
movl %edx, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3CreateColumnExpr
SQLITE_PRIVATE Expr *sqlite3CreateColumnExpr(sqlite3 *db, SrcList *pSrc, int iSrc, int iCol){
  Expr *p = sqlite3ExprAlloc(db, TK_COLUMN, 0, 0);
  if( p ){
    struct SrcList_item *pItem = &pSrc->a[iSrc];
    p->pTab = pItem->pTab;
    p->iTable = pItem->iCursor;
    if( p->pTab->iPKey==iCol ){
      p->iColumn = -1;
    }else{
      p->iColumn = (ynVar)iCol;
      testcase( iCol==BMS );
      testcase( iCol==BMS-1 );
      pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
    }
    ExprSetProperty(p, EP_Resolved);
  }
  return p;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %ecx, %ebx
movl %edx, %r15d
movq %rsi, %r14
movl $0x48, %esi
callq 0x115e9
testq %rax, %rax
je 0x4a93e
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x10(%rax)
movq $0x0, 0x40(%rax)
movb $-0x68, (%rax)
movw $0xffff, 0x32(%rax)     # imm = 0xFFFF
movl $0x1, 0x28(%rax)
movslq %r15d, %rcx
imulq $0x68, %rcx, %rcx
movq 0x28(%r14,%rcx), %rdx
movq %rdx, 0x40(%rax)
movl 0x44(%r14,%rcx), %esi
movl %esi, 0x2c(%rax)
movswl 0x40(%rdx), %edx
cmpl %ebx, %edx
jne 0x4a917
movw $0xffff, 0x30(%rax)     # imm = 0xFFFF
jmp 0x4a93a
leaq (%r14,%rcx), %rdx
addq $0x8, %rdx
cmpl $0x3f, %ebx
movl $0x3f, %ecx
cmovll %ebx, %ecx
movl $0x1, %esi
shlq %cl, %rsi
movw %bx, 0x30(%rax)
orq %rsi, 0x50(%rdx)
orb $0x4, 0x2(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3ExprAlloc
SQLITE_PRIVATE Expr *sqlite3ExprAlloc(
  sqlite3 *db,            /* Handle for sqlite3DbMallocZero() (may be null) */
  int op,                 /* Expression opcode */
  const Token *pToken,    /* Token argument.  Might be NULL */
  int dequote             /* True to dequote */
){
  Expr *pNew;
  int nExtra = 0;
  int iValue = 0;

  if( pToken ){
    if( op!=TK_INTEGER || pToken->z==0
          || sqlite3GetInt32(pToken->z, &iValue)==0 ){
      nExtra = pToken->n+1;
      assert( iValue>=0 );
    }
  }
  pNew = sqlite3DbMallocZero(db, sizeof(Expr)+nExtra);
  if( pNew ){
    pNew->op = (u8)op;
    pNew->iAgg = -1;
    if( pToken ){
      if( nExtra==0 ){
        pNew->flags |= EP_IntValue;
        pNew->u.iValue = iValue;
      }else{
        int c;
        pNew->u.zToken = (char*)&pNew[1];
        assert( pToken->z!=0 || pToken->n==0 );
        if( pToken->n ) memcpy(pNew->u.zToken, pToken->z, pToken->n);
        pNew->u.zToken[pToken->n] = 0;
        if( dequote && nExtra>=3 
             && ((c = pToken->z[0])=='\'' || c=='"' || c=='[' || c=='`') ){
          sqlite3Dequote(pNew->u.zToken);
          if( c=='"' ) pNew->flags |= EP_DblQuoted;
        }
      }
    }
#if SQLITE_MAX_EXPR_DEPTH>0
    pNew->nHeight = 1;
#endif  
  }
  return pNew;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, -0x30(%rbp)
movq %rdx, %rbx
movl %esi, %r12d
movq %rdi, %r15
movl $0x0, -0x2c(%rbp)
xorl %r14d, %r14d
testq %rdx, %rdx
je 0x4a997
cmpl $0x81, %r12d
jne 0x4a990
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x4a990
leaq -0x2c(%rbp), %rsi
callq 0x33854
testl %eax, %eax
jne 0x4a997
movl 0x8(%rbx), %r14d
incl %r14d
leal 0x48(%r14), %r13d
movq %r15, %rdi
movl %r13d, %esi
callq 0x115e9
movq %rax, %r15
testq %rax, %rax
je 0x4aa52
movslq %r13d, %rdx
movq %r15, %rdi
xorl %esi, %esi
callq 0x8200
movb %r12b, (%r15)
movw $0xffff, 0x32(%r15)     # imm = 0xFFFF
testq %rbx, %rbx
je 0x4aa4a
testl %r14d, %r14d
je 0x4aa3e
movq %r15, %rdi
addq $0x48, %rdi
movq %rdi, 0x8(%r15)
movl 0x8(%rbx), %edx
testq %rdx, %rdx
je 0x4a9ee
movq (%rbx), %rsi
callq 0x82f0
movq 0x8(%r15), %rax
movl 0x8(%rbx), %ecx
movb $0x0, (%rax,%rcx)
cmpl $0x0, -0x30(%rbp)
sete %al
cmpl $0x3, %r14d
setl %cl
orb %al, %cl
jne 0x4aa4a
movq (%rbx), %rax
movzbl (%rax), %ebx
leal -0x22(%rbx), %eax
cmpl $0x3e, %eax
ja 0x4aa4a
movabsq $0x4200000000000021, %rcx # imm = 0x4200000000000021
btq %rax, %rcx
jae 0x4aa4a
movq 0x8(%r15), %rdi
callq 0x45e50
cmpb $0x22, %bl
jne 0x4aa4a
orb $0x40, 0x2(%r15)
jmp 0x4aa4a
orb $0x4, 0x3(%r15)
movl -0x2c(%rbp), %eax
movl %eax, 0x8(%r15)
movl $0x1, 0x28(%r15)
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: exprAlwaysFalse
static int exprAlwaysFalse(Expr *p){
  int v = 0;
  if( ExprHasProperty(p, EP_FromJoin) ) return 0;
  if( !sqlite3ExprIsInteger(p, &v) ) return 0;
  return v==0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movl $0x0, -0xc(%rbp)
xorl %ebx, %ebx
testb $0x1, 0x2(%rdi)
jne 0x4aa8f
leaq -0xc(%rbp), %rsi
callq 0x4aaf6
testl %eax, %eax
je 0x4aa8f
xorl %ebx, %ebx
cmpl $0x0, -0xc(%rbp)
sete %bl
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3ExprAttachSubtrees
SQLITE_PRIVATE void sqlite3ExprAttachSubtrees(
  sqlite3 *db,
  Expr *pRoot,
  Expr *pLeft,
  Expr *pRight
){
  if( pRoot==0 ){
    assert( db->mallocFailed );
    sqlite3ExprDelete(db, pLeft);
    sqlite3ExprDelete(db, pRight);
  }else{
    if( pRight ){
      pRoot->pRight = pRight;
      pRoot->flags |= EP_Collate & pRight->flags;
    }
    if( pLeft ){
      pRoot->pLeft = pLeft;
      pRoot->flags |= EP_Collate & pLeft->flags;
    }
    exprSetHeight(pRoot);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rcx, %rbx
testq %rsi, %rsi
je 0x4aadc
testq %rbx, %rbx
je 0x4aabd
movq %rbx, 0x18(%rsi)
movzwl 0x2(%rbx), %eax
andl $0x100, %eax            # imm = 0x100
orw %ax, 0x2(%rsi)
testq %rdx, %rdx
je 0x4aad3
movq %rdx, 0x10(%rsi)
movzwl 0x2(%rdx), %eax
andl $0x100, %eax            # imm = 0x100
orw %ax, 0x2(%rsi)
movq %rsi, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x4ab49
movq %rdi, %r14
movq %rdx, %rsi
callq 0x34068
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x34068