// File: /workspace/github_cpp_makefile_star2_O3/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 0xd2f9
movq 0x10(%rbx), %r12
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 0x3466(%rip), %rsi      # 0x105bf
movl $0x1, %edx
callq 0x42a0
testl %r12d, %r12d
jle 0xd1c0
movl %r12d, %r13d
andl $0x7fffffff, %r13d      # 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, %r13
jne 0xd17e
leaq 0x335d(%rip), %rsi      # 0x10524
leaq 0x18(%rsp), %rdi
movl $0x1, %edx
callq 0x42a0
movl %r12d, %ebp
andl $0x7fffffff, %ebp       # imm = 0x7FFFFFFF
xorl %r13d, %r13d
leaq 0x18(%rsp), %r15
movq %r12, 0x10(%rsp)
movq 0x30(%rbx), %rax
subq 0x28(%rbx), %rax
shrq $0x3, %rax
imull $0xaaaaaaab, %eax, %eax # imm = 0xAAAAAAAB
cltq
cmpq %rax, %r13
jge 0xd2a5
movq 0x18(%rsp), %rax
movq -0x18(%rax), %rcx
movq $0x3, 0x20(%rsp,%rcx)
movq -0x18(%rax), %rax
movq $0xa, 0x28(%rsp,%rax)
leaq 0x1(%r13), %r14
movq %r15, %rdi
movl %r14d, %esi
callq 0x4420
testl %r12d, %r12d
jle 0xd284
leaq (%r13,%r13,2), %r13
xorl %r12d, %r12d
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,%r13,8), %rax
xorps %xmm0, %xmm0
cvtss2sd (%rax,%r12,4), %xmm0
movq %r15, %rdi
callq 0x43c0
incq %r12
cmpq %r12, %rbp
jne 0xd244
movl $0x1, %edx
movq %r15, %rdi
leaq 0x3291(%rip), %rsi      # 0x10524
callq 0x42a0
movq %r14, %r13
movq 0x10(%rsp), %r12
jmp 0xd1ec
leaq 0x18(%rsp), %rdi
callq 0x4340
movq 0x8cf2(%rip), %rax      # 0x15fa8
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x110(%rsp), %rbx
movq %rcx, -0xf8(%rbx)
movq -0x18(%rcx), %rcx
movq %rax, 0x18(%rsp,%rcx)
leaq 0x20(%rsp), %rdi
callq 0x41f0
movq %rbx, %rdi
callq 0x40c0
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8ce8(%rip), %rdi      # 0x15fe8
leaq 0x2d19(%rip), %rsi      # 0x10020
movl $0x11, %edx
callq 0x42a0
callq 0x4f1c
movq 0xa8(%rax), %rsi
movq 0xb0(%rax), %rdx
movq 0x8cbd(%rip), %rdi      # 0x15fe8
callq 0x42a0
leaq 0x31ed(%rip), %rsi      # 0x10524
movq %rax, %rdi
callq 0x4230
xorl %edi, %edi
callq 0x42e0
jmp 0xd34e
jmp 0xd34e
jmp 0xd34e
jmp 0xd34e
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x4370
movq %rbx, %rdi
callq 0x4440
nop