// File: /workspace/github_c_makefile_star2_O1/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 %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movl 0x78(%rsi), %eax
cmpl $0x5, %eax
ja 0x21fa
movq $0x0, (%r14)
movl $0x0, 0x64(%r14)
ja 0x23e3
movl %eax, %ecx
leaq 0x2fd8(%rip), %rdx      # 0x51b8
movslq (%rdx,%rcx,4), %rsi
addq %rdx, %rsi
jmpq *%rsi
leaq 0x70(%r14), %rax
movq %rax, (%r14)
movb $0x0, 0x71(%r14)
jmp 0x2496
addl $-0xb, %eax
cmpl $0x7, %eax
ja 0x2249
leaq 0x2f8f(%rip), %rcx      # 0x5198
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r14, %rsi
movq %rbx, %rdx
movl $0x8, %ecx
jmp 0x2254
movq %r14, %rsi
movq %rbx, %rdx
movl $0x10, %ecx
jmp 0x2254
movq %r14, %rsi
movq %rbx, %rdx
movl $0x2, %ecx
jmp 0x2254
leaq 0x70(%r14), %rax
movw $0x25, 0x70(%r14)
jmp 0x23a6
movq %r14, %rsi
movq %rbx, %rdx
movl $0xa, %ecx
callq 0x307b
jmp 0x24a8
movq %r14, %rsi
movq %rbx, %rdx
movl $0x8, %ecx
jmp 0x22e1
cmpb $0x0, 0xc(%rbx)
je 0x2381
cmpl $0x5, %eax
ja 0x23e3
leaq 0x2f4b(%rip), %rdx      # 0x51d0
movslq (%rdx,%rcx,4), %rsi
addq %rdx, %rsi
jmpq *%rsi
cmpb $0x0, 0xc(%rbx)
je 0x236b
cmpl $0x5, %eax
ja 0x23e3
leaq 0x2f40(%rip), %rdx      # 0x51e8
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movb 0xc(%rbx), %cl
addb $-0x3, %cl
cmpb $0xd, %cl
ja 0x23d6
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x2301
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x230d
movq %r14, %rsi
movq %rbx, %rdx
movl $0x10, %ecx
callq 0x2cba
jmp 0x24a8
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x233f
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x234b
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 0x24a8
movl %edi, 0x70(%r14)
callq 0x2aa4
movl %eax, 0x9c(%r14)
movslq %eax, %rdi
callq 0x40a8
movq %rax, (%r14)
jmp 0x2496
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movq (%rax), %rdi
movl $0x10, %esi
callq 0x44c4
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x255c
jmp 0x24a8
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x2397
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x23a3
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x23ab
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x23b7
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movq (%rax), %rax
movq %rax, (%r14)
jmp 0x23c9
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movb (%rax), %al
leaq 0x70(%r14), %rcx
movb %al, 0x70(%r14)
movq %rcx, (%r14)
movb $0x0, 0x71(%r14)
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
jmp 0x24a3
cmpl $0x5, %eax
je 0x23f0
testl %eax, %eax
je 0x21e9
movb 0xc(%rbx), %al
decb %al
cmpb $0xf, %al
ja 0x2496
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x2406
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x2412
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movq (%rax), %rax
movq %rax, 0x70(%r14)
testq %rax, %rax
je 0x2496
movl (%rax), %edi
testl %edi, %edi
je 0x2446
movl $0x4, %r15d
callq 0x2aa4
addl %eax, 0x9c(%r14)
movq 0x70(%r14), %rax
movl (%rax,%r15), %edi
addq $0x4, %r15
testl %edi, %edi
jne 0x242a
movslq 0x9c(%r14), %rdi
callq 0x40a8
movq %rax, (%r14)
movq 0x70(%r14), %rax
movl (%rax), %edi
testl %edi, %edi
je 0x2488
movl $0x4, %r12d
movq (%r14), %r15
callq 0x2a0a
movq %r15, %rdi
movq %rax, %rsi
callq 0x3f7c
movq 0x70(%r14), %rax
movl (%rax,%r12), %edi
addq $0x4, %r12
testl %edi, %edi
jne 0x2465
movq (%r14), %rax
movslq 0x9c(%r14), %rcx
movb $0x0, (%rax,%rcx)
movl 0x9c(%r14), %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x24b9
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq