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

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

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x240, %rsp            # imm = 0x240
leaq 0x80(%rsp), %rbx
pushq $0xa
popq %rsi
pushq $0x5
popq %rdx
movq %rbx, %rdi
callq 0x10754
movq %rbx, %rdi
callq 0x13ae7
movq 0x28(%rbx), %rax
leaq 0x60(%rsp), %r14
movq %rax, 0x10(%r14)
movups 0x18(%rbx), %xmm0
movaps %xmm0, (%r14)
movq 0x10(%rbx), %rax
leaq 0x40(%rsp), %r15
movq %rax, 0x10(%r15)
leaq 0xb0(%rsp), %r12
andq $0x0, (%r12)
movups (%rbx), %xmm0
movaps %xmm0, (%r15)
pushq $0xa
popq %r13
movq %r13, 0x8(%r12)
movq %r14, %rdi
movq %r12, %rsi
callq 0x3c7da
andq $0x0, (%r12)
movq $0x5, 0x8(%r12)
movq %r13, 0x10(%r12)
leaq 0xb0(%rsp), %rsi
movq %r15, %rdi
callq 0x3c2b4
movq 0x20(%rbx), %rbx
movq 0x8(%r14), %r14
leaq 0x39877(%rip), %rsi     # 0xaa1db
leaq 0x20(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x66a0
xorl %esi, %esi
cmpq %r14, %rbx
sete %sil
leaq 0xb0(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x6894
leaq 0x1ccb2(%rip), %rsi     # 0x8d647
leaq 0xb0(%rsp), %rdi
callq 0x106fe
leaq 0x3984a(%rip), %rsi     # 0xaa1f3
movq %rax, %rdi
callq 0x1079e
leaq 0x20c3a(%rip), %rsi     # 0x915f2
movq %rax, %rdi
callq 0x106fe
movq 0xa0(%rsp), %rcx
leaq 0x18(%rsp), %rsi
movq %rcx, (%rsi)
movq %rax, %rdi
callq 0x107ba
leaq 0x1cc68(%rip), %rsi     # 0x8d647
movq %rax, %rdi
callq 0x106fe
leaq 0x397fa(%rip), %rsi     # 0xaa1e8
movq %rax, %rdi
callq 0x107d8
leaq 0x20bf5(%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 0x34881(%rip), %rsi     # 0xa52a2
movq %rax, %rdi
callq 0x106fe
leaq 0xb0(%rsp), %rdi
callq 0x68d4
leaq 0x20(%rsp), %rdi
callq 0x2090
movq 0x88(%rsp), %rbx
movq 0x48(%rsp), %r14
leaq 0x397a9(%rip), %rsi     # 0xaa1fd
leaq 0x20(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x66a0
xorl %esi, %esi
cmpq %r14, %rbx
sete %sil
leaq 0xb0(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x6894
leaq 0x1cbc2(%rip), %rsi     # 0x8d647
leaq 0xb0(%rsp), %rdi
callq 0x106fe
leaq 0x3977d(%rip), %rsi     # 0xaa216
movq %rax, %rdi
callq 0x107d8
leaq 0x20b4a(%rip), %rsi     # 0x915f2
movq %rax, %rdi
callq 0x106fe
movq 0x88(%rsp), %rcx
leaq 0x18(%rsp), %rsi
movq %rcx, (%rsi)
movq %rax, %rdi
callq 0x107ba
leaq 0x1cb78(%rip), %rsi     # 0x8d647
movq %rax, %rdi
callq 0x106fe
leaq 0x39769(%rip), %rsi     # 0xaa247
movq %rax, %rdi
callq 0x107d8
leaq 0x20b05(%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 0x34791(%rip), %rsi     # 0xa52a2
movq %rax, %rdi
callq 0x106fe
leaq 0xb0(%rsp), %rdi
callq 0x68d4
leaq 0x20(%rsp), %rdi
callq 0x2090
movq 0xa0(%rsp), %rbx
movq 0x68(%rsp), %r14
leaq 0x396dd(%rip), %rsi     # 0xaa221
leaq 0x20(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x66a0
xorl %esi, %esi
cmpq %r14, %rbx
sete %sil
leaq 0xb0(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x6894
leaq 0x1cad2(%rip), %rsi     # 0x8d647
leaq 0xb0(%rsp), %rdi
callq 0x106fe
leaq 0x2998d(%rip), %rsi     # 0x9a516
movq %rax, %rdi
callq 0x118ac
leaq 0x20a5a(%rip), %rsi     # 0x915f2
movq %rax, %rdi
callq 0x106fe
movq 0xa0(%rsp), %rcx
leaq 0x18(%rsp), %rsi
movq %rcx, (%rsi)
movq %rax, %rdi
callq 0x107ba
leaq 0x1ca88(%rip), %rsi     # 0x8d647
movq %rax, %rdi
callq 0x106fe
leaq 0x3961a(%rip), %rsi     # 0xaa1e8
movq %rax, %rdi
callq 0x107d8
leaq 0x20a15(%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 0x346a1(%rip), %rsi     # 0xa52a2
movq %rax, %rdi
callq 0x106fe
leaq 0xb0(%rsp), %rdi
callq 0x68d4
leaq 0x20(%rsp), %rdi
callq 0x2090
movq 0x88(%rsp), %rbx
movq 0x48(%rsp), %r14
leaq 0x39604(%rip), %rsi     # 0xaa238
leaq 0x20(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x66a0
xorl %esi, %esi
cmpq %r14, %rbx
sete %sil
leaq 0xb0(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x6894
leaq 0x1c9e2(%rip), %rsi     # 0x8d647
leaq 0xb0(%rsp), %rdi
callq 0x106fe
leaq 0x298c3(%rip), %rsi     # 0x9a53c
movq %rax, %rdi
callq 0x46c4c
leaq 0x2096a(%rip), %rsi     # 0x915f2
movq %rax, %rdi
callq 0x106fe
movq 0x88(%rsp), %rcx
leaq 0x18(%rsp), %rsi
movq %rcx, (%rsi)
movq %rax, %rdi
callq 0x107ba
leaq 0x1c998(%rip), %rsi     # 0x8d647
movq %rax, %rdi
callq 0x106fe
leaq 0x39589(%rip), %rsi     # 0xaa247
movq %rax, %rdi
callq 0x107d8
leaq 0x20925(%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 0x345b1(%rip), %rsi     # 0xa52a2
movq %rax, %rdi
callq 0x106fe
leaq 0xb0(%rsp), %rdi
callq 0x68d4
leaq 0x20(%rsp), %rdi
callq 0x2090
addq $0x240, %rsp            # imm = 0x240
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x70d27
jmp 0x70d27
jmp 0x70d27
movq %rax, %rbx
jmp 0x70d97
jmp 0x70d47
jmp 0x70d3a
jmp 0x70d59
jmp 0x70d3a
jmp 0x70d6b
jmp 0x70d3a
jmp 0x70d7d
movq %rax, %rbx
jmp 0x70d8d
jmp 0x70d47
jmp 0x70d59
jmp 0x70d6b
jmp 0x70d7d
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x68d4
jmp 0x70d8d
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x68d4
jmp 0x70d8d
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x68d4
jmp 0x70d8d
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x68d4
leaq 0x20(%rsp), %rdi
callq 0x2090
movq %rbx, %rdi
callq 0x22f0
movq %rax, %rdi
callq 0x6bba