LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/srcs_checker/ft_print_stack.c
// Function: ft_print_case
static void		ft_print_case(long *tab, size_t size_tab, size_t i)
{
	size_t nb_size;

	ft_putstr("\033[33m");
	if (i < size_tab)
	{
		nb_size = 21 - ft_size_of_int(tab[i]);
		ft_print_nb_of_char(nb_size / 2, ' ');
		nb_size -= nb_size / 2;
		ft_putnbr(tab[i]);
		ft_print_nb_of_char(nb_size - 1, ' ');
	}
	else
		ft_putstr("         .          ");
	ft_putstr("\033[0m");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
leaq 0x4b3b(%rip), %rdi      # 0x611e
callq 0x1f8c
cmpq %r15, %rbx
jae 0x1676
movl (%r14,%rbx,8), %eax
xorl %r15d, %r15d
testl %eax, %eax
setle %r15b
je 0x1622
movslq %eax, %rcx
imulq $0x66666667, %rcx, %rax # imm = 0x66666667
movq %rax, %rdx
shrq $0x3f, %rdx
sarq $0x22, %rax
addl %edx, %eax
incq %r15
addl $0x9, %ecx
cmpl $0x12, %ecx
ja 0x1600
movl $0x15, %r13d
subq %r15, %r13
movq %r13, %r12
shrq %r12
cmpq $0x2, %r13
jb 0x1649
movq %r12, %rbp
movl $0x20, %edi
callq 0x1f70
decq %rbp
jne 0x163a
movl (%r14,%rbx,8), %edi
callq 0x2020
movq %r12, %rax
notq %rax
addq %rax, %r13
je 0x1682
leaq (%r15,%r12), %rbx
addq $-0x14, %rbx
movl $0x20, %edi
callq 0x1f70
incq %rbx
jne 0x1665
jmp 0x1682
leaq 0x4aa7(%rip), %rdi      # 0x6124
callq 0x1f8c
leaq 0x49e8(%rip), %rdi      # 0x6071
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1f8c
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/srcs_checker/ft_process.c
// Function: ft_exec_swap
int			ft_exec_swap(t_stack *s, char *str)
{
	if (ft_strequ(str, "sa"))
	{
		if (s->size_a > 1)
			ft_swap_long(&s->a[s->size_a - 1], &s->a[s->size_a - 2]);
	}
	else if (ft_strequ(str, "sb"))
	{
		if (s->size_b > 1)
			ft_swap_long(&s->b[s->size_b - 1], &s->b[s->size_b - 2]);
	}
	else if (ft_strequ(str, "ss"))
	{
		if (s->size_a > 1)
			ft_swap_long(&s->a[s->size_a - 1], &s->a[s->size_a - 2]);
		if (s->size_b > 1)
			ft_swap_long(&s->b[s->size_b - 1], &s->b[s->size_b - 2]);
	}
	else
		return (FALSE);
	return (TRUE);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x4a8c(%rip), %rsi      # 0x6139
movq %r14, %rdi
callq 0x1c38
testl %eax, %eax
je 0x16ca
movq 0x20(%rbx), %rcx
movl $0x1, %eax
cmpq $0x1, %rcx
ja 0x16f0
jmp 0x170c
leaq 0x4a6b(%rip), %rsi      # 0x613c
movq %r14, %rdi
callq 0x1c38
testl %eax, %eax
je 0x1714
movq 0x28(%rbx), %rcx
movl $0x1, %eax
cmpq $0x2, %rcx
jb 0x170c
addq $0x8, %rbx
movq (%rbx), %rax
movq -0x10(%rax,%rcx,8), %rdx
movq -0x8(%rax,%rcx,8), %rsi
movq %rdx, -0x8(%rax,%rcx,8)
movq %rsi, -0x10(%rax,%rcx,8)
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x4a24(%rip), %rsi      # 0x613f
movq %r14, %rdi
callq 0x1c38
testl %eax, %eax
je 0x174a
movq 0x20(%rbx), %rax
cmpq $0x2, %rax
jb 0x16dd
movq (%rbx), %rcx
movq -0x10(%rcx,%rax,8), %rdx
movq -0x8(%rcx,%rax,8), %rsi
movq %rdx, -0x8(%rcx,%rax,8)
movq %rsi, -0x10(%rcx,%rax,8)
jmp 0x16dd
xorl %eax, %eax
jmp 0x170c
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/srcs_checker/ft_process.c
// Function: ft_exec_push
int			ft_exec_push(t_stack *s, char *str)
{
	if (ft_strequ(str, "pa"))
	{
		if (s->size_b)
		{
			s->size_a++;
			s->a[s->size_a - 1] = s->b[s->size_b - 1];
			s->size_b--;
		}
	}
	else if (ft_strequ(str, "pb"))
	{
		if (s->size_a)
		{
			s->size_b++;
			s->b[s->size_b - 1] = s->a[s->size_a - 1];
			s->size_a--;
		}
	}
	else
		return (FALSE);
	return (TRUE);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x49e3(%rip), %rsi      # 0x6142
movq %r14, %rdi
callq 0x1c38
testl %eax, %eax
je 0x178e
movq 0x28(%rbx), %rax
testq %rax, %rax
je 0x17d3
leaq 0x28(%rbx), %rcx
movq 0x20(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x20(%rbx)
shlq $0x3, %rax
addq 0x8(%rbx), %rax
jmp 0x17c5
leaq 0x49b0(%rip), %rsi      # 0x6145
movq %r14, %rdi
callq 0x1c38
testl %eax, %eax
je 0x17e0
movq 0x20(%rbx), %rax
testq %rax, %rax
je 0x17d3
leaq 0x20(%rbx), %rcx
movq 0x28(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x28(%rbx)
shlq $0x3, %rax
addq (%rbx), %rax
addq $0x8, %rbx
movq -0x8(%rax), %rax
movq (%rbx), %rsi
movq %rax, (%rsi,%rdx,8)
decq (%rcx)
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
xorl %eax, %eax
jmp 0x17d8
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/srcs_checker/ft_process.c
// Function: ft_exec_rotate
int			ft_exec_rotate(t_stack *s, char *str)
{
	if (ft_strequ(str, "ra"))
		ft_rotate_extend(s->a, s->size_a, 1);
	else if (ft_strequ(str, "rb"))
		ft_rotate_extend(s->b, s->size_b, 1);
	else if (ft_strequ(str, "rr"))
	{
		ft_rotate_extend(s->a, s->size_a, 1);
		ft_rotate_extend(s->b, s->size_b, 1);
	}
	else if (ft_strequ(str, "rra"))
		ft_rotate_extend(s->a, s->size_a, -1);
	else if (ft_strequ(str, "rrb"))
		ft_rotate_extend(s->b, s->size_b, -1);
	else if (ft_strequ(str, "rrr"))
	{
		ft_rotate_extend(s->a, s->size_a, -1);
		ft_rotate_extend(s->b, s->size_b, -1);
	}
	else
		return (FALSE);
	return (TRUE);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x4950(%rip), %rsi      # 0x6149
movq %rbx, %rdi
callq 0x1c38
testl %eax, %eax
je 0x1819
movq 0x20(%r14), %rax
movl $0x1, %ebx
cmpq $0x2, %rax
jb 0x186a
movq (%r14), %r14
jmp 0x183f
leaq 0x492d(%rip), %rsi      # 0x614d
movq %rbx, %rdi
callq 0x1c38
testl %eax, %eax
je 0x1878
movq 0x28(%r14), %rax
movl $0x1, %ebx
cmpq $0x2, %rax
jb 0x186a
movq 0x8(%r14), %r14
movq (%r14), %r15
movq %rax, %rcx
movq -0x8(%r14,%rax,8), %rdx
movq %rdx, (%r14)
decq %rcx
je 0x1866
leaq 0x8(%r14), %rdi
leaq -0x8(,%rax,8), %rdx
movq %r14, %rsi
callq 0x1080
movq %r15, 0x8(%r14)
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x48d2(%rip), %rsi      # 0x6151
movq %rbx, %rdi
callq 0x1c38
testl %eax, %eax
je 0x18c8
movq 0x20(%r14), %rax
cmpq $0x2, %rax
jb 0x182c
movq (%r14), %rbx
movq (%rbx), %r15
movq %rax, %rcx
movq -0x8(%rbx,%rax,8), %rdx
movq %rdx, (%rbx)
decq %rcx
je 0x18bf
leaq 0x8(%rbx), %rdi
leaq -0x8(,%rax,8), %rdx
movq %rbx, %rsi
callq 0x1080
movq %r15, 0x8(%rbx)
jmp 0x182c
leaq 0x4879(%rip), %rsi      # 0x6148
movq %rbx, %rdi
callq 0x1c38
testl %eax, %eax
je 0x18ef
movq 0x20(%r14), %r15
movl $0x1, %ebx
cmpq $0x2, %r15
jb 0x186a
movq (%r14), %r14
jmp 0x1919
leaq 0x4856(%rip), %rsi      # 0x614c
movq %rbx, %rdi
callq 0x1c38
testl %eax, %eax
je 0x1944
movq 0x28(%r14), %r15
movl $0x1, %ebx
cmpq $0x2, %r15
jb 0x186a
movq 0x8(%r14), %r14
movq -0x8(%r14,%r15,8), %r12
movq (%r14), %rax
movq %rax, -0x8(%r14,%r15,8)
leaq 0x8(%r14), %rsi
leaq -0x8(,%r15,8), %rdx
movq %r14, %rdi
callq 0x1080
movq %r12, -0x10(%r14,%r15,8)
jmp 0x186a
leaq 0x4805(%rip), %rsi      # 0x6150
movq %rbx, %rdi
callq 0x1c38
testl %eax, %eax
je 0x198f
movq 0x20(%r14), %r15
cmpq $0x2, %r15
jb 0x1902
movq (%r14), %rbx
movq -0x8(%rbx,%r15,8), %r12
movq (%rbx), %rax
movq %rax, -0x8(%rbx,%r15,8)
leaq 0x8(%rbx), %rsi
leaq -0x8(,%r15,8), %rdx
movq %rbx, %rdi
callq 0x1080
movq %r12, -0x10(%rbx,%r15,8)
jmp 0x1902
xorl %ebx, %ebx
jmp 0x186a
nop
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/srcs_checker/ft_tool.c
// Function: ft_free_stack
void	ft_free_stack(t_stack *s)
{
	if (s->a)
	{
		free(s->a);
		s->a = NULL;
	}
	if (s->b)
	{
		free(s->b);
		s->b = NULL;
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je 0x19b0
callq 0x1030
movq $0x0, (%rbx)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x19c6
callq 0x1030
movq $0x0, 0x8(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/srcs_checker/ft_tool2.c
// Function: ft_atol
long	ft_atol(const char *str)
{
	long	nbr;
	size_t	i;

	nbr = 0;
	i = 0;
	while (*str == ' ' || (*str >= 9 && *str <= 13))
		str++;
	if (*str == '-' || *str == '+')
		i++;
	while (str[i] >= '0' && str[i] <= '9')
	{
		if ((str[0] == '-' && i == 19 && str[i] >= '8')
			|| (str[0] == '-' && i > 19 && ft_isdigit(*(str + i))))
			return (0);
		if (((i == 19 && str[0] == '+') || (i == 18 && str[0] != '-'))
			&& str[i] >= '7')
			return (-1);
		if (((i > 19 && str[0] == '+') || (i > 18 && str[0] != '-'))
			&& ft_isdigit(*(str + i)))
			return (-1);
		nbr = str[i++] - '0' + nbr * 10;
	}
	return (str[0] == '-' ? -nbr : nbr);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movb (%rbx), %al
movzbl %al, %ecx
leal -0x9(%rcx), %edx
cmpl $0x5, %edx
jae 0x1a0d
incq %rbx
jmp 0x19fb
cmpl $0x20, %ecx
je 0x1a08
addb $-0x2b, %al
xorl %r15d, %r15d
testb $-0x3, %al
sete %r15b
movb (%rbx,%r15), %al
leal -0x30(%rax), %ecx
cmpb $0x9, %cl
ja 0x1ada
xorl %r14d, %r14d
xorl %r12d, %r12d
movb (%rbx), %cl
cmpb $0x2d, %cl
sete %dl
cmpq $0x13, %r15
sete %sil
cmpb $0x38, %al
setge %dil
andb %dl, %sil
testb %dil, %sil
jne 0x1aea
cmpb $0x2d, %cl
setne %cl
cmpq $0x14, %r15
setb %dl
orb %cl, %dl
jne 0x1a72
movzbl %al, %edi
callq 0x1f64
testl %eax, %eax
jne 0x1aea
cmpq $0x13, %r15
jne 0x1a7d
cmpb $0x2b, (%rbx)
je 0x1a88
cmpq $0x12, %r15
jne 0x1a8f
cmpb $0x2d, (%rbx)
je 0x1a8f
cmpb $0x36, (%rbx,%r15)
jg 0x1af9
cmpq $0x14, %r15
jb 0x1a9a
cmpb $0x2b, (%rbx)
je 0x1aa5
cmpq $0x13, %r15
jb 0x1ab3
cmpb $0x2d, (%rbx)
je 0x1ab3
movsbl (%rbx,%r15), %edi
callq 0x1f64
testl %eax, %eax
jne 0x1af9
movsbq (%rbx,%r15), %rcx
movb 0x1(%rbx,%r15), %al
incq %r15
leaq (%r12,%r12,4), %rdx
leaq (%rcx,%rdx,2), %r12
addq $-0x30, %r12
leal -0x30(%rax), %ecx
cmpb $0xa, %cl
jb 0x1a33
jmp 0x1add
xorl %r12d, %r12d
movq %r12, %r14
negq %r14
cmpb $0x2d, (%rbx)
cmovneq %r12, %r14
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq $-0x1, %r14
jmp 0x1aea
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/srcs_checker/ft_tool2.c
// Function: ft_check_arg
int		ft_check_arg(t_stack *s, char *str, size_t i)
{
	long	nb;
	size_t	j;

	nb = ft_atol(str);
	j = s->size_a - 1;
	if (nb > 2147483647 || nb < -2147483648)
		return (0);
	while (j > i)
		if (s->a[j--] == nb)
			return (0);
	if (*str == '-' && *(str + 1))
		str++;
	while (*str)
	{
		if (*str < '0' || *str > '9')
			return (0);
		str++;
	}
	s->a[i] = nb;
	return (1);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq %rsi, %rdi
callq 0x19f0
movq %rax, %rcx
movslq %ecx, %rdx
xorl %eax, %eax
cmpq %rcx, %rdx
jne 0x1b7e
movq 0x20(%r14), %rdx
decq %rdx
cmpq %rbx, %rdx
jbe 0x1b43
movq (%r14), %rsi
leaq -0x1(%rdx), %rdi
cmpq %rcx, (%rsi,%rdx,8)
movq %rdi, %rdx
jne 0x1b2c
jmp 0x1b7e
cmpb $0x2d, (%r15)
jne 0x1b56
leaq 0x1(%r15), %rdx
cmpb $0x0, 0x1(%r15)
cmovneq %rdx, %r15
movb (%r15), %dl
testb %dl, %dl
je 0x1b72
incq %r15
addb $-0x3a, %dl
cmpb $-0xa, %dl
jb 0x1b7e
movb (%r15), %dl
incq %r15
testb %dl, %dl
jne 0x1b60
movq (%r14), %rax
movq %rcx, (%rax,%rbx,8)
movl $0x1, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/srcs_checker/ft_tool2.c
// Function: ft_set_a_and_b
void	ft_set_a_and_b(t_stack *s, char **av, int ac)
{
	size_t	i;
	int		tmp;

	i = 0;
	s->size_a = s->size;
	s->size_b = 0;
	if (!(s->a = (long *)malloc(sizeof(long) * s->size)))
		ft_exit(s);
	if (!(s->b = (long *)malloc(sizeof(long) * s->size)))
		ft_exit(s);
	tmp = ac;
	while (tmp)
	{
		if (!(ft_check_arg(s, av[i++], (tmp-- - 1))))
			ft_exit(s);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x18(%rdi), %rdi
movq %rdi, 0x20(%r14)
movq $0x0, 0x28(%r14)
shlq $0x3, %rdi
callq 0x1070
movq %rax, (%r14)
testq %rax, %rax
jne 0x1bc0
movq %r14, %rdi
callq 0x19c8
movq 0x18(%r14), %rdi
shlq $0x3, %rdi
callq 0x1070
movq %rax, 0x8(%r14)
testq %rax, %rax
jne 0x1bde
movq %r14, %rdi
callq 0x19c8
testl %ebp, %ebp
je 0x1c14
movslq %ebp, %r15
movl %ebp, %r12d
decq %r15
xorl %r13d, %r13d
movq (%rbx,%r13,8), %rsi
movq %r14, %rdi
movq %r15, %rdx
callq 0x1b02
testl %eax, %eax
jne 0x1c09
movq %r14, %rdi
callq 0x19c8
incq %r13
decq %r15
cmpq %r13, %r12
jne 0x1bee
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/string/ft_strequ.c
// Function: ft_strequ
int	ft_strequ(char const *s1, char const *s2)
{
	if (!s1 && !s2)
		return (1);
	else if (!s1 || !s2)
		return (0);
	while (*s1 || *s2)
	{
		if (ft_isalpha(*s1))
			ft_toupper(*s1);
		if (ft_isalpha(*s2))
			ft_toupper(*s2);
		if (*s1++ != *s2++)
			return (0);
	}
	return (1);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl $0x1, %ebx
movq %rdi, %rax
orq %rsi, %rax
je 0x1cb5
movq %rsi, %r14
movq %rdi, %r15
testq %rsi, %rsi
sete %al
testq %rdi, %rdi
sete %cl
orb %al, %cl
jne 0x1cb3
xorl %r12d, %r12d
movsbl (%r15,%r12), %edi
testl %edi, %edi
jne 0x1c76
cmpb $0x0, (%r14,%r12)
je 0x1cb5
callq 0x1f54
testl %eax, %eax
je 0x1c89
movsbl (%r15,%r12), %edi
callq 0x1f44
movsbl (%r14,%r12), %edi
callq 0x1f54
testl %eax, %eax
je 0x1ca1
movsbl (%r14,%r12), %edi
callq 0x1f44
movb (%r15,%r12), %al
leaq 0x1(%r12), %rcx
cmpb (%r14,%r12), %al
movq %rcx, %r12
je 0x1c66
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/string/ft_strjoinfree.c
// Function: ft_strjoinfree_n
char	*ft_strjoinfree_n(char **s1, char **s2, int which)
{
	char	*new_str;

	new_str = ft_strjoin(*s1, *s2);
	if (which == FIRST || which == BOTH)
		ft_strdel(s1);
	if (which == SECOND || which == BOTH)
		ft_strdel(s2);
	return (new_str);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r15
movq (%rdi), %rdi
movq (%rsi), %rsi
callq 0x54c0
movq %rax, %r14
movl %ebp, %eax
andl $-0x3, %eax
cmpl $0x1, %eax
jne 0x1cf3
movq %r15, %rdi
callq 0x1d5c
andl $-0x2, %ebp
cmpl $0x2, %ebp
jne 0x1d03
movq %rbx, %rdi
callq 0x1d5c
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/string/ft_strjoinfree.c
// Function: ft_strjoinfree
char	*ft_strjoinfree(char *s1, char *s2, int which)
{
	char	*new_str;

	new_str = ft_strjoin(s1, s2);
	if (which == FIRST || which == BOTH)
		ft_strdel(&s1);
	if (which == SECOND || which == BOTH)
		ft_strdel(&s2);
	return (new_str);
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
callq 0x54c0
movq %rax, %rbx
movl %ebp, %eax
andl $-0x3, %eax
cmpl $0x1, %eax
jne 0x1d3f
leaq 0x10(%rsp), %rdi
callq 0x1d5c
andl $-0x2, %ebp
cmpl $0x2, %ebp
jne 0x1d51
leaq 0x8(%rsp), %rdi
callq 0x1d5c
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/string/ft_free_tab_str.c
// Function: ft_free_tab_str
void	ft_free_tab_str(char **tab)
{
	size_t	i;

	if (!tab)
		return ;
	i = 0;
	while (tab[i])
		ft_strdel(&tab[i++]);
	free(tab);
	tab = NULL;
}

// Assembly:
testq %rdi, %rdi
je 0x1db3
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq $0x0, (%rdi)
je 0x1da4
movq %rbx, %r14
movq %r14, %rdi
callq 0x1d5c
cmpq $0x0, 0x8(%r14)
leaq 0x8(%r14), %r14
jne 0x1d91
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1030
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/string/ft_str_is_numeric.c
// Function: ft_str_is_numeric
int		ft_str_is_numeric(char *str)
{
	if (str == NULL)
		return (FALSE);
	while (*str != '\0')
	{
		if (ft_isdigit(*str) == FALSE)
			return (FALSE);
		str++;
	}
	return (TRUE);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
xorl %ebx, %ebx
testq %rdi, %rdi
je 0x1de6
movq %rdi, %r14
movb (%rdi), %al
testb %al, %al
je 0x1de1
incq %r14
movsbl %al, %edi
callq 0x1f64
testl %eax, %eax
je 0x1de6
movb (%r14), %al
incq %r14
testb %al, %al
jne 0x1dcb
movl $0x1, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/string/ft_strsplit.c
// Function: ft_strsplit
char			**ft_strsplit(char const *s, char c)
{
	char				**tab;
	size_t				count;
	size_t				i;

	if (!s)
		return (NULL);
	i = 0;
	count = 0;
	while (s[i] == c && s[i])
		i++;
	if (s[i])
		count = ft_count_words(s, c);
	if (!(tab = (char **)malloc(sizeof(char *) * (count + 1))))
		return (NULL);
	tab[count] = NULL;
	if (count)
	{
		if (!(tab = ft_fill_table(s + i, tab, c)))
		{
			free(tab);
			tab = NULL;
			return (NULL);
		}
	}
	return (tab);
}

// Assembly:
testq %rdi, %rdi
je 0x1f10
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
leaq -0x1(%rdi), %r13
movb 0x1(%r13), %bpl
incq %r13
cmpb %bl, %bpl
jne 0x1e1b
testb %bpl, %bpl
jne 0x1e0a
testb %bpl, %bpl
je 0x1e55
movb (%rdi), %al
testb %al, %al
je 0x1e55
incq %rdi
xorl %r14d, %r14d
movb (%rdi), %cl
cmpb %bl, %cl
sete %dl
testb %cl, %cl
sete %sil
orb %dl, %sil
cmpb %bl, %al
setne %al
andb %sil, %al
movzbl %al, %eax
addq %rax, %r14
incq %rdi
movl %ecx, %eax
testb %cl, %cl
jne 0x1e2c
jmp 0x1e58
xorl %r14d, %r14d
leaq 0x8(,%r14,8), %rdi
callq 0x1070
testq %rax, %rax
je 0x1f32
movq $0x0, (%rax,%r14,8)
testb %bpl, %bpl
je 0x1f34
testq %r14, %r14
je 0x1f34
movq %rax, (%rsp)
movl $0x1, %r12d
xorl %r15d, %r15d
xorl %ebp, %ebp
movb (%r13,%r12), %al
cmpb %bl, %al
setne %cl
testb %al, %al
setne %al
testb %al, %cl
jne 0x1efd
movq %r12, %r14
subq %rbp, %r14
leaq 0x1(%r14), %rdi
callq 0x1070
movq (%rsp), %rcx
movq %rax, (%rcx,%r15,8)
testq %rax, %rax
je 0x1f13
addq %r13, %rbp
movq %rax, %rdi
movq %rbp, %rsi
movq %r14, %rdx
movq %rcx, %rbp
callq 0x53f4
movq (%rbp,%r15,8), %rax
movb $0x0, (%rax,%r14)
decq %r12
movb 0x1(%r13,%r12), %al
incq %r12
cmpb %bl, %al
jne 0x1ef7
testb %al, %al
jne 0x1ee7
incq %r15
movq %r12, %rbp
cmpb $0x0, (%r13,%r12)
leaq 0x1(%r12), %r12
jne 0x1e97
movq (%rsp), %rax
jmp 0x1f34
xorl %eax, %eax
retq
decq %r15
je 0x1f32
movq (%rsp), %rbx
movq (%rbx,%r15,8), %rdi
callq 0x1030
movq $0x0, (%rbx,%r15,8)
decq %r15
jne 0x1f1c
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/output/ft_putnbr.c
// Function: ft_putnbr
void	ft_putnbr(int n)
{
	if (n < 0)
	{
		if (n == -2147483648)
		{
			ft_putstr("-2147483648");
			return ;
		}
		write(1, "-", 1);
		ft_putnbr(-n);
	}
	else if (n <= 9)
		ft_putchar((char)(n + '0'));
	else
	{
		ft_putnbr(n / 10);
		ft_putnbr(n % 10);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %edi, %ebx
leaq 0x3fd3(%rip), %r14      # 0x6004
movl $0xcccccccd, %r12d      # imm = 0xCCCCCCCD
testl %ebx, %ebx
js 0x205e
cmpl $0x9, %ebx
jle 0x2076
movl %ebx, %r15d
imulq %r12, %r15
shrq $0x23, %r15
movl %r15d, %edi
callq 0x2020
addl %r15d, %r15d
leal (%r15,%r15,4), %eax
subl %eax, %ebx
jmp 0x2037
negl %ebx
jo 0x208c
movl $0x1, %edx
movl $0x1, %edi
movq %r14, %rsi
callq 0x1040
jmp 0x2037
addb $0x30, %bl
movsbl %bl, %edi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x1f70
leaq 0x40c8(%rip), %rdi      # 0x615b
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x1f8c
nop
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/get_next_line/get_next_line.c
// Function: init_new_file
static t_list	*init_new_file(const int fd, char **line)
{
	t_file			*file;
	t_list			*new_list;

	if (fd < 0 || !line)
		return (NULL);
	if (!(file = (t_file *)malloc(sizeof(t_file))))
		return (NULL);
	file->fd = fd;
	file->rest = NULL;
	file->cur = NULL;
	file->state = -1;
	if (!(new_list = ft_lstnew(file, sizeof(t_file))))
	{
		free(file);
		file = NULL;
		if (new_list)
		{
			free(new_list);
			new_list = NULL;
		}
		return (NULL);
	}
	free(file);
	file = NULL;
	return (new_list);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
testl %edi, %edi
js 0x2379
movl %edi, %ebp
movl $0x18, %edi
callq 0x1070
testq %rax, %rax
je 0x2379
movq %rax, %rbx
movl %ebp, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movl $0xffffffff, 0x4(%rax)  # imm = 0xFFFFFFFF
movl $0x18, %esi
movq %rax, %rdi
callq 0x572c
movq %rax, %r14
movq %rbx, %rdi
callq 0x1030
movq %r14, %rax
jmp 0x237b
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_printf.c
// Function: ft_loop_args
int			ft_loop_args(char *s, va_list *args, char **out, t_flag *flag)
{
	int		ret;

	while (*s)
	{
		ft_init_flags(flag);
		if (!(s = ft_fillcstr(s, out, flag->null)))
			return (0);
		if (*s == '%')
		{
			ft_join_free(out, "%", 1, flag->null);
			s++;
		}
		else if ((ret = ft_loop_args_extend(&s, out, args, flag)) == 2)
			return (-1);
		else if (ret == 1)
			return (1);
		ft_strdel(&flag->str);
	}
	return (0);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpb $0x0, (%rdi)
je 0x2514
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r13
movq %rbx, %rdi
callq 0x2e8c
movl 0x44(%rbx), %edx
movq %r13, %rdi
movq %r14, %rsi
callq 0x2880
testq %rax, %rax
je 0x2514
movq %rax, %rbp
movb (%rax), %al
cmpb $0x25, %al
jne 0x23ea
movl 0x44(%rbx), %ecx
movq %r14, %rdi
leaq 0x3da3(%rip), %rsi      # 0x6178
movl $0x1, %edx
callq 0x327c
incq %rbp
movq %rbp, %r13
jmp 0x2501
movsbl %al, %edi
callq 0x2ffc
testl %eax, %eax
je 0x2420
movq %rbp, %r13
incq %r13
movq %r15, %rdi
movq %rbx, %rsi
movq %rbp, %rdx
movq %r14, %rcx
callq 0x2645
movl $0x2, %r12d
movq %r13, %rbp
testl %eax, %eax
jne 0x24f5
jmp 0x244b
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x2aa4
movq %rax, %r13
testq %rax, %rax
sete %al
cmpq %rbp, %r13
sete %cl
orb %al, %cl
je 0x24c3
testq %r13, %r13
je 0x24ef
movb (%r13), %al
testb %al, %al
sete %cl
cmpq %rbp, %r13
sete %dl
orb %cl, %dl
je 0x249a
cmpl $0x1, 0x40(%rbx)
jne 0x246a
cmpq $0x0, (%rbx)
jne 0x2481
cmpb $0x25, %al
jne 0x249d
cmpb $0x0, 0x1(%r13)
jne 0x249d
movq %rbx, %rdi
callq 0x2efd
testl %eax, %eax
je 0x249d
movl 0x44(%rbx), %ecx
movq %r14, %rdi
leaq 0x3cea(%rip), %rsi      # 0x6178
movl $0x1, %edx
callq 0x327c
jmp 0x249d
incq %r13
xorl %r12d, %r12d
cmpb $0x0, (%r13)
jne 0x24f5
movq (%rbx), %rsi
testq %rsi, %rsi
je 0x24f5
xorl %r12d, %r12d
movq %r14, %rdi
movl $0x1, %edx
xorl %ecx, %ecx
callq 0x327c
jmp 0x24f5
cmpl $0x1, 0x40(%rbx)
jne 0x24d3
cmpq $0x0, (%rbx)
je 0x2442
movq %r15, %rdi
movq %rbx, %rsi
movq %r13, %rdx
movq %r14, %rcx
callq 0x2645
movl $0x2, %r12d
jmp 0x2416
movl $0x1, %r12d
cmpl $0x1, %r12d
je 0x2517
cmpl $0x2, %r12d
je 0x2529
movq %rbx, %rdi
callq 0x1d5c
cmpb $0x0, (%r13)
jne 0x23a0
xorl %r12d, %r12d
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
jmp 0x2517
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_printf.c
// Function: ft_printf
int			ft_printf(const char *format, ...)
{
	char	*out;
	int		len;
	va_list	args;
	t_flag	flag;

	flag.null = 0;
	if (!format || !*format)
		return (0);
	out = NULL;
	va_start(args, format);
	len = ft_loop_args((char *)format, &args, &out, &flag);
	va_end(args);
	ft_strdel(&flag.str);
	if (len != -1)
	{
		len = ft_strlen_null(out, flag.null);
		write(1, out, len);
	}
	ft_strdel(&out);
	return (len);
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %rsi, 0x38(%rsp)
movq %rdx, 0x40(%rsp)
movq %rcx, 0x48(%rsp)
movq %r8, 0x50(%rsp)
movq %r9, 0x58(%rsp)
testb %al, %al
je 0x2591
movaps %xmm0, 0x60(%rsp)
movaps %xmm1, 0x70(%rsp)
movaps %xmm2, 0x80(%rsp)
movaps %xmm3, 0x90(%rsp)
movaps %xmm4, 0xa0(%rsp)
movaps %xmm5, 0xb0(%rsp)
movaps %xmm6, 0xc0(%rsp)
movaps %xmm7, 0xd0(%rsp)
movl $0x0, 0x12c(%rsp)
xorl %ebx, %ebx
testq %rdi, %rdi
je 0x2639
cmpb $0x0, (%rdi)
je 0x2639
leaq 0x8(%rsp), %rdx
movq $0x0, (%rdx)
movabsq $0x3000000008, %rax     # imm = 0x3000000008
leaq 0x10(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x150(%rsp), %rax
movq %rax, 0x8(%rsi)
leaq 0x30(%rsp), %rax
movq %rax, 0x10(%rsi)
leaq 0xe8(%rsp), %rbx
movq %rbx, %rcx
callq 0x2380
movl %eax, %ebp
movq %rbx, %rdi
callq 0x1d5c
cmpl $-0x1, %ebp
je 0x262a
movq 0x8(%rsp), %rdi
movl 0x12c(%rsp), %esi
callq 0x304c
movq %rax, %rbx
movq 0x8(%rsp), %rsi
movslq %ebx, %rdx
movl $0x1, %edi
callq 0x1040
jmp 0x262f
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
leaq 0x8(%rsp), %rdi
callq 0x1d5c
movl %ebx, %eax
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_printf_extend.c
// Function: ft_fillcstr
char	*ft_fillcstr(const char *s, char **out, int null)
{
	char	*tmp;
	char	*tmp2;
	char	*tmp_out;

	tmp_out = *out;
	if (!(tmp = ft_strchr(s, '%')))
	{
		*out = ft_strjoin_hub(*out, s, null, 1);
		ft_strdel(&tmp_out);
		return (NULL);
	}
	tmp2 = ft_strsub(s, 0, tmp - s);
	*out = ft_strjoin_hub(*out, tmp2, null, 1);
	ft_strdel(&tmp_out);
	ft_strdel(&tmp2);
	return (tmp + 1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r15
movq (%rsi), %rax
movq %rax, 0x8(%rsp)
movl $0x25, %esi
callq 0x53bc
testq %rax, %rax
je 0x28f0
movq %rax, %r14
movq %rax, %rdx
subq %r15, %rdx
movq %r15, %rdi
xorl %esi, %esi
callq 0x5550
leaq 0x10(%rsp), %r15
movq %rax, (%r15)
movq (%rbx), %rdi
movq %rax, %rsi
movl %ebp, %edx
movl $0x1, %ecx
callq 0x3172
movq %rax, (%rbx)
leaq 0x8(%rsp), %rdi
callq 0x1d5c
movq %r15, %rdi
callq 0x1d5c
incq %r14
jmp 0x2912
movq (%rbx), %rdi
movq %r15, %rsi
movl %ebp, %edx
movl $0x1, %ecx
callq 0x3172
movq %rax, (%rbx)
leaq 0x8(%rsp), %rdi
callq 0x1d5c
xorl %r14d, %r14d
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_printf_extend.c
// Function: ft_wildcard
void	ft_wildcard(va_list *args, t_flag *flag)
{
	int		tmp_field;

	if (flag->wildcard)
	{
		if (!flag->dot && (tmp_field = va_arg(*args, int)))
		{
			flag->wildcard--;
			if (!flag->field && (flag->field = tmp_field) < 0)
			{
				flag->min = 1;
				flag->field = -flag->field;
			}
		}
		else if (flag->wildcard > 1)
			va_arg(*args, int);
		if (flag->wildcard && flag->dot)
		{
			if ((tmp_field = va_arg(*args, int)) < 0)
				flag->dot = 0;
			else
				flag->precision = tmp_field;
		}
	}
}

// Assembly:
cmpl $0x0, 0x48(%rsi)
je 0x29c6
cmpl $0x0, 0x2c(%rsi)
je 0x2944
cmpl $0x2, 0x48(%rsi)
jl 0x298f
movl (%rdi), %eax
cmpl $0x28, %eax
ja 0x295a
addl $0x8, %eax
movl %eax, (%rdi)
jmp 0x298f
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x2961
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x296d
addq $0x8, 0x8(%rdi)
jmp 0x298f
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movl (%rax), %eax
testl %eax, %eax
je 0x2930
decl 0x48(%rsi)
cmpl $0x0, 0x38(%rsi)
jne 0x298f
movl %eax, 0x38(%rsi)
testl %eax, %eax
jns 0x298f
movl $0x1, 0x10(%rsi)
negl %eax
movl %eax, 0x38(%rsi)
cmpl $0x0, 0x48(%rsi)
je 0x29c6
cmpl $0x0, 0x2c(%rsi)
je 0x29c6
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x29b1
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x29bd
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movl (%rax), %eax
testl %eax, %eax
js 0x29c7
movl %eax, 0x34(%rsi)
retq
movl $0x0, 0x2c(%rsi)
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_printf_extend.c
// Function: ft_double_select
double	ft_double_select(va_list *args, t_flag *flag)
{
	long double	nb;
	double		nb2;

	if (flag->l_up)
		nb = va_arg(*args, long double);
	else
	{
		nb2 = va_arg(*args, double);
		nb = (long double)nb2;
	}
	return (nb);
}

// Assembly:
cmpl $0x0, 0x1c(%rsi)
je 0x29f6
movq 0x8(%rdi), %rax
addq $0xf, %rax
andq $-0x10, %rax
leaq 0x10(%rax), %rcx
movq %rcx, 0x8(%rdi)
fldt (%rax)
fstpl -0x8(%rsp)
movsd -0x8(%rsp), %xmm0
retq
movl 0x4(%rdi), %ecx
cmpq $0xa0, %rcx
ja 0x2a11
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x10, %ecx
movl %ecx, 0x4(%rdi)
jmp 0x2a1d
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movsd (%rax), %xmm0
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_set_flags.c
// Function: ft_prio
static	void	ft_prio(t_flag *flag, char c)
{
	if (c == 'j' || c == 'z')
		flag->ll = 1;
	if (flag->ll || flag->l_up)
	{
		flag->l_low = 0;
		flag->h = 0;
		flag->hh = 0;
	}
	else if (flag->l_low)
	{
		flag->h = 0;
		flag->hh = 0;
	}
	else if (flag->h)
		flag->hh = 0;
	if (flag->min)
		flag->zero = 0;
}

// Assembly:
andb $-0x11, %sil
cmpb $0x6a, %sil
jne 0x2cee
movl $0x1, 0x20(%rdi)
cmpl $0x0, 0x20(%rdi)
jne 0x2cfa
cmpl $0x0, 0x1c(%rdi)
je 0x2d20
movl $0x0, 0x18(%rdi)
leaq 0x24(%rdi), %rax
movl $0x0, (%rax)
movl $0x0, 0x28(%rdi)
cmpl $0x0, 0x10(%rdi)
je 0x2d1f
movl $0x0, 0xc(%rdi)
retq
leaq 0x24(%rdi), %rax
cmpl $0x0, 0x18(%rdi)
jne 0x2d05
cmpl $0x0, (%rax)
jne 0x2d0b
jmp 0x2d12
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_set_flags_extend.c
// Function: ft_set_min_field_size
void		ft_set_min_field_size(char **s, t_flag *flag)
{
	if (**s)
	{
		flag->field = ft_atoi(*s);
		if (*(*s + 1))
			while (*(*s + 1) >= '0' && *(*s + 1) <= '9')
				(*s)++;
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
cmpb $0x0, (%rdi)
je 0x2d91
movq %rsi, %r14
callq 0x56cc
movl %eax, 0x38(%r14)
movq (%rbx), %rax
cmpb $0x0, 0x1(%rax)
je 0x2d91
movq (%rbx), %rax
movb 0x1(%rax), %cl
addb $-0x30, %cl
cmpb $0x9, %cl
ja 0x2d91
incq %rax
movq %rax, (%rbx)
movb 0x1(%rax), %cl
incq %rax
addb $-0x30, %cl
cmpb $0xa, %cl
jb 0x2d80
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_set_flags_extend.c
// Function: ft_set_precision
void		ft_set_precision(char **s, t_flag *flag)
{
	char	*tmp;

	flag->dot++;
	tmp = *s;
	(*s)++;
	if (**s)
	{
		if (**s < '0' || **s > '9')
		{
			*s = tmp;
			flag->precision = 0;
		}
		flag->precision = ft_atoi(*s);
		if (*(*s + 1))
			while (*(*s + 1) >= '0' && *(*s + 1) <= '9')
				(*s)++;
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
incl 0x2c(%rsi)
movq (%rdi), %rax
leaq 0x1(%rax), %rcx
movq %rcx, (%rdi)
movb 0x1(%rax), %cl
testb %cl, %cl
je 0x2e01
movq %rsi, %r14
movq %rdi, %rbx
addb $-0x3a, %cl
cmpb $-0xb, %cl
ja 0x2dca
movq %rax, (%rbx)
movl $0x0, 0x34(%r14)
movq (%rbx), %rdi
callq 0x56cc
movl %eax, 0x34(%r14)
movq (%rbx), %rax
cmpb $0x0, 0x1(%rax)
je 0x2e01
movq (%rbx), %rax
movb 0x1(%rax), %cl
addb $-0x30, %cl
cmpb $0x9, %cl
ja 0x2e01
incq %rax
movq %rax, (%rbx)
movb 0x1(%rax), %cl
incq %rax
addb $-0x30, %cl
cmpb $0xa, %cl
jb 0x2df0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_set_flags_extend.c
// Function: ft_set_attribute_flags
void		ft_set_attribute_flags(char **s, t_flag *flag)
{
	if (**s == ' ')
		flag->space++;
	else if (**s == '#')
		flag->sharp++;
	else if (**s == '0')
		flag->zero++;
	else if (**s == '-')
		flag->min++;
	else if (**s == '+')
		flag->plus++;
}

// Assembly:
movq (%rdi), %rax
movzbl (%rax), %eax
cmpl $0x2a, %eax
jle 0x2e27
cmpl $0x2b, %eax
je 0x2e35
cmpl $0x2d, %eax
je 0x2e39
cmpl $0x30, %eax
jne 0x2e38
incl 0xc(%rsi)
retq
cmpl $0x20, %eax
je 0x2e3d
cmpl $0x23, %eax
jne 0x2e38
incl 0x8(%rsi)
retq
incl 0x14(%rsi)
retq
incl 0x10(%rsi)
retq
incl 0x30(%rsi)
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_set_flags_extend.c
// Function: ft_set_length_flags
void		ft_set_length_flags(char **s, t_flag *flag)
{
	if (!flag->ll)
	{
		if (**s == 'L')
			flag->l_up++;
		else if (**s == 'l')
		{
			if (*(*s + 1) == 'l')
			{
				flag->ll++;
				(*s)++;
			}
			else
				flag->l_low++;
		}
		else if (**s == 'h')
		{
			if (*(*s + 1) == 'h')
			{
				flag->hh++;
				(*s)++;
			}
			else
				flag->h++;
		}
	}
}

// Assembly:
cmpl $0x0, 0x20(%rsi)
je 0x2e48
retq
movq (%rdi), %rax
movzbl (%rax), %ecx
cmpl $0x6c, %ecx
je 0x2e6f
cmpl $0x68, %ecx
je 0x2e61
cmpl $0x4c, %ecx
jne 0x2e47
incl 0x1c(%rsi)
retq
cmpb $0x68, 0x1(%rax)
jne 0x2e83
incq %rax
incl 0x28(%rsi)
jmp 0x2e7f
cmpb $0x6c, 0x1(%rax)
jne 0x2e87
incq %rax
movl $0x1, 0x20(%rsi)
movq %rax, (%rdi)
retq
incl 0x24(%rsi)
retq
incl 0x18(%rsi)
retq
nop
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_flag_extend.c
// Function: ft_bad_flag
char		*ft_bad_flag(char *s, t_flag *flag)
{
	flag->str = ft_strcdup(s, '%');
	if (*(s + ft_strclen(s, '%')) == '%' && flag->str && *flag->str)
		flag->percent = 1;
	return (s + ft_strclen(s, '%'));
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movl $0x25, %esi
callq 0x54a8
movq %rax, (%r14)
movq %rbx, %rdi
movl $0x25, %esi
callq 0x55c0
cmpb $0x25, (%rbx,%rax)
jne 0x2ee5
movq (%r14), %rax
testq %rax, %rax
je 0x2ee5
cmpb $0x0, (%rax)
je 0x2ee5
movl $0x1, 0x40(%r14)
movq %rbx, %rdi
movl $0x25, %esi
callq 0x55c0
addq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_flag_extend.c
// Function: ft_error_flag
char		*ft_error_flag(char *s, t_flag *flag)
{
	if (flag->min || flag->sharp)
		flag->zero = 0;
	if (flag->field || flag->zero || flag->dot || flag->sharp || flag->plus
		|| flag->space || (flag->space && *s && *(s + 1)) || flag->min)
	{
		if (flag->field > 1)
			ft_filler(&flag->str, ft_strnew_c(flag->field - 1, flag->zero ? '0'
			: ' '), 0, 0);
		ft_join_free(&flag->str, "%", flag->min ? 0 : 1, 0);
	}
	else
		flag->str = ft_strcdup(s, '%');
	return (s);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movl 0x10(%rsi), %eax
testl %eax, %eax
jne 0x2f64
cmpl $0x0, 0x8(%r14)
je 0x2f6c
movl $0x0, 0xc(%r14)
movl 0x38(%r14), %edi
testl %edi, %edi
jne 0x2f96
cmpl $0x0, 0xc(%r14)
jne 0x2f96
cmpl $0x0, 0x2c(%r14)
jne 0x2f96
cmpl $0x0, 0x8(%r14)
jne 0x2f96
cmpl $0x0, 0x14(%r14)
jne 0x2f96
orl 0x30(%r14), %eax
je 0x2fe8
cmpl $0x2, %edi
jl 0x2fc2
decl %edi
xorl %esi, %esi
cmpl $0x0, 0xc(%r14)
setne %sil
shll $0x4, %esi
orl $0x20, %esi
callq 0x31de
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x3221
xorl %edx, %edx
cmpl $0x0, 0x10(%r14)
sete %dl
leaq 0x31a5(%rip), %rsi      # 0x6178
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x327c
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rbx, %rdi
movl $0x25, %esi
callq 0x54a8
movq %rax, (%r14)
jmp 0x2fdd
nop
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_util.c
// Function: ft_ok_conv
int			ft_ok_conv(char c)
{
	return (c == 'd' || c == 'i' || c == 'o' || c == 'u' || c == 'x'
			|| c == 'D' || c == 'O' || c == 'U' || c == 'X' || c == 'B'
			|| c == 'b' || c == 'p' || c == 'f' || c == 'F'
			|| c == 's' || c == 'S' || c == 'c' || c == 'C');
}

// Assembly:
leal -0x42(%rdi), %ecx
cmpl $0x36, %ecx
ja 0x301a
movl $0x1, %eax
movabsq $0x4a6097004a2015, %rdx # imm = 0x4A6097004A2015
btq %rcx, %rdx
jae 0x301a
retq
xorl %eax, %eax
cmpb $0x43, %dil
sete %al
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_util.c
// Function: ft_strjoin_null
char		*ft_strjoin_null(char const *s1, char const *s2, int null, int id)
{
	char	*s_new;
	size_t	len_s1;
	size_t	len_s2;

	if (!s1 && !s2)
		return (NULL);
	if (id == 3)
	{
		len_s2 = ft_strlen_null(s2, 1);
		len_s1 = (null - 1) > 0 ? ft_strlen_null(s1, null - 1)
			: ft_strlen(s1);
	}
	else
	{
		len_s1 = (id == 1 ? ft_strlen_null(s1, null) : ft_strlen(s1));
		len_s2 = (id == 2 ? ft_strlen_null(s2, null) : ft_strlen(s2));
	}
	if (!(s_new = (char *)malloc(sizeof(char) * (len_s1 + len_s2 + 1))))
		return (NULL);
	ft_memcpy(s_new, s1, len_s1);
	ft_memcpy(s_new + len_s1, s2, len_s2);
	s_new[len_s1 + len_s2] = '\0';
	return (s_new);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rax
orq %rsi, %rax
je 0x315d
movl %ecx, %r15d
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x1, %ecx
je 0x30ca
cmpl $0x3, %r15d
jne 0x30d6
testq %rbx, %rbx
je 0x30fd
movb (%rbx), %cl
movl $0x1, %eax
xorl %r15d, %r15d
cmpb $0x1, %cl
sbbl $0x0, %eax
movb 0x1(%rbx,%r15), %cl
incq %r15
testb %cl, %cl
jne 0x30b2
testl %eax, %eax
jne 0x30b2
jmp 0x3100
movq %r14, %rdi
movl %ebp, %esi
callq 0x304c
jmp 0x30de
movq %r14, %rdi
callq 0x5594
movq %rax, %r12
movq %rbx, %rdi
cmpl $0x2, %r15d
jne 0x30f3
movl %ebp, %esi
callq 0x304c
jmp 0x30f8
callq 0x5594
movq %rax, %r15
jmp 0x311e
xorl %r15d, %r15d
cmpl $0x2, %ebp
jl 0x3113
decl %ebp
movq %r14, %rdi
movl %ebp, %esi
callq 0x304c
jmp 0x311b
movq %r14, %rdi
callq 0x5594
movq %rax, %r12
leaq (%r15,%r12), %rdi
incq %rdi
callq 0x1070
testq %rax, %rax
je 0x315d
movq %rax, %r13
leaq (%r15,%r12), %rbp
movq %rax, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x56b0
movq %r13, %rdi
addq %r12, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x56b0
movb $0x0, (%r13,%rbp)
jmp 0x3160
xorl %r13d, %r13d
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_util2.c
// Function: ft_strnew_c
char	*ft_strnew_c(size_t size, char c)
{
	char	*str;
	size_t	i;

	i = 0;
	if (!(str = (char *)malloc(sizeof(char) * (size + 1))))
		return (NULL);
	while (i < size)
		str[i++] = c;
	str[i] = '\0';
	return (str);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %r14
incq %rdi
callq 0x1070
testq %rax, %rax
je 0x320d
movq %rax, %rbx
testq %r14, %r14
je 0x3211
movzbl %bpl, %esi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1050
jmp 0x3214
xorl %ebx, %ebx
jmp 0x3219
xorl %r14d, %r14d
movb $0x0, (%rbx,%r14)
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_util2.c
// Function: ft_filler
void	ft_filler(char **s, char *add, int after, int null)
{
	char	*tmp;

	tmp = *s;
	if (!after || (add && *add != ' '))
		*s = ft_strjoin_hub(add, *s, null, 2);
	else
		*s = ft_strjoin_hub(*s, add, null, 1);
	ft_strdel(&tmp);
	ft_strdel(&add);
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq %rsi, 0x8(%rsp)
movq (%rdi), %rax
movq %rax, (%rsp)
testl %edx, %edx
je 0x324f
testq %rsi, %rsi
je 0x3243
cmpb $0x20, (%rsi)
jne 0x324f
movq %rax, %rdi
movl %ecx, %edx
movl $0x1, %ecx
jmp 0x325c
movq %rsi, %rdi
movq %rax, %rsi
movl %ecx, %edx
movl $0x2, %ecx
callq 0x3172
movq %rax, (%rbx)
movq %rsp, %rdi
callq 0x1d5c
leaq 0x8(%rsp), %rdi
callq 0x1d5c
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_util2.c
// Function: ft_join_free
void	ft_join_free(char **s, char const *new, int after, int null)
{
	char	*tmp;

	tmp = *s;
	if (after)
		*s = ft_strjoin_hub(*s, new, null, 1);
	else
		*s = ft_strjoin_hub(new, *s, null, 2);
	ft_strdel(&tmp);
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
movq %rax, 0x8(%rsp)
testl %edx, %edx
je 0x329c
movq %rax, %rdi
movl %ecx, %edx
movl $0x1, %ecx
jmp 0x32a9
movq %rsi, %rdi
movq %rax, %rsi
movl %ecx, %edx
movl $0x2, %ecx
callq 0x3172
movq %rax, (%rbx)
leaq 0x8(%rsp), %rdi
callq 0x1d5c
addq $0x10, %rsp
popq %rbx
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_conversion.c
// Function: ft_hub_conversion_nb
char					*ft_hub_conversion_nb(long long int nb,
						t_flag *flag, char c)
{
	char	*s;

	ft_up_d(&c, flag);
	if (flag->dot && !flag->precision && nb == 0)
		s = NULL;
	else if (c != 'p')
		s = ft_split_conversion_nb(nb, flag, c);
	else
		s = ft_set_string(nb, flag, c);
	if (flag->plus && flag->neg)
		flag->space = 0;
	ft_fill_string(&s, flag, c);
	if (flag->field > 0 && !flag->zero)
		ft_filler(&s, ft_strnew_c(flag->field, ' '), flag->min, flag->null);
	return (s);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
cmpb $0x44, %dl
jne 0x32e1
xorl %eax, %eax
movl %eax, 0x28(%rbx)
movl %eax, 0x18(%rbx)
movq $0x1, 0x20(%rbx)
movb $0x64, %dl
movl $0x0, 0x8(%rbx)
cmpb $0x70, %dl
jne 0x32f4
movl $0x0, 0x14(%rbx)
movl 0x2c(%rbx), %eax
testl %eax, %eax
je 0x3308
cmpl $0x0, 0x48(%rbx)
jne 0x3308
movl $0x0, 0xc(%rbx)
cmpb $0x70, %dl
je 0x3313
cmpl $0x0, 0x14(%rbx)
je 0x331a
movl $0x0, 0x30(%rbx)
movsbl %dl, %ebp
testl %eax, %eax
je 0x3336
testq %rdi, %rdi
jne 0x3336
cmpl $0x0, 0x34(%rbx)
jne 0x3336
movq $0x0, (%rsp)
jmp 0x3387
cmpb $0x70, %dl
je 0x3379
cmpl $0x0, 0x24(%rbx)
je 0x3347
movswq %di, %rdi
jmp 0x3362
cmpl $0x0, 0x28(%rbx)
je 0x3353
movsbq %dil, %rdi
jmp 0x3362
cmpl $0x0, 0x18(%rbx)
jne 0x3362
cmpl $0x0, 0x20(%rbx)
jne 0x3362
movslq %edi, %rdi
testq %rdi, %rdi
jns 0x3379
movl $0x1, 0x3c(%rbx)
xorl %eax, %eax
movl %eax, 0x30(%rbx)
movl %eax, 0x14(%rbx)
negq %rdi
movq %rbx, %rsi
movl %ebp, %edx
callq 0x33dc
movq %rax, (%rsp)
cmpl $0x0, 0x14(%rbx)
je 0x339a
cmpl $0x0, 0x3c(%rbx)
je 0x339a
movl $0x0, 0x30(%rbx)
movq %rsp, %rdi
movq %rbx, %rsi
movl %ebp, %edx
callq 0x3458
movslq 0x38(%rbx), %rdi
testq %rdi, %rdi
jle 0x33d1
cmpl $0x0, 0xc(%rbx)
jne 0x33d1
movl $0x20, %esi
callq 0x31de
movl 0x10(%rbx), %edx
movl 0x44(%rbx), %ecx
movq %rsp, %rdi
movq %rax, %rsi
callq 0x3221
movq (%rsp), %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_conversion.c
// Function: ft_set_string
static char				*ft_set_string(long long int nb,
						t_flag *flag, char c)
{
	char *s;

	if (c == 'p')
	{
		flag->field -= 2;
		s = ft_strlowcase(ft_itoa_base_lu((unsigned long)nb, 16));
	}
	else if (nb < MIN_LONG)
		s = ft_strdup(MIN_LONG_STR);
	else
		s = ft_itoa_base_l(nb, 10);
	flag->precision -= ft_strlen(s);
	flag->precision < 0 ? flag->precision = 0 : flag->precision;
	flag->field -= flag->precision + ft_strlen(s)
				+ flag->neg + flag->plus + flag->space;
	return (s);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
cmpb $0x70, %dl
jne 0x3400
addl $-0x2, 0x38(%rbx)
movl $0x10, %esi
callq 0x58d4
movq %rax, %rdi
callq 0x5658
jmp 0x3420
movq %rdi, %rax
negq %rax
jno 0x3416
leaq 0x2db1(%rip), %rdi      # 0x61c0
callq 0x543c
jmp 0x3420
movl $0xa, %esi
callq 0x5798
movq %rax, %r14
movq %rax, %rdi
callq 0x5594
movl 0x34(%rbx), %ecx
subl %eax, %ecx
xorl %ebp, %ebp
testl %ecx, %ecx
cmovgl %ecx, %ebp
movl %ebp, 0x34(%rbx)
movq %r14, %rdi
callq 0x5594
addl %ebp, %eax
addl 0x3c(%rbx), %eax
addl 0x14(%rbx), %eax
addl 0x30(%rbx), %eax
subl %eax, 0x38(%rbx)
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_conversion_oth.c
// Function: ft_fill_string
void		ft_fill_string(char **s, t_flag *flag, char c)
{
	int		tmp;

	tmp = 0;
	if (flag->precision >= 0)
	{
		if (flag->zero && c != 'o')
			tmp = flag->field;
		ft_filler(s, ft_strnew_c(flag->precision, '0'), 1, flag->null);
	}
	if (flag->field > 0 && flag->zero)
		ft_filler(s, ft_strnew_c(flag->field, '0'), 0, flag->null);
	if (c == 'p' || ((c == 'X' || c == 'x') && flag->sharp))
		ft_join_free(s, c == 'X' ? "0X" : "0x", 0, 0);
	if (flag->neg)
		ft_join_free(s, "-", 0, 0);
	else if (flag->plus)
		ft_join_free(s, "+", 0, 0);
	else if (flag->space)
		ft_join_free(s, " ", 0, flag->null);
	if (tmp > 0 && !flag->zero)
		ft_filler(s, ft_strnew_c(tmp, ' '), 0, flag->null);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movslq 0x34(%rsi), %rdi
xorl %r15d, %r15d
testq %rdi, %rdi
js 0x34a2
cmpb $0x6f, %bpl
je 0x3484
cmpl $0x0, 0xc(%r14)
je 0x3484
movl 0x38(%r14), %r15d
movl $0x30, %esi
callq 0x31de
movl 0x44(%r14), %ecx
movq %rbx, %rdi
movq %rax, %rsi
movl $0x1, %edx
callq 0x3221
movslq 0x38(%r14), %rdi
testq %rdi, %rdi
jle 0x34cd
cmpl $0x0, 0xc(%r14)
je 0x34cd
movl $0x30, %esi
callq 0x31de
movl 0x44(%r14), %ecx
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x3221
cmpb $0x70, %bpl
je 0x34e2
movl %ebp, %eax
andb $-0x21, %al
cmpb $0x58, %al
jne 0x3504
cmpl $0x0, 0x8(%r14)
je 0x3504
cmpb $0x58, %bpl
leaq 0x2ce7(%rip), %rax      # 0x61d4
leaq 0x2ce3(%rip), %rsi      # 0x61d7
cmoveq %rax, %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x327c
cmpl $0x0, 0x3c(%r14)
je 0x3514
leaq 0x2af2(%rip), %rsi      # 0x6004
jmp 0x3522
cmpl $0x0, 0x14(%r14)
je 0x356d
leaq 0x2cb8(%rip), %rsi      # 0x61da
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x327c
testl %r15d, %r15d
jle 0x353a
cmpl $0x0, 0xc(%r14)
je 0x3545
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl %r15d, %edi
movl $0x20, %esi
callq 0x31de
movl 0x44(%r14), %ecx
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3221
cmpl $0x0, 0x30(%r14)
je 0x352e
movl 0x44(%r14), %ecx
leaq 0x2bb8(%rip), %rsi      # 0x6137
movq %rbx, %rdi
xorl %edx, %edx
jmp 0x3529
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_conversion_oth.c
// Function: ft_conversion_char
char		*ft_conversion_char(int c, t_flag *flag)
{
	char	*s;

	s = NULL;
	if ((unsigned char)c == 0)
		flag->null++;
	flag->field--;
	if (flag->field < 0)
		flag->field = 0;
	s = ft_strnew_c((size_t)flag->field + 1, flag->zero ? '0' : ' ');
	if ((flag->min || flag->field <= 0))
		s[0] = (unsigned char)c;
	else if (flag->field > 0)
		s[flag->field] = (unsigned char)c;
	return (s);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movl %edi, %ebx
testb %bl, %bl
jne 0x3597
incl 0x44(%r14)
movl 0x38(%r14), %eax
leal -0x1(%rax), %ecx
xorl %edx, %edx
testl %eax, %eax
cmovgl %ecx, %edx
movl %edx, 0x38(%r14)
incl %edx
movslq %edx, %rdi
xorl %esi, %esi
cmpl $0x0, 0xc(%r14)
setne %sil
shll $0x4, %esi
orl $0x20, %esi
callq 0x31de
cmpl $0x0, 0x10(%r14)
movq %rax, %rcx
jne 0x35e0
movslq 0x38(%r14), %rdx
movq %rax, %rcx
testq %rdx, %rdx
jle 0x35e0
movq %rax, %rcx
addq %rdx, %rcx
movb %bl, (%rcx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_conversion_oth.c
// Function: ft_conversion_str
char		*ft_conversion_str(const char *src, t_flag *flag)
{
	char	*s;

	s = NULL;
	if (!src && (flag->precision > 5 || flag->precision == 0) && !flag->dot)
		s = ft_strdup("(null)");
	else if (!src && flag->precision)
		s = ft_strndup("(null)", flag->precision);
	else if (flag->dot)
	{
		if (flag->precision > 0)
			s = ft_strndup(src, flag->precision);
	}
	else
		s = ft_strdup(src);
	flag->field = s ? (int)(flag->field - (ft_strlen(s))) : flag->field;
	if (flag->field > 0)
		ft_filler(&s, ft_strnew_c(flag->field, flag->zero && !flag->min ? '0'
		: ' '), flag->min, 0);
	return (s);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq $0x0, (%rsp)
testq %rdi, %rdi
je 0x360e
cmpl $0x0, 0x2c(%rbx)
je 0x3642
movslq 0x34(%rbx), %rsi
testq %rsi, %rsi
jg 0x3634
jmp 0x364b
movslq 0x34(%rbx), %rsi
testq %rsi, %rsi
setne %al
cmpq $0x6, %rsi
setl %cl
testb %al, %cl
jne 0x3629
cmpl $0x0, 0x2c(%rbx)
je 0x363b
testl %esi, %esi
je 0x35fd
leaq 0x2ba8(%rip), %rdi      # 0x61dc
callq 0x5464
jmp 0x3647
leaq 0x2b9a(%rip), %rdi      # 0x61dc
callq 0x543c
movq %rax, (%rsp)
movq (%rsp), %rdi
movl 0x38(%rbx), %ebp
testq %rdi, %rdi
je 0x365e
callq 0x5594
subl %eax, %ebp
movl %ebp, 0x38(%rbx)
testl %ebp, %ebp
jle 0x3695
movl %ebp, %edi
cmpl $0x0, 0xc(%rbx)
je 0x367b
cmpl $0x0, 0x10(%rbx)
sete %al
shlb $0x4, %al
orb $0x20, %al
jmp 0x367d
movb $0x20, %al
movzbl %al, %esi
callq 0x31de
movl 0x10(%rbx), %edx
movq %rsp, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x3221
movq (%rsp), %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq