// File: /workspace/github_c_makefile_star2_O1/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 0x5c27c(%rip), %r13     # 0x92b28
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 0x59254(%rip), %rbp     # 0x8fb96
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 0x369c0
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
jmp 0x369cc
leaq 0x28(%r15), %rdi
movq %rbx, %rsi
callq 0x6810
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
cmpb $0x2c, %r14b
jne 0x36a05
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 0x36a11
movq 0x30(%r15), %rdi
movq %rbx, %rsi
callq 0x6810
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
movl 0x38(%r15), %edx
leaq 0x5c101(%rip), %r13     # 0x92b28
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 0x36aa5
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 0x36ab1
movq 0x48(%r15), %rdi
movq %rbx, %rsi
callq 0x6810
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
movl 0x50(%r15), %edx
leaq 0x5c061(%rip), %r13     # 0x92b28
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 0x36b46
movl $0x7b, %edi
movq %rbx, %rsi
callq 0x6930
cmpl $0x0, 0x5c(%r15)
je 0x36b83
leaq 0x5bfd4(%rip), %r13     # 0x92b28
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 0x36b56
movl %r12d, %edi
cmpb $0x2c, %r14b
jne 0x36ba9
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 0x36bee
leaq 0x5bf69(%rip), %r13     # 0x92b28
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 0x36bc1
movl %r12d, %edi
cmpb $0x2c, %r14b
jne 0x36c14
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 0x36c59
leaq 0x5befe(%rip), %r13     # 0x92b28
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 0x36c2c
cmpb $0x2c, %r14b
jne 0x36c6c
movl $0x7d, %edi
movq %rbx, %rsi
callq 0x6930
cmpq $0x0, 0x78(%r15)
je 0x36d40
movl %r12d, %edi
movq %rbx, %rsi
callq 0x6930
cmpb $0x2c, %r14b
jne 0x36c95
movl $0x7b, %edi
movq %rbx, %rsi
callq 0x6930
cmpl $0x0, 0x5c(%r15)
je 0x36cc8
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 0x36c9f
cmpb $0x2c, %r14b
jne 0x36cec
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 0x36d2d
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 0x36d01
cmpb $0x2c, %r14b
jne 0x36d40
movl $0x7d, %edi
movq %rbx, %rsi
callq 0x6930
movsbl 0x4(%rsp), %edi
movq %rbx, %rsi
callq 0x6930
movq %rbx, %rdi
callq 0x6e00
testl %eax, %eax
jne 0x36d68
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x6fae
jmp 0x36d59