// File: /workspace/github_c_makefile_star2_O0/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_flags_stock2.c
// Function: ft_flags_stock2_4
void	ft_flags_stock2_4(t_var *var, t_flags *s_flags, char *str_hexa, int i)
{
	var->i_moins = ft_stock_moins(var, str_hexa);
	var->i_plus = ft_stock_plus(var, s_flags, str_hexa);
	i = ft_verif_flags_stock2_4(s_flags, var);
	var->k = s_flags->largeur - s_flags->precision - var->len_str_hexa -
	ft_stock_buf_base(var, s_flags, var->res_strcmp) - var->i_plus - i;
	(var->k < 0) ? var->k = 0 : 0;
	if (var->type == TYPE_BITWISE)
		var->k = s_flags->largeur - var->len_str_hexa;
	if (!ft_strchr(var->flags_stock, '.'))
		ft_memset(&var->buf_tmp[var->i_buf_tmp], '0', var->k);
	else
	{
		ft_memset(&var->buf_tmp[var->i_buf_tmp], ' ',
			s_flags->largeur - var->len_str_hexa);
		var->k = s_flags->largeur - var->len_str_hexa;
	}
	var->i_buf_tmp += var->k;
	ft_memcpy(&var->buf_tmp[var->i_buf_tmp], &str_hexa[var->i_moins],
	var->len_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->len_str_hexa);
	var->i_buf += s_flags->largeur;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x9060
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x80(%rax)
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 -0x10(%rbp), %rdi
movq -0x8(%rbp), %rsi
callq 0x6b10
movl %eax, -0x1c(%rbp)
movq -0x10(%rbp), %rax
movl 0x4(%rax), %eax
movq -0x10(%rbp), %rcx
subl 0x8(%rcx), %eax
movq -0x8(%rbp), %rcx
subl 0x88(%rcx), %eax
movl %eax, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x8(%rbp), %rax
movl 0x8c(%rax), %edx
callq 0x5cd0
movl -0x20(%rbp), %ecx
subl %eax, %ecx
movq -0x8(%rbp), %rax
subl 0x7c(%rax), %ecx
subl -0x1c(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x90(%rax)
movq -0x8(%rbp), %rax
cmpl $0x0, 0x90(%rax)
jge 0x62a2
movq -0x8(%rbp), %rax
movl $0x0, 0x90(%rax)
jmp 0x62a4
jmp 0x62a4
movq -0x8(%rbp), %rax
cmpl $0x12, 0x78(%rax)
jne 0x62c9
movq -0x10(%rbp), %rax
movl 0x4(%rax), %ecx
movq -0x8(%rbp), %rax
subl 0x88(%rax), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x90(%rax)
movq -0x8(%rbp), %rdi
addq $0x18, %rdi
movl $0x2e, %esi
callq 0x71e0
cmpq $0x0, %rax
jne 0x630b
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x8(%rbp), %rax
movslq 0x64(%rax), %rax
addq %rax, %rdi
movq -0x8(%rbp), %rax
movslq 0x90(%rax), %rdx
movl $0x30, %esi
callq 0x7530
jmp 0x6357
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x8(%rbp), %rax
movslq 0x64(%rax), %rax
addq %rax, %rdi
movq -0x10(%rbp), %rax
movl 0x4(%rax), %eax
movq -0x8(%rbp), %rcx
subl 0x88(%rcx), %eax
movslq %eax, %rdx
movl $0x20, %esi
callq 0x7530
movq -0x10(%rbp), %rax
movl 0x4(%rax), %ecx
movq -0x8(%rbp), %rax
subl 0x88(%rax), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x90(%rax)
movq -0x8(%rbp), %rax
movl 0x90(%rax), %ecx
movq -0x8(%rbp), %rax
addl 0x64(%rax), %ecx
movl %ecx, 0x64(%rax)
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
movslq 0x80(%rax), %rax
addq %rax, %rsi
movq -0x8(%rbp), %rax
movslq 0x88(%rax), %rdx
callq 0x75c0
movq -0x8(%rbp), %rax
movl 0x88(%rax), %ecx
movq -0x8(%rbp), %rax
addl 0x64(%rax), %ecx
movl %ecx, 0x64(%rax)
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 0x88(%rcx), %eax
movslq %eax, %rdx
callq 0x75c0
movq -0x10(%rbp), %rax
movl 0x4(%rax), %ecx
movq -0x8(%rbp), %rax
addl 0x60(%rax), %ecx
movl %ecx, 0x60(%rax)
addq $0x20, %rsp
popq %rbp
retq
nop