// File: /workspace/github_c_makefile_star2_O3/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 0x2b359
movl %eax, %ebp
testq %r14, %r14
je 0x19c4f
movslq 0x2c(%rbx), %rax
addq 0x18(%rbx), %rax
movq %rax, (%r14)
testl %ebp, %ebp
jle 0x19db6
cmpl $0x7, %ebp
ja 0x19c73
movl 0x28(%rbx), %esi
movq 0x8(%rbx), %rdx
leaq 0x74b76(%rip), %rdi     # 0x8e7e0
movl %ebp, %ecx
xorl %eax, %eax
callq 0x26e94
movl $0x58, %edi
callq 0x2dff4
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq 0x20(%r15), %rdi
callq 0x1feba
movq %rax, 0x8(%r14)
movq %rbx, %rdi
movq %r15, %rsi
movl $0x5, %edx
callq 0x2b605
decl %eax
movl %eax, 0x10(%r14)
movq %rbx, %rdi
movq %r15, %rsi
movl $0x6, %edx
callq 0x2b605
movl %eax, 0x14(%r14)
movq 0x38(%r15), %rax
movb (%rax), %al
movb %al, 0x18(%r14)
movq 0x8(%r15), %rdi
callq 0x1feba
movq %rax, 0x20(%r14)
movq %rbx, %rdi
movq %r15, %rsi
movl $0x2, %edx
callq 0x2b605
decl %eax
movl %eax, 0x28(%r14)
movq %rbx, %rdi
movq %r15, %rsi
movl $0x3, %edx
callq 0x2b605
movl %eax, 0x2c(%r14)
movb $0x2b, 0x30(%r14)
cmpl $0x9, %ebp
jb 0x19d1d
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
movl $0x8, %edx
callq 0x2b605
movl %eax, 0x34(%r14)
leaq 0x8(%rsp), %r13
movq %rbx, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x2ae51
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 0x1fe44
movq %rax, 0x48(%r14)
movq %rbx, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x2ae51
movq (%r13), %r13
movq %r13, %rdi
callq 0x62d0
movslq %r12d, %rcx
cmpq %rcx, %rax
je 0x19d96
movl 0x28(%rbx), %ecx
movq 0x8(%rbx), %r8
leaq 0x74a8c(%rip), %rdi     # 0x8e811
movl %r12d, %esi
movl %eax, %edx
xorl %eax, %eax
callq 0x26e94
movq 0x8(%rsp), %r13
movq %r13, %rdi
movq %r15, %rsi
callq 0x1fe44
movq %rax, 0x40(%r14)
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x2a7a9
jmp 0x19db9
xorl %r14d, %r14d
movq %r14, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq