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

	//! \test hello => hello
	o = sc.eval("\"hello\"");
	mu_assert(o!=NULL);
	mu_assert(o->type=='S');
	mu_assert(o->str().compare("hello")==0);
	delete o;

	//! \test say \\"hello\\" => say "hello"
	o = sc.eval("\"say \\\"hello\\\"\"");
	mu_assert(o!=NULL);
	mu_assert(o->type=='S');
	mu_assert(o->str().compare("say \"hello\"")==0);
	delete o;

	//! \test \\"\\" => ""
	o = sc.eval("\"\"");
	mu_assert(o!=NULL);
	mu_assert(o->type=='S');
	mu_assert(o->str().compare("")==0);
	delete o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x276a
leaq 0x2b43(%rip), %rsi      # 0x7478
movq %rbx, %rdi
callq 0x27e2
movq %rax, %r14
movq %rax, %rbx
movl 0x582b(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x5823(%rip)      # 0xa174
testq %r14, %r14
jne 0x4983
incl 0x5810(%rip)            # 0xa16c
leaq 0x2a44(%rip), %rdi      # 0x73a7
leaq 0x2a5b(%rip), %rsi      # 0x73c5
leaq 0x2c6e(%rip), %rcx      # 0x75df
movl $0x89, %edx
xorl %eax, %eax
callq 0x2040
movl 0x57f1(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x57e9(%rip)      # 0xa174
cmpb $0x53, (%rbx)
je 0x49bd
incl 0x57d6(%rip)            # 0xa16c
leaq 0x2a0a(%rip), %rdi      # 0x73a7
leaq 0x2a21(%rip), %rsi      # 0x73c5
leaq 0x2c98(%rip), %rcx      # 0x7643
movl $0x8a, %edx
xorl %eax, %eax
callq 0x2040
movl 0x57b7(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x57af(%rip)      # 0xa174
movq %rbx, %rdi
callq 0x2654
leaq 0x2a06(%rip), %rsi      # 0x73da
movq %rax, %rdi
callq 0x2080
testl %eax, %eax
je 0x4a07
incl 0x5786(%rip)            # 0xa16c
leaq 0x29ba(%rip), %rdi      # 0x73a7
leaq 0x29d1(%rip), %rsi      # 0x73c5
leaq 0x2c55(%rip), %rcx      # 0x7650
movl $0x8b, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
addq $0x18, %r14
cmpq %r14, %rdi
je 0x4a1f
movq (%r14), %rsi
incq %rsi
callq 0x2150
movl $0x30, %esi
movq %rbx, %rdi
callq 0x2150
leaq 0x2c3a(%rip), %rsi      # 0x766d
movq %rsp, %rdi
callq 0x27e2
movq %rax, %r14
movq %rax, %rbx
movl 0x572d(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x5725(%rip)      # 0xa174
testq %r14, %r14
jne 0x4a81
incl 0x5712(%rip)            # 0xa16c
leaq 0x2946(%rip), %rdi      # 0x73a7
leaq 0x295d(%rip), %rsi      # 0x73c5
leaq 0x2b70(%rip), %rcx      # 0x75df
movl $0x90, %edx
xorl %eax, %eax
callq 0x2040
movl 0x56f3(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x56eb(%rip)      # 0xa174
cmpb $0x53, (%rbx)
je 0x4abb
incl 0x56d8(%rip)            # 0xa16c
leaq 0x290c(%rip), %rdi      # 0x73a7
leaq 0x2923(%rip), %rsi      # 0x73c5
leaq 0x2b9a(%rip), %rcx      # 0x7643
movl $0x91, %edx
xorl %eax, %eax
callq 0x2040
movl 0x56b9(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x56b1(%rip)      # 0xa174
movq %rbx, %rdi
callq 0x2654
leaq 0x29a2(%rip), %rsi      # 0x7474
movq %rax, %rdi
callq 0x2080
testl %eax, %eax
je 0x4b05
incl 0x5688(%rip)            # 0xa16c
leaq 0x28bc(%rip), %rdi      # 0x73a7
leaq 0x28d3(%rip), %rsi      # 0x73c5
leaq 0x2b84(%rip), %rcx      # 0x767d
movl $0x92, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
addq $0x18, %r14
cmpq %r14, %rdi
je 0x4b1d
movq (%r14), %rsi
incq %rsi
callq 0x2150
movl $0x30, %esi
movq %rbx, %rdi
callq 0x2150
leaq 0x2d7a(%rip), %rsi      # 0x78ab
movq %rsp, %rdi
callq 0x27e2
movq %rax, %r14
movq %rax, %rbx
movl 0x562f(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x5627(%rip)      # 0xa174
testq %r14, %r14
jne 0x4b7f
incl 0x5614(%rip)            # 0xa16c
leaq 0x2848(%rip), %rdi      # 0x73a7
leaq 0x285f(%rip), %rsi      # 0x73c5
leaq 0x2a72(%rip), %rcx      # 0x75df
movl $0x97, %edx
xorl %eax, %eax
callq 0x2040
movl 0x55f5(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x55ed(%rip)      # 0xa174
cmpb $0x53, (%rbx)
je 0x4bb9
incl 0x55da(%rip)            # 0xa16c
leaq 0x280e(%rip), %rdi      # 0x73a7
leaq 0x2825(%rip), %rsi      # 0x73c5
leaq 0x2a9c(%rip), %rcx      # 0x7643
movl $0x98, %edx
xorl %eax, %eax
callq 0x2040
movl 0x55bb(%rip), %eax      # 0xa174
incl %eax
movl %eax, 0x55b3(%rip)      # 0xa174
movq %rbx, %rdi
callq 0x2654
leaq 0x27f4(%rip), %rsi      # 0x73c4
movq %rax, %rdi
callq 0x2080
testl %eax, %eax
je 0x4c03
incl 0x558a(%rip)            # 0xa16c
leaq 0x27be(%rip), %rdi      # 0x73a7
leaq 0x27d5(%rip), %rsi      # 0x73c5
leaq 0x2aab(%rip), %rcx      # 0x76a2
movl $0x99, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
addq $0x18, %r14
cmpq %r14, %rdi
je 0x4c1b
movq (%r14), %rsi
incq %rsi
callq 0x2150
movl $0x30, %esi
movq %rbx, %rdi
callq 0x2150
movq %rsp, %rdi
callq 0x2772
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x2772
movq %rbx, %rdi
callq 0x2240