// File: /workspace/github_c_makefile_star2_O3/icebert[P]pblat/lib/psl.c
// Function: pslOutput
void pslOutput(struct psl *el, FILE *f, char sep, char lastSep) 
/* Print out psl.  Separate fields with sep. Follow last field with lastSep. */
{
int i;
fprintf(f, "%u", el->match);
fputc(sep,f);
fprintf(f, "%u", el->misMatch);
fputc(sep,f);
fprintf(f, "%u", el->repMatch);
fputc(sep,f);
fprintf(f, "%u", el->nCount);
fputc(sep,f);
fprintf(f, "%u", el->qNumInsert);
fputc(sep,f);
fprintf(f, "%d", el->qBaseInsert);
fputc(sep,f);
fprintf(f, "%u", el->tNumInsert);
fputc(sep,f);
fprintf(f, "%d", el->tBaseInsert);
fputc(sep,f);
if (sep == ',') fputc('"',f);
fprintf(f, "%s", el->strand);
if (sep == ',') fputc('"',f);
fputc(sep,f);
if (sep == ',') fputc('"',f);
fprintf(f, "%s", el->qName);
if (sep == ',') fputc('"',f);
fputc(sep,f);
fprintf(f, "%u", el->qSize);
fputc(sep,f);
fprintf(f, "%u", el->qStart);
fputc(sep,f);
fprintf(f, "%u", el->qEnd);
fputc(sep,f);
if (sep == ',') fputc('"',f);
fprintf(f, "%s", el->tName);
if (sep == ',') fputc('"',f);
fputc(sep,f);
fprintf(f, "%u", el->tSize);
fputc(sep,f);
fprintf(f, "%u", el->tStart);
fputc(sep,f);
fprintf(f, "%u", el->tEnd);
fputc(sep,f);
fprintf(f, "%u", el->blockCount);
fputc(sep,f);
if (sep == ',') fputc('{',f);
for (i=0; i<el->blockCount; ++i)
    {
    fprintf(f, "%u", el->blockSizes[i]);
    fputc(',', f);
    }
if (sep == ',') fputc('}',f);
fputc(sep,f);
if (sep == ',') fputc('{',f);
for (i=0; i<el->blockCount; ++i)
    {
    fprintf(f, "%u", el->qStarts[i]);
    fputc(',', f);
    }
if (sep == ',') fputc('}',f);
fputc(sep,f);
if (sep == ',') fputc('{',f);
for (i=0; i<el->blockCount; ++i)
    {
    fprintf(f, "%u", el->tStarts[i]);
    fputc(',', f);
    }
if (sep == ',') fputc('}',f);
if (el->qSequence)
    {
    fputc(sep,f);
    if (sep == ',') fputc('{',f);
    for (i=0; i<el->blockCount; ++i)
	{
	fprintf(f, "%s", el->qSequence[i]);
	fputc(',', f);
	}
    if (sep == ',') fputc('}',f);
    fputc(sep,f);
    if (sep == ',') fputc('{',f);
    for (i=0; i<el->blockCount; ++i)
	{
	fprintf(f, "%s", el->tSequence[i]);
	fputc(',', f);
	}
    if (sep == ',') fputc('}',f);
    }

fputc(lastSep,f);
if (ferror(f))
    {
    perror("Error writing psl file\n");
    errAbort("\n");
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, 0x4(%rsp)
movl %edx, %r14d
movq %rsi, %rbx
movq %rdi, %r15
movl 0x8(%rdi), %edx
leaq 0x5c065(%rip), %r13     # 0x92bf9
movq %rsi, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x6a90
movl %r14d, %r12d
movl %r14d, %edi
movq %rbx, %rsi
callq 0x6930
movl 0xc(%r15), %edx
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x6a90
movl %r14d, %edi
movq %rbx, %rsi
callq 0x6930
movl 0x10(%r15), %edx
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x6a90
movl %r14d, %edi
movq %rbx, %rsi
callq 0x6930
movl 0x14(%r15), %edx
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x6a90
movl %r14d, %edi
movq %rbx, %rsi
callq 0x6930
movl 0x18(%r15), %edx
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x6a90
movl %r14d, %edi
movq %rbx, %rsi
callq 0x6930
movl 0x1c(%r15), %edx
leaq 0x5902c(%rip), %rbp     # 0x8fc56
movq %rbx, %rdi
movq %rbp, %rsi
xorl %eax, %eax
callq 0x6a90
movl %r14d, %edi
movq %rbx, %rsi
callq 0x6930
movl 0x20(%r15), %edx
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x6a90
movl %r14d, %edi
movq %rbx, %rsi
callq 0x6930
movl 0x24(%r15), %edx
movq %rbx, %rdi
movq %rbp, %rsi
xorl %eax, %eax
callq 0x6a90
movl %r14d, %edi
movq %rbx, %rsi
callq 0x6930
cmpb $0x2c, %r14b
jne 0x36cd9
movl $0x22, %edi
movq %rbx, %rsi
callq 0x6930
leaq 0x28(%r15), %rdi
movq %rbx, %rsi
callq 0x6810
movl $0x22, %edi
movq %rbx, %rsi
callq 0x6930
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
movl $0x22, %edi
movq %rbx, %rsi
callq 0x6930
movq 0x30(%r15), %rdi
movq %rbx, %rsi
callq 0x6810
movl $0x22, %edi
movq %rbx, %rsi
callq 0x6930
jmp 0x36cfc
leaq 0x28(%r15), %rdi
movq %rbx, %rsi
callq 0x6810
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
movq 0x30(%r15), %rdi
movq %rbx, %rsi
callq 0x6810
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
movl 0x38(%r15), %edx
leaq 0x5bee7(%rip), %r13     # 0x92bf9
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x6a90
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
movl 0x3c(%r15), %edx
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x6a90
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
movl 0x40(%r15), %edx
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x6a90
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
cmpb $0x2c, %r14b
jne 0x36d90
movl $0x22, %edi
movq %rbx, %rsi
callq 0x6930
movq 0x48(%r15), %rdi
movq %rbx, %rsi
callq 0x6810
movl $0x22, %edi
movq %rbx, %rsi
callq 0x6930
jmp 0x36d9c
movq 0x48(%r15), %rdi
movq %rbx, %rsi
callq 0x6810
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
movl 0x50(%r15), %edx
leaq 0x5be47(%rip), %r13     # 0x92bf9
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x6a90
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
movl 0x54(%r15), %edx
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x6a90
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
movl 0x58(%r15), %edx
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x6a90
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
movl 0x5c(%r15), %edx
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x6a90
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
cmpb $0x2c, %r14b
jne 0x36e31
movl $0x7b, %edi
movq %rbx, %rsi
callq 0x6930
cmpl $0x0, 0x5c(%r15)
je 0x36e6e
leaq 0x5bdba(%rip), %r13     # 0x92bf9
xorl %ebp, %ebp
movq 0x60(%r15), %rax
movl (%rax,%rbp,4), %edx
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x6a90
movl $0x2c, %edi
movq %rbx, %rsi
callq 0x6930
incq %rbp
movl 0x5c(%r15), %eax
cmpq %rax, %rbp
jb 0x36e41
movl %r12d, %edi
cmpb $0x2c, %r14b
jne 0x36e94
movl $0x7d, %edi
movq %rbx, %rsi
callq 0x6930
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
movl $0x7b, %edi
movq %rbx, %rsi
callq 0x6930
cmpl $0x0, 0x5c(%r15)
je 0x36ed9
leaq 0x5bd4f(%rip), %r13     # 0x92bf9
xorl %ebp, %ebp
movq 0x68(%r15), %rax
movl (%rax,%rbp,4), %edx
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x6a90
movl $0x2c, %edi
movq %rbx, %rsi
callq 0x6930
incq %rbp
movl 0x5c(%r15), %eax
cmpq %rax, %rbp
jb 0x36eac
movl %r12d, %edi
cmpb $0x2c, %r14b
jne 0x36eff
movl $0x7d, %edi
movq %rbx, %rsi
callq 0x6930
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
movl $0x7b, %edi
movq %rbx, %rsi
callq 0x6930
cmpl $0x0, 0x5c(%r15)
je 0x36f44
leaq 0x5bce4(%rip), %r13     # 0x92bf9
xorl %ebp, %ebp
movq 0x70(%r15), %rax
movl (%rax,%rbp,4), %edx
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x6a90
movl $0x2c, %edi
movq %rbx, %rsi
callq 0x6930
incq %rbp
movl 0x5c(%r15), %eax
cmpq %rax, %rbp
jb 0x36f17
cmpb $0x2c, %r14b
jne 0x36f78
movl $0x7d, %edi
movq %rbx, %rsi
callq 0x6930
cmpq $0x0, 0x78(%r15)
movl 0x4(%rsp), %ebp
je 0x3703d
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
movl $0x7b, %edi
jmp 0x36f8a
cmpq $0x0, 0x78(%r15)
movl %r12d, %edi
movl 0x4(%rsp), %ebp
je 0x3703d
movq %rbx, %rsi
callq 0x6930
cmpl $0x0, 0x5c(%r15)
je 0x36fc5
xorl %r13d, %r13d
movq 0x78(%r15), %rax
movq (%rax,%r13,8), %rdi
movq %rbx, %rsi
callq 0x6810
movl $0x2c, %edi
movq %rbx, %rsi
callq 0x6930
incq %r13
movl 0x5c(%r15), %eax
cmpq %rax, %r13
jb 0x36f9c
cmpb $0x2c, %r14b
jne 0x36fe9
movl $0x7d, %edi
movq %rbx, %rsi
callq 0x6930
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
movl $0x7b, %r12d
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
cmpl $0x0, 0x5c(%r15)
je 0x3702a
xorl %r12d, %r12d
movq 0x80(%r15), %rax
movq (%rax,%r12,8), %rdi
movq %rbx, %rsi
callq 0x6810
movl $0x2c, %edi
movq %rbx, %rsi
callq 0x6930
incq %r12
movl 0x5c(%r15), %eax
cmpq %rax, %r12
jb 0x36ffe
cmpb $0x2c, %r14b
jne 0x3703d
movl $0x7d, %edi
movq %rbx, %rsi
callq 0x6930
movsbl %bpl, %edi
movq %rbx, %rsi
callq 0x6930
movq %rbx, %rdi
callq 0x6e00
testl %eax, %eax
jne 0x37064
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x6f6e
jmp 0x37055