// File: /workspace/github_c_makefile_star2_O1/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 0x2c8c(%rip), %rsi      # 0x5200
movq %rdx, %rdi
callq 0x3f04
movl %eax, 0x8c(%r14)
movq %rbx, %rdi
callq 0x3ef0
movl %eax, 0x88(%r14)
xorl %eax, %eax
movl %eax, 0x64(%r14)
movl %eax, 0x80(%r14)
cmpb $0x8, (%r15)
jne 0x25de
cmpb $0x0, 0xc(%r15)
jne 0x25de
cmpl $0x0, 0x4(%r15)
jne 0x25de
cmpl $0x0, 0x8(%r15)
jne 0x25de
movl 0x78(%r14), %eax
addl $-0x6, %eax
cmpl $0x2, %eax
ja 0x25de
cmpb $0x2d, (%rbx)
je 0x25de
movq 0x8(%r14), %rax
movslq 0x60(%r14), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x60(%r14)
movb $0x20, (%rax,%rcx)
movl 0x4(%r15), %eax
movl 0x8(%r15), %ecx
cmpl %eax, %ecx
jge 0x2610
cmpl 0x88(%r14), %ecx
jl 0x2621
testb $0x4, (%r15)
jne 0x278a
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x3943
jmp 0x285c
cmpl 0x88(%r14), %ecx
jge 0x26f5
cmpl %eax, %ecx
jl 0x25ea
cmpl 0x88(%r14), %eax
jge 0x2708
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x36c4
movl %eax, 0x7c(%r14)
movl 0x8c(%r14), %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x359d
cmpl $0x0, 0x8c(%r14)
jne 0x2754
cmpb $0x0, 0xc(%r15)
jne 0x2754
cmpb $0x10, (%r15)
jg 0x2754
movq %r14, %rdi
callq 0x3cdc
testl %eax, %eax
jne 0x285c
cmpb $0x8, (%r15)
jl 0x26bf
movl 0x78(%r14), %eax
cmpl $0xc, %eax
ja 0x26bf
movl $0x18c0, %ecx           # imm = 0x18C0
btl %eax, %ecx
jae 0x26bf
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 0x4148
cmpl $0x0, 0x7c(%r14)
je 0x26d1
cmpl $0x7, 0x78(%r14)
jne 0x285c
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 0x4148
jmp 0x285c
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x3b84
jmp 0x285c
cmpl %ecx, %eax
jl 0x285c
movzbl (%r15), %eax
testb $0x4, %al
jne 0x279d
testb $0x1, %al
je 0x2737
leaq 0x18(%r14), %rdi
movl $0x2e, %esi
callq 0x4004
testq %rax, %rax
je 0x290e
testb $0x10, (%r15)
jne 0x286c
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x36f0
jmp 0x285c
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 0x4148
movslq 0x60(%r14), %rdi
addq 0x8(%r14), %rdi
movq 0x10(%r14), %rsi
movslq 0x64(%r14), %rdx
jmp 0x284f
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x3a82
jmp 0x285c
movl 0x8c(%r14), %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x359d
movl %eax, 0x84(%r14)
movslq 0x64(%r14), %rdi
addq 0x10(%r14), %rdi
movslq 0x88(%r14), %rdx
movq %rbx, %rsi
callq 0x4148
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 0x2812
subl %eax, %ecx
movl %ecx, 0x90(%r14)
addq 0x10(%r14), %rdi
movslq 0x90(%r14), %rdx
movl $0x20, %esi
callq 0x4128
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 0x4148
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 0x359d
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 0x4128
movl 0x8c(%r14), %edx
movl 0x90(%r14), %eax
movl %eax, 0x64(%r14)
movq %r14, %rdi
movq %r15, %rsi
callq 0x359d
movslq 0x64(%r14), %rdi
addq 0x10(%r14), %rdi
movslq 0x88(%r14), %rdx
movq %rbx, %rsi
callq 0x4148
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 0x4148
movl 0x4(%r15), %eax
jmp 0x2858
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x3802
jmp 0x285c
nop