// File: /workspace/github_c_makefile_star2_O0/ffoissey[P]push_swap_42/libft/srcs/ft_printf/ft_printf.c
// Function: ft_conversion_c_n_s
static int	ft_conversion_c_n_s(va_list *args, char *s, t_flag *flag,
			char **new)
{
	if (*s == 'c' || *s == 'C')
	{
		if (*s == 'C' || flag->l_low)
		{
			if (ft_conversion_lchar(va_arg(*args, wint_t), flag, new))
				return (1);
		}
		else
			*new = ft_conversion_char(va_arg(*args, int), flag);
	}
	else if (*s == 's' || *s == 'S')
	{
		if (*s == 'S' || flag->l_low)
		{
			if (ft_conversion_lstr(va_arg(*args, wchar_t *), flag, new))
				return (1);
		}
		else
			*new = ft_conversion_str(va_arg(*args, const char *), flag);
	}
	return (0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x63, %eax
je 0x37f7
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x43, %eax
jne 0x38d5
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x43, %eax
je 0x380d
movq -0x20(%rbp), %rax
cmpl $0x0, 0x18(%rax)
je 0x3875
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
movl (%rax), %eax
movl %eax, -0x2c(%rbp)
cmpl $0x28, %eax
ja 0x3838
movq -0x38(%rbp), %rcx
movl -0x2c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x40(%rbp)
jmp 0x384f
movq -0x38(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movl (%rax), %edi
movq -0x20(%rbp), %rsi
movq -0x28(%rbp), %rdx
callq 0x5fe0
cmpl $0x0, %eax
je 0x3873
movl $0x1, -0x4(%rbp)
jmp 0x39dd
jmp 0x38d0
movq -0x10(%rbp), %rax
movq %rax, -0x50(%rbp)
movl (%rax), %eax
movl %eax, -0x44(%rbp)
cmpl $0x28, %eax
ja 0x38a0
movq -0x50(%rbp), %rcx
movl -0x44(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x58(%rbp)
jmp 0x38b7
movq -0x50(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rax
movl (%rax), %edi
movq -0x20(%rbp), %rsi
callq 0x5520
movq %rax, %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
jmp 0x39d6
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x73, %eax
je 0x38f1
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x53, %eax
jne 0x39d4
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x53, %eax
je 0x3907
movq -0x20(%rbp), %rax
cmpl $0x0, 0x18(%rax)
je 0x396d
movq -0x10(%rbp), %rax
movq %rax, -0x68(%rbp)
movl (%rax), %eax
movl %eax, -0x5c(%rbp)
cmpl $0x28, %eax
ja 0x3932
movq -0x68(%rbp), %rcx
movl -0x5c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x70(%rbp)
jmp 0x3949
movq -0x68(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movq (%rax), %rdi
movq -0x20(%rbp), %rsi
movq -0x28(%rbp), %rdx
callq 0x6130
cmpl $0x0, %eax
je 0x396b
movl $0x1, -0x4(%rbp)
jmp 0x39dd
jmp 0x39d2
movq -0x10(%rbp), %rax
movq %rax, -0x80(%rbp)
movl (%rax), %eax
movl %eax, -0x74(%rbp)
cmpl $0x28, %eax
ja 0x399b
movq -0x80(%rbp), %rcx
movl -0x74(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x88(%rbp)
jmp 0x39b5
movq -0x80(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rax
movq (%rax), %rdi
movq -0x20(%rbp), %rsi
callq 0x55f0
movq %rax, %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
jmp 0x39d4
jmp 0x39d6
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x90, %rsp
popq %rbp
retq
nopl (%rax)