// File: /workspace/github_cpp_makefile_star2_O1/dsharlet[P]array/test/array_lifetime.cpp
// Function: nda::test_array_clear_lifetime_body()
TEST(array_clear_lifetime) {
  movable_custom_alloc::reset_lifetime_counters();
  immovable_custom_alloc::reset_lifetime_counters();
  test_clear_lifetime<std_alloc>();
  test_clear_lifetime<movable_custom_alloc>();
  test_clear_lifetime<immovable_custom_alloc>();
  test_clear_lifetime<auto_alloc_big>();
  test_clear_lifetime<auto_alloc_small>();
  ASSERT_EQ(movable_custom_alloc::constructs, 1);
  ASSERT_EQ(immovable_custom_alloc::constructs, 1);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
xorl %eax, %eax
movq %rax, 0xc3033(%rip)     # 0xe5258
movq %rax, 0xc303c(%rip)     # 0xe5268
movq %rax, 0xc302d(%rip)     # 0xe5260
movq %rax, 0xc3036(%rip)     # 0xe5270
callq 0x33bef
callq 0x33f61
callq 0x342a2
callq 0x345e3
callq 0x34974
movq 0xc2ffe(%rip), %rbx     # 0xe5258
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x83d43(%rip), %rsi     # 0xa5fad
leaq 0x83d61(%rip), %rdx     # 0xa5fd2
leaq 0x8(%rsp), %rdi
callq 0xd0b8
xorl %esi, %esi
cmpq $0x1, %rbx
sete %sil
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0xbf0a
leaq 0x7f3b9(%rip), %rsi     # 0xa1654
leaq 0x28(%rsp), %rdi
callq 0x18a16
leaq 0x83d29(%rip), %rsi     # 0xa5fd5
movq %rax, %rdi
callq 0x23f9c
leaq 0x8306f(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x222e2
movq %rbx, %rdi
addq $0x10, %rdi
movq 0xc2f7b(%rip), %rsi     # 0xe5258
callq 0x2110
leaq 0x7f36b(%rip), %rsi     # 0xa1654
movq %rbx, %rdi
callq 0x18a16
leaq 0x86664(%rip), %rsi     # 0xa895c
movq %rax, %rdi
callq 0x18a16
leaq 0x83023(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x2232c
movq %rbx, %rdi
addq $0x10, %rdi
movl $0x1, %esi
callq 0x22f0
leaq 0x96036(%rip), %rsi     # 0xb8369
movq %rbx, %rdi
callq 0x18a16
leaq 0x28(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x2235c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq 0xc2efd(%rip), %rbx     # 0xe5260
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x83c39(%rip), %rsi     # 0xa5fab
leaq 0x83c59(%rip), %rdx     # 0xa5fd2
callq 0xd0b8
xorl %esi, %esi
cmpq $0x1, %rbx
sete %sil
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0xbf0a
leaq 0x7f2b6(%rip), %rsi     # 0xa1654
leaq 0x28(%rsp), %rdi
callq 0x18a16
leaq 0x83c24(%rip), %rsi     # 0xa5fd3
movq %rax, %rdi
callq 0x23fd4
leaq 0x82f6c(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x223e5
movq %rbx, %rdi
addq $0x10, %rdi
movq 0xc2e80(%rip), %rsi     # 0xe5260
callq 0x2110
leaq 0x7f268(%rip), %rsi     # 0xa1654
movq %rbx, %rdi
callq 0x18a16
leaq 0x86561(%rip), %rsi     # 0xa895c
movq %rax, %rdi
callq 0x18a16
leaq 0x82f20(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x2242f
movq %rbx, %rdi
addq $0x10, %rdi
movl $0x1, %esi
callq 0x22f0
leaq 0x95f33(%rip), %rsi     # 0xb8369
movq %rbx, %rdi
callq 0x18a16
leaq 0x28(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x2245f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r14
retq
jmp 0x2246c
movq %rax, %rbx
jmp 0x224af
jmp 0x2247c
jmp 0x2248b
jmp 0x22477
movq %rax, %rbx
jmp 0x22498
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbf62
jmp 0x22498
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x224af
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x2300
movq %rax, %rdi
callq 0xc036