// File: /workspace/github_c_makefile_star2_O2/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 0x2da4(%rip), %rsi      # 0x51d0
movq %rdx, %rdi
callq 0x3d30
movl %eax, 0x8c(%r14)
movq %rbx, %rdi
callq 0x3d20
movl %eax, 0x88(%r14)
andl $0x0, 0x64(%r14)
andl $0x0, 0x80(%r14)
cmpb $0x8, (%r15)
jne 0x249d
cmpb $0x0, 0xc(%r15)
jne 0x249d
cmpl $0x0, 0x4(%r15)
jne 0x249d
cmpl $0x0, 0x8(%r15)
jne 0x249d
movl 0x78(%r14), %ecx
addl $-0x6, %ecx
cmpl $0x2, %ecx
ja 0x249d
cmpb $0x2d, (%rbx)
je 0x249d
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 0x259e
cmpl %edx, %ecx
setle %sil
cmpl %eax, %edx
setl %dil
orb %sil, %dil
je 0x25b1
cmpl %eax, %ecx
jge 0x25ca
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x351c
movl %eax, 0x7c(%r14)
movl 0x8c(%r14), %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x33ff
cmpl $0x0, 0x8c(%r14)
jne 0x2627
cmpb $0x0, 0xc(%r15)
jne 0x2627
cmpb $0x10, (%r15)
jg 0x2627
movq %r14, %rdi
callq 0x3b20
testl %eax, %eax
jne 0x2718
cmpb $0x8, (%r15)
jl 0x2568
movl 0x78(%r14), %eax
cmpl $0xc, %eax
ja 0x2568
movl $0x18c0, %ecx           # imm = 0x18C0
btl %eax, %ecx
jae 0x2568
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 0x3f4c
cmpl $0x0, 0x7c(%r14)
je 0x257a
cmpl $0x7, 0x78(%r14)
jne 0x2718
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 0x3f4c
jmp 0x2718
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x39d0
jmp 0x2718
testb $0x4, (%r15)
jne 0x2614
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x3791
jmp 0x2718
cmpl %edx, %ecx
jl 0x2718
movb (%r15), %al
testb $0x4, %al
jne 0x265d
testb $0x1, %al
je 0x25f9
leaq 0x18(%r14), %rdi
pushq $0x2e
popq %rsi
callq 0x3e3c
testq %rax, %rax
je 0x27c8
movb (%r15), %al
testb $0x10, %al
jne 0x2728
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x3544
jmp 0x2718
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x38c5
jmp 0x2718
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 0x3f4c
movslq 0x60(%r14), %rdi
addq 0x8(%r14), %rdi
movq 0x10(%r14), %rsi
movslq 0x64(%r14), %rdx
jmp 0x270b
movl 0x8c(%r14), %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x33ff
movl %eax, 0x84(%r14)
movslq 0x64(%r14), %rdi
addq 0x10(%r14), %rdi
movslq 0x88(%r14), %rdx
movq %rbx, %rsi
callq 0x3f4c
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 0x26d4
subl %eax, %ecx
movl %ecx, 0x90(%r14)
movl %ecx, %edx
addq 0x10(%r14), %rdi
movslq %edx, %rdx
pushq $0x20
popq %rsi
callq 0x3f24
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 0x3f4c
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 0x33ff
addl %r12d, %eax
subl %eax, %ebp
xorl %edx, %edx
testl %ebp, %ebp
cmovgl %ebp, %edx
movl %edx, 0x90(%r14)
movq 0x10(%r14), %rdi
pushq $0x20
popq %rsi
callq 0x3f24
movl 0x8c(%r14), %edx
movl 0x90(%r14), %eax
movl %eax, 0x64(%r14)
movq %r14, %rdi
movq %r15, %rsi
callq 0x33ff
movslq 0x64(%r14), %rdi
addq 0x10(%r14), %rdi
movslq 0x88(%r14), %rdx
movq %rbx, %rsi
callq 0x3f4c
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 0x3f4c
movl 0x4(%r15), %eax
jmp 0x2714
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x3650
jmp 0x2718
nopl (%rax)