// File: dtsaras[P]GCW/GCW.cpp
// Function: output_clust(std::ostream*, double***, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void output_clust(ostream * output, double *** data, string variable, string algorithms){
	for (int i = 0; i < algorithms.size(); i += 2){
		if (algorithms.substr(i,2) == "EG"){
			*output << setw(16) << "GCW";
		}
		else{
			*output << setw(16) << algorithms.substr(i,2);
		}
		*output << setw(16) << data[0][i/2][0] << setw(16) << data[1][i/2][0] << setw(16) << data[2][i/2][0] << endl;
	}
}

// Assembly:
subq $0x108, %rsp            # imm = 0x108
movq %rcx, 0x70(%rsp)
movq %rdi, 0x100(%rsp)
movq %rsi, 0xf8(%rsp)
movq %rdx, 0xf0(%rsp)
movq %rcx, 0xe8(%rsp)
movl $0x0, 0xe4(%rsp)
movq 0x70(%rsp), %rdi
movslq 0xe4(%rsp), %rax
movq %rax, 0x68(%rsp)
callq 0x42c0
movq %rax, %rcx
movq 0x68(%rsp), %rax
cmpq %rcx, %rax
jae 0xa631
movq 0x70(%rsp), %rsi
movslq 0xe4(%rsp), %rdx
leaq 0xc0(%rsp), %rdi
movq %rdi, 0x58(%rsp)
movl $0x2, %ecx
callq 0x4410
movq 0x58(%rsp), %rdi
leaq 0x27cc0(%rip), %rsi     # 0x3207f
callq 0xf390
movb %al, 0x67(%rsp)
jmp 0xa3ca
leaq 0xc0(%rsp), %rdi
callq 0x4260
movb 0x67(%rsp), %al
testb $0x1, %al
jne 0xa3e1
jmp 0xa44a
movq 0x100(%rsp), %rax
movq %rax, 0x50(%rsp)
movl $0x10, %edi
callq 0xf370
movq 0x50(%rsp), %rdi
movl %eax, 0xb0(%rsp)
movl 0xb0(%rsp), %esi
callq 0x4450
movq %rax, %rdi
leaq 0x27c68(%rip), %rsi     # 0x32082
callq 0x43f0
jmp 0xa4e8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xb8(%rsp)
movl %eax, 0xb4(%rsp)
leaq 0xc0(%rsp), %rdi
callq 0x4260
jmp 0xa639
movq 0x100(%rsp), %rax
movq %rax, 0x38(%rsp)
movl $0x10, %edi
callq 0xf370
movq 0x38(%rsp), %rdi
movl %eax, 0xac(%rsp)
movl 0xac(%rsp), %esi
callq 0x4450
movq 0x70(%rsp), %rsi
movq %rax, 0x40(%rsp)
movslq 0xe4(%rsp), %rdx
leaq 0x88(%rsp), %rdi
movq %rdi, 0x48(%rsp)
movl $0x2, %ecx
callq 0x4410
movq 0x40(%rsp), %rdi
movq 0x48(%rsp), %rsi
callq 0x4390
jmp 0xa4b3
leaq 0x88(%rsp), %rdi
callq 0x4260
jmp 0xa4e8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xb8(%rsp)
movl %eax, 0xb4(%rsp)
leaq 0x88(%rsp), %rdi
callq 0x4260
jmp 0xa639
movq 0x100(%rsp), %rax
movq %rax, 0x8(%rsp)
movl $0x10, %edi
callq 0xf370
movq 0x8(%rsp), %rdi
movl %eax, 0x84(%rsp)
movl 0x84(%rsp), %esi
callq 0x4450
movq %rax, %rdi
movq 0xf8(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x10(%rsp)
movl 0xe4(%rsp), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movq 0x10(%rsp), %rax
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movsd (%rax), %xmm0
callq 0x4730
movq %rax, 0x18(%rsp)
movl $0x10, %edi
callq 0xf370
movq 0x18(%rsp), %rdi
movl %eax, 0x80(%rsp)
movl 0x80(%rsp), %esi
callq 0x4450
movq %rax, %rdi
movq 0xf8(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x20(%rsp)
movl 0xe4(%rsp), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movq 0x20(%rsp), %rax
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movsd (%rax), %xmm0
callq 0x4730
movq %rax, 0x28(%rsp)
movl $0x10, %edi
callq 0xf370
movq 0x28(%rsp), %rdi
movl %eax, 0x7c(%rsp)
movl 0x7c(%rsp), %esi
callq 0x4450
movq %rax, %rdi
movq 0xf8(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x30(%rsp)
movl 0xe4(%rsp), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movq 0x30(%rsp), %rax
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movsd (%rax), %xmm0
callq 0x4730
movq %rax, %rdi
movq 0x3699a(%rip), %rsi     # 0x40fb0
callq 0x4430
movl 0xe4(%rsp), %eax
addl $0x2, %eax
movl %eax, 0xe4(%rsp)
jmp 0xa367
addq $0x108, %rsp            # imm = 0x108
retq
movq 0xb8(%rsp), %rdi
callq 0x4690
nopw %cs:(%rax,%rax)