// File: /workspace/github_cpp_makefile_star2_O1/gcollet[P]MstatX/src/mvector.cpp
// Function: MVectStat::print(Msa&)
void
MVectStat :: print(Msa & msa)
{
	/* Print the output */
	ofstream file(Options::Get().output_fname.c_str());
	if (!file.is_open()){
	  cerr << "Cannot open file " << Options::Get().output_fname << "\n";
		exit(0);
	}
	int K = (int) sm_alphabet.size();
	file.precision(3);
	file << setw(10) << " ";
	for (int a(0); a < K; ++a) {
		file.precision(3);
		file << setw(10) << sm_alphabet[a];
	}
	file << "\n";
	for (int col(0); col < (int) means.size(); col++) {
		file.precision(3);
		file << setw(10) << col + 1;
  	for (int a(0); a < K; ++a) {
			file.precision(3);	
			file << setw(10) << means[col][a];
		}
		file << "\n";
	}
	file.close();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movq %rdi, %rbx
callq 0x4f1c
movq 0xa8(%rax), %rsi
leaq 0x18(%rsp), %rdi
movl $0x10, %edx
callq 0x4290
leaq 0x88(%rsp), %rdi
callq 0x4070
testb %al, %al
je 0xd095
movq 0x10(%rbx), %r13
leaq 0x18(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rcx
movq $0x3, 0x20(%rsp,%rcx)
movq -0x18(%rax), %rax
movq $0xa, 0x28(%rsp,%rax)
leaq 0x368c(%rip), %rsi      # 0x10587
movl $0x1, %edx
callq 0x42a0
testl %r13d, %r13d
jle 0xcf62
movl %r13d, %r12d
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
xorl %ebp, %ebp
leaq 0x18(%rsp), %r14
leaq 0xf(%rsp), %r15
movq 0x18(%rsp), %rax
movq -0x18(%rax), %rcx
movq $0x3, 0x20(%rsp,%rcx)
movq -0x18(%rax), %rax
movq $0xa, 0x28(%rsp,%rax)
movq 0x8(%rbx), %rax
movb (%rax,%rbp), %al
movb %al, 0xf(%rsp)
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x42a0
incq %rbp
cmpq %rbp, %r12
jne 0xcf20
leaq 0x3583(%rip), %rsi      # 0x104ec
leaq 0x18(%rsp), %rdi
movl $0x1, %edx
callq 0x42a0
movl %r13d, %ebp
andl $0x7fffffff, %ebp       # imm = 0x7FFFFFFF
xorl %r12d, %r12d
leaq 0x18(%rsp), %r14
movq %r13, 0x10(%rsp)
movq 0x30(%rbx), %rax
subq 0x28(%rbx), %rax
shrq $0x3, %rax
imull $0xaaaaaaab, %eax, %eax # imm = 0xAAAAAAAB
cltq
cmpq %rax, %r12
jge 0xd047
movq 0x18(%rsp), %rax
movq -0x18(%rax), %rcx
movq $0x3, 0x20(%rsp,%rcx)
movq -0x18(%rax), %rax
movq $0xa, 0x28(%rsp,%rax)
leaq 0x1(%r12), %r15
movq %r14, %rdi
movl %r15d, %esi
callq 0x4420
testl %r13d, %r13d
jle 0xd026
leaq (%r12,%r12,2), %r12
xorl %r13d, %r13d
movq 0x18(%rsp), %rax
movq -0x18(%rax), %rcx
movq $0x3, 0x20(%rsp,%rcx)
movq -0x18(%rax), %rax
movq $0xa, 0x28(%rsp,%rax)
movq 0x28(%rbx), %rax
movq (%rax,%r12,8), %rax
xorps %xmm0, %xmm0
cvtss2sd (%rax,%r13,4), %xmm0
movq %r14, %rdi
callq 0x43c0
incq %r13
cmpq %r13, %rbp
jne 0xcfe6
movl $0x1, %edx
movq %r14, %rdi
leaq 0x34b7(%rip), %rsi      # 0x104ec
callq 0x42a0
movq %r15, %r12
movq 0x10(%rsp), %r13
jmp 0xcf8e
leaq 0x18(%rsp), %rdi
callq 0x4340
movq 0x8f50(%rip), %rax      # 0x15fa8
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x20(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x18(%rsp,%rcx)
callq 0x41f0
leaq 0x110(%rsp), %rdi
callq 0x40c0
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8f4c(%rip), %rdi      # 0x15fe8
leaq 0x2f7d(%rip), %rsi      # 0x10020
movl $0x11, %edx
callq 0x42a0
callq 0x4f1c
movq 0xa8(%rax), %rsi
movq 0xb0(%rax), %rdx
movq 0x8f21(%rip), %rdi      # 0x15fe8
callq 0x42a0
leaq 0x3419(%rip), %rsi      # 0x104ec
movq %rax, %rdi
callq 0x4230
xorl %edi, %edi
callq 0x42e0
jmp 0xd0ea
jmp 0xd0ea
jmp 0xd0ea
jmp 0xd0ea
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x4370
movq %rbx, %rdi
callq 0x4440
nop