// File: /workspace/github_cpp_makefile_star2_O1/JenTus[P]TCEM/src_TCEM/anyoption.cc
// Function: AnyOption::processCommandArgs()
void
AnyOption::processCommandArgs()
{
   	if( ! ( valueStoreOK() && CommandSet() )  )
	   return;
	   
	if( max_legal_args == 0 )
		max_legal_args = argc;
	new_argv = (int*) malloc( (max_legal_args+1) * sizeof(int) );
	for( int i = 1 ; i < argc ; i++ ){/* ignore first argv */
		if(  argv[i][0] == long_opt_prefix[0] && 
                     argv[i][1] == long_opt_prefix[1] ) { /* long GNU option */
			int match_at = parseGNU( argv[i]+2 ); /* skip -- */
			if( match_at >= 0 && i < argc-1 ) /* found match */
				setValue( options[match_at] , argv[++i] );
		}else if(  argv[i][0] ==  opt_prefix_char ) { /* POSIX char */
			if( POSIX() ){ 
				char ch =  parsePOSIX( argv[i]+1 );/* skip - */ 
				if( ch != '0' && i < argc-1 ) /* matching char */
					setValue( ch ,  argv[++i] );
			} else { /* treat it as GNU option with a - */
				int match_at = parseGNU( argv[i]+1 ); /* skip - */
				if( match_at >= 0 && i < argc-1 ) /* found match */
					setValue( options[match_at] , argv[++i] );
			}
		}else { /* not option but an argument keep index */
			if( new_argc < max_legal_args ){
                                new_argv[ new_argc ] = i ;
                                new_argc++;
                        }else{ /* ignore extra arguments */
                                printVerbose( "Ignoring extra argument: " );
				printVerbose( argv[i] );
				printVerbose( );
				printAutoUsage();
                        }
			printVerbose( "Unknown command argument option : " );
			printVerbose( argv[i] );
			printVerbose( );
			printAutoUsage();
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
callq 0xf3f8
testb %al, %al
je 0xf5f0
cmpb $0x1, 0x98(%rbx)
jne 0xf5f0
cmpl $0x0, 0x2c(%rbx)
jne 0xf48c
movl (%rbx), %eax
movl %eax, 0x2c(%rbx)
movslq 0x2c(%rbx), %rax
leaq 0x4(,%rax,4), %rdi
callq 0x3400
movq %rax, 0x20(%rbx)
cmpl $0x2, (%rbx)
jl 0xf5f0
movl $0x1, %ebp
leaq 0x33ce(%rip), %r14      # 0x12884
leaq 0x33ad(%rip), %r15      # 0x1286a
movq 0x8(%rbx), %rax
movslq %ebp, %r12
movq (%rax,%r12,8), %rsi
movb (%rsi), %al
cmpb 0xa0(%rbx), %al
jne 0xf4e3
movb 0x1(%rsi), %cl
cmpb 0xa1(%rbx), %cl
jne 0xf4e3
addq $0x2, %rsi
jmp 0xf52e
cmpb 0x9f(%rbx), %al
jne 0xf569
incq %rsi
cmpb $0x1, 0x9b(%rbx)
jne 0xf52e
movq %rbx, %rdi
callq 0xf814
cmpb $0x30, %al
je 0xf5e6
movl (%rbx), %ecx
decl %ecx
cmpl %ecx, %ebp
jge 0xf5e6
movq 0x8(%rbx), %rcx
incl %ebp
movq 0x8(%rcx,%r12,8), %rdx
movsbl %al, %esi
movq %rbx, %rdi
callq 0xf90a
jmp 0xf5e6
movq %rbx, %rdi
callq 0xf650
testl %eax, %eax
js 0xf5e6
movl (%rbx), %ecx
decl %ecx
cmpl %ecx, %ebp
jge 0xf5e6
movq 0x8(%rbx), %rcx
movq 0x38(%rbx), %rdx
movl %eax, %eax
movq (%rdx,%rax,8), %rsi
incl %ebp
movq 0x8(%rcx,%r12,8), %rdx
movq %rbx, %rdi
callq 0xf74a
jmp 0xf5e6
movslq 0x28(%rbx), %rax
cmpl 0x2c(%rbx), %eax
jge 0xf57e
movq 0x20(%rbx), %rcx
movl %ebp, (%rcx,%rax,4)
incl 0x28(%rbx)
jmp 0xf5b2
movq %rbx, %rdi
movq %r15, %rsi
callq 0xeea8
movq 0x8(%rbx), %rax
movq (%rax,%r12,8), %rsi
movq %rbx, %rdi
callq 0xeef6
movq %rbx, %rdi
callq 0xee6e
cmpb $0x1, 0xad(%rbx)
jne 0xf5b2
movq %rbx, %rdi
callq 0x10650
movq %rbx, %rdi
movq %r14, %rsi
callq 0xeea8
movq 0x8(%rbx), %rax
movq (%rax,%r12,8), %rsi
movq %rbx, %rdi
callq 0xeef6
movq %rbx, %rdi
callq 0xee6e
cmpb $0x1, 0xad(%rbx)
jne 0xf5e6
movq %rbx, %rdi
callq 0x10650
incl %ebp
cmpl (%rbx), %ebp
jl 0xf4bd
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop