// File: /workspace/github_c_makefile_star2_O0/icebert[P]pblat/lib/blastOut.c
// Function: axtBlastOut
void axtBlastOut(struct axtBundle *abList, 
	int queryIx, boolean isProt, FILE *f, 
	char *databaseName, int databaseSeqCount, double databaseLetterCount, 
	char *blastType, char *ourId, double minIdentity)
/* Output a bundle of axt's on the same query sequence in blast format.
 * The parameters in detail are:
 *   ab - the list of bundles of axt's. 
 *   f  - output file handle
 *   databaseSeqCount - number of sequences in database
 *   databaseLetterCount - number of bases or aa's in database
 *   blastType - blast/wublast/blast8/blast9/xml
 *   ourId - optional (may be NULL) thing to put in header
 */
{
if (abList == NULL)
    return;
if (sameWord(blastType, "wublast"))
    wuBlastOut(abList, queryIx, isProt, f, databaseName,
   	databaseSeqCount, databaseLetterCount, ourId);
else if (sameWord(blastType, "xml"))
    xmlBlastOut(abList, queryIx, isProt, f, databaseName,
        databaseSeqCount, databaseLetterCount, ourId);
else if (sameWord(blastType, "blast"))
    ncbiBlastOut(abList, queryIx, isProt, f, databaseName,
        databaseSeqCount, databaseLetterCount, ourId, minIdentity);
else if (sameWord(blastType, "blast8"))
    tabBlastOut(abList, queryIx, isProt, f, databaseName,
    	databaseSeqCount, databaseLetterCount, ourId, FALSE);
else if (sameWord(blastType, "blast9"))
    tabBlastOut(abList, queryIx, isProt, f, databaseName,
    	databaseSeqCount, databaseLetterCount, ourId, TRUE);
else
    errAbort("Unrecognized blastType %s in axtBlastOut", blastType);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movq %rcx, -0x18(%rbp)
movq %r8, -0x20(%rbp)
movl %r9d, -0x24(%rbp)
movsd %xmm0, -0x30(%rbp)
movsd %xmm1, -0x38(%rbp)
cmpq $0x0, -0x8(%rbp)
jne 0x2557c
jmp 0x256f2
movq 0x10(%rbp), %rdi
leaq 0xb2bd3(%rip), %rsi     # 0xd815a
callq 0x2b9f0
cmpl $0x0, %eax
jne 0x255be
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movl -0x10(%rbp), %edx
movq -0x18(%rbp), %rcx
movq -0x20(%rbp), %r8
movl -0x24(%rbp), %r9d
movsd -0x30(%rbp), %xmm0
movq 0x18(%rbp), %rax
movq %rax, (%rsp)
callq 0x25700
jmp 0x256f2
movq 0x10(%rbp), %rdi
leaq 0xb2ba7(%rip), %rsi     # 0xd8170
callq 0x2b9f0
cmpl $0x0, %eax
jne 0x25600
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movl -0x10(%rbp), %edx
movq -0x18(%rbp), %rcx
movq -0x20(%rbp), %r8
movl -0x24(%rbp), %r9d
movsd -0x30(%rbp), %xmm0
movq 0x18(%rbp), %rax
movq %rax, (%rsp)
callq 0x25de0
jmp 0x256f0
movq 0x10(%rbp), %rdi
leaq 0xb2b51(%rip), %rsi     # 0xd815c
callq 0x2b9f0
cmpl $0x0, %eax
jne 0x25647
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movl -0x10(%rbp), %edx
movq -0x18(%rbp), %rcx
movq -0x20(%rbp), %r8
movl -0x24(%rbp), %r9d
movsd -0x30(%rbp), %xmm0
movq 0x18(%rbp), %rax
movsd -0x38(%rbp), %xmm1
movq %rax, (%rsp)
callq 0x26280
jmp 0x256ee
movq 0x10(%rbp), %rdi
leaq 0xb2b10(%rip), %rsi     # 0xd8162
callq 0x2b9f0
cmpl $0x0, %eax
jne 0x25691
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movl -0x10(%rbp), %edx
movq -0x18(%rbp), %rcx
movq -0x20(%rbp), %r8
movl -0x24(%rbp), %r9d
movsd -0x30(%rbp), %xmm0
movq 0x18(%rbp), %rax
xorl %r10d, %r10d
movq %rax, (%rsp)
movl $0x0, 0x8(%rsp)
callq 0x26b50
jmp 0x256ec
movq 0x10(%rbp), %rdi
leaq 0xb2acd(%rip), %rsi     # 0xd8169
callq 0x2b9f0
cmpl $0x0, %eax
jne 0x256d8
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movl -0x10(%rbp), %edx
movq -0x18(%rbp), %rcx
movq -0x20(%rbp), %r8
movl -0x24(%rbp), %r9d
movsd -0x30(%rbp), %xmm0
movq 0x18(%rbp), %rax
movq %rax, (%rsp)
movl $0x1, 0x8(%rsp)
callq 0x26b50
jmp 0x256ea
movq 0x10(%rbp), %rsi
leaq 0xb359d(%rip), %rdi     # 0xd8c80
movb $0x0, %al
callq 0x35d40
jmp 0x256ec
jmp 0x256ee
jmp 0x256f0
jmp 0x256f2
addq $0x50, %rsp
popq %rbp
retq
nopl (%rax,%rax)