// File: /workspace/github_cpp_makefile_star2_O3/ef-gy[P]libefgy/src/test-case/polytope.cpp
// Function: bool testPolytopeIteratorNotInfinite<efgy::geometry::parametric<float, 2ul, efgy::geometry::formula::plane>, 10000l, 1l>(std::ostream&)
bool testPolytopeIteratorNotInfinite(std::ostream &log) {
  auto params = geometry::parameters<float>();
  std::ostringstream os("");

  auto p = C(params, typename C::format());
  long c = 0;

  log << "iterating through '" << p.id() << "': ";

  for (auto &f : p) {
    auto t = f;
    if (c > lim) {
      log << "suspect infinite loop while iterating through a '" << p.id()
          << "': more than '" << lim << "' iterations.\n";
      return false;
    }
    os << "vector: [";
    for (auto &n : t) {
      os << " " << n;
    }
    os << " ]\n";
    c++;
  }

  if (c < min) {
    log << "not enough iterations while going through a '" << p.id()
        << "': want at least '" << min << "', but did: '" << c << "'\n";
    return false;
  }

  if (c != p.size()) {
    log << "wrong size() result for object type '" << p.id()
        << "'; object said it would have " << p.size()
        << " elements, but iterator gave us " << c << " elements.\n";
    return false;
  }

  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x388, %rsp            # imm = 0x388
movq %rdi, (%rsp)
leaq 0x1c8(%rsp), %rbx
movq %rbx, %rdi
callq 0x18462
leaq 0x28(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x1ca1e(%rip), %rdx     # 0x2426e
leaq 0x18(%rsp), %rdi
movq %rdx, %rsi
callq 0xeec2
leaq 0x210(%rsp), %rdi
leaq 0x18(%rsp), %rsi
movl $0x10, %edx
callq 0x4330
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x788b
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x4260
movq %rbx, 0x8(%rsp)
leaq 0x1d30d(%rip), %rsi     # 0x24ba4
movl $0x13, %edx
movq (%rsp), %rbx
movq %rbx, %rdi
callq 0x42c0
leaq 0x1d444(%rip), %rsi     # 0x24cf3
movl $0x5, %edx
movq %rbx, %rdi
callq 0x42c0
leaq 0x1d2f5(%rip), %rsi     # 0x24bb8
movl $0x3, %edx
movq %rbx, %rdi
callq 0x42c0
movq 0x8(%rsp), %rsi
leaq 0x18(%rsp), %rdi
callq 0x1dd92
leaq 0x110(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1d994
xorl %r14d, %r14d
leaq 0x18(%rsp), %r15
leaq 0x110(%rsp), %r12
leaq 0x210(%rsp), %rbx
leaq 0x1d245(%rip), %r13     # 0x24b55
movq %r15, %rdi
movq %r12, %rsi
callq 0x1e82a
movl %eax, %ebp
testb %al, %al
jne 0x7a2c
leaq 0xf0(%rsp), %rdi
movq %r15, %rsi
callq 0x1da70
movups 0xf0(%rsp), %xmm0
movups 0x100(%rsp), %xmm1
movaps %xmm1, 0xe0(%rsp)
movaps %xmm0, 0xd0(%rsp)
cmpq $0x2711, %r14           # imm = 0x2711
je 0x79c5
movl $0x9, %edx
movq %rbx, %rdi
leaq 0x1d29f(%rip), %rsi     # 0x24c0c
callq 0x42c0
xorl %ebp, %ebp
movl $0x1, %edx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x42c0
leaq (%rsp,%rbp), %rsi
addq $0xd0, %rsi
movq %rbx, %rdi
callq 0x185a2
addq $0x8, %rbp
cmpq $0x20, %rbp
jne 0x7974
movl $0x3, %edx
movq %rbx, %rdi
leaq 0x1d266(%rip), %rsi     # 0x24c16
callq 0x42c0
incq %r14
movq %r15, %rdi
callq 0x1db32
jmp 0x7910
leaq 0x1d1f0(%rip), %rsi     # 0x24bbc
movl $0x31, %edx
movq (%rsp), %rbx
movq %rbx, %rdi
callq 0x42c0
leaq 0x1d30f(%rip), %rsi     # 0x24cf3
movl $0x5, %edx
movq %rbx, %rdi
callq 0x42c0
leaq 0x1d1f6(%rip), %rsi     # 0x24bee
movl $0xe, %edx
movq %rbx, %rdi
callq 0x42c0
movl $0x2710, %esi           # imm = 0x2710
movq %rbx, %rdi
callq 0x4230
leaq 0x1d1e4(%rip), %rsi     # 0x24bfd
movl $0xe, %edx
movq %rax, %rdi
callq 0x42c0
movl $0x2711, %r14d          # imm = 0x2711
movq 0x1b0(%rsp), %rdi
testq %rdi, %rdi
je 0x7a49
movq 0x1c0(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0x160(%rsp), %rdi
testq %rdi, %rdi
je 0x7a66
movq 0x170(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0x140(%rsp), %rdi
testq %rdi, %rdi
je 0x7a83
movq 0x150(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0x128(%rsp), %rdi
testq %rdi, %rdi
je 0x7aa0
movq 0x138(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0x110(%rsp), %rdi
testq %rdi, %rdi
je 0x7abd
movq 0x120(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0x7ada
movq 0xc8(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x7af1
movq 0x78(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x7b08
movq 0x58(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x7b1f
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x7b36
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
testb %bpl, %bpl
je 0x7c64
testq %r14, %r14
je 0x7be2
leaq 0x8(%rsp), %rdi
callq 0x1dc1e
movb $0x1, %bl
cmpq %rax, %r14
je 0x7c66
leaq 0x1d108(%rip), %rsi     # 0x24c6c
movl $0x25, %edx
movq (%rsp), %rbx
movq %rbx, %rdi
callq 0x42c0
leaq 0x1d177(%rip), %rsi     # 0x24cf3
movl $0x5, %edx
movq %rbx, %rdi
callq 0x42c0
leaq 0x1d102(%rip), %rsi     # 0x24c92
movl $0x1d, %edx
movq %rbx, %rdi
callq 0x42c0
leaq 0x8(%rsp), %rdi
callq 0x1dc1e
movq %rbx, %rdi
movq %rax, %rsi
callq 0x41a0
movq %rax, %rbx
leaq 0x1d0f4(%rip), %rsi     # 0x24cb0
movl $0x20, %edx
movq %rax, %rdi
callq 0x42c0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4230
movl $0xb, %edx
leaq 0x1d0f1(%rip), %rsi     # 0x24cd1
jmp 0x7c5c
leaq 0x1d031(%rip), %rsi     # 0x24c1a
movl $0x2d, %edx
movq (%rsp), %rbx
movq %rbx, %rdi
callq 0x42c0
leaq 0x1d0f2(%rip), %rsi     # 0x24cf3
movl $0x5, %edx
movq %rbx, %rdi
callq 0x42c0
leaq 0x1d033(%rip), %rsi     # 0x24c48
movl $0x12, %edx
movq %rbx, %rdi
callq 0x42c0
movl $0x1, %esi
movq %rbx, %rdi
callq 0x4230
movq %rax, %rbx
leaq 0x1d022(%rip), %rsi     # 0x24c5b
movl $0xd, %edx
movq %rax, %rdi
callq 0x42c0
movq %rbx, %rdi
xorl %esi, %esi
callq 0x4230
movl $0x2, %edx
leaq 0x1d00d(%rip), %rsi     # 0x24c69
movq %rax, %rdi
callq 0x42c0
xorl %ebx, %ebx
movq 0x2a333(%rip), %rsi     # 0x31fa0
leaq 0x210(%rsp), %rdi
callq 0x4130
leaq 0x280(%rsp), %rdi
callq 0x4090
movq 0x1f8(%rsp), %rdi
testq %rdi, %rdi
je 0x7ca4
movq 0x208(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movl %ebx, %eax
addq $0x388, %rsp            # imm = 0x388
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x7cfd
jmp 0x7ce2
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x7d28
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x4260
jmp 0x7d28
movq %rax, %rbx
jmp 0x7d28
jmp 0x7ced
movq %rax, %rbx
jmp 0x7d07
jmp 0x7ced
jmp 0x7ced
jmp 0x7ced
movq %rax, %rbx
leaq 0x110(%rsp), %rdi
callq 0x1dba8
leaq 0x18(%rsp), %rdi
callq 0x1dba8
movq 0x2a292(%rip), %rsi     # 0x31fa0
leaq 0x210(%rsp), %rdi
callq 0x4130
leaq 0x280(%rsp), %rdi
callq 0x4090
movq 0x1f8(%rsp), %rdi
testq %rdi, %rdi
je 0x7d45
movq 0x208(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq %rbx, %rdi
callq 0x4400