// File: /workspace/github_cpp_makefile_star2_O2/Nallantli[P]Rossa/main/rossa/instruction/instruction.cpp
// Function: EachI::evaluate(object_t const*, std::vector<std::pair<token_t, function_t>, std::allocator<std::pair<token_t, function_t>>>&) const
const symbol_t EachI::evaluate(const object_t *scope, trace_t &stack_trace) const
{
	const std::vector<symbol_t> evalFor = eachs->evaluate(scope, stack_trace).getVector(&token, stack_trace);
	std::vector<symbol_t> list;
	for (const symbol_t &e : evalFor)
	{
		const object_t newScope(scope, 0);
		newScope.createVariable(id, e, &token);
		symbol_t r = e;
		if (wheres)
		{
			auto check = wheres->evaluate(&newScope, stack_trace);
			if (!check.getBool(&token, stack_trace))
				continue;
		}
		if (body)
		{
			r = body->evaluate(&newScope, stack_trace);
			if (r.getSymbolType() == symbol_t::type_t::ID_REFER)
			{
				r.setSymbolType(symbol_t::type_t::ID_CASUAL);
			}
		}
		list.push_back(r);
	}
	return symbol_t::Array(list);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rcx, %r13
movq %rsi, %r14
movq %rdi, 0x40(%rsp)
movq 0x98(%rsi), %rsi
movq (%rsi), %rax
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
movq %rdx, 0x50(%rsp)
callq *(%rax)
movq %r14, 0x8(%rsp)
leaq 0x8(%r14), %r12
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x39a02
leaq 0x70(%rsp), %rdi
movq %rax, %rsi
callq 0x3bbc0
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0x39102
andq $0x0, 0x10(%rbx)
xorps %xmm0, %xmm0
movaps %xmm0, (%rbx)
movq 0x70(%rsp), %rbx
movq 0x78(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0x8(%rsp), %rax
addq $0x90, %rax
movq %rax, 0x48(%rsp)
leaq 0x88(%rsp), %rbp
leaq 0x60(%rsp), %r14
cmpq 0x58(%rsp), %rbx
je 0x6bd37
andq $0x0, 0x88(%rsp)
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq 0x50(%rsp), %rsi
movq %rbp, %rdx
callq 0x36228
movq %r15, %rdi
movq 0x48(%rsp), %rsi
movq %rbx, %rdx
movq %r12, %rcx
callq 0x366fc
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x390f0
movq 0x8(%rsp), %rax
movq 0xa8(%rax), %rsi
testq %rsi, %rsi
je 0x6bcbb
movq (%rsi), %rax
movq %r14, %rdi
leaq 0x10(%rsp), %rdx
movq %r13, %rcx
callq *(%rax)
movq %r14, %rdi
movq %r12, %r15
movq %r12, %rsi
movq %r13, %r12
movq %r13, %rdx
callq 0x39b5c
movl %eax, %r13d
movq %r14, %rdi
callq 0x39102
testb %r13b, %r13b
movq %r12, %r13
movq %r15, %r12
je 0x6bd1c
movq 0x8(%rsp), %rax
movq 0xb8(%rax), %rsi
testq %rsi, %rsi
je 0x6bd0f
movq (%rsi), %rax
movq %r14, %rdi
leaq 0x10(%rsp), %rdx
movq %r13, %rcx
callq *(%rax)
movq %rbp, %rdi
movq %r14, %rsi
callq 0x39122
movq %r14, %rdi
callq 0x39102
movq %rbp, %rdi
callq 0x39682
cmpl $0x4, %eax
jne 0x6bd0f
movl $0x3, 0x60(%rsp)
movq %rbp, %rdi
movq %r14, %rsi
callq 0x39686
leaq 0x20(%rsp), %rdi
movq %rbp, %rsi
callq 0x1f00a
movq %rbp, %rdi
callq 0x39102
leaq 0x10(%rsp), %rdi
callq 0x363f2
addq $0x10, %rbx
jmp 0x6bc29
leaq 0x20(%rsp), %rsi
movq 0x40(%rsp), %rbx
movq %rbx, %rdi
callq 0x3909c
leaq 0x20(%rsp), %rdi
callq 0x1f0b8
leaq 0x70(%rsp), %rdi
callq 0x1f0b8
movq %rbx, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x6bd9a
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x39102
jmp 0x6bdd4
jmp 0x6bda6
jmp 0x6bda6
jmp 0x6bd8b
jmp 0x6bda6
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x39102
jmp 0x6bda9
movq %rax, %rbx
jmp 0x6bdc0
jmp 0x6bda1
movq %rax, %rbx
jmp 0x6bdb6
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0x39102
leaq 0x10(%rsp), %rdi
callq 0x363f2
leaq 0x20(%rsp), %rdi
callq 0x1f0b8
leaq 0x70(%rsp), %rdi
callq 0x1f0b8
movq %rbx, %rdi
callq 0x106f0