// File: Nallantli[P]Rossa/main/rossa/operation/operation.cpp
// Function: operation::untilnostep_inclusive(object_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::untilnostep_inclusive(const object_t *scope, const symbol_t &evalA, const symbol_t &evalB, 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 = number_t::Long(1);
		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}, token, stack_trace);
	}
	default:
		if (scope != NULL)
			return scope->getVariable(parser_t::HASH_RANGE_INC, token, stack_trace).call({evalA, evalB}, token, stack_trace);
	}

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

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x310, %rsp            # imm = 0x310
movq %rdi, -0x210(%rbp)
movq %rdi, %rax
movq %rax, -0x208(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x18(%rbp), %rdi
callq 0x883e0
cmpl $-0x8, %eax
jne 0x13d24f
movl $0xfffffff8, %eax       # imm = 0xFFFFFFF8
movl %eax, -0x214(%rbp)
jmp 0x13d28a
movq -0x18(%rbp), %rdi
callq 0x883e0
movl %eax, %ecx
xorl %eax, %eax
subl %ecx, %eax
movsbl %al, %eax
shll $0x4, %eax
movl %eax, -0x218(%rbp)
movq -0x20(%rbp), %rdi
callq 0x883e0
movl %eax, %edx
movl -0x218(%rbp), %eax
xorl %ecx, %ecx
subl %edx, %ecx
movsbl %cl, %ecx
orl %ecx, %eax
movl %eax, -0x214(%rbp)
movl -0x214(%rbp), %eax
movl %eax, -0x21c(%rbp)
subl $-0x8, %eax
je 0x13d3d9
jmp 0x13d2a1
movl -0x21c(%rbp), %eax
subl $0x22, %eax
jne 0x13d627
jmp 0x13d2b2
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rsi
movq -0x30(%rbp), %rdx
callq 0x87a00
movups (%rax), %xmm0
movaps %xmm0, -0x40(%rbp)
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
movq -0x30(%rbp), %rdx
callq 0x87a00
movq %rax, -0x48(%rbp)
movq $0x1, -0x68(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x9c540
movl %edx, -0x70(%rbp)
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x60(%rbp)
movl -0x70(%rbp), %eax
movl %eax, -0x58(%rbp)
leaq -0x60(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x2cc30
movq -0x48(%rbp), %rsi
leaq -0x40(%rbp), %rdi
callq 0x9d640
testb $0x1, %al
jne 0x13d32c
jmp 0x13d3a2
leaq -0xa0(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x86bf0
jmp 0x13d33e
leaq -0x90(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x2cc50
jmp 0x13d353
leaq -0xa0(%rbp), %rdi
callq 0x86dc0
movq -0x50(%rbp), %rsi
leaq -0x40(%rbp), %rdi
callq 0x9c5d0
jmp 0x13d319
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0x13d3c8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0xa0(%rbp), %rdi
callq 0x86dc0
jmp 0x13d3c8
movq -0x210(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x86c50
jmp 0x13d3b7
leaq -0x90(%rbp), %rdi
callq 0x2cf10
jmp 0x13db02
leaq -0x90(%rbp), %rdi
callq 0x2cf10
jmp 0x13db12
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rsi
movq -0x30(%rbp), %rdx
callq 0x882f0
movq %rax, -0xc0(%rbp)
leaq -0xc0(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rax
movq (%rax), %rdi
leaq 0xa8770(%rip), %rsi     # 0x1e5b80
callq 0x7dd00
testb $0x1, %al
jne 0x13d41e
jmp 0x13d625
movq -0xb8(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rdx
movq -0x30(%rbp), %rcx
leaq 0xa8749(%rip), %rsi     # 0x1e5b80
callq 0x7ddd0
movq %rax, -0x228(%rbp)
leaq -0xf8(%rbp), %rdi
movq %rdi, -0x100(%rbp)
movq -0x20(%rbp), %rsi
callq 0x86d80
jmp 0x13d45c
leaq -0xf8(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq $0x1, -0xe0(%rbp)
leaq -0x101(%rbp), %rdi
movq %rdi, -0x230(%rbp)
callq 0x2e2f0
movq -0x230(%rbp), %rcx
movq -0xe8(%rbp), %rsi
movq -0xe0(%rbp), %rdx
leaq -0xd8(%rbp), %rdi
callq 0x8c330
jmp 0x13d4ab
movq -0x228(%rbp), %rsi
movq -0x210(%rbp), %rdi
movq -0x28(%rbp), %rcx
movq -0x30(%rbp), %r8
leaq -0xd8(%rbp), %rdx
callq 0x89e20
jmp 0x13d4cf
leaq -0xd8(%rbp), %rdi
callq 0x2cf10
leaq -0x101(%rbp), %rdi
callq 0x304d0
leaq -0xf8(%rbp), %rax
movq %rax, -0x240(%rbp)
addq $0x10, %rax
movq %rax, -0x238(%rbp)
movq -0x238(%rbp), %rdi
addq $-0x10, %rdi
movq %rdi, -0x248(%rbp)
callq 0x86dc0
movq -0x240(%rbp), %rcx
movq -0x248(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0x238(%rbp)
jne 0x13d500
jmp 0x13db02
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
movq -0x100(%rbp), %rax
leaq -0xf8(%rbp), %rcx
cmpq %rax, %rcx
movq %rax, -0x250(%rbp)
je 0x13d593
movq -0x250(%rbp), %rdi
addq $-0x10, %rdi
movq %rdi, -0x258(%rbp)
callq 0x86dc0
movq -0x258(%rbp), %rax
leaq -0xf8(%rbp), %rcx
cmpq %rcx, %rax
movq %rax, -0x250(%rbp)
jne 0x13d562
jmp 0x13db12
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0x13d5ca
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x2cf10
leaq -0x101(%rbp), %rdi
callq 0x304d0
leaq -0xf8(%rbp), %rax
movq %rax, -0x268(%rbp)
addq $0x10, %rax
movq %rax, -0x260(%rbp)
movq -0x260(%rbp), %rdi
addq $-0x10, %rdi
movq %rdi, -0x270(%rbp)
callq 0x86dc0
movq -0x268(%rbp), %rcx
movq -0x270(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0x260(%rbp)
jne 0x13d5ef
jmp 0x13db12
jmp 0x13d627
cmpq $0x0, -0x10(%rbp)
je 0x13d84c
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rdx
movq -0x30(%rbp), %rcx
leaq 0xa853b(%rip), %rsi     # 0x1e5b80
callq 0x7ddd0
movq %rax, -0x278(%rbp)
leaq -0x150(%rbp), %rdi
movq %rdi, -0x158(%rbp)
movq -0x18(%rbp), %rsi
callq 0x86d80
jmp 0x13d66a
leaq -0x140(%rbp), %rdi
movq %rdi, -0x158(%rbp)
movq -0x20(%rbp), %rsi
callq 0x86d80
jmp 0x13d683
leaq -0x150(%rbp), %rax
movq %rax, -0x130(%rbp)
movq $0x2, -0x128(%rbp)
leaq -0x159(%rbp), %rdi
movq %rdi, -0x280(%rbp)
callq 0x2e2f0
movq -0x280(%rbp), %rcx
movq -0x130(%rbp), %rsi
movq -0x128(%rbp), %rdx
leaq -0x120(%rbp), %rdi
callq 0x8c330
jmp 0x13d6d2
movq -0x278(%rbp), %rsi
movq -0x210(%rbp), %rdi
movq -0x28(%rbp), %rcx
movq -0x30(%rbp), %r8
leaq -0x120(%rbp), %rdx
callq 0x89e20
jmp 0x13d6f6
leaq -0x120(%rbp), %rdi
callq 0x2cf10
leaq -0x159(%rbp), %rdi
callq 0x304d0
leaq -0x150(%rbp), %rax
movq %rax, -0x290(%rbp)
addq $0x20, %rax
movq %rax, -0x288(%rbp)
movq -0x288(%rbp), %rdi
addq $-0x10, %rdi
movq %rdi, -0x298(%rbp)
callq 0x86dc0
movq -0x290(%rbp), %rcx
movq -0x298(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0x288(%rbp)
jne 0x13d727
jmp 0x13db02
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
movq -0x158(%rbp), %rax
leaq -0x150(%rbp), %rcx
cmpq %rax, %rcx
movq %rax, -0x2a0(%rbp)
je 0x13d7ba
movq -0x2a0(%rbp), %rdi
addq $-0x10, %rdi
movq %rdi, -0x2a8(%rbp)
callq 0x86dc0
movq -0x2a8(%rbp), %rax
leaq -0x150(%rbp), %rcx
cmpq %rcx, %rax
movq %rax, -0x2a0(%rbp)
jne 0x13d789
jmp 0x13db12
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0x13d7f1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x120(%rbp), %rdi
callq 0x2cf10
leaq -0x159(%rbp), %rdi
callq 0x304d0
leaq -0x150(%rbp), %rax
movq %rax, -0x2b8(%rbp)
addq $0x20, %rax
movq %rax, -0x2b0(%rbp)
movq -0x2b0(%rbp), %rdi
addq $-0x10, %rdi
movq %rdi, -0x2c0(%rbp)
callq 0x86dc0
movq -0x2b8(%rbp), %rcx
movq -0x2c0(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0x2b0(%rbp)
jne 0x13d816
jmp 0x13db12
jmp 0x13d84e
movb $0x1, -0x1fc(%rbp)
movl $0xa8, %edi
callq 0x112b0
movq %rax, -0x2d0(%rbp)
leaq -0x1a1(%rbp), %rdi
movq %rdi, -0x2c8(%rbp)
callq 0x119d0
movq -0x2c8(%rbp), %rdx
leaq 0x17a84(%rip), %rsi     # 0x15530b
leaq -0x1a0(%rbp), %rdi
callq 0x24740
jmp 0x13d895
movb $0x1, -0x1fa(%rbp)
leaq -0x1f0(%rbp), %rax
movq %rax, -0x2e0(%rbp)
movq %rax, -0x1f8(%rbp)
leaq -0x1f9(%rbp), %rdi
movq %rdi, -0x2d8(%rbp)
callq 0x119d0
movq -0x2e0(%rbp), %rdi
movq -0x2d8(%rbp), %rdx
leaq 0x12744(%rip), %rsi     # 0x15001d
callq 0x24740
jmp 0x13d8e0
movb $0x0, -0x1fa(%rbp)
leaq -0x1f0(%rbp), %rax
movq %rax, -0x1d0(%rbp)
movq $0x1, -0x1c8(%rbp)
leaq -0x1fb(%rbp), %rdi
movq %rdi, -0x2e8(%rbp)
callq 0x26e30
movq -0x2e8(%rbp), %rcx
movq -0x1d0(%rbp), %rsi
movq -0x1c8(%rbp), %rdx
leaq -0x1c0(%rbp), %rdi
callq 0x2d6a0
jmp 0x13d936
leaq -0x180(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
leaq -0x1c0(%rbp), %rdx
callq 0x9e250
jmp 0x13d952
movq -0x2d0(%rbp), %rdi
movq -0x28(%rbp), %rdx
movq -0x30(%rbp), %rcx
leaq -0x180(%rbp), %rsi
callq 0x9c360
jmp 0x13d96f
movq -0x2d0(%rbp), %rdi
movb $0x0, -0x1fc(%rbp)
leaq 0xa32fc(%rip), %rsi     # 0x1e0c80
leaq -0xe2feb(%rip), %rdx    # 0x5a9a0
callq 0x11970
jmp 0x13db1e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0x13dadd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0x13da6d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0x13da15
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
jmp 0x13da09
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa8(%rbp)
movl %eax, -0xac(%rbp)
leaq -0x180(%rbp), %rdi
callq 0x11360
leaq -0x1c0(%rbp), %rdi
callq 0x25b00
leaq -0x1fb(%rbp), %rdi
callq 0x279c0
leaq -0x1f0(%rbp), %rax
movq %rax, -0x2f8(%rbp)
addq $0x20, %rax
movq %rax, -0x2f0(%rbp)
movq -0x2f0(%rbp), %rdi
addq $-0x20, %rdi
movq %rdi, -0x300(%rbp)
callq 0x11360
movq -0x2f8(%rbp), %rcx
movq -0x300(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0x2f0(%rbp)
jne 0x13da3a
jmp 0x13da6d
leaq -0x1f9(%rbp), %rdi
callq 0x11600
testb $0x1, -0x1fa(%rbp)
jne 0x13da84
jmp 0x13dad1
movq -0x1f8(%rbp), %rax
leaq -0x1f0(%rbp), %rcx
cmpq %rax, %rcx
movq %rax, -0x308(%rbp)
je 0x13dacf
movq -0x308(%rbp), %rdi
addq $-0x20, %rdi
movq %rdi, -0x310(%rbp)
callq 0x11360
movq -0x310(%rbp), %rax
leaq -0x1f0(%rbp), %rcx
cmpq %rcx, %rax
movq %rax, -0x308(%rbp)
jne 0x13da9e
jmp 0x13dad1
leaq -0x1a0(%rbp), %rdi
callq 0x11360
leaq -0x1a1(%rbp), %rdi
callq 0x11600
testb $0x1, -0x1fc(%rbp)
jne 0x13daf4
jmp 0x13db00
movq -0x2d0(%rbp), %rdi
callq 0x11420
jmp 0x13db12
movq -0x208(%rbp), %rax
addq $0x310, %rsp            # imm = 0x310
popq %rbp
retq
movq -0xa8(%rbp), %rdi
callq 0x119c0
nop