// File: /workspace/github_cpp_makefile_star2_O2/f18m[P]boost-intrusive-pool/tests/unit_tests.cpp
// Function: pool_die_before_object()
void pool_die_before_object()
{
    {
        boost::intrusive_ptr<dummy_one> d1;
        boost::intrusive_ptr<dummy_one> d2;
        boost::intrusive_ptr<dummy_one> d3;

        dummy_one::m_count = 0;

        {
            boost_intrusive_pool<dummy_one> pool;

            BOOST_REQUIRE(pool.init());

            d1 = pool.allocate();
            d2 = pool.allocate();
            d3 = pool.allocate();

            BOOST_REQUIRE_EQUAL(dummy_one::m_count, BOOST_INTRUSIVE_POOL_DEFAULT_POOL_SIZE);
        }

        BOOST_REQUIRE_EQUAL(dummy_one::m_count, BOOST_INTRUSIVE_POOL_DEFAULT_POOL_SIZE);
    }

    BOOST_REQUIRE_EQUAL(dummy_one::m_count, 0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp            # imm = 0x158
andq $0x0, -0x40(%rbp)
andq $0x0, -0x38(%rbp)
andq $0x0, -0x30(%rbp)
leaq 0x57d32(%rip), %rax     # 0x7fd78
andl $0x0, (%rax)
leaq -0x50(%rbp), %rdi
callq 0x32bfc
leaq 0x2a7d4(%rip), %r15     # 0x5282d
leaq -0x180(%rbp), %rsi
movq %r15, (%rsi)
leaq 0x2a7d7(%rip), %r12     # 0x52841
movq %r12, 0x8(%rsi)
leaq 0x32ba3(%rip), %r13     # 0x5ac18
leaq -0x170(%rbp), %rcx
movq %r13, (%rcx)
movq %r13, 0x8(%rcx)
movl $0x1b3, %edx            # imm = 0x1B3
callq 0x1c49e
xorps %xmm0, %xmm0
leaq -0xb0(%rbp), %r9
movaps %xmm0, (%r9)
movaps %xmm0, 0x10(%r9)
leaq -0x50(%rbp), %rdi
pushq $0x40
popq %rdx
movq %rdx, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x32c40
leaq -0x68(%rbp), %rdi
movb %al, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
leaq 0x2aa2a(%rip), %rax     # 0x52af2
leaq -0x160(%rbp), %rcx
movq %rax, (%rcx)
leaq 0x2aa24(%rip), %rax     # 0x52afd
movq %rax, 0x8(%rcx)
leaq -0x88(%rbp), %rsi
movb $0x0, 0x8(%rsi)
leaq 0x56921(%rip), %rax     # 0x7ea10
addq $0x10, %rax
movq %rax, (%rsi)
leaq 0x578e3(%rip), %rax     # 0x7f9e0
movq %rax, 0x10(%rsi)
movq %rcx, 0x18(%rsi)
leaq -0x150(%rbp), %rdx
movq %r15, (%rdx)
movq %r12, 0x8(%rdx)
subq $0x10, %rsp
andq $0x0, (%rsp)
pushq $0x2
popq %r8
movl $0x1b3, %ecx            # imm = 0x1B3
xorl %r9d, %r9d
xorl %eax, %eax
callq 0x18e5c
popq %rcx
popq %rdx
leaq -0x58(%rbp), %rdi
callq 0x35d22
leaq -0xb0(%rbp), %rdi
callq 0x332be
leaq -0x88(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x32e3c
leaq -0x40(%rbp), %rdi
leaq -0x88(%rbp), %r14
movq %r14, %rsi
callq 0x3344c
movq %r14, %rdi
callq 0x32ec2
leaq -0x88(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x32e3c
leaq -0x38(%rbp), %rdi
movq %r14, %rsi
callq 0x3344c
movq %r14, %rdi
callq 0x32ec2
leaq -0x88(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x32e3c
leaq -0x30(%rbp), %rdi
movq %r14, %rsi
callq 0x3344c
movq %r14, %rdi
callq 0x32ec2
leaq -0x140(%rbp), %rsi
movq %r15, (%rsi)
movq %r12, 0x8(%rsi)
leaq -0x130(%rbp), %rcx
movq %r13, (%rcx)
movq %r13, 0x8(%rcx)
movl $0x1b9, %edx            # imm = 0x1B9
callq 0x1c49e
leaq -0x88(%rbp), %rdi
movb $0x0, 0x8(%rdi)
leaq 0x5685f(%rip), %rbx     # 0x7ea50
addq $0x10, %rbx
movq %rbx, (%rdi)
leaq 0x577e1(%rip), %rax     # 0x7f9e0
movq %rax, 0x10(%rdi)
leaq 0x29c8f(%rip), %rax     # 0x51e99
movq %rax, 0x18(%rdi)
leaq -0x120(%rbp), %rsi
movq %r15, (%rsi)
movq %r12, 0x8(%rsi)
movl $0x40, -0x68(%rbp)
subq $0x8, %rsp
leaq 0x2a8e4(%rip), %r14     # 0x52b12
leaq 0x2a8f4(%rip), %r10     # 0x52b29
leaq 0x57b3c(%rip), %r9      # 0x7fd78
pushq $0x2
popq %rcx
movl $0x1b9, %edx            # imm = 0x1B9
movl %ecx, %r8d
pushq %r14
leaq -0x68(%rbp), %rax
pushq %rax
pushq %r10
callq 0x32edd
addq $0x20, %rsp
leaq -0x50(%rbp), %rdi
callq 0x330e8
leaq -0x110(%rbp), %rsi
movq %r15, (%rsi)
movq %r12, 0x8(%rsi)
leaq -0x100(%rbp), %rcx
movq %r13, (%rcx)
movq %r13, 0x8(%rcx)
movl $0x1bc, %edx            # imm = 0x1BC
callq 0x1c49e
leaq -0x88(%rbp), %rdi
movb $0x0, 0x8(%rdi)
movq %rbx, (%rdi)
leaq 0x57743(%rip), %r13     # 0x7f9e0
movq %r13, 0x10(%rdi)
leaq 0x29bf1(%rip), %rax     # 0x51e99
movq %rax, 0x18(%rdi)
leaq -0xf0(%rbp), %rsi
movq %r15, (%rsi)
movq %r12, 0x8(%rsi)
movl $0x40, -0x68(%rbp)
subq $0x8, %rsp
leaq 0x57aac(%rip), %r9      # 0x7fd78
pushq $0x2
popq %rcx
movl $0x1bc, %edx            # imm = 0x1BC
movl %ecx, %r8d
pushq %r14
leaq -0x68(%rbp), %r14
pushq %r14
leaq 0x2a843(%rip), %rax     # 0x52b29
pushq %rax
callq 0x32edd
addq $0x20, %rsp
leaq -0x30(%rbp), %rdi
callq 0x32ec2
leaq -0x38(%rbp), %rdi
callq 0x32ec2
leaq -0x40(%rbp), %rdi
callq 0x32ec2
leaq -0xe0(%rbp), %rsi
movq %r15, (%rsi)
movq %r12, 0x8(%rsi)
leaq -0xd0(%rbp), %rcx
leaq 0x328f1(%rip), %rax     # 0x5ac18
movq %rax, (%rcx)
movq %rax, 0x8(%rcx)
movl $0x1bf, %edx            # imm = 0x1BF
callq 0x1c49e
leaq -0x88(%rbp), %rdi
movb $0x0, 0x8(%rdi)
movq %rbx, (%rdi)
movq %r13, 0x10(%rdi)
leaq 0x29b48(%rip), %rax     # 0x51e99
movq %rax, 0x18(%rdi)
leaq -0xc0(%rbp), %rsi
movq %r15, (%rsi)
movq %r12, 0x8(%rsi)
andl $0x0, -0x68(%rbp)
subq $0x8, %rsp
leaq 0x2f38d(%rip), %rax     # 0x576ff
leaq 0x579ff(%rip), %r9      # 0x7fd78
pushq $0x2
popq %rcx
movl $0x1bf, %edx            # imm = 0x1BF
movl %ecx, %r8d
pushq %rax
pushq %r14
leaq 0x2a79b(%rip), %rax     # 0x52b29
pushq %rax
callq 0x32edd
addq $0x178, %rsp            # imm = 0x178
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x283d1
jmp 0x283d1
jmp 0x283d6
jmp 0x283d6
jmp 0x283d6
jmp 0x283d6
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x35d22
jmp 0x283c3
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
callq 0x332be
jmp 0x283d9
movq %rax, %rbx
jmp 0x283e2
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x330e8
leaq -0x30(%rbp), %rdi
callq 0x32ec2
leaq -0x38(%rbp), %rdi
callq 0x32ec2
leaq -0x40(%rbp), %rdi
callq 0x32ec2
movq %rbx, %rdi
callq 0xf8a0