// File: /workspace/github_cpp_makefile_star2_O1/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 $0xa8, %rsp
cmpl $0x2, %esi
jl 0x55b0
movq %rdx, %r14
movq %rdi, %rbx
leaq 0x40(%rsp), %rbp
leaq 0x60(%rsp), %r13
movq %rsi, 0x80(%rsp)
movq %r13, %r15
movq 0x8(%r14), %rsi
movq %rbp, %rdi
movq %rsp, %r13
movq %r13, %rdx
callq 0x591c
movl $0x2, %ecx
movq %rbp, %rdi
leaq 0x104a(%rip), %rsi      # 0x6314
xorl %edx, %edx
callq 0x3360
testq %rax, %rax
je 0x5315
movl $0x1, %ecx
movq %rbp, %rdi
leaq 0x1030(%rip), %rsi      # 0x6315
xorl %edx, %edx
callq 0x3360
testq %rax, %rax
movq %r15, %r13
jne 0x557a
movq 0x48(%rsp), %rcx
decq %rcx
movl $0x1, %edx
movq %rsp, %r13
movq %r13, %rdi
movq %rbp, %rsi
callq 0x3250
jmp 0x532e
movq 0x48(%rsp), %rcx
addq $-0x2, %rcx
movl $0x2, %edx
movq %r13, %rdi
movq %rbp, %rsi
callq 0x3250
movq %rbp, %rdi
movq %r13, %rsi
callq 0x32a0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x5354
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3230
movl $0x1, %ecx
movq %rbp, %rdi
leaq 0xf6e(%rip), %rsi       # 0x62d1
xorl %edx, %edx
callq 0x3360
movq %rax, %r13
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
xorl %ecx, %ecx
movq %rcx, 0x8(%rsp)
movb %cl, 0x10(%rsp)
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
movq %rcx, 0x28(%rsp)
movb %cl, 0x30(%rsp)
cmpq $-0x1, %r13
je 0x543b
leaq 0x88(%rsp), %r12
movq %r12, %rdi
movq %rbp, %rsi
xorl %edx, %edx
movq %r13, %rcx
callq 0x3250
movq %rsp, %rdi
movq %r12, %rsi
callq 0x32a0
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x53e6
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x3230
incq %r13
movq 0x48(%rsp), %rcx
subq %r13, %rcx
leaq 0x88(%rsp), %r12
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
callq 0x3250
leaq 0x20(%rsp), %rdi
movq %r12, %rsi
callq 0x32a0
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x5461
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x3230
jmp 0x5461
movq %rsp, %rdi
movq %rbp, %rsi
callq 0x3110
movq 0x28(%rsp), %rdx
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
leaq 0xd94(%rip), %rcx       # 0x61ed
xorl %r8d, %r8d
callq 0x3340
movq %rsp, %r12
movq %r12, %rdi
leaq 0xe65(%rip), %rsi       # 0x62d3
callq 0x30a0
testl %eax, %eax
je 0x5639
movq %r12, %rdi
leaq 0xe58(%rip), %rsi       # 0x62dd
callq 0x30a0
testl %eax, %eax
je 0x5639
movq %r12, %rdi
leaq 0xe46(%rip), %rsi       # 0x62e2
callq 0x30a0
testl %eax, %eax
je 0x5639
movq (%rbx), %r12
cmpq %rbx, %r12
je 0x553b
movq 0x10(%r12), %r13
movq 0x10(%r13), %rdx
cmpq 0x8(%rsp), %rdx
jne 0x5532
testq %rdx, %rdx
je 0x54db
movq (%rsp), %rsi
movq 0x8(%r13), %rdi
callq 0x3240
testl %eax, %eax
jne 0x5532
leaq 0x70(%rsp), %rax
movq %rax, 0x60(%rsp)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
movq %r15, %rbp
movq %r15, %rdi
callq 0x4d7a
movq (%r13), %rax
movq %r13, %rdi
movq %rbp, %rsi
callq *0x10(%rax)
movl %eax, %r13d
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x5529
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3230
testb %r13b, %r13b
je 0x55c2
movq (%r12), %r12
jmp 0x54ac
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x5557
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3230
movq (%rsp), %rdi
leaq 0x10(%rsp), %r12
cmpq %r12, %rdi
movq %r15, %r13
je 0x5575
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3230
leaq 0x40(%rsp), %rbp
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x5596
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3230
addq $0x8, %r14
movq 0x80(%rsp), %rcx
leal -0x1(%rcx), %eax
cmpl $0x2, %ecx
movl %eax, %esi
jg 0x529e
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x3a27(%rip), %rdi      # 0x8ff0
leaq 0xd14(%rip), %rsi       # 0x62e4
movl $0x18, %edx
callq 0x3280
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq 0x3a06(%rip), %rdi      # 0x8ff0
callq 0x3280
movq %rax, %r14
leaq 0xcd8(%rip), %rsi       # 0x62d1
movl $0x1, %edx
movq %rax, %rdi
callq 0x3280
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq %r14, %rdi
callq 0x3280
movq %rax, %rdi
callq 0x30f0
movq 0x39c9(%rip), %rsi      # 0x8ff0
movq %rbx, %rdi
callq 0x56e0
movl $0x1, %edi
callq 0x3290
movq 0x3990(%rip), %rsi      # 0x8fd0
movq %rbx, %rdi
callq 0x56e0
xorl %edi, %edi
callq 0x3290
jmp 0x5651
movq %rax, %rbx
jmp 0x569a
jmp 0x5660
jmp 0x5660
jmp 0x5660
jmp 0x5660
jmp 0x5660
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x567f
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3230
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x569a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3230
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x56b6
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3230
movq %rbx, %rdi
callq 0x3390
movq %rax, %rbx
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x5663
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3230
jmp 0x5663
nop