LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebx
movl %edx, %r13d
movq %rsi, %r14
movq %rdi, %r15
movl 0x4(%rdi), %r12d
callq 0x1160
testl %eax, %eax
je 0x390f
leaq -0x2c(%rbp), %rbx
movl %eax, %edi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x1120
movl (%rbx), %eax
movl $0xff, %ecx
cltd
idivl %ecx
movl %eax, %ebx
callq 0x1040
movl %ebx, (%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testl %r13d, %r13d
je 0x3926
movl %r13d, %edi
xorl %esi, %esi
callq 0x1070
movl %r13d, %edi
callq 0x10a0
cmpl $0x1, %r12d
je 0x393f
pushq $0x1
popq %rsi
movl %r12d, %edi
callq 0x1070
movl %r12d, %edi
callq 0x10a0
movq %r15, %rdi
movq %r14, %rsi
movl %ebx, %edx
callq 0x4291
callq 0x1040
movl (%rax), %edi
callq 0x1140
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/src/ms_process.c
// Function: process_builtin
int						process_builtin(t_minishell_meta *ms, int i, char *line)
{
	int stat;

	stat = 0;
	if (ft_strcmp(ms->piped_cmds->cmds[i], CMD_EXIT) == 0 && (stat = 1))
		ms_exit(ms, line, i);
	else if (ft_strcmp(ms->piped_cmds->cmds[i], CMD_PWD) == 0 && (stat = 1))
		ms_pwd();
	else if (ft_strcmp(ms->piped_cmds->cmds[i], CMD_CD) == 0 && (stat = 1))
		ms_cd(ms->piped_cmds->args1[i][0], ms);
	else if (ft_strcmp(ms->piped_cmds->cmds[i], CMD_ENV) == 0 && (stat = 1))
		ms_env(ms->env);
	else if (ft_strcmp(ms->piped_cmds->cmds[i], CMD_ECHO) == 0 && (stat = 1))
		ms_echo(ms->piped_cmds->args1[i]);
	else if (ft_strcmp(ms->piped_cmds->cmds[i], CMD_UNSET) == 0 && (stat = 1))
		ms_unset(ms, i);
	else if (ft_strcmp(ms->piped_cmds->cmds[i], CMD_EXPORT) == 0 && (stat = 1))
		ms_export(ms, i);
	return (stat);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r15
movl %esi, %r14d
movq %rdi, %rbx
movq 0x58(%rdi), %rax
movq (%rax), %rax
movslq %esi, %r12
movq (%rax,%r12,8), %rdi
leaq 0x1663(%rip), %rsi      # 0x500a
callq 0x4c74
testl %eax, %eax
je 0x3a73
movq 0x58(%rbx), %rax
movq (%rax), %rax
movq (%rax,%r12,8), %rdi
leaq 0x1743(%rip), %rsi      # 0x5109
callq 0x4c74
testl %eax, %eax
je 0x3a83
movq 0x58(%rbx), %rax
movq (%rax), %rax
movq (%rax,%r12,8), %rdi
leaq 0x1669(%rip), %rsi      # 0x504e
callq 0x4c74
movq 0x58(%rbx), %rcx
testl %eax, %eax
je 0x3a8c
movq (%rcx), %rax
movq (%rax,%r12,8), %rdi
leaq 0x1709(%rip), %rsi      # 0x510d
callq 0x4c74
testl %eax, %eax
je 0x3aa1
movq 0x58(%rbx), %rax
movq (%rax), %rax
movq (%rax,%r12,8), %rdi
leaq 0x16ee(%rip), %rsi      # 0x5111
callq 0x4c74
movq 0x58(%rbx), %rcx
testl %eax, %eax
je 0x3aac
movq (%rcx), %rax
movq (%rax,%r12,8), %rdi
leaq 0x1672(%rip), %rsi      # 0x50b0
callq 0x4c74
testl %eax, %eax
je 0x3abb
movq 0x58(%rbx), %rax
movq (%rax), %rax
movq (%rax,%r12,8), %rdi
leaq 0x165d(%rip), %rsi      # 0x50b6
callq 0x4c74
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0x3ac9
movq %rbx, %rdi
movl %r14d, %esi
callq 0x2428
jmp 0x3ac6
movq %rbx, %rdi
movq %r15, %rsi
movl %r14d, %edx
callq 0x20ea
jmp 0x3ac6
xorl %eax, %eax
callq 0x3bd0
jmp 0x3ac6
movq 0x8(%rcx), %rax
movq (%rax,%r12,8), %rax
movq (%rax), %rdi
movq %rbx, %rsi
callq 0x1b9c
jmp 0x3ac6
movq 0x20(%rbx), %rdi
callq 0x1e14
jmp 0x3ac6
movq 0x8(%rcx), %rax
movq (%rax,%r12,8), %rdi
callq 0x1d80
jmp 0x3ac6
movq %rbx, %rdi
movl %r14d, %esi
callq 0x3ef4
pushq $0x1
popq %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %r14d
movq %rdi, %rbx
movq 0x58(%rdi), %rax
movq (%rax), %rax
movslq %esi, %r15
movq (%rax,%r15,8), %rdi
pushq $0x2f
popq %rsi
callq 0x4c2c
movq 0x58(%rbx), %rcx
movq (%rcx), %rdx
movq (%rdx,%r15,8), %rdi
testq %rax, %rax
je 0x3b23
movq 0x8(%rcx), %rax
movq (%rax,%r15,8), %rsi
movq 0x20(%rbx), %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x1ffe
leaq 0x14de(%rip), %rsi      # 0x5008
callq 0x4c74
testl %eax, %eax
je 0x3b4d
movq %rbx, %rdi
movl %r14d, %esi
callq 0x1c5b
testl %eax, %eax
je 0x3b4d
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
movl %r14d, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x41cf
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq -0x24(%rbp), %r15
andl $0x0, (%r15)
xorl %r12d, %r12d
movq 0x58(%r14), %rax
movq (%rax), %rcx
cmpq $0x0, (%rcx,%r12,8)
je 0x3bc1
movq 0x20(%rax), %rax
cmpb $0x7c, (%rax,%r12)
jne 0x3bae
movq %r14, %rdi
movq %rbx, %rsi
movl %r12d, %edx
movq %r15, %rcx
callq 0x4319
jmp 0x3bbc
movq %r14, %rdi
movq %rbx, %rsi
movl %r12d, %edx
callq 0x4291
incq %r12
jmp 0x3b82
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O2/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
pushq %rbx
pushq %rax
callq 0x1040
andl $0x0, (%rax)
xorl %edi, %edi
xorl %esi, %esi
callq 0x1090
leaq -0x10(%rbp), %rbx
movq %rax, (%rbx)
pushq $0x1
popq %rsi
movq %rax, %rdi
callq 0x49c8
movq %rbx, %rdi
callq 0x1790
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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:
cmpl $0x2, %edi
jne 0x3c5e
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
callq 0x1040
movl $0x1, (%rax)
leaq 0x14f1(%rip), %rdi      # 0x5116
callq 0x4a18
leaq 0x155e(%rip), %rdi      # 0x518f
callq 0x4a18
leaq 0x13dc(%rip), %rsi      # 0x5019
pushq $0x2
popq %rbx
pushq $0xf
popq %rdx
movl %ebx, %edi
callq 0x1050
leaq -0x49(%rip), %rsi       # 0x3c08
movl %ebx, %edi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x10f0
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq %rbx
pushq %rax
movl %edi, %ebx
callq 0x1040
movl $0x82, (%rax)
cmpl $0x2, %ebx
jne 0x3c9c
leaq 0x1511(%rip), %rdi      # 0x518f
pushq $0x2
popq %rbx
movl %ebx, %esi
callq 0x4a3c
leaq -0x30(%rip), %rsi       # 0x3c5f
movl %ebx, %edi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x10f0
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
callq 0x1040
movl (%rax), %edi
callq 0x48c4
movq %rax, %r14
movq %rax, -0x18(%rbp)
movb (%r14), %al
testb %al, %al
je 0x3d31
movq 0x10(%rbx), %rdi
movsbl %al, %esi
callq 0x18b1
movq %rax, 0x10(%rbx)
incq %r14
jmp 0x3d15
leaq -0x18(%rbp), %rdi
callq 0x1790
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r15
xorl %r14d, %r14d
movb (%r15), %al
cmpb $0x3d, %al
je 0x3d75
movsbl %al, %esi
movq %r14, %rdi
callq 0x18b1
movq %rax, %r14
incq %r15
jmp 0x3d5b
leaq -0x20(%rbp), %r15
movq %r14, (%r15)
movq 0x20(%rbx), %rdi
movq 0x30(%rbx), %rdx
movq %r14, %rsi
callq 0x3daf
movq 0x28(%rbx), %rdi
movq 0x30(%rbx), %rdx
movq %r14, %rsi
callq 0x3daf
movq %r15, %rdi
callq 0x1790
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, %rax
movq %rdi, %r12
leaq 0x12e0(%rip), %rsi      # 0x50b0
movq %rax, -0x30(%rbp)
movq %rax, %rdi
callq 0x221c
testl %eax, %eax
je 0x3e5b
movq %rbx, -0x40(%rbp)
leaq 0x8(%r12), %r14
pushq $-0x1
popq %r15
xorl %ebx, %ebx
movq %r12, -0x38(%rbp)
movq 0x8(%r12,%r15,8), %rax
testq %rax, %rax
je 0x3e94
leaq (%r12,%r15,8), %r12
addq $0x8, %r12
incq %r15
xorl %r13d, %r13d
movzbl (%rax,%r13), %ecx
testl %ecx, %ecx
je 0x3e22
cmpl $0x3d, %ecx
je 0x3e22
incq %r13
jmp 0x3e0f
movq -0x30(%rbp), %rdi
callq 0x17b9
cmpl %r13d, %eax
jne 0x3e44
movq (%r12), %rsi
movq -0x30(%rbp), %rdi
movq %r13, %rdx
callq 0x4c98
testl %eax, %eax
je 0x3e60
movabsq $0x100000000, %rax      # imm = 0x100000000
addq %rax, %rbx
addq $0x8, %r14
movq -0x38(%rbp), %r12
jmp 0x3df3
xorl %r14d, %r14d
jmp 0x3eb5
movq %r12, %rdi
callq 0x1790
movq -0x38(%rbp), %rcx
movq (%r14), %rax
testq %rax, %rax
je 0x3e8b
movq %rax, -0x8(%r14)
movabsq $0x100000000, %rax      # imm = 0x100000000
addq %rax, %rbx
addq $0x8, %r14
jmp 0x3e6c
sarq $0x1d, %rbx
andq $0x0, (%rcx,%rbx)
leaq 0x1316(%rip), %rsi      # 0x51b1
movq -0x30(%rbp), %rdi
callq 0x4c74
pushq $0x1
popq %r14
testl %eax, %eax
jne 0x3eb5
movq -0x40(%rbp), %rdi
callq 0x3ec7
movl %r14d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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:
testq %rdi, %rdi
je 0x3ef3
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq $0x0, (%rbx)
je 0x3eed
movq %rbx, %rdi
callq 0x1790
andq $0x0, (%rbx)
addq $0x8, %rbx
jmp 0x3ed5
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %r14d
movq %rdi, %rbx
callq 0x1040
andl $0x0, (%rax)
cmpl $0x0, 0x4c(%rbx)
je 0x3f1d
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movslq %r14d, %r14
xorl %r15d, %r15d
movq 0x58(%rbx), %rax
movq 0x8(%rax), %rax
movq (%rax,%r14,8), %rax
movq (%rax,%r15), %rsi
testq %rsi, %rsi
je 0x3f12
movq 0x20(%rbx), %rdi
movq 0x30(%rbx), %rdx
callq 0x3daf
testl %eax, %eax
je 0x3f66
movq 0x58(%rbx), %rax
movq 0x8(%rax), %rax
movq (%rax,%r14,8), %rax
movq (%rax,%r15), %rsi
movq 0x28(%rbx), %rdi
movq 0x30(%rbx), %rdx
callq 0x3daf
addq $0x8, %r15
jmp 0x3f23
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/src/ms_utils.c
// Function: parse_quotes
int		parse_quotes(char *line, int i, t_minishell_meta *ms)
{
	int		quote_bit;
	char	quote;

	quote = line[i];
	quote_bit = line[i++] == '\'' ? 1 : 0;
	while ((line[i] != '\0') && (line[i] != quote))
	{
		if (line[i] == '\\' && ((line[i + 1] == '\"' && !quote_bit)\
		|| (line[i + 1] == '\\' && !quote_bit) || line[i + 1] == '$'))
		{
			ms->arg = ft_stradd(ms->arg, line[i + 1]);
			i = i + 2;
			continue;
		}
		if (line[i] == '$' && !quote_bit && ft_isalpha(line[i + 1]))
		{
			i = substitute_value(line, i, ms);
			i++;
			continue;
		}
		ms->arg = ft_stradd(ms->arg, line[i]);
		i++;
	}
	return (line[i] != quote ? 0 : i);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
movslq %esi, %r15
movb (%rdi,%r15), %r12b
incl %r15d
movslq %r15d, %r13
movb (%r14,%r13), %cl
testb %cl, %cl
je 0x4030
cmpb %r12b, %cl
je 0x4030
cmpb $0x5c, %cl
jne 0x3fe1
cmpb $0x27, %r12b
sete %cl
movb 0x1(%r14,%r13), %al
cmpb $0x22, %al
setne %dl
cmpb $0x5c, %al
setne %sil
cmpb $0x24, %al
je 0x3fcb
andb %sil, %dl
orb %cl, %dl
movb $0x5c, %cl
jne 0x401b
movq 0x10(%rbx), %rdi
movsbl %al, %esi
callq 0x18b1
movq %rax, 0x10(%rbx)
addl $0x2, %r15d
jmp 0x3f8a
cmpb $0x27, %r12b
sete %al
cmpb $0x24, %cl
setne %dl
orb %al, %dl
jne 0x401b
movsbl 0x1(%r14,%r13), %edi
callq 0x4870
testl %eax, %eax
je 0x4017
movq %r14, %rdi
movl %r15d, %esi
movq %rbx, %rdx
callq 0x4048
movl %eax, %r15d
jmp 0x3f87
movb (%r14,%r13), %cl
movq 0x10(%rbx), %rdi
movsbl %cl, %esi
callq 0x18b1
movq %rax, 0x10(%rbx)
jmp 0x3f87
xorl %eax, %eax
cmpb %r12b, %cl
cmovel %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %r12
movslq %esi, %r13
leaq 0x1(%r13), %r15
movsbl 0x1(%rdi,%r13), %edi
cmpl $0x3f, %edi
jne 0x407e
movq %r14, %rdi
callq 0x3cf4
addl %r15d, %eax
movl %eax, %r15d
jmp 0x40f8
movl %esi, %ebx
callq 0x4884
testl %eax, %eax
jne 0x40f8
movsbl (%r12,%r15), %edi
callq 0x4870
testl %eax, %eax
je 0x410a
addq %r13, %r12
incq %r12
xorl %r15d, %r15d
movsbl (%r12), %edi
testl %edi, %edi
je 0x40e2
callq 0x4870
movb (%r12), %cl
testl %eax, %eax
jne 0x40cd
movsbl %cl, %edi
callq 0x4884
movb (%r12), %cl
testl %eax, %eax
jne 0x40cd
cmpb $0x5f, %cl
movb $0x5f, %cl
jne 0x40e2
movsbl %cl, %esi
movq %r15, %rdi
callq 0x18b1
movq %rax, %r15
incl %ebx
incq %r12
jmp 0x40a0
movq %r14, %rdi
movq %r15, %rsi
callq 0x4134
movq %r15, %rdi
callq 0x1030
movl %ebx, %r15d
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movzbl (%r12,%r15), %eax
cmpl $0x22, %eax
je 0x40f5
cmpl $0x27, %eax
je 0x40f5
cmpl $0x5f, %eax
je 0x4097
movq 0x10(%r14), %rdi
pushq $0x24
popq %rsi
callq 0x18b1
movq %rax, 0x10(%r14)
jmp 0x40f5
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/src/ms_utils.c
// Function: add_env
void	add_env(t_minishell_meta *ms, char *var)
{
	int		env_len;
	int		var_len;
	int		i;

	i = -1;
	var_len = ft_strlen(var);
	while (ms->env[++i] != 0)
	{
		env_len = 0;
		while (ms->env[i][env_len] != '=')
			env_len++;
		if (var_len != env_len)
			continue;
		if (ft_strncmp(var, ms->env[i], var_len) != 0)
			continue;
		env_len++;
		while (ms->env[i][env_len] != '\0')
		{
			ms->arg = ft_stradd(ms->arg, ms->env[i][env_len]);
			env_len++;
		}
		break ;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq %rsi, -0x38(%rbp)
movq %rsi, %rdi
callq 0x17b9
cltq
movq %rax, -0x30(%rbp)
leal 0x1(%rax), %r14d
pushq $-0x1
popq %r15
movq 0x20(%rbx), %rax
movq 0x8(%rax,%r15,8), %rsi
testq %rsi, %rsi
je 0x41c0
movq %r15, %r12
incq %r15
xorl %r13d, %r13d
cmpb $0x3d, (%rsi,%r13)
leaq 0x1(%r13), %r13
jne 0x4179
cmpl %r13d, %r14d
jne 0x4162
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rdx
callq 0x4c98
testl %eax, %eax
jne 0x4162
jmp 0x41af
movq 0x10(%rbx), %rdi
movsbl %al, %esi
callq 0x18b1
movq %rax, 0x10(%rbx)
incq %r13
movq 0x20(%rbx), %rax
movq 0x8(%rax,%r12,8), %rax
movb (%rax,%r13), %al
testb %al, %al
jne 0x419c
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/src/ms_utils.c
// Function: command_not_found
void	command_not_found(t_minishell_meta *ms, int i)
{
	if (ms->piped_cmds->files1[i][0] != 0)
		unset_fd(ms);
	write(STDERR_FILENO, "minishell: ", 11);
	write(STDERR_FILENO, ms->piped_cmds->cmds[i],
	ft_strlen(ms->piped_cmds->cmds[i]));
	write(STDERR_FILENO, COMMAND_NOT_FOUND, 20);
	errno = 127;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x58(%rdi), %rax
movq 0x10(%rax), %rax
movslq %esi, %r15
movq (%rax,%r15,8), %rax
cmpq $0x0, (%rax)
je 0x41f9
movq %rbx, %rdi
callq 0x386c
leaq 0xf30(%rip), %rsi       # 0x5130
pushq $0x2
popq %r14
pushq $0xb
popq %rdx
movl %r14d, %edi
callq 0x1050
movq 0x58(%rbx), %rax
movq (%rax), %rax
movq (%rax,%r15,8), %rbx
movq %rbx, %rdi
callq 0x17b9
movslq %eax, %rdx
movl %r14d, %edi
movq %rbx, %rsi
callq 0x1050
leaq 0xf05(%rip), %rsi       # 0x513c
pushq $0x14
popq %rdx
movl %r14d, %edi
callq 0x1050
callq 0x1040
movl $0x7f, (%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/src/ms_utils2.c
// Function: process_cmd
void				process_cmd(t_minishell_meta *ms, char *line, int i)
{
	if (ms->piped_cmds->files1[i][0] != 0)
	{
		handle_fd(ms, i);
	}
	if (ms->process_bit >= 0 && process_builtin(ms, i, line) == 0)
	{
		search_and_execute_path(ms, i);
	}
	if ((ms->piped_cmds->files1[i][0] != 0) && (ms->multiline != -99))
	{
		unset_fd(ms);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
movq 0x58(%rdi), %rax
movq 0x10(%rax), %rax
movslq %edx, %r12
movq (%rax,%r12,8), %rax
cmpq $0x0, (%rax)
je 0x42c5
movq %rbx, %rdi
movl %r14d, %esi
callq 0x2813
cmpl $0x0, 0x18(%rbx)
js 0x42e8
movq %rbx, %rdi
movl %r14d, %esi
movq %r15, %rdx
callq 0x397e
testl %eax, %eax
jne 0x42e8
movq %rbx, %rdi
movl %r14d, %esi
callq 0x3ad2
movq 0x58(%rbx), %rax
movq 0x10(%rax), %rax
movq (%rax,%r12,8), %rax
cmpq $0x0, (%rax)
je 0x4300
cmpl $-0x63, 0x44(%rbx)
jne 0x4309
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x386c
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/src/ms_utils2.c
// Function: process_piped_cmd
void				process_piped_cmd(t_minishell_meta *ms, char *line,
int i, int *in)
{
	static	pid_t	pid;
	int				stat;

	if (!ms->piped_cmds->pipe[i + 1] || (ms->piped_cmds->pipe[i + 1] != '|'))
	{
		if ((pid = fork()) == 0)
		{
			if (*in != 0)
				dup2(*in, 0);
			process_cmd(ms, line, i);
			exit(errno);
		}
		waitpid(pid, &stat, 0);
		errno = stat / 255;
	}
	else
	{
		pipe(ms->mypipe);
		spawn_proc(ms, line, *in, i);
		close(ms->mypipe[1]);
		*in = ms->mypipe[0];
	}
	return ;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rcx, %r12
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
movq 0x58(%rdi), %rax
movq 0x20(%rax), %rax
movslq %edx, %rcx
cmpb $0x7c, 0x1(%rax,%rcx)
jne 0x4370
movq %rbx, %rdi
callq 0x10b0
movl (%r12), %edx
movq %rbx, %rdi
movq %r15, %rsi
movl %r14d, %ecx
callq 0x38b7
movl 0x4(%rbx), %edi
callq 0x10a0
movl (%rbx), %eax
movl %eax, (%r12)
jmp 0x439c
callq 0x1160
testl %eax, %eax
je 0x43a9
leaq -0x24(%rbp), %rbx
movl %eax, %edi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x1120
movl (%rbx), %eax
movl $0xff, %ecx
cltd
idivl %ecx
movl %eax, %ebx
callq 0x1040
movl %ebx, (%rax)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl (%r12), %edi
testl %edi, %edi
je 0x43b8
xorl %esi, %esi
callq 0x1070
movq %rbx, %rdi
movq %r15, %rsi
movl %r14d, %edx
callq 0x4291
callq 0x1040
movl (%rax), %edi
callq 0x1140
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/src/ms_utils2.c
// Function: replace_tabs
char				*replace_tabs(char *line)
{
	int i;

	i = 0;
	while (line && line[i])
	{
		if (ft_isspace(line[i]))
			line[i] = ' ';
		i++;
	}
	return (line);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
testq %rdi, %rdi
je 0x43fe
movq %rbx, %r14
movsbl (%r14), %edi
testl %edi, %edi
je 0x43fe
callq 0x4898
testl %eax, %eax
je 0x43f9
movb $0x20, (%r14)
incq %r14
jmp 0x43e4
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/src/ms_utils3.c
// Function: no_file_or_directory
void			no_file_or_directory(char *cmd, char *name)
{
	ft_putstr_fd(SHELL_NAME, STDERR_FILENO);
	ft_putstr_fd(": ", STDERR_FILENO);
	if (cmd)
	{
		ft_putstr_fd(cmd, STDERR_FILENO);
		ft_putstr_fd(": ", STDERR_FILENO);
	}
	if (name)
	{
		ft_putstr_fd(name, STDERR_FILENO);
		ft_putstr_fd(": ", STDERR_FILENO);
	}
	ft_putstr_fd("No such file or directory\n", STDERR_FILENO);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0xbd6(%rip), %rdi       # 0x5029
pushq $0x2
popq %r15
movl %r15d, %esi
callq 0x4a3c
leaq 0xbd1(%rip), %rdi       # 0x5037
movl %r15d, %esi
callq 0x4a3c
testq %r14, %r14
je 0x448d
movq %r14, %rdi
movl %r15d, %esi
callq 0x4a3c
leaq 0xbb2(%rip), %rdi       # 0x5037
movl %r15d, %esi
callq 0x4a3c
testq %rbx, %rbx
je 0x44b0
pushq $0x2
popq %r14
movq %rbx, %rdi
movl %r14d, %esi
callq 0x4a3c
leaq 0xb8f(%rip), %rdi       # 0x5037
movl %r14d, %esi
callq 0x4a3c
leaq 0xbb2(%rip), %rdi       # 0x5069
pushq $0x2
popq %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x4a3c
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/src/ms_utils3.c
// Function: too_many_args
void			too_many_args(char *cmd)
{
	ft_putstr_fd(SHELL_NAME, STDERR_FILENO);
	ft_putstr_fd(": ", STDERR_FILENO);
	ft_putstr_fd(cmd, STDERR_FILENO);
	ft_putstr_fd(": too many arguments\n", STDERR_FILENO);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0xb4f(%rip), %rdi       # 0x5029
pushq $0x2
popq %r14
movl %r14d, %esi
callq 0x4a3c
leaq 0xb4a(%rip), %rdi       # 0x5037
movl %r14d, %esi
callq 0x4a3c
movq %rbx, %rdi
movl %r14d, %esi
callq 0x4a3c
leaq 0xc4a(%rip), %rdi       # 0x5151
movl %r14d, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0x4a3c
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/src/ms_utils3.c
// Function: syntax_error
int				syntax_error(char *token)
{
	ft_putstr_fd(SHELL_NAME, STDERR_FILENO);
	ft_putstr_fd(SYNTAX_ERROR, STDERR_FILENO);
	ft_putstr_fd(token, STDERR_FILENO);
	ft_putstr_fd("'\n", STDERR_FILENO);
	errno = 258;
	return (1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0xb05(%rip), %rdi       # 0x5029
pushq $0x2
popq %r14
movl %r14d, %esi
callq 0x4a3c
leaq 0xc30(%rip), %rdi       # 0x5167
movl %r14d, %esi
callq 0x4a3c
movq %rbx, %rdi
movl %r14d, %esi
callq 0x4a3c
leaq 0xc3d(%rip), %rdi       # 0x518e
movl %r14d, %esi
callq 0x4a3c
callq 0x1040
movl $0x102, (%rax)          # imm = 0x102
pushq $0x1
popq %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/src/ms_utils3.c
// Function: print_invalid
void			print_invalid(char *var, char *cmd)
{
	errno = 1;
	ft_putstr_fd("minishell: ", STDOUT_FILENO);
	ft_putstr_fd(cmd, STDOUT_FILENO);
	ft_putstr_fd(": `", STDOUT_FILENO);
	ft_putstr_fd(var, STDOUT_FILENO);
	ft_putstr_fd("\': not a valid identifier\n", STDOUT_FILENO);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x1040
movl $0x1, (%rax)
leaq 0xba2(%rip), %rdi       # 0x5130
pushq $0x1
popq %r15
movl %r15d, %esi
callq 0x4a3c
movq %rbx, %rdi
movl %r15d, %esi
callq 0x4a3c
leaq 0xbe5(%rip), %rdi       # 0x5191
movl %r15d, %esi
callq 0x4a3c
movq %r14, %rdi
movl %r15d, %esi
callq 0x4a3c
leaq 0xbcf(%rip), %rdi       # 0x5195
movl %r15d, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x4a3c
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/src/ms_utils3.c
// Function: get_frequency
int				get_frequency(char *str, char c)
{
	int i;
	int count;

	i = 0;
	count = 0;
	while (str && str[i] != '\0')
	{
		if (str[i] == c)
			count++;
		i++;
	}
	return (count);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
xorl %eax, %eax
movq %rdi, %rdx
xorl %ecx, %ecx
testq %rdi, %rdi
je 0x4604
movb (%rdx), %r8b
testb %r8b, %r8b
je 0x4602
xorl %r9d, %r9d
cmpb %sil, %r8b
sete %r9b
addl %r9d, %ecx
incq %rdx
jmp 0x45e3
movl %ecx, %eax
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/src/ms_utils4.c
// Function: set_export
void			set_export(t_minishell_meta *ms)
{
	int i;
	int env_len;

	i = 0;
	env_len = 0;
	while (ms->env[env_len] != 0)
		env_len++;
	ms->export = (char**)malloc(sizeof(char*) * (env_len + 1));
	if (ms->export == NULL)
		exit(1);
	ms->export[i] = 0;
	return ;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x20(%rdi), %rax
xorl %edi, %edi
cmpq $0x0, (%rax,%rdi)
leaq 0x8(%rdi), %rdi
jne 0x4617
movabsq $0x7fffffff8, %rax      # imm = 0x7FFFFFFF8
andq %rax, %rdi
callq 0x1110
movq %rax, 0x28(%rbx)
testq %rax, %rax
je 0x4648
andq $0x0, (%rax)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
pushq $0x1
popq %rdi
callq 0x1140
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/src/ms_utils4.c
// Function: set_env
void			set_env(t_minishell_meta *ms, char **env)
{
	int i;
	int env_len;

	i = 0;
	env_len = 0;
	while (env[env_len] != 0)
		env_len++;
	ms->env = (char**)malloc(sizeof(char*) * (env_len + 100));
	if (ms->env == NULL)
		exit(0);
	while (i < env_len)
	{
		ms->env[i] = ft_strdup(env[i]);
		i++;
	}
	ms->env[i] = 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
pushq $-0x1
popq %r15
movq $-0x318, %rax           # imm = 0xFCE8
addq $-0x8, %rax
cmpq $0x0, 0x8(%r14,%r15,8)
leaq 0x1(%r15), %r15
jne 0x466c
negq %rax
movabsq $0x7fffffff8, %rdi      # imm = 0x7FFFFFFF8
andq %rax, %rdi
callq 0x1110
movq %rax, 0x20(%rbx)
testq %rax, %rax
je 0x46ca
xorl %r12d, %r12d
cmpq %r12, %r15
je 0x46b8
movq (%r14,%r12,8), %rdi
callq 0x17cf
movq 0x20(%rbx), %rcx
movq %rax, (%rcx,%r12,8)
incq %r12
jmp 0x469d
movq 0x20(%rbx), %rax
andq $0x0, (%rax,%r15,8)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
xorl %edi, %edi
callq 0x1140
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/src/ms_utils4.c
// Function: set_path
void			set_path(t_minishell_meta *ms)
{
	ms->arg = 0;
	substitute_value("$PATH", 0, ms);
	ms->path = ft_split(ms->arg, ':');
	ft_free(&ms->arg);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x10(%rdi), %r14
andq $0x0, 0x10(%rdi)
leaq 0xac5(%rip), %rdi       # 0x51b0
xorl %esi, %esi
movq %rbx, %rdx
callq 0x4048
movq 0x10(%rbx), %rdi
pushq $0x3a
popq %rsi
callq 0x4a78
movq %rax, 0x30(%rbx)
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x1790
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/src/ms_utils4.c
// Function: set_env_export
void			set_env_export(t_minishell_meta *ms, char **env)
{
	set_env(ms, env);
	set_export(ms);
	ms->path = 0;
	write(STDOUT_FILENO, SHELL_BANNER, 15);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x4650
movq %rbx, %rdi
callq 0x4608
andq $0x0, 0x30(%rbx)
leaq 0x8e6(%rip), %rsi       # 0x5019
pushq $0x1
popq %rdi
pushq $0xf
popq %rdx
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x1050
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/src/ms_utils4.c
// Function: add_ms_arg
int				add_ms_arg(t_minishell_meta *ms, int index, int j, int flag)
{
	if (flag == 0)
	{
		if (ms->arg)
		{
			ms->piped_cmds->redir[index][j] = ft_strdup(ms->arg);
			ft_free(&ms->arg);
		}
		else
			ft_free(&ms->arg);
		return (j);
	}
	else if (flag == 1)
	{
		if (ms->arg)
		{
			ms->piped_cmds->files1[index][j++] = ft_strdup(ms->arg);
			ft_free(&ms->arg);
		}
		return (j);
	}
	return (j);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebx
movl %esi, %r15d
movq %rdi, %r12
cmpl $0x1, %ecx
je 0x4788
testl %ecx, %ecx
jne 0x47c3
leaq 0x10(%r12), %r14
movq 0x10(%r12), %rdi
testq %rdi, %rdi
je 0x47bb
callq 0x17cf
movq 0x58(%r12), %rdx
movslq %r15d, %rcx
shlq $0x3, %rcx
addq 0x18(%rdx), %rcx
movl %ebx, %edx
jmp 0x47af
movq 0x10(%r12), %rdi
testq %rdi, %rdi
je 0x47c3
leaq 0x10(%r12), %r14
callq 0x17cf
movq 0x58(%r12), %rdx
movslq %r15d, %rcx
shlq $0x3, %rcx
addq 0x10(%rdx), %rcx
leal 0x1(%rbx), %edx
movq (%rcx), %rcx
movslq %ebx, %rsi
movq %rax, (%rcx,%rsi,8)
movl %edx, %ebx
movq %r14, %rdi
callq 0x1790
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/libft/ft_atoi.c
// Function: ft_atoi
int		ft_atoi(const char *s1)
{
	int					neg;
	unsigned long int	val;
	int					i;

	neg = 1;
	val = 0;
	i = 0;
	while ((s1[i] >= 9 && s1[i] <= 13) || s1[i] == 32)
		i++;
	if (s1[i] == '-')
		neg = -1;
	if (s1[i] == '-' || s1[i] == '+')
		i++;
	while ((ft_isdigit(s1[i])) && s1[i] != '\0')
		val = val * 10 + ((const char)s1[i++] - '0');
	return (val * neg);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %eax, %eax
movzbl (%rbx,%rax), %ecx
leal -0x9(%rcx), %edx
cmpb $0x5, %dl
jb 0x47f0
cmpl $0x20, %ecx
jne 0x47f5
incq %rax
jmp 0x47df
cmpl $0x2b, %ecx
je 0x4803
cmpl $0x2d, %ecx
jne 0x480c
pushq $-0x1
jmp 0x4805
pushq $0x1
popq %r15
incq %rax
jmp 0x4810
pushq $0x1
popq %r15
cltq
addq %rax, %rbx
xorl %r14d, %r14d
movsbl (%rbx), %edi
callq 0x4884
testl %eax, %eax
je 0x483c
movsbl (%rbx), %eax
testl %eax, %eax
je 0x483c
imull $0xa, %r14d, %ecx
leal (%rcx,%rax), %r14d
addl $-0x30, %r14d
incq %rbx
jmp 0x4818
imull %r15d, %r14d
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/libft/ft_itoa.c
// Function: ft_itoa
char			*ft_itoa(int nbr)
{
	int		length;
	int		sig;
	int		i;
	char	*result;

	i = 0;
	sig = nbr < 0 ? 1 : 0;
	length = ft_nbr_len(nbr);
	if ((nbr == 0) || (nbr == -2147483648))
		return (preturn(nbr));
	if (!(result = (char *)malloc(sizeof(char) * (length + 1 + sig))))
		return (NULL);
	if (sig)
	{
		result[0] = '-';
		nbr = -nbr;
	}
	while (++i <= length)
	{
		result[length + sig - i] = (nbr % 10) + '0';
		nbr = nbr / 10;
	}
	result[length + sig] = '\0';
	return (result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testl %edi, %edi
je 0x4949
movl %edi, %ebx
movl %edi, %r12d
shrl $0x1f, %r12d
movl %edi, %r13d
negl %r13d
movl %edi, %eax
cmovnsl %r13d, %eax
xorl %r14d, %r14d
pushq $0xa
popq %r15
testl %eax, %eax
je 0x4903
xorl %edx, %edx
divl %r15d
incq %r14
incl %r12d
jmp 0x48f2
testl $0x7fffffff, %ebx       # imm = 0x7FFFFFFF
je 0x4958
leal 0x1(%r12), %edi
callq 0x1110
testq %rax, %rax
je 0x4972
movq %rax, %rcx
testl %ebx, %ebx
jns 0x4927
movb $0x2d, (%rcx)
movl %r13d, %ebx
movl %r12d, %esi
leaq (%rcx,%rsi), %rdi
decq %rdi
subq $0x1, %r14
jb 0x4952
movl %ebx, %eax
cltd
idivl %r15d
addb $0x30, %dl
movb %dl, (%rdi)
decq %rdi
movl %eax, %ebx
jmp 0x4931
leaq 0x872(%rip), %rdi       # 0x51c2
jmp 0x495f
movb $0x0, (%rcx,%rsi)
jmp 0x4974
leaq 0x857(%rip), %rdi       # 0x51b6
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x17cf
xorl %ecx, %ecx
movq %rcx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/libft/ft_putendl_fd.c
// Function: ft_putendl_fd
void	ft_putendl_fd(char *s, int fd)
{
	int		i;
	char	c;

	i = 0;
	c = '\n';
	if (s == NULL)
		return ;
	while (s[i] != '\0')
		write(fd, &s[i++], 1);
	write(fd, &c, 1);
	return ;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movb $0xa, -0x19(%rbp)
testq %rdi, %rdi
je 0x4a0a
movl %esi, %ebx
movq %rdi, %r14
pushq $0x1
popq %r15
cmpb $0x0, (%r14)
je 0x49fc
movl %ebx, %edi
movq %r14, %rsi
movq %r15, %rdx
callq 0x1050
incq %r14
jmp 0x49e4
leaq -0x19(%rbp), %rsi
pushq $0x1
popq %rdx
movl %ebx, %edi
callq 0x1050
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/libft/ft_putstr_fd.c
// Function: ft_putstr_fd
void	ft_putstr_fd(char *s, int fd)
{
	int i;

	i = 0;
	if (s == NULL)
		return ;
	while (s[i] != '\0')
		write(fd, &s[i++], 1);
	return ;
}

// Assembly:
testq %rdi, %rdi
je 0x4a76
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
pushq $0x1
popq %r15
cmpb $0x0, (%r14)
je 0x4a6c
movl %ebx, %edi
movq %r14, %rsi
movq %r15, %rdx
callq 0x1050
incq %r14
jmp 0x4a54
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/libft/ft_split.c
// Function: ft_split
char			**ft_split(const char *s, char c)
{
	char		**result;

	result = NULL;
	if (s == NULL)
		return (NULL);
	if (s[0] == '\0')
		return (ft_return_zero(result));
	result = (char**)malloc(sizeof(char*) + (ft_strlen(s) * sizeof(char*)));
	if (result == NULL)
		return (NULL);
	return (ft_pre_process_split(result, s, c));
}

// Assembly:
testq %rdi, %rdi
je 0x4be9
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r15
cmpb $0x0, (%rdi)
je 0x4bff
movl %esi, %r14d
movq %r15, %rdi
callq 0x17b9
cltq
leaq 0x8(,%rax,8), %rdi
callq 0x1110
testq %rax, %rax
je 0x4c15
movq %rax, -0x40(%rbp)
movabsq $-0x200000000, %r12     # imm = 0xFFFFFFFE00000000
movabsq $0x100000000, %rax      # imm = 0x100000000
movq %r15, %rcx
addq %rax, %r12
leaq 0x1(%rcx), %rdx
cmpb %r14b, (%rcx)
movq %rdx, %rcx
je 0x4adc
sarq $0x20, %r12
xorl %edx, %edx
xorl %ecx, %ecx
incq %r12
movq %r12, %rax
movb (%r15,%rax), %r13b
movslq %ecx, %rbx
testb %r13b, %r13b
je 0x4bed
movq %rax, %r12
cmpb %r14b, %r13b
jne 0x4b88
leaq 0x1(%r12), %rax
cmpb %r14b, 0x1(%r15,%r12)
je 0x4af9
movq %rdx, %rdi
movq %rdx, -0x38(%rbp)
callq 0x17b9
incl %eax
movslq %eax, %rdi
callq 0x1110
movq %rax, %r13
movq -0x40(%rbp), %rax
movq %r13, (%rax,%rbx,8)
testq %r13, %r13
je 0x4c15
movq -0x38(%rbp), %rdi
callq 0x17b9
incl %eax
movslq %eax, %rdx
movq %r13, %rdi
movq -0x38(%rbp), %r13
movq %r13, %rsi
callq 0x4e60
movq -0x40(%rbp), %rcx
movq %rax, (%rcx,%rbx,8)
incl %ebx
movl %ebx, %eax
xorl %ebx, %ebx
movl %eax, -0x2c(%rbp)
movq %r13, %rdi
callq 0x1030
movq %rbx, %rdx
movl -0x2c(%rbp), %ecx
jmp 0x4af3
movl %ecx, -0x2c(%rbp)
testq %rdx, %rdx
movq %rdx, -0x38(%rbp)
je 0x4ba0
movq %rdx, %rdi
callq 0x17b9
movl %eax, %ebx
jmp 0x4ba2
xorl %ebx, %ebx
leal 0x2(%rbx), %eax
movslq %eax, %rdi
callq 0x1110
movl $0x0, %edx
testq %rax, %rax
movl -0x2c(%rbp), %ecx
je 0x4af3
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0x4bd8
xorl %edx, %edx
movb (%rdi,%rdx), %cl
testb %cl, %cl
je 0x4bd8
movb %cl, (%rax,%rdx)
incq %rdx
jmp 0x4bc9
movslq %ebx, %rcx
movb %r13b, (%rax,%rcx)
movb $0x0, 0x1(%rax,%rcx)
movq %rax, %rbx
jmp 0x4b78
xorl %ecx, %ecx
jmp 0x4c25
movq -0x40(%rbp), %rcx
movq %rdx, (%rcx,%rbx,8)
leaq (%rcx,%rbx,8), %rax
addq $0x8, %rax
jmp 0x4c0f
pushq $0x8
popq %rdi
callq 0x1110
movq %rax, %rcx
testq %rax, %rax
je 0x4c15
andq $0x0, (%rax)
jmp 0x4c17
xorl %ecx, %ecx
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
movq %rcx, %rax
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/libft/ft_strchr.c
// Function: ft_strchr
char	*ft_strchr(const char *s, int c)
{
	char	*str;
	int		i;

	i = 0;
	str = (char *)s;
	while (i < (ft_strlen(str) + 1))
	{
		if (str[i] == c)
			return (str + i);
		i++;
	}
	return (0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %r15d
movq %rdi, %r14
xorl %ebx, %ebx
xorl %r12d, %r12d
movq %r14, %rdi
callq 0x17b9
cltq
cmpq %rax, %r12
jg 0x4c65
movsbl (%r14,%r12), %eax
incq %r12
cmpl %r15d, %eax
jne 0x4c42
leaq (%r14,%r12), %rbx
decq %rbx
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/libft/ft_strcmp.c
// Function: ft_strcmp
int		ft_strcmp(char *s1, char *s2)
{
	unsigned char	a;
	unsigned char	b;
	unsigned int	i;

	i = 0;
	while (s1[i] != '\0' && s1[i] == s2[i])
	{
		i++;
	}
	a = s1[i];
	b = s2[i];
	return (a - b);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
xorl %edx, %edx
movl %edx, %ecx
movzbl (%rdi,%rcx), %eax
movzbl (%rsi,%rcx), %ecx
testl %eax, %eax
je 0x4c90
incl %edx
cmpb %cl, %al
je 0x4c7a
jmp 0x4c92
xorl %eax, %eax
subl %ecx, %eax
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/libft/ft_strncmp.c
// Function: ft_strncmp
int		ft_strncmp(const char *s1, const char *s2, size_t n)
{
	while (n && (*s1 || *s2))
	{
		if (*s1 != *s2)
			return ((unsigned char)*s1 - (unsigned char)*s2);
		s1++;
		s2++;
		n--;
	}
	return (0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
xorl %eax, %eax
xorl %ecx, %ecx
cmpq %rcx, %rdx
je 0x4cca
movzbl (%rdi,%rcx), %r8d
movb (%rsi,%rcx), %r9b
movl %r8d, %r10d
orb %r9b, %r10b
je 0x4cca
cmpb %r9b, %r8b
jne 0x4cc0
incq %rcx
jmp 0x4ca0
movzbl %r9b, %eax
subl %eax, %r8d
movl %r8d, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/libft/ft_strtrim.c
// Function: ft_strtrim
char	*ft_strtrim(const char *s1, const char *set)
{
	int last_index;
	int start_trim;
	int i;

	if (s1 == NULL)
		return (NULL);
	if (set == NULL)
		return (ft_strdup(s1));
	if (s1[0] == '\0')
		return (ft_calloc(1, sizeof(char)));
	last_index = ft_strlen(s1) - 1;
	i = 0;
	while (s1[i] != '\0' && (ft_strchr(set, s1[i]) != 0))
		i++;
	start_trim = i;
	if (start_trim > last_index)
		return (ft_calloc(1, sizeof(char)));
	while (ft_strchr(set, s1[last_index]))
		last_index--;
	return (ft_substr(s1, start_trim, last_index - start_trim + 1));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x4d25
movq %rsi, %r14
movq %rdi, %rbx
testq %rsi, %rsi
je 0x4d98
cmpb $0x0, (%rbx)
je 0x4d7f
movq %rbx, %rdi
callq 0x17b9
movl %eax, %r12d
leal 0x1(%r12), %r13d
xorl %r15d, %r15d
movsbl (%rbx,%r15), %esi
testl %esi, %esi
je 0x4d36
movq %r14, %rdi
callq 0x4c2c
testq %rax, %rax
je 0x4d36
incq %r15
jmp 0x4d0a
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpl %r15d, %r12d
jle 0x4d7f
movl %r13d, %r13d
subq %r15, %r13
movslq %r12d, %rax
leaq (%rax,%rbx), %r12
decq %r12
movsbl (%r12), %esi
movq %r14, %rdi
callq 0x4c2c
decl %r13d
decq %r12
testq %rax, %rax
jne 0x4d4b
movq %rbx, %rdi
movl %r15d, %esi
movl %r13d, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4db0
pushq $0x1
popq %rdi
movq %rdi, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4e2c
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x17cf
nop
// File: /workspace/github_c_makefile_star2_O2/pvineet44[P]minishell/libft/ft_substr.c
// Function: ft_substr
char	*ft_substr(char const *s, unsigned int start, int len)
{
	char				*substr;
	unsigned int		i;

	i = 0;
	if (s == NULL)
		return (NULL);
	if ((unsigned)ft_strlen(s) < start)
		return (ft_calloc(1, sizeof(char)));
	substr = (char*)malloc((len * sizeof(char)) + 1);
	if (!substr)
		return (NULL);
	while (s[start] != '\0' && len > 0)
	{
		substr[i++] = s[start++];
		len--;
	}
	substr[i] = '\0';
	return (substr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x4e16
movl %edx, %ebx
movl %esi, %r15d
movq %rdi, %r14
callq 0x17b9
cmpl %r15d, %eax
jae 0x4de6
pushq $0x1
popq %rdi
movq %rdi, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x4e2c
movslq %ebx, %rdi
incq %rdi
callq 0x1110
testq %rax, %rax
je 0x4e16
movl %r15d, %ecx
xorl %edx, %edx
leal (%rcx,%rdx), %esi
movb (%r14,%rsi), %sil
testb %sil, %sil
je 0x4e1a
testl %ebx, %ebx
jle 0x4e1a
movb %sil, (%rax,%rdx)
incq %rdx
decl %ebx
jmp 0x4dfb
xorl %eax, %eax
jmp 0x4e1e
movb $0x0, (%rax,%rdx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/blasphemy[P]mmc-utils/mmc.c
// Function: help
static void help(char *np)
{
	struct Command *cp;

	printf("Usage:\n");
	for( cp = commands; cp->verb; cp++ )
		print_help(np, cp, BASIC_HELP);

	printf("\n\t%s help|--help|-h\n\t\tShow the help.\n",np);
	printf("\n\t%s <cmd> --help\n\t\tShow detailed help for a command or subset of commands.\n",np);
	printf("\n%s\n", MMC_VERSION);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x9760(%rip), %rsi      # 0xd00b
pushq $0x1
popq %rdi
xorl %eax, %eax
callq 0x31d0
leaq 0x14894(%rip), %r14     # 0x18150
cmpq $0x0, 0x10(%r14)
je 0x38d6
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x391a
addq $0x38, %r14
jmp 0x38bc
leaq 0x97bf(%rip), %rsi      # 0xd09c
pushq $0x1
popq %rbp
movl %ebp, %edi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x31d0
leaq 0x97cf(%rip), %rsi      # 0xd0c2
movl %ebp, %edi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x31d0
leaq 0x970d(%rip), %rsi      # 0xd013
leaq 0x970b(%rip), %rdx      # 0xd018
movl %ebp, %edi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x31d0
// File: /workspace/github_c_makefile_star2_O2/blasphemy[P]mmc-utils/mmc.c
// Function: print_help
static void print_help(char *programname, struct Command *cmd, int helptype)
{
	char	*pc;

	printf("\t%s %s ", programname, cmd->verb );

	if (helptype == ADVANCED_HELP && cmd->adv_help)
		for(pc = cmd->adv_help; *pc; pc++){
			putchar(*pc);
			if(*pc == '\n')
				printf("\t\t");
		}
	else
		for(pc = cmd->help; *pc; pc++){
			putchar(*pc);
			if(*pc == '\n')
				printf("\t\t");
		}

	putchar('\n');
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %rdx
movq 0x10(%rsi), %rcx
leaq 0xacbe(%rip), %rsi      # 0xe5ef
pushq $0x1
popq %rdi
xorl %eax, %eax
callq 0x31d0
cmpl $0x1, %ebp
jne 0x3977
movq 0x20(%rbx), %r14
testq %r14, %r14
je 0x3977
leaq 0xaca7(%rip), %rbx      # 0xe5f7
pushq $0x1
popq %rbp
movsbl (%r14), %edi
testl %edi, %edi
je 0x39a9
callq 0x3040
cmpb $0xa, (%r14)
jne 0x3972
movl %ebp, %edi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x31d0
incq %r14
jmp 0x3953
movq 0x18(%rbx), %r14
leaq 0xac75(%rip), %rbx      # 0xe5f7
pushq $0x1
popq %rbp
movsbl (%r14), %edi
testl %edi, %edi
je 0x39a9
callq 0x3040
cmpb $0xa, (%r14)
jne 0x39a4
movl %ebp, %edi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x31d0
incq %r14
jmp 0x3985
pushq $0xa
popq %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x3040
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/blasphemy[P]mmc-utils/mmc_cmds.c
// Function: read_extcsd
int read_extcsd(int fd, __u8 *ext_csd)
{
	int ret = 0;
	struct mmc_ioc_cmd idata;
	memset(&idata, 0, sizeof(idata));
	memset(ext_csd, 0, sizeof(__u8) * 512);
	idata.write_flag = 0;
	idata.opcode = MMC_SEND_EXT_CSD;
	idata.arg = 0;
	idata.flags = MMC_RSP_SPI_R1 | MMC_RSP_R1 | MMC_CMD_ADTC;
	idata.blksz = 512;
	idata.blocks = 1;
	mmc_ioc_cmd_set_data(idata, ext_csd);

	ret = ioctl(fd, MMC_IOC_CMD, &idata);
	if (ret)
		perror("ioctl");

	return ret;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rsi, %rbx
movl %edi, %ebp
xorps %xmm0, %xmm0
movq %rsp, %r14
movaps %xmm0, 0x30(%r14)
movaps %xmm0, 0x20(%r14)
movaps %xmm0, 0x10(%r14)
movaps %xmm0, (%r14)
movl $0x200, %edx            # imm = 0x200
movq %rsi, %rdi
xorl %esi, %esi
callq 0x30e0
andl $0x0, (%r14)
movq $0x8, 0x8(%r14)
movabsq $0x200000000b5, %rax    # imm = 0x200000000B5
movq %rax, 0x20(%r14)
movl $0x1, 0x28(%r14)
movq %rbx, 0x40(%r14)
movl $0xc048b300, %esi       # imm = 0xC048B300
movl %ebp, %edi
movq %r14, %rdx
xorl %eax, %eax
callq 0x30f0
movl %eax, %ebx
testl %eax, %eax
jne 0x3a35
movl %ebx, %eax
addq $0x50, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0xdb2c(%rip), %rdi      # 0x11568
callq 0x31f0
jmp 0x3a2a
// File: /workspace/github_c_makefile_star2_O2/blasphemy[P]mmc-utils/mmc_cmds.c
// Function: write_extcsd_value
int write_extcsd_value(int fd, __u8 index, __u8 value)
{
	int ret = 0;
	struct mmc_ioc_cmd idata;

	memset(&idata, 0, sizeof(idata));
	idata.write_flag = 1;
	idata.opcode = MMC_SWITCH;
	idata.arg = (MMC_SWITCH_MODE_WRITE_BYTE << 24) |
			(index << 16) |
			(value << 8) |
			EXT_CSD_CMD_SET_NORMAL;
	idata.flags = MMC_RSP_SPI_R1B | MMC_RSP_R1B | MMC_CMD_AC;

	ret = ioctl(fd, MMC_IOC_CMD, &idata);
	if (ret)
		perror("ioctl");

	return ret;
}

// Assembly:
pushq %rbx
subq $0x50, %rsp
xorps %xmm0, %xmm0
movq %rsp, %rax
movaps %xmm0, (%rax)
movaps %xmm0, 0x20(%rax)
movaps %xmm0, 0x30(%rax)
andq $0x0, 0x40(%rax)
movaps %xmm0, 0x10(%rax)
movl $0x1, (%rax)
movl $0x6, 0x8(%rax)
shll $0x10, %esi
shll $0x8, %edx
leal (%rdx,%rsi), %ecx
addl $0x3000001, %ecx        # imm = 0x3000001
movl %ecx, 0xc(%rax)
movl $0x49d, 0x20(%rax)      # imm = 0x49D
movl $0xc048b300, %esi       # imm = 0xC048B300
movq %rax, %rdx
xorl %eax, %eax
callq 0x30f0
movl %eax, %ebx
testl %eax, %eax
jne 0x3aa5
movl %ebx, %eax
addq $0x50, %rsp
popq %rbx
retq
leaq 0xdabc(%rip), %rdi      # 0x11568
callq 0x31f0
jmp 0x3a9d
// File: /workspace/github_c_makefile_star2_O2/blasphemy[P]mmc-utils/mmc_cmds.c
// Function: send_status
int send_status(int fd, __u32 *response)
{
	int ret = 0;
	struct mmc_ioc_cmd idata;

	memset(&idata, 0, sizeof(idata));
	idata.opcode = MMC_SEND_STATUS;
	idata.arg = (1 << 16);
	idata.flags = MMC_RSP_R1 | MMC_CMD_AC;

	ret = ioctl(fd, MMC_IOC_CMD, &idata);
	if (ret)
	perror("ioctl");

	*response = idata.response[0];

	return ret;
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, (%rdx)
movaps %xmm0, 0x20(%rdx)
movaps %xmm0, 0x30(%rdx)
andq $0x0, 0x40(%rdx)
movaps %xmm0, 0x10(%rdx)
movabsq $0x100000000000d, %rax  # imm = 0x100000000000D
movq %rax, 0x8(%rdx)
movl $0x15, 0x20(%rdx)
movl $0xc048b300, %esi       # imm = 0xC048B300
xorl %eax, %eax
callq 0x30f0
movl %eax, %ebp
testl %eax, %eax
jne 0x3b0c
movl 0x10(%rsp), %eax
movl %eax, (%rbx)
movl %ebp, %eax
addq $0x48, %rsp
popq %rbx
popq %rbp
retq
leaq 0xda55(%rip), %rdi      # 0x11568
callq 0x31f0
jmp 0x3afd