// File: /workspace/github_cpp_makefile_star2_O2/yukioc[P]tscrpt/t-tscrpt.cpp
// Function: t_unaryop()
void t_unaryop(){/*{{{*/
	tscrpt_t sc;
	obj_t*o;
	//! \test + 2 => 2
	o = sc.eval("+ 2");
	mu_assert(o!=NULL);
	mu_assert(o->type=='N');
	mu_assert(o->value()==2);
	delete o;

	//! \test +2 => 2
	o = sc.eval("+2");
	mu_assert(o!=NULL);
	mu_assert(o->type=='N');
	mu_assert(o->value()==2);
	delete o;

	//! \test - 2 => -2
	o = sc.eval("-2");
	mu_assert(o!=NULL);
	mu_assert(o->type=='N');
	mu_assert(o->value()==-2);
	delete o;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x246c
leaq 0x2f4a(%rip), %rsi      # 0x76ba
movq %rbx, %rdi
callq 0x24ce
movq %rax, %rbx
movl 0x5a13(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5a0b(%rip)      # 0xa194
testq %rbx, %rbx
jne 0x47bb
incl 0x59f8(%rip)            # 0xa18c
leaq 0x2c0c(%rip), %rdi      # 0x73a7
leaq 0x2c23(%rip), %rsi      # 0x73c5
leaq 0x2e36(%rip), %rcx      # 0x75df
movl $0xa1, %edx
xorl %eax, %eax
callq 0x2040
movl 0x59d9(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x59d1(%rip)      # 0xa194
cmpb $0x4e, (%rbx)
je 0x47f5
incl 0x59be(%rip)            # 0xa18c
leaq 0x2bd2(%rip), %rdi      # 0x73a7
leaq 0x2be9(%rip), %rsi      # 0x73c5
leaq 0x2e04(%rip), %rcx      # 0x75e7
movl $0xa2, %edx
xorl %eax, %eax
callq 0x2040
movl 0x599f(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5997(%rip)      # 0xa194
movq %rbx, %rdi
callq 0x23ac
cmpl $0x2, %eax
je 0x4831
incl 0x597c(%rip)            # 0xa18c
leaq 0x2b90(%rip), %rdi      # 0x73a7
leaq 0x2ba7(%rip), %rsi      # 0x73c5
leaq 0x2e99(%rip), %rcx      # 0x76be
movl $0xa3, %edx
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
addq $0x8, %rdi
callq 0x20e0
pushq $0x30
popq %rsi
movq %rbx, %rdi
callq 0x2160
leaq 0x2e7d(%rip), %rsi      # 0x76cc
leaq 0x8(%rsp), %rdi
callq 0x24ce
movq %rax, %rbx
movl 0x5932(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x592a(%rip)      # 0xa194
testq %rbx, %rbx
jne 0x489c
incl 0x5917(%rip)            # 0xa18c
leaq 0x2b2b(%rip), %rdi      # 0x73a7
leaq 0x2b42(%rip), %rsi      # 0x73c5
leaq 0x2d55(%rip), %rcx      # 0x75df
movl $0xa8, %edx
xorl %eax, %eax
callq 0x2040
movl 0x58f8(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x58f0(%rip)      # 0xa194
cmpb $0x4e, (%rbx)
je 0x48d6
incl 0x58dd(%rip)            # 0xa18c
leaq 0x2af1(%rip), %rdi      # 0x73a7
leaq 0x2b08(%rip), %rsi      # 0x73c5
leaq 0x2d23(%rip), %rcx      # 0x75e7
movl $0xa9, %edx
xorl %eax, %eax
callq 0x2040
movl 0x58be(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x58b6(%rip)      # 0xa194
movq %rbx, %rdi
callq 0x23ac
cmpl $0x2, %eax
je 0x4912
incl 0x589b(%rip)            # 0xa18c
leaq 0x2aaf(%rip), %rdi      # 0x73a7
leaq 0x2ac6(%rip), %rsi      # 0x73c5
leaq 0x2db8(%rip), %rcx      # 0x76be
movl $0xaa, %edx
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
addq $0x8, %rdi
callq 0x20e0
pushq $0x30
popq %rsi
movq %rbx, %rdi
callq 0x2160
leaq 0x2dab(%rip), %rsi      # 0x76db
leaq 0x8(%rsp), %rdi
callq 0x24ce
movq %rax, %rbx
movl 0x5851(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5849(%rip)      # 0xa194
testq %rbx, %rbx
jne 0x497d
incl 0x5836(%rip)            # 0xa18c
leaq 0x2a4a(%rip), %rdi      # 0x73a7
leaq 0x2a61(%rip), %rsi      # 0x73c5
leaq 0x2c74(%rip), %rcx      # 0x75df
movl $0xaf, %edx
xorl %eax, %eax
callq 0x2040
movl 0x5817(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x580f(%rip)      # 0xa194
cmpb $0x4e, (%rbx)
je 0x49b7
incl 0x57fc(%rip)            # 0xa18c
leaq 0x2a10(%rip), %rdi      # 0x73a7
leaq 0x2a27(%rip), %rsi      # 0x73c5
leaq 0x2c42(%rip), %rcx      # 0x75e7
movl $0xb0, %edx
xorl %eax, %eax
callq 0x2040
movl 0x57dd(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x57d5(%rip)      # 0xa194
movq %rbx, %rdi
callq 0x23ac
cmpl $-0x2, %eax
je 0x49f3
incl 0x57ba(%rip)            # 0xa18c
leaq 0x29ce(%rip), %rdi      # 0x73a7
leaq 0x29e5(%rip), %rsi      # 0x73c5
leaq 0x2ce8(%rip), %rcx      # 0x76cf
movl $0xb1, %edx
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
addq $0x8, %rdi
callq 0x20e0
pushq $0x30
popq %rsi
movq %rbx, %rdi
callq 0x2160
leaq 0x8(%rsp), %rdi
callq 0x2472
addq $0x10, %rsp
popq %rbx
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x2472
movq %rbx, %rdi
callq 0x2280