// File: /workspace/github_cpp_makefile_star2_O3/Nallantli[P]Rossa/main/rossa/operation/operation.cpp
// Function: operation::untilstep_exclusive(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_exclusive(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_EXC))
			return o->getVariable(parser_t::HASH_RANGE_EXC, token, stack_trace).call({evalB, step}, token, stack_trace);
	}
	default:
		if (scope != NULL)
			return scope->getVariable(parser_t::HASH_RANGE_EXC, 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 0x79d71
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 0x79d71
cmpl $0x22, %eax
jne 0x79e39
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 0x47684
testb %al, %al
movq 0x38(%rsp), %rbp
je 0x79d55
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 0x47684
testb %al, %al
jne 0x79d1d
leaq 0x40(%rsp), %rsi
movq %rbp, %rdi
callq 0x3fda0
leaq 0x40(%rsp), %rdi
callq 0x20952
jmp 0x79eee
movq %rbp, %rdi
movq %r14, %rsi
movq 0xe0(%rsp), %rdx
callq 0x40a9e
movq %rax, %rbx
leaq 0x3bc5a(%rip), %rsi     # 0xb59e8
movq %rax, %rdi
callq 0x3ce6c
testb %al, %al
je 0x79e39
leaq 0x3bc43(%rip), %rsi     # 0xb59e8
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 0x79e1d
jmp 0x79eee
testq %r15, %r15
je 0x79f03
leaq 0x3bb9f(%rip), %rsi     # 0xb59e8
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 0x79ed7
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 0xd9ab(%rip), %rsi      # 0x878cb
leaq 0xd9d6(%rip), %rdx      # 0x878fd
leaq 0x10(%rsp), %rdi
callq 0x1e698
leaq 0x80(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x940b(%rip), %rsi      # 0x8334f
leaq 0x9406(%rip), %rdx      # 0x83351
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 0x36d74(%rip), %rsi     # 0xb0d20
leaq -0x42d0f(%rip), %rdx    # 0x372a4
movq %r12, %rdi
callq 0x106d0
movq %rax, %r14
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x79fe1
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x79fe1
movq %rax, %r14
movb $0x1, %bpl
leaq 0x90(%rsp), %rdi
callq 0x1db60
jmp 0x79ff6
movq %rax, %r14
movb $0x1, %bpl
movq 0x70(%rsp), %rdi
cmpq %r15, %rdi
je 0x7a010
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x103d0
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x7a027
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x103d0
testb %bpl, %bpl
jne 0x7a055
jmp 0x7a10a
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x7a055
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x7a055
jmp 0x7a0ee
movq %rax, %r14
movq %r12, %rdi
callq 0x102d0
jmp 0x7a10a
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x20952
jmp 0x7a074
movq %rax, %r14
movl $0x10, %ebx
leaq (%rsp,%rbx), %rdi
addq $0x40, %rdi
callq 0x3fe06
addq $-0x10, %rbx
cmpq $-0x10, %rbx
jne 0x7a079
jmp 0x7a10a
movq %rax, %r14
leaq 0x40(%rsp), %rdi
callq 0x3fe06
jmp 0x7a10a
jmp 0x7a0d3
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x20952
jmp 0x7a0b5
movq %rax, %r14
movl $0x20, %ebx
leaq (%rsp,%rbx), %rdi
addq $0x40, %rdi
callq 0x3fe06
addq $-0x10, %rbx
cmpq $-0x10, %rbx
jne 0x7a0ba
jmp 0x7a10a
movq %rax, %r14
jmp 0x7a10a
movq %rax, %r14
addq $-0x10, %rbp
movq %rbp, %rdi
callq 0x3fe06
cmpq %rbx, %rbp
jne 0x7a0db
jmp 0x7a10a
movq %rax, %r14
jmp 0x7a100
movq %rax, %r14
leaq 0x70(%rsp), %rdi
callq 0x3fe06
leaq 0x40(%rsp), %rdi
callq 0x20952
movq %r14, %rdi
callq 0x106f0