// File: /workspace/github_cpp_makefile_star2_O2/dsharlet[P]array/test/shape.cpp
// Function: nda::test_make_dense_shape_3d_body()
TEST(make_dense_shape_3d) {
  dense_shape<3> s(10, 5, 20);
  s.resolve();
  auto x = s.x();
  auto y = s.y();
  auto z = s.z();
  assert_dim_eq(x, dense_dim<>(0, 10));
  assert_dim_eq(y, dim<>(0, 5, 10));
  assert_dim_eq(z, dim<>(0, 20, 50));

  ASSERT_EQ(s.width(), x.extent());
  ASSERT_EQ(s.height(), y.extent());
  ASSERT_EQ(s.channels(), z.extent());
  ASSERT_EQ(s.rows(), x.extent());
  ASSERT_EQ(s.columns(), y.extent());
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x268, %rsp            # imm = 0x268
leaq 0x78(%rsp), %rbx
pushq $0xa
popq %rsi
pushq $0x5
popq %rdx
pushq $0x14
popq %rcx
movq %rbx, %rdi
callq 0x10810
movq %rbx, %rdi
callq 0x6e6d
movq 0x40(%rbx), %rax
leaq 0x60(%rsp), %r14
movq %rax, 0x10(%r14)
movups 0x30(%rbx), %xmm0
movaps %xmm0, (%r14)
movq 0x28(%rbx), %rax
leaq 0x40(%rsp), %r15
movq %rax, 0x10(%r15)
movups 0x18(%rbx), %xmm0
movaps %xmm0, (%r15)
movq 0x10(%rbx), %rax
leaq 0xc0(%rsp), %r12
movq %rax, 0x10(%r12)
leaq 0xd8(%rsp), %r13
andq $0x0, (%r13)
movups (%rbx), %xmm0
movaps %xmm0, (%r12)
pushq $0xa
popq %rbp
movq %rbp, 0x8(%r13)
movq %r14, %rdi
movq %r13, %rsi
callq 0x3c7da
andq $0x0, (%r13)
movq $0x5, 0x8(%r13)
movq %rbp, 0x10(%r13)
leaq 0xd8(%rsp), %r13
movq %r15, %rdi
movq %r13, %rsi
callq 0x3c2b4
andq $0x0, (%r13)
movq $0x14, 0x8(%r13)
movq $0x32, 0x10(%r13)
leaq 0xd8(%rsp), %rsi
movq %r12, %rdi
callq 0x3c2b4
movq 0x38(%rbx), %rbx
movq 0x8(%r14), %r14
leaq 0x3934b(%rip), %rsi     # 0xaa1db
leaq 0x20(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x66a0
xorl %esi, %esi
cmpq %r14, %rbx
sete %sil
leaq 0xd8(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x6894
leaq 0x1c786(%rip), %rsi     # 0x8d647
leaq 0xd8(%rsp), %rdi
callq 0x106fe
leaq 0x3931e(%rip), %rsi     # 0xaa1f3
movq %rax, %rdi
callq 0x1079e
leaq 0x2070e(%rip), %rsi     # 0x915f2
movq %rax, %rdi
callq 0x106fe
movq 0xb0(%rsp), %rcx
leaq 0x18(%rsp), %rsi
movq %rcx, (%rsi)
movq %rax, %rdi
callq 0x107ba
leaq 0x1c73c(%rip), %rsi     # 0x8d647
movq %rax, %rdi
callq 0x106fe
leaq 0x392ce(%rip), %rsi     # 0xaa1e8
movq %rax, %rdi
callq 0x107d8
leaq 0x206c9(%rip), %rsi     # 0x915f2
movq %rax, %rdi
callq 0x106fe
movq 0x68(%rsp), %rcx
leaq 0x10(%rsp), %rsi
movq %rcx, (%rsi)
movq %rax, %rdi
callq 0x107ba
leaq 0x34355(%rip), %rsi     # 0xa52a2
movq %rax, %rdi
callq 0x106fe
leaq 0xd8(%rsp), %rdi
callq 0x68d4
leaq 0x20(%rsp), %rdi
callq 0x2090
movq 0x98(%rsp), %rbx
movq 0x48(%rsp), %r14
leaq 0x3927d(%rip), %rsi     # 0xaa1fd
leaq 0x20(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x66a0
xorl %esi, %esi
cmpq %r14, %rbx
sete %sil
leaq 0xd8(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x6894
leaq 0x1c696(%rip), %rsi     # 0x8d647
leaq 0xd8(%rsp), %rdi
callq 0x106fe
leaq 0x39251(%rip), %rsi     # 0xaa216
movq %rax, %rdi
callq 0x107d8
leaq 0x2061e(%rip), %rsi     # 0x915f2
movq %rax, %rdi
callq 0x106fe
movq 0x98(%rsp), %rcx
leaq 0x18(%rsp), %rsi
movq %rcx, (%rsi)
movq %rax, %rdi
callq 0x107ba
leaq 0x1c64c(%rip), %rsi     # 0x8d647
movq %rax, %rdi
callq 0x106fe
leaq 0x3923d(%rip), %rsi     # 0xaa247
movq %rax, %rdi
callq 0x107d8
leaq 0x205d9(%rip), %rsi     # 0x915f2
movq %rax, %rdi
callq 0x106fe
movq 0x48(%rsp), %rcx
leaq 0x10(%rsp), %rsi
movq %rcx, (%rsi)
movq %rax, %rdi
callq 0x107ba
leaq 0x34265(%rip), %rsi     # 0xa52a2
movq %rax, %rdi
callq 0x106fe
leaq 0xd8(%rsp), %rdi
callq 0x68d4
leaq 0x20(%rsp), %rdi
callq 0x2090
movq 0x80(%rsp), %rbx
movq 0xc8(%rsp), %r14
leaq 0x391f3(%rip), %rsi     # 0xaa266
leaq 0x20(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x66a0
xorl %esi, %esi
cmpq %r14, %rbx
sete %sil
leaq 0xd8(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x6894
leaq 0x1c5a3(%rip), %rsi     # 0x8d647
leaq 0xd8(%rsp), %rdi
callq 0x106fe
leaq 0x391c9(%rip), %rsi     # 0xaa281
movq %rax, %rdi
callq 0x1082e
leaq 0x2052b(%rip), %rsi     # 0x915f2
movq %rax, %rdi
callq 0x106fe
movq 0x80(%rsp), %rcx
leaq 0x18(%rsp), %rsi
movq %rcx, (%rsi)
movq %rax, %rdi
callq 0x107ba
leaq 0x1c559(%rip), %rsi     # 0x8d647
movq %rax, %rdi
callq 0x106fe
leaq 0x39179(%rip), %rsi     # 0xaa276
movq %rax, %rdi
callq 0x107d8
leaq 0x204e6(%rip), %rsi     # 0x915f2
movq %rax, %rdi
callq 0x106fe
movq 0xc8(%rsp), %rcx
leaq 0x10(%rsp), %rsi
movq %rcx, (%rsi)
movq %rax, %rdi
callq 0x107ba
leaq 0x3416f(%rip), %rsi     # 0xa52a2
movq %rax, %rdi
callq 0x106fe
leaq 0xd8(%rsp), %rdi
callq 0x68d4
leaq 0x20(%rsp), %rdi
callq 0x2090
movq 0xb0(%rsp), %rbx
movq 0x68(%rsp), %r14
leaq 0x390bb(%rip), %rsi     # 0xaa221
leaq 0x20(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x66a0
xorl %esi, %esi
cmpq %r14, %rbx
sete %sil
leaq 0xd8(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x6894
leaq 0x1c4b0(%rip), %rsi     # 0x8d647
leaq 0xd8(%rsp), %rdi
callq 0x106fe
leaq 0x2936b(%rip), %rsi     # 0x9a516
movq %rax, %rdi
callq 0x118ac
leaq 0x20438(%rip), %rsi     # 0x915f2
movq %rax, %rdi
callq 0x106fe
movq 0xb0(%rsp), %rcx
leaq 0x18(%rsp), %rsi
movq %rcx, (%rsi)
movq %rax, %rdi
callq 0x107ba
leaq 0x1c466(%rip), %rsi     # 0x8d647
movq %rax, %rdi
callq 0x106fe
leaq 0x38ff8(%rip), %rsi     # 0xaa1e8
movq %rax, %rdi
callq 0x107d8
leaq 0x203f3(%rip), %rsi     # 0x915f2
movq %rax, %rdi
callq 0x106fe
movq 0x68(%rsp), %rcx
leaq 0x10(%rsp), %rsi
movq %rcx, (%rsi)
movq %rax, %rdi
callq 0x107ba
leaq 0x3407f(%rip), %rsi     # 0xa52a2
movq %rax, %rdi
callq 0x106fe
leaq 0xd8(%rsp), %rdi
callq 0x68d4
leaq 0x20(%rsp), %rdi
callq 0x2090
movq 0x98(%rsp), %rbx
movq 0x48(%rsp), %r14
leaq 0x38fe2(%rip), %rsi     # 0xaa238
leaq 0x20(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x66a0
xorl %esi, %esi
cmpq %r14, %rbx
sete %sil
leaq 0xd8(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x6894
leaq 0x1c3c0(%rip), %rsi     # 0x8d647
leaq 0xd8(%rsp), %rdi
callq 0x106fe
leaq 0x292a1(%rip), %rsi     # 0x9a53c
movq %rax, %rdi
callq 0x46c4c
leaq 0x20348(%rip), %rsi     # 0x915f2
movq %rax, %rdi
callq 0x106fe
movq 0x98(%rsp), %rcx
leaq 0x18(%rsp), %rsi
movq %rcx, (%rsi)
movq %rax, %rdi
callq 0x107ba
leaq 0x1c376(%rip), %rsi     # 0x8d647
movq %rax, %rdi
callq 0x106fe
leaq 0x38f67(%rip), %rsi     # 0xaa247
movq %rax, %rdi
callq 0x107d8
leaq 0x20303(%rip), %rsi     # 0x915f2
movq %rax, %rdi
callq 0x106fe
movq 0x48(%rsp), %rcx
leaq 0x10(%rsp), %rsi
movq %rcx, (%rsi)
movq %rax, %rdi
callq 0x107ba
leaq 0x33f8f(%rip), %rsi     # 0xa52a2
movq %rax, %rdi
callq 0x106fe
leaq 0xd8(%rsp), %rdi
callq 0x68d4
leaq 0x20(%rsp), %rdi
callq 0x2090
addq $0x268, %rsp            # imm = 0x268
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x7134c
jmp 0x7134c
jmp 0x7134c
jmp 0x7134c
movq %rax, %rbx
jmp 0x713d7
jmp 0x71375
jmp 0x71366
jmp 0x71387
jmp 0x71366
jmp 0x71399
jmp 0x71366
jmp 0x713ab
jmp 0x71366
jmp 0x713bd
movq %rax, %rbx
jmp 0x713cd
jmp 0x71375
jmp 0x71387
jmp 0x71399
jmp 0x713ab
jmp 0x713bd
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0x68d4
jmp 0x713cd
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0x68d4
jmp 0x713cd
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0x68d4
jmp 0x713cd
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0x68d4
jmp 0x713cd
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0x68d4
leaq 0x20(%rsp), %rdi
callq 0x2090
movq %rbx, %rdi
callq 0x22f0
movq %rax, %rdi
callq 0x6bba