LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: xferCompatibleIndex
static int xferCompatibleIndex(Index *pDest, Index *pSrc){
  int i;
  assert( pDest && pSrc );
  assert( pDest->pTable!=pSrc->pTable );
  if( pDest->nKeyCol!=pSrc->nKeyCol || pDest->nColumn!=pSrc->nColumn ){
    return 0;   /* Different number of columns */
  }
  if( pDest->onError!=pSrc->onError ){
    return 0;   /* Different conflict resolution strategies */
  }
  for(i=0; i<pSrc->nKeyCol; i++){
    if( pSrc->aiColumn[i]!=pDest->aiColumn[i] ){
      return 0;   /* Different columns indexed */
    }
    if( pSrc->aiColumn[i]==XN_EXPR ){
      assert( pSrc->aColExpr!=0 && pDest->aColExpr!=0 );
      if( sqlite3ExprCompare(0, pSrc->aColExpr->a[i].pExpr,
                             pDest->aColExpr->a[i].pExpr, -1)!=0 ){
        return 0;   /* Different expressions in the index */
      }
    }
    if( pSrc->aSortOrder[i]!=pDest->aSortOrder[i] ){
      return 0;   /* Different sort orders */
    }
    if( sqlite3_stricmp(pSrc->azColl[i],pDest->azColl[i])!=0 ){
      return 0;   /* Different collating sequences */
    }
  }
  if( sqlite3ExprCompare(0, pSrc->pPartIdxWhere, pDest->pPartIdxWhere, -1) ){
    return 0;     /* Different WHERE clauses */
  }

  /* If no test above fails then the indices must be compatible */
  return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movzwl 0x5e(%rdi), %eax
xorl %r15d, %r15d
cmpw 0x5e(%rsi), %ax
jne 0x2e72ef
movq %rsi, %r14
movq %rdi, %rbx
movzwl 0x60(%rdi), %ecx
cmpw 0x60(%rsi), %cx
jne 0x2e72ef
movb 0x62(%rbx), %cl
cmpb 0x62(%r14), %cl
jne 0x2e72ef
testw %ax, %ax
je 0x2e72cd
xorl %r12d, %r12d
leaq 0xea0cd(%rip), %r13     # 0x3d12e0
movq 0x8(%r14), %rax
movzwl (%rax,%r12,2), %eax
movq 0x8(%rbx), %rcx
cmpw (%rcx,%r12,2), %ax
jne 0x2e72ec
cmpw $-0x2, %ax
jne 0x2e7266
movq 0x50(%r14), %rax
leaq (,%r12,8), %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x8(%rax,%rcx), %rsi
movq 0x50(%rbx), %rax
movq 0x8(%rax,%rcx), %rdx
xorl %r15d, %r15d
xorl %edi, %edi
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x2c0d98
testl %eax, %eax
jne 0x2e72ef
movq 0x38(%r14), %rax
movb (%rax,%r12), %al
movq 0x38(%rbx), %rcx
cmpb (%rcx,%r12), %al
jne 0x2e72ec
movq 0x40(%r14), %rax
movq (%rax,%r12,8), %rax
movq 0x40(%rbx), %rcx
movq (%rcx,%r12,8), %rcx
testq %rax, %rax
je 0x2e72b7
testq %rcx, %rcx
je 0x2e72ec
xorl %edx, %edx
movzbl (%rax,%rdx), %esi
movzbl (%rcx,%rdx), %edi
cmpb %dil, %sil
jne 0x2e72a8
testq %rsi, %rsi
jne 0x2e72b2
jmp 0x2e72bc
movb (%rsi,%r13), %sil
cmpb (%rdi,%r13), %sil
jne 0x2e72ec
incq %rdx
jmp 0x2e7294
testq %rcx, %rcx
jne 0x2e72ec
incq %r12
movzwl 0x5e(%r14), %eax
cmpq %rax, %r12
jb 0x2e7213
movq 0x48(%r14), %rsi
movq 0x48(%rbx), %rdx
xorl %edi, %edi
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x2c0d98
xorl %r15d, %r15d
testl %eax, %eax
sete %r15b
jmp 0x2e72ef
xorl %r15d, %r15d
movl %r15d, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: exprSetHeight
static void exprSetHeight(Expr *p){
  int nHeight = 0;
  heightOfExpr(p->pLeft, &nHeight);
  heightOfExpr(p->pRight, &nHeight);
  if( ExprHasProperty(p, EP_xIsSelect) ){
    heightOfSelect(p->x.pSelect, &nHeight);
  }else if( p->x.pList ){
    heightOfExprList(p->x.pList, &nHeight);
    p->flags |= EP_Propagate & sqlite3ExprListFlags(p->x.pList);
  }
  p->nHeight = nHeight + 1;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x0, 0x4(%rsp)
movq 0x10(%rdi), %rcx
xorl %eax, %eax
testq %rcx, %rcx
je 0x2e7323
movl 0x28(%rcx), %ecx
testl %ecx, %ecx
jle 0x2e7323
movl %ecx, 0x4(%rsp)
movl %ecx, %eax
movq 0x18(%rbx), %rcx
testq %rcx, %rcx
je 0x2e7338
movl 0x28(%rcx), %ecx
cmpl %eax, %ecx
cmovgl %ecx, %eax
movl %eax, 0x4(%rsp)
movl 0x4(%rbx), %ecx
btl $0xb, %ecx
movq 0x20(%rbx), %rdi
jb 0x2e73aa
testq %rdi, %rdi
je 0x2e73c3
movslq (%rdi), %rdx
testq %rdx, %rdx
jle 0x2e73bc
addq $0x8, %rdi
xorl %esi, %esi
movq %rdi, %r8
movl %edx, %r9d
movq (%r8), %r10
testq %r10, %r10
je 0x2e7375
movl 0x28(%r10), %r10d
cmpl %eax, %r10d
cmovgl %r10d, %eax
cmovgl %edx, %r9d
incq %rsi
movslq %r9d, %r10
addq $0x18, %r8
cmpq %r10, %rsi
jl 0x2e735e
shlq $0x3, %rdx
leaq (%rdx,%rdx,2), %rsi
xorl %r8d, %r8d
xorl %edx, %edx
movq (%rdi,%r8), %r9
orl 0x4(%r9), %edx
addq $0x18, %r8
cmpq %r8, %rsi
jne 0x2e7391
andl $0x200104, %edx         # imm = 0x200104
jmp 0x2e73be
leaq 0x4(%rsp), %r14
movq %r14, %rsi
callq 0x2d3a7d
movl (%r14), %eax
jmp 0x2e73c3
xorl %edx, %edx
orl %ecx, %edx
movl %edx, 0x4(%rbx)
incl %eax
movl %eax, 0x28(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: setPragmaResultColumnNames
static void setPragmaResultColumnNames(
  Vdbe *v,                     /* The query under construction */
  const PragmaName *pPragma    /* The pragma */
){
  u8 n = pPragma->nPragCName;
  sqlite3VdbeSetNumCols(v, n==0 ? 1 : n);
  if( n==0 ){
    sqlite3VdbeSetColName(v, 0, COLNAME_NAME, pPragma->zName, SQLITE_STATIC);
  }else{
    int i, j;
    for(i=0, j=pPragma->iPragCName; i<n; i++, j++){
      sqlite3VdbeSetColName(v, i, COLNAME_NAME, pragCName[j], SQLITE_STATIC);
    }
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movzbl 0xb(%rsi), %r15d
cmpb $0x2, %r15b
movl $0x1, %esi
cmovael %r15d, %esi
callq 0x2a871c
testq %r15, %r15
je 0x2e749c
movzbl 0xa(%r14), %eax
imulq $0x38, %r15, %r14
leaq 0x1cfe62(%rip), %rcx    # 0x4b72c0
leaq (%rcx,%rax,8), %r15
xorl %r12d, %r12d
movq (%rbx), %rax
cmpb $0x0, 0x61(%rax)
jne 0x2e748d
movq (%r15), %rsi
movq 0x98(%rbx), %rdi
addq %r12, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x278594
addq $0x38, %r12
addq $0x8, %r15
cmpq %r12, %r14
jne 0x2e7465
jmp 0x2e74a5
movq (%rbx), %rax
cmpb $0x0, 0x61(%rax)
je 0x2e74b1
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq (%r14), %rsi
movq 0x98(%rbx), %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x1, %ecx
xorl %r8d, %r8d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x278594
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: getSafetyLevel
static u8 getSafetyLevel(const char *z, int omitFull, u8 dflt){
                             /* 123456789 123456789 123 */
  static const char zText[] = "onoffalseyestruextrafull";
  static const u8 iOffset[] = {0, 1, 2,  4,    9,  12,  15,   20};
  static const u8 iLength[] = {2, 2, 3,  5,    3,   4,   5,    4};
  static const u8 iValue[] =  {1, 0, 0,  0,    1,   1,   3,    2};
                            /* on no off false yes true extra full */
  int i, n;
  if( sqlite3Isdigit(*z) ){
    return (u8)sqlite3Atoi(z);
  }
  n = sqlite3Strlen30(z);
  for(i=0; i<ArraySize(iLength); i++){
    if( iLength[i]==n && sqlite3StrNICmp(&zText[iOffset[i]],z,n)==0
     && (!omitFull || iValue[i]<=1)
    ){
      return iValue[i];
    }
  }
  return dflt;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movzbl (%rdi), %eax
addq $-0x3a, %rax
cmpq $-0xa, %rax
jae 0x2e7885
movl %esi, %ebp
movl %edx, (%rsp)
movl $0xfffffff8, %r15d      # imm = 0xFFFFFFF8
movq %r14, %rdi
callq 0x172f0
andl $0x3fffffff, %eax       # imm = 0x3FFFFFFF
leal 0x1(%rax), %edx
xorl %ecx, %ecx
leaq 0xee075(%rip), %rsi     # 0x3d5868
leaq 0x6(%r15), %rdi
leaq 0xf2ec2(%rip), %r9      # 0x3da6c0
leaq 0xe9adb(%rip), %r10     # 0x3d12e0
movzbl (%rcx,%rsi), %r8d
cmpl %r8d, %eax
jne 0x2e7877
testl %eax, %eax
je 0x2e7868
leaq 0xee046(%rip), %r8      # 0x3d5860
movzbl (%rcx,%r8), %r11d
xorl %r12d, %r12d
movl %edx, %r13d
leaq (%r11,%r12), %r8
movzbl (%r9,%r8), %r8d
testq %r8, %r8
je 0x2e7854
movzbl (%r8,%r10), %ebx
movzbl (%r14,%r12), %r8d
movb (%r8,%r10), %r8b
cmpb %r8b, %bl
jne 0x2e785f
decl %r13d
incq %r12
cmpl $0x1, %r13d
ja 0x2e7825
jmp 0x2e7868
movzbl (%r14,%r12), %r8d
movb (%r8,%r10), %r8b
xorl %ebx, %ebx
movzbl %r8b, %r8d
cmpl %r8d, %ebx
jne 0x2e7877
testl %ebp, %ebp
je 0x2e789f
movq %rcx, %r8
orq %r15, %r8
cmpq %rdi, %r8
jb 0x2e789f
incq %rcx
cmpq $0x8, %rcx
jne 0x2e7805
movl (%rsp), %eax
jmp 0x2e78a9
leaq 0x4(%rsp), %rbx
movl $0x0, (%rbx)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2a5fc5
movb (%rbx), %al
jmp 0x2e78a9
leaq 0xedfca(%rip), %rax     # 0x3d5870
movb (%rcx,%rax), %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: sqlite3VdbeMultiLoad
SQLITE_PRIVATE void sqlite3VdbeMultiLoad(Vdbe *p, int iDest, const char *zTypes, ...){
  va_list ap;
  int i;
  char c;
  va_start(ap, zTypes);
  for(i=0; (c = zTypes[i])!=0; i++){
    if( c=='s' ){
      const char *z = va_arg(ap, const char*);
      sqlite3VdbeAddOp4(p, z==0 ? OP_Null : OP_String8, 0, iDest+i, 0, z, 0);
    }else if( c=='i' ){
      sqlite3VdbeAddOp2(p, OP_Integer, va_arg(ap, int), iDest+i);
    }else{
      goto skip_op_resultrow;
    }
  }
  sqlite3VdbeAddOp2(p, OP_ResultRow, iDest, i);
skip_op_resultrow:
  va_end(ap);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd0, %rsp
movq %rdx, %r14
movq %rdi, %rbx
leaq 0x20(%rsp), %rdx
movq %rcx, 0x18(%rdx)
movq %r8, 0x20(%rdx)
movq %r9, 0x28(%rdx)
testb %al, %al
je 0x2e791a
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5, 0xa0(%rsp)
movaps %xmm6, 0xb0(%rsp)
movaps %xmm7, 0xc0(%rsp)
movq %rdx, 0x10(%rsp)
leaq 0x100(%rsp), %rax
movq %rax, 0x8(%rsp)
movabsq $0x3000000018, %rax     # imm = 0x3000000018
movq %rax, (%rsp)
movl %esi, %r15d
xorl %r12d, %r12d
movzbl (%r14,%r12), %eax
cmpl $0x69, %eax
je 0x2e796c
cmpl $0x73, %eax
jne 0x2e79f3
movl (%rsp), %ecx
cmpq $0x28, %rcx
ja 0x2e7985
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x8, %ecx
movl %ecx, (%rsp)
jmp 0x2e7993
movl (%rsp), %ecx
cmpq $0x28, %rcx
ja 0x2e79c7
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x8, %ecx
movl %ecx, (%rsp)
jmp 0x2e79d5
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %r13
movl $0x48, %esi
testq %r13, %r13
je 0x2e79a5
movl $0x73, %esi
leal (%r15,%r12), %ecx
movq %rbx, %rdi
xorl %edx, %edx
xorl %r8d, %r8d
callq 0x2a83e1
movq %rbx, %rdi
movl %eax, %esi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0x27b778
jmp 0x2e79eb
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movl (%rax), %edx
leal (%r15,%r12), %ecx
movq %rbx, %rdi
movl $0x45, %esi
xorl %r8d, %r8d
callq 0x2a83e1
incq %r12
jmp 0x2e7940
testl %eax, %eax
jne 0x2e7a0d
movq %rbx, %rdi
movl $0x50, %esi
movl %r15d, %edx
movl %r12d, %ecx
xorl %r8d, %r8d
callq 0x2a83e1
addq $0xd0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: pragmaFunclistLine
static void pragmaFunclistLine(
  Vdbe *v,               /* The prepared statement being created */
  FuncDef *p,            /* A particular function definition */
  int isBuiltin,         /* True if this is a built-in function */
  int showInternFuncs    /* True if showing internal functions */
){
  for(; p; p=p->pNext){
    const char *zType;
    static const u32 mask =
        SQLITE_DETERMINISTIC |
        SQLITE_DIRECTONLY |
        SQLITE_SUBTYPE |
        SQLITE_INNOCUOUS |
        SQLITE_FUNC_INTERNAL
    ;
    static const char *azEnc[] = { 0, "utf8", "utf16le", "utf16be" };

    assert( SQLITE_FUNC_ENCMASK==0x3 );
    assert( strcmp(azEnc[SQLITE_UTF8],"utf8")==0 );
    assert( strcmp(azEnc[SQLITE_UTF16LE],"utf16le")==0 );
    assert( strcmp(azEnc[SQLITE_UTF16BE],"utf16be")==0 );

    if( p->xSFunc==0 ) continue;
    if( (p->funcFlags & SQLITE_FUNC_INTERNAL)!=0
     && showInternFuncs==0
    ){
      continue;
    }
    if( p->xValue!=0 ){
      zType = "w";
    }else if( p->xFinalize!=0 ){
      zType = "a";
    }else{
      zType = "s";
    }
    sqlite3VdbeMultiLoad(v, 1, "sissii",
       p->zName, isBuiltin,
       zType, azEnc[p->funcFlags&SQLITE_FUNC_ENCMASK],
       p->nArg,
       (p->funcFlags & mask) ^ SQLITE_INNOCUOUS
    );
  }
}

// Assembly:
testq %rsi, %rsi
je 0x2e7ae9
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
leaq 0xf17d3(%rip), %r12     # 0x3d9216
cmpq $0x0, 0x18(%r14)
je 0x2e7ace
movl 0x4(%r14), %r10d
testl %ebx, %ebx
jne 0x2e7a60
movl %r10d, %eax
andl $0x40000, %eax          # imm = 0x40000
jne 0x2e7ace
cmpq $0x0, 0x28(%r14)
leaq 0xabb49(%rip), %r9      # 0x3935b5
jne 0x2e7a85
cmpq $0x0, 0x20(%r14)
leaq 0x7ad7f(%rip), %r9      # 0x3627f9
leaq 0x73c92(%rip), %rax     # 0x35b713
cmoveq %rax, %r9
movq 0x38(%r14), %rcx
movl %r10d, %r11d
andl $0x3, %r11d
movsbl (%r14), %r13d
andl $0x3c0800, %r10d        # imm = 0x3C0800
xorl $0x200000, %r10d        # imm = 0x200000
subq $0x8, %rsp
movq %r15, %rdi
movl $0x1, %esi
movq %r12, %rdx
movl %ebp, %r8d
xorl %eax, %eax
pushq %r10
pushq %r13
leaq 0x1d035f(%rip), %r10    # 0x4b7e20
pushq (%r10,%r11,8)
callq 0x2e78b8
addq $0x20, %rsp
movq 0x10(%r14), %r14
testq %r14, %r14
jne 0x2e7a43
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: sqlite3RegisterLikeFunctions
SQLITE_PRIVATE void sqlite3RegisterLikeFunctions(sqlite3 *db, int caseSensitive){
  struct compareInfo *pInfo;
  int flags;
  if( caseSensitive ){
    pInfo = (struct compareInfo*)&likeInfoAlt;
    flags = SQLITE_FUNC_LIKE | SQLITE_FUNC_CASE;
  }else{
    pInfo = (struct compareInfo*)&likeInfoNorm;
    flags = SQLITE_FUNC_LIKE;
  }
  sqlite3CreateFunc(db, "like", 2, SQLITE_UTF8, pInfo, likeFunc, 0, 0, 0, 0, 0);
  sqlite3CreateFunc(db, "like", 3, SQLITE_UTF8, pInfo, likeFunc, 0, 0, 0, 0, 0);
  sqlite3FindFunction(db, "like", 2, SQLITE_UTF8, 0)->funcFlags |= flags;
  sqlite3FindFunction(db, "like", 3, SQLITE_UTF8, 0)->funcFlags |= flags;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
xorl %eax, %eax
testl %esi, %esi
setne %al
leaq 0xe9933(%rip), %rcx     # 0x3d143c
leaq 0xed880(%rip), %r15     # 0x3d5390
cmoveq %rcx, %r15
leal 0x4(,%rax,8), %ebp
xorl %r13d, %r13d
movq %r13, 0x20(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rsp)
movups %xmm0, (%rsp)
leaq 0xef392(%rip), %r14     # 0x3d6ec8
leaq 0xe6(%rip), %r12        # 0x2e7c23
movq %r14, %rsi
movl $0x2, %edx
movl $0x1, %ecx
movq %r15, %r8
movq %r12, %r9
callq 0x27f9de
movq %r13, 0x20(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x3, %edx
movl $0x1, %ecx
movq %r15, %r8
movq %r12, %r9
callq 0x27f9de
movq %rbx, %rdi
movq %r14, %rsi
movl $0x2, %edx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x27fcd2
orl %ebp, 0x4(%rax)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x3, %edx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x27fcd2
orl %ebp, 0x4(%rax)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: integrityCheckResultRow
static int integrityCheckResultRow(Vdbe *v){
  int addr;
  sqlite3VdbeAddOp2(v, OP_ResultRow, 3, 1);
  addr = sqlite3VdbeAddOp3(v, OP_IfPos, 1, sqlite3VdbeCurrentAddr(v)+2, 1);
  VdbeCoverage(v);
  sqlite3VdbeAddOp0(v, OP_Halt);
  return addr;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x50, %esi
movl $0x3, %edx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x2a83e1
movl 0x90(%rbx), %ecx
addl $0x2, %ecx
movq %rbx, %rdi
movl $0x30, %esi
movl $0x1, %edx
movl $0x1, %r8d
callq 0x2a83e1
movl %eax, %ebp
movq %rbx, %rdi
movl $0x44, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x2a83e1
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: triggerStepAllocate
static TriggerStep *triggerStepAllocate(
  Parse *pParse,              /* Parser context */
  u8 op,                      /* Trigger opcode */
  Token *pName,               /* The target name */
  const char *zStart,         /* Start of SQL text */
  const char *zEnd            /* End of SQL text */
){
  sqlite3 *db = pParse->db;
  TriggerStep *pTriggerStep;

  pTriggerStep = sqlite3DbMallocZero(db, sizeof(TriggerStep) + pName->n + 1);
  if( pTriggerStep ){
    char *z = (char*)&pTriggerStep[1];
    memcpy(z, pName->z, pName->n);
    sqlite3Dequote(z);
    pTriggerStep->zTarget = z;
    pTriggerStep->op = op;
    pTriggerStep->zSpan = triggerSpanDup(db, zStart, zEnd);
    if( IN_RENAME_OBJECT ){
      sqlite3RenameTokenMap(pParse, pTriggerStep->zTarget, pName);
    }
  }
  return pTriggerStep;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %rbx
movl %esi, 0xc(%rsp)
movq %rdi, %r14
movq (%rdi), %rbp
movl 0x8(%rdx), %esi
addq $0x61, %rsi
movq %rbp, %rdi
callq 0x279b27
movq %rax, %r13
testq %rax, %rax
je 0x2e7e80
movq %r15, 0x10(%rsp)
movq %r13, %r15
addq $0x60, %r15
movq (%rbx), %rsi
movl 0x8(%rbx), %edx
movq %r15, %rdi
callq 0x17660
movq %r15, %rdi
callq 0x2c981d
movq %r15, 0x18(%r13)
movl 0xc(%rsp), %eax
movb %al, (%r13)
movq %rbp, %rdi
movq %r12, %rsi
movq 0x10(%rsp), %rdx
callq 0x2e7e92
movq %rax, 0x48(%r13)
cmpb $0x2, 0x11c(%r14)
jb 0x2e7e80
movq 0x18(%r13), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x2b1eb3
movq %r13, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: triggerSpanDup
static char *triggerSpanDup(sqlite3 *db, const char *zStart, const char *zEnd){
  char *z = sqlite3DbSpanDup(db, zStart, zEnd);
  int i;
  if( z ) for(i=0; z[i]; i++) if( sqlite3Isspace(z[i]) ) z[i] = ' ';
  return z;
}

// Assembly:
pushq %rax
callq 0x2c9873
testq %rax, %rax
je 0x2e7ecb
movb (%rax), %sil
testb %sil, %sil
je 0x2e7ecb
movq %rax, %rcx
incq %rcx
leaq 0xe958e(%rip), %rdx     # 0x3d1440
movzbl %sil, %esi
testb $0x1, (%rsi,%rdx)
je 0x2e7ec0
movb $0x20, -0x1(%rcx)
movb (%rcx), %sil
incq %rcx
testb %sil, %sil
jne 0x2e7eb2
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: sqlite3SchemaGet
SQLITE_PRIVATE Schema *sqlite3SchemaGet(sqlite3 *db, Btree *pBt){
  Schema * p;
  if( pBt ){
    p = (Schema *)sqlite3BtreeSchema(pBt, sizeof(Schema), sqlite3SchemaClear);
  }else{
    p = (Schema *)sqlite3DbMallocZero(0, sizeof(Schema));
  }
  if( !p ){
    sqlite3OomFault(db);
  }else if ( 0==p->file_format ){
    sqlite3HashInit(&p->tblHash);
    sqlite3HashInit(&p->idxHash);
    sqlite3HashInit(&p->trigHash);
    sqlite3HashInit(&p->fkeyHash);
    p->enc = SQLITE_UTF8;
  }
  return p;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rsi, %rsi
je 0x2e8b4f
movq (%rsi), %rax
movq 0x8(%rsi), %r14
movq %rax, 0x8(%r14)
movq 0x48(%r14), %rax
testq %rax, %rax
jne 0x2e8b84
movl $0x78, %edi
callq 0x272ae6
testq %rax, %rax
je 0x2e8bab
xorps %xmm0, %xmm0
movups %xmm0, 0x60(%rax)
movups %xmm0, 0x50(%rax)
movups %xmm0, 0x40(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, (%rax)
movq $0x0, 0x70(%rax)
movq %rax, 0x48(%r14)
leaq -0x4b475(%rip), %rcx    # 0x29d6d4
movq %rcx, 0x50(%r14)
jmp 0x2e8b84
movl $0x78, %edi
callq 0x272ae6
testq %rax, %rax
je 0x2e8bbe
xorps %xmm0, %xmm0
movups %xmm0, 0x60(%rax)
movups %xmm0, 0x50(%rax)
movups %xmm0, 0x40(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, (%rax)
movq $0x0, 0x70(%rax)
cmpb $0x0, 0x70(%rax)
jne 0x2e8bc8
xorps %xmm0, %xmm0
movups %xmm0, 0x58(%rax)
movups %xmm0, 0x48(%rax)
movups %xmm0, 0x38(%rax)
movups %xmm0, 0x28(%rax)
movups %xmm0, 0x18(%rax)
movups %xmm0, 0x8(%rax)
movb $0x1, 0x71(%rax)
jmp 0x2e8bc8
movq $0x0, 0x48(%r14)
leaq -0x4b4e6(%rip), %rax    # 0x29d6d4
movq %rax, 0x50(%r14)
movq %rbx, %rdi
callq 0x278b1c
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: isAlterableTable
static int isAlterableTable(Parse *pParse, Table *pTab){
  if( 0==sqlite3StrNICmp(pTab->zName, "sqlite_", 7)
#ifndef SQLITE_OMIT_VIRTUALTABLE
   || ( (pTab->tabFlags & TF_Shadow)!=0
        && sqlite3ReadOnlyShadowTables(pParse->db)
   )
#endif
  ){
    sqlite3ErrorMsg(pParse, "table %s may not be altered", pTab->zName);
    return 1;
  }
  return 0;
}

// Assembly:
pushq %rax
movq (%rsi), %rdx
testq %rdx, %rdx
je 0x2e9f2e
xorl %ecx, %ecx
leaq 0xe740b(%rip), %rax     # 0x3d12e0
leaq 0xed8f7(%rip), %r8      # 0x3d77d3
movzbl (%rdx,%rcx), %r9d
testq %r9, %r9
je 0x2e9f04
movzbl (%r9,%rax), %r9d
movzbl (%rcx,%r8), %r10d
movb (%r10,%rax), %r10b
cmpb %r10b, %r9b
jne 0x2e9f10
incq %rcx
cmpq $0x7, %rcx
jne 0x2e9edc
jmp 0x2e9f19
movzbl (%rcx,%r8), %ecx
movb (%rcx,%rax), %r10b
xorl %r9d, %r9d
movzbl %r10b, %eax
cmpl %eax, %r9d
jne 0x2e9f2e
leaq 0xefa51(%rip), %rsi     # 0x3d9971
xorl %eax, %eax
callq 0x27b48d
movl $0x1, %eax
jmp 0x2e9f52
xorl %eax, %eax
testb $0x10, 0x41(%rsi)
je 0x2e9f52
movq (%rdi), %rcx
testb $0x10, 0x33(%rcx)
je 0x2e9f52
cmpq $0x0, 0x208(%rcx)
jne 0x2e9f52
cmpl $0x0, 0xcc(%rcx)
je 0x2e9f19
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: renameReloadSchema
static void renameReloadSchema(Parse *pParse, int iDb){
  Vdbe *v = pParse->pVdbe;
  if( v ){
    sqlite3ChangeCookie(pParse, iDb);
    sqlite3VdbeAddParseSchemaOp(pParse->pVdbe, iDb, 0);
    if( iDb!=1 ) sqlite3VdbeAddParseSchemaOp(pParse->pVdbe, 1, 0);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x10(%rdi), %rdi
testq %rdi, %rdi
je 0x2e9fa6
movq (%rbx), %rax
movq 0x20(%rax), %rax
movslq %esi, %r14
movq %r14, %rcx
shlq $0x5, %rcx
movq 0x18(%rax,%rcx), %rax
movl (%rax), %r8d
incl %r8d
movl $0x5e, %esi
movl %r14d, %edx
movl $0x1, %ecx
callq 0x2a83e1
movq 0x10(%rbx), %rdi
movl %r14d, %esi
xorl %edx, %edx
callq 0x2c4766
cmpl $0x1, %r14d
jne 0x2e9fae
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x10(%rbx), %rdi
movl $0x1, %esi
xorl %edx, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2c4766
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: renameTestSchema
static void renameTestSchema(Parse *pParse, const char *zDb, int bTemp){
  sqlite3NestedParse(pParse,
      "SELECT 1 "
      "FROM \"%w\"." DFLT_SCHEMA_TABLE " "
      "WHERE name NOT LIKE 'sqliteX_%%' ESCAPE 'X'"
      " AND sql NOT LIKE 'create virtual%%'"
      " AND sqlite_rename_test(%Q, sql, type, name, %d)=NULL ",
      zDb,
      zDb, bTemp
  );

  if( bTemp==0 ){
    sqlite3NestedParse(pParse,
        "SELECT 1 "
        "FROM temp." DFLT_SCHEMA_TABLE " "
        "WHERE name NOT LIKE 'sqliteX_%%' ESCAPE 'X'"
        " AND sql NOT LIKE 'create virtual%%'"
        " AND sqlite_rename_test(%Q, sql, type, name, 1)=NULL ",
        zDb
    );
  }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0xef9b5(%rip), %rsi     # 0x3d998d
movq %rbx, %rdx
movq %rbx, %rcx
movl %ebp, %r8d
xorl %eax, %eax
callq 0x2c461b
testl %ebp, %ebp
je 0x2e9ff1
popq %rbx
popq %r14
popq %rbp
retq
leaq 0xefa3c(%rip), %rsi     # 0x3d9a34
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x2c461b
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: addArgumentToVtab
static void addArgumentToVtab(Parse *pParse){
  if( pParse->sArg.z && pParse->pNewTable ){
    const char *z = (const char*)pParse->sArg.z;
    int n = pParse->sArg.n;
    sqlite3 *db = pParse->db;
    addModuleArgument(pParse, pParse->pNewTable, sqlite3DbStrNDup(db, z, n));
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x168(%rdi), %r15
testq %r15, %r15
je 0x2ea074
movq %rdi, %rbx
movq 0x148(%rdi), %r14
testq %r14, %r14
je 0x2ea074
movslq 0x170(%rbx), %r12
movq (%rbx), %rdi
leaq 0x1(%r12), %rsi
callq 0x282a35
movq %rax, %r13
testq %rax, %rax
je 0x2ea05d
movq %r13, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x17660
movb $0x0, (%r13,%r12)
movq %rbx, %rdi
movq %r14, %rsi
movq %r13, %rdx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x2a9015
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: sqlite3WindowOffsetExpr
static Expr *sqlite3WindowOffsetExpr(Parse *pParse, Expr *pExpr){
  if( 0==sqlite3ExprIsConstant(pExpr) ){
    if( IN_RENAME_OBJECT ) sqlite3RenameExprUnmap(pParse, pExpr);
    sqlite3ExprDelete(pParse->db, pExpr);
    pExpr = sqlite3ExprAlloc(pParse->db, TK_NULL, 0, 0);
  }
  return pExpr;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movw $0x1, 0x24(%rsp)
leaq -0x2970e(%rip), %rax    # 0x2c0987
movq %rax, 0x8(%rsp)
leaq -0x29621(%rip), %rax    # 0x2c0a80
movq %rax, 0x10(%rsp)
movl $0x0, 0x28(%rsp)
testq %rsi, %rsi
je 0x2ea12d
movq %rsi, %rbx
movq %rdi, %r14
movq %rsp, %r15
movq %r15, %rdi
callq 0x2c0a8c
cmpw $0x0, 0x24(%r15)
jne 0x2ea12f
cmpb $0x2, 0x11c(%r14)
jb 0x2ea0e1
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2c98e5
movq (%r14), %rdi
movq %rbx, %rsi
callq 0x2a6164
movq (%r14), %rdi
movl $0x48, %esi
callq 0x282a35
testq %rax, %rax
je 0x2ea12d
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x10(%rax)
movq $0x0, 0x40(%rax)
movb $0x77, (%rax)
movw $0xffff, 0x32(%rax)     # imm = 0xFFFF
movl $0x1, 0x28(%rax)
jmp 0x2ea12f
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: loadExt
static void loadExt(sqlite3_context *context, int argc, sqlite3_value **argv){
  const char *zFile = (const char *)sqlite3_value_text(argv[0]);
  const char *zProc;
  sqlite3 *db = sqlite3_context_db_handle(context);
  char *zErrMsg = 0;

  /* Disallow the load_extension() SQL function unless the SQLITE_LoadExtFunc
  ** flag is set.  See the sqlite3_enable_load_extension() API.
  */
  if( (db->flags & SQLITE_LoadExtFunc)==0 ){
    sqlite3_result_error(context, "not authorized", -1);
    return;
  }

  if( argc==2 ){
    zProc = (const char *)sqlite3_value_text(argv[1]);
  }else{
    zProc = 0;
  }
  if( zFile && sqlite3_load_extension(db, zFile, zProc, &zErrMsg) ){
    sqlite3_result_error(context, zErrMsg, -1);
    sqlite3_free(zErrMsg);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r12
movl %esi, %ebp
movq %rdi, %rbx
movq (%rdx), %rdi
movl $0x1, %esi
callq 0x278305
movq (%rbx), %rdi
movq 0x28(%rdi), %r15
movq $0x0, 0x8(%rsp)
testb $0x2, 0x32(%r15)
jne 0x2ea1bd
movl $0x1, 0x24(%rbx)
leaq 0xed14d(%rip), %rsi     # 0x3d72e8
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x1, %ecx
movq $-0x1, %r8
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x278594
movq %rax, %r14
cmpl $0x2, %ebp
jne 0x2ea1d9
movq 0x8(%r12), %rdi
movl $0x1, %esi
callq 0x278305
movq %rax, %rdx
jmp 0x2ea1db
xorl %edx, %edx
testq %r14, %r14
je 0x2ea223
leaq 0x8(%rsp), %rcx
movq %r15, %rdi
movq %r14, %rsi
callq 0x27ca75
testl %eax, %eax
je 0x2ea223
movq 0x8(%rsp), %rsi
movl $0x1, 0x24(%rbx)
movq (%rbx), %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x1, %ecx
movq $-0x1, %r8
callq 0x278594
movq 0x8(%rsp), %rdi
callq 0x272c00
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: lengthFunc
static void lengthFunc(
  sqlite3_context *context,
  int argc,
  sqlite3_value **argv
){
  assert( argc==1 );
  UNUSED_PARAMETER(argc);
  switch( sqlite3_value_type(argv[0]) ){
    case SQLITE_BLOB:
    case SQLITE_INTEGER:
    case SQLITE_FLOAT: {
      sqlite3_result_int(context, sqlite3_value_bytes(argv[0]));
      break;
    }
    case SQLITE_TEXT: {
      const unsigned char *z = sqlite3_value_text(argv[0]);
      const unsigned char *z0;
      unsigned char c;
      if( z==0 ) return;
      z0 = z;
      while( (c = *z)!=0 ){
        z++;
        if( c>=0xc0 ){
          while( (*z & 0xc0)==0x80 ){ z++; z0++; }
        }
      }
      sqlite3_result_int(context, (int)(z-z0));
      break;
    }
    default: {
      sqlite3_result_null(context);
      break;
    }
  }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq (%rdx), %rdi
movzwl 0x8(%rdi), %eax
andl $0x3f, %eax
leaq 0xe6cc1(%rip), %rcx     # 0x3d13e0
movzbl (%rax,%rcx), %eax
leal -0x1(%rax), %ecx
cmpl $0x2, %ecx
jb 0x2ea735
cmpl $0x3, %eax
je 0x2ea75c
cmpl $0x4, %eax
jne 0x2ea7b2
movl $0x1, %esi
callq 0x278229
movq (%rbx), %rdi
movslq %eax, %rsi
testb $0x24, 0x9(%rdi)
je 0x2ea751
popq %rbx
jmp 0x2929ee
movq %rsi, (%rdi)
movw $0x4, 0x8(%rdi)
jmp 0x2ea7c7
movl $0x1, %esi
callq 0x278305
testq %rax, %rax
je 0x2ea7c7
movb (%rax), %sil
movq %rax, %rcx
testb %sil, %sil
je 0x2ea7c9
leaq 0x1(%rax), %rdx
cmpb $-0x40, %sil
setae %dil
movb 0x1(%rax), %sil
movl %esi, %eax
andb $-0x40, %al
negb %al
seto %al
andb %dil, %al
cmpb $0x1, %al
jne 0x2ea7a8
incq %rcx
movb 0x1(%rdx), %sil
incq %rdx
movl %esi, %eax
andb $-0x40, %al
negb %al
jo 0x2ea796
movq %rdx, %rax
testb %sil, %sil
jne 0x2ea776
jmp 0x2ea7cc
movq (%rbx), %rdi
testb $0x24, 0x9(%rdi)
je 0x2ea7c1
popq %rbx
jmp 0x2917ab
movw $0x1, 0x8(%rdi)
popq %rbx
retq
movq %rax, %rdx
subl %ecx, %edx
movq (%rbx), %rdi
movslq %edx, %rsi
jmp 0x2ea745
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: printfFunc
static void printfFunc(
  sqlite3_context *context,
  int argc,
  sqlite3_value **argv
){
  PrintfArguments x;
  StrAccum str;
  const char *zFormat;
  int n;
  sqlite3 *db = sqlite3_context_db_handle(context);

  if( argc>=1 && (zFormat = (const char*)sqlite3_value_text(argv[0]))!=0 ){
    x.nArg = argc-1;
    x.nUsed = 0;
    x.apArg = argv+1;
    sqlite3StrAccumInit(&str, db, 0, 0, db->aLimit[SQLITE_LIMIT_LENGTH]);
    str.printfFlags = SQLITE_PRINTF_SQLFUNC;
    sqlite3_str_appendf(&str, zFormat, &x);
    n = str.nChar;
    sqlite3_result_text(context, sqlite3StrAccumFinish(&str), n,
                        SQLITE_DYNAMIC);
  }
}

// Assembly:
testl %esi, %esi
jle 0x2eab0e
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %rbx
movq (%rdi), %rax
movq 0x28(%rax), %r15
movq (%rdx), %rdi
movl $0x1, %esi
callq 0x278305
testq %rax, %rax
je 0x2eab04
decl %ebp
leaq 0x8(%rsp), %rdx
movl %ebp, (%rdx)
xorl %ecx, %ecx
movl %ecx, 0x4(%rdx)
addq $0x8, %r14
movq %r14, 0x8(%rdx)
movl 0x7c(%r15), %esi
leaq 0x18(%rsp), %r14
movq $0x0, 0x8(%r14)
movq %r15, (%r14)
movl %ecx, 0x10(%r14)
movl %esi, 0x14(%r14)
movl %ecx, 0x18(%r14)
movw $0x200, 0x1c(%r14)      # imm = 0x200
movq %r14, %rdi
movq %rax, %rsi
xorl %eax, %eax
callq 0x274dfa
movl 0x18(%r14), %ebp
movq %r14, %rdi
callq 0x2749f9
leaq -0x71fd6(%rip), %r8     # 0x278b1c
movq %rbx, %rdi
movq %rax, %rsi
movl %ebp, %edx
movl $0x1, %ecx
callq 0x278487
addq $0x38, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: charFunc
static void charFunc(
  sqlite3_context *context,
  int argc,
  sqlite3_value **argv
){
  unsigned char *z, *zOut;
  int i;
  zOut = z = sqlite3_malloc64( argc*4+1 );
  if( z==0 ){
    sqlite3_result_error_nomem(context);
    return;
  }
  for(i=0; i<argc; i++){
    sqlite3_int64 x;
    unsigned c;
    x = sqlite3_value_int64(argv[i]);
    if( x<0 || x>0x10ffff ) x = 0xfffd;
    c = (unsigned)(x & 0x1fffff);
    if( c<0x00080 ){
      *zOut++ = (u8)(c&0xFF);
    }else if( c<0x00800 ){
      *zOut++ = 0xC0 + (u8)((c>>6)&0x1F);
      *zOut++ = 0x80 + (u8)(c & 0x3F);
    }else if( c<0x10000 ){
      *zOut++ = 0xE0 + (u8)((c>>12)&0x0F);
      *zOut++ = 0x80 + (u8)((c>>6) & 0x3F);
      *zOut++ = 0x80 + (u8)(c & 0x3F);
    }else{
      *zOut++ = 0xF0 + (u8)((c>>18) & 0x07);
      *zOut++ = 0x80 + (u8)((c>>12) & 0x3F);
      *zOut++ = 0x80 + (u8)((c>>6) & 0x3F);
      *zOut++ = 0x80 + (u8)(c & 0x3F);
    }                                                    \
  }
  sqlite3_result_text64(context, (char*)z, zOut-z, sqlite3_free, SQLITE_UTF8);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movl %esi, %r13d
movq %rdi, %rbx
callq 0x2725a7
testl %eax, %eax
je 0x2eab95
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x278af1
leal 0x1(,%r13,4), %eax
movslq %eax, %rdi
callq 0x272ae6
testq %rax, %rax
je 0x2eab7f
movq %rax, (%rsp)
movq %rax, %r12
testl %r13d, %r13d
jle 0x2eac89
movl %r13d, %r13d
xorl %ebp, %ebp
movl $0xfffd, %r15d          # imm = 0xFFFD
movq (%rsp), %r12
movq (%r14,%rbp,8), %rdi
callq 0x27828c
movl %eax, %ecx
andl $0x1fffff, %ecx         # imm = 0x1FFFFF
cmpq $0x110000, %rax         # imm = 0x110000
cmovael %r15d, %ecx
cmpl $0x7f, %ecx
ja 0x2eabf5
movb %cl, (%r12)
incq %r12
jmp 0x2eac7d
movl %ecx, %eax
cmpl $0x7ff, %ecx            # imm = 0x7FF
ja 0x2eac19
shrl $0x6, %eax
orb $-0x40, %al
movb %al, (%r12)
andb $0x3f, %cl
orb $-0x80, %cl
movb %cl, 0x1(%r12)
addq $0x2, %r12
jmp 0x2eac7d
cmpl $0xffff, %ecx           # imm = 0xFFFF
ja 0x2eac49
shrl $0xc, %eax
orb $-0x20, %al
movb %al, (%r12)
movl %ecx, %eax
shrl $0x6, %eax
andb $0x3f, %al
orb $-0x80, %al
movb %al, 0x1(%r12)
andb $0x3f, %cl
orb $-0x80, %cl
movb %cl, 0x2(%r12)
addq $0x3, %r12
jmp 0x2eac7d
shrl $0x12, %eax
orb $-0x10, %al
movb %al, (%r12)
movl %ecx, %eax
shrl $0xc, %eax
andb $0x3f, %al
orb $-0x80, %al
movb %al, 0x1(%r12)
movl %ecx, %eax
shrl $0x6, %eax
andb $0x3f, %al
orb $-0x80, %al
movb %al, 0x2(%r12)
andb $0x3f, %cl
orb $-0x80, %cl
movb %cl, 0x3(%r12)
addq $0x4, %r12
incq %rbp
cmpq %rbp, %r13
jne 0x2eabc9
movq (%rsp), %rsi
subq %rsi, %r12
leaq -0x78097(%rip), %rcx    # 0x272c00
movq %rbx, %rdi
movq %r12, %rdx
movl $0x1, %r8d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x27891d
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: absFunc
static void absFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
  assert( argc==1 );
  UNUSED_PARAMETER(argc);
  switch( sqlite3_value_type(argv[0]) ){
    case SQLITE_INTEGER: {
      i64 iVal = sqlite3_value_int64(argv[0]);
      if( iVal<0 ){
        if( iVal==SMALLEST_INT64 ){
          /* IMP: R-31676-45509 If X is the integer -9223372036854775808
          ** then abs(X) throws an integer overflow error since there is no
          ** equivalent positive 64-bit two complement value. */
          sqlite3_result_error(context, "integer overflow", -1);
          return;
        }
        iVal = -iVal;
      }
      sqlite3_result_int64(context, iVal);
      break;
    }
    case SQLITE_NULL: {
      /* IMP: R-37434-19929 Abs(X) returns NULL if X is NULL. */
      sqlite3_result_null(context);
      break;
    }
    default: {
      /* Because sqlite3_value_double() returns 0.0 if the argument is not
      ** something that can be converted into a number, we have:
      ** IMP: R-01992-00519 Abs(X) returns 0.0 if X is a string or blob
      ** that cannot be converted to a numeric value.
      */
      double rVal = sqlite3_value_double(argv[0]);
      if( rVal<0 ) rVal = -rVal;
      sqlite3_result_double(context, rVal);
      break;
    }
  }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq (%rdx), %rdi
movzwl 0x8(%rdi), %eax
andl $0x3f, %eax
leaq 0xe6715(%rip), %rcx     # 0x3d13e0
movzbl (%rax,%rcx), %eax
cmpl $0x5, %eax
je 0x2ead10
cmpl $0x1, %eax
jne 0x2ead1f
callq 0x27828c
testq %rax, %rax
jns 0x2ead41
negq %rax
jno 0x2ead41
movl $0x1, 0x24(%rbx)
movq (%rbx), %rdi
leaq 0xef3a3(%rip), %rsi     # 0x3da09c
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x1, %ecx
movq $-0x1, %r8
popq %rbx
jmp 0x278594
movq (%rbx), %rdi
testb $0x24, 0x9(%rdi)
je 0x2ead53
popq %rbx
jmp 0x2917ab
callq 0x278267
movapd 0x64d24(%rip), %xmm1    # 0x34fa50
xorpd %xmm0, %xmm1
maxsd %xmm0, %xmm1
movq (%rbx), %rdi
movapd %xmm1, %xmm0
popq %rbx
jmp 0x27851c
movq (%rbx), %rdi
testb $0x24, 0x9(%rdi)
je 0x2ead5b
movq %rax, %rsi
popq %rbx
jmp 0x2929ee
movw $0x1, 0x8(%rdi)
jmp 0x2ead64
movq %rax, (%rdi)
movw $0x4, 0x8(%rdi)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: roundFunc
static void roundFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
  int n = 0;
  double r;
  char *zBuf;
  assert( argc==1 || argc==2 );
  if( argc==2 ){
    if( SQLITE_NULL==sqlite3_value_type(argv[1]) ) return;
    n = sqlite3_value_int(argv[1]);
    if( n>30 ) n = 30;
    if( n<0 ) n = 0;
  }
  if( sqlite3_value_type(argv[0])==SQLITE_NULL ) return;
  r = sqlite3_value_double(argv[0]);
  /* If Y==0 and X will fit in a 64-bit int,
  ** handle the rounding directly,
  ** otherwise use printf.
  */
  if( r<-4503599627370496.0 || r>+4503599627370496.0 ){
    /* The value has no fractional part so there is nothing to round */
  }else if( n==0 ){
    r = (double)((sqlite_int64)(r+(r<0?-0.5:+0.5)));
  }else{
    zBuf = sqlite3_mprintf("%.*f",n,r);
    if( zBuf==0 ){
      sqlite3_result_error_nomem(context);
      return;
    }
    sqlite3AtoF(zBuf, &r, sqlite3Strlen30(zBuf), SQLITE_UTF8);
    sqlite3_free(zBuf);
  }
  sqlite3_result_double(context, r);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movabsq $-0x5555555555555556, %r15 # imm = 0xAAAAAAAAAAAAAAAA
xorl %ebp, %ebp
cmpl $0x2, %esi
jne 0x2eadac
movq 0x8(%r14), %rdi
movl 0x8(%rdi), %eax
btq %rax, %r15
jb 0x2eae51
callq 0x27828c
cmpl $0x1e, %eax
movl $0x1e, %ecx
cmovll %eax, %ecx
xorl %ebp, %ebp
testl %ecx, %ecx
cmovgl %ecx, %ebp
movq (%r14), %rdi
movl 0x8(%rdi), %eax
btq %rax, %r15
jb 0x2eae51
callq 0x278267
movsd %xmm0, (%rsp)
movapd 0x80fd2(%rip), %xmm1    # 0x36bda0
andpd %xmm0, %xmm1
ucomisd 0xeaa1e(%rip), %xmm1    # 0x3d57f8
ja 0x2eae82
testl %ebp, %ebp
je 0x2eae5c
leaq 0x86b39(%rip), %rdi     # 0x371924
movl %ebp, %esi
movb $0x1, %al
callq 0x274b53
testq %rax, %rax
je 0x2eae94
movq %rax, %r14
movq %rax, %rdi
callq 0x172f0
andl $0x3fffffff, %eax       # imm = 0x3FFFFFFF
movq %rsp, %rsi
movq %r14, %rdi
movl %eax, %edx
movl $0x1, %ecx
callq 0x292288
cmpl $0x0, 0x1d083a(%rip)    # 0x4bb660
je 0x2eae41
movq %r14, %rdi
callq *0x1d0867(%rip)         # 0x4bb698
cltq
subq %rax, 0x1d3cbe(%rip)    # 0x4beaf8
decq 0x1d3cff(%rip)          # 0x4beb40
movq %r14, %rdi
callq *0x1d083e(%rip)         # 0x4bb688
movsd (%rsp), %xmm0
jmp 0x2eae82
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
xorpd %xmm1, %xmm1
xorl %eax, %eax
ucomisd %xmm0, %xmm1
seta %al
leaq 0xea8f0(%rip), %rcx     # 0x3d5760
addsd (%rcx,%rax,8), %xmm0
cvttsd2si %xmm0, %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
movq (%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x27851c
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x278af1
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: randomBlob
static void randomBlob(
  sqlite3_context *context,
  int argc,
  sqlite3_value **argv
){
  sqlite3_int64 n;
  unsigned char *p;
  assert( argc==1 );
  UNUSED_PARAMETER(argc);
  n = sqlite3_value_int64(argv[0]);
  if( n<1 ){
    n = 1;
  }
  p = contextMalloc(context, n);
  if( p ){
    sqlite3_randomness(n, p);
    sqlite3_result_blob(context, (char*)p, n, sqlite3_free);
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rdx), %rdi
callq 0x27828c
cmpq $0x2, %rax
movl $0x1, %r14d
cmovgeq %rax, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2ec0d6
testq %rax, %rax
je 0x2eb137
movq %rax, %r15
movl %r14d, %edi
movq %rax, %rsi
callq 0x274e7e
leaq -0x78522(%rip), %r8     # 0x272c00
movq %rbx, %rdi
movq %r15, %rsi
movl %r14d, %edx
xorl %ecx, %ecx
popq %rbx
popq %r14
popq %r15
jmp 0x278487
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: zeroblobFunc
static void zeroblobFunc(
  sqlite3_context *context,
  int argc,
  sqlite3_value **argv
){
  i64 n;
  int rc;
  assert( argc==1 );
  UNUSED_PARAMETER(argc);
  n = sqlite3_value_int64(argv[0]);
  if( n<0 ) n = 0;
  rc = sqlite3_result_zeroblob64(context, n); /* IMP: R-00293-64994 */
  if( rc ){
    sqlite3_result_error_code(context, rc);
  }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq (%rdx), %rdi
callq 0x27828c
xorl %esi, %esi
testq %rax, %rax
cmovgq %rax, %rsi
movq (%rbx), %rdi
movq 0x28(%rdi), %rax
movslq 0x7c(%rax), %rax
cmpq %rax, %rsi
jbe 0x2eb7d7
movq %rbx, %rdi
movl $0x12, %esi
popq %rbx
jmp 0x278a51
popq %rbx
jmp 0x2789ee
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: sumInverse
static void sumInverse(sqlite3_context *context, int argc, sqlite3_value**argv){
  SumCtx *p;
  int type;
  assert( argc==1 );
  UNUSED_PARAMETER(argc);
  p = sqlite3_aggregate_context(context, sizeof(*p));
  type = sqlite3_value_numeric_type(argv[0]);
  /* p is always non-NULL because sumStep() will have been called first
  ** to initialize it */
  if( ALWAYS(p) && type!=SQLITE_NULL ){
    assert( p->cnt>0 );
    p->cnt--;
    assert( type==SQLITE_INTEGER || p->approx );
    if( type==SQLITE_INTEGER && p->approx==0 ){
      i64 v = sqlite3_value_int64(argv[0]);
      p->rSum -= v;
      p->iSum -= v;
    }else{
      p->rSum -= sqlite3_value_double(argv[0]);
    }
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq 0x10(%rdi), %rax
testb $0x20, 0x9(%rax)
jne 0x2ebba3
movl $0x20, %esi
callq 0x2799b4
movq %rax, %rbx
jmp 0x2ebba7
movq 0x10(%rax), %rbx
movq (%r14), %rdi
callq 0x27aac2
testq %rbx, %rbx
setne %cl
cmpl $0x5, %eax
setne %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x2ebbe5
decq 0x10(%rbx)
cmpl $0x1, %eax
jne 0x2ebbd1
cmpb $0x0, 0x19(%rbx)
je 0x2ebbed
movq (%r14), %rdi
callq 0x278267
movsd (%rbx), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq (%r14), %rdi
callq 0x27828c
cvtsi2sd %rax, %xmm0
movsd (%rbx), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%rbx)
subq %rax, 0x8(%rbx)
jmp 0x2ebbe5
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: countInverse
static void countInverse(sqlite3_context *ctx, int argc, sqlite3_value **argv){
  CountCtx *p;
  p = sqlite3_aggregate_context(ctx, sizeof(*p));
  /* p is always non-NULL since countStep() will have been called first */
  if( (argc==0 || SQLITE_NULL!=sqlite3_value_type(argv[0])) && ALWAYS(p) ){
    p->n--;
#ifdef SQLITE_DEBUG
    p->bInverse = 1;
#endif
  }
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %esi, %ebp
movq 0x10(%rdi), %rax
testb $0x20, 0x9(%rax)
jne 0x2ebd32
movl $0x8, %esi
callq 0x2799b4
jmp 0x2ebd36
movq 0x10(%rax), %rax
testl %ebp, %ebp
je 0x2ebd50
movq (%rbx), %rcx
movl 0x8(%rcx), %ecx
movabsq $0x5555555555555555, %rdx # imm = 0x5555555555555555
btq %rcx, %rdx
jae 0x2ebd58
testq %rax, %rax
je 0x2ebd58
decq (%rax)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: groupConcatStep
static void groupConcatStep(
  sqlite3_context *context,
  int argc,
  sqlite3_value **argv
){
  const char *zVal;
  StrAccum *pAccum;
  const char *zSep;
  int nVal, nSep;
  assert( argc==1 || argc==2 );
  if( sqlite3_value_type(argv[0])==SQLITE_NULL ) return;
  pAccum = (StrAccum*)sqlite3_aggregate_context(context, sizeof(*pAccum));

  if( pAccum ){
    sqlite3 *db = sqlite3_context_db_handle(context);
    int firstTerm = pAccum->mxAlloc==0;
    pAccum->mxAlloc = db->aLimit[SQLITE_LIMIT_LENGTH];
    if( !firstTerm ){
      if( argc==2 ){
        zSep = (char*)sqlite3_value_text(argv[1]);
        nSep = sqlite3_value_bytes(argv[1]);
      }else{
        zSep = ",";
        nSep = 1;
      }
      if( zSep ) sqlite3_str_append(pAccum, zSep, nSep);
    }
    zVal = (char*)sqlite3_value_text(argv[0]);
    nVal = sqlite3_value_bytes(argv[0]);
    if( zVal ) sqlite3_str_append(pAccum, zVal, nVal);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq (%rdx), %rax
movl 0x8(%rax), %eax
movabsq $-0x5555555555555556, %rcx # imm = 0xAAAAAAAAAAAAAAAA
btq %rax, %rcx
jb 0x2ebe43
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r15
movq 0x10(%rdi), %rax
testb $0x20, 0x9(%rax)
jne 0x2ebda4
movq %r15, %rdi
movl $0x20, %esi
callq 0x2799b4
movq %rax, %r14
jmp 0x2ebda8
movq 0x10(%rax), %r14
testq %r14, %r14
je 0x2ebe43
movq (%r15), %rax
movq 0x28(%rax), %rax
cmpl $0x0, 0x14(%r14)
movl 0x7c(%rax), %eax
movl %eax, 0x14(%r14)
je 0x2ebe0a
cmpl $0x2, %ebp
jne 0x2ebdf3
movq 0x8(%rbx), %rdi
movl $0x1, %esi
callq 0x278305
movq %rax, %r15
movq 0x8(%rbx), %rdi
movl $0x1, %esi
callq 0x278229
testq %r15, %r15
je 0x2ebe0a
movl %eax, %edx
jmp 0x2ebdff
movl $0x1, %edx
leaq 0xb533d(%rip), %r15     # 0x3a113c
movq %r14, %rdi
movq %r15, %rsi
callq 0x274722
movq (%rbx), %rdi
movl $0x1, %esi
callq 0x278305
movq %rax, %r15
movq (%rbx), %rdi
movl $0x1, %esi
callq 0x278229
testq %r15, %r15
je 0x2ebe43
movq %r14, %rdi
movq %r15, %rsi
movl %eax, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x274722
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: groupConcatFinalize
static void groupConcatFinalize(sqlite3_context *context){
  StrAccum *pAccum;
  pAccum = sqlite3_aggregate_context(context, 0);
  if( pAccum ){
    if( pAccum->accError==SQLITE_TOOBIG ){
      sqlite3_result_error_toobig(context);
    }else if( pAccum->accError==SQLITE_NOMEM ){
      sqlite3_result_error_nomem(context);
    }else{
      sqlite3_result_text(context, sqlite3StrAccumFinish(pAccum), -1,
                          sqlite3_free);
    }
  }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %rax
testb $0x20, 0x9(%rax)
jne 0x2ebe68
movq %rbx, %rdi
xorl %esi, %esi
callq 0x2799b4
jmp 0x2ebe6c
movq 0x10(%rax), %rax
testq %rax, %rax
je 0x2ebea3
movzbl 0x1c(%rax), %ecx
cmpl $0x7, %ecx
je 0x2ebea5
cmpl $0x12, %ecx
jne 0x2ebeae
movl $0x12, 0x24(%rbx)
movq (%rbx), %rdi
leaq 0xe9a6a(%rip), %rsi     # 0x3d58fa
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x1, %ecx
xorl %r8d, %r8d
popq %rbx
jmp 0x278594
popq %rbx
retq
movq %rbx, %rdi
popq %rbx
jmp 0x278af1
movq %rax, %rdi
callq 0x2749f9
leaq -0x792bd(%rip), %r8     # 0x272c00
movq %rbx, %rdi
movq %rax, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x1, %ecx
popq %rbx
jmp 0x278487