// File: /workspace/github_cpp_makefile_star2_O3/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 0x1c7e9(%rip), %rax     # 0x44998
movq %rax, (%rdi)
cmpb $0x1, 0x80(%rdi)
jne 0x282c5
movq 0x140(%rbx), %rax
movq 0x148(%rbx), %rcx
cmpq %rax, %rcx
je 0x28251
xorl %r15d, %r15d
movabsq $-0x5555555555555555, %r12 # imm = 0xAAAAAAAAAAAAAAAB
leaq (%r15,%r15,2), %r13
movq (%rax,%r13,8), %rdx
cmpq %rdx, 0x8(%rax,%r13,8)
je 0x2823b
movl $0x1, %ebp
xorl %ecx, %ecx
movq (%rdx,%rcx,8), %r14
testq %r14, %r14
je 0x2820c
movq 0x20(%r14), %rdi
testq %rdi, %rdi
je 0x2820c
callq 0x52b0
movq %r14, %rdi
callq 0x52b0
movl %ebp, %ecx
movq 0x140(%rbx), %rax
movq (%rax,%r13,8), %rdx
movq 0x8(%rax,%r13,8), %rsi
subq %rdx, %rsi
sarq $0x3, %rsi
incl %ebp
cmpq %rcx, %rsi
ja 0x281f5
movq 0x148(%rbx), %rcx
incl %r15d
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x3, %rdx
imulq %r12, %rdx
cmpq %r15, %rdx
ja 0x281df
movl 0x18(%rbx), %ecx
testl %ecx, %ecx
jle 0x282c5
movq 0x88(%rbx), %rax
xorl %r15d, %r15d
leaq (%r15,%r15,2), %r12
movq (%rax,%r12,8), %rdx
cmpq %rdx, 0x8(%rax,%r12,8)
je 0x282ba
movl $0x1, %ebp
xorl %ecx, %ecx
movq (%rdx,%rcx,8), %r14
testq %r14, %r14
je 0x2828f
movq 0x20(%r14), %rdi
testq %rdi, %rdi
je 0x2828f
callq 0x52b0
movq %r14, %rdi
callq 0x52b0
movl %ebp, %ecx
movq 0x88(%rbx), %rax
movq (%rax,%r12,8), %rdx
movq 0x8(%rax,%r12,8), %rsi
subq %rdx, %rsi
sarq $0x3, %rsi
incl %ebp
cmpq %rcx, %rsi
ja 0x28278
movl 0x18(%rbx), %ecx
incq %r15
movslq %ecx, %rdx
cmpq %rdx, %r15
jl 0x28262
movq 0x60(%rbx), %rdi
testq %rdi, %rdi
je 0x282d4
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x68(%rbx), %rdi
testq %rdi, %rdi
je 0x282e3
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x240(%rbx), %rdi
callq 0x286f6
movq 0x228(%rbx), %rdi
testq %rdi, %rdi
je 0x28300
callq 0x52b0
movq 0x210(%rbx), %rdi
testq %rdi, %rdi
je 0x28311
callq 0x52b0
movq 0x1f8(%rbx), %rdi
testq %rdi, %rdi
je 0x28322
callq 0x52b0
movq 0x1e0(%rbx), %rdi
testq %rdi, %rdi
je 0x28333
callq 0x52b0
leaq 0x188(%rbx), %rdi
callq 0x1d248
movq 0x170(%rbx), %rdi
testq %rdi, %rdi
je 0x28350
callq 0x52b0
movq 0x158(%rbx), %rdi
testq %rdi, %rdi
je 0x28361
callq 0x52b0
leaq 0x140(%rbx), %rdi
callq 0x2871e
leaq 0x110(%rbx), %rdi
callq 0x12132
leaq 0xe8(%rbx), %rdi
callq 0x12132
movq 0xd0(%rbx), %rdi
testq %rdi, %rdi
je 0x28396
callq 0x52b0
movq 0xb8(%rbx), %rdi
testq %rdi, %rdi
je 0x283a7
callq 0x52b0
leaq 0xa0(%rbx), %rdi
callq 0x2871e
leaq 0x88(%rbx), %rdi
callq 0x2871e
movq 0x40(%rbx), %rdi
addq $0x50, %rbx
addq $0x8, %rsp
cmpq %rbx, %rdi
je 0x283df
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x52b0
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x283ec
movq %rax, %rdi
callq 0xc99c