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

    if (!current_loop_data->empty()) {
      (*current_loop_data)["parent"] = std::move(*current_loop_data);
    }

    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.key)] = it.key();
      json_additional_data[static_cast<std::string>(node.value)] = it.value();

      (*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.key)].clear();
    json_additional_data[static_cast<std::string>(node.value)].clear();
    if (!(*current_loop_data)["parent"].empty()) {
      *current_loop_data = std::move((*current_loop_data)["parent"]);
    } 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 %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rsi), %rdx
leaq 0xa8(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x3baee
movq (%r15), %rax
cmpb $0x1, (%rax)
je 0x32aff
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2793c(%rip), %rsi     # 0x5a408
leaq 0x2794d(%rip), %rdx     # 0x5a420
movq %rsp, %rdi
callq 0x12646
movq %rsp, %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x36a62
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x32aff
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x93c0
movq 0x48(%rbx), %r15
movzbl (%r15), %eax
testl %eax, %eax
je 0x32bd1
cmpl $0x1, %eax
je 0x32b26
cmpl $0x2, %eax
jne 0x32b3a
movq 0x8(%r15), %rcx
movq (%rcx), %rdx
cmpq 0x8(%rcx), %rdx
jmp 0x32b2f
movq 0x8(%r15), %rcx
cmpq $0x0, 0x28(%rcx)
sete %cl
testb %cl, %cl
jne 0x32bd1
leaq 0xe8(%rsp), %r12
movb %al, (%r12)
movq 0x8(%r15), %rax
movq %rax, 0x8(%r12)
movq %r15, %rdi
callq 0x2450a
movb $0x0, (%r15)
movq $0x0, 0x8(%r15)
movq %r12, %rdi
callq 0x2450a
movq 0x48(%rbx), %rdi
leaq 0x2786d(%rip), %rsi     # 0x5a3e3
callq 0x2f702
movq %rax, %r15
leaq 0xf0(%rsp), %r12
leaq 0xe8(%rsp), %r13
movq %r13, %rdi
callq 0x2450a
movb (%r15), %al
movb (%r13), %cl
movb %cl, (%r15)
movb %al, (%r13)
movq 0x8(%r15), %rax
movq 0x8(%r13), %rcx
movq %rcx, 0x8(%r15)
movq %rax, 0x8(%r13)
movq %r15, %rdi
callq 0x2450a
movq %r13, %rdi
callq 0x2450a
movzbl (%r13), %esi
movq %r12, %rdi
callq 0x3c32c
leaq 0xd8(%rsp), %r15
movb $0x4, (%r15)
movq $0x1, 0x8(%r15)
movq %r15, %rdi
callq 0x2450a
movq %r15, %rdi
callq 0x2450a
movq 0x48(%rbx), %rdi
leaq 0x277ea(%rip), %rsi     # 0x5a3ea
callq 0x2f702
movq %rax, %r15
leaq 0xe0(%rsp), %r12
leaq 0xd8(%rsp), %r13
movq %r13, %rdi
callq 0x2450a
movb (%r15), %al
movb (%r13), %cl
movb %cl, (%r15)
movb %al, (%r13)
movq 0x8(%r15), %rax
movq 0x8(%r13), %rcx
movq %rcx, 0x8(%r15)
movq %rax, 0x8(%r13)
movq %r15, %rdi
callq 0x2450a
movq %r13, %rdi
callq 0x2450a
movzbl (%r13), %esi
movq %r12, %rdi
callq 0x3c32c
movq 0xa8(%rsp), %rcx
movzbl (%rcx), %eax
testl %eax, %eax
je 0x32c94
cmpl $0x1, %eax
je 0x32c85
cmpl $0x2, %eax
jne 0x32c8f
movq 0x8(%rcx), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
sarq $0x4, %rax
jmp 0x32c94
movq 0x8(%rcx), %rax
movq 0x28(%rax), %rax
jmp 0x32c94
movl $0x1, %eax
xorl %ecx, %ecx
cmpq $0x2, %rax
setb %cl
leaq 0xc8(%rsp), %r15
movb $0x4, (%r15)
movq %rcx, 0x8(%r15)
movq %r15, %rdi
callq 0x2450a
movq %r15, %rdi
callq 0x2450a
movq 0x48(%rbx), %rdi
leaq 0x2772b(%rip), %rsi     # 0x5a3f3
callq 0x2f702
movq %rax, %r15
leaq 0xd0(%rsp), %r12
leaq 0xc8(%rsp), %r13
movq %r13, %rdi
callq 0x2450a
movb (%r15), %al
movb (%r13), %cl
movb %cl, (%r15)
movb %al, (%r13)
movq 0x8(%r15), %rax
movq 0x8(%r13), %rcx
movq %rcx, 0x8(%r15)
movq %rax, 0x8(%r13)
movq %r15, %rdi
callq 0x2450a
movq %r13, %rdi
callq 0x2450a
movzbl (%r13), %esi
movq %r12, %rdi
callq 0x3c32c
movq 0xa8(%rsp), %rsi
movq %rsp, %rdi
callq 0xef96
leaq 0x38(%rbx), %rax
movq %rax, 0x20(%rsp)
leaq 0x38(%r14), %rax
movq %rax, 0xb8(%rsp)
xorl %r13d, %r13d
leaq 0x88(%rsp), %rbp
leaq 0x28(%rsp), %r15
movq %r14, 0xc0(%rsp)
movq 0xa8(%rsp), %rsi
movq %rbp, %rdi
callq 0xefe8
movq %rsp, %rdi
movq %rbp, %rsi
callq 0x3b528
testb %al, %al
jne 0x3318a
movq %rsp, %rdi
callq 0xf03a
leaq 0x78(%rsp), %rdi
movq %rax, %rsi
callq 0x3c0f8
leaq 0x98(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0x68(%r14), %rsi
movq 0x70(%r14), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x3c29c
movq 0x20(%rsp), %rdi
movq %rbp, %rsi
callq 0xee52
movq %rax, %r12
leaq 0x78(%rsp), %rdi
callq 0x2450a
movb (%r12), %al
movb 0x78(%rsp), %cl
movb %cl, (%r12)
movb %al, 0x78(%rsp)
movq 0x8(%r12), %rax
movq 0x80(%rsp), %rcx
movq %rcx, 0x8(%r12)
movq %rax, 0x80(%rsp)
movq %r12, %rdi
callq 0x2450a
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x32e2c
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x93c0
leaq 0x78(%rsp), %rdi
callq 0x2450a
movzbl 0x78(%rsp), %esi
leaq 0x80(%rsp), %rdi
callq 0x3c32c
movq %rsp, %rdi
callq 0x3a24e
leaq 0x68(%rsp), %rdi
movq %rax, %rsi
callq 0x2748e
leaq 0x98(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0x88(%r14), %rsi
movq 0x90(%r14), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x3c29c
movq 0x20(%rsp), %rdi
movq %rbp, %rsi
callq 0xee52
movq %rax, %r12
movq %r15, %rbp
leaq 0x68(%rsp), %rdi
callq 0x2450a
movb (%r12), %al
movb 0x68(%rsp), %cl
movb %cl, (%r12)
movb %al, 0x68(%rsp)
movq 0x8(%r12), %rax
movq 0x70(%rsp), %rcx
movq %rcx, 0x8(%r12)
movq %rax, 0x70(%rsp)
movq %r12, %rdi
callq 0x2450a
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x32ef4
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x93c0
leaq 0x68(%rsp), %rdi
callq 0x2450a
movzbl 0x68(%rsp), %esi
leaq 0x70(%rsp), %rdi
callq 0x3c32c
movb $0x6, 0x58(%rsp)
movq %r13, 0x60(%rsp)
leaq 0x58(%rsp), %r15
movq %r15, %rdi
callq 0x2450a
movq %r15, %rdi
callq 0x2450a
movq 0x48(%rbx), %rdi
leaq 0x274c4(%rip), %rsi     # 0x5a3fb
callq 0x2f702
movq %rax, %r12
movq %r15, %rdi
callq 0x2450a
movb (%r12), %al
movb 0x58(%rsp), %cl
movb %cl, (%r12)
movb %al, 0x58(%rsp)
movq 0x8(%r12), %rax
movq 0x60(%rsp), %rcx
movq %rcx, 0x8(%r12)
movq %rax, 0x60(%rsp)
movq %r12, %rdi
callq 0x2450a
movq %r15, %rdi
callq 0x2450a
movzbl 0x58(%rsp), %esi
leaq 0x60(%rsp), %rdi
callq 0x3c32c
incq %r13
movb $0x6, 0x28(%rsp)
movq %r13, 0x30(%rsp)
movq %rbp, %rdi
callq 0x2450a
movq %rbp, %rdi
callq 0x2450a
movq 0x48(%rbx), %rdi
leaq 0x2744f(%rip), %rsi     # 0x5a401
callq 0x2f702
movq %rax, %r12
movq %rbp, %rdi
callq 0x2450a
movb (%r12), %al
movb 0x28(%rsp), %cl
movb %cl, (%r12)
movb %al, 0x28(%rsp)
movq 0x8(%r12), %rax
movq 0x30(%rsp), %rcx
movq %rcx, 0x8(%r12)
movq %rax, 0x30(%rsp)
movq %r12, %rdi
callq 0x2450a
movq %rbp, %rdi
callq 0x2450a
movzbl 0x28(%rsp), %esi
leaq 0x30(%rsp), %rdi
callq 0x3c32c
decq %r13
cmpq $0x1, %r13
movq 0xc0(%rsp), %r14
leaq 0x88(%rsp), %rbp
jne 0x330a3
movq $0x0, 0x50(%rsp)
movb $0x4, 0x48(%rsp)
leaq 0x48(%rsp), %r15
movq %r15, %rdi
callq 0x2450a
movq %r15, %rdi
callq 0x2450a
movq 0x48(%rbx), %rdi
leaq 0x2739a(%rip), %rsi     # 0x5a3ea
callq 0x2f702
movq %rax, %r12
movq %r15, %rdi
callq 0x2450a
movb (%r12), %al
movb 0x48(%rsp), %cl
movb %cl, (%r12)
movb %al, 0x48(%rsp)
movq 0x8(%r12), %rax
movq 0x50(%rsp), %rcx
movq %rcx, 0x8(%r12)
movq %rax, 0x50(%rsp)
movq %r12, %rdi
callq 0x2450a
movq %r15, %rdi
callq 0x2450a
movzbl 0x48(%rsp), %esi
leaq 0x50(%rsp), %rdi
callq 0x3c32c
movq 0xa8(%rsp), %rcx
movzbl (%rcx), %eax
testl %eax, %eax
leaq 0x38(%rsp), %r15
je 0x330e1
cmpl $0x1, %eax
je 0x330d2
cmpl $0x2, %eax
jne 0x330dc
movq 0x8(%rcx), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
sarq $0x4, %rax
jmp 0x330e1
movq 0x8(%rcx), %rax
movq 0x28(%rax), %rax
jmp 0x330e1
movl $0x1, %eax
decq %rax
cmpq %rax, %r13
jne 0x33165
movb $0x4, 0x38(%rsp)
movq $0x1, 0x40(%rsp)
movq %r15, %rdi
callq 0x2450a
movq %r15, %rdi
callq 0x2450a
movq 0x48(%rbx), %rdi
leaq 0x272e1(%rip), %rsi     # 0x5a3f3
callq 0x2f702
movq %rax, %r12
movq %r15, %rdi
callq 0x2450a
movb (%r12), %al
movb 0x38(%rsp), %cl
movb %cl, (%r12)
movb %al, 0x38(%rsp)
movq 0x8(%r12), %rax
movq 0x40(%rsp), %rcx
movq %rcx, 0x8(%r12)
movq %rax, 0x40(%rsp)
movq %r12, %rdi
callq 0x2450a
movq %r15, %rdi
callq 0x2450a
movzbl 0x38(%rsp), %esi
leaq 0x40(%rsp), %rdi
callq 0x3c32c
movq (%rbx), %rax
movq %rbx, %rdi
movq 0xb8(%rsp), %rsi
callq *(%rax)
leaq 0x28(%rsp), %r15
incq %r13
movq %rsp, %rdi
callq 0xf116
jmp 0x32d60
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x68(%r14), %rsi
movq 0x70(%r14), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x3c29c
movq %rsp, %rsi
movq 0x20(%rsp), %rdi
callq 0xee52
movq %rax, %rdi
callq 0x3c020
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x331d1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x93c0
movq %rsp, %rdi
movq %r15, (%rdi)
movq 0x88(%r14), %rsi
movq 0x90(%r14), %rdx
addq %rsi, %rdx
callq 0x3c29c
movq %rsp, %rsi
movq 0x20(%rsp), %rdi
callq 0xee52
movq %rax, %rdi
callq 0x3c020
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x33218
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x93c0
movq 0x48(%rbx), %rdi
leaq 0x271c0(%rip), %rsi     # 0x5a3e3
callq 0x2f702
movzbl (%rax), %ecx
testl %ecx, %ecx
je 0x33256
cmpl $0x1, %ecx
je 0x33246
cmpl $0x2, %ecx
jne 0x33270
movq 0x8(%rax), %rax
movq (%rax), %rcx
cmpq 0x8(%rax), %rcx
jmp 0x3324f
movq 0x8(%rax), %rax
cmpq $0x0, 0x28(%rax)
sete %al
testb %al, %al
je 0x33270
leaq 0x265a2(%rip), %rsi     # 0x597ff
movq 0x20(%rsp), %rdi
callq 0x2f702
movq %rax, 0x48(%rbx)
jmp 0x332fe
movq 0x48(%rbx), %rdi
leaq 0x27168(%rip), %rsi     # 0x5a3e3
callq 0x2f702
movq %rax, %r15
movb (%rax), %al
leaq 0x100(%rsp), %r14
movb %al, -0x8(%r14)
movq 0x8(%r15), %rax
movq %rax, (%r14)
movq %r15, %rdi
callq 0x2450a
movb $0x0, (%r15)
movq $0x0, 0x8(%r15)
leaq 0xf8(%rsp), %r15
movq %r15, %rdi
callq 0x2450a
movq 0x48(%rbx), %rbx
movq %r15, %rdi
callq 0x2450a
movb (%rbx), %al
movb (%r15), %cl
movb %cl, (%rbx)
movb %al, (%r15)
movq 0x8(%rbx), %rax
movq 0x8(%r15), %rcx
movq %rcx, 0x8(%rbx)
movq %rax, 0x8(%r15)
movq %rbx, %rdi
callq 0x2450a
movq %r15, %rdi
callq 0x2450a
movzbl (%r15), %esi
movq %r14, %rdi
callq 0x3c32c
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x33310
callq 0xf9ae
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
jmp 0x3341d
jmp 0x33340
jmp 0x33426
jmp 0x33340
jmp 0x33426
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x33429
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x93c0
jmp 0x33429
jmp 0x33426
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
jmp 0x3341d
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
jmp 0x3341d
jmp 0x33426
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
jmp 0x3341d
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
jmp 0x3341d
movq %rax, %rbx
jmp 0x333d0
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x333d0
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x93c0
leaq 0x68(%rsp), %rdi
jmp 0x3341d
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
jmp 0x3341d
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
jmp 0x3341d
movq %rax, %rbx
jmp 0x33418
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x33418
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x93c0
leaq 0x78(%rsp), %rdi
callq 0xecf4
jmp 0x33429
jmp 0x33426
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x3343b
callq 0xf9ae
movq %rbx, %rdi
callq 0x9790
nop