// File: /workspace/github_c_makefile_star2_O0/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_flags_stock.c
// Function: ft_flags_stock3
static void	ft_flags_stock3(t_var *var, t_flags *s_flags, char *str_hexa)
{
	if (s_flags->largeur < var->len_str_hexa)
	{
		var->i_plus = ft_stock_plus(var, s_flags, str_hexa);
		ft_stock_buf_base(var, s_flags, var->res_strcmp);
		if (!var->res_strcmp && s_flags->m == 0 && s_flags->c <= 16)
		{
			if (ft_verif_address(var))
				return ;
			else if ((s_flags->c >= 8) && (var->type == TYPE_SHORT ||
			var->type == TYPE_INT || (var->type == TYPE_OCTAL ||
			var->type == TYPE_OCTAL_MAJ)))
				ft_memcpy(&var->buf_tmp[var->i_buf_tmp],
				str_hexa, var->i_buf_tmp += var->len_str_hexa);
			if (!var->i_plus || var->type == TYPE_INT)
				ft_memcpy(&var->buf[var->i_buf], var->buf_tmp,
					var->i_buf += var->i_buf_tmp);
			return ;
		}
		ft_memcpy(&var->buf_tmp[var->i_buf_tmp], str_hexa,
		var->i_buf_tmp += var->len_str_hexa);
		ft_memcpy(&var->buf[var->i_buf], var->buf_tmp, var->i_buf_tmp);
		var->i_buf += var->i_buf_tmp;
	}
	else if (s_flags->largeur >= s_flags->precision)
		ft_flags_stock4(var, s_flags, str_hexa);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movl 0x4(%rax), %eax
movq -0x8(%rbp), %rcx
cmpl 0x88(%rcx), %eax
jge 0x3af5
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x5f10
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x7c(%rax)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x8(%rbp), %rax
movl 0x8c(%rax), %edx
callq 0x5cd0
movq -0x8(%rbp), %rax
cmpl $0x0, 0x8c(%rax)
jne 0x3a87
movq -0x10(%rbp), %rax
movsbl 0xc(%rax), %eax
cmpl $0x0, %eax
jne 0x3a87
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x10, %eax
jg 0x3a87
movq -0x8(%rbp), %rdi
callq 0x6aa0
cmpl $0x0, %eax
je 0x39d1
jmp 0x3b18
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x8, %eax
jl 0x3a38
movq -0x8(%rbp), %rax
cmpl $0x6, 0x78(%rax)
je 0x3a05
movq -0x8(%rbp), %rax
cmpl $0x7, 0x78(%rax)
je 0x3a05
movq -0x8(%rbp), %rax
cmpl $0xb, 0x78(%rax)
je 0x3a05
movq -0x8(%rbp), %rax
cmpl $0xc, 0x78(%rax)
jne 0x3a38
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x8(%rbp), %rax
movslq 0x64(%rax), %rax
addq %rax, %rdi
movq -0x18(%rbp), %rsi
movq -0x8(%rbp), %rax
movl 0x88(%rax), %eax
movq -0x8(%rbp), %rcx
addl 0x64(%rcx), %eax
movl %eax, 0x64(%rcx)
movslq %eax, %rdx
callq 0x75c0
jmp 0x3a3a
movq -0x8(%rbp), %rax
cmpl $0x0, 0x7c(%rax)
je 0x3a4e
movq -0x8(%rbp), %rax
cmpl $0x7, 0x78(%rax)
jne 0x3a82
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x8(%rbp), %rax
movslq 0x60(%rax), %rax
addq %rax, %rdi
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rsi
movq -0x8(%rbp), %rax
movl 0x64(%rax), %eax
movq -0x8(%rbp), %rcx
addl 0x60(%rcx), %eax
movl %eax, 0x60(%rcx)
movslq %eax, %rdx
callq 0x75c0
jmp 0x3b18
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x8(%rbp), %rax
movslq 0x64(%rax), %rax
addq %rax, %rdi
movq -0x18(%rbp), %rsi
movq -0x8(%rbp), %rax
movl 0x88(%rax), %eax
movq -0x8(%rbp), %rcx
addl 0x64(%rcx), %eax
movl %eax, 0x64(%rcx)
movslq %eax, %rdx
callq 0x75c0
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x8(%rbp), %rax
movslq 0x60(%rax), %rax
addq %rax, %rdi
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rsi
movq -0x8(%rbp), %rax
movslq 0x64(%rax), %rdx
callq 0x75c0
movq -0x8(%rbp), %rax
movl 0x64(%rax), %ecx
movq -0x8(%rbp), %rax
addl 0x60(%rax), %ecx
movl %ecx, 0x60(%rax)
jmp 0x3b18
movq -0x10(%rbp), %rax
movl 0x4(%rax), %eax
movq -0x10(%rbp), %rcx
cmpl 0x8(%rcx), %eax
jl 0x3b16
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x3b20
jmp 0x3b18
addq $0x20, %rsp
popq %rbp
retq
nop