// File: /workspace/github_c_makefile_star2_O0/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_conv_envoi.c
// Function: ft_conv_envoi2
void	ft_conv_envoi2(va_list ap, t_var *var, t_flags *s_flags, int base)
{
	if ((s_flags->m & (1 << 1)))
		ft_flags_stock(var, s_flags, ft_itoa_base((short)va_arg(ap, int),
							base));
	else if ((s_flags->m & (1 << 2)) && (var->type >= TYPE_UNSIGNED &&
					var->type <= TYPE_HEXA_MAJ))
		ft_flags_stock(var, s_flags, ft_lltoa_base(va_arg(ap, long long),
						base));
	else if ((s_flags->m & (1 << 2)))
		ft_flags_stock(var, s_flags, ft_ltoa_base(va_arg(ap, long long),
						base));
	else if ((s_flags->m & (1 << 4)) && (var->type >= TYPE_UNSIGNED &&
						var->type <= TYPE_HEXA_MAJ))
		ft_flags_stock(var, s_flags, ft_ui_maxtoa_base(va_arg(ap, uintmax_t),
						base));
	else if ((s_flags->m & (1 << 4)))
		ft_flags_stock(var, s_flags, ft_i_maxtoa_base(va_arg(ap, intmax_t),
						base));
	else
		ft_conv_envoi3(ap, var, s_flags, base);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq -0x18(%rbp), %rax
movsbl 0xc(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x4ec2
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movl (%rax), %eax
movl %eax, -0x20(%rbp)
cmpl $0x28, %eax
ja 0x4e85
movq -0x28(%rbp), %rcx
movl -0x20(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x40(%rbp)
jmp 0x4e9c
movq -0x28(%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), %eax
movswl %ax, %edi
movl -0x1c(%rbp), %esi
callq 0x7850
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq %rax, %rdx
callq 0x3770
jmp 0x518e
movq -0x18(%rbp), %rax
movsbl 0xc(%rax), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x4f64
movq -0x10(%rbp), %rax
cmpl $0x9, 0x78(%rax)
jl 0x4f64
movq -0x10(%rbp), %rax
cmpl $0xe, 0x78(%rax)
jg 0x4f64
movq -0x10(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x50(%rbp)
movl (%rax), %eax
movl %eax, -0x44(%rbp)
cmpl $0x28, %eax
ja 0x4f29
movq -0x50(%rbp), %rcx
movl -0x44(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x68(%rbp)
jmp 0x4f40
movq -0x50(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
movq (%rax), %rdi
movl -0x1c(%rbp), %esi
callq 0x7d70
movq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rsi
movq %rax, %rdx
callq 0x3770
jmp 0x518c
movq -0x18(%rbp), %rax
movsbl 0xc(%rax), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x4ffd
movq -0x10(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x78(%rbp)
movl (%rax), %eax
movl %eax, -0x6c(%rbp)
cmpl $0x28, %eax
ja 0x4fb9
movq -0x78(%rbp), %rcx
movl -0x6c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x90(%rbp)
jmp 0x4fd3
movq -0x78(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
movq (%rax), %rdi
movl -0x1c(%rbp), %esi
callq 0x7ab0
movq -0x88(%rbp), %rdi
movq -0x80(%rbp), %rsi
movq %rax, %rdx
callq 0x3770
jmp 0x518a
movq -0x18(%rbp), %rax
movsbl 0xc(%rax), %eax
andl $0x10, %eax
cmpl $0x0, %eax
je 0x50c7
movq -0x10(%rbp), %rax
cmpl $0x9, 0x78(%rax)
jl 0x50c7
movq -0x10(%rbp), %rax
cmpl $0xe, 0x78(%rax)
jg 0x50c7
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xa0(%rbp)
movl (%rax), %eax
movl %eax, -0x94(%rbp)
cmpl $0x28, %eax
ja 0x507d
movq -0xa0(%rbp), %rcx
movl -0x94(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0xb8(%rbp)
jmp 0x509a
movq -0xa0(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rax
movq (%rax), %rdi
movl -0x1c(%rbp), %esi
callq 0x8150
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
movq %rax, %rdx
callq 0x3770
jmp 0x5188
movq -0x18(%rbp), %rax
movsbl 0xc(%rax), %eax
andl $0x10, %eax
cmpl $0x0, %eax
je 0x5172
movq -0x10(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xc8(%rbp)
movl (%rax), %eax
movl %eax, -0xbc(%rbp)
cmpl $0x28, %eax
ja 0x512b
movq -0xc8(%rbp), %rcx
movl -0xbc(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0xe0(%rbp)
jmp 0x5148
movq -0xc8(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rax
movq (%rax), %rdi
movl -0x1c(%rbp), %esi
callq 0x7ff0
movq -0xd8(%rbp), %rdi
movq -0xd0(%rbp), %rsi
movq %rax, %rdx
callq 0x3770
jmp 0x5186
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
movl -0x1c(%rbp), %ecx
callq 0x4b90
jmp 0x5188
jmp 0x518a
jmp 0x518c
jmp 0x518e
addq $0xe0, %rsp
popq %rbp
retq
nopw (%rax,%rax)