// File: /workspace/github_cpp_makefile_star2_O1/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), %r14
movq %r14, %rdi
callq 0x18612
leaq 0x28(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1c841(%rip), %rdx     # 0x241ee
leaq 0x18(%rsp), %rdi
movq %rdx, %rsi
callq 0xf08e
leaq 0x210(%rsp), %rdi
leaq 0x18(%rsp), %rsi
movl $0x10, %edx
callq 0x4330
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x79e8
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x4260
movq %r14, 0x8(%rsp)
leaq 0x1d130(%rip), %rsi     # 0x24b24
movl $0x13, %edx
movq (%rsp), %rbx
movq %rbx, %rdi
callq 0x42c0
leaq 0x1d267(%rip), %rsi     # 0x24c73
movl $0x5, %edx
movq %rbx, %rdi
callq 0x42c0
leaq 0x1d118(%rip), %rsi     # 0x24b38
movl $0x3, %edx
movq %rbx, %rdi
callq 0x42c0
movq 0x8(%rsp), %rsi
leaq 0x18(%rsp), %rdi
callq 0x1dfae
leaq 0x110(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1db8c
xorl %r14d, %r14d
leaq 0x18(%rsp), %r15
leaq 0x210(%rsp), %r13
leaq 0x1d070(%rip), %r12     # 0x24ad5
movq %r15, %rdi
leaq 0x110(%rsp), %rsi
callq 0x1ea2a
movl %eax, %ebp
testb %al, %al
jne 0x7b95
leaq 0xf0(%rsp), %rdi
movq %r15, %rsi
callq 0x1dc78
movups 0xf0(%rsp), %xmm0
movups 0x100(%rsp), %xmm1
movaps %xmm1, 0xe0(%rsp)
movaps %xmm0, 0xd0(%rsp)
cmpq $0x2711, %r14           # imm = 0x2711
jge 0x7b15
movl $0x9, %edx
movq %r13, %rdi
leaq 0x1d0c5(%rip), %rsi     # 0x24b8c
callq 0x42c0
xorl %ebx, %ebx
movl $0x1, %edx
movq %r13, %rdi
movq %r12, %rsi
callq 0x42c0
leaq (%rsp,%rbx), %rsi
addq $0xd0, %rsi
movq %r13, %rdi
callq 0x18725
addq $0x8, %rbx
cmpq $0x20, %rbx
jne 0x7ace
movl $0x3, %edx
movq %r13, %rdi
leaq 0x1d08c(%rip), %rsi     # 0x24b96
callq 0x42c0
leaq 0x1(%r14), %rbx
jmp 0x7b79
movl $0x31, %edx
movq (%rsp), %rdi
leaq 0x1d017(%rip), %rsi     # 0x24b3c
callq 0x42c0
movl $0x5, %edx
movq (%rsp), %rdi
leaq 0x1d139(%rip), %rsi     # 0x24c73
callq 0x42c0
movl $0xe, %edx
movq (%rsp), %rdi
leaq 0x1d01f(%rip), %rsi     # 0x24b6e
callq 0x42c0
movl $0x2710, %esi           # imm = 0x2710
movq (%rsp), %rdi
callq 0x4230
movl $0xe, %edx
movq %rax, %rdi
leaq 0x1d00c(%rip), %rsi     # 0x24b7d
callq 0x42c0
movq %r14, %rbx
cmpq $0x2710, %r14           # imm = 0x2710
jg 0x7b92
movq %r15, %rdi
callq 0x1dd4e
movq %rbx, %r14
jmp 0x7a65
movq %rbx, %r14
movq 0x1b0(%rsp), %rdi
testq %rdi, %rdi
je 0x7bb2
movq 0x1c0(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0x160(%rsp), %rdi
testq %rdi, %rdi
je 0x7bcf
movq 0x170(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0x140(%rsp), %rdi
testq %rdi, %rdi
je 0x7bec
movq 0x150(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0x128(%rsp), %rdi
testq %rdi, %rdi
je 0x7c09
movq 0x138(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0x110(%rsp), %rdi
testq %rdi, %rdi
je 0x7c26
movq 0x120(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0x7c43
movq 0xc8(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x7c5a
movq 0x78(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x7c71
movq 0x58(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x7c88
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x7c9f
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
testb %bpl, %bpl
je 0x7dcf
testq %r14, %r14
jle 0x7d4c
leaq 0x8(%rsp), %rdi
callq 0x1de3a
movb $0x1, %bpl
cmpq %rax, %r14
je 0x7dd1
leaq 0x1cf1e(%rip), %rsi     # 0x24bec
movl $0x25, %edx
movq (%rsp), %rbx
movq %rbx, %rdi
callq 0x42c0
leaq 0x1cf8d(%rip), %rsi     # 0x24c73
movl $0x5, %edx
movq %rbx, %rdi
callq 0x42c0
leaq 0x1cf18(%rip), %rsi     # 0x24c12
movl $0x1d, %edx
movq %rbx, %rdi
callq 0x42c0
leaq 0x8(%rsp), %rdi
callq 0x1de3a
movq %rbx, %rdi
movq %rax, %rsi
callq 0x41a0
movq %rax, %rbx
leaq 0x1cf0a(%rip), %rsi     # 0x24c30
movl $0x20, %edx
movq %rax, %rdi
callq 0x42c0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4230
movl $0xb, %edx
leaq 0x1cf07(%rip), %rsi     # 0x24c51
jmp 0x7dc7
leaq 0x1ce47(%rip), %rsi     # 0x24b9a
movl $0x2d, %edx
movq (%rsp), %rbx
movq %rbx, %rdi
callq 0x42c0
leaq 0x1cf08(%rip), %rsi     # 0x24c73
movl $0x5, %edx
movq %rbx, %rdi
callq 0x42c0
leaq 0x1ce49(%rip), %rsi     # 0x24bc8
movl $0x12, %edx
movq %rbx, %rdi
callq 0x42c0
movl $0x1, %esi
movq %rbx, %rdi
callq 0x4230
movq %rax, %rbx
leaq 0x1ce38(%rip), %rsi     # 0x24bdb
movl $0xd, %edx
movq %rax, %rdi
callq 0x42c0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4230
movl $0x2, %edx
leaq 0x1ce22(%rip), %rsi     # 0x24be9
movq %rax, %rdi
callq 0x42c0
xorl %ebp, %ebp
movq 0x2a1c8(%rip), %rsi     # 0x31fa0
leaq 0x210(%rsp), %rdi
callq 0x4130
leaq 0x280(%rsp), %rdi
callq 0x4090
movq 0x1f8(%rsp), %rdi
testq %rdi, %rdi
je 0x7e0f
movq 0x208(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movl %ebp, %eax
addq $0x388, %rsp            # imm = 0x388
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x7e66
jmp 0x7e4b
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x7e91
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x4260
jmp 0x7e91
movq %rax, %rbx
jmp 0x7e91
movq %rax, %rbx
jmp 0x7e70
jmp 0x7e56
jmp 0x7e56
jmp 0x7e56
movq %rax, %rbx
leaq 0x110(%rsp), %rdi
callq 0x1ddc4
leaq 0x18(%rsp), %rdi
callq 0x1ddc4
movq 0x2a129(%rip), %rsi     # 0x31fa0
leaq 0x210(%rsp), %rdi
callq 0x4130
leaq 0x280(%rsp), %rdi
callq 0x4090
movq 0x1f8(%rsp), %rdi
testq %rdi, %rdi
je 0x7eae
movq 0x208(%rsp), %rsi
subq %rdi, %rsi
callq 0x4260
movq %rbx, %rdi
callq 0x4400