// File: /workspace/github_c_makefile_star2_O0/rpeepz[P]ft_ssl/srcs/inputs.c
// Function: parse_av
int				parse_av(char **av, t_ssl *ssl, int i, int j)
{
	while ((av[++i]) && av[i][0] == '-' && !(j = 0))
	{
		if (av[i][1])
			while (av[i][++j])
			{
				if (valid_flags(ssl, av[i][j]))
					return ((ssl->flag = av[i][j] == HELP_KEY ? 1 : 0) + 1);
				if (ssl->type < 10 && av[i][j] == 's')
				{
					if (ssl->type < 10 && string_input(av, &i, &j, ssl))
						break ;
					ssl->flag = av[--i][--j] ? av[i][j] : 0;
					return (ft_error(2, ft_strtolower(av[1]), ssl));
				}
			}
		else
			break ;
	}
	av[i] ? ssl->file_index[0] += i : 0;
	return (0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movl %ecx, -0x20(%rbp)
movq -0x10(%rbp), %rcx
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
movslq %eax, %rdx
xorl %eax, %eax
cmpq $0x0, (%rcx,%rdx,8)
movb %al, -0x21(%rbp)
je 0x43d7
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
cmpl $0x2d, %ecx
movb %al, -0x21(%rbp)
jne 0x43d7
movl $0x0, -0x20(%rbp)
movb $0x1, %al
movb %al, -0x21(%rbp)
movb -0x21(%rbp), %al
testb $0x1, %al
jne 0x43e3
jmp 0x454a
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
cmpb $0x0, 0x1(%rax)
je 0x4543
jmp 0x43fb
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -0x20(%rbp), %ecx
addl $0x1, %ecx
movl %ecx, -0x20(%rbp)
movslq %ecx, %rcx
cmpb $0x0, (%rax,%rcx)
je 0x4541
movq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x20(%rbp), %rcx
movsbl (%rax,%rcx), %esi
callq 0x63e0
cmpl $0x0, %eax
je 0x4472
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x20(%rbp), %rcx
movsbl (%rax,%rcx), %edx
xorl %eax, %eax
movl $0x1, %ecx
cmpl $0x68, %edx
cmovel %ecx, %eax
movq -0x18(%rbp), %rcx
movl %eax, 0x4(%rcx)
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x4577
movq -0x18(%rbp), %rax
cmpl $0xa, 0x8(%rax)
jge 0x453c
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x73, %eax
jne 0x453c
movq -0x18(%rbp), %rax
cmpl $0xa, 0x8(%rax)
jge 0x44c6
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rcx
leaq -0x1c(%rbp), %rsi
leaq -0x20(%rbp), %rdx
callq 0x3cb0
movsbl %al, %eax
cmpl $0x0, %eax
je 0x44c6
jmp 0x4541
movq -0x10(%rbp), %rax
movl -0x1c(%rbp), %ecx
addl $-0x1, %ecx
movl %ecx, -0x1c(%rbp)
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movl -0x20(%rbp), %ecx
addl $-0x1, %ecx
movl %ecx, -0x20(%rbp)
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
je 0x4508
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movl %eax, -0x28(%rbp)
jmp 0x450f
xorl %eax, %eax
movl %eax, -0x28(%rbp)
jmp 0x450f
movl -0x28(%rbp), %ecx
movq -0x18(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0xa3b0
movq %rax, %rsi
movq -0x18(%rbp), %rdx
movl $0x2, %edi
callq 0x33a0
movl %eax, -0x4(%rbp)
jmp 0x4577
jmp 0x43fb
jmp 0x4545
jmp 0x454a
jmp 0x4396
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
cmpq $0x0, (%rax,%rcx,8)
je 0x456e
movl -0x1c(%rbp), %ecx
movq -0x18(%rbp), %rax
addl 0x408(%rax), %ecx
movl %ecx, 0x408(%rax)
jmp 0x4570
jmp 0x4570
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq