// File: /workspace/github_c_makefile_star2_O0/icebert[P]pblat/lib/axt.c
// Function: axtOutPretty
void axtOutPretty(struct axt *axt, int lineSize, FILE *f)
/* Output axt in pretty format. */
{
char *q = axt->qSym;
char *t = axt->tSym;
int size = axt->symCount;
int oneSize, sizeLeft = size;
int i;

fprintf(f, ">%s:%d%c%d %s:%d-%d %d\n", 
    axt->qName, axt->qStart, axt->qStrand, axt->qEnd,
    axt->tName, axt->tStart, axt->tEnd, axt->score);
while (sizeLeft > 0)
    {
    oneSize = sizeLeft;
    if (oneSize > lineSize)
        oneSize = lineSize;
    mustWrite(f, q, oneSize);
    fputc('\n', f);

    for (i=0; i<oneSize; ++i)
        {
    if (toupper(q[i]) == toupper(t[i]) && isalpha(q[i]))
        fputc('|', f);
    else
        fputc(' ', f);
    }
    fputc('\n', f);

    if (oneSize > lineSize)
        oneSize = lineSize;
    mustWrite(f, t, oneSize);
    fputc('\n', f);
    fputc('\n', f);
    sizeLeft -= oneSize;
    q += oneSize;
    t += oneSize;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x68, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x40(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rax
movl 0x38(%rax), %eax
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
movl %eax, -0x3c(%rbp)
movq -0x20(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdx
movq -0x10(%rbp), %rax
movl 0x10(%rax), %ecx
movq -0x10(%rbp), %rax
movsbl 0x18(%rax), %r8d
movq -0x10(%rbp), %rax
movl 0x14(%rax), %r9d
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rbx
movq -0x10(%rbp), %rax
movl 0x28(%rax), %r11d
movq -0x10(%rbp), %rax
movl 0x2c(%rax), %r10d
movq -0x10(%rbp), %rax
movl 0x34(%rax), %eax
leaq 0xb520f(%rip), %rsi     # 0xd8995
movq %rbx, (%rsp)
movl %r11d, 0x8(%rsp)
movl %r10d, 0x10(%rsp)
movl %eax, 0x18(%rsp)
movb $0x0, %al
callq 0x6a80
cmpl $0x0, -0x3c(%rbp)
jle 0x238eb
movl -0x3c(%rbp), %eax
movl %eax, -0x38(%rbp)
movl -0x38(%rbp), %eax
cmpl -0x14(%rbp), %eax
jle 0x237bd
movl -0x14(%rbp), %eax
movl %eax, -0x38(%rbp)
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
movslq -0x38(%rbp), %rdx
callq 0x2f8b0
movq -0x20(%rbp), %rsi
movl $0xa, %edi
callq 0x6910
movl $0x0, -0x40(%rbp)
movl -0x40(%rbp), %eax
cmpl -0x38(%rbp), %eax
jge 0x23870
movq -0x28(%rbp), %rax
movslq -0x40(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6de0
movl %eax, -0x44(%rbp)
movq -0x30(%rbp), %rax
movslq -0x40(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6de0
movl %eax, %ecx
movl -0x44(%rbp), %eax
cmpl %ecx, %eax
jne 0x23852
callq 0x6780
movq (%rax), %rax
movq -0x28(%rbp), %rcx
movslq -0x40(%rbp), %rdx
movsbl (%rcx,%rdx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x400, %eax            # imm = 0x400
cmpl $0x0, %eax
je 0x23852
movq -0x20(%rbp), %rsi
movl $0x7c, %edi
callq 0x6910
jmp 0x23860
movq -0x20(%rbp), %rsi
movl $0x20, %edi
callq 0x6910
jmp 0x23862
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
jmp 0x237e3
movq -0x20(%rbp), %rsi
movl $0xa, %edi
callq 0x6910
movl -0x38(%rbp), %eax
cmpl -0x14(%rbp), %eax
jle 0x2388c
movl -0x14(%rbp), %eax
movl %eax, -0x38(%rbp)
movq -0x20(%rbp), %rdi
movq -0x30(%rbp), %rsi
movslq -0x38(%rbp), %rdx
callq 0x2f8b0
movq -0x20(%rbp), %rsi
movl $0xa, %edi
callq 0x6910
movq -0x20(%rbp), %rsi
movl $0xa, %edi
callq 0x6910
movl -0x38(%rbp), %ecx
movl -0x3c(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x3c(%rbp)
movl -0x38(%rbp), %ecx
movq -0x28(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x28(%rbp)
movl -0x38(%rbp), %ecx
movq -0x30(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x30(%rbp)
jmp 0x2379f
addq $0x68, %rsp
popq %rbx
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)