// File: /workspace/github_cpp_makefile_star2_O1/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 %r14
pushq %rbx
pushq %rax
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x2778
leaq 0x236b(%rip), %rsi      # 0x7789
movq %rbx, %rdi
callq 0x27ec
movq %rax, %r14
movq %rax, %rbx
incl 0x4d42(%rip)            # 0xa174
testq %rax, %rax
jne 0x545e
incl 0x4d2f(%rip)            # 0xa16c
leaq 0x1f66(%rip), %rdi      # 0x73aa
leaq 0x1f7d(%rip), %rsi      # 0x73c8
leaq 0x2190(%rip), %rcx      # 0x75e2
movl $0xf0, %edx
xorl %eax, %eax
callq 0x2040
incl 0x4d10(%rip)            # 0xa174
cmpb $0x4e, (%rbx)
je 0x5490
incl 0x4cfd(%rip)            # 0xa16c
leaq 0x1f34(%rip), %rdi      # 0x73aa
leaq 0x1f4b(%rip), %rsi      # 0x73c8
leaq 0x2166(%rip), %rcx      # 0x75ea
movl $0xf1, %edx
xorl %eax, %eax
callq 0x2040
incl 0x4cde(%rip)            # 0xa174
movq %rbx, %rdi
callq 0x261c
cmpl $0x3, %eax
je 0x54ca
incl 0x4cc3(%rip)            # 0xa16c
leaq 0x1efa(%rip), %rdi      # 0x73aa
leaq 0x1f11(%rip), %rsi      # 0x73c8
leaq 0x22d2(%rip), %rcx      # 0x7790
movl $0xf2, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
addq $0x18, %r14
cmpq %r14, %rdi
je 0x54e2
movq (%r14), %rsi
incq %rsi
callq 0x2150
movl $0x30, %esi
movq %rbx, %rdi
callq 0x2150
leaq 0x22a8(%rip), %rsi      # 0x779e
movq %rsp, %rdi
callq 0x27ec
movq %rax, %r14
movq %rax, %rbx
incl 0x4c6a(%rip)            # 0xa174
testq %rax, %rax
jne 0x5536
incl 0x4c57(%rip)            # 0xa16c
leaq 0x1e8e(%rip), %rdi      # 0x73aa
leaq 0x1ea5(%rip), %rsi      # 0x73c8
leaq 0x20b8(%rip), %rcx      # 0x75e2
movl $0xf7, %edx
xorl %eax, %eax
callq 0x2040
incl 0x4c38(%rip)            # 0xa174
cmpb $0x4e, (%rbx)
je 0x5568
incl 0x4c25(%rip)            # 0xa16c
leaq 0x1e5c(%rip), %rdi      # 0x73aa
leaq 0x1e73(%rip), %rsi      # 0x73c8
leaq 0x208e(%rip), %rcx      # 0x75ea
movl $0xf8, %edx
xorl %eax, %eax
callq 0x2040
incl 0x4c06(%rip)            # 0xa174
movq %rbx, %rdi
callq 0x261c
cmpl $0x2, %eax
je 0x55a2
incl 0x4beb(%rip)            # 0xa16c
leaq 0x1e22(%rip), %rdi      # 0x73aa
leaq 0x1e39(%rip), %rsi      # 0x73c8
leaq 0x212b(%rip), %rcx      # 0x76c1
movl $0xf9, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
addq $0x18, %r14
cmpq %r14, %rdi
je 0x55ba
movq (%r14), %rsi
incq %rsi
callq 0x2150
movl $0x30, %esi
movq %rbx, %rdi
callq 0x2150
leaq 0x21d7(%rip), %rsi      # 0x77a5
movq %rsp, %rdi
callq 0x27ec
incl 0x4b98(%rip)            # 0xa174
incl 0x4b8a(%rip)            # 0xa16c
leaq 0x1dc1(%rip), %rdi      # 0x73aa
leaq 0x1dd8(%rip), %rsi      # 0x73c8
leaq 0x1fc9(%rip), %rcx      # 0x75c0
movl $0x106, %edx            # imm = 0x106
xorl %eax, %eax
callq 0x2040
leaq 0x21c8(%rip), %rsi      # 0x77d2
movq %rsp, %rdi
callq 0x27ec
movq %rax, %r14
movq %rax, %rbx
incl 0x4b56(%rip)            # 0xa174
testq %rax, %rax
jne 0x564a
incl 0x4b43(%rip)            # 0xa16c
leaq 0x1d7a(%rip), %rdi      # 0x73aa
leaq 0x1d91(%rip), %rsi      # 0x73c8
leaq 0x1fa4(%rip), %rcx      # 0x75e2
movl $0x10a, %edx            # imm = 0x10A
xorl %eax, %eax
callq 0x2040
incl 0x4b24(%rip)            # 0xa174
cmpb $0x4e, (%rbx)
je 0x567c
incl 0x4b11(%rip)            # 0xa16c
leaq 0x1d48(%rip), %rdi      # 0x73aa
leaq 0x1d5f(%rip), %rsi      # 0x73c8
leaq 0x1f7a(%rip), %rcx      # 0x75ea
movl $0x10b, %edx            # imm = 0x10B
xorl %eax, %eax
callq 0x2040
incl 0x4af2(%rip)            # 0xa174
movq %rbx, %rdi
callq 0x261c
testl %eax, %eax
je 0x56b5
incl 0x4ad8(%rip)            # 0xa16c
leaq 0x1d0f(%rip), %rdi      # 0x73aa
leaq 0x1d26(%rip), %rsi      # 0x73c8
leaq 0x2099(%rip), %rcx      # 0x7742
movl $0x10c, %edx            # imm = 0x10C
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
addq $0x18, %r14
cmpq %r14, %rdi
je 0x56cd
movq (%r14), %rsi
incq %rsi
callq 0x2150
movl $0x30, %esi
movq %rbx, %rdi
callq 0x2150
leaq 0x20fb(%rip), %rsi      # 0x77dc
movq %rsp, %rdi
callq 0x27ec
incl 0x4a85(%rip)            # 0xa174
incl 0x4a77(%rip)            # 0xa16c
leaq 0x1cae(%rip), %rdi      # 0x73aa
leaq 0x1cc5(%rip), %rsi      # 0x73c8
leaq 0x1eb6(%rip), %rcx      # 0x75c0
movl $0x117, %edx            # imm = 0x117
xorl %eax, %eax
callq 0x2040
movq %rsp, %rdi
callq 0x2780
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x5788
movq %rbx, %rdi
movl %edx, %esi
callq 0x240a
callq 0x2210
incl 0x4a31(%rip)            # 0xa174
jmp 0x5716
jmp 0x5785
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x5788
movq %rbx, %rdi
movl %edx, %esi
callq 0x23ac
movq %rsp, %rdi
callq 0x2790
callq 0x2210
incl 0x4a08(%rip)            # 0xa174
jmp 0x5603
jmp 0x5785
movq %rax, %rbx
callq 0x2210
jmp 0x5788
movq %rax, %rdi
callq 0x3b74
movq %rax, %rbx
movq %rsp, %rdi
callq 0x2780
movq %rbx, %rdi
callq 0x2240