// File: /workspace/github_c_makefile_star2_O1/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 0x6d80
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)
movb (%rbx), %al
xorl %r14d, %r14d
testb %al, %al
je 0x6f67
leaq 0x6a93(%rip), %r15      # 0xd847
leaq 0x6aa9(%rip), %r13      # 0xd864
cmpb $0x2d, %al
jne 0x6f61
xorl %ebp, %ebp
movzbl (%rbx), %eax
cmpl $0x2d, %eax
jne 0x6dd4
incq %rbx
incl %ebp
jmp 0x6dc5
testl %eax, %eax
jne 0x6ddf
xorl %ebp, %ebp
jmp 0x6f3e
cmpl $0x3, %ebp
jb 0x6df8
movq %r13, %rdi
movl $0x2, %esi
callq 0x72a8
xorl %ebp, %ebp
jmp 0x6f3b
cmpl $0x69, %eax
je 0x6e24
cmpl $0x73, %eax
jne 0x6f3b
cmpl $0x2, %ebp
jne 0x6e49
movl (%rsp), %ecx
cmpq $0x28, %rcx
ja 0x6e7d
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x8, %ecx
movl %ecx, (%rsp)
jmp 0x6e8b
cmpl $0x2, %ebp
jne 0x6e49
movl (%rsp), %ecx
cmpq $0x28, %rcx
ja 0x6ed6
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x8, %ecx
movl %ecx, (%rsp)
jmp 0x6ee4
movl (%rsp), %ecx
cmpq $0x28, %rcx
ja 0x6e62
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x8, %ecx
movl %ecx, (%rsp)
jmp 0x6e70
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rdi
callq 0x777c
jmp 0x6f3b
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rdi
movq %rdi, 0x18(%rsp)
xorl %ebp, %ebp
testq %rdi, %rdi
je 0x6f3b
cmpq $0x0, (%rdi)
je 0x6f3b
movl $0x1, %ebp
movl $0x8, %r12d
callq 0x779b
movq 0x18(%rsp), %rax
leaq (%rax,%r12), %rdi
incl %ebp
cmpq $0x0, (%rax,%r12)
leaq 0x8(%r12), %r12
jne 0x6eb3
leaq 0x18(%rsp), %rdi
jmp 0x6e73
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq %r13, %r15
movq (%rax), %rcx
movq %rcx, 0x18(%rsp)
xorl %ebp, %ebp
movq %rbp, %rax
incq %rbp
cmpq $0x0, (%rcx,%rax,8)
jne 0x6ef1
cmpq $0x1, %rbp
je 0x6f27
movl %eax, %r13d
xorl %r12d, %r12d
movq 0x18(%rsp), %rdi
cmpq $0x0, (%rdi,%r12)
je 0x6f27
addq %r12, %rdi
callq 0x777c
addq $0x8, %r12
decq %r13
jne 0x6f0a
leaq 0x18(%rsp), %rdi
callq 0x777c
movq %r15, %r13
leaq 0x690c(%rip), %r15      # 0xd847
incq %rbx
addl %ebp, %r14d
jne 0x6f50
movq %r15, %rdi
movl $0x2, %esi
callq 0x72a8
testl %r14d, %r14d
js 0x6f67
movb (%rbx), %al
testb %al, %al
jne 0x6dbb
jmp 0x6f67
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
movl %r14d, %eax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq