// File: /workspace/github_cpp_makefile_star2_O3/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 $0xa8, %rsp
movq %r9, %r14
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %rbp
movq %rsi, %r15
movq %rdi, 0x38(%rsp)
movq %rdx, %rdi
callq 0x40b5a
cmpl $-0x8, %eax
je 0x7945a
movq %rbp, %rdi
callq 0x40b5a
movl %eax, %ebx
shll $0x18, %ebx
negl %ebx
sarl $0x14, %ebx
movq %r13, %rdi
callq 0x40b5a
negb %al
movsbl %al, %eax
orl %ebx, %eax
cmpl $-0x8, %eax
je 0x7945a
cmpl $0x22, %eax
jne 0x79522
movq %rbp, %rdi
movq %r14, %rsi
movq 0xe0(%rsp), %rbp
movq %rbp, %rdx
callq 0x40416
movups (%rax), %xmm0
leaq 0x10(%rsp), %rbx
movaps %xmm0, (%rbx)
movq %r13, %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0x40416
movq %rax, %r15
movq %r12, %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0x40416
movq %rax, %r14
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
movq $0x0, 0x50(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4772c
testb %al, %al
movq 0x38(%rsp), %rbp
je 0x7943e
leaq 0x70(%rsp), %rbx
leaq 0x10(%rsp), %r12
leaq 0x40(%rsp), %r13
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3fd84
movq %r13, %rdi
movq %rbx, %rsi
callq 0x2087a
movq %rbx, %rdi
callq 0x3fe06
movq %r12, %rdi
movq %r14, %rsi
callq 0x47054
movq %r12, %rdi
movq %r15, %rsi
callq 0x4772c
testb %al, %al
jne 0x79406
leaq 0x40(%rsp), %rsi
movq %rbp, %rdi
callq 0x3fda0
leaq 0x40(%rsp), %rdi
callq 0x20952
jmp 0x795d7
movq %rbp, %rdi
movq %r14, %rsi
movq 0xe0(%rsp), %rdx
callq 0x40a9e
movq %rax, %rbx
leaq 0x3c569(%rip), %rsi     # 0xb59e0
movq %rax, %rdi
callq 0x3ce6c
testb %al, %al
je 0x79522
leaq 0x3c552(%rip), %rsi     # 0xb59e0
movq %rbx, %rdi
movq %r14, %rdx
movq 0xe0(%rsp), %rcx
callq 0x3ced2
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
movq %r13, %rsi
callq 0x3fdf4
leaq 0x50(%rsp), %rdi
movq %r12, %rsi
callq 0x3fdf4
movq 0x38(%rsp), %rbp
leaq 0x10(%rsp), %rdi
leaq 0x40(%rsp), %rsi
leaq 0x70(%rsp), %rcx
movl $0x2, %edx
callq 0x436ac
leaq 0x10(%rsp), %rdx
movq %rbp, %rdi
movq %rbx, %rsi
movq %r14, %rcx
movq 0xe0(%rsp), %r8
callq 0x41ffe
leaq 0x10(%rsp), %rdi
callq 0x20952
movl $0x10, %ebx
leaq (%rsp,%rbx), %rdi
addq $0x40, %rdi
callq 0x3fe06
addq $-0x10, %rbx
cmpq $-0x10, %rbx
jne 0x79506
jmp 0x795d7
testq %r15, %r15
je 0x795ec
leaq 0x3c4ae(%rip), %rsi     # 0xb59e0
movq %r15, %rdi
movq %r14, %rdx
movq 0xe0(%rsp), %rcx
callq 0x3ced2
movq %rax, %r15
leaq 0x40(%rsp), %rbx
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x3fdf4
leaq 0x50(%rsp), %rbp
movq %rbp, %rdi
movq %r13, %rsi
callq 0x3fdf4
leaq 0x60(%rsp), %rbp
movq %rbp, %rdi
movq %r12, %rsi
callq 0x3fdf4
leaq 0x10(%rsp), %rdi
leaq 0x40(%rsp), %rsi
leaq 0x70(%rsp), %rcx
movl $0x3, %edx
callq 0x436ac
leaq 0x10(%rsp), %rdx
movq 0x38(%rsp), %rbp
movq %rbp, %rdi
movq %r15, %rsi
movq %r14, %rcx
movq 0xe0(%rsp), %r8
callq 0x41ffe
leaq 0x10(%rsp), %rdi
callq 0x20952
movl $0x20, %ebx
leaq (%rsp,%rbx), %rdi
addq $0x40, %rdi
callq 0x3fe06
addq $-0x10, %rbx
cmpq $-0x10, %rbx
jne 0x795c0
movq %rbp, %rax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0xa8, %edi
callq 0x101e0
movq %rax, %r12
leaq 0x20(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xe2c2(%rip), %rsi      # 0x878cb
leaq 0xe2ed(%rip), %rdx      # 0x878fd
leaq 0x10(%rsp), %rdi
callq 0x1e698
leaq 0x80(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x9e9d(%rip), %rsi      # 0x834ca
leaq 0x9e98(%rip), %rdx      # 0x834cc
leaq 0x70(%rsp), %rdi
callq 0x1e698
leaq 0x90(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0xf(%rsp), %rcx
movl $0x1, %edx
callq 0x20b38
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x90(%rsp), %rdx
callq 0x47db4
movb $0x1, %bpl
leaq 0x40(%rsp), %rsi
movq %r12, %rdi
movq %r14, %rdx
movq 0xe0(%rsp), %rcx
callq 0x46e88
xorl %ebp, %ebp
leaq 0x3768b(%rip), %rsi     # 0xb0d20
leaq -0x423f8(%rip), %rdx    # 0x372a4
movq %r12, %rdi
callq 0x106d0
movq %rax, %r14
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x796ca
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x796ca
movq %rax, %r14
movb $0x1, %bpl
leaq 0x90(%rsp), %rdi
callq 0x1db60
jmp 0x796df
movq %rax, %r14
movb $0x1, %bpl
movq 0x70(%rsp), %rdi
cmpq %r15, %rdi
je 0x796f9
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x79710
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x103d0
testb %bpl, %bpl
jne 0x7973e
jmp 0x797f3
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x7973e
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x7973e
jmp 0x797d7
movq %rax, %r14
movq %r12, %rdi
callq 0x102d0
jmp 0x797f3
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x20952
jmp 0x7975d
movq %rax, %r14
movl $0x10, %ebx
leaq (%rsp,%rbx), %rdi
addq $0x40, %rdi
callq 0x3fe06
addq $-0x10, %rbx
cmpq $-0x10, %rbx
jne 0x79762
jmp 0x797f3
movq %rax, %r14
leaq 0x40(%rsp), %rdi
callq 0x3fe06
jmp 0x797f3
jmp 0x797bc
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x20952
jmp 0x7979e
movq %rax, %r14
movl $0x20, %ebx
leaq (%rsp,%rbx), %rdi
addq $0x40, %rdi
callq 0x3fe06
addq $-0x10, %rbx
cmpq $-0x10, %rbx
jne 0x797a3
jmp 0x797f3
movq %rax, %r14
jmp 0x797f3
movq %rax, %r14
addq $-0x10, %rbp
movq %rbp, %rdi
callq 0x3fe06
cmpq %rbx, %rbp
jne 0x797c4
jmp 0x797f3
movq %rax, %r14
jmp 0x797e9
movq %rax, %r14
leaq 0x70(%rsp), %rdi
callq 0x3fe06
leaq 0x40(%rsp), %rdi
callq 0x20952
movq %r14, %rdi
callq 0x106f0