LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/linefile.c
// Function: lineFileChopNext
int lineFileChopNext(struct lineFile *lf, char *words[], int maxWords)
/* Return next non-blank line that doesn't start with '#' chopped into words. */
{
int lineSize, wordCount;
char *line;

while (lineFileNext(lf, &line, &lineSize))
    {
    if (line[0] == '#')
        continue;
    wordCount = chopByWhite(line, words, maxWords);
    if (wordCount != 0)
        return wordCount;
    }
return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x10(%rsp), %rsi
leaq 0xc(%rsp), %rdx
callq 0xd274
xorl %ebp, %ebp
testl %eax, %eax
je 0xdce3
leaq 0x10(%rsp), %r12
leaq 0xc(%rsp), %r13
movq 0x10(%rsp), %rdi
cmpb $0x23, (%rdi)
je 0xdccd
movq %r14, %rsi
movl %ebx, %edx
callq 0x8d37
testl %eax, %eax
jne 0xdce1
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0xd274
testl %eax, %eax
jne 0xdcb5
jmp 0xdce3
movl %eax, %ebp
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/linefile.c
// Function: lineFileChopCharNext
int lineFileChopCharNext(struct lineFile *lf, char sep, char *words[], int maxWords)
/* Return next non-blank line that doesn't start with '#' chopped into
   words delimited by sep. */
{
int lineSize, wordCount;
char *line;

while (lineFileNext(lf, &line, &lineSize))
    {
    if (line[0] == '#')
        continue;
    wordCount = chopByChar(line, sep, words, maxWords);
    if (wordCount != 0)
        return wordCount;
    }
return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %ebx
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %r15
leaq 0x10(%rsp), %rsi
leaq 0xc(%rsp), %rdx
callq 0xd274
xorl %ecx, %ecx
testl %eax, %eax
je 0xdd61
leaq 0x10(%rsp), %r12
leaq 0xc(%rsp), %r13
movsbl %bpl, %ebp
movq 0x10(%rsp), %rdi
cmpb $0x23, (%rdi)
je 0xdd49
movl %ebp, %esi
movq %r14, %rdx
movl %ebx, %ecx
callq 0x8ed8
testl %eax, %eax
jne 0xdd5f
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0xd274
testl %eax, %eax
jne 0xdd2f
xorl %ecx, %ecx
jmp 0xdd61
movl %eax, %ecx
movl %ecx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/linefile.c
// Function: lineFileChopNextTab
int lineFileChopNextTab(struct lineFile *lf, char *words[], int maxWords)
/* Return next non-blank line that doesn't start with '#' chopped into words
 * on tabs */
{
int lineSize, wordCount;
char *line;

while (lineFileNext(lf, &line, &lineSize))
    {
    if (line[0] == '#')
        continue;
    wordCount = chopByChar(line, '\t', words, maxWords);
    if (wordCount != 0)
        return wordCount;
    }
return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x10(%rsp), %rsi
leaq 0xc(%rsp), %rdx
callq 0xd274
xorl %ebp, %ebp
testl %eax, %eax
je 0xddda
leaq 0x10(%rsp), %r12
leaq 0xc(%rsp), %r13
movq 0x10(%rsp), %rdi
cmpb $0x23, (%rdi)
je 0xddc4
movl $0x9, %esi
movq %r14, %rdx
movl %ebx, %ecx
callq 0x8ed8
testl %eax, %eax
jne 0xddd8
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0xd274
testl %eax, %eax
jne 0xdda7
jmp 0xddda
movl %eax, %ebp
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/linefile.c
// Function: lineFileNextCharRow
boolean lineFileNextCharRow(struct lineFile *lf, char sep, char *words[], int wordCount)
/* Return next non-blank line that doesn't start with '#' chopped into words
 * delimited by sep. Returns FALSE at EOF.  Aborts on error. */
{
int wordsRead;
wordsRead = lineFileChopCharNext(lf, sep, words, wordCount);
if (wordsRead == 0)
    return FALSE;
if (wordsRead < wordCount)
    lineFileExpectWords(lf, wordCount, wordsRead);
return TRUE;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %ecx, %ebp
movq %rdi, %r14
callq 0xdcf4
testl %eax, %eax
je 0xde23
movl $0x1, %ebx
cmpl %ebp, %eax
jge 0xde25
movl 0x28(%r14), %edx
movq 0x8(%r14), %rcx
leaq 0xc0f0(%rip), %rdi      # 0x19f05
movl %ebp, %esi
movl %eax, %r8d
xorl %eax, %eax
callq 0xb8d7
jmp 0xde25
xorl %ebx, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/linefile.c
// Function: lineFileNextRow
boolean lineFileNextRow(struct lineFile *lf, char *words[], int wordCount)
/* Return next non-blank line that doesn't start with '#' chopped into words.
 * Returns FALSE at EOF.  Aborts on error. */
{
int wordsRead;
wordsRead = lineFileChopNext(lf, words, wordCount);
if (wordsRead == 0)
    return FALSE;
if (wordsRead < wordCount)
    lineFileExpectWords(lf, wordCount, wordsRead);
return TRUE;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movq %rdi, %r14
callq 0xdc80
testl %eax, %eax
je 0xde64
movl $0x1, %ebx
cmpl %ebp, %eax
jge 0xde66
movl 0x28(%r14), %edx
movq 0x8(%r14), %rcx
leaq 0xc0af(%rip), %rdi      # 0x19f05
movl %ebp, %esi
movl %eax, %r8d
xorl %eax, %eax
callq 0xb8d7
jmp 0xde66
xorl %ebx, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/linefile.c
// Function: lineFileNextRowTab
boolean lineFileNextRowTab(struct lineFile *lf, char *words[], int wordCount)
/* Return next non-blank line that doesn't start with '#' chopped into words
 * at tabs. Returns FALSE at EOF.  Aborts on error. */
{
int wordsRead;
wordsRead = lineFileChopNextTab(lf, words, wordCount);
if (wordsRead == 0)
    return FALSE;
if (wordsRead < wordCount)
    lineFileExpectWords(lf, wordCount, wordsRead);
return TRUE;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movq %rdi, %r14
callq 0xdd72
testl %eax, %eax
je 0xdea5
movl $0x1, %ebx
cmpl %ebp, %eax
jge 0xdea7
movl 0x28(%r14), %edx
movq 0x8(%r14), %rcx
leaq 0xc06e(%rip), %rdi      # 0x19f05
movl %ebp, %esi
movl %eax, %r8d
xorl %eax, %eax
callq 0xb8d7
jmp 0xdea7
xorl %ebx, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/linefile.c
// Function: lineFileNeedFullNum
int lineFileNeedFullNum(struct lineFile *lf, char *words[], int wordIx)
/* Make sure that words[wordIx] is an ascii integer, and return
 * binary representation of it. Require all chars in word to be digits.*/
{
char *c;
for (c = words[wordIx]; *c; c++)
    {
    if (*c == '-' || isdigit(*c))
        /* NOTE: embedded '-' will be caught by lineFileNeedNum */
        continue;
    errAbort("Expecting integer field %d line %d of %s, got %s",
            wordIx+1, lf->lineIx, lf->fileName, words[wordIx]);
    }
return lineFileNeedNum(lf, words, wordIx);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %r15
movl %edx, 0x4(%rsp)
movslq %edx, %r13
movq (%rsi,%r13,8), %rbx
leal 0x1(%r13), %ebp
movzbl (%rbx), %eax
cmpl $0x2d, %eax
je 0xdf0a
testl %eax, %eax
je 0xdf0f
movsbq %al, %r12
callq 0x37a0
movq (%rax), %rax
testb $0x8, 0x1(%rax,%r12,2)
jne 0xdf0a
movl 0x28(%r15), %edx
movq 0x8(%r15), %rcx
movq (%r14,%r13,8), %r8
leaq 0xc10d(%rip), %rdi      # 0x1a00e
movl %ebp, %esi
xorl %eax, %eax
callq 0xb8d7
incq %rbx
jmp 0xdece
movq %r15, %rdi
movq %r14, %rsi
movl 0x4(%rsp), %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xdf2c
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/linefile.c
// Function: lineFileNeedNum
int lineFileNeedNum(struct lineFile *lf, char *words[], int wordIx)
/* Make sure that words[wordIx] is an ascii integer, and return
 * binary representation of it. Conversion stops at first non-digit char. */
{
char *ascii = words[wordIx];
char c = ascii[0];
if (c != '-' && !isdigit(c))
    errAbort("Expecting number field %d line %d of %s, got %s",
    	wordIx+1, lf->lineIx, lf->fileName, ascii);
return atoi(ascii);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movslq %edx, %rax
movq (%rsi,%rax,8), %rbx
movsbq (%rbx), %r15
cmpq $0x2d, %r15
je 0xdf76
movl %edx, %ebp
movq %rdi, %r14
callq 0x37a0
movq (%rax), %rax
testb $0x8, 0x1(%rax,%r15,2)
jne 0xdf76
incl %ebp
movl 0x28(%r14), %edx
movq 0x8(%r14), %rcx
leaq 0xc0d5(%rip), %rdi      # 0x1a03f
movl %ebp, %esi
movq %rbx, %r8
xorl %eax, %eax
callq 0xb8d7
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x36a0
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/linefile.c
// Function: lineFileAllInts
void lineFileAllInts(struct lineFile *lf, char *words[], int wordIx, void *val,
  boolean isSigned,  int byteCount, char *typeString, boolean noNeg)
/* Returns long long integer from converting the input string. Aborts on error. */
{
char *s = words[wordIx];
char errMsg[256];
int res = lineFileCheckAllIntsNoAbort(s, val, isSigned, byteCount, typeString, noNeg, errMsg, sizeof errMsg);
if (res > 0)
    {
    errAbort("%s in field %d line %d of %s, got %s",
	errMsg, wordIx+1, lf->lineIx, lf->fileName, s);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x100, %rsp            # imm = 0x100
movl %r9d, %r10d
movl %r8d, %eax
movl %edx, %ebx
movq %rdi, %r15
movq 0x120(%rsp), %r8
movl 0x128(%rsp), %r9d
movslq %edx, %rdx
movq (%rsi,%rdx,8), %r14
movq %rsp, %r11
movq %r14, %rdi
movq %rcx, %rsi
movl %eax, %edx
movl %r10d, %ecx
pushq $0x100                  # imm = 0x100
pushq %r11
callq 0xdf88
addq $0x10, %rsp
testl %eax, %eax
je 0xe22c
incl %ebx
movl 0x28(%r15), %ecx
movq 0x8(%r15), %r8
leaq 0xbf7f(%rip), %rdi      # 0x1a19c
movq %rsp, %rsi
movl %ebx, %edx
movq %r14, %r9
xorl %eax, %eax
callq 0xb8d7
addq $0x100, %rsp            # imm = 0x100
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/linefile.c
// Function: lineFileAllIntsArray
int lineFileAllIntsArray(struct lineFile *lf, char *words[], int wordIx, void *array, int arraySize,
  boolean isSigned,  int byteCount, char *typeString, boolean noNeg)
/* Convert comma separated list of numbers to an array.  Pass in
 * array and max size of array. Aborts on error. Returns number of elements in parsed array. */
{
char *s = words[wordIx];
char errMsg[256];
unsigned count = 0;
char *cArray = array;
for (;;)
    {
    char *e;
    if (s == NULL || s[0] == 0 || count == arraySize)
        break;
    e = strchr(s, ',');
    if (e)
        *e = 0;
    int res = lineFileCheckAllIntsNoAbort(s, cArray, isSigned, byteCount, typeString, noNeg, errMsg, sizeof errMsg);
    if (res > 0)
	{
	errAbort("%s in column %d of array field %d line %d of %s, got %s",
	    errMsg, count, wordIx+1, lf->lineIx, lf->fileName, s);
	}
    if (cArray) // NULL means validation only.
	cArray += byteCount;  
    count++;
    if (e)  // restore input string
        *e++ = ',';
    s = e;
    }
return count;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movl %r9d, 0x4(%rsp)
movq %rcx, %r14
movq %rdi, 0x8(%rsp)
movslq %edx, %rax
movq (%rsi,%rax,8), %r13
incl %eax
movq %rax, 0x10(%rsp)
movslq 0x160(%rsp), %rax
movq %rax, 0x18(%rsp)
leaq 0x20(%rsp), %rbp
xorl %r12d, %r12d
movl %r8d, (%rsp)
testq %r13, %r13
je 0xe295
cmpb $0x0, (%r13)
sete %al
cmpl %r8d, %r12d
sete %cl
orb %al, %cl
je 0xe29c
xorl %eax, %eax
jmp 0xe346
movq %r13, %rdi
movl $0x2c, %esi
callq 0x3260
movq %rax, %rbx
testq %rax, %rax
je 0xe2b4
movb $0x0, (%rbx)
movq %r13, %rdi
movq %r14, %rsi
movl 0x4(%rsp), %edx
movl 0x160(%rsp), %ecx
movq 0x168(%rsp), %r8
movl 0x170(%rsp), %r9d
pushq $0x100                  # imm = 0x100
movq %rbp, %r15
pushq %rbp
callq 0xdf88
addq $0x10, %rsp
testl %eax, %eax
je 0xe31b
movq 0x8(%rsp), %rax
movl 0x28(%rax), %r8d
movq 0x8(%rax), %r9
subq $0x8, %rsp
leaq 0xbebe(%rip), %rdi      # 0x1a1c1
movq %r15, %rsi
movl %r12d, %edx
movq 0x18(%rsp), %rcx
xorl %eax, %eax
pushq %r13
callq 0xb8d7
addq $0x10, %rsp
movq 0x18(%rsp), %rax
addq %r14, %rax
testq %r14, %r14
cmovneq %rax, %r14
incl %r12d
movb $0x1, %al
testq %rbx, %rbx
je 0xe33f
movq %rbx, %r13
incq %r13
movb $0x2c, (%rbx)
jmp 0xe342
xorl %r13d, %r13d
movl (%rsp), %r8d
testb %al, %al
jne 0xe27e
movl %r12d, %eax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/linefile.c
// Function: lineFileNeedDouble
double lineFileNeedDouble(struct lineFile *lf, char *words[], int wordIx)
/* Make sure that words[wordIx] is an ascii double value, and return
 * binary representation of it. */
{
char *valEnd;
char *val = words[wordIx];
double doubleValue;

doubleValue = strtod(val, &valEnd);
if ((*val == '\0') || (*valEnd != '\0'))
    errAbort("Expecting double field %d line %d of %s, got %s",
    	wordIx+1, lf->lineIx, lf->fileName, val);
return doubleValue;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %edx, %ebx
movq %rdi, %r15
movslq %edx, %rax
movq (%rsi,%rax,8), %r14
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x3160
cmpb $0x0, (%r14)
je 0xe395
movq 0x8(%rsp), %rax
cmpb $0x0, (%rax)
je 0xe3bc
incl %ebx
movl 0x28(%r15), %edx
movq 0x8(%r15), %rcx
leaq 0xbe53(%rip), %rdi      # 0x1a1f9
movl %ebx, %esi
movq %r14, %r8
xorl %eax, %eax
movsd %xmm0, (%rsp)
callq 0xb8d7
movsd (%rsp), %xmm0
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/linefile.c
// Function: lineFileSkip
void lineFileSkip(struct lineFile *lf, int lineCount)
/* Skip a number of lines. */
{
int i, lineSize;
char *line;

for (i=0; i<lineCount; ++i)
    {
    if (!lineFileNext(lf, &line, &lineSize))
        errAbort("Premature end of file in %s", lf->fileName);
    }
}

// Assembly:
testl %esi, %esi
jle 0xe41e
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %esi, %ebx
movq %rdi, %r14
leaq 0x8(%rsp), %r15
leaq 0x4(%rsp), %r12
leaq 0xbe3c(%rip), %r13      # 0x1a229
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0xd274
testl %eax, %eax
jne 0xe40d
movq 0x8(%r14), %rsi
movq %r13, %rdi
xorl %eax, %eax
callq 0xb8d7
decl %ebx
jne 0xe3ed
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/linefile.c
// Function: lineFileReadAll
char *lineFileReadAll(struct lineFile *lf)
/* Read remainder of lineFile and return it as a string. */
{
struct dyString *dy = dyStringNew(1024*4);
lf->zTerm = 0;
int size;
char *line;
while (lineFileNext(lf, &line, &size))
    dyStringAppendN(dy, line, size);
return dyStringCannibalize(&dy);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movl $0x1000, %edi           # imm = 0x1000
callq 0xaf38
movq %rax, 0x18(%rsp)
movb $0x0, 0x34(%rbx)
leaq 0x10(%rsp), %rsi
leaq 0xc(%rsp), %rdx
movq %rbx, %rdi
callq 0xd274
testl %eax, %eax
je 0xe4db
leaq 0x10(%rsp), %r14
leaq 0xc(%rsp), %r15
movq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edx
callq 0xb042
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0xd274
testl %eax, %eax
jne 0xe4b6
leaq 0x18(%rsp), %rdi
callq 0xaf94
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/linefile.c
// Function: lineFileRemoveInitialCustomTrackLines
void lineFileRemoveInitialCustomTrackLines(struct lineFile *lf)
/* remove initial browser and track lines */
{
char *line;
while (lineFileNextReal(lf, &line))
    {
    if (!(startsWith("browser", line) || startsWith("track", line) ))
        {
        verbose(2, "found line not browser or track: %s\n", line);
        lineFileReuse(lf);
        break;
        }
    verbose(2, "skipping %s\n", line);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %rsi
callq 0xdbed
testl %eax, %eax
je 0xead6
leaq 0xb952(%rip), %r14      # 0x1a3b2
leaq 0xb953(%rip), %r15      # 0x1a3ba
leaq 0xb977(%rip), %r12      # 0x1a3e5
leaq 0x8(%rsp), %r13
movq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x8214
testl %eax, %eax
jne 0xea95
movq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x8214
testl %eax, %eax
je 0xeaba
movq 0x8(%rsp), %rdx
movl $0x2, %edi
movq %r12, %rsi
xorl %eax, %eax
callq 0x12c8e
movq %rbx, %rdi
movq %r13, %rsi
callq 0xdbed
testl %eax, %eax
jne 0xea73
jmp 0xead6
movq 0x8(%rsp), %rdx
leaq 0xb8fa(%rip), %rsi      # 0x1a3c0
movl $0x2, %edi
xorl %eax, %eax
callq 0x12c8e
movb $0x1, 0x3c(%rbx)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/localmem.c
// Function: lmInit
struct lm *lmInit(int blockSize)
/* Create a local memory pool. */
{
struct lm *lm;
int aliSize = sizeof(long);
if (aliSize < sizeof(double))
    aliSize = sizeof(double);
if (aliSize < sizeof(void *))
    aliSize = sizeof(void *);
lm = needMem(sizeof(*lm));
lm->blocks = NULL;
if (blockSize <= 0)
    blockSize = (1<<14);    /* 16k default. */
lm->blockSize = blockSize;
lm->allignAdd = (aliSize-1);
lm->allignMask = ~lm->allignAdd;
newBlock(lm, blockSize);
return lm;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %edi, %ebx
movl $0x20, %edi
callq 0xf07d
movq %rax, %r14
testl %ebx, %ebx
movl $0x4000, %esi           # imm = 0x4000
cmovgl %ebx, %esi
movq $0x0, (%rax)
movq %rsi, 0x8(%rax)
movq $0x7, 0x18(%rax)
movq $-0x8, 0x10(%rax)
movq %rax, %rdi
callq 0xeb2f
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/localmem.c
// Function: newBlock
static struct lmBlock *newBlock(struct lm *lm, size_t reqSize)
/* Allocate a new block of at least reqSize */
{
size_t size = (reqSize > lm->blockSize ? reqSize : lm->blockSize);
size_t fullSize = size + sizeof(struct lmBlock);
struct lmBlock *mb = needLargeZeroedMem(fullSize);
if (mb == NULL)
    errAbort("Couldn't allocate %lld bytes", (long long)fullSize);
mb->free = (char *)(mb+1);
mb->end = ((char *)mb) + fullSize;
mb->next = lm->blocks;
lm->blocks = mb;
return mb;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rdi), %rax
cmpq %rsi, %rax
cmovaq %rax, %r14
addq $0x20, %r14
movq %r14, %rdi
callq 0xeeec
movq %rax, %r15
testq %rax, %rax
jne 0xeb6a
leaq 0xb8ca(%rip), %rdi      # 0x1a42a
movq %r14, %rsi
xorl %eax, %eax
callq 0xb8d7
leaq 0x20(%r15), %rax
movq %rax, 0x8(%r15)
addq %r15, %r14
movq %r14, 0x10(%r15)
movq (%rbx), %rax
movq %rax, (%r15)
movq %r15, (%rbx)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/localmem.c
// Function: lmCleanup
void lmCleanup(struct lm **pLm)
/* Clean up a local memory pool. */
{
    struct lm *lm = *pLm;
    if (lm == NULL)
        return;
    slFreeList(&lm->blocks);
    freeMem(lm);
    *pLm = NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq (%rdi), %r14
testq %r14, %r14
je 0xebb1
movq %rdi, %rbx
movq %r14, %rdi
callq 0x675e
movq %r14, %rdi
callq 0xf129
movq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/localmem.c
// Function: lmSize
size_t lmSize(struct lm *lm)
// Returns current size of pool, even for memory already allocated
{
size_t fullSize = 0;

struct lmBlock *mb = lm->blocks;
for (;mb != NULL;mb = mb->next)
    fullSize += (mb->end - (char *)(mb+1));

return fullSize;
}

// Assembly:
movq (%rdi), %rcx
xorl %eax, %eax
testq %rcx, %rcx
je 0xebe8
movq 0x10(%rcx), %rdx
subq %rcx, %rax
movq (%rcx), %rsi
addq %rdx, %rax
addq $-0x20, %rax
movq %rsi, %rcx
testq %rsi, %rsi
jne 0xebcf
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/localmem.c
// Function: lmAlloc
void *lmAlloc(struct lm *lm, size_t size)
/* Allocate memory from local pool. */
{
struct lmBlock *mb = lm->blocks;
void *ret;
size_t memLeft = mb->end - mb->free;
if (memLeft < size)
    mb = newBlock(lm, size);
ret = mb->free;
mb->free += ((size+lm->allignAdd)&lm->allignMask);
if (mb->free > mb->end)
    mb->free = mb->end;
return ret;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rax
movq 0x10(%rax), %rcx
subq 0x8(%rax), %rcx
cmpq %rsi, %rcx
jae 0xec0e
movq %r14, %rdi
movq %rbx, %rsi
callq 0xeb2f
addq 0x18(%r14), %rbx
andq 0x10(%r14), %rbx
movq 0x8(%rax), %rcx
movq 0x10(%rax), %rdx
addq %rcx, %rbx
cmpq %rdx, %rbx
cmovaq %rdx, %rbx
movq %rbx, 0x8(%rax)
movq %rcx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/localmem.c
// Function: lmAllocMoreMem
void *lmAllocMoreMem(struct lm *lm, void *pt, size_t oldSize, size_t newSize)
/* Adjust memory size on a block, possibly relocating it.  If block is grown,
 * new memory is zeroed. */
{
struct lmBlock *mb = lm->blocks;
// rare case that pointer is to last lm alloc, but still try.
// Note this is the one place where the pointer gets reused and it is known to be in this lm
if ((char *)pt + oldSize == mb->free
&&  (char *)pt + newSize <= mb->end)
    {
    if (newSize > oldSize) // only move the free pointer on more mem
        mb->free = pt + newSize;
    return pt;
    }
void *new = lmAlloc(lm, newSize);
memcpy(new, pt, oldSize);
return new;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq (%rdi), %rax
addq %rsi, %rdx
cmpq 0x8(%rax), %rdx
jne 0xec57
leaq (%rbx,%rcx), %rdx
cmpq 0x10(%rax), %rdx
jbe 0xec74
movq %rcx, %rsi
callq 0xebe9
movq %rax, %rdi
movq %rbx, %rsi
movq %r14, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x34a0
cmpq %r14, %rcx
jbe 0xec7d
movq %rdx, 0x8(%rax)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/localmem.c
// Function: lmCloneString
char *lmCloneString(struct lm *lm, char *string)
/* Return local mem copy of string. */
{
if (string == NULL)
    return NULL;
else
    return lmCloneStringZ(lm, string, strlen(string));
}

// Assembly:
testq %rsi, %rsi
je 0xed1d
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x3200
movq %rax, %r15
incl %eax
movslq %eax, %rsi
movq %r14, %rdi
callq 0xebe9
movslq %r15d, %rdx
movq %rax, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x34a0
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/localmem.c
// Function: lmCloneFirstWord
char *lmCloneFirstWord(struct lm *lm, char *line)
/* Clone first word in line */
{
char *startFirstWord = skipLeadingSpaces(line);
if (startFirstWord == NULL)
    return NULL;
char *endFirstWord = skipToSpaces(startFirstWord);
if (endFirstWord == NULL)
    return lmCloneString(lm, startFirstWord);
else
    return lmCloneStringZ(lm, startFirstWord, endFirstWord - startFirstWord);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r15
movq %rsi, %rdi
callq 0x7cb1
testq %rax, %rax
je 0xed5a
movq %rax, %rbx
movabsq $0x100000000, %r12      # imm = 0x100000000
movq %rax, %rdi
callq 0x8fa0
testq %rax, %rax
je 0xed68
movq %rax, %r14
subl %ebx, %r14d
jmp 0xed73
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rbx, %rdi
callq 0x3200
movq %rax, %r14
shlq $0x20, %r14
addq %r14, %r12
sarq $0x20, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xebe9
sarq $0x20, %r14
movq %rax, %rdi
movq %rbx, %rsi
movq %r14, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x34a0
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/localmem.c
// Function: lmCloneSomeWord
char *lmCloneSomeWord(struct lm *lm, char *line, int wordIx)
/* Return a clone of the given space-delimited word within line.  Returns NULL if
 * not that many words in line. */
{
if (wordIx < 0)
    return NULL;
int i;
for (i=0; i<wordIx; ++i)
    {
    line = skipLeadingSpaces(line);
    line = skipToSpaces(line);
    if (line == NULL)
        return NULL;
    }
return lmCloneFirstWord(lm, line);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
testl %edx, %edx
js 0xede1
movq %rsi, %rax
movq %rdi, %rbx
je 0xedd0
movl %edx, %ebp
movq %rax, %rdi
callq 0x7cb1
movq %rax, %rdi
callq 0x8fa0
testq %rax, %rax
je 0xede1
decl %ebp
jne 0xedb7
movq %rbx, %rdi
movq %rax, %rsi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xed20
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/localmem.c
// Function: lmSlName
struct slName *lmSlName(struct lm *lm, char *name)
/* Return slName in memory. */
{
struct slName *n;
int size = sizeof(*n) + strlen(name) + 1;
n = lmAlloc(lm, size);
strcpy(n->name, name);
return n;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x3200
addl $0x11, %eax
movslq %eax, %rsi
movq %r14, %rdi
callq 0xebe9
movq %rax, %r14
leaq 0x8(%rax), %rdi
movq %rbx, %rsi
callq 0x30e0
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/memalloc.c
// Function: popMemHandler
struct memHandler *popMemHandler()
/* Removes top element from memHandler stack and returns it. */
{
struct memHandler *oldHandler = mhStack;
if (mhStack == &defaultMemHandler)
    errAbort("Too many popMemHandlers()");
mhStack = mhStack->next;
return oldHandler;
}

// Assembly:
pushq %rbx
movq 0x1870a(%rip), %rbx     # 0x27548
leaq 0x1870b(%rip), %rax     # 0x27550
cmpq %rax, %rbx
jne 0xee58
leaq 0xb5f6(%rip), %rdi      # 0x1a447
xorl %eax, %eax
callq 0xb8d7
movq 0x186e9(%rip), %rax     # 0x27548
movq (%rax), %rax
movq %rax, 0x186df(%rip)     # 0x27548
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/memalloc.c
// Function: needLargeMem
void *needLargeMem(size_t size)
/* This calls abort if the memory allocation fails. The memory is
 * not initialized to zero. */
{
void *pt;
if (size == 0 || size >= maxAlloc)
    errAbort("needLargeMem: trying to allocate %llu bytes (limit: %llu)",
         (unsigned long long)size, (unsigned long long)maxAlloc);
if ((pt = mhStack->alloc(size)) == NULL)
    errAbort("needLargeMem: Out of memory - request size %llu bytes, errno: %d\n",
             (unsigned long long)size, errno);
return pt;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rdi, %rdi
setne %al
movq 0x186d7(%rip), %rdx     # 0x27570
cmpq %rdi, %rdx
seta %cl
testb %cl, %al
jne 0xeeb4
leaq 0xb5b7(%rip), %rdi      # 0x1a461
movq %rbx, %rsi
xorl %eax, %eax
callq 0xb8d7
movq 0x1868d(%rip), %rax     # 0x27548
movq %rbx, %rdi
callq *0x8(%rax)
movq %rax, %r14
testq %rax, %rax
jne 0xeee1
callq 0x30c0
movl (%rax), %edx
leaq 0xb5c4(%rip), %rdi      # 0x1a49b
movq %rbx, %rsi
xorl %eax, %eax
callq 0xb8d7
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/memalloc.c
// Function: needLargeMemResize
void *needLargeMemResize(void* vp, size_t size)
/* Adjust memory size on a block, possibly relocating it.  If vp is NULL,
 * a new memory block is allocated.  Memory not initted. */
{
void *pt;
if (size == 0 || size >= maxAlloc)
    errAbort("needLargeMemResize: trying to allocate %llu bytes (limit: %llu)",
         (unsigned long long)size, (unsigned long long)maxAlloc);
if ((pt = mhStack->realloc(vp, size)) == NULL)
    errAbort("needLargeMemResize: Out of memory - request size %llu bytes, errno: %d\n",
             (unsigned long long)size, errno);
return pt;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
testq %rsi, %rsi
setne %al
movq 0x18656(%rip), %rdx     # 0x27570
cmpq %rsi, %rdx
seta %cl
testb %cl, %al
jne 0xef35
leaq 0xb5b2(%rip), %rdi      # 0x1a4dd
movq %rbx, %rsi
xorl %eax, %eax
callq 0xb8d7
movq 0x1860c(%rip), %rax     # 0x27548
movq %r14, %rdi
movq %rbx, %rsi
callq *0x18(%rax)
movq %rax, %r14
testq %rax, %rax
jne 0xef65
callq 0x30c0
movl (%rax), %edx
leaq 0xb5c2(%rip), %rdi      # 0x1a51d
movq %rbx, %rsi
xorl %eax, %eax
callq 0xb8d7
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/memalloc.c
// Function: needLargeZeroedMemResize
void *needLargeZeroedMemResize(void* vp, size_t oldSize, size_t newSize)
/* Adjust memory size on a block, possibly relocating it.  If vp is NULL, a
 * new memory block is allocated.  If block is grown, new memory is zeroed. */
{
void *v = needLargeMemResize(vp, newSize);
if (newSize > oldSize)
    memset(((char*)v)+oldSize, 0, newSize-oldSize);
return v;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdx, %rsi
callq 0xef03
movq %rax, %r14
subq %r15, %rbx
jbe 0xef9b
movq %r14, %rdi
addq %r15, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x3300
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/memalloc.c
// Function: needHugeMem
void *needHugeMem(size_t size)
/* No checking on size.  Memory not initted. */
{
void *pt;
if (size == 0)
    errAbort("needHugeMem: trying to allocate 0 bytes");
if ((pt = mhStack->alloc(size)) == NULL)
    errAbort("needHugeMem: Out of huge memory - request size %llu bytes, errno: %d\n",
             (unsigned long long)size, errno);
return pt;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rdi, %rdi
jne 0xefbe
leaq 0xb5ae(%rip), %rdi      # 0x1a565
xorl %eax, %eax
callq 0xb8d7
movq 0x18583(%rip), %rax     # 0x27548
movq %rbx, %rdi
callq *0x8(%rax)
movq %rax, %r14
testq %rax, %rax
jne 0xefeb
callq 0x30c0
movl (%rax), %edx
leaq 0xb5ac(%rip), %rdi      # 0x1a58d
movq %rbx, %rsi
xorl %eax, %eax
callq 0xb8d7
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/memalloc.c
// Function: needHugeMemResize
void *needHugeMemResize(void* vp, size_t size)
/* Adjust memory size on a block, possibly relocating it.  If vp is NULL,
 * a new memory block is allocated.  No checking on size.  Memory not
 * initted. */
{
void *pt;
if ((pt = mhStack->realloc(vp, size)) == NULL)
    errAbort("needHugeMemResize: Out of memory - request resize %llu bytes, errno: %d\n",
	(unsigned long long)size, errno);
return pt;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x1852d(%rip), %rax     # 0x27548
callq *0x18(%rax)
movq %rax, %r14
testq %rax, %rax
jne 0xf03e
callq 0x30c0
movl (%rax), %edx
leaq 0xb59f(%rip), %rdi      # 0x1a5d3
movq %rbx, %rsi
xorl %eax, %eax
callq 0xb8d7
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/memalloc.c
// Function: needHugeZeroedMemResize
void *needHugeZeroedMemResize(void* vp, size_t oldSize, size_t newSize)
/* Adjust memory size on a block, possibly relocating it.  If vp is NULL, a
 * new memory block is allocated.  No checking on size.  If block is grown,
 * new memory is zeroed. */
{
void *v;
v = needHugeMemResize(vp, newSize);
if (newSize > oldSize)
    memset(((char*)v)+oldSize, 0, newSize-oldSize);
return v;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdx, %rsi
callq 0xf00d
movq %rax, %r14
subq %r15, %rbx
jbe 0xf074
movq %r14, %rdi
addq %r15, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x3300
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/memalloc.c
// Function: needMem
void *needMem(size_t size)
/* Need mem calls abort if the memory allocation fails. The memory
 * is initialized to zero. */
{
void *pt;
if (size == 0 || size > NEEDMEM_LIMIT)
    errAbort("needMem: trying to allocate %llu bytes (limit: %llu)",
         (unsigned long long)size, (unsigned long long)NEEDMEM_LIMIT);
if ((pt = mhStack->alloc(size)) == NULL)
    errAbort("needMem: Out of memory - request size %llu bytes, errno: %d\n",
             (unsigned long long)size, errno);
memset(pt, 0, size);
return pt;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq $-0x1dcd6501, %rax      # imm = 0xE2329AFF
leaq (%rdi,%rax), %rcx
cmpq %rax, %rcx
ja 0xf0aa
leaq 0xb581(%rip), %rdi      # 0x1a61c
movl $0x1dcd6500, %edx       # imm = 0x1DCD6500
movq %rbx, %rsi
xorl %eax, %eax
callq 0xb8d7
movq 0x18497(%rip), %rax     # 0x27548
movq %rbx, %rdi
callq *0x8(%rax)
movq %rax, %r14
testq %rax, %rax
jne 0xf0d7
callq 0x30c0
movl (%rax), %edx
leaq 0xb584(%rip), %rdi      # 0x1a651
movq %rbx, %rsi
xorl %eax, %eax
callq 0xb8d7
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3300
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/memalloc.c
// Function: freez
void freez(void *vpt)
/* Pass address of pointer.  Will free pointer and set it 
 * to NULL. */
{
void **ppt = (void **)vpt;
void *pt = *ppt;
*ppt = NULL;
freeMem(pt);
}

// Assembly:
movq %rdi, %rax
movq (%rdi), %rdi
movq $0x0, (%rax)
testq %rdi, %rdi
je 0xf155
movq 0x183f6(%rip), %rax     # 0x27548
jmpq *0x10(%rax)
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/memalloc.c
// Function: carefulCheckHeap
void carefulCheckHeap()
/* Walk through allocated memory and make sure that all cookies are
 * in place. */
{
int maxPieces = 10000000;    /* Assume no more than this many pieces allocated. */
struct carefulMemBlock *cmb;
char *pEndCookie;
size_t size;

if (carefulParent == NULL)
    return;

for (cmb = (struct carefulMemBlock *)(cmbAllocedList->head); cmb->next != NULL; cmb = cmb->next)
    {
    size = cmb->size;
    pEndCookie = (((char *)(cmb+1)) + size);
    if (cmb->startCookie != cmbStartCookie)
        errAbort("Bad start cookie %x checking %llx\n", cmb->startCookie,
                 ptrToLL(cmb+1));
    if (memcmp(pEndCookie, cmbEndCookie, sizeof(cmbEndCookie)) != 0)
        errAbort("Bad end cookie %x%x%x%x checking %llx\n", 
                 pEndCookie[0], pEndCookie[1], pEndCookie[2], pEndCookie[3],
                 ptrToLL(cmb+1));
    if (--maxPieces == 0)
        errAbort("Loop or more than 10000000 pieces in memory list");
    }
}

// Assembly:
cmpq $0x0, 0x18752(%rip)     # 0x278b0
je 0xf21c
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x18742(%rip), %rax     # 0x278b8
movq (%rax), %r12
cmpq $0x0, (%r12)
je 0xf20e
movl $0xff676981, %ebp       # imm = 0xFF676981
leaq 0xb548(%rip), %rbx      # 0x1a6d8
leaq 0xb51a(%rip), %r14      # 0x1a6b1
leaq 0xb4f0(%rip), %r15      # 0x1a68e
movslq 0x10(%r12), %r13
movl 0x14(%r12), %esi
cmpl 0x183ca(%rip), %esi     # 0x27578
je 0xf1bf
leaq 0x1(%r12), %rdx
movq %r15, %rdi
xorl %eax, %eax
callq 0xb8d7
movl 0x18(%r12,%r13), %eax
cmpl 0x183b2(%rip), %eax     # 0x2757c
je 0xf1f3
movsbl 0x18(%r12,%r13), %esi
movsbl 0x19(%r12,%r13), %edx
movsbl 0x1a(%r12,%r13), %ecx
movsbl 0x1b(%r12,%r13), %r8d
leaq 0x1(%r12), %r9
movq %r14, %rdi
xorl %eax, %eax
callq 0xb8d7
testl %ebp, %ebp
jne 0xf201
movq %rbx, %rdi
xorl %eax, %eax
callq 0xb8d7
movq (%r12), %r12
incl %ebp
cmpq $0x0, (%r12)
jne 0xf19e
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/memalloc.c
// Function: memTrackerStart
void memTrackerStart()
/* Push memory handler that will track blocks allocated so that
 * they can be automatically released with memTrackerEnd().  You
 * can have memTrackerStart one after the other, but memTrackerStart/End
 * need to nest. */
{
struct memTracker *mt;

if (memTracker != NULL)
     errAbort("multiple memTrackerStart calls");
AllocVar(mt);
AllocVar(mt->handler);
mt->handler->alloc = memTrackerAlloc;
mt->handler->free = memTrackerFree;
mt->handler->realloc = memTrackerRealloc;
mt->list = dlListNew();
mt->parent = pushMemHandler(mt->handler);
memTracker = mt;
}

// Assembly:
pushq %rbx
cmpq $0x0, 0x18645(%rip)     # 0x278c8
je 0xf293
leaq 0xb47d(%rip), %rdi      # 0x1a709
xorl %eax, %eax
callq 0xb8d7
movl $0x20, %edi
callq 0xf07d
movq %rax, %rbx
movl $0x20, %edi
callq 0xf07d
movq %rax, 0x18(%rbx)
leaq 0x47(%rip), %rcx        # 0xf2fc
movq %rcx, 0x8(%rax)
leaq 0x77(%rip), %rcx        # 0xf337
movq %rcx, 0x10(%rax)
leaq 0x8e(%rip), %rcx        # 0xf359
movq %rcx, 0x18(%rax)
xorl %eax, %eax
callq 0xab28
movq %rax, 0x8(%rbx)
movq 0x18(%rbx), %rax
movq 0x18263(%rip), %rcx     # 0x27548
movq %rcx, (%rax)
movq %rax, 0x18259(%rip)     # 0x27548
movq %rcx, 0x10(%rbx)
movq %rbx, 0x185ce(%rip)     # 0x278c8
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/memalloc.c
// Function: memTrackerAlloc
static void *memTrackerAlloc(size_t size)
/* Allocate extra memory for cookies and list node, and then
 * return memory block. */
{
struct dlNode *node;

size += sizeof (*node);
node = memTracker->parent->alloc(size);
if (node == NULL)
    return node;
dlAddTail(memTracker->list, node);
return (void*)(node+1);
}

// Assembly:
pushq %rbx
addq $0x18, %rdi
movq 0x185c0(%rip), %rax     # 0x278c8
movq 0x10(%rax), %rax
callq *0x8(%rax)
testq %rax, %rax
je 0xf330
movq %rax, %rbx
movq 0x185aa(%rip), %rax     # 0x278c8
movq 0x8(%rax), %rdi
movq %rbx, %rsi
callq 0xac19
addq $0x18, %rbx
jmp 0xf332
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/memalloc.c
// Function: memTrackerRealloc
static void *memTrackerRealloc(void *vpt, size_t size)
/* Resize a memory block from memTrackerAlloc. */
{
if (vpt == NULL)
    return memTrackerAlloc(size);
else
    {
    struct dlNode *node = ((struct dlNode *)vpt)-1;
    size += sizeof(*node);
    dlRemove(node);
    node = memTracker->parent->realloc(node, size);
    if (node == NULL)
        return node;
    dlAddTail(memTracker->list, node);
    return (void*)(node+1);
    }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
testq %rdi, %rdi
je 0xf3ad
movq %rdi, %r14
addq $-0x18, %r14
addq $0x18, %rbx
movq %r14, %rdi
callq 0xacfc
movq 0x18549(%rip), %rax     # 0x278c8
movq 0x10(%rax), %rax
movq %r14, %rdi
movq %rbx, %rsi
callq *0x18(%rax)
testq %rax, %rax
je 0xf3bc
movq %rax, %rbx
movq 0x1852d(%rip), %rax     # 0x278c8
movq 0x8(%rax), %rdi
movq %rbx, %rsi
callq 0xac19
addq $0x18, %rbx
jmp 0xf3be
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xf2fc
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/memalloc.c
// Function: memTrackerEnd
void memTrackerEnd()
/* Free any remaining blocks and pop tracker memory handler. */
{
struct memTracker *mt = memTracker;
if (mt == NULL)
    errAbort("memTrackerEnd without memTrackerStart");
memTracker = NULL;
popMemHandler();
dlListFree(&mt->list);
freeMem(mt->handler);
freeMem(mt);
}

// Assembly:
pushq %rbx
movq 0x184f7(%rip), %rbx     # 0x278c8
testq %rbx, %rbx
jne 0xf3e4
leaq 0xb34b(%rip), %rdi      # 0x1a728
xorl %eax, %eax
callq 0xb8d7
movq $0x0, 0x184d9(%rip) # 0x278c8
leaq 0x1815a(%rip), %rax     # 0x27550
cmpq %rax, 0x1814b(%rip)     # 0x27548
jne 0xf40d
leaq 0xb041(%rip), %rdi      # 0x1a447
xorl %eax, %eax
callq 0xb8d7
movq 0x18134(%rip), %rax     # 0x27548
movq (%rax), %rax
movq %rax, 0x1812a(%rip)     # 0x27548
leaq 0x8(%rbx), %rdi
callq 0xab7d
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0xf43a
movq 0x18111(%rip), %rax     # 0x27548
callq *0x10(%rax)
testq %rbx, %rbx
je 0xf44d
movq 0x18102(%rip), %rax     # 0x27548
movq %rbx, %rdi
popq %rbx
jmpq *0x10(%rax)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/memalloc.c
// Function: carefulAlloc
static void *carefulAlloc(size_t size)
/* Allocate extra memory for cookies and list node, and then
 * return memory block. */
{
struct carefulMemBlock *cmb;
char *pEndCookie;
size_t newAlloced = size + carefulAlloced;
size_t aliSize;

if (newAlloced > carefulMaxToAlloc)
    {
    char maxAlloc[32];
    char allocRequest[32];
    sprintLongWithCommas(maxAlloc, (long long)carefulMaxToAlloc);
    sprintLongWithCommas(allocRequest, (long long)newAlloced);
    errAbort("carefulAlloc: Allocated too much memory - more than %s bytes (%s)",
	maxAlloc, allocRequest);
    }
carefulAlloced = newAlloced;
aliSize = ((size + sizeof(*cmb) + 4 + carefulAlignAdd)&carefulAlignMask);
cmb = carefulParent->alloc(aliSize);
cmb->size = size;
cmb->startCookie = cmbStartCookie;
pEndCookie = (char *)(cmb+1);
pEndCookie += size;
memcpy(pEndCookie, cmbEndCookie, sizeof(cmbEndCookie));
dlAddHead(cmbAllocedList, (struct dlNode *)cmb);
return (void *)(cmb+1);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movq 0x1844d(%rip), %r14     # 0x278c0
addq %rdi, %r14
movq 0x18453(%rip), %rsi     # 0x278d0
cmpq %rsi, %r14
jbe 0xf4b1
leaq 0x20(%rsp), %r15
movq %r15, %rdi
callq 0x10134
movq %rsp, %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0x10134
leaq 0xb2aa(%rip), %rdi      # 0x1a74e
movq %r15, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq 0xb8d7
movq %r14, 0x18408(%rip)     # 0x278c0
leaq 0x7(%rbx), %rax
cmpb $0x0, 0x18415(%rip)     # 0x278d8
cmoveq %rbx, %rax
addq $0x1c, %rax
movzbl 0x1840e(%rip), %ecx     # 0x278e0
xorl $0x1, %ecx
leaq -0x8(,%rcx,8), %rdi
andq %rax, %rdi
movq 0x183c9(%rip), %rax     # 0x278b0
callq *0x8(%rax)
movl %ebx, 0x10(%rax)
movl 0x18085(%rip), %ecx     # 0x27578
movl %ecx, 0x14(%rax)
leaq 0x18(%rax), %r14
movl 0x1807c(%rip), %ecx     # 0x2757c
movl %ecx, 0x18(%rax,%rbx)
movq 0x183ad(%rip), %rdi     # 0x278b8
movq %rax, %rsi
callq 0xac03
movq %r14, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/memalloc.c
// Function: carefulFree
static void carefulFree(void *vpt)
/* Check cookies and free. */
{
struct carefulMemBlock *cmb = ((struct carefulMemBlock *)vpt)-1;
size_t size = cmb->size;
char *pEndCookie;

carefulAlloced -= size;
pEndCookie = (((char *)(cmb+1)) + size);
if (cmb->startCookie != cmbStartCookie)
    errAbort("Bad start cookie %x freeing %llx\n", cmb->startCookie,
             ptrToLL(vpt));
if (memcmp(pEndCookie, cmbEndCookie, sizeof(cmbEndCookie)) != 0)
    errAbort("Bad end cookie %x%x%x%x freeing %llx\n", 
        pEndCookie[0], pEndCookie[1], pEndCookie[2], pEndCookie[3],
             ptrToLL(vpt));
dlRemove((struct dlNode *)cmb);
carefulParent->free(cmb);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movslq -0x8(%rdi), %r14
subq %r14, 0x1838c(%rip)     # 0x278c0
movl -0x4(%rdi), %esi
cmpl 0x1803b(%rip), %esi     # 0x27578
je 0xf550
leaq 0xb24a(%rip), %rdi      # 0x1a790
movq %rbx, %rdx
xorl %eax, %eax
callq 0xb8d7
movl (%rbx,%r14), %eax
cmpl 0x18022(%rip), %eax     # 0x2757c
je 0xf584
movsbl (%rbx,%r14), %esi
movsbl 0x1(%rbx,%r14), %edx
movsbl 0x2(%rbx,%r14), %ecx
movsbl 0x3(%rbx,%r14), %r8d
leaq 0xb238(%rip), %rdi      # 0x1a7b2
movq %rbx, %r9
xorl %eax, %eax
callq 0xb8d7
addq $-0x18, %rbx
movq %rbx, %rdi
callq 0xacfc
movq 0x18319(%rip), %rax     # 0x278b0
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *0x10(%rax)
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/memalloc.c
// Function: carefulRealloc
static void *carefulRealloc(void *vpt, size_t size)
/* realloc a careful memblock block. */
{
unsigned char* newBlk = carefulAlloc(size);
if (vpt != NULL)
    {
    struct carefulMemBlock *cmb = ((struct carefulMemBlock *)vpt)-1;
    memcpy(newBlk, vpt, cmb->size);
    carefulFree(vpt);
    }
return newBlk;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rsi, %rdi
callq 0xf45e
movq %rax, %r14
testq %rbx, %rbx
je 0xf5d2
movslq -0x8(%rbx), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x34a0
movq %rbx, %rdi
callq 0xf522
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/obscure.c
// Function: incCounterFile
long incCounterFile(char *fileName)
/* Increment a 32 bit value on disk. */
{
long val = 0;
FILE *f = fopen(fileName, "r+b");
if (f != NULL)
    {
    mustReadOne(f, val);
    rewind(f);
    }
else
    {
    f = fopen(fileName, "wb");
    }
++val;
if (f != NULL)
    {
    fwrite(&val, sizeof(val), 1, f);
    if (fclose(f) != 0)
        errnoAbort("fclose failed");
    }
return val;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq $0x0, (%rsp)
leaq 0xb1ea(%rip), %rsi      # 0x1a7e0
callq 0x3480
testq %rax, %rax
je 0xf61d
movq %rax, %rbx
movq %rsp, %rsi
movl $0x8, %edx
movq %rax, %rdi
callq 0x9650
movq %rbx, %rdi
callq 0x3280
jmp 0xf62f
leaq 0xb1c0(%rip), %rsi      # 0x1a7e4
movq %r14, %rdi
callq 0x3480
movq %rax, %rbx
incq (%rsp)
testq %rbx, %rbx
je 0xf667
movq %rsp, %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x36f0
movq %rbx, %rdi
callq 0x31c0
testl %eax, %eax
je 0xf667
leaq 0xa0a8(%rip), %rdi      # 0x19708
xorl %eax, %eax
callq 0xba00
movq (%rsp), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/obscure.c
// Function: digitsBaseTen
int digitsBaseTen(int x)
/* Return number of digits base 10. */
{
int digCount = 1;
if (x < 0)
    {
    digCount = 2;
    x = -x;
    }
while (x >= 10)
    {
    digCount += 1;
    x /= 10;
    }
return digCount;
}

// Assembly:
movl %edi, %eax
movl %edi, %ecx
negl %ecx
cmovsl %edi, %ecx
shrl $0x1f, %eax
incl %eax
cmpl $0xa, %ecx
jb 0xf6b1
movl $0xcccccccd, %edx       # imm = 0xCCCCCCCD
incl %eax
movl %ecx, %esi
imulq %rdx, %rsi
shrq $0x23, %rsi
cmpl $0x63, %ecx
movl %esi, %ecx
ja 0xf69e
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/obscure.c
// Function: readInGulp
void readInGulp(char *fileName, char **retBuf, size_t *retSize)
/* Read whole file in one big gulp. */
{
size_t size = (size_t)fileSize(fileName);
char *buf;
FILE *f = mustOpen(fileName, "rb");
*retBuf = buf = needLargeMem(size+1);
mustRead(f, buf, size);
buf[size] = 0;      /* Just in case it needs zero termination. */
fclose(f);
if (retSize != NULL)
    *retSize = size;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r12
callq 0x10f64
movq %rax, %r14
leaq 0xb0d2(%rip), %rsi      # 0x1a7e7
movq %r12, %rdi
callq 0x9532
movq %rax, %r12
leaq 0x1(%r14), %rdi
callq 0xee85
movq %rax, %r13
movq %rax, (%r15)
movq %r12, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0x9650
movb $0x0, (%r13,%r14)
movq %r12, %rdi
callq 0x31c0
testq %rbx, %rbx
je 0xf753
movq %r14, (%rbx)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/obscure.c
// Function: readAllWords
void readAllWords(char *fileName, char ***retWords, int *retWordCount, char **retBuf)
/* Read in whole file and break it into words. You need to freeMem both
 * *retWordCount and *retBuf when done. */
{
int wordCount;
char *buf = NULL;
char **words = NULL;
size_t bufSize;

readInGulp(fileName, &buf, &bufSize);
wordCount = chopByWhite(buf, NULL, 0);
if (wordCount != 0)
    {
    words = needMem(wordCount * sizeof(words[0]));
    chopByWhite(buf, words, wordCount);
    }
*retWords = words;
*retWordCount = wordCount;
*retBuf = buf;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
leaq 0x10(%rsp), %r12
movq $0x0, (%r12)
leaq 0x8(%rsp), %rdx
movq %r12, %rsi
callq 0xf6f4
movq (%r12), %r12
xorl %r13d, %r13d
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x8d37
movl %eax, %ebp
testl %eax, %eax
je 0xf7c3
movslq %ebp, %rdi
shlq $0x3, %rdi
callq 0xf07d
movq %rax, %r13
movq %r12, %rdi
movq %rax, %rsi
movl %ebp, %edx
callq 0x8d37
movq %r13, (%r15)
movl %ebp, (%r14)
movq %r12, (%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/JimKent[P]linearSat/lib/obscure.c
// Function: countWordsInFile
int countWordsInFile(char *fileName)
/* Count number of words in file. */
{
struct lineFile *lf = lineFileOpen(fileName, TRUE);
char *line;
int wordCount = 0;
while (lineFileNext(lf, &line, NULL))
    wordCount += chopByWhite(line, NULL, 0);
lineFileClose(&lf);
return wordCount;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movl $0x1, %esi
callq 0xd12a
movq %rax, 0x10(%rsp)
xorl %ebx, %ebx
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
xorl %edx, %edx
callq 0xd274
testl %eax, %eax
je 0xf830
xorl %ebx, %ebx
leaq 0x8(%rsp), %r14
movq 0x8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x8d37
addl %eax, %ebx
movq 0x10(%rsp), %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0xd274
testl %eax, %eax
jne 0xf80d
leaq 0x10(%rsp), %rdi
callq 0xd800
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
retq