// File: /workspace/github_cpp_makefile_star2_O2/Falldog[P]dcinja/src/include/inja/inja.hpp
// Function: inja::Renderer::visit(inja::ForArrayStatementNode const&)
void visit(const ForArrayStatementNode& node) {
    auto result = eval_expression_list(node.condition);
    if (!result->is_array()) {
      throw_renderer_error("object must be an array", node);
    }

    if (!current_loop_data->empty()) {
      auto tmp = *current_loop_data; // Because of clang-3
      (*current_loop_data)["parent"] = std::move(tmp);
    }

    size_t index = 0;
    (*current_loop_data)["is_first"] = true;
    (*current_loop_data)["is_last"] = (result->size() <= 1);
    for (auto it = result->begin(); it != result->end(); ++it) {
      json_additional_data[static_cast<std::string>(node.value)] = *it;

      (*current_loop_data)["index"] = index;
      (*current_loop_data)["index1"] = index + 1;
      if (index == 1) {
        (*current_loop_data)["is_first"] = false;
      }
      if (index == result->size() - 1) {
        (*current_loop_data)["is_last"] = true;
      }

      node.body.accept(*this);
      ++index;
    }

    json_additional_data[static_cast<std::string>(node.value)].clear();
    if (!(*current_loop_data)["parent"].empty()) {
      auto tmp = (*current_loop_data)["parent"];
      *current_loop_data = std::move(tmp);
    } else {
      current_loop_data = &json_additional_data["loop"];
    }
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdi, %rbp
movq %rsi, %r15
leaq 0x10(%rsi), %rdx
leaq 0x38(%rsp), %r14
movq %r14, %rdi
movq %rbp, %rsi
callq 0x2fbba
movq (%r14), %rax
cmpb $0x2, (%rax)
je 0x27cbd
leaq 0x22a94(%rip), %rsi     # 0x4a728
leaq 0x10(%rsp), %rdi
leaq 0x68(%rsp), %rdx
callq 0xc0a4
leaq 0x10(%rsp), %rsi
movq %rbp, %rdi
movq %r15, %rdx
callq 0x2b03a
leaq 0x10(%rsp), %rdi
callq 0x9898
movq 0x48(%rbp), %rdi
callq 0x2bc62
testb %al, %al
jne 0x27d1f
movq 0x48(%rbp), %rsi
leaq 0x10(%rsp), %rdi
callq 0x1f4fc
leaq 0xa8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1f176
movq 0x48(%rbp), %rdi
leaq 0x22a4b(%rip), %rsi     # 0x4a740
callq 0x25fdc
leaq 0xa8(%rsp), %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0xceca
movq %r14, %rdi
callq 0xccf0
leaq 0x10(%rsp), %rdi
callq 0xccf0
andq $0x0, 0x8(%rsp)
leaq 0x10(%rsp), %rsi
movb $0x1, (%rsi)
leaq 0x98(%rsp), %rdi
callq 0x2bbe6
movq 0x48(%rbp), %rdi
leaq 0x22a02(%rip), %rsi     # 0x4a747
callq 0x25fdc
leaq 0x98(%rsp), %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0xceca
movq %r14, %rdi
callq 0xccf0
movq 0x38(%rsp), %rdi
callq 0x1f4ce
cmpq $0x2, %rax
leaq 0x10(%rsp), %rsi
setb (%rsi)
leaq 0x88(%rsp), %rdi
callq 0x2bbe6
movq 0x48(%rbp), %rdi
leaq 0x229bd(%rip), %rsi     # 0x4a750
callq 0x25fdc
leaq 0x88(%rsp), %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0xceca
movq %r14, %rdi
callq 0xccf0
movq 0x38(%rsp), %rsi
leaq 0x10(%rsp), %r13
movq %r13, %rdi
callq 0xcf0a
leaq 0x68(%r15), %rax
movq %rax, 0x48(%rsp)
leaq 0x38(%rbp), %rax
movq %rax, 0x30(%rsp)
addq $0x38, %r15
movq %r15, 0x50(%rsp)
leaq 0x68(%rsp), %r15
leaq 0x58(%rsp), %r14
leaq 0xe8(%rsp), %rbx
movq 0x38(%rsp), %rsi
movq %r15, %rdi
callq 0xcf3a
movq %r13, %rdi
movq %r15, %rsi
callq 0xcf30
testb %al, %al
je 0x27f99
movq %r13, %rdi
callq 0x2e71c
movq %r14, %rdi
movq %rax, %rsi
callq 0x1f4fc
movq %r15, %rdi
movq 0x48(%rsp), %rsi
callq 0x95f0
movq 0x30(%rsp), %rdi
movq %r15, %rsi
callq 0xcde4
movq %rax, %rdi
movq %r14, %rsi
callq 0xceca
movq %r15, %rdi
callq 0x9898
movq %r14, %rdi
callq 0xccf0
movq %rbx, %r12
movq %rbx, %rdi
leaq 0x8(%rsp), %rsi
callq 0x216dc
movq 0x48(%rbp), %rdi
leaq 0x228e3(%rip), %rsi     # 0x4a758
callq 0x25fdc
movq %r13, %r14
movq %rax, %rdi
movq %r12, %rsi
callq 0xceca
movq %r12, %rdi
callq 0xccf0
movq 0x8(%rsp), %rax
incq %rax
movq %rax, 0x68(%rsp)
leaq 0xd8(%rsp), %r13
movq %r13, %rdi
movq %r15, %r12
movq %r15, %rsi
callq 0x2cfba
movq 0x48(%rbp), %rdi
leaq 0x228a0(%rip), %rsi     # 0x4a75e
callq 0x25fdc
movq %rax, %rdi
movq %r13, %rsi
callq 0xceca
movq %r13, %rdi
callq 0xccf0
movq 0x8(%rsp), %r13
cmpq $0x1, %r13
jne 0x27f21
movb $0x0, 0x68(%rsp)
leaq 0xc8(%rsp), %r15
movq %r15, %rdi
movq %r12, %rsi
callq 0x2bbe6
movq 0x48(%rbp), %rdi
leaq 0x22843(%rip), %rsi     # 0x4a747
callq 0x25fdc
movq %rax, %rdi
movq %r15, %rsi
callq 0xceca
movq %r15, %rdi
callq 0xccf0
movq 0x8(%rsp), %r13
movq 0x38(%rsp), %rdi
callq 0x1f4ce
decq %rax
cmpq %rax, %r13
movq %r14, %r13
leaq 0x58(%rsp), %r14
movq %r12, %r15
leaq 0xb8(%rsp), %r12
jne 0x27f79
movb $0x1, 0x68(%rsp)
movq %r12, %rdi
movq %r15, %rsi
callq 0x2bbe6
movq 0x48(%rbp), %rdi
leaq 0x227ef(%rip), %rsi     # 0x4a750
callq 0x25fdc
movq %rax, %rdi
movq %r12, %rsi
callq 0xceca
movq %r12, %rdi
callq 0xccf0
movq (%rbp), %rax
movq %rbp, %rdi
movq 0x50(%rsp), %rsi
callq *(%rax)
incq 0x8(%rsp)
movq %r13, %rdi
callq 0xd01a
jmp 0x27df2
leaq 0x10(%rsp), %rdi
movq 0x48(%rsp), %rsi
callq 0x95f0
leaq 0x10(%rsp), %rsi
movq 0x30(%rsp), %rdi
callq 0xcde4
movq %rax, %rdi
callq 0x2ff8a
leaq 0x10(%rsp), %rdi
callq 0x9898
movq 0x48(%rbp), %rdi
leaq 0x2276c(%rip), %rsi     # 0x4a740
callq 0x25fdc
movq %rax, %rdi
callq 0x2bc62
testb %al, %al
je 0x27ffc
leaq 0x21958(%rip), %rsi     # 0x49944
movq 0x30(%rsp), %rdi
callq 0x25fdc
movq %rax, 0x48(%rbp)
jmp 0x2804d
movq 0x48(%rbp), %rdi
leaq 0x22739(%rip), %rsi     # 0x4a740
callq 0x25fdc
leaq 0x10(%rsp), %rdi
movq %rax, %rsi
callq 0x1f4fc
leaq 0xf8(%rsp), %r14
leaq 0x10(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x1f176
movq 0x48(%rbp), %rdi
movq %r14, %rsi
callq 0xceca
movq %r14, %rdi
callq 0xccf0
movq %r15, %rdi
callq 0xccf0
leaq 0x40(%rsp), %rdi
callq 0xd76e
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0xccf0
leaq 0x10(%rsp), %rdi
jmp 0x2810c
jmp 0x28115
jmp 0x28094
jmp 0x28115
jmp 0x28115
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x9898
jmp 0x28118
jmp 0x28115
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
jmp 0x2810c
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
jmp 0x2810c
jmp 0x28115
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
jmp 0x2810c
movq %rax, %rbx
leaq 0xb8(%rsp), %rdi
jmp 0x2810c
movq %rax, %rbx
jmp 0x280ed
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x9898
leaq 0x58(%rsp), %rdi
jmp 0x2810c
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
jmp 0x2810c
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0xccf0
jmp 0x28118
jmp 0x28115
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0xd76e
movq %rbx, %rdi
callq 0x97a0