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

	freed = 0;
	va_start(ap, str);
	while (*str && freed >= 0)
	{
		if (*str != PIPE_KEY)
		{
			freed = -1;
			break ;
		}
		else
		{
			freed += pipe_cutter(&str, ap);
			if (freed == 0)
			{
				ft_putendl_fd("No valid pointers were freed", 2);
			}
		}
	}
	va_end(ap);
	return (freed);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rdi, %rbx
leaq 0x20(%rsp), %rdi
movq %rsi, 0x8(%rdi)
movq %rdx, 0x10(%rdi)
movq %rcx, 0x18(%rdi)
movq %r8, 0x20(%rdi)
movq %r9, 0x28(%rdi)
testb %al, %al
je 0x6858
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5, 0xa0(%rsp)
movaps %xmm6, 0xb0(%rsp)
movaps %xmm7, 0xc0(%rsp)
movq %rdi, 0x10(%rsp)
leaq 0x110(%rsp), %rax
movq %rax, 0x8(%rsp)
movabsq $0x3000000008, %rax     # imm = 0x3000000008
movq %rax, (%rsp)
xorl %r15d, %r15d
leaq 0x5fc5(%rip), %rbp      # 0xc847
pushq $0x2
popq %r14
leaq 0x5fd7(%rip), %r12      # 0xc864
movl %r15d, %r13d
testl %r15d, %r15d
js 0x6a3a
movb (%rbx), %al
testb %al, %al
je 0x6a3a
cmpb $0x2d, %al
jne 0x6a36
incq %rbx
xorl %r15d, %r15d
movb $0x2d, %al
cmpb $0x2d, %al
jne 0x68c1
incl %r15d
movb (%rbx), %al
incq %rbx
jmp 0x68b3
movzbl %al, %ecx
testl %ecx, %ecx
jne 0x68cd
decq %rbx
jmp 0x68de
cmpl $0x3, %r15d
jb 0x68f3
movq %r12, %rdi
movl %r14d, %esi
callq 0x6d80
xorl %r15d, %r15d
addl %r13d, %r15d
jne 0x688d
movq %rbp, %rdi
movl %r14d, %esi
callq 0x6d80
jmp 0x688d
cmpb $0x69, %al
je 0x691b
cmpl $0x73, %ecx
jne 0x68e1
cmpl $0x2, %r15d
jne 0x6941
movl (%rsp), %ecx
cmpq $0x28, %rcx
ja 0x6975
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x8, %ecx
movl %ecx, (%rsp)
jmp 0x6983
cmpl $0x2, %r15d
jne 0x6941
movl (%rsp), %ecx
cmpq $0x28, %rcx
ja 0x69c5
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x8, %ecx
movl %ecx, (%rsp)
jmp 0x69d3
movl (%rsp), %ecx
cmpq $0x28, %rcx
ja 0x695a
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x8, %ecx
movl %ecx, (%rsp)
jmp 0x6968
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rdi
callq 0x71f0
jmp 0x68e1
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %r12
movq %r12, 0x18(%rsp)
xorl %r15d, %r15d
testq %r12, %r12
je 0x6a2a
movq (%r12), %rax
testq %rax, %rax
je 0x6a2a
pushq $0x1
popq %rcx
movl %ecx, %r15d
testq %rax, %rax
je 0x6a20
movq %r12, %rdi
callq 0x720c
movq 0x8(%r12), %rax
addq $0x8, %r12
incl %r15d
jmp 0x69aa
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %r12
movq %r12, 0x18(%rsp)
xorl %r15d, %r15d
movq %r15, %rax
incq %r15
cmpq $0x0, (%r12,%rax,8)
jne 0x69de
movl %eax, %r14d
subq $0x1, %r14
jb 0x6a09
cmpq $0x0, (%r12)
je 0x6a09
movq %r12, %rdi
callq 0x71f0
addq $0x8, %r12
jmp 0x69ee
leaq 0x18(%rsp), %rdi
callq 0x71f0
leaq 0x5e2d(%rip), %rbp      # 0xc847
pushq $0x2
popq %r14
jmp 0x6a2a
leaq 0x18(%rsp), %rdi
callq 0x71f0
leaq 0x5e33(%rip), %r12      # 0xc864
jmp 0x68e1
pushq $-0x1
popq %r13
movl %r13d, %eax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop