LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfBlatLib.c
// Function: alignComponents
static boolean alignComponents(struct gfRange *combined, struct ssBundle *bun, 
	enum ffStringency stringency)
/* Align each piece of combined->components and put result in
 * bun->ffList. */
{
struct gfRange *range;
struct dnaSeq *qSeq = bun->qSeq, *tSeq = bun->genoSeq;
struct ssFfItem *ffi;
struct ffAli *ali;
int qStart, qEnd, tStart, tEnd;
int extra = 250;
boolean gotAny = FALSE;

for (range = combined->components; range != NULL; range = range->next)
    {
    /* Expand to include some extra sequence around range. */
    qStart = range->qStart - extra;
    tStart = range->tStart - extra;
    qEnd = range->qEnd + extra;
    tEnd = range->tEnd + extra;
    if (range == combined->components)
	{
        qStart -= extra;
	tStart -= extra;
	}
    if (range->next == NULL)
        {
	qEnd += extra;
	tEnd += extra;
	}
    if (qStart < combined->qStart) qStart = combined->qStart;
    if (tStart < combined->tStart) tStart = combined->tStart;
    if (qEnd > combined->qEnd) qEnd = combined->qEnd;
    if (tEnd > combined->tEnd) tEnd = combined->tEnd;
    ali = ffFind(qSeq->dna + qStart,
                 qSeq->dna + qEnd,
		 tSeq->dna + tStart - combined->tStart,
		 tSeq->dna + tEnd - combined->tStart,
		 stringency);
    if (ali != NULL)
        {
	AllocVar(ffi);
	ffi->ff = ali;
	slAddHead(&bun->ffList, ffi);
	gotAny = TRUE;
	}
    }
return gotAny;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x28(%rdi), %r12
testq %r12, %r12
je 0x10220
movq %rsi, %rbx
movq %rdi, %r14
movq 0x10(%rsi), %r13
movq 0x18(%rsi), %rbp
movl $0xfffffe0c, %eax       # imm = 0xFFFFFE0C
cmpq 0x28(%r14), %r12
je 0x1016e
movl $0xffffff06, %eax       # imm = 0xFFFFFF06
cmpq $0x0, (%r12)
movl $0x1f4, %ecx            # imm = 0x1F4
je 0x1017f
movl $0xfa, %ecx
movl 0x8(%r12), %edx
addl %eax, %edx
movl 0x8(%r14), %esi
cmpl %esi, %edx
jg 0x10190
movl %esi, %edx
addl 0x20(%r12), %eax
movslq 0x20(%r14), %r8
cmpl %r8d, %eax
jg 0x101a1
movl %r8d, %eax
movl 0xc(%r12), %esi
addl %ecx, %esi
movl 0xc(%r14), %edi
cmpl %edi, %esi
jl 0x101b2
movl %edi, %esi
addl 0x24(%r12), %ecx
movl 0x24(%r14), %edi
cmpl %edi, %ecx
jl 0x101c1
movl %edi, %ecx
movq 0x10(%r13), %r9
movslq %edx, %rdi
addq %r9, %rdi
movslq %esi, %rsi
addq %r9, %rsi
movq 0x10(%rbp), %r9
movslq %eax, %rdx
addq %r9, %rdx
subq %r8, %rdx
movslq %ecx, %rcx
addq %r9, %rcx
subq %r8, %rcx
movl $0x1, %r8d
callq 0xad77
testq %rax, %rax
je 0x10213
movq %rax, %r15
movl $0x10, %edi
callq 0x2dc95
movq %r15, 0x8(%rax)
movq 0x8(%rbx), %rcx
movq %rcx, (%rax)
movq %rax, 0x8(%rbx)
movq (%r12), %r12
testq %r12, %r12
jne 0x1015e
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfBlatLib.c
// Function: saveAlignments
static void saveAlignments(char *chromName, int chromSize, int chromOffset, 
	struct ssBundle *bun, struct hash *t3Hash, 
	boolean qIsRc, boolean tIsRc,
	enum ffStringency stringency, int minMatch, struct gfOutput *out)
/* Save significant alignments to file in .psl format. */
{
struct dnaSeq *tSeq = bun->genoSeq, *qSeq = bun->qSeq;
struct ssFfItem *ffi;
for (ffi = bun->ffList; ffi != NULL; ffi = ffi->next)
    {
    struct ffAli *ff = ffi->ff;
    struct trans3 *t3List = NULL;
    int score;
    if (t3Hash != NULL)
	t3List = hashMustFindVal(t3Hash, tSeq->name);
    score = scoreAli(ff, bun->isProt, stringency, tSeq, t3List);
    if (score >= minMatch)
	{
	out->out(chromName, chromSize, chromOffset, ff, tSeq, t3Hash, qSeq, 
	    qIsRc, tIsRc, stringency, minMatch, out);
	}
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r9, 0x38(%rsp)
movl %edx, 0x14(%rsp)
movl %esi, 0x10(%rsp)
movq %rdi, 0x30(%rsp)
movq %rcx, 0x18(%rsp)
movq 0x8(%rcx), %rcx
testq %rcx, %rcx
je 0x103cd
movq %r8, %rbx
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x28(%rsp)
movq %r8, 0x40(%rsp)
movq %rcx, 0x50(%rsp)
movq 0x8(%rcx), %r12
testq %rbx, %rbx
je 0x102a4
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rsi
movq %rbx, %rdi
callq 0x28fdd
movq %rax, %r13
jmp 0x102a7
xorl %r13d, %r13d
movq 0x18(%rsp), %rax
cmpl $0x0, 0x30(%rax)
leaq 0x15606(%rip), %rax     # 0x258bd
movq %rax, 0x20(%rsp)
jne 0x102ca
leaq 0x155a1(%rip), %rax     # 0x25866
movq %rax, 0x20(%rsp)
testq %r12, %r12
movq %r12, 0x48(%rsp)
je 0x10358
xorl %r14d, %r14d
movq 0x8(%r12), %rbp
movq 0x10(%r12), %rdi
movq 0x20(%r12), %rsi
movl 0x18(%r12), %edx
subl %edi, %edx
callq *0x20(%rsp)
movl %eax, %r15d
addl %r14d, %r15d
testq %rbp, %rbp
je 0x1034b
movq 0x20(%rbp), %rdi
movq 0x8(%rsp), %rbx
movq %rbx, %rsi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0x15f1c
movl %eax, %r14d
movq 0x28(%r12), %rdi
movq %rbx, %rsi
movq %r13, %rdx
movl $0x1, %ecx
callq 0x15f1c
subl %eax, %r14d
movl 0x10(%rbp), %esi
subl 0x18(%r12), %esi
movl %r14d, %edi
movl 0x98(%rsp), %edx
callq 0x28204
subl %eax, %r15d
movq %rbp, %r12
movl %r15d, %r14d
testq %rbp, %rbp
jne 0x102db
jmp 0x1035b
xorl %r15d, %r15d
movl 0xa0(%rsp), %eax
cmpl %eax, %r15d
movq 0x40(%rsp), %rbx
jl 0x103bc
movq 0x30(%rsp), %rdi
movl 0x10(%rsp), %esi
movl 0x14(%rsp), %edx
movq 0x48(%rsp), %rcx
movq 0x8(%rsp), %r8
movq %rbx, %r9
movq 0xa8(%rsp), %rax
pushq %rax
movl 0xa8(%rsp), %r10d
pushq %r10
movl 0xa8(%rsp), %r10d
pushq %r10
movl 0xa8(%rsp), %r10d
pushq %r10
pushq 0x58(%rsp)
pushq 0x50(%rsp)
callq *0x10(%rax)
addq $0x30, %rsp
movq 0x50(%rsp), %rcx
movq (%rcx), %rcx
testq %rcx, %rcx
jne 0x10280
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfBlatLib.c
// Function: clumpTargetName
char *clumpTargetName(struct gfClump *clump)
/* Return target name of clump - whether it is in memory or on disk. */
{
struct gfSeqSource *target = clump->target;
char *name;
if (target->seq != NULL)
    name = target->seq->name;
else
    name = target->fileName;
if (name == NULL)
    internalErr();
return name;
}

// Assembly:
pushq %rbx
movq 0x10(%rdi), %rax
movq 0x10(%rax), %rcx
testq %rcx, %rcx
cmoveq %rax, %rcx
movq 0x8(%rcx), %rbx
testq %rbx, %rbx
jne 0x1040f
leaq 0x7d7bf(%rip), %rdi     # 0x8dbbb
leaq 0x7d9b5(%rip), %rsi     # 0x8ddb8
movl $0x251, %edx            # imm = 0x251
xorl %eax, %eax
callq 0x26b6f
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfBlatLib.c
// Function: gfRangesToFfItem
struct ssFfItem *gfRangesToFfItem(struct gfRange *rangeList, aaSeq *qSeq)
/* Convert ranges to ssFfItem's. */
{
AA *q = qSeq->dna;
struct ffAli *ffList = NULL, *ff;
struct gfRange *range;
struct ssFfItem *ffi;

for (range = rangeList; range != NULL; range = range->next)
    {
    aaSeq *tSeq = range->tSeq;
    AA *t = tSeq->dna;
    AllocVar(ff);
    ff->nStart = q + range->qStart;
    ff->nEnd = q + range->qEnd;
    ff->hStart = t + range->tStart;
    ff->hEnd = t + range->tEnd;
    ff->left = ffList;
    ffList = ff;
    }
AllocVar(ffi);
ffi->ff = ffMakeRightLinks(ffList);
return ffi;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0x1047d
movq %rdi, %rbx
movq 0x10(%rsi), %r15
xorl %r12d, %r12d
movq 0x18(%rbx), %rax
movq 0x10(%rax), %r13
movl $0x38, %edi
callq 0x2dc95
movq %rax, %r14
movslq 0x8(%rbx), %rax
addq %r15, %rax
movq %rax, 0x10(%r14)
movslq 0xc(%rbx), %rax
addq %r15, %rax
movq %rax, 0x18(%r14)
movslq 0x20(%rbx), %rax
addq %r13, %rax
movq %rax, 0x20(%r14)
movslq 0x24(%rbx), %rax
addq %r13, %rax
movq %rax, 0x28(%r14)
movq %r12, (%r14)
movq (%rbx), %rbx
movq %r14, %r12
testq %rbx, %rbx
jne 0x1042c
jmp 0x10480
xorl %r14d, %r14d
movl $0x10, %edi
callq 0x2dc95
movq %rax, %rbx
movq %r14, %rdi
callq 0x27f4d
movq %rax, 0x8(%rbx)
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfBlatLib.c
// Function: rangeScore
int rangeScore(struct gfRange *range, struct dnaSeq *qSeq)
/* Return score associated with range. */
{
struct gfRange *comp;
struct dnaSeq *tSeq;
int score = 0;
for (comp = range->components; comp != NULL; comp = comp->next)
    {
    tSeq = comp->tSeq;
    score += dnaScoreMatch(tSeq->dna + range->tStart, qSeq->dna + range->qStart, 
        range->tEnd - range->tStart);
    if (comp->next != NULL)
        score -= 4;
    }
return score;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0x28(%rdi), %r12
testq %r12, %r12
je 0x10670
movq %rsi, %rbx
movq %rdi, %r14
xorl %r15d, %r15d
movq 0x18(%r12), %rax
movslq 0x20(%r14), %rcx
movq %rcx, %rdi
addq 0x10(%rax), %rdi
movl 0x24(%r14), %edx
subl %ecx, %edx
movslq 0x8(%r14), %rsi
addq 0x10(%rbx), %rsi
callq 0x25866
leal (%rax,%r15), %ecx
movq (%r12), %r12
addl %eax, %r15d
addl $-0x4, %r15d
testq %r12, %r12
cmovel %ecx, %r15d
jne 0x10633
jmp 0x10673
xorl %r15d, %r15d
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfBlatLib.c
// Function: rangeCoorTimes3
void rangeCoorTimes3(struct gfRange *rangeList)
/* Multiply coordinates on range list times three (to go from
 * amino acid to nucleotide. */
{
struct gfRange *range;
for (range = rangeList; range != NULL; range = range->next)
    {
    range->qStart *= 3;
    range->qEnd *= 3;
    range->tStart = range->tStart*3;
    range->tEnd = range->tEnd*3;
    }
}

// Assembly:
testq %rdi, %rdi
je 0x10d18
movl 0x8(%rdi), %eax
leal (%rax,%rax,2), %eax
movl %eax, 0x8(%rdi)
movl 0xc(%rdi), %eax
leal (%rax,%rax,2), %eax
movl %eax, 0xc(%rdi)
movl 0x20(%rdi), %eax
leal (%rax,%rax,2), %eax
movl %eax, 0x20(%rdi)
movl 0x24(%rdi), %eax
leal (%rax,%rax,2), %eax
movl %eax, 0x24(%rdi)
movq (%rdi), %rdi
jmp 0x10cea
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfBlatLib.c
// Function: seqClumpToRangeList
static struct gfRange *seqClumpToRangeList(struct gfClump *clumpList, int frame)
/* Convert from clump list to range list. */
{
struct gfRange *rangeList = NULL, *range;
struct gfClump *clump;
char *name;
int tOff;

for (clump = clumpList; clump != NULL; clump = clump->next)
    {
    tOff = clump->target->start;
    AllocVar(range);
    range->qStart = clump->qStart;
    range->qEnd = clump->qEnd;
    name = clumpTargetName(clump);
    range->tName = cloneString(name);
    range->tStart = clump->tStart - tOff;
    range->tEnd = clump->tEnd - tOff;
    range->tSeq = clump->target->seq;
    range->frame = frame;
    slAddHead(&rangeList, range);
    }
slReverse(&rangeList);
return rangeList;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq $0x0, (%rsp)
testq %rdi, %rdi
je 0x1149f
movl %esi, %ebx
movq %rdi, %r14
leaq 0x7c9b6(%rip), %r12     # 0x8ddb8
movq 0x10(%r14), %rax
movl 0x18(%rax), %r15d
movl $0x48, %edi
callq 0x2dc95
movq %rax, %r13
movl 0x8(%r14), %eax
movl %eax, 0x8(%r13)
movl 0xc(%r14), %eax
movl %eax, 0xc(%r13)
movq 0x10(%r14), %rax
movq 0x10(%rax), %rcx
testq %rcx, %rcx
cmoveq %rax, %rcx
movq 0x8(%rcx), %rbp
testq %rbp, %rbp
jne 0x11455
leaq 0x7c775(%rip), %rdi     # 0x8dbbb
movq %r12, %rsi
movl $0x251, %edx            # imm = 0x251
xorl %eax, %eax
callq 0x26b6f
movq %rbp, %rdi
callq 0x1f9f6
movq %rax, 0x10(%r13)
movl 0x18(%r14), %eax
subl %r15d, %eax
movl %eax, 0x20(%r13)
movl 0x1c(%r14), %eax
subl %r15d, %eax
movl %eax, 0x24(%r13)
movq 0x10(%r14), %rax
movq 0x10(%rax), %rax
movq %rax, 0x18(%r13)
movl %ebx, 0x34(%r13)
movq (%rsp), %rax
movq %rax, (%r13)
movq %r13, (%rsp)
movq (%r14), %r14
testq %r14, %r14
jne 0x11402
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x1fcb3
movq (%rbx), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfBlatLib.c
// Function: loadHashT3Ranges
static void loadHashT3Ranges(struct gfRange *rangeList, 
	char *tSeqDir, struct hash *tFileCache, int qSeqSize, boolean isRc, 
	struct hash **retT3Hash, struct dnaSeq **retSeqList,
	struct slRef **retT3RefList)
/* Load DNA in ranges into memory, and put translation in a hash
 * that gets returned. */
{
struct hash *t3Hash = newHash(10);
struct dnaSeq *targetSeq, *tSeqList = NULL;
struct slRef *t3RefList = NULL;
struct gfRange *range;

for (range = rangeList; range != NULL; range = range->next)
    {
    struct trans3 *t3, *oldT3;

    targetSeq = gfiExpandAndLoadCached(range, tFileCache,
    	tSeqDir, qSeqSize*3, &range->tTotalSize, TRUE, isRc, usualExpansion);
    slAddHead(&tSeqList, targetSeq);
    freez(&targetSeq->name);
    targetSeq->name = cloneString(range->tName);
    t3 = trans3New(targetSeq);
    refAdd(&t3RefList, t3);
    t3->start = range->tStart;
    t3->end = range->tEnd;
    t3->nibSize = range->tTotalSize;
    t3->isRc = isRc;
    if ((oldT3 = hashFindVal(t3Hash, range->tName)) != NULL)
	{
	slAddTail(&oldT3->next, t3);
	}
    else
	{
	hashAdd(t3Hash, range->tName, t3);
	}
    }
*retT3Hash = t3Hash;
*retSeqList = tSeqList;
*retT3RefList = t3RefList;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, 0x10(%rsp)
movl %r8d, %r14d
movl %ecx, %ebx
movq %rdx, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdi, %r13
movl $0xa, %edi
movl $0x1, %esi
callq 0x29160
movq %rax, %rbp
movq $0x0, 0x8(%rsp)
testq %r13, %r13
je 0x115c7
leal (%rbx,%rbx,2), %ebx
xorl %r12d, %r12d
leaq 0x40(%r13), %r8
movq %r13, %rdi
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
movl %ebx, %ecx
movl $0x1, %r9d
pushq $0x1f4                  # imm = 0x1F4
pushq %r14
callq 0x13224
addq $0x10, %rsp
movq %rax, %r15
movq %r12, (%rax)
leaq 0x8(%rax), %rdi
callq 0x2dd51
movq 0x10(%r13), %rdi
callq 0x1f9f6
movq %rax, 0x8(%r15)
movq %r15, %rdi
callq 0x15d78
movq %rax, %r12
leaq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0x20b0c
movl 0x20(%r13), %eax
movl %eax, 0x30(%r12)
movl 0x24(%r13), %eax
movl %eax, 0x34(%r12)
movl 0x40(%r13), %eax
movl %eax, 0x38(%r12)
movl %r14d, 0x3c(%r12)
movq 0x10(%r13), %rsi
movq %rbp, %rdi
callq 0x29029
testq %rax, %rax
je 0x115a6
movq %rax, %rdi
movq %r12, %rsi
callq 0x1fc45
jmp 0x115b5
movq 0x10(%r13), %rsi
movq %rbp, %rdi
movq %r12, %rdx
callq 0x28dbe
movq (%r13), %r13
movq %r15, %r12
testq %r13, %r13
jne 0x1150b
jmp 0x115ca
xorl %r15d, %r15d
movq 0x10(%rsp), %rax
movq %rbp, (%rax)
movq 0x60(%rsp), %rax
movq %r15, (%rax)
movq 0x8(%rsp), %rax
movq 0x68(%rsp), %rcx
movq %rax, (%rcx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfBlatLib.c
// Function: untranslateRangeList
void untranslateRangeList(struct gfRange *rangeList, int qFrame, int tFrame, 
	struct hash *t3Hash, struct trans3 *t3, int tOffset)
/* Translate coordinates from protein to dna. */
{
struct gfRange *range;
for (range = rangeList; range != NULL; range = range->next)
    {
    range->qStart = 3*range->qStart + qFrame;
    range->qEnd = 3*range->qEnd + qFrame;
    range->tStart = 3*range->tStart + tFrame;
    range->tEnd = 3*range->tEnd + tFrame;
    if (t3Hash)
	t3 = trans3Find(t3Hash, range->tSeq->name, range->tStart + tOffset, range->tEnd + tOffset);
    range->tSeq = t3->seq;
    range->t3 = t3;
    }
}

// Assembly:
testq %rdi, %rdi
je 0x1168f
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %r9d, %ebx
movq %r8, %rax
movq %rcx, %r14
movl %edx, %ebp
movl %esi, %r15d
movq %rdi, %r12
movl 0x8(%r12), %ecx
movl 0xc(%r12), %edx
leal (%rcx,%rcx,2), %esi
addl %r15d, %esi
leal (%rdx,%rdx,2), %edi
addl %r15d, %edi
movl 0x20(%r12), %ecx
leal (%rcx,%rcx,2), %edx
addl %ebp, %edx
movl 0x24(%r12), %ecx
leal (%rcx,%rcx,2), %ecx
addl %ebp, %ecx
movl %esi, 0x8(%r12)
movl %edi, 0xc(%r12)
movl %edx, 0x20(%r12)
movl %ecx, 0x24(%r12)
testq %r14, %r14
je 0x11670
movq 0x18(%r12), %rax
movq 0x8(%rax), %rsi
addl %ebx, %edx
addl %ebx, %ecx
movq %r14, %rdi
callq 0x15e63
movq 0x10(%rax), %rcx
movq %rcx, 0x18(%r12)
movq %rax, 0x38(%r12)
movq (%r12), %r12
testq %r12, %r12
jne 0x11618
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfBlatLib.c
// Function: addToBigBundleList
static void addToBigBundleList(struct ssBundle **pOneList, struct hash *bunHash, 
	struct ssBundle **pBigList, struct dnaSeq *query)
/* Add bundles in one list to bigList, consolidating bundles that refer
 * to the same target sequence.  This will destroy oneList in the process. */
{
struct ssBundle *oneBun, *bigBun;

for (oneBun = *pOneList; oneBun != NULL; oneBun = oneBun->next)
    {
    char *name = oneBun->genoSeq->name;
    if ((bigBun = hashFindVal(bunHash, name)) == NULL)
        {
	AllocVar(bigBun);
	slAddHead(pBigList, bigBun);
	hashAdd(bunHash, name, bigBun);
	bigBun->qSeq = query;
	bigBun->genoSeq = oneBun->genoSeq;
	bigBun->isProt = oneBun->isProt;
	bigBun->avoidFuzzyFindKludge = oneBun->avoidFuzzyFindKludge;
	}
    bigBun->ffList = slCat(bigBun->ffList, oneBun->ffList);
    oneBun->ffList = NULL;
    }
ssBundleFreeList(pOneList);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, (%rsp)
movq (%rdi), %r15
testq %r15, %r15
je 0x125cc
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r12
movq 0x18(%r15), %rax
movq 0x8(%rax), %rbp
movq %r12, %rdi
movq %rbp, %rsi
callq 0x29029
movq %rax, %r13
testq %rax, %rax
jne 0x125ab
movl $0x48, %edi
callq 0x2dc95
movq %rax, %r13
movq (%r14), %rax
movq %rax, (%r13)
movq %r13, (%r14)
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
callq 0x28dbe
movq %rbx, 0x10(%r13)
movq 0x18(%r15), %rax
movq %rax, 0x18(%r13)
movl 0x30(%r15), %eax
movl %eax, 0x30(%r13)
movl 0x40(%r15), %eax
movl %eax, 0x40(%r13)
movq 0x8(%r13), %rdi
movq 0x8(%r15), %rsi
callq 0x1fc95
movq %rax, 0x8(%r13)
movq $0x0, 0x8(%r15)
movq (%r15), %r15
testq %r15, %r15
jne 0x1254f
movq (%rsp), %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x14960
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfBlatLib.c
// Function: startSeqQuery
static void startSeqQuery(int conn, bioSeq *seq, char *type)
/* Send a query that involves some sequence. */
{
char buf[256];
sprintf(buf, "%s%s %d", gfSignature(), type, seq->size);
mustWriteFd(conn, buf, strlen(buf));
if (read(conn, buf, 1) < 0)
    errAbort("startSeqQuery: read failed: %s", strerror(errno));
if (buf[0] != 'Y')
    errAbort("Expecting 'Y' from server, got %c", buf[0]);
mustWriteFd(conn, seq->dna, seq->size);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdx, %r15
movq %rsi, %r14
movl %edi, %ebx
xorl %eax, %eax
callq 0xc658
movl 0x18(%r14), %r8d
leaq 0x7b3e1(%rip), %rsi     # 0x8ddff
movq %rsp, %r12
movq %r12, %rdi
movq %rax, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq 0x6170
movq %r12, %rdi
callq 0x62d0
movl %ebx, %edi
movq %r12, %rsi
movq %rax, %rdx
callq 0x231f9
movl $0x1, %edx
movl %ebx, %edi
movq %r12, %rsi
callq 0x6aa0
testq %rax, %rax
jns 0x12a77
callq 0x6060
movl (%rax), %edi
callq 0x6230
leaq 0x7b39a(%rip), %rdi     # 0x8de07
movq %rax, %rsi
xorl %eax, %eax
callq 0x26b6f
movsbl (%rsp), %esi
cmpl $0x59, %esi
je 0x12a8e
leaq 0x7b39f(%rip), %rdi     # 0x8de26
xorl %eax, %eax
callq 0x26b6f
movq 0x10(%r14), %rsi
movslq 0x18(%r14), %rdx
movl %ebx, %edi
callq 0x231f9
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfBlatLib.c
// Function: findTileSize
static int findTileSize(char *line)
/* Parse through line/val pairs looking for tileSize. */
{
char *var, *val;
int tileSize = 4;
for (;;)
    {
    var = nextWord(&line);
    if (var == NULL)
         break;
    val = nextWord(&line);
    if (val == NULL)
	 {
	 internalErr();
         break;
	 }
    if (sameString("tileSize", var))
         {
	 tileSize = atoi(val);
	 if (tileSize <= 0)
	     internalErr();
	 }
    }
return tileSize;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsp, %rax
movq %rdi, (%rax)
movq %rax, %rdi
callq 0x229cd
testq %rax, %rax
je 0x12b38
movq %rax, %rbp
movl $0x4, %ebx
movq %rsp, %r14
leaq 0x7a906(%rip), %r15     # 0x8d3e2
leaq 0x7b2d5(%rip), %r13     # 0x8ddb8
movq %r14, %rdi
callq 0x229cd
testq %rax, %rax
je 0x12b3f
movq %rax, %r12
movq %r15, %rdi
movq %rbp, %rsi
callq 0x6a50
testl %eax, %eax
jne 0x12b26
movq %r12, %rdi
callq 0x6bd0
movl %eax, %ebx
testl %eax, %eax
jg 0x12b26
leaq 0x7b0a4(%rip), %rdi     # 0x8dbbb
movq %r13, %rsi
movl $0xb6, %edx
xorl %eax, %eax
callq 0x26b6f
movq %r14, %rdi
callq 0x229cd
movq %rax, %rbp
testq %rax, %rax
jne 0x12ae3
jmp 0x12b59
movl $0x4, %ebx
jmp 0x12b59
leaq 0x7b075(%rip), %rdi     # 0x8dbbb
leaq 0x7b26b(%rip), %rsi     # 0x8ddb8
movl $0xaf, %edx
xorl %eax, %eax
callq 0x26b6f
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfClientLib.c
// Function: gfClientFileArray
void gfClientFileArray(char *fileName, char ***retFiles, int *retFileCount)
/* Check if file if .2bit or .nib or .fa.  If so return just that
 * file in a list of one.  Otherwise read all file and treat file
 * as a list of filenames.  */
{
boolean gotSingle = FALSE;
char *buf;		/* This will leak memory but won't matter. */

if (nibIsFile(fileName) || twoBitIsSpec(fileName)
    || sameString(fileName, "stdin")
    || endsWith(fileName, ".Z")
    || endsWith(fileName, ".gz")
    || endsWith(fileName, ".bz2"))
    gotSingle = TRUE;
/* Detect .fa files (where suffix is not standardized)
 * by first character being a '>'. */
else
    {
    FILE *f = mustOpen(fileName, "r");
    char c = fgetc(f);
    fclose(f);
    if (c == '>')
        gotSingle = TRUE;
    }
if (gotSingle)
    {
    char **files;
    *retFiles = AllocArray(files, 1);
    files[0] = cloneString(fileName);
    *retFileCount = 1;
    return;
    }
else
    {
    readAllWords(fileName, retFiles, retFileCount, &buf);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
callq 0x3221b
testl %eax, %eax
jne 0x12b96
movq %r14, %rdi
callq 0x3ef22
testl %eax, %eax
je 0x12bc5
movl $0x8, %edi
callq 0x2db04
movq %rax, %r12
movq %rax, (%r15)
movq %r14, %rdi
callq 0x1f9f6
movq %rax, (%r12)
movl $0x1, (%rbx)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x80e60(%rip), %rsi     # 0x93a2c
movq %r14, %rdi
callq 0x6a50
testl %eax, %eax
je 0x12b96
leaq 0x7b491(%rip), %rsi     # 0x8e070
movq %r14, %rdi
callq 0x21aed
testl %eax, %eax
jne 0x12b96
leaq 0x85a22(%rip), %rsi     # 0x98614
movq %r14, %rdi
callq 0x21aed
testl %eax, %eax
jne 0x12b96
leaq 0x7b46e(%rip), %rsi     # 0x8e073
movq %r14, %rdi
callq 0x21aed
testl %eax, %eax
jne 0x12b96
leaq 0x83211(%rip), %rsi     # 0x95e29
movq %r14, %rdi
callq 0x22d5a
movq %rax, %r12
movq %rax, %rdi
callq 0x6bf0
movl %eax, %ebp
movq %r12, %rdi
callq 0x66e0
cmpb $0x3e, %bpl
je 0x12b96
leaq 0x8(%rsp), %rcx
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x3258d
jmp 0x12bb8
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfInternal.c
// Function: gfiExpandRange
void gfiExpandRange(struct gfRange *range, int qSize, int tSize, 
	boolean respectFrame, boolean isRc, int expansion)
/* Expand range to cover an additional 500 bases on either side. */
{
int x;

x = range->qStart - expansion;
if (x < 0) x = 0;
range->qStart = x;

x = range->qEnd + expansion;
if (x > qSize) x = qSize;
range->qEnd = x;

x = range->tStart - expansion;
if (x < 0) x = 0;
if (respectFrame && !isRc) 
    {
    x = extendRespect(range->tStart, x);
    }
range->tStart = x;

x = range->tEnd + expansion;
if (x > tSize) x = tSize;
if (respectFrame && isRc)
    {
    x = extendRespect(range->tEnd, x);
    if (x > tSize)
        x -= 3;
    }
range->tEnd = x;
}

// Assembly:
movl 0x8(%rdi), %r10d
movl 0x20(%rdi), %eax
subl %r9d, %r10d
xorl %r11d, %r11d
testl %r10d, %r10d
cmovlel %r11d, %r10d
movl %r10d, 0x8(%rdi)
movl 0xc(%rdi), %r10d
addl %r9d, %r10d
cmpl %esi, %r10d
cmovgel %esi, %r10d
movl %r10d, 0xc(%rdi)
movl %eax, %esi
subl %r9d, %esi
testl %esi, %esi
cmovlel %r11d, %esi
testl %ecx, %ecx
sete %r10b
testl %r8d, %r8d
setne %r11b
orb %r10b, %r11b
jne 0x131b6
movslq %eax, %r10
imulq $0x55555556, %r10, %r10 # imm = 0x55555556
movq %r10, %r11
shrq $0x3f, %r11
shrq $0x20, %r10
addl %r11d, %r10d
leal (%r10,%r10,2), %r10d
subl %r10d, %eax
movl %esi, %r10d
movl $0xaaaaaaab, %r11d      # imm = 0xAAAAAAAB
imulq %r10, %r11
shrq $0x21, %r11
leal (%r11,%r11,2), %r10d
addl %esi, %eax
subl %esi, %r10d
addl %eax, %r10d
movl %r10d, %esi
testl %r8d, %r8d
sete %r8b
movl %esi, 0x20(%rdi)
movl 0x24(%rdi), %eax
addl %eax, %r9d
cmpl %edx, %r9d
cmovgel %edx, %r9d
testl %ecx, %ecx
sete %cl
orb %r8b, %cl
jne 0x1321f
cltq
imulq $0x55555556, %rax, %rcx # imm = 0x55555556
movq %rcx, %rsi
shrq $0x3f, %rsi
shrq $0x20, %rcx
addl %esi, %ecx
leal (%rcx,%rcx,2), %ecx
subl %ecx, %eax
movslq %r9d, %rcx
imulq $0x55555556, %rcx, %rsi # imm = 0x55555556
movq %rsi, %r8
shrq $0x3f, %r8
shrq $0x20, %rsi
addl %r8d, %esi
leal (%rsi,%rsi,2), %esi
addl %ecx, %eax
subl %ecx, %esi
leal (%rax,%rsi), %ecx
cmpl %edx, %ecx
leal -0x3(%rsi,%rax), %r9d
cmovlel %ecx, %r9d
movl %r9d, 0x24(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfInternal.c
// Function: gfiGetSeqName
void gfiGetSeqName(char *spec, char *name, char *file)
/* Extract sequence name and optionally file name from spec, 
 * which includes nib and 2bit files.  (The file may be NULL
 * if you don't care.) */
{
if (nibIsFile(spec))
    {
    splitPath(spec, NULL, name, NULL);
    if (file != NULL)
        strcpy(file, spec);
    }
else
    {
    char *s = strchr(spec, ':');
    if (s == NULL)
	errAbort("Expecting colon in %s", spec);
    strcpy(name, s+1);
    if (file != NULL)
        {
	int fileNameSize = s - spec;
	memcpy(file, spec, fileNameSize);
	file[fileNameSize] = 0;
	}
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
callq 0x3221b
movq %r14, %rdi
testl %eax, %eax
je 0x13483
xorl %esi, %esi
movq %r15, %rdx
xorl %ecx, %ecx
callq 0x2852a
testq %rbx, %rbx
je 0x134d1
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x6680
movl $0x3a, %esi
callq 0x6270
movq %rax, %r12
testq %rax, %rax
jne 0x134a6
leaq 0x7ad24(%rip), %rdi     # 0x8e1c0
movq %r14, %rsi
xorl %eax, %eax
callq 0x26b6f
leaq 0x1(%r12), %rsi
movq %r15, %rdi
callq 0x6680
testq %rbx, %rbx
je 0x134d1
subl %r14d, %r12d
movslq %r12d, %r15
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x6570
movb $0x0, (%rbx,%r15)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfOut.c
// Function: gfOutputPsl
struct gfOutput *gfOutputPsl(int goodPpt, 
	boolean qIsProt, boolean tIsProt, FILE *f, 
	boolean saveSeq, boolean noHead)
/* Set up psl/pslx output */
{
struct gfOutput *out = gfOutputInit(goodPpt, qIsProt, tIsProt);
struct pslxData *pslData;

AllocVar(pslData);
pslData->saveSeq = saveSeq;
pslData->f = f;
out->out = pslOut;
out->data = pslData;
if (!noHead)
    out->fileHead = pslHead;
return out;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, 0x4(%rsp)
movl %r8d, %r14d
movq %rcx, %r15
movl %edx, %r12d
movl %esi, %r13d
movl %edi, %ebp
movl $0x50, %edi
callq 0x2dc95
movq %rax, %rbx
movl %ebp, 0x38(%rax)
movl %r13d, 0x3c(%rax)
movl %r12d, 0x40(%rax)
movl $0x10, %edi
callq 0x2dc95
movl %r14d, 0x8(%rax)
movq %r15, (%rax)
leaq 0x2c(%rip), %rcx        # 0x1355a
movq %rcx, 0x10(%rbx)
movq %rax, 0x8(%rbx)
cmpl $0x0, 0x4(%rsp)
jne 0x13548
leaq 0x67b(%rip), %rax       # 0x13bbf
movq %rax, 0x20(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfOut.c
// Function: gfOutputAxtMem
struct gfOutput *gfOutputAxtMem(int goodPpt, boolean qIsProt, 
	boolean tIsProt)
/* Setup output for in memory axt output. */
{
struct gfOutput *out = gfOutputInit(goodPpt, qIsProt, tIsProt);
struct axtData *ad;
AllocVar(ad);
out->out = saveAxtBundle;
out->data = ad;
return out;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebx
movl %esi, %ebp
movl %edi, %r14d
movl $0x50, %edi
callq 0x2dc95
movq %rax, %r15
movl %r14d, 0x38(%rax)
movl %ebp, 0x3c(%rax)
movl %ebx, 0x40(%rax)
movl $0x30, %edi
callq 0x2dc95
leaq 0x16(%rip), %rcx        # 0x13c13
movq %rcx, 0x10(%r15)
movq %rax, 0x8(%r15)
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfOut.c
// Function: axtQueryOut
static void axtQueryOut(struct gfOutput *out, FILE *f)
/* Do axt oriented output - at end of processing query. */
{
struct axtData *aod = out->data;
struct axtBundle *gab;
for (gab = aod->bundleList; gab != NULL; gab = gab->next)
    {
    struct axt *axt;
    for (axt = gab->axtList; axt != NULL; axt = axt->next)
	axtWrite(axt, f);
    }
axtBundleFreeList(&aod->bundleList);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0x8(%rdi), %r14
movq (%r14), %r12
testq %r12, %r12
je 0x14074
movq %rsi, %rbx
movq 0x8(%r12), %r15
testq %r15, %r15
je 0x1406b
movq %r15, %rdi
movq %rbx, %rsi
callq 0x19b72
movq (%r15), %r15
jmp 0x14056
movq (%r12), %r12
testq %r12, %r12
jne 0x14051
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x1b0e3
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfOut.c
// Function: gfOutputMaf
struct gfOutput *gfOutputMaf(int goodPpt, boolean qIsProt, 
	boolean tIsProt, FILE *f)
/* Setup output for maf format. */
{
struct gfOutput *out = gfOutputAxtMem(goodPpt, qIsProt, tIsProt);
out->queryOut = mafQueryOut;
out->fileHead = mafHead;
return out;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebx
movl %esi, %ebp
movl %edi, %r14d
movl $0x50, %edi
callq 0x2dc95
movq %rax, %r15
movl %r14d, 0x38(%rax)
movl %ebp, 0x3c(%rax)
movl %ebx, 0x40(%rax)
movl $0x30, %edi
callq 0x2dc95
leaq -0x4aa(%rip), %rcx      # 0x13c13
movq %rcx, 0x10(%r15)
movq %rax, 0x8(%r15)
leaq 0x1d(%rip), %rax        # 0x140e9
movq %rax, 0x18(%r15)
leaq 0x7f(%rip), %rax        # 0x14156
movq %rax, 0x20(%r15)
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfOut.c
// Function: mafQueryOut
static void mafQueryOut(struct gfOutput *out, FILE *f)
/* Do axt oriented output - at end of processing query. */
{
struct axtData *aod = out->data;
struct axtBundle *gab;
for (gab = aod->bundleList; gab != NULL; gab = gab->next)
    {
    struct axt *axt;
    for (axt = gab->axtList; axt != NULL; axt = axt->next)
	{
	struct mafAli temp;
	mafFromAxtTemp(axt, gab->tSize, gab->qSize, &temp);
	mafWrite(f, &temp);
	}
    }
axtBundleFreeList(&aod->bundleList);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq 0x8(%rdi), %rbx
movq (%rbx), %r13
testq %r13, %r13
je 0x14140
movq %rsi, %r14
leaq 0x8(%rsp), %r15
movq 0x8(%r13), %r12
testq %r12, %r12
je 0x14137
movl 0x10(%r13), %esi
movl 0x14(%r13), %edx
movq %r12, %rdi
movq %r15, %rcx
callq 0x2d7d0
movq %r14, %rdi
movq %r15, %rsi
callq 0x2cc13
movq (%r12), %r12
jmp 0x1410e
movq (%r13), %r13
testq %r13, %r13
jne 0x1410a
movq %rbx, %rdi
callq 0x1b0e3
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfOut.c
// Function: gfOutputSim4
struct gfOutput *gfOutputSim4(int goodPpt, boolean qIsProt, boolean tIsProt, 
	char *databaseName)
/* Set up to output in sim4 format. */
{
struct gfOutput *out = gfOutputAxtMem(goodPpt, qIsProt, tIsProt);
struct axtData *ad = out->data;
if (qIsProt || tIsProt)
    errAbort("sim4 output is not available for protein query sequences.");
ad->databaseName = databaseName;
out->queryOut = sim4QueryOut;
return out;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %rbx
movl %edx, %ebp
movl %esi, %r12d
movl %edi, %r15d
movl $0x50, %edi
callq 0x2dc95
movq %rax, %r14
movl %r15d, 0x38(%rax)
movl %r12d, 0x3c(%rax)
movl %ebp, 0x40(%rax)
movl $0x30, %edi
callq 0x2dc95
movq %rax, %r15
leaq -0x591(%rip), %rax      # 0x13c13
movq %rax, 0x10(%r14)
movq %r15, 0x8(%r14)
orl %r12d, %ebp
je 0x141bf
leaq 0x7a030(%rip), %rdi     # 0x8e1e8
xorl %eax, %eax
callq 0x26b6f
movq %rbx, 0x8(%r15)
leaq 0x10(%rip), %rax        # 0x141da
movq %rax, 0x18(%r14)
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfOut.c
// Function: gfOutputBlast
struct gfOutput *gfOutputBlast(int goodPpt, 
	boolean qIsProt, boolean tIsProt, 
	char *databaseName, int databaseSeqCount, double databaseLetters,
	char *blastType, double minIdentity, FILE *f)
/* Setup output for blast format. */
{
struct gfOutput *out = gfOutputAxtMem(goodPpt, qIsProt, tIsProt);
struct axtData *ad = out->data;
ad->databaseName = databaseName;
ad->databaseSeqCount = databaseSeqCount;
ad->databaseLetters = databaseLetters;
ad->blastType = blastType;
ad->minIdentity = minIdentity;
out->queryOut = blastQueryOut;
return out;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movsd %xmm1, 0x10(%rsp)
movq %r9, 0x8(%rsp)
movsd %xmm0, (%rsp)
movl %r8d, %ebp
movq %rcx, %r14
movl %edx, %r15d
movl %esi, %r12d
movl %edi, %r13d
movl $0x50, %edi
callq 0x2dc95
movq %rax, %rbx
movl %r13d, 0x38(%rax)
movl %r12d, 0x3c(%rax)
movl %r15d, 0x40(%rax)
movl $0x30, %edi
callq 0x2dc95
leaq -0x843(%rip), %rcx      # 0x13c13
movq %rcx, 0x10(%rbx)
movq %rax, 0x8(%rbx)
movq %r14, 0x8(%rax)
movl %ebp, 0x10(%rax)
movsd (%rsp), %xmm0
movsd %xmm0, 0x18(%rax)
movq 0x8(%rsp), %rcx
movq %rcx, 0x20(%rax)
movsd 0x10(%rsp), %xmm0
movsd %xmm0, 0x28(%rax)
leaq 0x16(%rip), %rax        # 0x144a0
movq %rax, 0x18(%rbx)
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfOut.c
// Function: blastQueryOut
static void blastQueryOut(struct gfOutput *out, FILE *f)
/* Output blast on query. */
{
struct axtData *aod = out->data;
axtBlastOut(aod->bundleList, out->queryIx, out->qIsProt, f,
	aod->databaseName, aod->databaseSeqCount, aod->databaseLetters,
	aod->blastType, "blat", aod->minIdentity);
axtBundleFreeList(&aod->bundleList);
}

// Assembly:
pushq %rbx
movq %rsi, %rcx
movq 0x8(%rdi), %rbx
movl 0x44(%rdi), %esi
movl 0x3c(%rdi), %edx
movq (%rbx), %rdi
movq 0x8(%rbx), %r8
movl 0x10(%rbx), %r9d
movsd 0x18(%rbx), %xmm0
movsd 0x28(%rbx), %xmm1
leaq 0x79f37(%rip), %rax     # 0x8e401
pushq %rax
pushq 0x20(%rbx)
callq 0x1c6f4
addq $0x10, %rsp
movq %rbx, %rdi
popq %rbx
jmp 0x1b0e3
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/gfOut.c
// Function: gfOutputFree
void gfOutputFree(struct gfOutput **pOut)
/* Free up output */
{
struct gfOutput *out = *pOut;
if (out != NULL)
    {
    freeMem(out->data);
    freez(pOut);
    }
}

// Assembly:
movq (%rdi), %rax
testq %rax, %rax
je 0x1474b
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rax), %rdi
callq 0x2dd41
movq %rbx, %rdi
popq %rbx
jmp 0x2dd51
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/ooc.c
// Function: oocMaskCounts
void oocMaskCounts(char *oocFile, bits32 *tileCounts, int tileSize, bits32 maxPat)
/* Set items of tileCounts to maxPat if they are in oocFile. 
 * Effectively masks this out of index.*/
{
if (oocFile != NULL)
    {
    bits32 sig, psz;
    FILE *f = mustOpen(oocFile, "rb");
    boolean mustSwap = FALSE;

    mustReadOne(f, sig);
    mustReadOne(f, psz);
    if (sig == oocSig)
	mustSwap = FALSE;
    else if (sig == oocSigSwapped)
	{
	mustSwap = TRUE;
	psz = byteSwap32(psz);
	}
    else
        errAbort("Bad signature on %s\n", oocFile);
    if (psz != tileSize)
        errAbort("Oligo size mismatch in %s. Expecting %d got %d\n", 
            oocFile, tileSize, psz);
    if (mustSwap)
	{
	union {bits32 whole; UBYTE bytes[4];} u,v;
	while (readOne(f, u))
	    {
	    v.bytes[0] = u.bytes[3];
	    v.bytes[1] = u.bytes[2];
	    v.bytes[2] = u.bytes[1];
	    v.bytes[3] = u.bytes[0];
	    tileCounts[v.whole] = maxPat;
	    }
	}
    else
	{
	bits32 oli;
	while (readOne(f, oli))
	    tileCounts[oli] = maxPat;
	}
    fclose(f);
    }
}

// Assembly:
testq %rdi, %rdi
je 0x14890
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %ebx
movq %rsi, %r14
movq %rdi, %r12
movl %edx, 0xc(%rsp)
leaq 0x79c90(%rip), %rsi     # 0x8e406
callq 0x22d5a
movq %rax, %r15
leaq 0x14(%rsp), %r13
movl $0x4, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x22e78
leaq 0x10(%rsp), %rsi
movl $0x4, %edx
movq %r15, %rdi
callq 0x22e78
movb $0x1, %bpl
movl (%r13), %eax
cmpl $0x584155f2, %eax       # imm = 0x584155F2
je 0x147dc
cmpl $0xf2554158, %eax       # imm = 0xF2554158
jne 0x147cb
movl 0x10(%rsp), %edi
callq 0x236d8
movl %eax, 0x10(%rsp)
xorl %ebp, %ebp
jmp 0x147dc
leaq 0x79c37(%rip), %rdi     # 0x8e409
movq %r12, %rsi
xorl %eax, %eax
callq 0x26b6f
movl 0xc(%rsp), %edx
movl 0x10(%rsp), %ecx
cmpl %edx, %ecx
je 0x147f9
leaq 0x79c2f(%rip), %rdi     # 0x8e41e
movq %r12, %rsi
xorl %eax, %eax
callq 0x26b6f
leaq 0x8(%rsp), %rdi
movl $0x4, %esi
movl $0x1, %edx
movq %r15, %rcx
testb %bpl, %bpl
je 0x14845
callq 0x6b20
cmpq $0x1, %rax
jne 0x1487a
leaq 0x8(%rsp), %r12
movl 0x8(%rsp), %eax
movl %ebx, (%r14,%rax,4)
movl $0x4, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %r15, %rcx
callq 0x6b20
cmpq $0x1, %rax
je 0x14820
jmp 0x1487a
callq 0x6b20
cmpq $0x1, %rax
jne 0x1487a
leaq 0x8(%rsp), %r12
movl 0x8(%rsp), %eax
bswapl %eax
movl %ebx, (%r14,%rax,4)
movl $0x4, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %r15, %rcx
callq 0x6b20
cmpq $0x1, %rax
je 0x14855
movq %r15, %rdi
callq 0x66e0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/ooc.c
// Function: oocMaskSimpleRepeats
void oocMaskSimpleRepeats(bits32 *tileCounts, int seedSize, bits32 maxPat)
/* Mask out simple repeats in index . */
{
int i, j, k;
int tileMask = (1<<(seedSize+seedSize))-1;
for (i=0; i<4; ++i)
    {
    for (j=0; j<4; ++j)
        {
        bits32 repeat = 0;
        for (k=0; k<8; ++k)
            {
            repeat <<= 2;
            repeat |= i;
            repeat <<= 2;
            repeat |= j;
            }
        repeat &= tileMask;
        tileCounts[repeat] = maxPat;
        }
    }
}

// Assembly:
leal (%rsi,%rsi), %ecx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
shll %cl, %eax
notl %eax
xorl %ecx, %ecx
leal (,%rcx,4), %esi
xorl %r8d, %r8d
xorl %r9d, %r9d
movl $0x8, %r10d
shll $0x4, %r9d
addl %esi, %r9d
addl %r8d, %r9d
decl %r10d
jne 0x148b2
andl %eax, %r9d
movl %edx, (%rdi,%r9,4)
incl %r8d
cmpl $0x4, %r8d
jne 0x148a9
incl %ecx
cmpl $0x4, %ecx
jne 0x1489f
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/supStitch.c
// Function: ssFfItemFreeList
void ssFfItemFreeList(struct ssFfItem **pList)
/* Free a list of ssFfItems. */
{
struct ssFfItem *el, *next;
for (el = *pList; el != NULL; el = next)
    {
    next = el->next;
    ssFfItemFree(&el);
    }
*pList = NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq (%rdi), %r15
movq %r15, 0x8(%rsp)
testq %r15, %r15
je 0x1492f
leaq 0x8(%rsp), %r14
movq (%r15), %r15
movq %r14, %rdi
callq 0x148dc
movq %r15, 0x8(%rsp)
testq %r15, %r15
jne 0x1491a
movq $0x0, (%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/supStitch.c
// Function: ssBundleFreeList
void ssBundleFreeList(struct ssBundle **pList)
/* Free up list of ssBundles */
{
struct ssBundle *el, *next;
for (el = *pList; el != NULL; el = next)
    {
    next = el->next;
    ssBundleFree(&el);
    }
*pList = NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq (%rdi), %r15
movq %r15, 0x8(%rsp)
testq %r15, %r15
je 0x14993
leaq 0x8(%rsp), %r14
movq (%r15), %r15
movq %r14, %rdi
callq 0x14940
movq %r15, 0x8(%rsp)
testq %r15, %r15
jne 0x1497e
movq $0x0, (%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/supStitch.c
// Function: dumpNearCrossover
void dumpNearCrossover(char *what, DNA *n, DNA *h, int size)
/* Print sequence near crossover */
{
printf("%s: ", what);
mustWrite(stdout, n, size);
printf("\n");
printf("%s: ", what);
mustWrite(stdout, h, size);
printf("\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x7c6df(%rip), %rdi     # 0x910a0
movq %r15, %rsi
xorl %eax, %eax
callq 0x6070
movq 0xaa5de(%rip), %r12     # 0xbefb0
movq (%r12), %rdi
movslq %ebp, %r13
movq %r14, %rsi
movq %r13, %rdx
callq 0x22e1e
movl $0xa, %edi
callq 0x6a40
leaq 0x7c6ab(%rip), %rdi     # 0x910a0
movq %r15, %rsi
xorl %eax, %eax
callq 0x6070
movq (%r12), %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0x22e1e
movl $0xa, %edi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6a40
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/supStitch.c
// Function: dumpFf
void dumpFf(struct ffAli *left, bioSeq *qSeq, bioSeq *tSeq, struct trans3 *t3List)
/* Print info on ffAli. */
{
struct ffAli *ff;
for (ff = left; ff != NULL; ff = ff->right)
    {
    int hStart = trans3GenoPos(ff->hStart, tSeq, t3List, FALSE);
    int hEnd   = trans3GenoPos(ff->hEnd  , tSeq, t3List, TRUE);

    printf("(%d - %d)[%ld-%ld] ", hStart, hEnd,
	(long)(ff->nStart - qSeq->dna), (long)(ff->nEnd - qSeq->dna));
    }
printf("\n");
}

// Assembly:
testq %rdi, %rdi
je 0x14ab0
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
leaq 0x79a01(%rip), %r13     # 0x8e44e
movq 0x20(%r12), %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x15f1c
movl %eax, %ebp
movq 0x28(%r12), %rdi
movq %r14, %rsi
movq %rbx, %rdx
movl $0x1, %ecx
callq 0x15f1c
movq 0x10(%r15), %rdx
movq 0x10(%r12), %rcx
movq 0x18(%r12), %r8
subq %rdx, %rcx
subq %rdx, %r8
movq %r13, %rdi
movl %ebp, %esi
movl %eax, %edx
xorl %eax, %eax
callq 0x6070
movq 0x8(%r12), %r12
testq %r12, %r12
jne 0x14a4d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
movl $0xa, %edi
jmp 0x6a40
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/supStitch.c
// Function: dumpBuns
void dumpBuns(struct ssBundle *bunList)
/* Print diagnostic info on bundles. */
{
struct ssBundle *bun;
struct ssFfItem *ffl;
for (bun = bunList; bun != NULL; bun = bun->next)
    {
    struct dnaSeq *qSeq = bun->qSeq;        /* Query sequence (not owned by bundle.) */
    struct dnaSeq *genoSeq = bun->genoSeq;     /* Genomic sequence (not owned by bundle.) */
    printf("Bundle of %d between %s and %s\n", slCount(bun->ffList), qSeq->name, genoSeq->name);
    for (ffl = bun->ffList; ffl != NULL; ffl = ffl->next)
	{
	dumpFf(ffl->ff, bun->qSeq, bun->genoSeq, bun->t3List);
	}
    }
}

// Assembly:
testq %rdi, %rdi
je 0x14b2d
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x79991(%rip), %r14     # 0x8e462
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %r15
movq 0x18(%rbx), %r12
callq 0x1fbec
movq 0x8(%r15), %rdx
movq 0x8(%r12), %rcx
movq %r14, %rdi
movl %eax, %esi
xorl %eax, %eax
callq 0x6070
movq 0x8(%rbx), %r15
testq %r15, %r15
je 0x14b1a
movq 0x8(%r15), %rdi
movq 0x10(%rbx), %rsi
movq 0x18(%rbx), %rdx
movq 0x38(%rbx), %rcx
callq 0x14a26
movq (%r15), %r15
jmp 0x14afb
movq (%rbx), %rbx
testq %rbx, %rbx
jne 0x14ad1
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/supStitch.c
// Function: smallMiddleExons
struct ffAli *smallMiddleExons(struct ffAli *aliList, 
	struct ssBundle *bundle, 
	enum ffStringency stringency)
/* Look for small exons in the middle. */
{
if (bundle->t3List != NULL)
    return aliList;	/* Can't handle intense translated stuff. */
else
    {
    struct dnaSeq *qSeq =  bundle->qSeq;
    struct dnaSeq *genoSeq = bundle->genoSeq;
    struct ffAli *right, *left = NULL, *newLeft, *newRight;

    left = aliList;
    for (right = aliList->right; right != NULL; right = right->right)
        {
	if (right->hStart - left->hEnd >= 3 && right->nStart - left->nEnd >= 3)
	    {
	    newLeft = ffFind(left->nEnd, right->nStart, left->hEnd, right->hStart, stringency);
	    if (newLeft != NULL)
	        {
		newLeft = forceMonotonic(newLeft, qSeq, genoSeq, 
		    stringency, bundle->isProt, bundle->t3List );
		newRight = ffRightmost(newLeft);
                if (left != NULL)
                    {
                    left->right = newLeft;
                    newLeft->left = left;
                    }
                else
                    {
                    aliList = newLeft;
                    }
                if (right != NULL)
                    {
                    right->left = newRight;
                    newRight->right = right;
                    }
		}
	    }
	left = right;
	}
    }
return aliList;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r15
cmpq $0x0, 0x38(%rsi)
je 0x14b4e
movq %r15, %r14
jmp 0x14c08
movq 0x8(%r15), %rax
testq %rax, %rax
je 0x14b46
movl %edx, %ebx
movq 0x10(%rsi), %rcx
movq %rcx, 0x10(%rsp)
movq %rsi, (%rsp)
movq 0x18(%rsi), %rcx
movq %rcx, 0x8(%rsp)
leaq 0x8(%r15), %r13
movq %r15, %r14
movq %r15, %r12
movq %rax, %r15
movq 0x20(%rax), %rcx
movq 0x28(%r12), %rdx
movq %rcx, %rax
subq %rdx, %rax
cmpq $0x3, %rax
jl 0x14bf7
movq 0x10(%r15), %rsi
movq 0x18(%r12), %rdi
movq %rsi, %rax
subq %rdi, %rax
cmpq $0x3, %rax
jl 0x14bf7
movl %ebx, %r8d
callq 0xad77
testq %rax, %rax
je 0x14bf7
movl %ebx, %ecx
movq (%rsp), %rdx
movl 0x30(%rdx), %r8d
movq 0x38(%rdx), %r9
movq %rax, %rdi
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x14c1a
movq %rax, %rbp
movq %rax, %rdi
callq 0x27f40
testq %r12, %r12
je 0x14bed
movq %rbp, (%r13)
movq %r12, (%rbp)
jmp 0x14bf0
movq %rbp, %r14
movq %rax, (%r15)
movq %r15, 0x8(%rax)
leaq 0x8(%r15), %r13
movq 0x8(%r15), %rax
testq %rax, %rax
jne 0x14b76
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/jkOwnLib/supStitch.c
// Function: forceMonotonic
static struct ffAli *forceMonotonic(struct ffAli *aliList,
	struct dnaSeq *qSeq, struct dnaSeq *tSeq, enum ffStringency stringency,
	boolean isProt, struct trans3 *t3List)
/* Remove any blocks that violate strictly increasing order in both coordinates. 
 * This is not optimal, but it turns out to be very rarely used. */
{
if (!isProt)
    {
    if (!isMonotonic(aliList))
	{
	struct ffAli *leftovers = NULL;
	int score;
	ssFindBestBig(aliList, qSeq, tSeq, stringency, isProt, t3List, &aliList, &score,
	   &leftovers);
	ffFreeAli(&leftovers);
	}
    }
return aliList;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, (%rsp)
testl %r8d, %r8d
je 0x14c44
movq (%rsp), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r9, %rbx
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq %rdi, %rax
movq 0x8(%rax), %r13
testq %r13, %r13
je 0x14c31
movq 0x18(%rax), %rcx
movq 0x10(%r13), %rdx
cmpq %rdx, %rcx
ja 0x14c78
movq 0x28(%rax), %rsi
movq %r13, %rax
cmpq 0x20(%r13), %rsi
jbe 0x14c55
subl %ecx, %edx
movl 0x20(%r13), %ecx
subl 0x28(%r13), %ecx
leaq 0x797f9(%rip), %rsi     # 0x8e482
movl $0x2, %edi
xorl %eax, %eax
callq 0x4246e
testq %r13, %r13
je 0x14c31
leaq 0x10(%rsp), %r13
movq $0x0, (%r13)
subq $0x8, %rsp
leaq 0x14(%rsp), %rax
leaq 0x8(%rsp), %r10
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %ebp, %ecx
xorl %r8d, %r8d
movq %rbx, %r9
pushq %r13
pushq %rax
pushq %r10
callq 0x1587c
addq $0x20, %rsp
movq %r13, %rdi
callq 0x27ea8
jmp 0x14c31