// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_flags_stock.c
// Function: ft_flags_stock
void		ft_flags_stock(t_var *var, t_flags *s_flags, char *str_hexa)
{
	var->res_strcmp = ft_strcmp(str_hexa, "0");
	var->len_str_hexa = ft_strlen(str_hexa);
	var->i_buf_tmp = 0;
	var->i_moins = 0;
	if (s_flags->c == 8 && s_flags->m == 0 && !s_flags->largeur &&
		!s_flags->precision && (var->type == TYPE_SHORT ||
		var->type == TYPE_INT ||
		var->type == TYPE_SHORT_MAJ) && str_hexa[0] != '-')
		var->buf[var->i_buf++] = ' ';
	if (s_flags->precision >= s_flags->largeur && s_flags->precision >=
		var->len_str_hexa)
		ft_flags_stock2_1(var, s_flags, str_hexa);
	else
		ft_flags_stock2(var, s_flags, str_hexa);
	free(str_hexa);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
leaq 0x2c94(%rip), %rsi      # 0x51d0
movq %rdx, %rdi
callq 0x3ee0
movl %eax, 0x8c(%r14)
movq %rbx, %rdi
callq 0x3ecc
movl %eax, 0x88(%r14)
xorl %ecx, %ecx
movl %ecx, 0x64(%r14)
movl %ecx, 0x80(%r14)
cmpb $0x8, (%r15)
jne 0x25ad
cmpb $0x0, 0xc(%r15)
jne 0x25ad
cmpl $0x0, 0x4(%r15)
jne 0x25ad
cmpl $0x0, 0x8(%r15)
jne 0x25ad
movl 0x78(%r14), %ecx
addl $-0x6, %ecx
cmpl $0x2, %ecx
ja 0x25ad
cmpb $0x2d, (%rbx)
je 0x25ad
movq 0x8(%r14), %rax
movslq 0x60(%r14), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x60(%r14)
movb $0x20, (%rax,%rcx)
movl 0x88(%r14), %eax
movl 0x4(%r15), %ecx
movl 0x8(%r15), %edx
cmpl %ecx, %edx
setl %sil
cmpl %eax, %edx
setl %dil
orb %sil, %dil
je 0x26ae
cmpl %edx, %ecx
setle %sil
cmpl %eax, %edx
setl %dil
orb %sil, %dil
je 0x26c1
cmpl %eax, %ecx
jge 0x26da
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x368c
movl %eax, 0x7c(%r14)
movl 0x8c(%r14), %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x3561
cmpl $0x0, 0x8c(%r14)
jne 0x2739
cmpb $0x0, 0xc(%r15)
jne 0x2739
cmpb $0x10, (%r15)
jg 0x2739
movq %r14, %rdi
callq 0x3cb4
testl %eax, %eax
jne 0x282c
cmpb $0x8, (%r15)
jl 0x2678
movl 0x78(%r14), %eax
cmpl $0xc, %eax
ja 0x2678
movl $0x18c0, %ecx           # imm = 0x18C0
btl %eax, %ecx
jae 0x2678
movslq 0x64(%r14), %rax
movq 0x10(%r14), %rdi
addq %rax, %rdi
movslq 0x88(%r14), %rdx
addq %rax, %rdx
movl %edx, 0x64(%r14)
movq %rbx, %rsi
callq 0x4108
cmpl $0x0, 0x7c(%r14)
je 0x268a
cmpl $0x7, 0x78(%r14)
jne 0x282c
movslq 0x60(%r14), %rax
movq 0x8(%r14), %rdi
addq %rax, %rdi
movq 0x10(%r14), %rsi
movslq 0x64(%r14), %rdx
addq %rax, %rdx
movl %edx, 0x60(%r14)
callq 0x4108
jmp 0x282c
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x3b59
jmp 0x282c
testb $0x4, (%r15)
jne 0x2726
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x3912
jmp 0x282c
cmpl %edx, %ecx
jl 0x282c
movb (%r15), %al
testb $0x4, %al
jne 0x276f
testb $0x1, %al
je 0x270b
leaq 0x18(%r14), %rdi
movl $0x2e, %esi
callq 0x3fe4
testq %rax, %rax
je 0x28de
movb (%r15), %al
testb $0x10, %al
jne 0x283c
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x36b8
jmp 0x282c
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x3a48
jmp 0x282c
movslq 0x64(%r14), %rax
movq 0x10(%r14), %rdi
addq %rax, %rdi
movslq 0x88(%r14), %rdx
addq %rax, %rdx
movl %edx, 0x64(%r14)
movq %rbx, %rsi
callq 0x4108
movslq 0x60(%r14), %rdi
addq 0x8(%r14), %rdi
movq 0x10(%r14), %rsi
movslq 0x64(%r14), %rdx
jmp 0x281f
movl 0x8c(%r14), %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x3561
movl %eax, 0x84(%r14)
movslq 0x64(%r14), %rdi
addq 0x10(%r14), %rdi
movslq 0x88(%r14), %rdx
movq %rbx, %rsi
callq 0x4108
movslq 0x88(%r14), %rax
movslq 0x64(%r14), %rdi
addq %rax, %rdi
movl %edi, 0x64(%r14)
movl 0x4(%r15), %ecx
movl 0x8(%r15), %edx
addl %eax, %edx
addl 0x84(%r14), %edx
movl %ecx, %esi
subl %edx, %esi
xorl %edx, %edx
testl %esi, %esi
cmovgl %esi, %edx
movl %edx, 0x90(%r14)
cmpl $0x12, 0x78(%r14)
jne 0x27e6
subl %eax, %ecx
movl %ecx, 0x90(%r14)
movl %ecx, %edx
addq 0x10(%r14), %rdi
movslq %edx, %rdx
movl $0x20, %esi
callq 0x40e8
movslq 0x90(%r14), %rax
movslq 0x64(%r14), %rcx
addq %rax, %rcx
movl %ecx, 0x64(%r14)
movslq 0x60(%r14), %rdi
addq 0x8(%r14), %rdi
movq 0x10(%r14), %rsi
movslq 0x88(%r14), %rdx
addq %rcx, %rdx
callq 0x4108
movl 0x64(%r14), %eax
addl %eax, 0x60(%r14)
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x1030
movl 0x4(%r15), %ebp
movl 0x88(%r14), %r12d
movl 0x8c(%r14), %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x3561
addl %r12d, %eax
subl %eax, %ebp
xorl %edx, %edx
testl %ebp, %ebp
cmovgl %ebp, %edx
movl %edx, 0x90(%r14)
movq 0x10(%r14), %rdi
movl $0x20, %esi
callq 0x40e8
movl 0x8c(%r14), %edx
movl 0x90(%r14), %eax
movl %eax, 0x64(%r14)
movq %r14, %rdi
movq %r15, %rsi
callq 0x3561
movslq 0x64(%r14), %rdi
addq 0x10(%r14), %rdi
movslq 0x88(%r14), %rdx
movq %rbx, %rsi
callq 0x4108
movl 0x88(%r14), %eax
movl 0x64(%r14), %ecx
addl %eax, %ecx
movl %ecx, 0x64(%r14)
movslq 0x60(%r14), %rdi
addq 0x8(%r14), %rdi
movq 0x10(%r14), %rsi
addl %eax, %ecx
movslq %ecx, %rdx
callq 0x4108
movl 0x4(%r15), %eax
jmp 0x2828
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x37cb
jmp 0x282c
nop