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

	nbyte = 0;
	va_start(ap, str);
	while (*str)
	{
		if (*str != '%')
		{
			print_one(&str);
			nbyte++;
		}
		else
		{
			nbyte += parse_string(&str, ap);
		}
	}
	va_end(ap);
	if (nbyte < 0)
		nbyte = 0;
	return (nbyte);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
testb %al, %al
je 0x6aa5
movaps %xmm0, 0xa0(%rsp)
movaps %xmm1, 0xb0(%rsp)
movaps %xmm2, 0xc0(%rsp)
movaps %xmm3, 0xd0(%rsp)
movaps %xmm4, 0xe0(%rsp)
movaps %xmm5, 0xf0(%rsp)
movaps %xmm6, 0x100(%rsp)
movaps %xmm7, 0x110(%rsp)
leaq 0x70(%rsp), %rax
movq %rsi, 0x8(%rax)
movq %rdx, 0x10(%rax)
movq %rcx, 0x18(%rax)
movq %r8, 0x20(%rax)
movq %r9, 0x28(%rax)
leaq 0x28(%rsp), %rbx
movq %rdi, (%rbx)
leaq 0x50(%rsp), %r14
movq %rax, 0x10(%r14)
leaq 0x160(%rsp), %rax
movq %rax, 0x8(%r14)
movabsq $0x3000000008, %rax     # imm = 0x3000000008
movq %rax, (%r14)
xorl %ebp, %ebp
pushq $0x2a
popq %r13
leaq 0x5d83(%rip), %r12      # 0xc878
leaq 0x30(%rsp), %r15
movzbl (%rdi), %eax
cmpl $0x25, %eax
je 0x6b19
testl %eax, %eax
je 0x6cd7
movq %rbx, %rdi
callq 0x782c
incl %ebp
jmp 0x6ccd
leaq 0x1(%rdi), %rax
movq %rax, 0x28(%rsp)
cmpb $0x0, 0x1(%rdi)
je 0x6b3f
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x79c4
movq 0x28(%rsp), %rax
movb (%rax), %al
jmp 0x6b41
xorl %eax, %eax
movsbl %al, %edi
callq 0x77e5
movq 0x28(%rsp), %rcx
testl %eax, %eax
je 0x6b95
incq %rcx
movq %rcx, 0x28(%rsp)
leal -0x1(%rax), %edx
movl %r13d, %ecx
cmpl $0x13, %edx
ja 0x6cc9
movslq (%r12,%rdx,4), %rdx
addq %r12, %rdx
movl %r13d, %ecx
jmpq *%rdx
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
callq 0x8170
jmp 0x6cc7
cmpb $0x0, (%rcx)
je 0x6baa
movq %rbx, %rdi
callq 0x782c
pushq $0x1
popq %rcx
jmp 0x6cc9
xorl %ecx, %ecx
jmp 0x6cc9
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
movl %eax, %esi
callq 0x9198
jmp 0x6cc7
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
movl %eax, %esi
callq 0x8658
jmp 0x6cc7
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
movl %eax, %esi
callq 0x816c
jmp 0x6cc7
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
movl %eax, %esi
callq 0x8eac
jmp 0x6cc7
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
movl %eax, %esi
callq 0x7bd4
jmp 0x6cc7
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
callq 0x89e8
jmp 0x6cc7
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0x963c
jmp 0x6cc7
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
callq 0x8040
jmp 0x6cc7
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
callq 0x8d24
movl %eax, %ecx
addl %ebp, %ecx
movl %ecx, %ebp
movq 0x28(%rsp), %rdi
jmp 0x6afa
xorl %eax, %eax
testl %ebp, %ebp
cmovgl %ebp, %eax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq