// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rsp), %rsi
pushq $0xa
popq %rdx
callq 0x2619f
movl %eax, %ebp
testq %r14, %r14
je 0x167fe
movslq 0x2c(%rbx), %rax
addq 0x18(%rbx), %rax
movq %rax, (%r14)
testl %ebp, %ebp
jle 0x16959
cmpl $0x7, %ebp
ja 0x16822
movl 0x28(%rbx), %esi
movq 0x8(%rbx), %rdx
leaq 0x66f1f(%rip), %rdi     # 0x7d738
movl %ebp, %ecx
xorl %eax, %eax
callq 0x223fb
pushq $0x58
popq %rdi
callq 0x28bb0
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq 0x20(%r15), %rdi
callq 0x1c306
movq %rax, 0x8(%r14)
pushq $0x5
popq %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x263ca
decl %eax
movl %eax, 0x10(%r14)
pushq $0x6
popq %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x263ca
movl %eax, 0x14(%r14)
movq 0x38(%r15), %rax
movb (%rax), %al
movb %al, 0x18(%r14)
movq 0x8(%r15), %rdi
callq 0x1c306
movq %rax, 0x20(%r14)
pushq $0x2
popq %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x263ca
decl %eax
movl %eax, 0x28(%r14)
pushq $0x3
popq %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x263ca
movl %eax, 0x2c(%r14)
movb $0x2b, 0x30(%r14)
cmpl $0x9, %ebp
jb 0x168c0
leaq 0x10(%rsp), %rsi
pushq $0x8
popq %rdx
movq %rbx, %rdi
callq 0x263ca
movl %eax, 0x34(%r14)
leaq 0x8(%rsp), %r13
movq %rbx, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x25cc0
movq (%r13), %rbp
movq %rbp, %rdi
callq 0x62d0
movq %rax, %r12
movl %r12d, 0x38(%r14)
incl %eax
movslq %eax, %r15
movq %rbp, %rdi
movq %r15, %rsi
callq 0x1c27c
movq %rax, 0x48(%r14)
movq %rbx, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x25cc0
movq (%r13), %r13
movq %r13, %rdi
callq 0x62d0
movslq %r12d, %rcx
cmpq %rcx, %rax
je 0x16939
movl 0x28(%rbx), %ecx
movq 0x8(%rbx), %r8
leaq 0x66e41(%rip), %rdi     # 0x7d769
movl %r12d, %esi
movl %eax, %edx
xorl %eax, %eax
callq 0x223fb
movq 0x8(%rsp), %r13
movq %r13, %rdi
movq %r15, %rsi
callq 0x1c27c
movq %rax, 0x40(%r14)
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x256a7
jmp 0x1695c
xorl %r14d, %r14d
movq %r14, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq