// File: /workspace/github_cpp_makefile_star2_O1/ryuichiueda[P]GlueLang/src/Import.cc
// Function: Import::parsePATH()
bool Import::parsePATH(void)
{
	char *str = getenv("PATH");

	if(str == NULL){
		m_feeder->setPos(m_start_line,m_start_char);
		return false;
	}

	string nokey("");

	char *p = strtok(str,":");
	while(p != NULL){
		string path = string(p) + string("/");
		m_env->setImportPath(&nokey,&path);
		p = strtok(NULL,":");
	}

	m_feeder->getPos(&m_end_line,&m_end_char);
	return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %r14
leaq 0x36e3(%rip), %rdi      # 0x14680
callq 0x63d0
movq %rax, %rbx
testq %rax, %rax
je 0x11180
leaq 0x70(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3884(%rip), %rdx      # 0x14842
leaq 0x60(%rsp), %rdi
movq %rdx, %rsi
callq 0x74e6
leaq 0x3485(%rip), %rsi      # 0x14457
movq %rbx, 0x80(%rsp)
movq %rbx, %rdi
callq 0x64d0
testq %rax, %rax
je 0x11146
movq %rax, %rbx
leaq 0x50(%rsp), %r12
leaq 0x30(%rsp), %r13
leaq 0x10(%rsp), %rbp
leaq 0x40(%rsp), %r15
movq %r12, 0x40(%rsp)
movq %rbx, %rdi
callq 0x6140
leaq (%rax,%rbx), %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x74e6
movq %r13, 0x20(%rsp)
leaq 0x20(%rsp), %rdi
leaq 0x35e2(%rip), %rsi      # 0x14611
leaq 0x35dc(%rip), %rdx      # 0x14612
callq 0x74e6
movq 0x40(%rsp), %rcx
movl $0xf, %esi
cmpq %r12, %rcx
je 0x1104f
movq 0x50(%rsp), %rsi
movq 0x48(%rsp), %r8
movq 0x28(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
jbe 0x11078
movl $0xf, %esi
cmpq %r13, 0x20(%rsp)
je 0x11073
movq 0x30(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x11087
movq 0x20(%rsp), %rsi
movq %r15, %rdi
callq 0x6100
jmp 0x11095
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6390
movq %rbp, (%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x110b3
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x110ba
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x110ee
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x6330
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x11105
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x6330
movq 0x10(%r14), %rdi
leaq 0x60(%rsp), %rsi
movq %rsp, %rdx
callq 0xaf8a
xorl %edi, %edi
leaq 0x3338(%rip), %rsi      # 0x14457
callq 0x64d0
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x1113d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6330
testq %rbx, %rbx
jne 0x11002
movq 0x8(%r14), %rdi
leaq 0x38(%r14), %rsi
addq $0x3c, %r14
movq %r14, %rdx
callq 0x1003e
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
movq 0x80(%rsp), %rbx
je 0x11191
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x6330
jmp 0x11191
movq 0x8(%r14), %rdi
movl 0x30(%r14), %esi
movl 0x34(%r14), %edx
callq 0xf958
testq %rbx, %rbx
setne %al
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x111ab
movq %rax, %rbx
jmp 0x111f9
movq %rax, %rbx
jmp 0x111cf
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x111cf
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x6330
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x111f9
movq 0x50(%rsp), %rsi
jmp 0x111f1
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x111f9
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6330
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x11215
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x6330
movq %rbx, %rdi
callq 0x6580
nopl (%rax)