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

// Assembly:
pushq %r14
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
xorl %eax, %eax
movq %rax, 0xc3e5e(%rip)     # 0xe5258
movq %rax, 0xc3e67(%rip)     # 0xe5268
movq %rax, 0xc3e58(%rip)     # 0xe5260
movq %rax, 0xc3e61(%rip)     # 0xe5270
callq 0x25f19
callq 0x2663f
callq 0x26d0f
callq 0x273df
callq 0x27b4d
movq 0xc3e29(%rip), %rbx     # 0xe5258
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x84c0b(%rip), %rsi     # 0xa604a
leaq 0x84c29(%rip), %rdx     # 0xa606f
leaq 0x8(%rsp), %rdi
callq 0xd0b8
xorl %esi, %esi
cmpq $0x3, %rbx
sete %sil
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0xbf0a
leaq 0x801e4(%rip), %rsi     # 0xa1654
leaq 0x28(%rsp), %rdi
callq 0x18a16
leaq 0x84b54(%rip), %rsi     # 0xa5fd5
movq %rax, %rdi
callq 0x23f9c
leaq 0x83e9a(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x214b7
movq %rbx, %rdi
addq $0x10, %rdi
movq 0xc3da6(%rip), %rsi     # 0xe5258
callq 0x2110
leaq 0x80196(%rip), %rsi     # 0xa1654
movq %rbx, %rdi
callq 0x18a16
leaq 0x8a67c(%rip), %rsi     # 0xabb49
movq %rax, %rdi
callq 0x18a16
leaq 0x83e4e(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x21501
movq %rbx, %rdi
addq $0x10, %rdi
movl $0x3, %esi
callq 0x22f0
leaq 0x96e61(%rip), %rsi     # 0xb8369
movq %rbx, %rdi
callq 0x18a16
leaq 0x28(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x21531
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq 0xc3d28(%rip), %rbx     # 0xe5260
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x84b01(%rip), %rsi     # 0xa6048
leaq 0x84b21(%rip), %rdx     # 0xa606f
callq 0xd0b8
xorl %esi, %esi
cmpq $0x3, %rbx
sete %sil
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0xbf0a
leaq 0x800e1(%rip), %rsi     # 0xa1654
leaq 0x28(%rsp), %rdi
callq 0x18a16
leaq 0x84a4f(%rip), %rsi     # 0xa5fd3
movq %rax, %rdi
callq 0x23fd4
leaq 0x83d97(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x215ba
movq %rbx, %rdi
addq $0x10, %rdi
movq 0xc3cab(%rip), %rsi     # 0xe5260
callq 0x2110
leaq 0x80093(%rip), %rsi     # 0xa1654
movq %rbx, %rdi
callq 0x18a16
leaq 0x8a579(%rip), %rsi     # 0xabb49
movq %rax, %rdi
callq 0x18a16
leaq 0x83d4b(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x21604
movq %rbx, %rdi
addq $0x10, %rdi
movl $0x3, %esi
callq 0x22f0
leaq 0x96d5e(%rip), %rsi     # 0xb8369
movq %rbx, %rdi
callq 0x18a16
leaq 0x28(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x21634
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r14
retq
jmp 0x21641
movq %rax, %rbx
jmp 0x21684
jmp 0x21651
jmp 0x21660
jmp 0x2164c
movq %rax, %rbx
jmp 0x2166d
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbf62
jmp 0x2166d
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x21684
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x2300
movq %rax, %rdi
callq 0xc036