// File: /workspace/github_cpp_makefile_star2_O3/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 0x38c1(%rip), %rdi      # 0x1469a
callq 0x63d0
movq %rax, %rbx
testq %rax, %rax
je 0x10fba
leaq 0x70(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3a62(%rip), %rdx      # 0x1485c
leaq 0x60(%rsp), %rdi
movq %rdx, %rsi
callq 0x74f0
leaq 0x3663(%rip), %rsi      # 0x14471
movq %rbx, 0x80(%rsp)
movq %rbx, %rdi
callq 0x64d0
testq %rax, %rax
je 0x10f80
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 0x74f0
movq %r13, 0x20(%rsp)
leaq 0x20(%rsp), %rdi
leaq 0x37c3(%rip), %rsi      # 0x1462e
leaq 0x37bd(%rip), %rdx      # 0x1462f
callq 0x74f0
movq 0x40(%rsp), %rcx
movl $0xf, %edi
cmpq %r12, %rcx
je 0x10e8b
movq 0x50(%rsp), %rdi
movq 0x48(%rsp), %r8
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x10eb7
movl $0xf, %edi
cmpq %r13, %rsi
je 0x10eb2
movq 0x30(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x10ec1
movq %r15, %rdi
callq 0x6100
jmp 0x10ecf
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 0x10eed
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x10ef4
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 0x10f28
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x6330
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x10f3f
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x6330
movq 0x10(%r14), %rdi
leaq 0x60(%rsp), %rsi
movq %rsp, %rdx
callq 0xaf68
xorl %edi, %edi
leaq 0x3518(%rip), %rsi      # 0x14471
callq 0x64d0
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x10f77
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6330
testq %rbx, %rbx
jne 0x10e3e
movq 0x8(%r14), %rdi
leaq 0x38(%r14), %rsi
addq $0x3c, %r14
movq %r14, %rdx
callq 0xfe78
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
movq 0x80(%rsp), %rbx
je 0x10fcb
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x6330
jmp 0x10fcb
movq 0x8(%r14), %rdi
movl 0x30(%r14), %esi
movl 0x34(%r14), %edx
callq 0xf828
testq %rbx, %rbx
setne %al
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x10fe5
movq %rax, %rbx
jmp 0x11033
movq %rax, %rbx
jmp 0x11009
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x11009
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x6330
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x11033
movq 0x50(%rsp), %rsi
jmp 0x1102b
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x11033
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6330
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x1104f
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x6330
movq %rbx, %rdi
callq 0x6580
nop