// File: /workspace/github_cpp_makefile_star2_O3/pelrun[P]aft/optionParser.c
// Function: printUsage
void printUsage(char * appliName, char* cmdOptionLine, char* description, struct SOption *option)
{
	int i=0;
	int j=0;
	printf("Usage : %s %s ",appliName, cmdOptionLine);
	while (option[i].shortName !=0)
	{
		if (option[i].nbMin == 0)
			printf("[");
		else
			printf("<");
		printf("-%c",option[i].shortName);
		for (j=0;j<option[i].nbArgs;j++)
			printf(" $%d",j+1);
		if (option[i].nbMin == 0)
		{
			printf("]");
			if (option[i].nbMax == 0)
				printf("*");
		}
		else
		{
			printf(">");
			if (option[i].nbMax == 0)
				printf("+");
		}
		printf(" ");
		i++;
	}
	printf("[-h]");
	printf("\n\n%s %s\n\n",appliName, description);
	i = 0;
	while (option[i].shortName !=0)
	{
		printf("\t-%c",option[i].shortName);
		for (j=0;j<option[i].nbArgs;j++)
			printf(" <$%d>",j+1);
		printf(" | --%s",option[i].longName);
		for (j=0;j<option[i].nbArgs;j++)
			printf(" <$%d>",j+1);
		printf("\n\t\t%s\n",option[i].description);
		i++;
	}
	printf("\t-h | --help\n\t\tDisplay help\n\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movq %rdx, 0x10(%rsp)
movq %rsi, %rdx
movq %rdi, %rsi
leaq 0x7224(%rip), %rdi      # 0x10b01
movq %rsi, 0x8(%rsp)
xorl %eax, %eax
callq 0x3060
cmpb $0x0, (%rbx)
je 0x99a2
leaq 0x7227(%rip), %r12      # 0x10b20
leaq 0x7210(%rip), %r13      # 0x10b10
xorl %r15d, %r15d
leaq (%r15,%r15,4), %rax
leaq (%rbx,%rax,8), %r14
cmpl $0x0, 0x10(%r14)
movl $0x3c, %edi
movl $0x5b, %eax
cmovel %eax, %edi
callq 0x3400
movsbl (%r14), %esi
movq %r12, %rdi
xorl %eax, %eax
callq 0x3060
cmpl $0x0, 0x18(%r14)
jle 0x994d
xorl %ebp, %ebp
incl %ebp
movq %r13, %rdi
movl %ebp, %esi
xorl %eax, %eax
callq 0x3060
cmpl 0x18(%r14), %ebp
jl 0x9939
cmpl $0x0, 0x10(%r14)
je 0x996c
movl $0x3e, %edi
callq 0x3400
cmpl $0x0, 0x14(%r14)
jne 0x9987
movl $0x2b, %edi
jmp 0x9982
movl $0x5d, %edi
callq 0x3400
cmpl $0x0, 0x14(%r14)
jne 0x9987
movl $0x2a, %edi
callq 0x3400
movl $0x20, %edi
callq 0x3400
incq %r15
leaq (%r15,%r15,4), %rax
cmpb $0x0, (%rbx,%rax,8)
jne 0x9903
leaq 0x6ff5(%rip), %rdi      # 0x1099e
xorl %eax, %eax
callq 0x3060
leaq 0x715e(%rip), %rdi      # 0x10b15
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
xorl %eax, %eax
callq 0x3060
movb (%rbx), %al
testb %al, %al
je 0x9a6e
leaq 0x714b(%rip), %r15      # 0x10b24
leaq 0x7153(%rip), %r13      # 0x10b33
xorl %r14d, %r14d
leaq (%r14,%r14,4), %rcx
leaq (%rbx,%rcx,8), %r12
movsbl %al, %esi
leaq 0x712a(%rip), %rdi      # 0x10b1f
xorl %eax, %eax
callq 0x3060
cmpl $0x0, 0x18(%r12)
jle 0x9a1b
xorl %ebp, %ebp
incl %ebp
movq %r15, %rdi
movl %ebp, %esi
xorl %eax, %eax
callq 0x3060
cmpl 0x18(%r12), %ebp
jl 0x9a06
movq 0x8(%r12), %rsi
leaq 0x7104(%rip), %rdi      # 0x10b2b
xorl %eax, %eax
callq 0x3060
cmpl $0x0, 0x18(%r12)
jle 0x9a4d
xorl %ebp, %ebp
incl %ebp
movq %r15, %rdi
movl %ebp, %esi
xorl %eax, %eax
callq 0x3060
cmpl 0x18(%r12), %ebp
jl 0x9a38
movq 0x20(%r12), %rsi
movq %r13, %rdi
xorl %eax, %eax
callq 0x3060
incq %r14
leaq (%r14,%r14,4), %rax
movb (%rbx,%rax,8), %al
testb %al, %al
jne 0x99e3
leaq 0x70e8(%rip), %rdi      # 0x10b5d
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3470