// File: /workspace/github_c_makefile_star2_O2/AndreIglesias[P]quick_ls/libft/libstd/depo/.././src//c/stdio/ft_printf/printform.c
// Function: print_uoxx
int	print_uoxx(t_flags flags, va_list ap, int nb, int n)
{
	char	*s;
	int		b;
	int		q;
	int		con;

	if (flags.type == 'o' || flags.type == 'x' || flags.type == 'X')
	{
		s = ft_itoa_basexx(flags_uoxx(flags, ap), n, (flags.type == 'X'));
		q = flags.precision - ft_strlen(s);
		b = !(q > 0 && flags.type == 'o') * flags.square;
		n = ft_uoxx_w(flags, s, q, b);
		nb += ft_putoxx(flags, s, n, b);
		if (q > 0)
			nb += ft_repet_fd('0', q, flags.fd);
		con = (!(!ft_strcmp(s, "0") && !flags.precision
					&& !(flags.square && flags.type == 'o')));
		nb += write(flags.fd, s, ft_strlen(s) * con);
		if (flags.minus)
			nb += ft_repet_fd(' ', n, flags.fd);
		if (ft_strcmp(s, "0") != 0)
			free(s);
		return (nb);
	}
	return (print_di(flags, flags_uoxx(flags, ap),
			flags.precision == 0, flags.fd));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
leaq 0x80(%rsp), %r13
movzbl 0x30(%r13), %eax
addl $-0x58, %eax
cmpl $0x20, %eax
ja 0x3332
movabsq $0x100800001, %rcx      # imm = 0x100800001
btq %rax, %rcx
jae 0x3332
movl %edx, %ebx
movl %esi, %r15d
movups (%r13), %xmm0
movups 0x10(%r13), %xmm1
movups 0x20(%r13), %xmm2
movups 0x2c(%r13), %xmm3
movups %xmm3, 0x2c(%rsp)
movups %xmm2, 0x20(%rsp)
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0x472c
xorl %edx, %edx
cmpb $0x58, 0x30(%r13)
sete %dl
movq %rax, %rdi
movl %ebx, %esi
callq 0x36a0
movq %rax, %rbx
movl 0x18(%r13), %r12d
movq %rax, %rdi
callq 0x47c0
subl %eax, %r12d
xorl %ebp, %ebp
cmpb $0x6f, 0x30(%r13)
movl (%r13), %eax
cmovnel %eax, %ebp
testl %r12d, %r12d
cmovlel %eax, %ebp
movups (%r13), %xmm0
movups 0x10(%r13), %xmm1
movups 0x20(%r13), %xmm2
movups 0x2c(%r13), %xmm3
movups %xmm3, 0x2c(%rsp)
movups %xmm2, 0x20(%rsp)
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %rbx, %rdi
movl %r12d, %esi
movl %ebp, %edx
callq 0x3080
movl %eax, %r14d
movups (%r13), %xmm0
movups 0x10(%r13), %xmm1
movups 0x20(%r13), %xmm2
movups 0x2c(%r13), %xmm3
movups %xmm3, 0x2c(%rsp)
movups %xmm2, 0x20(%rsp)
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %rbx, %rdi
movl %eax, %esi
movl %ebp, %edx
callq 0x3ec4
movl %eax, %ebp
addl %r15d, %ebp
testl %r12d, %r12d
jle 0x329d
movl 0x38(%r13), %edx
pushq $0x30
popq %rdi
movl %r12d, %esi
callq 0x45b0
addl %eax, %ebp
leaq 0x2129(%rip), %rsi      # 0x53cd
movq %rbx, %rdi
callq 0x47d0
orl 0x18(%r13), %eax
je 0x32b8
pushq $0x1
popq %r15
jmp 0x32ce
cmpl $0x0, (%r13)
setne %al
cmpb $0x6f, 0x30(%r13)
sete %cl
andb %al, %cl
movzbl %cl, %r15d
movl 0x38(%r13), %r12d
movq %rbx, %rdi
callq 0x47c0
imulq %rax, %r15
movl %r12d, %edi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x1060
addl %eax, %ebp
cmpl $0x0, 0xc(%r13)
je 0x3306
movl 0x38(%r13), %edx
pushq $0x20
popq %rdi
movl %r14d, %esi
callq 0x45b0
addl %eax, %ebp
leaq 0x20c0(%rip), %rsi      # 0x53cd
movq %rbx, %rdi
callq 0x47d0
testl %eax, %eax
je 0x3321
movq %rbx, %rdi
callq 0x1030
movl %ebp, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movups (%r13), %xmm0
movups 0x10(%r13), %xmm1
movups 0x20(%r13), %xmm2
movups 0x2c(%r13), %xmm3
movups %xmm3, 0x2c(%rsp)
movups %xmm2, 0x20(%rsp)
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0x472c
xorl %esi, %esi
cmpl $0x0, 0x18(%r13)
sete %sil
movl 0x38(%r13), %edx
movq %rax, %rdi
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2da8