// File: /workspace/github_c_makefile_star2_O3/rpeepz[P]ft_ssl/libft/srcs/ft_sprintf/u_to_buf.c
// Function: u_to_buf
int				u_to_buf(char *buf, t_mod modifiers, va_list ap, int i)
{
	uint64_t	num;
	char		*str;

	if (i == 17)
		modifiers.length = 'z';
	num = convert_length(modifiers.length, ap);
	str = num_string_u_base(num, 10);
	str[0] == '0' && modifiers.prcsn == 0 ? str[0] = '\0' : 0;
	if (modifiers.fl.minus == 1)
		left_just(buf, str, modifiers, 0);
	else
		right_justify(buf, str, modifiers, 0);
	free(str);
	return (ft_strlen(buf));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
leaq 0xa0(%rsp), %r15
cmpl $0x11, %edx
jne 0xb136
movl $0x7a, 0x1c(%r15)
movl $0x7a, %r12d
movl (%rsi), %ecx
cmpq $0x28, %rcx
ja 0xb156
movq %rcx, %rax
addq 0x10(%rsi), %rax
addl $0x8, %ecx
movl %ecx, (%rsi)
jmp 0xb162
movl 0x1c(%r15), %r12d
cmpl $0x68, %r12d
jne 0xb16a
movl (%rsi), %ecx
cmpq $0x28, %rcx
ja 0xb18d
movq %rcx, %rax
addq 0x10(%rsi), %rax
addl $0x8, %ecx
movl %ecx, (%rsi)
jmp 0xb199
movq 0x8(%rsi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsi)
movq (%rax), %rdi
jmp 0xb1f5
movl %r12d, %eax
andl $-0x2, %eax
cmpl $0xd0, %eax
jne 0xb1a4
movl (%rsi), %ecx
cmpq $0x28, %rcx
ja 0xb1e6
movq %rcx, %rax
addq 0x10(%rsi), %rax
addl $0x8, %ecx
movl %ecx, (%rsi)
jmp 0xb1f2
movq 0x8(%rsi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsi)
movzwl (%rax), %edi
movl $0x68, %r12d
jmp 0xb1f5
leal -0xd8(%r12), %eax
cmpl $0x2, %eax
jb 0xb120
cmpl $0x7a, %r12d
je 0xb120
cmpl $0x6c, %r12d
jne 0xb390
movl (%rsi), %ecx
cmpq $0x28, %rcx
ja 0xb3a6
movq %rcx, %rax
addq 0x10(%rsi), %rax
addl $0x8, %ecx
movl %ecx, (%rsi)
jmp 0xb3b2
movq 0x8(%rsi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsi)
movzbl (%rax), %edi
movl $0xa, %esi
callq 0x866e
movq %rax, %r14
cmpb $0x30, (%rax)
sete %al
movl 0x18(%r15), %ebp
testl %ebp, %ebp
sete %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xb21c
movb $0x0, (%r14)
cmpl $0x1, 0x8(%r15)
jne 0xb2b7
movq %rbx, %r12
movl 0x14(%r15), %ebx
movl $0x0, 0x34(%rsp)
movq %r14, %rdi
callq 0x8082
movq %rax, %r15
movq %r12, 0x38(%rsp)
cmpl %r15d, %ebp
jle 0xb26c
leaq 0x1b6a(%rip), %r13      # 0xcdbc
movq 0x38(%rsp), %r12
decl %ebp
movq %r12, %rdi
movq %r13, %rsi
callq 0x7e30
incq %r12
cmpl %r15d, %ebp
jg 0xb257
leaq 0x40(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x34(%rsp), %r12
movq %r14, %rsi
movq %r12, %rdx
movl %r15d, %ecx
callq 0xa83e
cmpl %ebx, (%r12)
jge 0xb2ad
leaq 0x40(%rsp), %r15
leaq 0x34(%rsp), %r12
movq %r15, %rdi
movl $0x20, %esi
movq %r12, %rdx
callq 0xa810
cmpl %ebx, 0x34(%rsp)
jl 0xb297
movq 0x38(%rsp), %rbx
jmp 0xb371
cmpl $0x0, 0x20(%r15)
jne 0xb326
movq %r14, %rdi
callq 0x8082
movups (%r15), %xmm0
movaps %xmm0, 0x40(%rsp)
movq 0x10(%r15), %rcx
movq %rcx, 0x50(%rsp)
movl %ebp, 0x58(%rsp)
movl %r12d, 0x5c(%rsp)
movl 0x4c(%rsp), %ecx
movl %ecx, 0x60(%rsp)
movl %ecx, 0x20(%rsp)
movaps 0x40(%rsp), %xmm0
movaps 0x50(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %rbx, %rdi
movl %eax, %esi
xorl %edx, %edx
callq 0xa863
cmpl $0x0, 0x40(%rsp)
je 0xb326
testl %eax, %eax
jne 0xb326
leaq 0x20dc(%rip), %rsi      # 0xd3fa
movq %rbx, %rdi
callq 0x7e30
movq %r14, %rdi
callq 0x8082
movq %rax, %r15
movq %rbx, %r12
cmpl %r15d, %ebp
jle 0xb358
leaq 0x1a7c(%rip), %r13      # 0xcdbc
movq %rbx, %r12
decl %ebp
movq %r12, %rdi
movq %r13, %rsi
callq 0x7e30
incq %r12
cmpl %r15d, %ebp
jg 0xb343
movq %r12, %rdi
callq 0x8082
movslq %eax, %rdi
addq %r12, %rdi
movslq %r15d, %rdx
movq %r14, %rsi
callq 0x7e4c
movq %r14, %rdi
callq 0x1030
movq %rbx, %rdi
callq 0x8082
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl (%rsi), %ecx
cmpq $0x28, %rcx
ja 0xb3c0
movq %rcx, %rax
addq 0x10(%rsi), %rax
addl $0x8, %ecx
movl %ecx, (%rsi)
jmp 0xb3cc
movq 0x8(%rsi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsi)
movq (%rax), %rdi
movl $0x6c, %r12d
jmp 0xb1f5
movq 0x8(%rsi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsi)
movl (%rax), %edi
jmp 0xb1f5
nop