// File: 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
movq %rsp, %rbp
subq $0x2b0, %rsp            # imm = 0x2B0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x250(%rbp)
callq 0x5150
movq %rax, %rdi
addq $0xa8, %rdi
callq 0x4130
movq %rax, %rsi
leaq -0x210(%rbp), %rdi
movq %rdi, -0x248(%rbp)
movl $0x10, %edx
callq 0x43a0
movq -0x248(%rbp), %rdi
callq 0x42a0
movb %al, -0x23d(%rbp)
jmp 0x15081
movb -0x23d(%rbp), %al
testb $0x1, %al
jne 0x1511d
jmp 0x15091
movq 0x10f50(%rip), %rdi     # 0x25fe8
leaq 0x5f81(%rip), %rsi      # 0x1b020
callq 0x4330
movq %rax, -0x258(%rbp)
jmp 0x150ad
callq 0x5150
movq %rax, -0x260(%rbp)
jmp 0x150bb
movq -0x258(%rbp), %rdi
movq -0x260(%rbp), %rsi
addq $0xa8, %rsi
callq 0x4320
movq %rax, -0x268(%rbp)
jmp 0x150de
movq -0x268(%rbp), %rdi
leaq 0x640a(%rip), %rsi      # 0x1b4f6
callq 0x4330
jmp 0x150f3
xorl %edi, %edi
callq 0x4400
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x218(%rbp)
movl %eax, -0x21c(%rbp)
leaq -0x210(%rbp), %rdi
callq 0x44f0
jmp 0x1542c
movq -0x250(%rbp), %rdi
addq $0x8, %rdi
callq 0x4260
movl %eax, -0x220(%rbp)
movq -0x210(%rbp), %rax
movq -0x18(%rax), %rax
leaq -0x210(%rbp,%rax), %rdi
movl $0x3, %esi
callq 0x15820
jmp 0x15152
movl $0xa, %edi
callq 0x10c00
movl %eax, -0x26c(%rbp)
jmp 0x15164
movl -0x26c(%rbp), %eax
movl %eax, -0x224(%rbp)
movl -0x224(%rbp), %esi
leaq -0x210(%rbp), %rdi
callq 0x43d0
movq %rax, -0x278(%rbp)
jmp 0x1518b
movq -0x278(%rbp), %rdi
leaq 0x63f8(%rip), %rsi      # 0x1b591
callq 0x4330
jmp 0x151a0
movl $0x0, -0x228(%rbp)
movl -0x228(%rbp), %eax
cmpl -0x220(%rbp), %eax
jge 0x15262
movq -0x210(%rbp), %rax
movq -0x18(%rax), %rax
leaq -0x210(%rbp,%rax), %rdi
movl $0x3, %esi
callq 0x15820
jmp 0x151db
movl $0xa, %edi
callq 0x10c00
movl %eax, -0x27c(%rbp)
jmp 0x151ed
movl -0x27c(%rbp), %eax
movl %eax, -0x22c(%rbp)
movl -0x22c(%rbp), %esi
leaq -0x210(%rbp), %rdi
callq 0x43d0
movq %rax, -0x288(%rbp)
jmp 0x15214
movq -0x250(%rbp), %rdi
addq $0x8, %rdi
movslq -0x228(%rbp), %rsi
callq 0x46c0
movq %rax, -0x290(%rbp)
jmp 0x15234
movq -0x288(%rbp), %rdi
movq -0x290(%rbp), %rax
movsbl (%rax), %esi
callq 0x43e0
jmp 0x1524c
jmp 0x1524e
movl -0x228(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x228(%rbp)
jmp 0x151aa
leaq 0x628d(%rip), %rsi      # 0x1b4f6
leaq -0x210(%rbp), %rdi
callq 0x4330
jmp 0x15277
movl $0x0, -0x230(%rbp)
movq -0x250(%rbp), %rdi
movl -0x230(%rbp), %eax
movl %eax, -0x294(%rbp)
addq $0x28, %rdi
callq 0x15850
movq %rax, %rcx
movl -0x294(%rbp), %eax
cmpl %ecx, %eax
jge 0x15409
movq -0x210(%rbp), %rax
movq -0x18(%rax), %rax
leaq -0x210(%rbp,%rax), %rdi
movl $0x3, %esi
callq 0x15820
jmp 0x152cd
movl $0xa, %edi
callq 0x10c00
movl %eax, -0x298(%rbp)
jmp 0x152df
movl -0x298(%rbp), %eax
movl %eax, -0x234(%rbp)
movl -0x234(%rbp), %esi
leaq -0x210(%rbp), %rdi
callq 0x43d0
movq %rax, -0x2a0(%rbp)
jmp 0x15306
movq -0x2a0(%rbp), %rdi
movl -0x230(%rbp), %esi
incl %esi
callq 0x45c0
jmp 0x1531c
movl $0x0, -0x238(%rbp)
movl -0x238(%rbp), %eax
cmpl -0x220(%rbp), %eax
jge 0x153de
movq -0x210(%rbp), %rax
movq -0x18(%rax), %rax
leaq -0x210(%rbp,%rax), %rdi
movl $0x3, %esi
callq 0x15820
jmp 0x15357
movl $0xa, %edi
callq 0x10c00
movl %eax, -0x2a4(%rbp)
jmp 0x15369
movl -0x2a4(%rbp), %eax
movl %eax, -0x23c(%rbp)
movl -0x23c(%rbp), %esi
leaq -0x210(%rbp), %rdi
callq 0x43d0
movq %rax, -0x2b0(%rbp)
jmp 0x15390
movq -0x250(%rbp), %rdi
addq $0x28, %rdi
movslq -0x230(%rbp), %rsi
callq 0x155b0
movq %rax, %rdi
movslq -0x238(%rbp), %rsi
callq 0x5180
movq -0x2b0(%rbp), %rdi
movss (%rax), %xmm0
callq 0x4290
jmp 0x153c8
jmp 0x153ca
movl -0x238(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x238(%rbp)
jmp 0x15326
leaq 0x6111(%rip), %rsi      # 0x1b4f6
leaq -0x210(%rbp), %rdi
callq 0x4330
jmp 0x153f3
jmp 0x153f5
movl -0x230(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x230(%rbp)
jmp 0x15281
leaq -0x210(%rbp), %rdi
callq 0x44c0
jmp 0x15417
leaq -0x210(%rbp), %rdi
callq 0x44f0
addq $0x2b0, %rsp            # imm = 0x2B0
popq %rbp
retq
movq -0x218(%rbp), %rdi
callq 0x45e0
nopl (%rax,%rax)