// File: Nallantli[P]Rossa/main/rossa/instruction/instruction.cpp
// Function: TryCatchI::evaluate(object_t const*, std::vector<std::pair<token_t, function_t>, std::allocator<std::pair<token_t, function_t>>>&) const
const symbol_t TryCatchI::evaluate(const object_t *scope, trace_t &stack_trace) const
{
	try
	{
		const object_t newScope(scope, 0);
		return a->evaluate(&newScope, stack_trace);
	}
	catch (const rossa_error_t &e)
	{
		const object_t newScope(scope, 0);
		newScope.createVariable(key, symbol_t::String(std::string(e.what())), &token);
		return b->evaluate(&newScope, stack_trace);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0xb8(%rbp)
movq %rdi, %rax
movq %rax, -0xb0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x18(%rbp), %rsi
movq $0x0, -0x38(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0x38(%rbp), %rdx
callq 0x7d4e0
jmp 0x1323b2
movq -0xa8(%rbp), %rdi
addq $0x90, %rdi
callq 0x2d300
movq -0xb8(%rbp), %rdi
movq %rax, %rsi
movq -0x20(%rbp), %rcx
movq (%rsi), %rax
movq (%rax), %rax
leaq -0x30(%rbp), %rdx
callq *%rax
jmp 0x1323e1
leaq -0x30(%rbp), %rdi
callq 0x7d790
jmp 0x1325ab
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x132412
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x7d790
movl -0x44(%rbp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0x1325bb
movq -0x40(%rbp), %rdi
callq 0x11220
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rsi
movq $0x0, -0x68(%rbp)
leaq -0x60(%rbp), %rdi
leaq -0x68(%rbp), %rdx
callq 0x7d4e0
jmp 0x13244a
movq -0xa8(%rbp), %rax
addq $0xb0, %rax
movq %rax, -0xd0(%rbp)
movq -0x50(%rbp), %rdi
movq (%rdi), %rax
movq 0x10(%rax), %rax
callq *%rax
movq %rax, -0xc8(%rbp)
leaq -0x99(%rbp), %rdi
movq %rdi, -0xc0(%rbp)
callq 0x119d0
movq -0xc8(%rbp), %rsi
movq -0xc0(%rbp), %rdx
leaq -0x98(%rbp), %rdi
callq 0x24740
jmp 0x1324a1
leaq -0x78(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x86d20
jmp 0x1324b3
movq -0xd0(%rbp), %rsi
movq -0xa8(%rbp), %rcx
addq $0x8, %rcx
leaq -0x60(%rbp), %rdi
leaq -0x78(%rbp), %rdx
callq 0x7de40
jmp 0x1324d4
leaq -0x78(%rbp), %rdi
callq 0x86dc0
leaq -0x98(%rbp), %rdi
callq 0x11360
leaq -0x99(%rbp), %rdi
callq 0x11600
movq -0xa8(%rbp), %rdi
addq $0xa0, %rdi
callq 0x2d300
movq -0xb8(%rbp), %rdi
movq %rax, %rsi
movq -0x20(%rbp), %rcx
movq (%rsi), %rax
movq (%rax), %rax
leaq -0x60(%rbp), %rdx
callq *%rax
jmp 0x132524
leaq -0x60(%rbp), %rdi
callq 0x7d790
callq 0x11910
jmp 0x1325ab
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x1325a2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x13257f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x132573
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x86dc0
leaq -0x98(%rbp), %rdi
callq 0x11360
leaq -0x99(%rbp), %rdi
callq 0x11600
jmp 0x132599
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x7d790
callq 0x11910
jmp 0x1325a9
jmp 0x1325bb
movq -0xb0(%rbp), %rax
addq $0xd0, %rsp
popq %rbp
retq
movq -0x40(%rbp), %rdi
callq 0x119c0
movq %rax, %rdi
callq 0x24b70
nopl (%rax)