// File: /workspace/github_c_makefile_star2_O2/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_print_flags_buffer.c
// Function: ft_print_flags_buffer
int				ft_print_flags_buffer(va_list ap, t_var *var, t_flags *s_flags)
{
	if (var->type >= TYPE_NON_CONNU && var->type <= TYPE_WSTRING)
		ft_print_flags_buffer2(ap, var, s_flags);
	else
	{
		if (var->type == TYPE_ADDRESS)
			ft_flags_stock(var, s_flags,
						ft_lltoa_base(va_arg(ap, unsigned long), 16));
		else if (var->type == TYPE_HEXA)
			ft_conv_envoi(ap, var, s_flags, 16);
		else if (var->type == TYPE_HEXA_MAJ)
			ft_conv_envoi_maj(ap, var, s_flags, 16);
		else if (var->type == TYPE_OCTAL)
			ft_conv_envoi(ap, var, s_flags, 8);
		else if (var->type == TYPE_OCTAL_MAJ)
			ft_conv_envoi_maj(ap, var, s_flags, 8);
		else if (var->type == TYPE_BITWISE)
			ft_conv_envoi(ap, var, s_flags, 2);
		else
			ft_conv_envoi(ap, var, s_flags, 10);
	}
	return (1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movl 0x78(%rsi), %eax
cmpl $0x5, %eax
ja 0x2152
andq $0x0, (%r14)
andl $0x0, 0x64(%r14)
movl %eax, %eax
leaq 0x3080(%rip), %rcx      # 0x51b8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x70(%r14), %rax
movq %rax, (%r14)
movb $0x0, 0x71(%r14)
jmp 0x22d7
addl $-0xb, %eax
cmpl $0x7, %eax
ja 0x21d6
leaq 0x3037(%rip), %rcx      # 0x5198
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
pushq $0x8
jmp 0x21d8
movb 0xc(%rbx), %al
testb %al, %al
je 0x2342
leal -0x3(%rax), %ecx
cmpb $0xd, %cl
ja 0x21b0
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x22a2
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x22ae
movb $0x25, %al
jmp 0x2383
movb 0xc(%rbx), %al
testb %al, %al
je 0x2358
cmpb $0x10, %al
ja 0x22d7
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x221d
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x2229
pushq $0x10
jmp 0x21d8
pushq $0x2
jmp 0x21d8
pushq $0xa
popq %rcx
movq %r14, %rsi
movq %rbx, %rdx
callq 0x2f07
jmp 0x23ea
pushq $0x8
jmp 0x21ef
pushq $0x10
popq %rcx
movq %r14, %rsi
movq %rbx, %rdx
callq 0x2b62
jmp 0x23ea
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x2318
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x2324
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movq (%rax), %rax
movq %rax, 0x70(%r14)
testq %rax, %rax
je 0x22d7
xorl %r15d, %r15d
movl (%rax,%r15), %edi
testl %edi, %edi
je 0x225a
callq 0x2960
addl %eax, 0x9c(%r14)
movq 0x70(%r14), %rax
addq $0x4, %r15
jmp 0x223c
movslq 0x9c(%r14), %rdi
callq 0x3ec4
movq %rax, %r15
movq %rax, (%r14)
xorl %r12d, %r12d
movq 0x70(%r14), %rax
movl (%rax,%r12), %edi
testl %edi, %edi
je 0x2294
callq 0x28ca
movq %r15, %rdi
movq %rax, %rsi
callq 0x3da4
movq (%r14), %r15
addq $0x4, %r12
jmp 0x226f
movslq 0x9c(%r14), %rax
movb $0x0, (%r15,%rax)
jmp 0x22d7
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movl (%rax), %edi
movl %edi, 0x70(%r14)
cmpl $0x10ffff, %edi         # imm = 0x10FFFF
ja 0x23ea
callq 0x2960
movl %eax, 0x9c(%r14)
movslq %eax, %rdi
callq 0x3ec4
movq %rax, (%r14)
movl 0x9c(%r14), %ebp
movq (%r14), %rdi
testq %rdi, %rdi
jne 0x2395
movl 0x78(%r14), %eax
andl $-0x2, %eax
cmpl $0x4, %eax
jne 0x230e
testb $0x1, (%rbx)
jne 0x230e
leaq 0x2e82(%rip), %rsi      # 0x5184
leaq 0xa(%rsp), %rdi
callq 0x3d88
jmp 0x2310
xorl %eax, %eax
movq %rax, (%r14)
jmp 0x23a3
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movq (%rax), %rdi
pushq $0x10
popq %rsi
callq 0x4224
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x2414
jmp 0x23ea
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x2375
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x2381
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x23fa
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x2406
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movb (%rax), %al
leaq 0x70(%r14), %rdi
movb %al, 0x70(%r14)
movq %rdi, (%r14)
movb $0x0, 0x71(%r14)
xorl %ebp, %ebp
movl 0x8(%rbx), %r15d
callq 0x3d20
cmpl %eax, %r15d
jge 0x23b2
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x3084
jmp 0x23bf
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x31d7
movl 0x78(%r14), %eax
cmpl $0x3, %eax
je 0x23d6
cmpl $0x2, %eax
jne 0x23ea
movb 0xc(%rbx), %al
addb $-0x3, %al
cmpb $0xd, %al
ja 0x23ea
xorl %edx, %edx
cmpl %ebp, 0x4(%rbx)
movl 0x70(%r14), %edi
cmovgl %ebp, %edx
movq %r14, %rsi
callq 0x27e0
pushq $0x1
popq %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movq (%rax), %rdi
movq %rdi, (%r14)
xorl %ebp, %ebp
jmp 0x22e1
nop