// File: /workspace/github_cpp_makefile_star2_O1/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 0x72b3(%rip), %rdi      # 0x10b01
movq %rsi, 0x8(%rsp)
xorl %eax, %eax
callq 0x3060
cmpb $0x0, (%rbx)
je 0x9913
leaq 0x72b6(%rip), %r12      # 0x10b20
leaq 0x729f(%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 0x98be
xorl %ebp, %ebp
incl %ebp
movq %r13, %rdi
movl %ebp, %esi
xorl %eax, %eax
callq 0x3060
cmpl 0x18(%r14), %ebp
jl 0x98aa
cmpl $0x0, 0x10(%r14)
je 0x98dd
movl $0x3e, %edi
callq 0x3400
cmpl $0x0, 0x14(%r14)
jne 0x98f8
movl $0x2b, %edi
jmp 0x98f3
movl $0x5d, %edi
callq 0x3400
cmpl $0x0, 0x14(%r14)
jne 0x98f8
movl $0x2a, %edi
callq 0x3400
movl $0x20, %edi
callq 0x3400
incq %r15
leaq (%r15,%r15,4), %rax
cmpb $0x0, (%rbx,%rax,8)
jne 0x9874
leaq 0x7084(%rip), %rdi      # 0x1099e
xorl %eax, %eax
callq 0x3060
leaq 0x71ed(%rip), %rdi      # 0x10b15
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
xorl %eax, %eax
callq 0x3060
movb (%rbx), %al
testb %al, %al
je 0x99df
leaq 0x71da(%rip), %r15      # 0x10b24
leaq 0x71e2(%rip), %r13      # 0x10b33
xorl %r14d, %r14d
leaq (%r14,%r14,4), %rcx
leaq (%rbx,%rcx,8), %r12
movsbl %al, %esi
leaq 0x71b9(%rip), %rdi      # 0x10b1f
xorl %eax, %eax
callq 0x3060
cmpl $0x0, 0x18(%r12)
jle 0x998c
xorl %ebp, %ebp
incl %ebp
movq %r15, %rdi
movl %ebp, %esi
xorl %eax, %eax
callq 0x3060
cmpl 0x18(%r12), %ebp
jl 0x9977
movq 0x8(%r12), %rsi
leaq 0x7193(%rip), %rdi      # 0x10b2b
xorl %eax, %eax
callq 0x3060
cmpl $0x0, 0x18(%r12)
jle 0x99be
xorl %ebp, %ebp
incl %ebp
movq %r15, %rdi
movl %ebp, %esi
xorl %eax, %eax
callq 0x3060
cmpl 0x18(%r12), %ebp
jl 0x99a9
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 0x9954
leaq 0x7177(%rip), %rdi      # 0x10b5d
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3470