// File: /workspace/github_c_makefile_star2_O1/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 0x343c
movabsq $0x100800001, %rcx      # imm = 0x100800001
btq %rax, %rcx
jae 0x343c
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 0x4b1c
xorl %edx, %edx
cmpb $0x58, 0x30(%r13)
sete %dl
movq %rax, %rdi
movl %ebx, %esi
callq 0x37bc
movq %rax, %rbx
movl 0x18(%r13), %r12d
movq %rax, %rdi
callq 0x4bb0
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 0x318c
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 0x41d8
movl %eax, %ebp
addl %r14d, %ebp
testl %r12d, %r12d
jle 0x33a5
movl 0x38(%r13), %edx
movl $0x30, %edi
movl %r12d, %esi
callq 0x4988
addl %eax, %ebp
leaq 0x2031(%rip), %rsi      # 0x53dd
movq %rbx, %rdi
callq 0x4bc0
movl $0x1, %r14d
orl 0x18(%r13), %eax
jne 0x33d6
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 0x4bb0
imulq %rax, %r14
movl %r12d, %edi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x1060
addl %eax, %ebp
cmpl $0x0, 0xc(%r13)
je 0x3410
movl 0x38(%r13), %edx
movl $0x20, %edi
movl %r15d, %esi
callq 0x4988
addl %eax, %ebp
leaq 0x1fc6(%rip), %rsi      # 0x53dd
movq %rbx, %rdi
callq 0x4bc0
testl %eax, %eax
je 0x342b
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 0x4b1c
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 0x2ec8