// File: /workspace/github_cpp_makefile_star2_O3/ef-gy[P]libefgy/src/test-case/factory.cpp
// Function: testGeometryFactory(std::ostream&)
bool testGeometryFactory(std::ostream &log) {
  std::cerr << "\n";
  model<float, functor::echo, cube, 7, 7, format::cartesian>::with(
      log, 5, 0, format::cartesian());

  std::set<const char *> models;
  models = with<float, functor::models, 7>(models, "*", 0, 0);

  bool haveCube = false;

  for (std::string m : models) {
    haveCube || (haveCube = (m == "cube"));
    std::cerr << m << "\n";
  }

  if (!haveCube) {
    log << "no cube model\n";
    return false;
  }

  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, %r15
movq 0x2754a(%rip), %rdi     # 0x2bff0
leaq 0x1a6f2(%rip), %rsi     # 0x1f19f
movl $0x1, %edx
callq 0x42a0
leaq 0x40(%rsp), %rsi
movq $0x5, (%rsi)
xorl %ebx, %ebx
leaq 0x20(%rsp), %rdx
movq %rbx, (%rdx)
leaq 0x10(%rsp), %rcx
movq %r15, %rdi
callq 0x5394
leaq 0x48(%rsp), %rax
movl $0x0, (%rax)
movq %rbx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rbx, 0x20(%rax)
leaq 0x30(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x1a615(%rip), %rsi     # 0x1f11a
leaq 0x1a60f(%rip), %rdx     # 0x1f11b
leaq 0x20(%rsp), %rdi
callq 0xa1de
xorl %eax, %eax
movq %rax, 0x10(%rsp)
movq %rax, 0x18(%rsp)
leaq 0x1a5f1(%rip), %rsi     # 0x1f11a
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
je 0x4b4c
leaq 0x1af9a(%rip), %rsi     # 0x1fad8
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
jne 0x4b65
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x18(%rsp), %rdx
leaq 0xf(%rsp), %rcx
callq 0x14fd2
leaq 0x1a5ae(%rip), %rsi     # 0x1f11a
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
je 0x4b8f
leaq 0x1a59b(%rip), %rsi     # 0x1f11c
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
jne 0x4ba8
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x18(%rsp), %rdx
leaq 0xf(%rsp), %rcx
callq 0x165e6
leaq 0x1a56b(%rip), %rsi     # 0x1f11a
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
je 0x4bd2
leaq 0x1af1a(%rip), %rsi     # 0x1fade
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
jne 0x4beb
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x18(%rsp), %rdx
leaq 0xf(%rsp), %rcx
callq 0x17ae8
leaq 0x1a528(%rip), %rsi     # 0x1f11a
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
je 0x4c15
leaq 0x1aee7(%rip), %rsi     # 0x1faee
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
jne 0x4c2e
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x18(%rsp), %rdx
leaq 0xf(%rsp), %rcx
callq 0x18994
leaq 0x1a4e5(%rip), %rsi     # 0x1f11a
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
je 0x4c58
leaq 0x1ae9b(%rip), %rsi     # 0x1fae5
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
jne 0x4c71
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x18(%rsp), %rdx
leaq 0xf(%rsp), %rcx
callq 0x18d50
leaq 0x1a4a2(%rip), %rsi     # 0x1f11a
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
je 0x4c9b
leaq 0x1ae67(%rip), %rsi     # 0x1faf4
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
jne 0x4cb4
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x18(%rsp), %rdx
leaq 0xf(%rsp), %rcx
callq 0x1902e
leaq 0x1a45f(%rip), %rsi     # 0x1f11a
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
je 0x4cde
leaq 0x1ae32(%rip), %rsi     # 0x1fb02
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
jne 0x4cf7
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x18(%rsp), %rdx
leaq 0xf(%rsp), %rcx
callq 0x193ea
leaq 0x1a41c(%rip), %rsi     # 0x1f11a
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
je 0x4d21
leaq 0x1adfb(%rip), %rsi     # 0x1fb0e
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
jne 0x4d3a
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x18(%rsp), %rdx
leaq 0xf(%rsp), %rcx
callq 0x197a6
leaq 0x1a3d9(%rip), %rsi     # 0x1f11a
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
je 0x4d64
leaq 0x1adc5(%rip), %rsi     # 0x1fb1b
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
jne 0x4d7d
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x18(%rsp), %rdx
leaq 0xf(%rsp), %rcx
callq 0x19a84
leaq 0x1a396(%rip), %rsi     # 0x1f11a
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
je 0x4da7
leaq 0x1ad90(%rip), %rsi     # 0x1fb29
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
jne 0x4dc0
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x18(%rsp), %rdx
leaq 0xf(%rsp), %rcx
callq 0x19e40
leaq 0x1a353(%rip), %rsi     # 0x1f11a
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
je 0x4dea
leaq 0x1ad5f(%rip), %rsi     # 0x1fb3b
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
jne 0x4e03
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x18(%rsp), %rdx
leaq 0xf(%rsp), %rcx
callq 0x1b342
leaq 0x1a310(%rip), %rsi     # 0x1f11a
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
je 0x4e2d
leaq 0x1b2a1(%rip), %rsi     # 0x200c0
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
jne 0x4e46
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x18(%rsp), %rdx
leaq 0xf(%rsp), %rcx
callq 0x1bd54
leaq 0x1a2cd(%rip), %rsi     # 0x1f11a
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
je 0x4e70
leaq 0x1b270(%rip), %rsi     # 0x200d2
leaq 0x20(%rsp), %rdi
callq 0x4070
testl %eax, %eax
jne 0x4e89
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x18(%rsp), %rdx
leaq 0xf(%rsp), %rcx
callq 0x1d256
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x4ea5
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x4240
movq 0x58(%rsp), %r14
leaq 0x48(%rsp), %rax
cmpq %rax, %r14
je 0x4f5f
movq %r15, 0x70(%rsp)
xorl %ebx, %ebx
leaq 0x20(%rsp), %r15
leaq 0x10(%rsp), %r12
movq 0x27120(%rip), %r13     # 0x2bff0
leaq 0x1a2c8(%rip), %rbp     # 0x1f19f
movq 0x20(%r14), %rsi
movq %r15, %rdi
movq %r12, %rdx
callq 0x50a8
testb $0x1, %bl
jne 0x4eff
movq %r15, %rdi
leaq 0x1a227(%rip), %rsi     # 0x1f11c
callq 0x4070
testl %eax, %eax
sete %bl
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq %r13, %rdi
callq 0x42a0
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x42a0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x4f3d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x4240
movq %r14, %rdi
callq 0x42c0
movq %rax, %r14
leaq 0x48(%rsp), %rax
cmpq %rax, %r14
jne 0x4ed7
movb $0x1, %bpl
testb $0x1, %bl
movq 0x70(%rsp), %r15
jne 0x4f75
leaq 0x1a1bb(%rip), %rsi     # 0x1f121
movl $0xe, %edx
movq %r15, %rdi
callq 0x42a0
xorl %ebp, %ebp
leaq 0x40(%rsp), %rdi
callq 0x1253c
movl %ebp, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4f96
jmp 0x4f96
jmp 0x4f9b
movq %rax, %rbx
jmp 0x4fba
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x4fba
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x4240
leaq 0x40(%rsp), %rdi
callq 0x1253c
movq %rbx, %rdi
callq 0x43b0