// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x20, %rsp
movb %cl, %al
movb %dl, %cl
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movb %cl, -0x11(%rbp)
movb %al, -0x12(%rbp)
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x8(%rax), %edx
leaq 0x8ee4c(%rip), %rsi     # 0xdc9c8
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0xc(%rax), %edx
leaq 0x8ee26(%rip), %rsi     # 0xdc9c8
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x10(%rax), %edx
leaq 0x8ee00(%rip), %rsi     # 0xdc9c8
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x14(%rax), %edx
leaq 0x8edda(%rip), %rsi     # 0xdc9c8
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x18(%rax), %edx
leaq 0x8edb4(%rip), %rsi     # 0xdc9c8
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x1c(%rax), %edx
leaq 0x8bdd4(%rip), %rsi     # 0xd9a0e
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x20(%rax), %edx
leaq 0x8ed68(%rip), %rsi     # 0xdc9c8
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x24(%rax), %edx
leaq 0x8bd88(%rip), %rsi     # 0xd9a0e
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movsbl -0x11(%rbp), %eax
cmpl $0x2c, %eax
jne 0x4dcb1
movq -0x10(%rbp), %rsi
movl $0x22, %edi
callq 0x6910
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rdx
addq $0x28, %rdx
leaq 0x8c34d(%rip), %rsi     # 0xda011
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %eax
cmpl $0x2c, %eax
jne 0x4dce2
movq -0x10(%rbp), %rsi
movl $0x22, %edi
callq 0x6910
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movsbl -0x11(%rbp), %eax
cmpl $0x2c, %eax
jne 0x4dd06
movq -0x10(%rbp), %rsi
movl $0x22, %edi
callq 0x6910
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdx
leaq 0x8c2f8(%rip), %rsi     # 0xda011
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %eax
cmpl $0x2c, %eax
jne 0x4dd37
movq -0x10(%rbp), %rsi
movl $0x22, %edi
callq 0x6910
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x38(%rax), %edx
leaq 0x8ec72(%rip), %rsi     # 0xdc9c8
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x3c(%rax), %edx
leaq 0x8ec4c(%rip), %rsi     # 0xdc9c8
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x40(%rax), %edx
leaq 0x8ec26(%rip), %rsi     # 0xdc9c8
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movsbl -0x11(%rbp), %eax
cmpl $0x2c, %eax
jne 0x4ddcd
movq -0x10(%rbp), %rsi
movl $0x22, %edi
callq 0x6910
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x48(%rax), %rdx
leaq 0x8c231(%rip), %rsi     # 0xda011
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %eax
cmpl $0x2c, %eax
jne 0x4ddfe
movq -0x10(%rbp), %rsi
movl $0x22, %edi
callq 0x6910
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x50(%rax), %edx
leaq 0x8ebab(%rip), %rsi     # 0xdc9c8
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x54(%rax), %edx
leaq 0x8eb85(%rip), %rsi     # 0xdc9c8
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x58(%rax), %edx
leaq 0x8eb5f(%rip), %rsi     # 0xdc9c8
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x5c(%rax), %edx
leaq 0x8eb39(%rip), %rsi     # 0xdc9c8
movb $0x0, %al
callq 0x6a80
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movsbl -0x11(%rbp), %eax
cmpl $0x2c, %eax
jne 0x4deba
movq -0x10(%rbp), %rsi
movl $0x7b, %edi
callq 0x6910
movl $0x0, -0x18(%rbp)
movl -0x18(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x5c(%rcx), %eax
jae 0x4df07
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x60(%rax), %rax
movslq -0x18(%rbp), %rcx
movl (%rax,%rcx,4), %edx
leaq 0x8eae1(%rip), %rsi     # 0xdc9c8
movb $0x0, %al
callq 0x6a80
movq -0x10(%rbp), %rsi
movl $0x2c, %edi
callq 0x6910
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x4dec1
movsbl -0x11(%rbp), %eax
cmpl $0x2c, %eax
jne 0x4df1e
movq -0x10(%rbp), %rsi
movl $0x7d, %edi
callq 0x6910
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movsbl -0x11(%rbp), %eax
cmpl $0x2c, %eax
jne 0x4df42
movq -0x10(%rbp), %rsi
movl $0x7b, %edi
callq 0x6910
movl $0x0, -0x18(%rbp)
movl -0x18(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x5c(%rcx), %eax
jae 0x4df8f
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x68(%rax), %rax
movslq -0x18(%rbp), %rcx
movl (%rax,%rcx,4), %edx
leaq 0x8ea59(%rip), %rsi     # 0xdc9c8
movb $0x0, %al
callq 0x6a80
movq -0x10(%rbp), %rsi
movl $0x2c, %edi
callq 0x6910
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x4df49
movsbl -0x11(%rbp), %eax
cmpl $0x2c, %eax
jne 0x4dfa6
movq -0x10(%rbp), %rsi
movl $0x7d, %edi
callq 0x6910
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movsbl -0x11(%rbp), %eax
cmpl $0x2c, %eax
jne 0x4dfca
movq -0x10(%rbp), %rsi
movl $0x7b, %edi
callq 0x6910
movl $0x0, -0x18(%rbp)
movl -0x18(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x5c(%rcx), %eax
jae 0x4e017
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x70(%rax), %rax
movslq -0x18(%rbp), %rcx
movl (%rax,%rcx,4), %edx
leaq 0x8e9d1(%rip), %rsi     # 0xdc9c8
movb $0x0, %al
callq 0x6a80
movq -0x10(%rbp), %rsi
movl $0x2c, %edi
callq 0x6910
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x4dfd1
movsbl -0x11(%rbp), %eax
cmpl $0x2c, %eax
jne 0x4e02e
movq -0x10(%rbp), %rsi
movl $0x7d, %edi
callq 0x6910
movq -0x8(%rbp), %rax
cmpq $0x0, 0x78(%rax)
je 0x4e154
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movsbl -0x11(%rbp), %eax
cmpl $0x2c, %eax
jne 0x4e061
movq -0x10(%rbp), %rsi
movl $0x7b, %edi
callq 0x6910
movl $0x0, -0x18(%rbp)
movl -0x18(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x5c(%rcx), %eax
jae 0x4e0af
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
leaq 0x8bf82(%rip), %rsi     # 0xda011
movb $0x0, %al
callq 0x6a80
movq -0x10(%rbp), %rsi
movl $0x2c, %edi
callq 0x6910
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x4e068
movsbl -0x11(%rbp), %eax
cmpl $0x2c, %eax
jne 0x4e0c6
movq -0x10(%rbp), %rsi
movl $0x7d, %edi
callq 0x6910
movsbl -0x11(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movsbl -0x11(%rbp), %eax
cmpl $0x2c, %eax
jne 0x4e0ea
movq -0x10(%rbp), %rsi
movl $0x7b, %edi
callq 0x6910
movl $0x0, -0x18(%rbp)
movl -0x18(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x5c(%rcx), %eax
jae 0x4e13b
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x80(%rax), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
leaq 0x8bef6(%rip), %rsi     # 0xda011
movb $0x0, %al
callq 0x6a80
movq -0x10(%rbp), %rsi
movl $0x2c, %edi
callq 0x6910
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x4e0f1
movsbl -0x11(%rbp), %eax
cmpl $0x2c, %eax
jne 0x4e152
movq -0x10(%rbp), %rsi
movl $0x7d, %edi
callq 0x6910
jmp 0x4e154
movsbl -0x12(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6910
movq -0x10(%rbp), %rdi
callq 0x6e10
cmpl $0x0, %eax
je 0x4e189
leaq 0x8face(%rip), %rdi     # 0xddc44
callq 0x6590
leaq 0x8ae97(%rip), %rdi     # 0xd9019
movb $0x0, %al
callq 0x35d40
addq $0x20, %rsp
popq %rbp
retq
nop