// File: /workspace/github_c_makefile_star2_O2/rpeepz[P]ft_ssl/libft/srcs/ft_printf/convert_u.c
// Function: convert_u
int				convert_u(t_mods modifiers, va_list ap, int i)
{
	uint64_t	num;
	int			nbyte;
	char		*str;

	nbyte = 0;
	if (i == 17)
		modifiers.length = 'z';
	num = convert_length(modifiers.length, ap);
	if (modifiers.length == 'l' || modifiers.length / 2 == 'l' ||
		modifiers.length == 'z')
		str = num_string_u_base(num, 10);
	else
		str = ft_uitoa_base(num, 10);
	str[0] == '0' && modifiers.prcsn == 0 ? str[0] = '\0' : 0;
	if (modifiers.fl.minus == 1)
		nbyte += left_justify(modifiers, str, nbyte);
	else
		nbyte += right_justify(modifiers, str, nbyte);
	if (str)
		free(str);
	return (nbyte);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
leaq 0x50(%rsp), %r14
cmpl $0x11, %esi
jne 0x8edd
pushq $0x7a
popq %rax
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x8efc
movq %rdx, %rcx
addq 0x10(%rdi), %rcx
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x8f08
movl 0x1c(%r14), %eax
cmpl $0x68, %eax
jne 0x8f2a
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x8f58
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x8f64
movq 0x8(%rdi), %rcx
leaq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rdi)
movq (%rcx), %rdi
leal -0xd8(%rax), %ecx
cmpl $0x2, %ecx
jb 0x8f20
cmpl $0x7a, %eax
je 0x8f20
cmpl $0x6c, %eax
jne 0x8f67
pushq $0xa
popq %rsi
callq 0x78cd
jmp 0x8f6f
movl %eax, %ecx
andl $-0x2, %ecx
cmpl $0xd0, %ecx
jne 0x9111
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x9144
movq %rdx, %rcx
addq 0x10(%rdi), %rcx
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x9150
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movzwl (%rax), %edi
pushq $0xa
popq %rsi
callq 0xa9a7
movq %rax, %rdi
cmpb $0x30, (%rax)
sete %al
movl 0x18(%r14), %ebx
testl %ebx, %ebx
sete %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x8f8b
movb $0x0, (%rdi)
cmpl $0x1, 0x8(%r14)
movq %rdi, 0x10(%rsp)
jne 0x900d
movl 0x14(%r14), %ebp
callq 0x739e
movq %rax, %r15
xorl %r14d, %r14d
pushq $0x1
popq %r12
pushq $0x1
popq %r13
cmpl %r15d, %ebx
jle 0x8fcc
decl %ebx
movl %r12d, %edi
leaq 0x2dfd(%rip), %rsi      # 0xbdbc
movq %r13, %rdx
callq 0x1050
addl %eax, %r14d
jmp 0x8fae
movslq %r15d, %rdx
pushq $0x1
popq %rbx
movl %ebx, %edi
movq 0x10(%rsp), %r13
movq %r13, %rsi
callq 0x1050
leaq 0x335a(%rip), %r15      # 0xc342
pushq $0x1
popq %r12
movl %r14d, %ecx
movl %eax, %r14d
addl %ecx, %r14d
cmpl %ebp, %r14d
jge 0x90f7
movl %ebx, %edi
movq %r15, %rsi
movq %r12, %rdx
callq 0x1050
jmp 0x8fec
movl 0xc(%r14), %ebp
movl 0x10(%r14), %r15d
movl 0x14(%r14), %r14d
callq 0x739e
cmpl $-0x1, %ebx
je 0x9059
cmpl %eax, %ebx
jl 0x9059
movq %rax, 0x8(%rsp)
addl %ebx, %ebp
subl %ebp, %r14d
xorl %r13d, %r13d
leaq 0x3307(%rip), %r15      # 0xc342
pushq $0x1
popq %rbp
pushq $0x1
popq %r12
cmpl %r13d, %r14d
jle 0x90a8
movl %ebp, %edi
movq %r15, %rsi
movq %r12, %rdx
callq 0x1050
addl %eax, %r13d
jmp 0x9042
xorl %r13d, %r13d
cmpl %eax, %r14d
jle 0x90ad
testl %r15d, %r15d
leaq 0x2d51(%rip), %r15      # 0xbdbc
leaq 0x32d0(%rip), %rcx      # 0xc342
cmoveq %rcx, %r15
cmpl $-0x1, %ebx
cmovneq %rcx, %r15
movq %rax, 0x8(%rsp)
addl %eax, %ebp
subl %ebp, %r14d
xorl %r13d, %r13d
pushq $0x1
popq %rbp
pushq $0x1
popq %r12
cmpl %r13d, %r14d
jle 0x90a8
movl %ebp, %edi
movq %r15, %rsi
movq %r12, %rdx
callq 0x1050
addl %eax, %r13d
jmp 0x9091
movq 0x8(%rsp), %rax
cmpl %eax, %ebx
movq %rax, %r14
jle 0x90db
leaq 0x2d01(%rip), %r15      # 0xbdbc
pushq $0x1
popq %rbp
pushq $0x1
popq %r12
cmpl %r14d, %ebx
jle 0x90db
decl %ebx
movl %ebp, %edi
movq %r15, %rsi
movq %r12, %rdx
callq 0x1050
addl %eax, %r13d
jmp 0x90c2
movslq %r14d, %rdx
pushq $0x1
popq %rdi
movq 0x10(%rsp), %rbx
movq %rbx, %rsi
callq 0x1050
movq %rax, %r14
addl %r13d, %r14d
movq %rbx, %r13
movq %r13, %rdi
callq 0x1030
movl %r14d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leal -0xd8(%rax), %ecx
cmpl $0x2, %ecx
jb 0x8ec7
cmpl $0x7a, %eax
je 0x8ec7
cmpl $0x6c, %eax
jne 0x9158
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x916e
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x917a
movq 0x8(%rdi), %rcx
leaq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rdi)
movzbl (%rcx), %edi
jmp 0x8f0b
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x9182
movq %rdx, %rcx
addq 0x10(%rdi), %rcx
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x918e
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movq (%rax), %rdi
jmp 0x8f20
movq 0x8(%rdi), %rcx
leaq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rdi)
movl (%rcx), %edi
jmp 0x8f0b
nopl (%rax)