// File: /workspace/github_c_makefile_star2_O0/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_conv_envoi_maj.c
// Function: ft_conv_envoi_maj
void	ft_conv_envoi_maj(va_list ap, t_var *var, t_flags *s_flags, int base)
{
	if ((s_flags->m & (1 << 3)) && (var->type >= TYPE_OCTAL &&
									var->type <= TYPE_HEXA_MAJ))
		ft_flags_stock(var, s_flags,
					ft_lltoa_base_maj(va_arg(ap, unsigned long long), base));
	else if ((s_flags->m & (1 << 3)))
		ft_flags_stock(var, s_flags,
					ft_ltoa_base_maj(va_arg(ap, long long), base));
	else if ((s_flags->m & (1 << 0)) && (var->type == TYPE_OCTAL_MAJ ||
										var->type == TYPE_UNSIGNED_MAJ))
		ft_flags_stock(var, s_flags,
					ft_itoa_base_maj((unsigned short)va_arg(ap, int), base));
	else if ((s_flags->m & (1 << 0)) && (var->type >= TYPE_UNSIGNED &&
										var->type <= TYPE_HEXA_MAJ))
		ft_flags_stock(var, s_flags,
					ft_itoa_base_maj((unsigned char)va_arg(ap, int), base));
	else if ((s_flags->m & (1 << 0)))
		ft_flags_stock(var, s_flags,
					ft_itoa_base_maj((char)va_arg(ap, int), base));
	else if ((s_flags->m & (1 << 1)) && (var->type >= TYPE_UNSIGNED &&
										var->type <= TYPE_HEXA_MAJ))
		ft_flags_stock(var, s_flags,
					ft_itoa_base_maj((unsigned short)va_arg(ap, int), base));
	else
		ft_conv_envoi_maj2(ap, var, s_flags, base);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp            # imm = 0x110
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 $0x8, %eax
cmpl $0x0, %eax
je 0x47dc
movq -0x10(%rbp), %rax
cmpl $0xb, 0x78(%rax)
jl 0x47dc
movq -0x10(%rbp), %rax
cmpl $0xe, 0x78(%rax)
jg 0x47dc
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 0x47a1
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 0x47b8
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
movq (%rax), %rdi
movl -0x1c(%rbp), %esi
callq 0x7eb0
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq %rax, %rdx
callq 0x3770
jmp 0x4b78
movq -0x18(%rbp), %rax
movsbl 0xc(%rax), %eax
andl $0x8, %eax
cmpl $0x0, %eax
je 0x4862
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 0x4827
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 0x483e
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 0x7c10
movq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rsi
movq %rax, %rdx
callq 0x3770
jmp 0x4b76
movq -0x18(%rbp), %rax
movsbl 0xc(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x4915
movq -0x10(%rbp), %rax
cmpl $0xc, 0x78(%rax)
je 0x488e
movq -0x10(%rbp), %rax
cmpl $0xa, 0x78(%rax)
jne 0x4915
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 0x48cf
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 0x48e9
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
movl (%rax), %eax
movzwl %ax, %edi
movl -0x1c(%rbp), %esi
callq 0x7980
movq -0x88(%rbp), %rdi
movq -0x80(%rbp), %rsi
movq %rax, %rdx
callq 0x3770
jmp 0x4b74
movq -0x18(%rbp), %rax
movsbl 0xc(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x49e1
movq -0x10(%rbp), %rax
cmpl $0x9, 0x78(%rax)
jl 0x49e1
movq -0x10(%rbp), %rax
cmpl $0xe, 0x78(%rax)
jg 0x49e1
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 0x4995
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 0x49b2
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
movl (%rax), %eax
movzbl %al, %edi
movl -0x1c(%rbp), %esi
callq 0x7980
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
movq %rax, %rdx
callq 0x3770
jmp 0x4b72
movq -0x18(%rbp), %rax
movsbl 0xc(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x4a91
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 0x4a45
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 0x4a62
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
movl (%rax), %eax
movsbl %al, %edi
movl -0x1c(%rbp), %esi
callq 0x7980
movq -0xd8(%rbp), %rdi
movq -0xd0(%rbp), %rsi
movq %rax, %rdx
callq 0x3770
jmp 0x4b70
movq -0x18(%rbp), %rax
movsbl 0xc(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x4b5a
movq -0x10(%rbp), %rax
cmpl $0x9, 0x78(%rax)
jl 0x4b5a
movq -0x10(%rbp), %rax
cmpl $0xe, 0x78(%rax)
jg 0x4b5a
movq -0x10(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xf0(%rbp)
movl (%rax), %eax
movl %eax, -0xe4(%rbp)
cmpl $0x28, %eax
ja 0x4b11
movq -0xf0(%rbp), %rcx
movl -0xe4(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x108(%rbp)
jmp 0x4b2e
movq -0xf0(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x108(%rbp)
movq -0x108(%rbp), %rax
movl (%rax), %eax
movzwl %ax, %edi
movl -0x1c(%rbp), %esi
callq 0x7980
movq -0x100(%rbp), %rdi
movq -0xf8(%rbp), %rsi
movq %rax, %rdx
callq 0x3770
jmp 0x4b6e
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
movl -0x1c(%rbp), %ecx
callq 0x43a0
jmp 0x4b70
jmp 0x4b72
jmp 0x4b74
jmp 0x4b76
jmp 0x4b78
addq $0x110, %rsp            # imm = 0x110
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)