// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse.c
// Function: get_args
static int				get_args(t_minishell_meta *ms, char *line, int index)
{
	int		i;
	int		quote_bit;
	int		j;

	if ((i = check_endline(line, ms, &j, &quote_bit)) < 0)
		return (-i);
	while (line && line[ms->n = i] && line[i] != 26)
	{
		if (ft_isredir(line[i]) && quote_bit % 2 == 0)
			break ;
		if (ft_isspace(line[i]) && (quote_bit % 2 == 0))
		{
			(ms->arg == NULL) ? ms->arg = ft_strdup("") : (void)ms->arg;
			ms->piped_cmds->args1[index][j++] = ft_strdup(ms->arg);
			while (ft_free(&ms->arg) && line[i] != '\0' && ft_isspace(line[i]))
				i++;
			continue;
		}
		if (line[i] == 24 && (quote_bit = quote_bit + (0 * ++i) + 1))
			continue;
		else
			ms->arg = ft_stradd(ms->arg, line[i]);
		i++;
	}
	return (return_value(ms, index, j, line));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x28(%rbp), %rdx
leaq -0x24(%rbp), %rcx
callq 0x48f0
movl %eax, -0x20(%rbp)
cmpl $0x0, %eax
jge 0x39fd
xorl %eax, %eax
subl -0x20(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x3bda
jmp 0x39ff
xorl %eax, %eax
cmpq $0x0, -0x18(%rbp)
movb %al, -0x29(%rbp)
je 0x3a3f
movq -0x18(%rbp), %rax
movl -0x20(%rbp), %ecx
movq -0x10(%rbp), %rdx
movl %ecx, 0x50(%rdx)
movslq %ecx, %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x29(%rbp)
je 0x3a3f
movq -0x18(%rbp), %rax
movslq -0x20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x1a, %eax
setne %al
movb %al, -0x29(%rbp)
movb -0x29(%rbp), %al
testb $0x1, %al
jne 0x3a4b
jmp 0x3bc4
movq -0x18(%rbp), %rax
movslq -0x20(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6160
cmpl $0x0, %eax
je 0x3a76
movl -0x24(%rbp), %eax
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0x3a76
jmp 0x3bc4
movq -0x18(%rbp), %rax
movslq -0x20(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6bd0
cmpl $0x0, %eax
je 0x3b60
movl -0x24(%rbp), %eax
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0x3b60
movq -0x10(%rbp), %rax
cmpq $0x0, 0x10(%rax)
jne 0x3ac8
leaq 0x4552(%rip), %rdi      # 0x8008
callq 0x1c00
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x10(%rax)
jmp 0x3ac8
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x1c00
movq %rax, %rdx
movq -0x10(%rbp), %rax
movq 0x58(%rax), %rax
movq 0x8(%rax), %rax
movslq -0x1c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -0x28(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x28(%rbp)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x10(%rbp), %rdi
addq $0x10, %rdi
callq 0x1b80
movl %eax, %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x2a(%rbp)
je 0x3b47
movq -0x18(%rbp), %rax
movslq -0x20(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x2a(%rbp)
je 0x3b47
movq -0x18(%rbp), %rax
movslq -0x20(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6bd0
cmpl $0x0, %eax
setne %al
movb %al, -0x2a(%rbp)
movb -0x2a(%rbp), %al
testb $0x1, %al
jne 0x3b50
jmp 0x3b5b
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x3afe
jmp 0x39ff
movq -0x18(%rbp), %rax
movslq -0x20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x18, %eax
jne 0x3b92
movl -0x24(%rbp), %eax
movl -0x20(%rbp), %ecx
addl $0x1, %ecx
movl %ecx, -0x20(%rbp)
imull $0x0, %ecx, %ecx
addl %ecx, %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
cmpl $0x0, %eax
je 0x3b92
jmp 0x39ff
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x18(%rbp), %rax
movslq -0x20(%rbp), %rcx
movsbl (%rax,%rcx), %esi
callq 0x1dc0
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x10(%rax)
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x39ff
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %esi
movl -0x28(%rbp), %edx
movq -0x18(%rbp), %rcx
callq 0x49d0
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)