// File: /workspace/github_cpp_makefile_star2_O2/yukioc[P]tscrpt/t-tscrpt.cpp
// Function: t_div()
void t_div(){ /*{{{*/
	bool except;
	tscrpt_t sc;
	obj_t*o;

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

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

	//! \test 14 / 0 => runtime_error
	except=false;
	try {
		o=sc.eval("14 / 0");
	}catch(std::exception& e){
		except=true;
		mu_assert(typeid(e)==typeid(std::runtime_error));
		sc.clear();
	}
	mu_assert(except==true);

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

	//! \test 11 / "ddd" => runtime_error
	except=false;
	try {
		o = sc.eval("11 / \"ddd\"");
	}catch(std::exception& e){
		except=true;
		mu_assert(typeid(e)==typeid(std::runtime_error));
	}
	mu_assert(except==true);
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x246c
leaq 0x26d6(%rip), %rsi      # 0x7786
movq %rbx, %rdi
callq 0x24ce
movq %rax, %rbx
movl 0x50d3(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x50cb(%rip)      # 0xa194
testq %rbx, %rbx
jne 0x50fb
incl 0x50b8(%rip)            # 0xa18c
leaq 0x22cc(%rip), %rdi      # 0x73a7
leaq 0x22e3(%rip), %rsi      # 0x73c5
leaq 0x24f6(%rip), %rcx      # 0x75df
movl $0xf0, %edx
xorl %eax, %eax
callq 0x2040
movl 0x5099(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5091(%rip)      # 0xa194
cmpb $0x4e, (%rbx)
je 0x5135
incl 0x507e(%rip)            # 0xa18c
leaq 0x2292(%rip), %rdi      # 0x73a7
leaq 0x22a9(%rip), %rsi      # 0x73c5
leaq 0x24c4(%rip), %rcx      # 0x75e7
movl $0xf1, %edx
xorl %eax, %eax
callq 0x2040
movl 0x505f(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5057(%rip)      # 0xa194
movq %rbx, %rdi
callq 0x23ac
cmpl $0x3, %eax
je 0x5171
incl 0x503c(%rip)            # 0xa18c
leaq 0x2250(%rip), %rdi      # 0x73a7
leaq 0x2267(%rip), %rsi      # 0x73c5
leaq 0x2628(%rip), %rcx      # 0x778d
movl $0xf2, %edx
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
addq $0x8, %rdi
callq 0x20e0
pushq $0x30
popq %rsi
movq %rbx, %rdi
callq 0x2160
leaq 0x260c(%rip), %rsi      # 0x779b
leaq 0x8(%rsp), %rdi
callq 0x24ce
movq %rax, %rbx
movl 0x4ff2(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x4fea(%rip)      # 0xa194
testq %rbx, %rbx
jne 0x51dc
incl 0x4fd7(%rip)            # 0xa18c
leaq 0x21eb(%rip), %rdi      # 0x73a7
leaq 0x2202(%rip), %rsi      # 0x73c5
leaq 0x2415(%rip), %rcx      # 0x75df
movl $0xf7, %edx
xorl %eax, %eax
callq 0x2040
movl 0x4fb8(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x4fb0(%rip)      # 0xa194
cmpb $0x4e, (%rbx)
je 0x5216
incl 0x4f9d(%rip)            # 0xa18c
leaq 0x21b1(%rip), %rdi      # 0x73a7
leaq 0x21c8(%rip), %rsi      # 0x73c5
leaq 0x23e3(%rip), %rcx      # 0x75e7
movl $0xf8, %edx
xorl %eax, %eax
callq 0x2040
movl 0x4f7e(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x4f76(%rip)      # 0xa194
movq %rbx, %rdi
callq 0x23ac
cmpl $0x2, %eax
je 0x5252
incl 0x4f5b(%rip)            # 0xa18c
leaq 0x216f(%rip), %rdi      # 0x73a7
leaq 0x2186(%rip), %rsi      # 0x73c5
leaq 0x2478(%rip), %rcx      # 0x76be
movl $0xf9, %edx
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
addq $0x8, %rdi
callq 0x20e0
pushq $0x30
popq %rsi
movq %rbx, %rdi
callq 0x2160
leaq 0x2532(%rip), %rsi      # 0x77a2
leaq 0x8(%rsp), %rdi
callq 0x24ce
incl 0x4f14(%rip)            # 0xa194
incl 0x4f06(%rip)            # 0xa18c
leaq 0x211a(%rip), %rdi      # 0x73a7
leaq 0x2131(%rip), %rsi      # 0x73c5
leaq 0x2322(%rip), %rcx      # 0x75bd
movl $0x106, %edx            # imm = 0x106
xorl %eax, %eax
callq 0x2040
leaq 0x2521(%rip), %rsi      # 0x77cf
leaq 0x8(%rsp), %rdi
callq 0x24ce
movq %rax, %rbx
movl 0x4ed3(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x4ecb(%rip)      # 0xa194
testq %rbx, %rbx
jne 0x52fb
incl 0x4eb8(%rip)            # 0xa18c
leaq 0x20cc(%rip), %rdi      # 0x73a7
leaq 0x20e3(%rip), %rsi      # 0x73c5
leaq 0x22f6(%rip), %rcx      # 0x75df
movl $0x10a, %edx            # imm = 0x10A
xorl %eax, %eax
callq 0x2040
movl 0x4e99(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x4e91(%rip)      # 0xa194
cmpb $0x4e, (%rbx)
je 0x5335
incl 0x4e7e(%rip)            # 0xa18c
leaq 0x2092(%rip), %rdi      # 0x73a7
leaq 0x20a9(%rip), %rsi      # 0x73c5
leaq 0x22c4(%rip), %rcx      # 0x75e7
movl $0x10b, %edx            # imm = 0x10B
xorl %eax, %eax
callq 0x2040
movl 0x4e5f(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x4e57(%rip)      # 0xa194
movq %rbx, %rdi
callq 0x23ac
testl %eax, %eax
je 0x5370
incl 0x4e3d(%rip)            # 0xa18c
leaq 0x2051(%rip), %rdi      # 0x73a7
leaq 0x2068(%rip), %rsi      # 0x73c5
leaq 0x23db(%rip), %rcx      # 0x773f
movl $0x10c, %edx            # imm = 0x10C
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
addq $0x8, %rdi
callq 0x20e0
pushq $0x30
popq %rsi
movq %rbx, %rdi
callq 0x2160
leaq 0x244b(%rip), %rsi      # 0x77d9
leaq 0x8(%rsp), %rdi
callq 0x24ce
incl 0x4df6(%rip)            # 0xa194
incl 0x4de8(%rip)            # 0xa18c
leaq 0x1ffc(%rip), %rdi      # 0x73a7
leaq 0x2013(%rip), %rsi      # 0x73c5
leaq 0x2204(%rip), %rcx      # 0x75bd
movl $0x117, %edx            # imm = 0x117
xorl %eax, %eax
callq 0x2040
leaq 0x8(%rsp), %rdi
callq 0x2472
addq $0x10, %rsp
popq %rbx
retq
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x54c4
movq %rbx, %rdi
callq 0x20c0
incl 0x4da5(%rip)            # 0xa194
movq (%rax), %rax
movq -0x8(%rax), %rdi
movq 0x4bfb(%rip), %rsi      # 0x9ff8
callq 0x6980
testb %al, %al
jne 0x542d
incl 0x4d80(%rip)            # 0xa18c
leaq 0x1f94(%rip), %rdi      # 0x73a7
leaq 0x1fab(%rip), %rsi      # 0x73c5
leaq 0x2388(%rip), %rcx      # 0x77a9
movl $0x115, %edx            # imm = 0x115
xorl %eax, %eax
callq 0x2040
callq 0x2240
incl 0x4d5c(%rip)            # 0xa194
jmp 0x53c5
jmp 0x54c1
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x54c4
movq %rbx, %rdi
callq 0x20c0
incl 0x4d3f(%rip)            # 0xa194
movq (%rax), %rax
movq -0x8(%rax), %rdi
movq 0x4b95(%rip), %rsi      # 0x9ff8
callq 0x6980
testb %al, %al
jne 0x5493
incl 0x4d1a(%rip)            # 0xa18c
leaq 0x1f2e(%rip), %rdi      # 0x73a7
leaq 0x1f45(%rip), %rsi      # 0x73c5
leaq 0x2322(%rip), %rcx      # 0x77a9
movl $0x103, %edx            # imm = 0x103
xorl %eax, %eax
callq 0x2040
leaq 0x8(%rsp), %rdi
callq 0x2482
callq 0x2240
incl 0x4cec(%rip)            # 0xa194
jmp 0x52a7
jmp 0x54c1
movq %rax, %rbx
callq 0x2240
jmp 0x54c4
movq %rax, %rdi
callq 0x35ef
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x2472
movq %rbx, %rdi
callq 0x2280