// File: /workspace/github_cpp_makefile_star2_O1/Nallantli[P]Rossa/main/rossa/operation/operation.cpp
// Function: operation::untilstep_inclusive(object_t const*, symbol_t const&, symbol_t const&, symbol_t const&, token_t const*, std::vector<std::pair<token_t, function_t>, std::allocator<std::pair<token_t, function_t>>>&)
const symbol_t operation::untilstep_inclusive(const object_t *scope, const symbol_t &evalA, const symbol_t &evalB, const symbol_t &step, const token_t *token, trace_t &stack_trace)
{
	switch (COMP(evalA.getValueType(), evalB.getValueType()))
	{
	case COMP(value_type_enum::NUMBER, value_type_enum::NUMBER):
	{
		number_t numA = evalA.getNumber(token, stack_trace);
		const number_t &numB = evalB.getNumber(token, stack_trace);
		const number_t &numStep = step.getNumber(token, stack_trace);
		std::vector<symbol_t> nv;
		for (; numA <= numB; numA += numStep)
		{
			nv.push_back(symbol_t::Number(numA));
		}
		return symbol_t::Array(nv);
	}
	case value_type_enum::OBJECT:
	{
		const auto &o = evalA.getObject(token, stack_trace);
		if (o->hasValue(parser_t::HASH_RANGE_INC))
			return o->getVariable(parser_t::HASH_RANGE_INC, token, stack_trace).call({evalB, step}, token, stack_trace);
	}
	default:
		if (scope != NULL)
			return scope->getVariable(parser_t::HASH_RANGE_INC, token, stack_trace).call({evalA, evalB, step}, token, stack_trace);
	}

	throw rossa_error_t(util::format(_UNDECLARED_OPERATOR_ERROR_, {"<>"}), *token, stack_trace);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %r9, %r14
movq %r8, %r13
movq %rcx, %r12
movq %rdx, %rbp
movq %rsi, %r15
movq %rdi, 0x10(%rsp)
movq %rdx, %rdi
callq 0x41262
movl $0xfffffff8, %ecx       # imm = 0xFFFFFFF8
cmpl $-0x8, %eax
je 0x7a4dd
movq %rbp, %rdi
callq 0x41262
movl %eax, %ebx
shll $0x18, %ebx
negl %ebx
sarl $0x14, %ebx
movq %r12, %rdi
callq 0x41262
negb %al
movsbl %al, %ecx
orl %ebx, %ecx
movq %r12, 0x18(%rsp)
movq 0xf0(%rsp), %r12
cmpl $-0x8, %ecx
je 0x7a5be
cmpl $0x22, %ecx
jne 0x7a6a5
movq %rbp, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x40b0c
movups (%rax), %xmm0
leaq 0x50(%rsp), %rbx
movaps %xmm0, (%rbx)
movq 0x18(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x40b0c
movq %rax, %r15
movq %r13, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x40b0c
movq %rax, %r14
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
movq $0x0, 0x30(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4800a
testb %al, %al
je 0x7a5a0
leaq 0x78(%rsp), %rbx
leaq 0x50(%rsp), %r12
leaq 0x20(%rsp), %r13
movq %rbx, %rdi
movq %r12, %rsi
callq 0x40458
movq %r13, %rdi
movq %rbx, %rsi
callq 0x209ac
movq %rbx, %rdi
callq 0x404da
movq %r12, %rdi
movq %r14, %rsi
callq 0x478a8
movq %r12, %rdi
movq %r15, %rsi
callq 0x4800a
testb %al, %al
jne 0x7a568
leaq 0x20(%rsp), %rsi
movq 0x10(%rsp), %rdi
callq 0x40474
leaq 0x20(%rsp), %rdi
callq 0x20a84
jmp 0x7a75c
movq %rbp, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x411a4
movq %rax, %rbx
leaq 0x3d40a(%rip), %rsi     # 0xb79e0
movq %rax, %rdi
callq 0x3d498
testb %al, %al
je 0x7a6a5
movb %al, 0x6(%rsp)
leaq 0x3d3ef(%rip), %rsi     # 0xb79e0
movq %rbx, %rdi
movq %r14, 0x8(%rsp)
movq %r14, %rdx
movq %r12, %r14
movq %r12, %rcx
callq 0x3d502
movq %rax, 0x98(%rsp)
leaq 0x20(%rsp), %rbx
movq %rbx, %r12
movq %rbx, %rdi
movq 0x18(%rsp), %rsi
callq 0x404c8
leaq 0x30(%rsp), %r12
movq %r12, %rdi
movq %r13, %rsi
callq 0x404c8
leaq 0x50(%rsp), %rdi
leaq 0x20(%rsp), %rsi
leaq 0x78(%rsp), %rcx
movl $0x2, %edx
callq 0x43e3c
leaq 0x50(%rsp), %rdx
movq 0x10(%rsp), %rdi
movq 0x98(%rsp), %rsi
movq 0x8(%rsp), %rcx
movq %r14, %r12
movq %r14, %r8
callq 0x42736
leaq 0x50(%rsp), %rdi
callq 0x20a84
movl $0x10, %ebx
leaq (%rsp,%rbx), %rdi
addq $0x20, %rdi
callq 0x404da
addq $-0x10, %rbx
cmpq $-0x10, %rbx
jne 0x7a67e
cmpb $0x0, 0x6(%rsp)
movq 0x8(%rsp), %r14
jne 0x7a75c
testq %r15, %r15
je 0x7a773
leaq 0x3d32b(%rip), %rsi     # 0xb79e0
movq %r15, %rdi
movq %r14, 0x8(%rsp)
movq %r14, %rdx
movq %r12, %r14
movq %r12, %rcx
callq 0x3d502
movq %rax, %r15
leaq 0x20(%rsp), %r12
movq %r12, %rbx
movq %r12, %rdi
movq %rbp, %rsi
callq 0x404c8
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
movq 0x18(%rsp), %rsi
callq 0x404c8
leaq 0x40(%rsp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x404c8
leaq 0x50(%rsp), %rdi
leaq 0x20(%rsp), %rsi
leaq 0x78(%rsp), %rcx
movl $0x3, %edx
callq 0x43e3c
leaq 0x50(%rsp), %rdx
movq 0x10(%rsp), %rdi
movq %r15, %rsi
movq 0x8(%rsp), %rcx
movq %r14, %r8
callq 0x42736
leaq 0x50(%rsp), %rdi
callq 0x20a84
movl $0x20, %ebx
leaq (%rsp,%rbx), %rdi
addq $0x20, %rdi
callq 0x404da
addq $-0x10, %rbx
cmpq $-0x10, %rbx
jne 0x7a745
movq 0x10(%rsp), %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %r13
movl $0xa8, %edi
callq 0x101e0
movq %rax, %r12
leaq 0x60(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xe118(%rip), %rsi      # 0x888ab
leaq 0xe143(%rip), %rdx      # 0x888dd
leaq 0x50(%rsp), %rdi
callq 0x1e7ca
leaq 0x88(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x9d13(%rip), %rsi      # 0x844ca
leaq 0x9d0e(%rip), %rdx      # 0x844cc
leaq 0x78(%rsp), %rdi
callq 0x1e7ca
leaq 0xa0(%rsp), %rdi
leaq 0x78(%rsp), %rsi
leaq 0x7(%rsp), %rcx
movl $0x1, %edx
callq 0x20c5e
leaq 0x20(%rsp), %rdi
leaq 0x50(%rsp), %rsi
leaq 0xa0(%rsp), %rdx
callq 0x48694
movb $0x1, %bpl
leaq 0x20(%rsp), %rsi
movq %r12, %rdi
movq %r14, %rdx
movq %r13, %rcx
callq 0x476dc
xorl %ebp, %ebp
leaq 0x384c6(%rip), %rsi     # 0xb2ce0
leaq -0x4306d(%rip), %rdx    # 0x377b4
movq %r12, %rdi
callq 0x106d0
movq %rax, %r14
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a84f
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x7a84f
movq %rax, %r14
movb $0x1, %bpl
leaq 0xa0(%rsp), %rdi
callq 0x1dca2
jmp 0x7a864
movq %rax, %r14
movb $0x1, %bpl
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0x7a886
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x7a886
movq %rax, %r14
movb $0x1, %bpl
movq 0x50(%rsp), %rdi
cmpq %rbx, %rdi
je 0x7a8d8
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x7a8d8
movq %rax, %r14
leaq 0x50(%rsp), %rdi
callq 0x20a84
jmp 0x7a8b1
movq %rax, %r14
movl $0x10, %ebx
leaq (%rsp,%rbx), %rdi
addq $0x20, %rdi
callq 0x404da
addq $-0x10, %rbx
cmpq $-0x10, %rbx
jne 0x7a8b6
jmp 0x7a980
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x7a980
movq %r12, %rdi
callq 0x102d0
jmp 0x7a980
jmp 0x7a964
movq %rax, %r14
cmpq %r12, %rbx
je 0x7a980
leaq 0x20(%rsp), %rbx
addq $-0x10, %r12
movq %r12, %rdi
callq 0x404da
cmpq %rbx, %r12
jne 0x7a901
jmp 0x7a980
movq %rax, %r14
leaq 0x50(%rsp), %rdi
callq 0x20a84
jmp 0x7a926
movq %rax, %r14
movl $0x20, %ebx
leaq (%rsp,%rbx), %rdi
addq $0x20, %rdi
callq 0x404da
addq $-0x10, %rbx
cmpq $-0x10, %rbx
jne 0x7a92b
jmp 0x7a980
movq %rax, %r14
cmpq %rbx, %r12
je 0x7a980
leaq 0x20(%rsp), %r15
addq $-0x10, %rbx
movq %rbx, %rdi
callq 0x404da
cmpq %r15, %rbx
jne 0x7a951
jmp 0x7a980
movq %rax, %r14
jmp 0x7a976
movq %rax, %r14
leaq 0x78(%rsp), %rdi
callq 0x404da
leaq 0x20(%rsp), %rdi
callq 0x20a84
movq %r14, %rdi
callq 0x106f0