// File: /workspace/github_cpp_makefile_star2_O1/gvaumour[P]cache-simulator/src/HybridCache.cc
// Function: HybridCache::printResults(std::ostream&)
void 
HybridCache::printResults(std::ostream& out) 
{
	uint64_t total_missSRAM =  stats_missSRAM[0] + stats_missSRAM[1];
	uint64_t total_missNVM =  stats_missNVM[0] + stats_missNVM[1];
	uint64_t total_miss = total_missNVM + total_missSRAM;
	
	uint64_t total_accessSRAM =  stats_hitsSRAM[0] + stats_hitsSRAM[1];
	uint64_t total_accessNVM =  stats_hitsNVM[0] + stats_hitsNVM[1];
	uint64_t total_access = total_accessSRAM + total_accessNVM;
	
	string entete = "Cache";
	if(m_ID != -1){
		entete+="L1";
		if(m_isInstructionCache)
		 	entete += "I";
		else
			entete += "D";
	}
	else
		entete+= "LLC";

	if(total_access != 0 || stats_bypass > 0){
	
		out << entete << ":Results" << endl;
		out << entete << ":TotalAccess\t"<< total_access << endl;
		out << entete << ":TotalHits\t" << total_access - total_miss << endl;
		out << entete << ":TotalMiss\t" << total_miss << endl;		
		out << entete << ":MissRate\t" << (double)(total_miss)*100 / (double)(total_access) << "%"<< endl;
//		out << entete << ":CleanWriteBack\t" << stats_cleanWBNVM + stats_cleanWBSRAM << endl;
//		out << entete << ":DirtyWriteBack\t" << stats_dirtyWBNVM + stats_dirtyWBSRAM << endl;
		out << entete << ":AllocateDemand\t" << stats_allocateDemand << endl;
		out << entete << ":AllocateWB\t" << stats_allocateWB << endl;
		
		out << entete << ":Eviction\t" << stats_evict << endl;	
		out << entete << ":Bypass\t" << stats_bypass << endl;
		out << entete << ":DemandBypass\t" << stats_demand_BP << endl;
		out << entete << ":WBBypass\t" << stats_WB_BP << endl;
		
		out << entete << ":NVMways:reads\t"<< stats_hitsNVM[0] + stats_migration[true]<< endl;
		out << entete << ":NVMways:writes\t"<< stats_hitsNVM[1] + stats_dirtyWBNVM + stats_migration[false] << endl;		
		out << entete << ":SRAMways:reads\t"<< stats_hitsSRAM[0] + stats_migration[false] << endl;
		out << entete << ":SRAMways:writes\t"<< stats_hitsSRAM[1] + stats_dirtyWBSRAM + stats_migration[true]<< endl;	
		
		//cout << "************************" << endl;
		
		if(m_printStats)
		{
			out << entete << ":MigrationFromNVM\t" << stats_migration[true] << endl;
			out << entete << ":MigrationFromSRAM\t" << stats_migration[false] << endl;
			out << entete << ":BlockClassification" << endl;
			out << entete << ":FetchedBlocks\t" << stats_nbFetchedLines << endl;
			out << entete << ":DeadBlocks\t" << stats_nbLostLine << "\t" << \
				(double)stats_nbLostLine*100/(double)stats_nbFetchedLines << "%" << endl;
			out << entete << ":ROBlocks\t" << stats_nbROlines << "\t" << \
				(double)stats_nbROlines*100/(double)stats_nbFetchedLines << "%" << endl;
			out << entete << ":WOBlocks\t" << stats_nbWOlines << "\t" << \
				(double)stats_nbWOlines*100/(double)stats_nbFetchedLines << "%" << endl;
			out << entete << ":RWBlocks\t" << stats_nbRWlines << "\t" << \
				(double)stats_nbRWlines*100/(double)stats_nbFetchedLines << "%" << endl;
			/*
			out << "Histogram NB Write" << endl;
			for(auto p : stats_histo_ratioRW){
				out << p.first << "\t" << p.second << endl;
			}*/
		}

		out << entete << ":instructionsDistribution" << endl;

		for(unsigned i = 0 ; i < stats_operations.size() ; i++){
			if(stats_operations[i] != 0)
				out << entete << ":" << memCmd_str[i]  << "\t" << stats_operations[i] << endl;
		}
		m_predictor->printStats(out, entete);
	
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbp
movq %rdi, %r14
movq 0xc0(%rdi), %rax
movq 0xd8(%rdi), %rcx
movq 0x8(%rax), %r12
movq 0x110(%rdi), %rdx
addq (%rax), %r12
addq (%rdx), %r12
addq 0x8(%rdx), %r12
movq 0x8(%rcx), %r15
movq 0x128(%rdi), %rax
addq (%rcx), %r15
addq (%rax), %r15
addq 0x8(%rax), %r15
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x19a60(%rip), %rsi     # 0x358aa
leaq 0x19a5e(%rip), %rdx     # 0x358af
leaq 0x8(%rsp), %rdi
callq 0xccac
cmpl $-0x1, (%r14)
je 0x1be8b
leaq 0x1b25f(%rip), %rsi     # 0x370c7
leaq 0x8(%rsp), %rdi
callq 0x55f0
leaq 0x19dcf(%rip), %rax     # 0x35c48
leaq 0x18c38(%rip), %rsi     # 0x34ab8
cmpb $0x0, 0x4(%r14)
cmovneq %rax, %rsi
jmp 0x1be92
leaq 0x1b286(%rip), %rsi     # 0x37118
leaq 0x8(%rsp), %rdi
callq 0x55f0
movq 0x108(%r14), %rax
orq %r15, %rax
je 0x1cbc4
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r13
leaq 0x19dc1(%rip), %rsi     # 0x35c89
movl $0x8, %edx
movq %rax, %rdi
callq 0x5350
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r13, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r13
leaq 0x19d79(%rip), %rsi     # 0x35c92
movl $0xd, %edx
movq %rax, %rdi
callq 0x5350
movq %r13, %rdi
movq %r15, %rsi
callq 0x51e0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r13, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r13
leaq 0x19d29(%rip), %rsi     # 0x35ca0
movl $0xb, %edx
movq %rax, %rdi
callq 0x5350
movq %r15, %rsi
subq %r12, %rsi
movq %r13, %rdi
callq 0x51e0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r13, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r13
leaq 0x19cd4(%rip), %rsi     # 0x35cac
movl $0xb, %edx
movq %rax, %rdi
callq 0x5350
movq %r13, %rdi
movq %r12, %rsi
callq 0x51e0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r13, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r13
leaq 0x19c82(%rip), %rsi     # 0x35cb8
movl $0xa, %edx
movq %rax, %rdi
callq 0x5350
movq %r12, %xmm1
movq 0x17fc0(%rip), %xmm2    # 0x34010
punpckldq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movapd 0x17fc4(%rip), %xmm3    # 0x34020
subpd %xmm3, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
mulsd 0x1893c(%rip), %xmm0    # 0x349b0
movq %r15, %xmm1
punpckldq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
subpd %xmm3, %xmm1
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
movq %r13, %rdi
callq 0x5500
movq %rax, %r15
leaq 0x18d85(%rip), %rsi     # 0x34e28
movl $0x1, %edx
movq %rax, %rdi
callq 0x5350
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x19bd0(%rip), %rsi     # 0x35cc3
movl $0x10, %edx
movq %rax, %rdi
callq 0x5350
movq 0x158(%r14), %rsi
movq %r15, %rdi
callq 0x51e0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x19b7f(%rip), %rsi     # 0x35cd4
movl $0xc, %edx
movq %rax, %rdi
callq 0x5350
movq 0x150(%r14), %rsi
movq %r15, %rdi
callq 0x51e0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x19b2a(%rip), %rsi     # 0x35ce1
movl $0xa, %edx
movq %rax, %rdi
callq 0x5350
movq 0x100(%r14), %rsi
movq %r15, %rdi
callq 0x51e0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x19ad3(%rip), %rsi     # 0x35cec
movl $0x8, %edx
movq %rax, %rdi
callq 0x5350
movq 0x108(%r14), %rsi
movq %r15, %rdi
callq 0x51e0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x19a7a(%rip), %rsi     # 0x35cf5
movl $0xe, %edx
movq %rax, %rdi
callq 0x5350
movq 0x160(%r14), %rsi
movq %r15, %rdi
callq 0x51e0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x19a27(%rip), %rsi     # 0x35d04
movl $0xa, %edx
movq %rax, %rdi
callq 0x5350
movq 0x168(%r14), %rsi
movq %r15, %rdi
callq 0x51e0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x199d0(%rip), %rsi     # 0x35d0f
movl $0xf, %edx
movq %rax, %rdi
callq 0x5350
movq 0x128(%r14), %rax
movq 0x170(%r14), %rcx
movq 0x8(%rcx), %rsi
addq (%rax), %rsi
movq %r15, %rdi
callq 0x51e0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x19970(%rip), %rsi     # 0x35d1f
movl $0x10, %edx
movq %rax, %rdi
callq 0x5350
movq 0x128(%r14), %rax
movq 0x140(%r14), %rsi
addq 0x8(%rax), %rsi
movq 0x170(%r14), %rax
addq (%rax), %rsi
movq %r15, %rdi
callq 0x51e0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x1990a(%rip), %rsi     # 0x35d30
movl $0x10, %edx
movq %rax, %rdi
callq 0x5350
movq 0xd8(%r14), %rax
movq 0x170(%r14), %rcx
movq (%rcx), %rsi
addq (%rax), %rsi
movq %r15, %rdi
callq 0x51e0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x198ac(%rip), %rsi     # 0x35d41
movl $0x11, %edx
movq %rax, %rdi
callq 0x5350
movq 0xd8(%r14), %rax
movq 0xf0(%r14), %rsi
addq 0x8(%rax), %rsi
movq 0x170(%r14), %rax
addq 0x8(%rax), %rsi
movq %r15, %rdi
callq 0x51e0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
cmpb $0x1, 0x90(%r14)
jne 0x1ca20
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x188fa(%rip), %rsi     # 0x34e15
movl $0x12, %edx
movq %rax, %rdi
callq 0x5350
movq 0x170(%r14), %rax
movq 0x8(%rax), %rsi
movq %r15, %rdi
callq 0x51e0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x188b8(%rip), %rsi     # 0x34e39
movl $0x13, %edx
movq %rax, %rdi
callq 0x5350
movq 0x170(%r14), %rax
movq (%rax), %rsi
movq %r15, %rdi
callq 0x51e0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x1976d(%rip), %rsi     # 0x35d53
movl $0x14, %edx
movq %rax, %rdi
callq 0x5350
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x19732(%rip), %rsi     # 0x35d68
movl $0xf, %edx
movq %rax, %rdi
callq 0x5350
movq 0x1a0(%r14), %rsi
movq %r15, %rdi
callq 0x51e0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x196e0(%rip), %rsi     # 0x35d78
movl $0xc, %edx
movq %rax, %rdi
callq 0x5350
movq 0x1a8(%r14), %rsi
movq %r15, %rdi
callq 0x51e0
movq %rax, %r15
leaq 0x195bd(%rip), %rsi     # 0x35c7b
movl $0x1, %edx
movq %rax, %rdi
callq 0x5350
movsd 0x1a8(%r14), %xmm1
movsd 0x17934(%rip), %xmm2    # 0x34010
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movapd 0x17939(%rip), %xmm3    # 0x34020
subpd %xmm3, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
mulsd 0x182b1(%rip), %xmm0    # 0x349b0
movsd 0x1a0(%r14), %xmm1
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
subpd %xmm3, %xmm1
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
movq %r15, %rdi
callq 0x5500
movq %rax, %r15
leaq 0x186f7(%rip), %rsi     # 0x34e28
movl $0x1, %edx
movq %rax, %rdi
callq 0x5350
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x19604(%rip), %rsi     # 0x35d85
movl $0xa, %edx
movq %rax, %rdi
callq 0x5350
movq 0x1b0(%r14), %rsi
movq %r15, %rdi
callq 0x51e0
movq %rax, %r15
leaq 0x194d4(%rip), %rsi     # 0x35c7b
movl $0x1, %edx
movq %rax, %rdi
callq 0x5350
movsd 0x1b0(%r14), %xmm1
movsd 0x1784b(%rip), %xmm2    # 0x34010
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movapd 0x17850(%rip), %xmm3    # 0x34020
subpd %xmm3, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
mulsd 0x181c8(%rip), %xmm0    # 0x349b0
movsd 0x1a0(%r14), %xmm1
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
subpd %xmm3, %xmm1
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
movq %r15, %rdi
callq 0x5500
movq %rax, %r15
leaq 0x1860e(%rip), %rsi     # 0x34e28
movl $0x1, %edx
movq %rax, %rdi
callq 0x5350
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x19526(%rip), %rsi     # 0x35d90
movl $0xa, %edx
movq %rax, %rdi
callq 0x5350
movq 0x1d0(%r14), %rsi
movq %r15, %rdi
callq 0x51e0
movq %rax, %r15
leaq 0x193eb(%rip), %rsi     # 0x35c7b
movl $0x1, %edx
movq %rax, %rdi
callq 0x5350
movsd 0x1d0(%r14), %xmm1
movsd 0x17762(%rip), %xmm2    # 0x34010
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movapd 0x17767(%rip), %xmm3    # 0x34020
subpd %xmm3, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
mulsd 0x180df(%rip), %xmm0    # 0x349b0
movsd 0x1a0(%r14), %xmm1
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
subpd %xmm3, %xmm1
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
movq %r15, %rdi
callq 0x5500
movq %rax, %r15
leaq 0x18525(%rip), %rsi     # 0x34e28
movl $0x1, %edx
movq %rax, %rdi
callq 0x5350
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x19448(%rip), %rsi     # 0x35d9b
movl $0xa, %edx
movq %rax, %rdi
callq 0x5350
movq 0x1c0(%r14), %rsi
movq %r15, %rdi
callq 0x51e0
movq %rax, %r15
leaq 0x19302(%rip), %rsi     # 0x35c7b
movl $0x1, %edx
movq %rax, %rdi
callq 0x5350
movsd 0x1c0(%r14), %xmm1
movsd 0x17679(%rip), %xmm2    # 0x34010
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movapd 0x1767e(%rip), %xmm3    # 0x34020
subpd %xmm3, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
mulsd 0x17ff6(%rip), %xmm0    # 0x349b0
movsd 0x1a0(%r14), %xmm1
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
subpd %xmm3, %xmm1
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
movq %r15, %rdi
callq 0x5500
movq %rax, %r15
leaq 0x1843c(%rip), %rsi     # 0x34e28
movl $0x1, %edx
movq %rax, %rdi
callq 0x5350
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r15
leaq 0x1936a(%rip), %rsi     # 0x35da6
movl $0x19, %edx
movq %rax, %rdi
callq 0x5350
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x188(%r14), %rax
cmpq %rax, 0x190(%r14)
je 0x1cb80
movl $0x1, %ebx
xorl %r15d, %r15d
cmpq $0x0, (%rax,%r15,8)
je 0x1cb5d
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x5350
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x18024(%rip), %rsi     # 0x34adf
callq 0x5350
movq %rbp, %r12
leaq 0x28866(%rip), %rax     # 0x45330
movq (%rax,%r15,8), %rbp
testq %rbp, %rbp
je 0x1caee
movq %rbp, %rdi
callq 0x5160
movq %r13, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x5350
movq %r12, %rbp
jmp 0x1cb0c
movq (%r13), %rax
movq -0x18(%rax), %rax
movq %r13, %rdi
addq %rax, %rdi
movl 0x20(%r13,%rax), %esi
orl $0x1, %esi
callq 0x5560
movq %r12, %rbp
movl $0x1, %edx
movq %r13, %rdi
leaq 0x19160(%rip), %rsi     # 0x35c7b
callq 0x5350
movq 0x188(%r14), %rax
movq (%rax,%r15,8), %rsi
movq %r13, %rdi
callq 0x51e0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r13, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movl %ebx, %r15d
movq 0x188(%r14), %rax
movq 0x190(%r14), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
incl %ebx
cmpq %r15, %rcx
ja 0x1ca8c
movq 0x68(%r14), %r14
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0xcc1c
movq (%r14), %rax
leaq 0x28(%rsp), %rdx
movq %r14, %rdi
movq %rbp, %rsi
callq *0x40(%rax)
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x1cbc4
callq 0x52a0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1cbd8
callq 0x52a0
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x1cc00
callq 0x52a0
jmp 0x1cc00
jmp 0x1cbfd
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1cc14
callq 0x52a0
movq %rbx, %rdi
callq 0x55a0