// File: /workspace/github_c_makefile_star2_O3/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 %r12
pushq %rbx
subq $0x120, %rsp            # imm = 0x120
testb %al, %al
je 0x76eb
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 0x150(%rsp), %rax
movq %rax, 0x8(%r14)
movabsq $0x3000000008, %rax     # imm = 0x3000000008
movq %rax, (%r14)
xorl %ebp, %ebp
leaq 0x61e1(%rip), %r12      # 0xd918
leaq 0x30(%rsp), %r15
movzbl (%rdi), %eax
cmpl $0x25, %eax
je 0x775b
testl %eax, %eax
je 0x7910
movq %rbx, %rdi
callq 0x85c8
incl %ebp
jmp 0x7906
leaq 0x1(%rdi), %rax
movq %rax, 0x28(%rsp)
cmpb $0x0, 0x1(%rdi)
je 0x7781
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x87a0
movq 0x28(%rsp), %rax
movb (%rax), %al
jmp 0x7783
xorl %eax, %eax
movsbl %al, %edi
callq 0x857d
movl %eax, %esi
movq 0x28(%rsp), %rax
testl %esi, %esi
je 0x77d8
incq %rax
movq %rax, 0x28(%rsp)
movl $0x2a, %eax
leal -0x1(%rsi), %ecx
cmpl $0x13, %ecx
ja 0x7902
movslq (%r12,%rcx,4), %rcx
addq %r12, %rcx
jmpq *%rcx
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
callq 0x8f68
jmp 0x7902
cmpb $0x0, (%rax)
je 0x77ef
movq %rbx, %rdi
callq 0x85c8
movl $0x1, %eax
jmp 0x7902
xorl %eax, %eax
jmp 0x7902
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
callq 0x9fb4
jmp 0x7902
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
callq 0x9480
jmp 0x7902
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
callq 0x8f64
jmp 0x7902
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
callq 0x9cb8
jmp 0x7902
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
callq 0x89d8
jmp 0x7902
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
callq 0x9818
jmp 0x7902
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0xa454
jmp 0x7902
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
callq 0x8e40
jmp 0x7902
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r14, %rdi
callq 0x9b38
addl %ebp, %eax
movl %eax, %ebp
movq 0x28(%rsp), %rdi
jmp 0x773c
xorl %eax, %eax
testl %ebp, %ebp
cmovgl %ebp, %eax
addq $0x120, %rsp            # imm = 0x120
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop