// File: /workspace/github_cpp_makefile_star2_O3/dsharlet[P]array/test/array_lifetime.cpp
// Function: nda::test_array_copy_init_lifetime_body()
TEST(array_copy_init_lifetime) {
  movable_custom_alloc::reset_lifetime_counters();
  immovable_custom_alloc::reset_lifetime_counters();
  test_copy_init_lifetime<std_alloc>();
  test_copy_init_lifetime<movable_custom_alloc>();
  test_copy_init_lifetime<immovable_custom_alloc>();
  test_copy_init_lifetime<auto_alloc_big>();
  test_copy_init_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, 0xc56fb(%rip)     # 0xe7258
movq %rax, 0xc5704(%rip)     # 0xe7268
movq %rax, 0xc56f5(%rip)     # 0xe7260
movq %rax, 0xc56fe(%rip)     # 0xe7270
callq 0x258c0
callq 0x25c06
callq 0x25f4a
callq 0x2628e
callq 0x265d4
movq 0xc56c6(%rip), %rbx     # 0xe7258
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x8621b(%rip), %rsi     # 0xa7dbd
leaq 0x86239(%rip), %rdx     # 0xa7de2
leaq 0x8(%rsp), %rdi
callq 0xd14c
xorl %esi, %esi
cmpq $0x1, %rbx
sete %sil
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0xbf80
leaq 0x81ab1(%rip), %rsi     # 0xa3684
leaq 0x28(%rsp), %rdi
callq 0x18fba
leaq 0x86201(%rip), %rsi     # 0xa7de5
movq %rax, %rdi
callq 0x249ac
leaq 0x85663(%rip), %rsi     # 0xa7256
movq %rax, %rdi
callq 0x18fba
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x21c1a
movq %rbx, %rdi
addq $0x10, %rdi
movq 0xc5643(%rip), %rsi     # 0xe7258
callq 0x2110
leaq 0x81a63(%rip), %rsi     # 0xa3684
movq %rbx, %rdi
callq 0x18fba
leaq 0x88b3c(%rip), %rsi     # 0xaa76c
movq %rax, %rdi
callq 0x18fba
leaq 0x85617(%rip), %rsi     # 0xa7256
movq %rax, %rdi
callq 0x18fba
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x21c64
movq %rbx, %rdi
addq $0x10, %rdi
movl $0x1, %esi
callq 0x22f0
leaq 0x9862e(%rip), %rsi     # 0xba299
movq %rbx, %rdi
callq 0x18fba
leaq 0x28(%rsp), %rdi
callq 0xbfd8
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x21c94
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq 0xc55c5(%rip), %rbx     # 0xe7260
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x86111(%rip), %rsi     # 0xa7dbb
leaq 0x86131(%rip), %rdx     # 0xa7de2
callq 0xd14c
xorl %esi, %esi
cmpq $0x1, %rbx
sete %sil
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0xbf80
leaq 0x819ae(%rip), %rsi     # 0xa3684
leaq 0x28(%rsp), %rdi
callq 0x18fba
leaq 0x860fc(%rip), %rsi     # 0xa7de3
movq %rax, %rdi
callq 0x249e4
leaq 0x85560(%rip), %rsi     # 0xa7256
movq %rax, %rdi
callq 0x18fba
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x21d1d
movq %rbx, %rdi
addq $0x10, %rdi
movq 0xc5548(%rip), %rsi     # 0xe7260
callq 0x2110
leaq 0x81960(%rip), %rsi     # 0xa3684
movq %rbx, %rdi
callq 0x18fba
leaq 0x88a39(%rip), %rsi     # 0xaa76c
movq %rax, %rdi
callq 0x18fba
leaq 0x85514(%rip), %rsi     # 0xa7256
movq %rax, %rdi
callq 0x18fba
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x21d67
movq %rbx, %rdi
addq $0x10, %rdi
movl $0x1, %esi
callq 0x22f0
leaq 0x9852b(%rip), %rsi     # 0xba299
movq %rbx, %rdi
callq 0x18fba
leaq 0x28(%rsp), %rdi
callq 0xbfd8
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x21d97
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r14
retq
jmp 0x21da4
movq %rax, %rbx
jmp 0x21de7
jmp 0x21db4
jmp 0x21dc3
jmp 0x21daf
movq %rax, %rbx
jmp 0x21dd0
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbfd8
jmp 0x21dd0
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbfd8
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x21de7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x2300
movq %rax, %rdi
callq 0xc0a9