// File: /workspace/github_c_makefile_star2_O3/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 0x2208
movq $0x0, (%r14)
movl $0x0, 0x64(%r14)
movl %eax, %eax
leaq 0x2fca(%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 0x2449
addl $-0xb, %eax
cmpl $0x7, %eax
ja 0x22ae
leaq 0x2f7d(%rip), %rcx      # 0x5198
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r14, %rsi
movq %rbx, %rdx
movl $0x8, %ecx
jmp 0x22b9
movb 0xc(%rbx), %al
testb %al, %al
je 0x23bc
leal -0x3(%rax), %ecx
cmpb $0xd, %cl
ja 0x2276
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x2356
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x2362
movb $0x25, %al
jmp 0x2491
movb 0xc(%rbx), %al
testb %al, %al
je 0x23d9
cmpb $0x10, %al
ja 0x2449
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x2302
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x230e
movq %r14, %rsi
movq %rbx, %rdx
movl $0x10, %ecx
jmp 0x22b9
movq %r14, %rsi
movq %rbx, %rdx
movl $0x2, %ecx
jmp 0x22b9
movq %r14, %rsi
movq %rbx, %rdx
movl $0xa, %ecx
callq 0x3023
jmp 0x24f8
movq %r14, %rsi
movq %rbx, %rdx
movl $0x8, %ecx
jmp 0x22db
movq %r14, %rsi
movq %rbx, %rdx
movl $0x10, %ecx
callq 0x2c7e
jmp 0x24f8
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x2390
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x239c
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movq (%rax), %rax
movq %rax, 0x70(%r14)
testq %rax, %rax
je 0x2449
movl (%rax), %edi
testl %edi, %edi
je 0x23f6
movl $0x4, %r15d
callq 0x2a78
addl 0x9c(%r14), %eax
movl %eax, 0x9c(%r14)
movq 0x70(%r14), %rcx
movl (%rcx,%r15), %edi
addq $0x4, %r15
testl %edi, %edi
jne 0x232e
jmp 0x23fd
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 0x24f8
callq 0x2a78
movl %eax, 0x9c(%r14)
movslq %eax, %rdi
callq 0x407c
movq %rax, (%r14)
jmp 0x2449
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movq (%rax), %rdi
movl $0x10, %esi
callq 0x4498
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x2524
jmp 0x24f8
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x2483
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x248f
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x250a
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x2516
movl 0x9c(%r14), %eax
movslq %eax, %rdi
callq 0x407c
movq %rax, (%r14)
movq 0x70(%r14), %rcx
movl (%rcx), %edi
testl %edi, %edi
je 0x243e
movl $0x4, %r12d
movq (%r14), %r15
callq 0x29de
movq %r15, %rdi
movq %rax, %rsi
callq 0x3f58
movq 0x70(%r14), %rax
movl (%rax,%r12), %edi
addq $0x4, %r12
testl %edi, %edi
jne 0x2418
movq (%r14), %rax
movslq 0x9c(%r14), %rcx
movb $0x0, (%rax,%rcx)
movl 0x9c(%r14), %ebp
movq (%r14), %rdi
testq %rdi, %rdi
jne 0x24a3
movl 0x78(%r14), %eax
andl $-0x2, %eax
cmpl $0x4, %eax
jne 0x247c
testb $0x1, (%rbx)
jne 0x247c
leaq 0x2d14(%rip), %rsi      # 0x5184
leaq 0xa(%rsp), %rdi
callq 0x3f3c
jmp 0x247e
xorl %eax, %eax
movq %rax, (%r14)
jmp 0x24b1
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 0x3ecc
cmpl %eax, %r15d
jge 0x24c0
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x3198
jmp 0x24cd
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x3322
movl 0x78(%r14), %eax
cmpl $0x3, %eax
je 0x24e4
cmpl $0x2, %eax
jne 0x24f8
movb 0xc(%rbx), %al
addb $-0x3, %al
cmpb $0xd, %al
ja 0x24f8
xorl %edx, %edx
cmpl %ebp, 0x4(%rbx)
movl 0x70(%r14), %edi
cmovgl %ebp, %edx
movq %r14, %rsi
callq 0x28f4
movl $0x1, %eax
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 0x2453
nop