// File: /workspace/github_cpp_makefile_star2_O2/ryuichiueda[P]GlueLang/src/DefStr.cc
// Function: DefStr::parse()
bool DefStr::parse(void)
{
	m_feeder->getPos(&m_start_line, &m_start_char);

	bool res = m_feeder->str("str") 
			&& m_feeder->variable(&m_var_name) 
			&& m_feeder->str("=");

	if(!res){
		m_feeder->setPos(m_start_line, m_start_char);
		return false;
	}

	string tmpdir = m_env->getImportPaths("tmpdir")->at(0);

	m_feeder->getPos(&m_end_line, &m_end_char);

	try{
		m_data = new DataStr();
		string f = m_env->m_tmpdir + "/" + m_var_name + "-" + to_string(m_scopes.back());
		m_data->setFifoName(&f);
		m_data->createFifo();
		m_env->setData(m_scopes.back(),&m_var_name,m_data);
	}catch(Environment *e){
		m_error_msg = e->m_error_msg;	
		m_exit_status = 3;
		throw this;
	}catch(DataStr *e){
		m_error_msg = e->m_error_msg;	
		m_exit_status = 3;
		throw this;
	}

	return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x100, %rsp            # imm = 0x100
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
leaq 0x30(%rbx), %rsi
leaq 0x34(%rbx), %rdx
callq 0xd614
movq 0x8(%rbx), %r14
leaq 0x8a77(%rip), %rsi      # 0x11377
leaq 0xe0(%rsp), %rdi
leaq 0xa0(%rsp), %rdx
callq 0x708c
leaq 0xe0(%rsp), %rsi
movq %r14, %rdi
callq 0xd6ae
testb %al, %al
je 0x8979
movq 0x8(%rbx), %rdi
leaq 0x88(%rbx), %rsi
callq 0xcf68
testb %al, %al
je 0x8979
movq 0x8(%rbx), %r14
leaq 0x8dc8(%rip), %rsi      # 0x11710
leaq 0xc0(%rsp), %rdi
movq %rsp, %rdx
callq 0x708c
leaq 0xc0(%rsp), %rsi
movq %r14, %rdi
callq 0xd6ae
movl %eax, %ebp
leaq 0xc0(%rsp), %rdi
callq 0x6150
jmp 0x897b
xorl %ebp, %ebp
leaq 0xe0(%rsp), %rdi
callq 0x6150
testb %bpl, %bpl
je 0x8acf
movq 0x10(%rbx), %rdi
leaq 0x8aab(%rip), %rsi      # 0x11447
callq 0x99cc
movq %rax, %rdi
xorl %esi, %esi
callq 0x8cba
leaq 0xa0(%rsp), %rdi
movq %rax, %rsi
callq 0x6420
movq 0x8(%rbx), %rdi
leaq 0x38(%rbx), %rsi
leaq 0x3c(%rbx), %rdx
callq 0xd614
pushq $0x70
popq %rdi
callq 0x6320
movq %rax, %r12
movq %rax, %rdi
callq 0x7d68
movq %r12, 0xa8(%rbx)
movl $0xc0, %esi
addq 0x10(%rbx), %rsi
leaq 0x8bf8(%rip), %rdx      # 0x115ee
leaq 0x40(%rsp), %rdi
callq 0x70c7
leaq 0x88(%rbx), %r14
leaq 0x60(%rsp), %rdi
leaq 0x40(%rsp), %rsi
movq %r14, %rdx
callq 0x75a1
leaq 0x8851(%rip), %rdx      # 0x11271
leaq 0x80(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x7137
movq 0x50(%rbx), %rax
movl -0x4(%rax), %esi
leaq 0x20(%rsp), %rdi
callq 0x8440
movq %rsp, %rdi
leaq 0x80(%rsp), %rsi
leaq 0x20(%rsp), %rdx
callq 0x7a16
leaq 0x20(%rsp), %rdi
callq 0x6150
leaq 0x80(%rsp), %rdi
callq 0x6150
leaq 0x60(%rsp), %rdi
callq 0x6150
leaq 0x40(%rsp), %rdi
callq 0x6150
movq 0xa8(%rbx), %rdi
movq %rsp, %rsi
callq 0x7e0c
movq 0xa8(%rbx), %rdi
callq 0x7dc8
movq 0x10(%rbx), %rdi
movq 0x50(%rbx), %rax
movl -0x4(%rax), %esi
movq 0xa8(%rbx), %rcx
movq %r14, %rdx
callq 0xa180
movq %rsp, %rdi
callq 0x6150
leaq 0xa0(%rsp), %rdi
callq 0x6150
jmp 0x8ade
movq 0x8(%rbx), %rdi
movl 0x30(%rbx), %esi
movl 0x34(%rbx), %edx
callq 0xd0a2
movl %ebp, %eax
addq $0x100, %rsp            # imm = 0x100
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0xc0(%rsp), %rdi
callq 0x6150
jmp 0x8c17
jmp 0x8c14
movq %rdx, %r15
movq %rax, %r14
leaq 0x20(%rsp), %rdi
callq 0x6150
jmp 0x8b22
movq %rdx, %r15
movq %rax, %r14
leaq 0x80(%rsp), %rdi
callq 0x6150
jmp 0x8b37
movq %rdx, %r15
movq %rax, %r14
leaq 0x60(%rsp), %rdi
callq 0x6150
jmp 0x8b49
movq %rdx, %r15
movq %rax, %r14
leaq 0x40(%rsp), %rdi
jmp 0x8b86
jmp 0x8b65
movq %rdx, %r15
movq %rax, %r14
pushq $0x70
popq %rsi
movq %r12, %rdi
callq 0x6330
jmp 0x8b8b
movq %rdx, %r15
movq %rax, %r14
jmp 0x8b8b
movq %rax, %r14
jmp 0x8c29
movq %rax, %r14
jmp 0x8c36
movq %rdx, %r15
movq %rax, %r14
movq %rsp, %rdi
callq 0x6150
cmpl $0x2, %r15d
jne 0x8bd1
movq %r14, %rdi
callq 0x6120
leaq 0xa0(%rax), %rsi
leaq 0x60(%rbx), %rdi
callq 0x61c0
movl $0x3, 0x80(%rbx)
pushq $0x8
popq %rdi
callq 0x6190
movq %rbx, (%rax)
leaq 0x109db(%rip), %rsi     # 0x195a0
movq %rax, %rdi
xorl %edx, %edx
callq 0x6540
jmp 0x8c12
cmpl $0x1, %r15d
jne 0x8c29
movq %r14, %rdi
callq 0x6120
leaq 0x8(%rax), %rsi
leaq 0x60(%rbx), %rdi
callq 0x61c0
movl $0x3, 0x80(%rbx)
pushq $0x8
popq %rdi
callq 0x6190
movq %rbx, (%rax)
leaq 0x10998(%rip), %rsi     # 0x195a0
movq %rax, %rdi
xorl %edx, %edx
callq 0x6540
jmp 0x8c21
movq %rax, %r14
leaq 0xe0(%rsp), %rdi
jmp 0x8c31
movq %rax, %r14
callq 0x6500
leaq 0xa0(%rsp), %rdi
callq 0x6150
movq %r14, %rdi
callq 0x6560