// File: /workspace/github_cpp_makefile_star2_O1/gvaumour[P]cache-simulator/src/Predictor.cc
// Function: Predictor::~Predictor()
Predictor::~Predictor()

{
	if(m_trackError){
		for(unsigned i = 0 ; i < BP_missing_tags.size() ; i++)
		{
			for(unsigned j = 0 ; j < BP_missing_tags[i].size() ; j++)
			{
				delete BP_missing_tags[i][j];
			}
		}
	
		for(int i = 0 ; i < m_nb_set ; i++)
		{
			for(unsigned j = 0 ; j < m_SRAM_missing_tags[i].size() ; j++)
				delete m_SRAM_missing_tags[i][j];
			/*for(unsigned j = 0 ; j < m_NVM_missing_tags[i].size() ; j++)
				delete m_NVM_missing_tags[i][j];
			*/
		}
	}
	delete m_replacementPolicyNVM_ptr;
	delete m_replacementPolicySRAM_ptr;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x1c481(%rip), %rax     # 0x44968
movq %rax, (%rdi)
cmpb $0x1, 0x80(%rdi)
jne 0x28603
movq 0x148(%rbx), %rax
cmpq 0x140(%rbx), %rax
je 0x28592
xorl %r15d, %r15d
movabsq $-0x5555555555555555, %r12 # imm = 0xAAAAAAAAAAAAAAAB
movq 0x140(%rbx), %rcx
leaq (%r15,%r15,2), %r13
movq (%rcx,%r13,8), %rax
cmpq %rax, 0x8(%rcx,%r13,8)
je 0x28574
movl $0x1, %ebp
xorl %ecx, %ecx
movq (%rax,%rcx,8), %r14
testq %r14, %r14
je 0x28554
movq 0x20(%r14), %rdi
testq %rdi, %rdi
je 0x2854c
callq 0x52a0
movq %r14, %rdi
callq 0x52a0
movl %ebp, %ecx
movq 0x140(%rbx), %rdx
movq (%rdx,%r13,8), %rax
movq 0x8(%rdx,%r13,8), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
incl %ebp
cmpq %rcx, %rdx
ja 0x28535
movq 0x148(%rbx), %rax
subq 0x140(%rbx), %rax
incl %r15d
sarq $0x3, %rax
imulq %r12, %rax
cmpq %r15, %rax
ja 0x28518
cmpl $0x0, 0x18(%rbx)
jle 0x28603
xorl %r15d, %r15d
movq 0x88(%rbx), %rcx
leaq (%r15,%r15,2), %r12
movq (%rcx,%r12,8), %rax
cmpq %rax, 0x8(%rcx,%r12,8)
je 0x285f7
movl $0x1, %ebp
xorl %ecx, %ecx
movq (%rax,%rcx,8), %r14
testq %r14, %r14
je 0x285d7
movq 0x20(%r14), %rdi
testq %rdi, %rdi
je 0x285cf
callq 0x52a0
movq %r14, %rdi
callq 0x52a0
movl %ebp, %ecx
movq 0x88(%rbx), %rdx
movq (%rdx,%r12,8), %rax
movq 0x8(%rdx,%r12,8), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
incl %ebp
cmpq %rcx, %rdx
ja 0x285b8
incq %r15
movslq 0x18(%rbx), %rax
cmpq %rax, %r15
jl 0x2859b
movq 0x60(%rbx), %rdi
testq %rdi, %rdi
je 0x28612
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x68(%rbx), %rdi
testq %rdi, %rdi
je 0x28621
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x240(%rbx), %rdi
callq 0x28a36
movq 0x228(%rbx), %rdi
testq %rdi, %rdi
je 0x2863e
callq 0x52a0
movq 0x210(%rbx), %rdi
testq %rdi, %rdi
je 0x2864f
callq 0x52a0
movq 0x1f8(%rbx), %rdi
testq %rdi, %rdi
je 0x28660
callq 0x52a0
movq 0x1e0(%rbx), %rdi
testq %rdi, %rdi
je 0x28671
callq 0x52a0
leaq 0x188(%rbx), %rdi
callq 0x1d386
movq 0x170(%rbx), %rdi
testq %rdi, %rdi
je 0x2868e
callq 0x52a0
movq 0x158(%rbx), %rdi
testq %rdi, %rdi
je 0x2869f
callq 0x52a0
leaq 0x140(%rbx), %rdi
callq 0x28a5e
leaq 0x110(%rbx), %rdi
callq 0x121dc
leaq 0xe8(%rbx), %rdi
callq 0x121dc
movq 0xd0(%rbx), %rdi
testq %rdi, %rdi
je 0x286d4
callq 0x52a0
movq 0xb8(%rbx), %rdi
testq %rdi, %rdi
je 0x286e5
callq 0x52a0
leaq 0xa0(%rbx), %rdi
callq 0x28a5e
leaq 0x88(%rbx), %rdi
callq 0x28a5e
movq 0x40(%rbx), %rdi
addq $0x50, %rbx
addq $0x8, %rsp
cmpq %rbx, %rdi
je 0x2871d
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x52a0
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2872a
movq %rax, %rdi
callq 0xc9f0