// File: /workspace/github_cpp_makefile_star2_O2/cjc12[P]ezSTL/src/../include/test.h
// Function: ezSTL::test::test_smart_pointers()
void test::test_smart_pointers() {
		start_info("shared_ptr:");
		shared_ptr<int> sh1(new int(8));
		print_shared_ptr(sh1);
		{
			test_info("shared_ptr   copy constructor");
			shared_ptr<int> sh2(sh1);
			print_shared_ptr(sh1);
			print_shared_ptr(sh2);
			shared_ptr<int> sh3(sh2);
			print_shared_ptr(sh1);
			print_shared_ptr(sh2);
			print_shared_ptr(sh3);
		}
		print_shared_ptr(sh1);
		shared_ptr<int> sh4;
		test_info("shared_ptr   copy assignment opeartor");
		sh4 = sh1;
		print_shared_ptr(sh1);
		print_shared_ptr(sh4);
		finish_info("shared_ptr");

		start_info("unique_ptr:");
		test_info("unique_ptr   constructor");
		unique_ptr<int> un1(new int(8));
		print_unique_ptr(un1);
		test_info("unique_ptr   move copy constructor");
		unique_ptr<int> un2(ezSTL::move(un1));
		print_unique_ptr(un1);
		print_unique_ptr(un2);
		finish_info("unique_ptr");

		start_info("weak_ptr:");
		test_info("weak_ptr   constructor");
		weak_ptr<int> we1(sh1);
		print_weak_ptr(we1);
		print_shared_ptr(sh1);
		{
			test_info("weak_ptr   lock");
			shared_ptr<int> sh = we1.lock();
			print_weak_ptr(we1);
			print_shared_ptr(sh);
		}
		print_weak_ptr(we1);
		test_info("weak_ptr   reset");
		we1.reset();
		print_weak_ptr(we1);
		finish_info("weak_ptr");
		continue_next_test();
	}

// Assembly:
pushq %r14
pushq %rbx
subq $0x1f8, %rsp            # imm = 0x1F8
leaq 0x9cf3(%rip), %rsi      # 0xe590
leaq 0x1d8(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x2090
leaq 0x1d8(%rsp), %rdi
callq 0x243c
leaq 0x1d8(%rsp), %rdi
callq 0x20c0
pushq $0x4
popq %rbx
movq %rbx, %rdi
callq 0x21e0
movl $0x8, (%rax)
leaq 0x20(%rsp), %r14
movq %rax, (%r14)
movq %rbx, %rdi
callq 0x21e0
movq %rax, 0x8(%r14)
movl $0x1, (%rax)
movq %r14, %rdi
callq 0x7f6e
leaq 0x9c99(%rip), %rsi      # 0xe59c
leaq 0x1b8(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x2090
leaq 0x1b8(%rsp), %rdi
callq 0x257e
leaq 0x1b8(%rsp), %rdi
callq 0x20c0
leaq 0x20(%rsp), %rdi
movq (%rdi), %rax
movq 0x8(%rdi), %rcx
movq %rax, 0x10(%rsp)
movq %rcx, 0x18(%rsp)
incl (%rcx)
callq 0x7f6e
leaq 0x10(%rsp), %rdi
callq 0x7f6e
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
movq %rax, (%rsp)
movq %rcx, 0x8(%rsp)
incl (%rcx)
leaq 0x20(%rsp), %rdi
callq 0x7f6e
leaq 0x10(%rsp), %rdi
callq 0x7f6e
movq %rsp, %rdi
callq 0x7f6e
movq %rsp, %rdi
callq 0x7ff8
leaq 0x10(%rsp), %rdi
callq 0x7ff8
leaq 0x20(%rsp), %rdi
callq 0x7f6e
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
leaq 0x9c08(%rip), %rsi      # 0xe5ba
leaq 0x198(%rsp), %rdi
movq %rsp, %rdx
callq 0x2090
leaq 0x198(%rsp), %rdi
callq 0x257e
leaq 0x198(%rsp), %rdi
callq 0x20c0
leaq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rbx
movq %rbx, %rsi
callq 0x8022
movq %rbx, %rdi
callq 0x7f6e
leaq 0x10(%rsp), %rdi
callq 0x7f6e
leaq 0x9bd9(%rip), %rsi      # 0xe5e0
leaq 0x178(%rsp), %rdi
movq %rsp, %rdx
callq 0x2090
leaq 0x178(%rsp), %rdi
callq 0x2542
leaq 0x178(%rsp), %rdi
callq 0x20c0
leaq 0x9bb3(%rip), %rsi      # 0xe5eb
leaq 0x158(%rsp), %rdi
movq %rsp, %rdx
callq 0x2090
leaq 0x158(%rsp), %rdi
callq 0x243c
leaq 0x158(%rsp), %rdi
callq 0x20c0
leaq 0x9b8e(%rip), %rsi      # 0xe5f7
leaq 0x138(%rsp), %rdi
movq %rsp, %rdx
callq 0x2090
leaq 0x138(%rsp), %rdi
callq 0x257e
leaq 0x138(%rsp), %rdi
callq 0x20c0
pushq $0x4
popq %rdi
callq 0x21e0
movl $0x8, (%rax)
leaq 0x50(%rsp), %rdi
movq %rax, (%rdi)
callq 0x8070
leaq 0x9b5b(%rip), %rsi      # 0xe610
leaq 0x118(%rsp), %rdi
movq %rsp, %rdx
callq 0x2090
leaq 0x118(%rsp), %rdi
callq 0x257e
leaq 0x118(%rsp), %rdi
callq 0x20c0
leaq 0x50(%rsp), %rdi
movq (%rdi), %rax
movq %rax, 0x48(%rsp)
andq $0x0, (%rdi)
callq 0x8070
leaq 0x48(%rsp), %rdi
callq 0x8070
leaq 0x9b2d(%rip), %rsi      # 0xe633
leaq 0xf8(%rsp), %rdi
movq %rsp, %rdx
callq 0x2090
leaq 0xf8(%rsp), %rdi
callq 0x2542
leaq 0xf8(%rsp), %rdi
callq 0x20c0
leaq 0x9b07(%rip), %rsi      # 0xe63e
leaq 0xd8(%rsp), %rdi
movq %rsp, %rdx
callq 0x2090
leaq 0xd8(%rsp), %rdi
callq 0x243c
leaq 0xd8(%rsp), %rdi
callq 0x20c0
leaq 0x9ae0(%rip), %rsi      # 0xe648
leaq 0xb8(%rsp), %rdi
movq %rsp, %rdx
callq 0x2090
leaq 0xb8(%rsp), %rdi
callq 0x257e
leaq 0xb8(%rsp), %rdi
callq 0x20c0
movaps 0x20(%rsp), %xmm0
movq %rsp, %rdi
movaps %xmm0, (%rdi)
callq 0x80b8
leaq 0x20(%rsp), %rdi
callq 0x7f6e
leaq 0x9aac(%rip), %rsi      # 0xe65f
leaq 0x98(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x2090
leaq 0x98(%rsp), %rdi
callq 0x257e
leaq 0x98(%rsp), %rdi
callq 0x20c0
movq %rsp, %rdi
movq (%rdi), %rax
movq 0x8(%rdi), %rcx
movq %rax, 0x38(%rsp)
movq %rcx, 0x40(%rsp)
incl (%rcx)
callq 0x80b8
leaq 0x38(%rsp), %rdi
callq 0x7f6e
leaq 0x38(%rsp), %rdi
callq 0x7ff8
movq %rsp, %rdi
callq 0x80b8
leaq 0x9a52(%rip), %rsi      # 0xe66f
leaq 0x78(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x2090
leaq 0x78(%rsp), %rdi
callq 0x257e
leaq 0x78(%rsp), %rdi
callq 0x20c0
xorps %xmm0, %xmm0
movq %rsp, %rdi
movaps %xmm0, (%rdi)
callq 0x80b8
leaq 0x9a2b(%rip), %rsi      # 0xe680
leaq 0x58(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x2090
leaq 0x58(%rsp), %rdi
callq 0x2542
leaq 0x58(%rsp), %rdi
callq 0x20c0
callq 0x25a2
leaq 0x48(%rsp), %rdi
callq 0x8136
leaq 0x50(%rsp), %rdi
callq 0x8136
leaq 0x10(%rsp), %rdi
callq 0x7ff8
leaq 0x20(%rsp), %rdi
callq 0x7ff8
addq $0x1f8, %rsp            # imm = 0x1F8
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
jmp 0x4d0f
jmp 0x4dd8
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
jmp 0x4d0f
jmp 0x4dd8
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
jmp 0x4d0f
jmp 0x4dd8
movq %rax, %rbx
leaq 0xb8(%rsp), %rdi
jmp 0x4d0f
jmp 0x4dd8
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
jmp 0x4d0f
jmp 0x4dd8
movq %rax, %rbx
leaq 0xf8(%rsp), %rdi
callq 0x20c0
jmp 0x4ddb
jmp 0x4dd8
movq %rax, %rbx
leaq 0x118(%rsp), %rdi
callq 0x20c0
jmp 0x4de5
jmp 0x4d35
movq %rax, %rbx
jmp 0x4de5
jmp 0x4dc6
movq %rax, %rbx
leaq 0x138(%rsp), %rdi
jmp 0x4d7a
jmp 0x4dc6
movq %rax, %rbx
leaq 0x158(%rsp), %rdi
jmp 0x4d7a
jmp 0x4dc6
movq %rax, %rbx
leaq 0x178(%rsp), %rdi
jmp 0x4d7a
jmp 0x4dc6
movq %rax, %rbx
leaq 0x198(%rsp), %rdi
callq 0x20c0
jmp 0x4def
jmp 0x4dc6
movq %rax, %rbx
leaq 0x1b8(%rsp), %rdi
callq 0x20c0
jmp 0x4df9
jmp 0x4dc1
movq %rax, %rbx
leaq 0x1d8(%rsp), %rdi
callq 0x20c0
jmp 0x4e03
movq %rax, %rbx
jmp 0x4e03
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x7ff8
jmp 0x4ddb
jmp 0x4dd8
jmp 0x4dc6
movq %rax, %rbx
jmp 0x4df9
movq %rax, %rbx
jmp 0x4def
movq %rax, %rbx
movq %rsp, %rdi
callq 0x7ff8
jmp 0x4def
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x8136
leaq 0x50(%rsp), %rdi
callq 0x8136
leaq 0x10(%rsp), %rdi
callq 0x7ff8
leaq 0x20(%rsp), %rdi
callq 0x7ff8
movq %rbx, %rdi
callq 0x22d0
nop