// File: /workspace/github_cpp_makefile_star2_O1/mohaps[P]lrucache/LRUCacheTest.cpp
// Function: lru::test()
void test()
	{
		lru::Cache<String, String> cache(3,0);
		cache.insert("hello", "world");
		cache.insert("foo", "bar");
		cache.dumpDebug(std::cout<<"--> After 2 inserts"<<std::endl);
		
		std::cout<<"checking refresh : "<<cache.get("hello")<<std::endl;
		cache.dumpDebug(std::cout<<"--> After refeshing oldest key"<<std::endl);
		
		cache.insert("hello1", "world1");
		cache.insert("foo1", "bar1");
		cache.dumpDebug(std::cout<<"--> After adding two more"<<std::endl);
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xb8, %rsp
leaq 0x4975(%rip), %rax      # 0x6c98
leaq -0xb0(%rbp), %rcx
movq %rax, -0x18(%rcx)
leaq 0x4993(%rip), %rax      # 0x6cc8
movq %rax, -0x10(%rcx)
movl $0x0, (%rcx)
xorl %eax, %eax
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x49c8(%rip), %rdx      # 0x6d20
movq %rdx, 0x28(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, 0x30(%rcx)
movq %rax, 0x40(%rcx)
movq $0x3, 0x48(%rcx)
movq %rax, 0x50(%rcx)
leaq -0x28(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x1c82(%rip), %rsi      # 0x4004
leaq 0x1c80(%rip), %rdx      # 0x4009
leaq -0x38(%rbp), %rdi
callq 0x351c
leaq -0x48(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x1c69(%rip), %rsi      # 0x400a
leaq 0x1c67(%rip), %rdx      # 0x400f
leaq -0x58(%rbp), %rdi
callq 0x351c
leaq -0xc8(%rbp), %rdi
leaq -0x38(%rbp), %rsi
leaq -0x58(%rbp), %rdx
callq 0x2762
movq -0x58(%rbp), %rdi
cmpq %r15, %rdi
je 0x23da
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x2130
movq -0x38(%rbp), %rdi
cmpq %r14, %rdi
je 0x23ef
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x2130
leaq -0x38(%rbp), %rdi
movq %r14, (%rdi)
leaq 0x1c13(%rip), %rsi      # 0x4010
leaq 0x1c0f(%rip), %rdx      # 0x4013
callq 0x351c
leaq -0x58(%rbp), %rdi
movq %r15, (%rdi)
leaq 0x1bfd(%rip), %rsi      # 0x4014
leaq 0x1bf9(%rip), %rdx      # 0x4017
callq 0x351c
leaq -0xc8(%rbp), %rdi
leaq -0x38(%rbp), %rsi
leaq -0x58(%rbp), %rdx
callq 0x2762
movq -0x58(%rbp), %rdi
cmpq %r15, %rdi
je 0x244c
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x2130
movq -0x38(%rbp), %rdi
cmpq %r14, %rdi
je 0x2461
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x2130
movq 0x4b68(%rip), %rbx      # 0x6fd0
leaq 0x1ba9(%rip), %rsi      # 0x4018
movl $0x13, %edx
movq %rbx, %rdi
callq 0x2150
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x4b36(%rip), %rdi      # 0x6fd0
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq -0xc8(%rbp), %rdi
movq %rax, %rsi
callq 0x285a
movq 0x4b13(%rip), %rdi      # 0x6fd0
leaq 0x1b68(%rip), %rsi      # 0x402c
movl $0x13, %edx
callq 0x2150
leaq -0x38(%rbp), %rdi
movq %r14, (%rdi)
leaq 0x1b28(%rip), %rsi      # 0x4004
leaq 0x1b26(%rip), %rdx      # 0x4009
callq 0x351c
leaq -0xc8(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x296c
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq 0x4aca(%rip), %rdi      # 0x6fd0
callq 0x2150
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20c0
movq -0x38(%rbp), %rdi
cmpq %r14, %rdi
je 0x254a
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x2130
movq 0x4a7f(%rip), %rbx      # 0x6fd0
leaq 0x1ae8(%rip), %rsi      # 0x4040
movl $0x1e, %edx
movq %rbx, %rdi
callq 0x2150
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x4a4d(%rip), %rdi      # 0x6fd0
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq -0xc8(%rbp), %rdi
movq %rax, %rsi
callq 0x285a
leaq -0x38(%rbp), %rdi
movq %r14, (%rdi)
leaq 0x1ab2(%rip), %rsi      # 0x405f
leaq 0x1ab1(%rip), %rdx      # 0x4065
callq 0x351c
leaq -0x58(%rbp), %rdi
movq %r15, (%rdi)
leaq 0x1a9f(%rip), %rsi      # 0x4066
leaq 0x1a9e(%rip), %rdx      # 0x406c
callq 0x351c
leaq -0xc8(%rbp), %rdi
leaq -0x38(%rbp), %rsi
leaq -0x58(%rbp), %rdx
callq 0x2762
movq -0x58(%rbp), %rdi
cmpq %r15, %rdi
je 0x25fc
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x2130
movq -0x38(%rbp), %rdi
cmpq %r14, %rdi
je 0x2611
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x2130
leaq -0x38(%rbp), %rdi
movq %r14, (%rdi)
leaq 0x1a4e(%rip), %rsi      # 0x406d
leaq 0x1a4b(%rip), %rdx      # 0x4071
callq 0x351c
leaq -0x58(%rbp), %rdi
movq %r15, (%rdi)
leaq 0x1a39(%rip), %rsi      # 0x4072
leaq 0x1a36(%rip), %rdx      # 0x4076
callq 0x351c
leaq -0xc8(%rbp), %rdi
leaq -0x38(%rbp), %rsi
leaq -0x58(%rbp), %rdx
callq 0x2762
movq -0x58(%rbp), %rdi
cmpq %r15, %rdi
je 0x266e
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x2130
movq -0x38(%rbp), %rdi
cmpq %r14, %rdi
je 0x2683
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x2130
movq 0x4946(%rip), %rbx      # 0x6fd0
leaq 0x19e6(%rip), %rsi      # 0x4077
movl $0x19, %edx
movq %rbx, %rdi
callq 0x2150
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x4914(%rip), %rdi      # 0x6fd0
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq -0xc8(%rbp), %rdi
movq %rax, %rsi
callq 0x285a
leaq -0xc8(%rbp), %rdi
callq 0x2a26
addq $0xb8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2706
jmp 0x2724
jmp 0x273e
jmp 0x2706
jmp 0x2724
jmp 0x273e
jmp 0x273e
jmp 0x2706
jmp 0x2724
jmp 0x273e
movq %rax, %rbx
movq -0x58(%rbp), %rdi
cmpq %r15, %rdi
je 0x2727
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x2130
jmp 0x2727
jmp 0x2724
jmp 0x273e
movq %rax, %rbx
movq -0x38(%rbp), %rdi
cmpq %r14, %rdi
je 0x2741
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x2130
jmp 0x2741
movq %rax, %rbx
leaq -0xc8(%rbp), %rdi
callq 0x2a26
movq %rbx, %rdi
callq 0x21b0