// File: /workspace/github_c_makefile_star2_O3/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 0x3454
movabsq $0x100800001, %rcx      # imm = 0x100800001
btq %rax, %rcx
jae 0x3454
movl %edx, %ebx
movl %esi, %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)
callq 0x4cf8
xorl %edx, %edx
cmpb $0x58, 0x30(%r13)
sete %dl
movq %rax, %rdi
movl %ebx, %esi
callq 0x37e8
movq %rax, %rbx
movl 0x18(%r13), %r12d
movq %rax, %rdi
callq 0x4d80
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 0x319e
movl %eax, %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)
movq %rbx, %rdi
movl %eax, %esi
movl %ebp, %edx
callq 0x4394
movl %eax, %ebp
addl %r14d, %ebp
testl %r12d, %r12d
jle 0x33bd
movl 0x38(%r13), %edx
movl $0x30, %edi
movl %r12d, %esi
callq 0x4b68
addl %eax, %ebp
leaq 0x3089(%rip), %rsi      # 0x644d
movq %rbx, %rdi
callq 0x4d90
movl $0x1, %r14d
orl 0x18(%r13), %eax
jne 0x33ee
cmpl $0x0, (%r13)
setne %al
cmpb $0x6f, 0x30(%r13)
sete %cl
andb %al, %cl
movzbl %cl, %r14d
movl 0x38(%r13), %r12d
movq %rbx, %rdi
callq 0x4d80
imulq %rax, %r14
movl %r12d, %edi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x1060
addl %eax, %ebp
cmpl $0x0, 0xc(%r13)
je 0x3428
movl 0x38(%r13), %edx
movl $0x20, %edi
movl %r15d, %esi
callq 0x4b68
addl %eax, %ebp
leaq 0x301e(%rip), %rsi      # 0x644d
movq %rbx, %rdi
callq 0x4d90
testl %eax, %eax
je 0x3443
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 0x4cf8
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 0x2ec4