LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse_input_line.c
// Function: parse_input_line
char						*parse_input_line(char *line, t_minishell_meta *ms)
{
	int i;

	i = 0;
	while (line[i] != '\0')
	{
		if (line[i] == ';' && line[i - 1] != '\\')
			line[i] = 25;
		if (line[i] == '|' && line[i - 1] != '\\')
			line[i] = 26;
		if (line[i] == '\'' || line[i] == '\"')
		{
			line = replace_semi(line, (i + 1), line[i], ms);
			i = ms->end_quote;
			if (line == NULL && (ms->multiline = 1))
				return (0);
		}
		i++;
	}
	return (line);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
je 0x4007
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x3b, %eax
jne 0x3f4f
movq -0x10(%rbp), %rax
movl -0x1c(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x5c, %eax
je 0x3f4f
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movb $0x19, (%rax,%rcx)
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x7c, %eax
jne 0x3f82
movq -0x10(%rbp), %rax
movl -0x1c(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x5c, %eax
je 0x3f82
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movb $0x1a, (%rax,%rcx)
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x27, %eax
je 0x3fa4
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x22, %eax
jne 0x3ff9
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %esi
addl $0x1, %esi
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movb (%rax,%rcx), %al
movq -0x18(%rbp), %rcx
movsbl %al, %edx
callq 0x3e60
movq %rax, -0x10(%rbp)
movq -0x18(%rbp), %rax
movl 0x48(%rax), %eax
movl %eax, -0x1c(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x3ff7
movq -0x18(%rbp), %rax
movl $0x1, 0x44(%rax)
movb $0x1, %al
testb $0x1, %al
jne 0x3fed
jmp 0x3ff7
movq $0x0, -0x8(%rbp)
jmp 0x400f
jmp 0x3ff9
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x3f07
movq -0x10(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse_input_line.c
// Function: fetch_redir
char						*fetch_redir(char *line, int *i)
{
	char	*redir_seq;
	int		j;

	j = *i;
	redir_seq = NULL;
	redir_seq = ft_stradd(redir_seq, line[*i]);
	j++;
	if (line[j] == '>')
	{
		redir_seq = ft_stradd(redir_seq, line[j]);
		j++;
	}
	*i = j;
	return (redir_seq);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x1c(%rbp)
movq $0x0, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movq -0x8(%rbp), %rax
movq -0x10(%rbp), %rcx
movslq (%rcx), %rcx
movsbl (%rax,%rcx), %esi
callq 0x1dc0
movq %rax, -0x18(%rbp)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
movq -0x8(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x3e, %eax
jne 0x4099
movq -0x18(%rbp), %rdi
movq -0x8(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsbl (%rax,%rcx), %esi
callq 0x1dc0
movq %rax, -0x18(%rbp)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
movl -0x1c(%rbp), %ecx
movq -0x10(%rbp), %rax
movl %ecx, (%rax)
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse_input_line.c
// Function: check_invalid_redir
int							check_invalid_redir(char *line, int i,\
t_minishell_meta *ms)
{
	char *redir_seq;
	char *tmp;

	redir_seq = fetch_redir(line, &i);
	if (ms->arg == NULL)
		tmp = ft_strdup(redir_seq);
	else
		tmp = ft_strjoin(ms->arg, redir_seq);
	ft_free(&ms->arg);
	ms->arg = ft_strdup(tmp);
	ft_free(&tmp);
	ft_free(&redir_seq);
	if (line[i] == 0)
		return (throw_newline_error(ms));
	else if (ft_isredir(line[i]))
	{
		redir_seq = fetch_redir(line, &i);
		syntax_error(redir_seq);
		ft_free(&redir_seq);
		ft_free(&ms->arg);
		return (0);
	}
	ft_free(&redir_seq);
	return (i);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x14(%rbp), %rsi
callq 0x4020
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rax
cmpq $0x0, 0x10(%rax)
jne 0x411e
movq -0x28(%rbp), %rdi
callq 0x1c00
movq %rax, -0x30(%rbp)
jmp 0x4133
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x28(%rbp), %rsi
callq 0x1ca0
movq %rax, -0x30(%rbp)
movq -0x20(%rbp), %rdi
addq $0x10, %rdi
callq 0x1b80
movq -0x30(%rbp), %rdi
callq 0x1c00
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x10(%rax)
leaq -0x30(%rbp), %rdi
callq 0x1b80
leaq -0x28(%rbp), %rdi
callq 0x1b80
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
jne 0x4185
movq -0x20(%rbp), %rdi
callq 0x40b0
movl %eax, -0x4(%rbp)
jmp 0x41e5
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6160
cmpl $0x0, %eax
je 0x41d4
movq -0x10(%rbp), %rdi
leaq -0x14(%rbp), %rsi
callq 0x4020
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
callq 0x6590
leaq -0x28(%rbp), %rdi
callq 0x1b80
movq -0x20(%rbp), %rdi
addq $0x10, %rdi
callq 0x1b80
movl $0x0, -0x4(%rbp)
jmp 0x41e5
jmp 0x41d6
leaq -0x28(%rbp), %rdi
callq 0x1b80
movl -0x14(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse_utils.c
// Function: get_command
char						*get_command(char *line, t_minishell_meta *ms)
{
	int		i;
	char	*command;
	int		quote_bit;

	i = 0;
	quote_bit = 0;
	command = NULL;
	i = pre_process_cmd(&command, i, line, &quote_bit);
	while (line[i] && (!ft_isspace(line[i]) || quote_bit % 2)\
	&& line[i] != '\0' && line[i] != 26)
	{
		if (ft_isredir(line[i]) && !(quote_bit % 2))
			break ;
		if (line[i] != 24)
			command = ft_stradd(command, line[i]);
		else
			quote_bit++;
		i++;
	}
	if (command == NULL)
		command = ft_strdup("");
	ms->arg_start = i;
	return (command);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
movl $0x0, -0x24(%rbp)
movq $0x0, -0x20(%rbp)
movl -0x14(%rbp), %esi
movq -0x8(%rbp), %rdx
leaq -0x20(%rbp), %rdi
leaq -0x24(%rbp), %rcx
callq 0x4340
movl %eax, -0x14(%rbp)
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x25(%rbp)
je 0x4299
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6bd0
cmpl $0x0, %eax
je 0x426e
movl -0x24(%rbp), %eax
movl $0x2, %ecx
cltd
idivl %ecx
xorl %eax, %eax
cmpl $0x0, %edx
movb %al, -0x25(%rbp)
je 0x4299
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x25(%rbp)
je 0x4299
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x1a, %eax
setne %al
movb %al, -0x25(%rbp)
movb -0x25(%rbp), %al
testb $0x1, %al
jne 0x42a2
jmp 0x430d
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6160
cmpl $0x0, %eax
je 0x42ca
movl -0x24(%rbp), %eax
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0x42ca
jmp 0x430d
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x18, %eax
je 0x42f6
movq -0x20(%rbp), %rdi
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %esi
callq 0x1dc0
movq %rax, -0x20(%rbp)
jmp 0x42ff
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x422d
cmpq $0x0, -0x20(%rbp)
jne 0x4324
leaq 0x3ced(%rip), %rdi      # 0x8008
callq 0x1c00
movq %rax, -0x20(%rbp)
movl -0x14(%rbp), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x20(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse_utils.c
// Function: pre_process_cmd
static int					pre_process_cmd(char **command, int i, char *line,\
int *quote_bit)
{
	while (line[i] != '\0' && ft_isspace(line[i]))
		i++;
	if (line[i] == 24 && (*quote_bit = 1))
		i++;
	while (line[i] && ft_isspace(line[i]))
	{
		*command = ft_stradd(*command, line[i]);
		i++;
	}
	return (i);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x18(%rbp), %rax
movslq -0xc(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x21(%rbp)
je 0x4387
movq -0x18(%rbp), %rax
movslq -0xc(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6bd0
cmpl $0x0, %eax
setne %al
movb %al, -0x21(%rbp)
movb -0x21(%rbp), %al
testb $0x1, %al
jne 0x4390
jmp 0x439b
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x4357
movq -0x18(%rbp), %rax
movslq -0xc(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x18, %eax
jne 0x43c7
movq -0x20(%rbp), %rax
movl $0x1, (%rax)
movb $0x1, %al
testb $0x1, %al
jne 0x43be
jmp 0x43c7
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x43c9
movq -0x18(%rbp), %rax
movslq -0xc(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x22(%rbp)
je 0x43f9
movq -0x18(%rbp), %rax
movslq -0xc(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6bd0
cmpl $0x0, %eax
setne %al
movb %al, -0x22(%rbp)
movb -0x22(%rbp), %al
testb $0x1, %al
jne 0x4402
jmp 0x442f
movq -0x8(%rbp), %rax
movq (%rax), %rdi
movq -0x18(%rbp), %rax
movslq -0xc(%rbp), %rcx
movsbl (%rax,%rcx), %esi
callq 0x1dc0
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, (%rax)
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x43c9
movl -0xc(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse_utils.c
// Function: get_redir
char						*get_redir(char *redir,
char *line, t_minishell_meta *ms)
{
	int i;

	i = 0;
	redir = NULL;
	if (line[i] == '\0')
		return (ft_strdup(""));
	while (ft_isredir(line[i]) && line[i] != '\0')
	{
		redir = ft_stradd(redir, line[i]);
		i++;
	}
	ms->arg_start += i;
	return (redir);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movq $0x0, -0x10(%rbp)
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
jne 0x4486
leaq 0x3b8d(%rip), %rdi      # 0x8008
callq 0x1c00
movq %rax, -0x8(%rbp)
jmp 0x44fc
jmp 0x4488
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6160
movl %eax, %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x25(%rbp)
je 0x44ba
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
setne %al
movb %al, -0x25(%rbp)
movb -0x25(%rbp), %al
testb $0x1, %al
jne 0x44c3
jmp 0x44e7
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
movsbl (%rax,%rcx), %esi
callq 0x1dc0
movq %rax, -0x10(%rbp)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x4488
movl -0x24(%rbp), %ecx
movq -0x20(%rbp), %rax
addl 0x8(%rax), %ecx
movl %ecx, 0x8(%rax)
movq -0x10(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse_utils.c
// Function: get_file_name
int							get_file_name(char *line, int i,\
int *quote_bit, char **str)
{
	while (line[i] && line[i] != 26)
	{
		if (line[i] == 24 && (*quote_bit = *quote_bit + 1))
		{
			i++;
			continue;
		}
		if ((ft_isspace(line[i]) || ft_isredir(line[i])) && (*quote_bit % 2))
		{
			str[0] = ft_stradd(str[0], line[i]);
			i++;
			continue;
		}
		if (!ft_isspace(line[i]) && (!ft_isredir(line[i])))
		{
			str[0] = ft_stradd(str[0], line[i]);
			i++;
			continue ;
		}
		return (i);
	}
	return (i);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x29(%rbp)
je 0x4552
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x1a, %eax
setne %al
movb %al, -0x29(%rbp)
movb -0x29(%rbp), %al
testb $0x1, %al
jne 0x455e
jmp 0x4661
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x18, %eax
jne 0x458e
movq -0x20(%rbp), %rax
movl (%rax), %eax
addl $0x1, %eax
movq -0x20(%rbp), %rcx
movl %eax, (%rcx)
cmpl $0x0, %eax
je 0x458e
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x4527
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6bd0
cmpl $0x0, %eax
jne 0x45ba
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6160
cmpl $0x0, %eax
je 0x45fd
movq -0x20(%rbp), %rax
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
je 0x45fd
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %esi
callq 0x1dc0
movq %rax, %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x4527
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6bd0
cmpl $0x0, %eax
jne 0x4659
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6160
cmpl $0x0, %eax
jne 0x4659
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %esi
callq 0x1dc0
movq %rax, %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x4527
movl -0x14(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x4667
movl -0x14(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse_utils2.c
// Function: check_endline
int			check_endline(char *line, t_minishell_meta *ms, int *j, int *q)
{
	int i;

	*j = 0;
	*q = 0;
	i = 0;
	while (line[i] != '\0' && ft_isspace(line[i]))
		i++;
	if ((line[i] == '\0' || line[i] == 26 || ft_isredir(line[i]))\
	&& (ms->no_args = 1))
		return (-i);
	return (i);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x20(%rbp), %rax
movl $0x0, (%rax)
movq -0x28(%rbp), %rax
movl $0x0, (%rax)
movl $0x0, -0x2c(%rbp)
movq -0x10(%rbp), %rax
movslq -0x2c(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x2d(%rbp)
je 0x4953
movq -0x10(%rbp), %rax
movslq -0x2c(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6bd0
cmpl $0x0, %eax
setne %al
movb %al, -0x2d(%rbp)
movb -0x2d(%rbp), %al
testb $0x1, %al
jne 0x495c
jmp 0x4967
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x4923
movq -0x10(%rbp), %rax
movslq -0x2c(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
je 0x499f
movq -0x10(%rbp), %rax
movslq -0x2c(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x1a, %eax
je 0x499f
movq -0x10(%rbp), %rax
movslq -0x2c(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6160
cmpl $0x0, %eax
je 0x49bc
movq -0x18(%rbp), %rax
movl $0x1, 0x4c(%rax)
movb $0x1, %al
testb $0x1, %al
jne 0x49b2
jmp 0x49bc
xorl %eax, %eax
subl -0x2c(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x49c2
movl -0x2c(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse_utils2.c
// Function: return_value
int			return_value(t_minishell_meta *ms, int index, int j, char *line)
{
	int i;

	i = ms->n;
	if (ms->arg)
		ms->piped_cmds->args1[index][j++] = ft_strdup(ms->arg);
	else if (line[i - 1] == 24 && line[i - 2] == 24)
		ms->piped_cmds->args1[index][j++] = ft_strdup("");
	ft_free(&ms->arg);
	ms->piped_cmds->args1[index][j] = 0;
	return (i);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movq %rcx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movl 0x50(%rax), %eax
movl %eax, -0x1c(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x4a33
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x1c00
movq %rax, %rdx
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq 0x8(%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -0x10(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x10(%rbp)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
jmp 0x4a96
movq -0x18(%rbp), %rax
movl -0x1c(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x18, %eax
jne 0x4a94
movq -0x18(%rbp), %rax
movl -0x1c(%rbp), %ecx
subl $0x2, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x18, %eax
jne 0x4a94
leaq 0x35a2(%rip), %rdi      # 0x8008
callq 0x1c00
movq %rax, %rdx
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq 0x8(%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -0x10(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x10(%rbp)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
jmp 0x4a96
movq -0x8(%rbp), %rdi
addq $0x10, %rdi
callq 0x1b80
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq 0x8(%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x10(%rbp), %rcx
movq $0x0, (%rax,%rcx,8)
movl -0x1c(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse_utils2.c
// Function: return_line
char		*return_line(char *line, t_minishell_meta *ms)
{
	ft_free(&line);
	line = ft_strdup(ms->arg);
	ft_free(&ms->arg);
	return (line);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0x8(%rbp), %rdi
callq 0x1b80
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x1c00
movq %rax, -0x8(%rbp)
movq -0x10(%rbp), %rdi
addq $0x10, %rdi
callq 0x1b80
movq -0x8(%rbp), %rax
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse_utils2.c
// Function: free_on_multiline
int			free_on_multiline(t_minishell_meta *ms)
{
	if (ms->arg != NULL && (ms->process_bit = -1))
		ft_free(&ms->arg);
	ft_putstr("Multiline commands not supported\n");
	errno = 1;
	return (1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x4b57
movq -0x8(%rbp), %rax
movl $0xffffffff, 0x18(%rax) # imm = 0xFFFFFFFF
movb $0x1, %al
testb $0x1, %al
jne 0x4b4a
jmp 0x4b57
movq -0x8(%rbp), %rdi
addq $0x10, %rdi
callq 0x1b80
leaq 0x3584(%rip), %rdi      # 0x80e2
callq 0x6ee0
callq 0x1040
movl $0x1, (%rax)
movl $0x1, %eax
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse_utils2.c
// Function: add_to_line
int			add_to_line(char *line, int i, t_minishell_meta *ms)
{
	ms->arg = ft_stradd(ms->arg, 24);
	i = parse_quotes(line, i, ms);
	if (i == 0 && ft_free(&line) && free_on_multiline(ms))
		return (-1);
	ms->arg = ft_stradd(ms->arg, 24);
	return (i);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdi
movl $0x18, %esi
callq 0x1dc0
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %esi
movq -0x20(%rbp), %rdx
callq 0x5c20
movl %eax, -0x14(%rbp)
cmpl $0x0, -0x14(%rbp)
jne 0x4bee
leaq -0x10(%rbp), %rdi
callq 0x1b80
cmpl $0x0, %eax
je 0x4bee
movq -0x20(%rbp), %rdi
callq 0x4b20
cmpl $0x0, %eax
je 0x4bee
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x4c11
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdi
movl $0x18, %esi
callq 0x1dc0
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x10(%rax)
movl -0x14(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse_utils3.c
// Function: check_file_permission
int							check_file_permission(char *path)
{
	struct stat file_stat;

	if (stat(path, &file_stat) >= 0 && ((file_stat.st_mode & S_IXUSR) == 0))
	{
		write_permission_denied(path);
		return (0);
	}
	return (1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x1100
cmpl $0x0, %eax
jl 0x4c64
movl -0x88(%rbp), %eax
andl $0x40, %eax
cmpl $0x0, %eax
jne 0x4c64
movq -0x10(%rbp), %rdi
callq 0x2620
movl $0x0, -0x4(%rbp)
jmp 0x4c6b
movl $0x1, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0xa0, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse_utils3.c
// Function: check_red_err
int							check_red_err(char *line, int i,\
t_minishell_meta *ms)
{
	if (line[i] == '\\')
	{
		if (line[i + 1] == '\0' && ft_free(&line) && free_on_multiline(ms))
			return (-1);
		ms->arg = ft_stradd(ms->arg, line[i + 1]);
		i++;
		return (i);
	}
	else if (line[i] == ';' && (line[i] = 25))
	{
		if (line[i + 1] == ';' && syntax_error(";;")\
		&& ft_free(&ms->arg) && ft_free(&line))
			return (-1);
	}
	else if (line[i] == '|')
	{
		if (line[i] == '|' && i == 0 && syntax_error("|") && ft_free(&line))
			return (-1);
		line[i] = 26;
	}
	ms->arg = ft_stradd(ms->arg, line[i]);
	return (i);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x5c, %eax
jne 0x4d1f
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
jne 0x4ce2
leaq -0x10(%rbp), %rdi
callq 0x1b80
cmpl $0x0, %eax
je 0x4ce2
movq -0x20(%rbp), %rdi
callq 0x4b20
cmpl $0x0, %eax
je 0x4ce2
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x4e23
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %esi
callq 0x1dc0
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x10(%rax)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x4e23
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x3b, %eax
jne 0x4d99
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movb $0x19, (%rax,%rcx)
movb $0x1, %al
testb $0x1, %al
jne 0x4d44
jmp 0x4d99
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x3b, %eax
jne 0x4d97
leaq 0x33a3(%rip), %rdi      # 0x8104
callq 0x6590
cmpl $0x0, %eax
je 0x4d97
movq -0x20(%rbp), %rdi
addq $0x10, %rdi
callq 0x1b80
cmpl $0x0, %eax
je 0x4d97
leaq -0x10(%rbp), %rdi
callq 0x1b80
cmpl $0x0, %eax
je 0x4d97
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x4e23
jmp 0x4df7
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x7c, %eax
jne 0x4df5
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x7c, %eax
jne 0x4de9
cmpl $0x0, -0x14(%rbp)
jne 0x4de9
leaq 0x333f(%rip), %rdi      # 0x8107
callq 0x6590
cmpl $0x0, %eax
je 0x4de9
leaq -0x10(%rbp), %rdi
callq 0x1b80
cmpl $0x0, %eax
je 0x4de9
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x4e23
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movb $0x1a, (%rax,%rcx)
jmp 0x4df7
jmp 0x4df9
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %esi
callq 0x1dc0
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x10(%rax)
movl -0x14(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse_utils3.c
// Function: refine_line
char						*refine_line(char *line, t_minishell_meta *ms)
{
	int		i;

	i = 0;
	while (i < ft_strlen(line))
	{
		if ((line[i] == '\'' || line[i] == '\"')\
		&& (i == 0 || line[i - 1] != '\\'))
		{
			if ((i = add_to_line(line, i, ms)) == -1)
				return (0);
		}
		else if (line[i] == '$')
			i = substitute_value(line, i, ms);
		else if (line[i] != '|' && ft_isredir(line[i]))
		{
			i = check_invalid_redir(line, i, ms);
			if (i == 0 && ft_free(&line))
				return (0);
			continue ;
		}
		else if ((i = check_red_err(line, i, ms)) == -1)
			return (0);
		i++;
	}
	return (return_line(line, ms));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movl %eax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1bd0
movl %eax, %ecx
movl -0x20(%rbp), %eax
cmpl %ecx, %eax
jge 0x4f87
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x27, %eax
je 0x4e85
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x22, %eax
jne 0x4ecb
cmpl $0x0, -0x1c(%rbp)
je 0x4ea1
movq -0x10(%rbp), %rax
movl -0x1c(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x5c, %eax
je 0x4ecb
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %esi
movq -0x18(%rbp), %rdx
callq 0x4b80
movl %eax, -0x1c(%rbp)
cmpl $-0x1, %eax
jne 0x4ec6
movq $0x0, -0x8(%rbp)
jmp 0x4f98
jmp 0x4f79
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x24, %eax
jne 0x4ef4
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %esi
movq -0x18(%rbp), %rdx
callq 0x5df0
movl %eax, -0x1c(%rbp)
jmp 0x4f77
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x7c, %eax
je 0x4f51
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6160
cmpl $0x0, %eax
je 0x4f51
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %esi
movq -0x18(%rbp), %rdx
callq 0x40e0
movl %eax, -0x1c(%rbp)
cmpl $0x0, -0x1c(%rbp)
jne 0x4f4c
leaq -0x10(%rbp), %rdi
callq 0x1b80
cmpl $0x0, %eax
je 0x4f4c
movq $0x0, -0x8(%rbp)
jmp 0x4f98
jmp 0x4e47
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %esi
movq -0x18(%rbp), %rdx
callq 0x4c80
movl %eax, -0x1c(%rbp)
cmpl $-0x1, %eax
jne 0x4f73
movq $0x0, -0x8(%rbp)
jmp 0x4f98
jmp 0x4f75
jmp 0x4f77
jmp 0x4f79
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x4e47
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x4ad0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse_utils3.c
// Function: create_3d_array
char						***create_3d_array(int length)
{
	char	***array;
	int		i;

	i = 0;
	if (!(array = (char***)malloc(sizeof(char**) + length * sizeof(char**))))
		return (NULL);
	while (i <= length)
	{
		if (!(array[i] = (char**)malloc(sizeof(char*) * (length + 1))))
			return (NULL);
		array[i][0] = 0;
		i++;
	}
	return (array);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0xc(%rbp)
movl $0x0, -0x1c(%rbp)
movslq -0xc(%rbp), %rdi
shlq $0x3, %rdi
addq $0x8, %rdi
callq 0x1110
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
jne 0x4fe7
movq $0x0, -0x8(%rbp)
jmp 0x5045
jmp 0x4fe9
movl -0x1c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jg 0x503d
movl -0xc(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rdi
shlq $0x3, %rdi
callq 0x1110
movq -0x18(%rbp), %rcx
movslq -0x1c(%rbp), %rdx
movq %rax, (%rcx,%rdx,8)
cmpq $0x0, %rax
jne 0x501f
movq $0x0, -0x8(%rbp)
jmp 0x5045
movq -0x18(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq $0x0, (%rax)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x4fe9
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_parse_utils3.c
// Function: init_cmds
t_piped_minishell_meta		*init_cmds(int length)
{
	t_piped_minishell_meta	*pipe;

	if (!(pipe = malloc(sizeof(t_piped_minishell_meta))))
		return (NULL);
	if (!(pipe->cmds = (char**)malloc(sizeof(char*) + (length
	* sizeof(char*)))))
		return (NULL);
	pipe->length = length + 1;
	if (!(pipe->args1 = create_3d_array(length)))
		return (NULL);
	if (!(pipe->files1 = create_3d_array(length)))
		return (NULL);
	if (!(pipe->redir = create_3d_array(length)))
		return (NULL);
	if (!(pipe->pipe = (char*)malloc(sizeof(char) * (length + 1))))
		return (NULL);
	pipe->pipe = ft_memset(pipe->pipe, 'x', length);
	pipe->pipe[length] = '\0';
	return (pipe);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0xc(%rbp)
movl $0x30, %edi
callq 0x1110
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
jne 0x507c
movq $0x0, -0x8(%rbp)
jmp 0x517d
movslq -0xc(%rbp), %rdi
shlq $0x3, %rdi
addq $0x8, %rdi
callq 0x1110
movq -0x18(%rbp), %rcx
movq %rax, (%rcx)
cmpq $0x0, %rax
jne 0x50a7
movq $0x0, -0x8(%rbp)
jmp 0x517d
movl -0xc(%rbp), %ecx
addl $0x1, %ecx
movq -0x18(%rbp), %rax
movl %ecx, 0x28(%rax)
movl -0xc(%rbp), %edi
callq 0x4fb0
movq -0x18(%rbp), %rcx
movq %rax, 0x8(%rcx)
cmpq $0x0, %rax
jne 0x50d7
movq $0x0, -0x8(%rbp)
jmp 0x517d
movl -0xc(%rbp), %edi
callq 0x4fb0
movq -0x18(%rbp), %rcx
movq %rax, 0x10(%rcx)
cmpq $0x0, %rax
jne 0x50fa
movq $0x0, -0x8(%rbp)
jmp 0x517d
movl -0xc(%rbp), %edi
callq 0x4fb0
movq -0x18(%rbp), %rcx
movq %rax, 0x18(%rcx)
cmpq $0x0, %rax
jne 0x511a
movq $0x0, -0x8(%rbp)
jmp 0x517d
movl -0xc(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rdi
shlq $0x0, %rdi
callq 0x1110
movq -0x18(%rbp), %rcx
movq %rax, 0x20(%rcx)
cmpq $0x0, %rax
jne 0x5144
movq $0x0, -0x8(%rbp)
jmp 0x517d
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rdi
movslq -0xc(%rbp), %rdx
movl $0x78, %esi
callq 0x6de0
movq %rax, %rcx
movq -0x18(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0xc(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_pipe.c
// Function: unset_fd
void			unset_fd(t_minishell_meta *ms)
{
	if (ms->file_fd == 1)
		close(ms->file_fd);
	if (ms->out_fd != -1)
		dup2(ms->out_fd, 1);
	if (ms->in_fd != -1)
	{
		dup2(ms->in_fd, 0);
		close(ms->in_fd);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
cmpl $0x1, 0x40(%rax)
jne 0x51b2
movq -0x8(%rbp), %rax
movl 0x40(%rax), %edi
callq 0x10a0
movq -0x8(%rbp), %rax
cmpl $-0x1, 0x3c(%rax)
je 0x51cd
movq -0x8(%rbp), %rax
movl 0x3c(%rax), %edi
movl $0x1, %esi
callq 0x1070
movq -0x8(%rbp), %rax
cmpl $-0x1, 0x38(%rax)
je 0x51f1
movq -0x8(%rbp), %rax
movl 0x38(%rax), %edi
xorl %esi, %esi
callq 0x1070
movq -0x8(%rbp), %rax
movl 0x38(%rax), %edi
callq 0x10a0
addq $0x10, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_pipe.c
// Function: spawn_proc
void			spawn_proc(t_minishell_meta *ms, char *line, int in, int i)
{
	pid_t	pid;
	int		out;
	int		stat;

	out = ms->mypipe[1];
	if ((pid = fork()) == 0)
	{
		if (in != 0)
		{
			dup2(in, 0);
			close(in);
		}
		if (out != 1)
		{
			dup2(out, 1);
			close(out);
		}
		process_cmd(ms, line, i);
		exit(errno);
	}
	waitpid(pid, &stat, 0);
	errno = stat / 255;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movl 0x4(%rax), %eax
movl %eax, -0x20(%rbp)
callq 0x1160
movl %eax, -0x1c(%rbp)
cmpl $0x0, %eax
jne 0x527c
cmpl $0x0, -0x14(%rbp)
je 0x5245
movl -0x14(%rbp), %edi
xorl %esi, %esi
callq 0x1070
movl -0x14(%rbp), %edi
callq 0x10a0
cmpl $0x1, -0x20(%rbp)
je 0x5260
movl -0x20(%rbp), %edi
movl $0x1, %esi
callq 0x1070
movl -0x20(%rbp), %edi
callq 0x10a0
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl -0x18(%rbp), %edx
callq 0x61e0
callq 0x1040
movl (%rax), %edi
callq 0x1140
movl -0x1c(%rbp), %edi
leaq -0x24(%rbp), %rsi
xorl %edx, %edx
callq 0x1120
movl -0x24(%rbp), %eax
movl $0xff, %ecx
cltd
idivl %ecx
movl %eax, -0x28(%rbp)
callq 0x1040
movl -0x28(%rbp), %ecx
movl %ecx, (%rax)
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_process.c
// Function: ft_isexecutable
int						ft_isexecutable(char *cmd)
{
	if (cmd[0] == '.' && cmd[1] == '/')
		return (1);
	if (cmd[0] == '.' && cmd[1] == '.' && cmd[2] == '/')
		return (1);
	return (0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x2e, %eax
jne 0x52da
movq -0x10(%rbp), %rax
movsbl 0x1(%rax), %eax
cmpl $0x2f, %eax
jne 0x52da
movl $0x1, -0x4(%rbp)
jmp 0x5310
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x2e, %eax
jne 0x5309
movq -0x10(%rbp), %rax
movsbl 0x1(%rax), %eax
cmpl $0x2e, %eax
jne 0x5309
movq -0x10(%rbp), %rax
movsbl 0x2(%rax), %eax
cmpl $0x2f, %eax
jne 0x5309
movl $0x1, -0x4(%rbp)
jmp 0x5310
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_process.c
// Function: search_and_execute_path
void					search_and_execute_path(t_minishell_meta *ms, int i)
{
	if (ft_strchr(ms->piped_cmds->cmds[i], '/') != NULL)
		ms_execute(ms->piped_cmds->cmds[i], ms->piped_cmds->args1[i], ms->env);
	else if ((ft_strcmp(ms->piped_cmds->cmds[i], "") == 0)\
	|| check_and_execute_path(ms, i) == 0)
		command_not_found(ms, i);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq (%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movl $0x2f, %esi
callq 0x7340
cmpq $0x0, %rax
je 0x55b8
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq (%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq 0x8(%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rdx
callq 0x2820
jmp 0x55fb
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq (%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x2a36(%rip), %rsi      # 0x8008
callq 0x73c0
cmpl $0x0, %eax
je 0x55ed
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0x2300
cmpl $0x0, %eax
jne 0x55f9
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0x60b0
jmp 0x55fb
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_process.c
// Function: process
void					process(t_minishell_meta *ms, char *line)
{
	int		i;
	int		in;

	i = 0;
	in = 0;
	while (ms->piped_cmds->cmds[i] != NULL)
	{
		if (ms->piped_cmds->pipe[i] == '|')
		{
			process_piped_cmd(ms, line, i, &in);
			i++;
			continue;
		}
		process_cmd(ms, line, i);
		i++;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
movl $0x0, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq (%rax), %rax
movslq -0x14(%rbp), %rcx
cmpq $0x0, (%rax,%rcx,8)
je 0x5697
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq 0x20(%rax), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x7c, %eax
jne 0x567c
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl -0x14(%rbp), %edx
leaq -0x18(%rbp), %rcx
callq 0x6280
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x562e
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl -0x14(%rbp), %edx
callq 0x61e0
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x562e
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_pwd.c
// Function: ms_pwd
void					ms_pwd(void)
{
	char *buff;

	errno = 0;
	buff = NULL;
	buff = getcwd(buff, 0);
	ft_putendl_fd(buff, STDOUT_FILENO);
	ft_free(&buff);
	return ;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
callq 0x1040
movl $0x0, (%rax)
movq $0x0, -0x8(%rbp)
movq -0x8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x1090
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x6e70
leaq -0x8(%rbp), %rdi
callq 0x1b80
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_sig_handler.c
// Function: sig_int_handler
void	sig_int_handler(int sig)
{
	if (sig == SIGINT)
	{
		errno = 1;
		ft_putstr(" \b\b \b\b ");
		ft_putstr("\n");
		write(STDERR_FILENO, SHELL_BANNER, 15);
		signal(SIGINT, sig_int_handler);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl %edi, -0x4(%rbp)
cmpl $0x2, -0x4(%rbp)
jne 0x574b
callq 0x1040
movl $0x1, (%rax)
leaq 0x2a03(%rip), %rdi      # 0x8116
callq 0x6ee0
leaq 0x2a70(%rip), %rdi      # 0x818f
callq 0x6ee0
movl $0x2, %edi
leaq 0x28e9(%rip), %rsi      # 0x8019
movl $0xf, %edx
callq 0x1050
movl $0x2, %edi
leaq -0x56(%rip), %rsi       # 0x56f0
callq 0x10f0
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_sig_handler.c
// Function: proc_signal_handler
void	proc_signal_handler(int sig)
{
	errno = 130;
	if (sig == SIGINT)
	{
		ft_putstr_fd("\n", 2);
		signal(SIGINT, proc_signal_handler);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl %edi, -0x4(%rbp)
callq 0x1040
movl $0x82, (%rax)
cmpl $0x2, -0x4(%rbp)
jne 0x579e
leaq 0x2a0c(%rip), %rdi      # 0x818f
movl $0x2, %esi
callq 0x6f10
movl $0x2, %edi
leaq -0x39(%rip), %rsi       # 0x5760
callq 0x10f0
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_sig_handler.c
// Function: get_exit_status
int		get_exit_status(t_minishell_meta *ms)
{
	char	*errno_str;
	int		x;

	errno_str = ft_itoa(errno);
	x = 0;
	while (errno_str[x] != '\0')
	{
		ms->arg = ft_stradd(ms->arg, errno_str[x]);
		x++;
	}
	ft_free(&errno_str);
	return (0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
callq 0x1040
movl (%rax), %edi
callq 0x6c20
movq %rax, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
je 0x5883
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %esi
callq 0x1dc0
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x5843
leaq -0x10(%rbp), %rdi
callq 0x1b80
xorl %eax, %eax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_unset.c
// Function: unset_var
void	unset_var(char *var, t_minishell_meta *ms)
{
	int		i;
	char	*tmp_var;

	i = 0;
	tmp_var = NULL;
	while (var[i] != '=')
	{
		tmp_var = ft_stradd(tmp_var, var[i]);
		i++;
	}
	ms_unset_single(ms->env, tmp_var, ms->path);
	ms_unset_single(ms->export, tmp_var, ms->path);
	ft_free(&tmp_var);
	return ;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
movq $0x0, -0x20(%rbp)
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x3d, %eax
je 0x58f4
movq -0x20(%rbp), %rdi
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %esi
callq 0x1dc0
movq %rax, -0x20(%rbp)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x58bf
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rdi
movq -0x20(%rbp), %rsi
movq -0x10(%rbp), %rax
movq 0x30(%rax), %rdx
callq 0x5940
movq -0x10(%rbp), %rax
movq 0x28(%rax), %rdi
movq -0x20(%rbp), %rsi
movq -0x10(%rbp), %rax
movq 0x30(%rax), %rdx
callq 0x5940
leaq -0x20(%rbp), %rdi
callq 0x1b80
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_unset.c
// Function: ms_unset_single
int		ms_unset_single(char **env, char *arg, char **path)
{
	int		env_len;
	int		i;

	i = -1;
	if (!check_var(arg, "unset"))
		return (0);
	while (env[++i] != 0)
	{
		env_len = (0);
		while (env[i][env_len] != '=' && env[i][env_len] != '\0')
			env_len++;
		if (ft_strlen(arg) != env_len)
			continue;
		if (ft_strncmp(arg, env[i], env_len) != 0)
			continue;
		ft_free(&env[i]);
		while (env[++i] != 0)
			env[i - 1] = env[i];
		env[--i] = 0;
		break ;
	}
	if (ft_strcmp(arg, "PATH") == 0)
		free_path(path);
	return (1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movl $0xffffffff, -0x28(%rbp) # imm = 0xFFFFFFFF
movq -0x18(%rbp), %rdi
leaq 0x274a(%rip), %rsi      # 0x80b0
callq 0x2bb0
cmpl $0x0, %eax
jne 0x597c
movl $0x0, -0x4(%rbp)
jmp 0x5aac
jmp 0x597e
movq -0x10(%rbp), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movl %ecx, -0x28(%rbp)
movslq %ecx, %rcx
cmpq $0x0, (%rax,%rcx,8)
je 0x5a87
movl $0x0, -0x24(%rbp)
movq -0x10(%rbp), %rax
movslq -0x28(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x24(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
cmpl $0x3d, %ecx
movb %al, -0x29(%rbp)
je 0x59db
movq -0x10(%rbp), %rax
movslq -0x28(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x0, %eax
setne %al
movb %al, -0x29(%rbp)
movb -0x29(%rbp), %al
testb $0x1, %al
jne 0x59e4
jmp 0x59ef
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x59a0
movq -0x18(%rbp), %rdi
callq 0x1bd0
cmpl -0x24(%rbp), %eax
je 0x5a02
jmp 0x597e
movq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rax
movslq -0x28(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movslq -0x24(%rbp), %rdx
callq 0x7440
cmpl $0x0, %eax
je 0x5a25
jmp 0x597e
movq -0x10(%rbp), %rdi
movslq -0x28(%rbp), %rax
shlq $0x3, %rax
addq %rax, %rdi
callq 0x1b80
movq -0x10(%rbp), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movl %ecx, -0x28(%rbp)
movslq %ecx, %rcx
cmpq $0x0, (%rax,%rcx,8)
je 0x5a6f
movq -0x10(%rbp), %rax
movslq -0x28(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq -0x10(%rbp), %rax
movl -0x28(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
jmp 0x5a39
movq -0x10(%rbp), %rax
movl -0x28(%rbp), %ecx
addl $-0x1, %ecx
movl %ecx, -0x28(%rbp)
movslq %ecx, %rcx
movq $0x0, (%rax,%rcx,8)
movq -0x18(%rbp), %rdi
leaq 0x271f(%rip), %rsi      # 0x81b1
callq 0x73c0
cmpl $0x0, %eax
jne 0x5aa5
movq -0x20(%rbp), %rdi
callq 0x5ac0
movl $0x1, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_unset.c
// Function: free_path
void	free_path(char **args)
{
	int i;

	i = 0;
	while (args && args[i])
	{
		ft_free(&args[i]);
		args[i] = 0;
		i++;
	}
	if (args)
		args = 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movl $0x0, -0xc(%rbp)
xorl %eax, %eax
cmpq $0x0, -0x8(%rbp)
movb %al, -0xd(%rbp)
je 0x5af2
movq -0x8(%rbp), %rax
movslq -0xc(%rbp), %rcx
cmpq $0x0, (%rax,%rcx,8)
setne %al
movb %al, -0xd(%rbp)
movb -0xd(%rbp), %al
testb $0x1, %al
jne 0x5afb
jmp 0x5b2a
movq -0x8(%rbp), %rdi
movslq -0xc(%rbp), %rax
shlq $0x3, %rax
addq %rax, %rdi
callq 0x1b80
movq -0x8(%rbp), %rax
movslq -0xc(%rbp), %rcx
movq $0x0, (%rax,%rcx,8)
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x5ad3
cmpq $0x0, -0x8(%rbp)
je 0x5b39
movq $0x0, -0x8(%rbp)
addq $0x10, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_unset.c
// Function: ms_unset
void	ms_unset(t_minishell_meta *ms, int i)
{
	int	j;
	int valid_var;

	j = 0;
	errno = 0;
	if (ms->no_args)
		return ;
	while (ms->piped_cmds->args1[i][j] != 0)
	{
		valid_var = ms_unset_single(ms->env, ms->piped_cmds->args1[i][j],\
		ms->path);
		if (valid_var == 0)
		{
			j++;
			continue ;
		}
		ms_unset_single(ms->export, ms->piped_cmds->args1[i][j], ms->path);
		j++;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl $0x0, -0x10(%rbp)
callq 0x1040
movl $0x0, (%rax)
movq -0x8(%rbp), %rax
cmpl $0x0, 0x4c(%rax)
je 0x5b70
jmp 0x5c19
jmp 0x5b72
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq 0x8(%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x10(%rbp), %rcx
cmpq $0x0, (%rax,%rcx,8)
je 0x5c19
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rdi
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq 0x8(%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x10(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdx
callq 0x5940
movl %eax, -0x14(%rbp)
cmpl $0x0, -0x14(%rbp)
jne 0x5bda
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x5b72
movq -0x8(%rbp), %rax
movq 0x28(%rax), %rdi
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq 0x8(%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x10(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdx
callq 0x5940
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x5b72
addq $0x20, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/pvineet44[P]minishell/src/ms_utils.c
// Function: substitute_value
int		substitute_value(char *line, int i, t_minishell_meta *ms)
{
	char	*var;

	var = NULL;
	i++;
	if (line[i] == '?')
		return (i + get_exit_status(ms));
	if (ft_isdigit(line[i]))
		return (i);
	if (!ft_isalpha(line[i]) && line[i] != '_')
	{
		if (line[i] != '\'' && line[i] != '\"')
			ms->arg = ft_stradd(ms->arg, '$');
		return (i - 1);
	}
	while (line[i] && \
	(ft_isalpha(line[i]) || ft_isdigit(line[i]) || line[i] == '_'))
	{
		var = ft_stradd(var, line[i]);
		i++;
	}
	add_env(ms, var);
	free(var);
	return ((i - 1));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movq $0x0, -0x28(%rbp)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x3f, %eax
jne 0x5e43
movl -0x14(%rbp), %eax
movl %eax, -0x2c(%rbp)
movq -0x20(%rbp), %rdi
callq 0x5820
movl %eax, %ecx
movl -0x2c(%rbp), %eax
addl %ecx, %eax
movl %eax, -0x4(%rbp)
jmp 0x5f94
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6ba0
cmpl $0x0, %eax
je 0x5e64
movl -0x14(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x5f94
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6b60
cmpl $0x0, %eax
jne 0x5ed8
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x5f, %eax
je 0x5ed8
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x27, %eax
je 0x5eca
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x22, %eax
je 0x5eca
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdi
movl $0x24, %esi
callq 0x1dc0
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x10(%rax)
movl -0x14(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x5f94
jmp 0x5eda
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x2d(%rbp)
je 0x5f45
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6b60
movl %eax, %ecx
movb $0x1, %al
cmpl $0x0, %ecx
movb %al, -0x2e(%rbp)
jne 0x5f3f
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x6ba0
movl %eax, %ecx
movb $0x1, %al
cmpl $0x0, %ecx
movb %al, -0x2e(%rbp)
jne 0x5f3f
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x5f, %eax
sete %al
movb %al, -0x2e(%rbp)
movb -0x2e(%rbp), %al
movb %al, -0x2d(%rbp)
movb -0x2d(%rbp), %al
testb $0x1, %al
jne 0x5f4e
jmp 0x5f75
movq -0x28(%rbp), %rdi
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsbl (%rax,%rcx), %esi
callq 0x1dc0
movq %rax, -0x28(%rbp)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x5eda
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
callq 0x5fa0
movq -0x28(%rbp), %rdi
callq 0x1030
movl -0x14(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)