// File: /workspace/github_c_makefile_star2_O0/icebert[P]pblat/lib/axt.c
// Function: axtScoreSchemeDnaWrite
void axtScoreSchemeDnaWrite(struct axtScoreScheme *ss, FILE *f, char *name)
/* output the score dna based score matrix in meta Data format to File f,
name should be set to the name of the program that is using the matrix */
{
if (ss == NULL)
    return;
if (f == NULL)
    return;
fprintf(f, "##matrix=%s 16 %d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n",
        name,
    ss->matrix['a']['a'],
    ss->matrix['a']['c'],
    ss->matrix['a']['g'],
    ss->matrix['a']['t'],

    ss->matrix['c']['a'],
    ss->matrix['c']['c'],
    ss->matrix['c']['g'],
    ss->matrix['c']['t'],

    ss->matrix['g']['a'],
    ss->matrix['g']['c'],
    ss->matrix['g']['g'],
    ss->matrix['g']['t'],

    ss->matrix['t']['a'],
    ss->matrix['t']['c'],
    ss->matrix['t']['g'],
    ss->matrix['t']['t']);
fprintf(f, "##gapPenalties=%s O=%d E=%d\n", name, ss->gapOpen, ss->gapExtend);
if (ss->extra!=NULL)
    {
    stripChar(ss->extra,' ');
    stripChar(ss->extra,'"');
    fprintf(f, "##blastzParms=%s\n", ss->extra);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdi, -0x30(%rbp)
movq %rsi, -0x38(%rbp)
movq %rdx, -0x40(%rbp)
cmpq $0x0, -0x30(%rbp)
jne 0x22cec
jmp 0x22e8d
cmpq $0x0, -0x38(%rbp)
jne 0x22cf8
jmp 0x22e8d
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rdx
movq -0x30(%rbp), %rax
movl 0x1858c(%rax), %ecx
movq -0x30(%rbp), %rax
movl 0x18594(%rax), %r8d
movq -0x30(%rbp), %rax
movl 0x185a4(%rax), %r9d
movq -0x30(%rbp), %rax
movl 0x185d8(%rax), %eax
movq -0x30(%rbp), %rsi
movl 0x18d8c(%rsi), %esi
movl %esi, -0x54(%rbp)
movq -0x30(%rbp), %rsi
movl 0x18d94(%rsi), %esi
movl %esi, -0x50(%rbp)
movq -0x30(%rbp), %rsi
movl 0x18da4(%rsi), %esi
movl %esi, -0x4c(%rbp)
movq -0x30(%rbp), %rsi
movl 0x18dd8(%rsi), %esi
movl %esi, -0x48(%rbp)
movq -0x30(%rbp), %rsi
movl 0x19d8c(%rsi), %r13d
movq -0x30(%rbp), %rsi
movl 0x19d94(%rsi), %r12d
movq -0x30(%rbp), %rsi
movl 0x19da4(%rsi), %r15d
movq -0x30(%rbp), %rsi
movl 0x19dd8(%rsi), %r14d
movq -0x30(%rbp), %rsi
movl 0x1d18c(%rsi), %ebx
movq -0x30(%rbp), %rsi
movl 0x1d194(%rsi), %r11d
movq -0x30(%rbp), %rsi
movl 0x1d1a4(%rsi), %r10d
movq -0x30(%rbp), %rsi
movl 0x1d1d8(%rsi), %esi
movl %esi, -0x44(%rbp)
leaq 0xb5ac5(%rip), %rsi     # 0xd8883
movl %eax, (%rsp)
movl -0x54(%rbp), %eax
movl %eax, 0x8(%rsp)
movl -0x50(%rbp), %eax
movl %eax, 0x10(%rsp)
movl -0x4c(%rbp), %eax
movl %eax, 0x18(%rsp)
movl -0x48(%rbp), %eax
movl %eax, 0x20(%rsp)
movl -0x44(%rbp), %eax
movl %r13d, 0x28(%rsp)
movl %r12d, 0x30(%rsp)
movl %r15d, 0x38(%rsp)
movl %r14d, 0x40(%rsp)
movl %ebx, 0x48(%rsp)
movl %r11d, 0x50(%rsp)
movl %r10d, 0x58(%rsp)
movl %eax, 0x60(%rsp)
movb $0x0, %al
callq 0x6a80
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rdx
movq -0x30(%rbp), %rax
movl 0x40008(%rax), %ecx
movq -0x30(%rbp), %rax
movl 0x4000c(%rax), %r8d
leaq 0xb5a92(%rip), %rsi     # 0xd88c3
movb $0x0, %al
callq 0x6a80
movq -0x30(%rbp), %rax
cmpq $0x0, 0x40010(%rax)
je 0x22e8d
movq -0x30(%rbp), %rax
movq 0x40010(%rax), %rdi
movl $0x20, %esi
callq 0x2e270
movq -0x30(%rbp), %rax
movq 0x40010(%rax), %rdi
movl $0x22, %esi
callq 0x2e270
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rax
movq 0x40010(%rax), %rdx
leaq 0xb5a5a(%rip), %rsi     # 0xd88e0
movb $0x0, %al
callq 0x6a80
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop