LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/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 0x2f05b5
movq %rsi, %r14
movq %rdi, %rbx
movzwl 0x60(%rdi), %eax
cmpw 0x60(%rsi), %ax
jne 0x2f05b5
movb 0x62(%rbx), %al
cmpb 0x62(%r14), %al
jne 0x2f05b5
cmpw $0x0, 0x5e(%r14)
je 0x2f0593
xorl %r12d, %r12d
leaq 0xea587(%rip), %r13     # 0x3daa60
movq 0x8(%r14), %rax
movzwl (%rax,%r12,2), %eax
movq 0x8(%rbx), %rcx
cmpw (%rcx,%r12,2), %ax
jne 0x2f05b2
cmpw $-0x2, %ax
jne 0x2f052c
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 0x2ca527
testl %eax, %eax
jne 0x2f05b5
movq 0x38(%r14), %rax
movb (%rax,%r12), %al
movq 0x38(%rbx), %rcx
cmpb (%rcx,%r12), %al
jne 0x2f05b2
movq 0x40(%r14), %rax
movq (%rax,%r12,8), %rax
movq 0x40(%rbx), %rcx
movq (%rcx,%r12,8), %rcx
testq %rax, %rax
je 0x2f057d
testq %rcx, %rcx
je 0x2f05b2
xorl %edx, %edx
movzbl (%rax,%rdx), %esi
movzbl (%rcx,%rdx), %edi
cmpb %dil, %sil
jne 0x2f056e
testq %rsi, %rsi
jne 0x2f0578
jmp 0x2f0582
movb (%rsi,%r13), %sil
cmpb (%rdi,%r13), %sil
jne 0x2f05b2
incq %rdx
jmp 0x2f055a
testq %rcx, %rcx
jne 0x2f05b2
incq %r12
movzwl 0x5e(%r14), %eax
cmpq %rax, %r12
jb 0x2f04d9
movq 0x48(%r14), %rsi
movq 0x48(%rbx), %rdx
xorl %edi, %edi
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x2ca527
xorl %r15d, %r15d
testl %eax, %eax
sete %r15b
jmp 0x2f05b5
xorl %r15d, %r15d
movl %r15d, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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 %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movl $0x0, 0xc(%rsp)
movq 0x10(%rdi), %rax
testq %rax, %rax
je 0x2f05e6
movl 0x28(%rax), %eax
testl %eax, %eax
jle 0x2f05e6
movl %eax, 0xc(%rsp)
movq 0x18(%rbx), %rax
testq %rax, %rax
je 0x2f05ff
movl 0x28(%rax), %eax
movl 0xc(%rsp), %ecx
cmpl %ecx, %eax
cmovgl %eax, %ecx
movl %ecx, 0xc(%rsp)
movl 0x4(%rbx), %eax
btl $0xb, %eax
movq 0x20(%rbx), %rdi
jb 0x2f0677
testq %rdi, %rdi
je 0x2f068a
movslq (%rdi), %rdx
testq %rdx, %rdx
jle 0x2f0649
movl 0xc(%rsp), %ecx
shlq $0x3, %rdx
leaq (%rdx,%rdx,2), %rdx
xorl %esi, %esi
movq 0x8(%rdi,%rsi), %r8
testq %r8, %r8
je 0x2f063c
movl 0x28(%r8), %r8d
cmpl %ecx, %r8d
cmovgl %r8d, %ecx
addq $0x18, %rsi
cmpq %rsi, %rdx
jne 0x2f0627
movl %ecx, 0xc(%rsp)
movslq (%rdi), %rcx
testq %rcx, %rcx
jle 0x2f0683
shlq $0x3, %rcx
leaq (%rcx,%rcx,2), %rdx
xorl %esi, %esi
xorl %ecx, %ecx
movq 0x8(%rdi,%rsi), %r8
orl 0x4(%r8), %ecx
addq $0x18, %rsi
cmpq %rsi, %rdx
jne 0x2f065d
andl $0x200104, %ecx         # imm = 0x200104
jmp 0x2f0685
leaq 0xc(%rsp), %rsi
callq 0x2dd178
jmp 0x2f068a
xorl %ecx, %ecx
orl %eax, %ecx
movl %ecx, 0x4(%rbx)
movl 0xc(%rsp), %eax
incl %eax
movl %eax, 0x28(%rbx)
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x2b2353
testq %r15, %r15
je 0x2f0765
movzbl 0xa(%r14), %eax
imulq $0x38, %r15, %r14
leaq 0x1d1ba9(%rip), %rcx    # 0x4c22d0
leaq (%rcx,%rax,8), %r15
xorl %r12d, %r12d
movq (%rbx), %rax
cmpb $0x0, 0x61(%rax)
jne 0x2f0756
movq (%r15), %rsi
movq 0x98(%rbx), %rdi
addq %r12, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x281f27
addq $0x38, %r12
addq $0x8, %r15
cmpq %r12, %r14
jne 0x2f072e
jmp 0x2f076e
movq (%rbx), %rax
cmpb $0x0, 0x61(%rax)
je 0x2f077a
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 0x281f27
// File: /workspace/github_c_makefile_star2_O1/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
subq $0x18, %rsp
movl %esi, 0x4(%rsp)
movq %rdi, %r14
movzbl (%rdi), %eax
addq $-0x3a, %rax
cmpq $-0xa, %rax
jae 0x2f0b2b
movl %edx, (%rsp)
movq %r14, %rdi
callq 0x172f0
movq %rax, %r15
andl $0x3fffffff, %r15d      # imm = 0x3FFFFFFF
xorl %r13d, %r13d
leaq 0xee490(%rip), %r12     # 0x3def58
leaq 0xee481(%rip), %rbx     # 0x3def50
leaq 0xee06a(%rip), %rbp     # 0x3deb40
movl $0xfffffff8, %eax       # imm = 0xFFFFFFF8
addq $0x6, %rax
movq %rax, 0x8(%rsp)
movzbl (%r13,%r12), %eax
cmpl %eax, %r15d
jne 0x2f0b1d
movzbl (%r13,%rbx), %edi
addq %rbp, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq 0x27e951
testl %eax, %eax
jne 0x2f0b1d
cmpl $0x0, 0x4(%rsp)
je 0x2f0b52
movl $0xfffffff8, %eax       # imm = 0xFFFFFFF8
addq %r13, %rax
cmpq 0x8(%rsp), %rax
jb 0x2f0b52
incq %r13
cmpq $0x8, %r13
jne 0x2f0ae4
movl (%rsp), %eax
jmp 0x2f0b43
leaq 0x14(%rsp), %rbx
movl $0x0, (%rbx)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2afbb4
movb (%rbx), %al
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xee407(%rip), %rax     # 0x3def60
movb (%r13,%rax), %al
jmp 0x2f0b43
// File: /workspace/github_c_makefile_star2_O1/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 0x2f0bc2
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 0x2f0c14
cmpl $0x73, %eax
jne 0x2f0c9b
movl (%rsp), %ecx
cmpq $0x28, %rcx
ja 0x2f0c2d
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x8, %ecx
movl %ecx, (%rsp)
jmp 0x2f0c3b
movl (%rsp), %ecx
cmpq $0x28, %rcx
ja 0x2f0c6f
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x8, %ecx
movl %ecx, (%rsp)
jmp 0x2f0c7d
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %r13
movl $0x48, %esi
testq %r13, %r13
je 0x2f0c4d
movl $0x73, %esi
leal (%r15,%r12), %ecx
movq %rbx, %rdi
xorl %edx, %edx
xorl %r8d, %r8d
callq 0x2b200c
movq %rbx, %rdi
movl %eax, %esi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0x285198
jmp 0x2f0c93
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 0x2b200c
incq %r12
jmp 0x2f0be8
testl %eax, %eax
jne 0x2f0cb5
movq %rbx, %rdi
movl $0x50, %esi
movl %r15d, %edx
movl %r12d, %ecx
xorl %r8d, %r8d
callq 0x2b200c
addq $0xd0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x2f0d91
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 0xf1c80(%rip), %r12     # 0x3e296b
cmpq $0x0, 0x18(%r14)
je 0x2f0d76
movl 0x4(%r14), %r10d
testl %ebx, %ebx
jne 0x2f0d08
movl %r10d, %eax
andl $0x40000, %eax          # imm = 0x40000
jne 0x2f0d76
cmpq $0x0, 0x28(%r14)
leaq 0xabd1d(%rip), %r9      # 0x39ca31
jne 0x2f0d2d
cmpq $0x0, 0x20(%r14)
leaq 0x7abea(%rip), %r9      # 0x36b90c
leaq 0x73a8a(%rip), %rax     # 0x3647b3
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 0x1d20c7(%rip), %r10    # 0x4c2e30
pushq (%r10,%r11,8)
callq 0x2f0b60
addq $0x20, %rsp
movq 0x10(%r14), %r14
testq %r14, %r14
jne 0x2f0ceb
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0xe9e0b(%rip), %rcx     # 0x3dabbc
leaq 0xedda1(%rip), %r15     # 0x3deb59
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 0xef83f(%rip), %r14     # 0x3e061d
leaq 0xe6(%rip), %r12        # 0x2f0ecb
movq %r14, %rsi
movl $0x2, %edx
movl $0x1, %ecx
movq %r15, %r8
movq %r12, %r9
callq 0x28955d
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 0x28955d
movq %rbx, %rdi
movq %r14, %rsi
movl $0x2, %edx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x289854
orl %ebp, 0x4(%rax)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x3, %edx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x289854
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_O1/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 0x2b200c
movl 0x90(%rbx), %ecx
addl $0x2, %ecx
movq %rbx, %rdi
movl $0x30, %esi
movl $0x1, %edx
movl $0x1, %r8d
callq 0x2b200c
movl %eax, %ebp
movq %rbx, %rdi
movl $0x44, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x2b200c
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x283569
movq %rax, %r13
testq %rax, %rax
je 0x2f1129
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 0x2d30c7
movq %r15, 0x18(%r13)
movl 0xc(%rsp), %eax
movb %al, (%r13)
movq %rbp, %rdi
movq %r12, %rsi
movq 0x10(%rsp), %rdx
callq 0x2f113b
movq %rax, 0x48(%r13)
cmpb $0x2, 0x11c(%r14)
jb 0x2f1129
movq 0x18(%r13), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x2bb62e
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_O1/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 0x2d311d
testq %rax, %rax
je 0x2f1174
movb (%rax), %sil
testb %sil, %sil
je 0x2f1174
movq %rax, %rcx
incq %rcx
leaq 0xe9a65(%rip), %rdx     # 0x3dabc0
movzbl %sil, %esi
testb $0x1, (%rsi,%rdx)
je 0x2f1169
movb $0x20, -0x1(%rcx)
movb (%rcx), %sil
incq %rcx
testb %sil, %sil
jne 0x2f115b
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/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, %r14
testq %rsi, %rsi
je 0x2f1e3f
leaq -0x4aeab(%rip), %rdx    # 0x2a6f82
movq %rsi, %rdi
movl $0x78, %esi
callq 0x28f7d0
movq %rax, %rbx
jmp 0x2f1e77
movl $0x78, %edi
callq 0x27c381
movq %rax, %rbx
testq %rax, %rax
je 0x2f1e77
xorps %xmm0, %xmm0
movups %xmm0, 0x60(%rbx)
movups %xmm0, 0x50(%rbx)
movups %xmm0, 0x40(%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x10(%rbx)
movups %xmm0, (%rbx)
movq $0x0, 0x70(%rbx)
testq %rbx, %rbx
je 0x2f1ea3
cmpb $0x0, 0x70(%rbx)
jne 0x2f1eab
xorps %xmm0, %xmm0
movups %xmm0, 0x58(%rbx)
movups %xmm0, 0x48(%rbx)
movups %xmm0, 0x38(%rbx)
movups %xmm0, 0x28(%rbx)
movups %xmm0, 0x18(%rbx)
movups %xmm0, 0x8(%rbx)
movb $0x1, 0x71(%rbx)
jmp 0x2f1eab
movq %r14, %rdi
callq 0x2824bb
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/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 %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %r14
movq (%rsi), %rbx
leaq 0xedd6f(%rip), %rsi     # 0x3e0f28
movq %rbx, %rdi
movl $0x7, %edx
callq 0x27e951
testl %eax, %eax
je 0x2f31ef
xorl %eax, %eax
testb $0x10, 0x41(%r15)
je 0x2f3208
movq (%r14), %rcx
testb $0x10, 0x33(%rcx)
je 0x2f3208
cmpq $0x0, 0x208(%rcx)
jne 0x2f3208
cmpl $0x0, 0xcc(%rcx)
jne 0x2f3208
leaq 0xefed0(%rip), %rsi     # 0x3e30c6
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x284eb8
movl $0x1, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x2f3260
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 0x2b200c
movq 0x10(%rbx), %rdi
movl %r14d, %esi
xorl %edx, %edx
callq 0x2cdedf
cmpl $0x1, %r14d
jne 0x2f3268
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 0x2cdedf
// File: /workspace/github_c_makefile_star2_O1/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 0xefe50(%rip), %rsi     # 0x3e30e2
movq %rbx, %rdx
movq %rbx, %rcx
movl %ebp, %r8d
xorl %eax, %eax
callq 0x2cdd65
testl %ebp, %ebp
je 0x2f32ab
popq %rbx
popq %r14
popq %rbp
retq
leaq 0xefed7(%rip), %rsi     # 0x3e3189
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x2cdd65
// File: /workspace/github_c_makefile_star2_O1/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 0x2f332e
movq %rdi, %rbx
movq 0x148(%rdi), %r14
testq %r14, %r14
je 0x2f332e
movslq 0x170(%rbx), %r12
movq (%rbx), %rdi
leaq 0x1(%r12), %rsi
callq 0x28c518
movq %rax, %r13
testq %rax, %rax
je 0x2f3317
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 0x2b2c50
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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 %r14
pushq %rbx
subq $0x38, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movw $0x1, 0x2c(%rsp)
leaq -0x29230(%rip), %rax    # 0x2ca123
movq %rax, 0x10(%rsp)
leaq -0x2915a(%rip), %rax    # 0x2ca205
movq %rax, 0x18(%rsp)
movl $0x0, 0x30(%rsp)
testq %rsi, %rsi
je 0x2f337e
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x2ca211
cmpw $0x0, 0x2c(%rsp)
jne 0x2f33ea
cmpb $0x2, 0x11c(%r14)
jb 0x2f339b
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2d318f
testq %rbx, %rbx
je 0x2f33ab
movq (%r14), %rdi
movq %rbx, %rsi
callq 0x2afd54
movq (%r14), %rdi
movl $0x48, %esi
callq 0x28c518
movq %rax, %rbx
testq %rax, %rax
je 0x2f33ea
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x10(%rbx)
movq $0x0, 0x40(%rbx)
movb $0x77, (%rbx)
movw $0xffff, 0x32(%rbx)     # imm = 0xFFFF
movl $0x1, 0x28(%rbx)
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x281c96
movq (%rbx), %rdi
movq 0x28(%rdi), %r15
movq $0x0, 0x8(%rsp)
testb $0x2, 0x32(%r15)
jne 0x2f3476
movl $0x1, 0x24(%rbx)
leaq 0xed5e9(%rip), %rsi     # 0x3e0a3d
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 0x281f27
movq %rax, %r14
cmpl $0x2, %ebp
jne 0x2f3492
movq 0x8(%r12), %rdi
movl $0x1, %esi
callq 0x281c96
movq %rax, %rdx
jmp 0x2f3494
xorl %edx, %edx
testq %r14, %r14
je 0x2f34dc
leaq 0x8(%rsp), %rcx
movq %r15, %rdi
movq %r14, %rsi
callq 0x28652a
testl %eax, %eax
je 0x2f34dc
movq 0x8(%rsp), %rsi
movl $0x1, 0x24(%rbx)
movq (%rbx), %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x1, %ecx
movq $-0x1, %r8
callq 0x281f27
movq 0x8(%rsp), %rdi
callq 0x27c490
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0xe713e(%rip), %rcx     # 0x3dab60
movzbl (%rax,%rcx), %eax
leal -0x1(%rax), %ecx
cmpl $0x2, %ecx
jb 0x2f3a38
cmpl $0x3, %eax
je 0x2f3a5f
cmpl $0x4, %eax
jne 0x2f3a97
movl $0x1, %esi
callq 0x281bba
movq (%rbx), %rdi
movslq %eax, %rsi
testb $0x24, 0x9(%rdi)
je 0x2f3a54
popq %rbx
jmp 0x29c706
movq %rsi, (%rdi)
movw $0x4, 0x8(%rdi)
jmp 0x2f3ab6
movl $0x1, %esi
callq 0x281c96
testq %rax, %rax
je 0x2f3ab6
movb (%rax), %dl
movq %rax, %rcx
testb %dl, %dl
je 0x2f3aa6
incq %rax
cmpb $-0x40, %dl
jb 0x2f3a93
movb (%rax), %dl
andb $-0x40, %dl
negb %dl
jno 0x2f3a93
incq %rcx
movb 0x1(%rax), %dl
incq %rax
jmp 0x2f3a81
movb (%rax), %dl
jmp 0x2f3a73
movq (%rbx), %rdi
testb $0x24, 0x9(%rdi)
je 0x2f3ab0
popq %rbx
jmp 0x29b491
subl %ecx, %eax
movq (%rbx), %rdi
movslq %eax, %rsi
jmp 0x2f3a48
movw $0x1, 0x8(%rdi)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x2f3e0b
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 0x281c96
testq %rax, %rax
je 0x2f3e01
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 0x27e729
movl 0x18(%r14), %ebp
movq %r14, %rdi
callq 0x27e336
leaq -0x71934(%rip), %r8     # 0x2824bb
movq %rbx, %rdi
movq %rax, %rsi
movl %ebp, %edx
movl $0x1, %ecx
callq 0x281e1a
addq $0x38, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x27bed9
testl %eax, %eax
je 0x2f3e81
xorl %r15d, %r15d
jmp 0x2f3e94
leal 0x1(,%r13,4), %eax
movslq %eax, %rdi
callq 0x27c381
movq %rax, %r15
testq %r15, %r15
je 0x2f3fa6
movq %rbx, (%rsp)
movq %r15, %r12
testl %r13d, %r13d
jle 0x2f3f79
movl %r13d, %r13d
xorl %ebp, %ebp
movl $0xfffd, %ebx           # imm = 0xFFFD
movq %r15, %r12
movq (%r14,%rbp,8), %rdi
callq 0x281c1d
movl %eax, %ecx
andl $0x1fffff, %ecx         # imm = 0x1FFFFF
cmpq $0x110000, %rax         # imm = 0x110000
cmovael %ebx, %ecx
cmpl $0x7f, %ecx
ja 0x2f3ee5
movb %cl, (%r12)
incq %r12
jmp 0x2f3f6d
movl %ecx, %eax
cmpl $0x7ff, %ecx            # imm = 0x7FF
ja 0x2f3f09
shrl $0x6, %eax
orb $-0x40, %al
movb %al, (%r12)
andb $0x3f, %cl
orb $-0x80, %cl
movb %cl, 0x1(%r12)
addq $0x2, %r12
jmp 0x2f3f6d
cmpl $0xffff, %ecx           # imm = 0xFFFF
ja 0x2f3f39
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 0x2f3f6d
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 0x2f3eba
subq %r15, %r12
leaq -0x77af3(%rip), %rcx    # 0x27c490
movq (%rsp), %rdi
movq %r15, %rsi
movq %r12, %rdx
movl $0x1, %r8d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2822bc
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x282490
// File: /workspace/github_c_makefile_star2_O1/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 0xe6b8f(%rip), %rcx     # 0x3dab60
movzbl (%rax,%rcx), %eax
cmpl $0x5, %eax
je 0x2f4016
cmpl $0x1, %eax
jne 0x2f4025
callq 0x281c1d
testq %rax, %rax
jns 0x2f4047
negq %rax
jno 0x2f4047
movl $0x1, 0x24(%rbx)
movq (%rbx), %rdi
leaq 0xef7f2(%rip), %rsi     # 0x3e37f1
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x1, %ecx
movq $-0x1, %r8
popq %rbx
jmp 0x281f27
movq (%rbx), %rdi
testb $0x24, 0x9(%rdi)
je 0x2f4059
popq %rbx
jmp 0x29b491
callq 0x281bf8
movapd 0x64a4e(%rip), %xmm1    # 0x358a80
xorpd %xmm0, %xmm1
maxsd %xmm0, %xmm1
movq (%rbx), %rdi
movapd %xmm1, %xmm0
popq %rbx
jmp 0x281eaf
movq (%rbx), %rdi
testb $0x24, 0x9(%rdi)
je 0x2f4061
movq %rax, %rsi
popq %rbx
jmp 0x29c706
movw $0x1, 0x8(%rdi)
jmp 0x2f406a
movq %rax, (%rdi)
movw $0x4, 0x8(%rdi)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x2f40b2
movq 0x8(%r14), %rdi
movl 0x8(%rdi), %eax
btq %rax, %r15
jb 0x2f4123
callq 0x281c1d
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 0x2f4123
callq 0x281bf8
movsd %xmm0, (%rsp)
movapd 0x80f20(%rip), %xmm1    # 0x374ff0
andpd %xmm0, %xmm1
ucomisd 0xeae0c(%rip), %xmm1    # 0x3deee8
ja 0x2f4159
testl %ebp, %ebp
je 0x2f412e
leaq 0x86abb(%rip), %rdi     # 0x37aba4
movl %ebp, %esi
movb $0x1, %al
callq 0x27e482
testq %rax, %rax
je 0x2f4170
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 0x29bf75
movq %r14, %rdi
callq 0x27c490
jmp 0x2f4159
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
xorpd %xmm1, %xmm1
xorl %eax, %eax
ucomisd %xmm0, %xmm1
seta %al
leaq 0xeae6e(%rip), %rcx     # 0x3defb0
addsd (%rcx,%rax,8), %xmm0
cvttsd2si %xmm0, %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
movsd %xmm0, (%rsp)
movsd (%rsp), %xmm0
movq (%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x281eaf
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x282490
// File: /workspace/github_c_makefile_star2_O1/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 0x281c1d
cmpq $0x2, %rax
movl $0x1, %r14d
cmovgeq %rax, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2f53ab
testq %rax, %rax
je 0x2f4417
movq %rax, %r15
movl %r14d, %edi
movq %rax, %rsi
callq 0x27e7ad
leaq -0x77f72(%rip), %r8     # 0x27c490
movq %rbx, %rdi
movq %r15, %rsi
movl %r14d, %edx
xorl %ecx, %ecx
popq %rbx
popq %r14
popq %r15
jmp 0x281e1a
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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 %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rdx), %rdi
callq 0x281c1d
movq %rax, %r14
xorl %eax, %eax
testq %r14, %r14
cmovleq %rax, %r14
movq (%rbx), %rdi
movq 0x28(%rdi), %rax
movslq 0x7c(%rax), %r15
movl $0x12, %esi
cmpq %r15, %r14
ja 0x2f4a9c
movl %r14d, %esi
callq 0x28238d
xorl %esi, %esi
cmpq %r15, %r14
jbe 0x2f4aae
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x2823f0
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x2f4e78
movl $0x20, %esi
callq 0x2833f3
movq %rax, %rbx
jmp 0x2f4e7c
movq 0x10(%rax), %rbx
movq (%r14), %rdi
callq 0x2844d5
testq %rbx, %rbx
setne %cl
cmpl $0x5, %eax
setne %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x2f4eba
decq 0x10(%rbx)
cmpl $0x1, %eax
jne 0x2f4ea6
cmpb $0x0, 0x19(%rbx)
je 0x2f4ec2
movq (%r14), %rdi
callq 0x281bf8
movsd (%rbx), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq (%r14), %rdi
callq 0x281c1d
cvtsi2sd %rax, %xmm0
movsd (%rbx), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%rbx)
subq %rax, 0x8(%rbx)
jmp 0x2f4eba
// File: /workspace/github_c_makefile_star2_O1/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 0x2f5007
movl $0x8, %esi
callq 0x2833f3
jmp 0x2f500b
movq 0x10(%rax), %rax
testl %ebp, %ebp
je 0x2f5025
movq (%rbx), %rcx
movl 0x8(%rcx), %ecx
movabsq $0x5555555555555555, %rdx # imm = 0x5555555555555555
btq %rcx, %rdx
jae 0x2f502d
testq %rax, %rax
je 0x2f502d
decq (%rax)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x2f5118
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r15
movq 0x10(%rdi), %rax
testb $0x20, 0x9(%rax)
jne 0x2f5079
movq %r15, %rdi
movl $0x20, %esi
callq 0x2833f3
movq %rax, %r14
jmp 0x2f507d
movq 0x10(%rax), %r14
testq %r14, %r14
je 0x2f5118
movq (%r15), %rax
movq 0x28(%rax), %rax
cmpl $0x0, 0x14(%r14)
movl 0x7c(%rax), %eax
movl %eax, 0x14(%r14)
je 0x2f50df
cmpl $0x2, %ebp
jne 0x2f50c3
movq 0x8(%rbx), %rdi
movl $0x1, %esi
callq 0x281c96
movq %rax, %r15
movq 0x8(%rbx), %rdi
movl $0x1, %esi
callq 0x281bba
movl %eax, %edx
jmp 0x2f50cf
leaq 0xb55cf(%rip), %r15     # 0x3aa699
movl $0x1, %edx
testq %r15, %r15
je 0x2f50df
movq %r14, %rdi
movq %r15, %rsi
callq 0x27e077
movq (%rbx), %rdi
movl $0x1, %esi
callq 0x281c96
movq %rax, %r15
movq (%rbx), %rdi
movl $0x1, %esi
callq 0x281bba
testq %r15, %r15
je 0x2f5118
movq %r14, %rdi
movq %r15, %rsi
movl %eax, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x27e077
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x2f513d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x2833f3
jmp 0x2f5141
movq 0x10(%rax), %rax
testq %rax, %rax
je 0x2f5178
movzbl 0x1c(%rax), %ecx
cmpl $0x7, %ecx
je 0x2f517a
cmpl $0x12, %ecx
jne 0x2f5183
movl $0x12, 0x24(%rbx)
movq (%rbx), %rdi
leaq 0xe9ee9(%rip), %rsi     # 0x3df04e
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x1, %ecx
xorl %r8d, %r8d
popq %rbx
jmp 0x281f27
popq %rbx
retq
movq %rbx, %rdi
popq %rbx
jmp 0x282490
movq %rax, %rdi
callq 0x27e336
leaq -0x78d02(%rip), %r8     # 0x27c490
movq %rbx, %rdi
movq %rax, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x1, %ecx
popq %rbx
jmp 0x281e1a
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: groupConcatValue
static void groupConcatValue(sqlite3_context *context){
  sqlite3_str *pAccum;
  pAccum = (sqlite3_str*)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{
      const char *zText = sqlite3_str_value(pAccum);
      sqlite3_result_text(context, zText, -1, SQLITE_TRANSIENT);
    }
  }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %rax
testb $0x20, 0x9(%rax)
jne 0x2f51c2
movq %rbx, %rdi
xorl %esi, %esi
callq 0x2833f3
jmp 0x2f51c6
movq 0x10(%rax), %rax
testq %rax, %rax
je 0x2f51fd
movzbl 0x1c(%rax), %ecx
cmpl $0x7, %ecx
je 0x2f51ff
cmpl $0x12, %ecx
jne 0x2f5208
movl $0x12, 0x24(%rbx)
movq (%rbx), %rdi
leaq 0xe9e64(%rip), %rsi     # 0x3df04e
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x1, %ecx
xorl %r8d, %r8d
popq %rbx
jmp 0x281f27
popq %rbx
retq
movq %rbx, %rdi
popq %rbx
jmp 0x282490
movl 0x18(%rax), %ecx
testq %rcx, %rcx
je 0x2f521e
movq 0x8(%rax), %rdx
movb $0x0, (%rdx,%rcx)
movq 0x8(%rax), %rsi
jmp 0x2f5220
xorl %esi, %esi
movq %rbx, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x1, %ecx
movq $-0x1, %r8
popq %rbx
jmp 0x281e1a