// File: /workspace/github_c_makefile_star2_O0/icebert[P]pblat/lib/axt.c
// Function: axtReadWithPos
struct axt *axtReadWithPos(struct lineFile *lf, off_t *retOffset)
/* Read next axt, and if retOffset is not-NULL, fill it with
 * offset of start of axt. */
{
char *words[10], *line;
int wordCount, symCount;
struct axt *axt;

wordCount = lineFileChop(lf, words);
if (retOffset != NULL)
    *retOffset = lineFileTell(lf);
if (wordCount <= 0)
    return NULL;
if (wordCount < 8)
    {
    errAbort("Expecting at least 8 words line %d of %s got %d\n", lf->lineIx, lf->fileName,
        wordCount);
    }
AllocVar(axt);

axt->qName = cloneString(words[4]);
axt->qStart = lineFileNeedNum(lf, words, 5) - 1;
axt->qEnd = lineFileNeedNum(lf, words, 6);
axt->qStrand = words[7][0];
axt->tName = cloneString(words[1]);
axt->tStart = lineFileNeedNum(lf, words, 2) - 1;
axt->tEnd = lineFileNeedNum(lf, words, 3);
axt->tStrand = '+';
if (wordCount > 8)
    axt->score = lineFileNeedNum(lf, words, 8);
lineFileNeedNext(lf, &line, NULL);
axt->symCount = symCount = strlen(line);
axt->tSym = cloneMem(line, symCount+1);
lineFileNeedNext(lf, &line, NULL);
if (strlen(line) != symCount)
    errAbort("Symbol count %d != %d inconsistent between sequences line %d and prev line of %s",
        symCount, (int)strlen(line), lf->lineIx, lf->fileName);
axt->qSym = cloneMem(line, symCount+1);
lineFileNext(lf, &line, NULL);	/* Skip blank line */
return axt;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x70(%rbp), %rsi
movl $0xa, %edx
callq 0x3c920
movl %eax, -0x7c(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x20b69
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rcx
movq -0x10(%rbp), %rax
movslq 0x2c(%rax), %rax
addq %rax, %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
cmpl $0x0, -0x7c(%rbp)
jg 0x20b7c
movq $0x0, -0x8(%rbp)
jmp 0x20d7d
cmpl $0x8, -0x7c(%rbp)
jge 0x20ba2
movq -0x10(%rbp), %rax
movl 0x28(%rax), %esi
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdx
movl -0x7c(%rbp), %ecx
leaq 0xb7abb(%rip), %rdi     # 0xd8656
movb $0x0, %al
callq 0x35d40
movl $0x58, %edi
callq 0x40c50
movq %rax, -0x88(%rbp)
movq -0x50(%rbp), %rdi
callq 0x2a450
movq %rax, %rcx
movq -0x88(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x10(%rbp), %rdi
leaq -0x70(%rbp), %rsi
movl $0x5, %edx
callq 0x3cc60
movl %eax, %ecx
subl $0x1, %ecx
movq -0x88(%rbp), %rax
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rdi
leaq -0x70(%rbp), %rsi
movl $0x6, %edx
callq 0x3cc60
movl %eax, %ecx
movq -0x88(%rbp), %rax
movl %ecx, 0x14(%rax)
movq -0x38(%rbp), %rax
movb (%rax), %cl
movq -0x88(%rbp), %rax
movb %cl, 0x18(%rax)
movq -0x68(%rbp), %rdi
callq 0x2a450
movq %rax, %rcx
movq -0x88(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rdi
leaq -0x70(%rbp), %rsi
movl $0x2, %edx
callq 0x3cc60
movl %eax, %ecx
subl $0x1, %ecx
movq -0x88(%rbp), %rax
movl %ecx, 0x28(%rax)
movq -0x10(%rbp), %rdi
leaq -0x70(%rbp), %rsi
movl $0x3, %edx
callq 0x3cc60
movl %eax, %ecx
movq -0x88(%rbp), %rax
movl %ecx, 0x2c(%rax)
movq -0x88(%rbp), %rax
movb $0x2b, 0x30(%rax)
cmpl $0x8, -0x7c(%rbp)
jle 0x20c9e
movq -0x10(%rbp), %rdi
leaq -0x70(%rbp), %rsi
movl $0x8, %edx
callq 0x3cc60
movl %eax, %ecx
movq -0x88(%rbp), %rax
movl %ecx, 0x34(%rax)
movq -0x10(%rbp), %rdi
leaq -0x78(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq 0x3c0d0
movq -0x78(%rbp), %rdi
callq 0x62c0
movl %eax, %ecx
movl %ecx, -0x80(%rbp)
movq -0x88(%rbp), %rax
movl %ecx, 0x38(%rax)
movq -0x78(%rbp), %rdi
movl -0x80(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
callq 0x2a360
movq %rax, %rcx
movq -0x88(%rbp), %rax
movq %rcx, 0x48(%rax)
movq -0x10(%rbp), %rdi
leaq -0x78(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq 0x3c0d0
movq -0x78(%rbp), %rdi
callq 0x62c0
movslq -0x80(%rbp), %rcx
cmpq %rcx, %rax
je 0x20d41
movl -0x80(%rbp), %eax
movl %eax, -0x8c(%rbp)
movq -0x78(%rbp), %rdi
callq 0x62c0
movl -0x8c(%rbp), %esi
movl %eax, %edx
movq -0x10(%rbp), %rax
movl 0x28(%rax), %ecx
movq -0x10(%rbp), %rax
movq 0x8(%rax), %r8
leaq 0xb794d(%rip), %rdi     # 0xd8687
movb $0x0, %al
callq 0x35d40
movq -0x78(%rbp), %rdi
movl -0x80(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
callq 0x2a360
movq %rax, %rcx
movq -0x88(%rbp), %rax
movq %rcx, 0x40(%rax)
movq -0x10(%rbp), %rdi
leaq -0x78(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq 0x3b660
movq -0x88(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x90, %rsp
popq %rbp
retq
nopw (%rax,%rax)