// File: /workspace/github_cpp_makefile_star2_O2/Albuso0[P]support/commandline.cpp
// Function: std::CommandLine::Parse(int, char**)
void CommandLine::Parse (int iargc, char *argv[])
	{
		int argc = iargc;
		for (argc--, argv++; argc > 0; argc--, argv++)
		{
			// remove "--" or "-" heading.
			std::string param = *argv;
			std::string::size_type cur = param.find ("--");
			if (cur == 0)
				param = param.substr (2, param.size () - 2);
			else
			{
				cur = param.find ("-");
				if (cur == 0)
					param = param.substr (1, param.size () - 1);
				else
					continue; // invalid argument. ignore.
			}
			// parse "name=value"
			cur = param.find ("=");
			std::string name, value;
			if (cur == std::string::npos)
			{
				name = param;
				value = "";
			}
			else
			{
				name = param.substr (0, cur);
				value = param.substr (cur + 1, param.size () - (cur+1));
			}
                        if (name == "PrintHelp" || name == "help" || name == "h")
                        {
                            // method below never returns.
                            PrintHelp (std::cout);
                            exit (0);
                        } 
			// read value
			for (Items::const_iterator i = m_items.begin (); i != m_items.end (); ++i)
			{
				if ((*i)->m_name == name)
				{
					if (!(*i)->Parse (value))
					{
						std::cerr << "Invalid argument value: "<< name << "=" << value << std::endl;
						PrintHelp (std::cerr);
						exit (1);
					}
				}
			}
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %r15
leaq 0x38(%rsp), %r12
leaq 0x78(%rsp), %r14
cmpl $0x2, %esi
jl 0x40c0
movl %esi, 0xc(%rsp)
addq $0x8, %rdx
movq %rdx, 0x30(%rsp)
movq (%rdx), %rsi
leaq 0x58(%rsp), %r13
movq %r13, %rdi
movq %r12, %rdx
callq 0x386c
movq %r13, %rdi
leaq 0x143b(%rip), %rsi      # 0x5314
xorl %edx, %edx
callq 0x2390
testq %rax, %rax
je 0x3f17
movq %r13, %rdi
leaq 0x1426(%rip), %rsi      # 0x5315
xorl %edx, %edx
callq 0x2390
testq %rax, %rax
jne 0x40a6
movq 0x60(%rsp), %rcx
decq %rcx
movq %r12, %rdi
movq %r13, %rsi
pushq $0x1
popq %rdx
callq 0x2230
jmp 0x3f2e
movq 0x60(%rsp), %rcx
addq $-0x2, %rcx
movq %r12, %rdi
movq %r13, %rsi
pushq $0x2
popq %rdx
callq 0x2230
movq %r13, %rdi
movq %r12, %rsi
callq 0x2270
movq %r12, %rdi
callq 0x20e0
movq %r13, %rdi
leaq 0x1386(%rip), %rsi      # 0x52d1
xorl %edx, %edx
callq 0x2390
leaq 0x48(%rsp), %rcx
movq %rcx, 0x38(%rsp)
andq $0x0, 0x40(%rsp)
leaq 0x20(%rsp), %rcx
movq %rcx, 0x10(%rsp)
andq $0x0, 0x18(%rsp)
movq %rax, %rbp
xorl %eax, %eax
movb %al, 0x48(%rsp)
movb %al, 0x20(%rsp)
cmpq $-0x1, %rbp
je 0x3fe0
leaq 0x98(%rsp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
xorl %edx, %edx
movq %rbp, %rcx
callq 0x2230
movq %r12, %rdi
movq %rbx, %rsi
callq 0x2270
movq %rbx, %rdi
callq 0x20e0
incq %rbp
movq 0x60(%rsp), %rcx
subq %rbp, %rcx
movq %rbx, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x2230
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x2270
movq %rbx, %rdi
callq 0x20e0
jmp 0x3ffc
movq %r12, %rdi
movq %r13, %rsi
callq 0x2120
leaq 0x10(%rsp), %rdi
leaq 0x11f6(%rip), %rsi      # 0x51ed
callq 0x2380
movq %r12, %rdi
leaq 0x12cd(%rip), %rsi      # 0x52d3
callq 0x3a6a
testb %al, %al
jne 0x412d
movq %r12, %rdi
leaq 0x12c0(%rip), %rsi      # 0x52dd
callq 0x3a6a
testb %al, %al
jne 0x412d
movq %r12, %rdi
leaq 0x12ae(%rip), %rsi      # 0x52e2
callq 0x3a6a
movq %r15, %rbx
testb %al, %al
jne 0x412d
movq (%rbx), %rbx
cmpq %r15, %rbx
je 0x408f
movq 0x10(%rbx), %rdi
addq $0x8, %rdi
movq %r12, %rsi
callq 0x42fe
testb %al, %al
je 0x4044
movq 0x10(%rbx), %rbp
movq %r14, %rdi
leaq 0x10(%rsp), %rsi
callq 0x2290
movq (%rbp), %rax
movq %rbp, %rdi
movq %r14, %rsi
callq *0x10(%rax)
movl %eax, %ebp
movq %r14, %rdi
callq 0x20e0
testb %bpl, %bpl
jne 0x4044
jmp 0x40d2
leaq 0x10(%rsp), %rdi
callq 0x20e0
movq %r12, %rdi
callq 0x20e0
leaq 0x58(%rsp), %r13
movl 0xc(%rsp), %ebp
decl %ebp
movq %r13, %rdi
callq 0x20e0
movl %ebp, %esi
movq 0x30(%rsp), %rdx
jmp 0x3ea6
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x3f17(%rip), %rdi      # 0x7ff0
leaq 0x1204(%rip), %rsi      # 0x52e4
callq 0x2200
leaq 0x38(%rsp), %rsi
movq %rax, %rdi
callq 0x21d0
leaq 0x11d8(%rip), %rsi      # 0x52d1
movq %rax, %rdi
callq 0x2200
leaq 0x10(%rsp), %rsi
movq %rax, %rdi
callq 0x21d0
movq %rax, %rdi
callq 0x2100
movq 0x3ed3(%rip), %rsi      # 0x7ff0
movq %r15, %rdi
callq 0x418c
pushq $0x1
popq %rdi
callq 0x2260
movq 0x3e9c(%rip), %rsi      # 0x7fd0
movq %r15, %rdi
callq 0x418c
xorl %edi, %edi
callq 0x2260
jmp 0x4145
movq %rax, %rbx
jmp 0x417a
jmp 0x4163
jmp 0x4163
jmp 0x4163
jmp 0x4163
jmp 0x4163
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x20e0
jmp 0x4166
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x20e0
leaq 0x38(%rsp), %rdi
callq 0x20e0
leaq 0x58(%rsp), %rdi
callq 0x20e0
movq %rbx, %rdi
callq 0x2340