// File: /workspace/github_c_makefile_star2_O1/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
movl $0xa, %edx
callq 0x2b03f
movl %eax, %ebp
testq %r14, %r14
je 0x199f3
movslq 0x2c(%rbx), %rax
addq 0x18(%rbx), %rax
movq %rax, (%r14)
testl %ebp, %ebp
jle 0x19b56
cmpl $0x7, %ebp
jg 0x19a17
movl 0x28(%rbx), %esi
movq 0x8(%rbx), %rdx
leaq 0x74d32(%rip), %rdi     # 0x8e740
movl %ebp, %ecx
xorl %eax, %eax
callq 0x26b6f
movl $0x58, %edi
callq 0x2dc95
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq 0x20(%r15), %rdi
callq 0x1f9f6
movq %rax, 0x8(%r14)
movq %rbx, %rdi
movq %r15, %rsi
movl $0x5, %edx
callq 0x2b2eb
decl %eax
movl %eax, 0x10(%r14)
movq %rbx, %rdi
movq %r15, %rsi
movl $0x6, %edx
callq 0x2b2eb
movl %eax, 0x14(%r14)
movq 0x38(%r15), %rax
movb (%rax), %al
movb %al, 0x18(%r14)
movq 0x8(%r15), %rdi
callq 0x1f9f6
movq %rax, 0x20(%r14)
movq %rbx, %rdi
movq %r15, %rsi
movl $0x2, %edx
callq 0x2b2eb
decl %eax
movl %eax, 0x28(%r14)
movq %rbx, %rdi
movq %r15, %rsi
movl $0x3, %edx
callq 0x2b2eb
movl %eax, 0x2c(%r14)
movb $0x2b, 0x30(%r14)
cmpl $0x9, %ebp
jl 0x19ac1
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
movl $0x8, %edx
callq 0x2b2eb
movl %eax, 0x34(%r14)
leaq 0x8(%rsp), %r13
movq %rbx, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x2ab26
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 0x1f980
movq %rax, 0x48(%r14)
movq %rbx, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x2ab26
movq (%r13), %rdi
callq 0x62d0
movslq %r12d, %rcx
cmpq %rcx, %rax
je 0x19b32
movl 0x28(%rbx), %ecx
movq 0x8(%rbx), %r8
leaq 0x74c4b(%rip), %rdi     # 0x8e771
movl %r12d, %esi
movl %eax, %edx
xorl %eax, %eax
callq 0x26b6f
leaq 0x8(%rsp), %r12
movq (%r12), %rdi
movq %r15, %rsi
callq 0x1f980
movq %rax, 0x40(%r14)
movq %rbx, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x2a455
jmp 0x19b59
xorl %r14d, %r14d
movq %r14, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq