// File: /workspace/github_c_makefile_star2_O0/ffoissey[P]push_swap_42/srcs_push_swap/ft_make_simple.c
// Function: ft_forgot
static int	ft_forgot(t_stack *s, char **buf, char **tab, int i)
{
	if ((ft_strequ(tab[i], "rr") && ft_strequ(tab[i + 1], "rrr"))
			|| (ft_strequ(tab[i], "rrr") && ft_strequ(tab[i + 1], "rr")))
		return (1);
	else if ((ft_strequ(tab[i], "ra") && ft_strequ(tab[i + 1], "rra"))
			|| (ft_strequ(tab[i], "rra") && ft_strequ(tab[i + 1], "ra"))
			|| (ft_strequ(tab[i], "rb") && ft_strequ(tab[i + 1], "rrb"))
			|| (ft_strequ(tab[i], "rrb") && ft_strequ(tab[i + 1], "rb")))
		return (1);
	else if ((ft_strequ(tab[i], "ss") && ft_strequ(tab[i + 1], "ss"))
			|| (ft_strequ(tab[i], "sa") && ft_strequ(tab[i + 1], "sa"))
			|| (ft_strequ(tab[i], "sb") && ft_strequ(tab[i + 1], "sb")))
		return (1);
	if (ft_strequ(tab[i], "pa"))
	{
		s->size_b--;
		s->size_a++;
	}
	else if (ft_strequ(tab[i], "pb"))
	{
		s->size_a--;
		s->size_b++;
	}
	*buf = ft_strjoinfree(*buf, tab[i], FIRST);
	*buf = ft_strjoinfree(*buf, "\n", FIRST);
	return (0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movq -0x20(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x47f8(%rip), %rsi      # 0x6022
callq 0x4890
cmpl $0x0, %eax
je 0x1856
movq -0x20(%rbp), %rax
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x47d5(%rip), %rsi      # 0x6021
callq 0x4890
cmpl $0x0, %eax
jne 0x1895
movq -0x20(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x47b8(%rip), %rsi      # 0x6021
callq 0x4890
cmpl $0x0, %eax
je 0x18a1
movq -0x20(%rbp), %rax
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x4797(%rip), %rsi      # 0x6022
callq 0x4890
cmpl $0x0, %eax
je 0x18a1
movl $0x1, -0x4(%rbp)
jmp 0x1b48
movq -0x20(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x4761(%rip), %rsi      # 0x6015
callq 0x4890
cmpl $0x0, %eax
je 0x18e4
movq -0x20(%rbp), %rax
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x473e(%rip), %rsi      # 0x6014
callq 0x4890
cmpl $0x0, %eax
jne 0x19a1
movq -0x20(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x471d(%rip), %rsi      # 0x6014
callq 0x4890
cmpl $0x0, %eax
je 0x1923
movq -0x20(%rbp), %rax
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x46fc(%rip), %rsi      # 0x6015
callq 0x4890
cmpl $0x0, %eax
jne 0x19a1
movq -0x20(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x46e3(%rip), %rsi      # 0x6019
callq 0x4890
cmpl $0x0, %eax
je 0x1962
movq -0x20(%rbp), %rax
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x46c0(%rip), %rsi      # 0x6018
callq 0x4890
cmpl $0x0, %eax
jne 0x19a1
movq -0x20(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x46a3(%rip), %rsi      # 0x6018
callq 0x4890
cmpl $0x0, %eax
je 0x19ad
movq -0x20(%rbp), %rax
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x4682(%rip), %rsi      # 0x6019
callq 0x4890
cmpl $0x0, %eax
je 0x19ad
movl $0x1, -0x4(%rbp)
jmp 0x1b48
movq -0x20(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x4665(%rip), %rsi      # 0x6025
callq 0x4890
cmpl $0x0, %eax
je 0x19ec
movq -0x20(%rbp), %rax
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x4643(%rip), %rsi      # 0x6025
callq 0x4890
cmpl $0x0, %eax
jne 0x1a6a
movq -0x20(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x460b(%rip), %rsi      # 0x600a
callq 0x4890
cmpl $0x0, %eax
je 0x1a2b
movq -0x20(%rbp), %rax
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x45e9(%rip), %rsi      # 0x600a
callq 0x4890
cmpl $0x0, %eax
jne 0x1a6a
movq -0x20(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x45cf(%rip), %rsi      # 0x600d
callq 0x4890
cmpl $0x0, %eax
je 0x1a76
movq -0x20(%rbp), %rax
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x45ad(%rip), %rsi      # 0x600d
callq 0x4890
cmpl $0x0, %eax
je 0x1a76
movl $0x1, -0x4(%rbp)
jmp 0x1b48
jmp 0x1a78
jmp 0x1a7a
movq -0x20(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x459b(%rip), %rsi      # 0x6028
callq 0x4890
cmpl $0x0, %eax
je 0x1ab9
movq -0x10(%rbp), %rax
movq 0x28(%rax), %rcx
addq $-0x1, %rcx
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x20(%rax)
jmp 0x1af8
movq -0x20(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x455f(%rip), %rsi      # 0x602b
callq 0x4890
cmpl $0x0, %eax
je 0x1af6
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rcx
addq $-0x1, %rcx
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rax
movq 0x28(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x28(%rax)
jmp 0x1af8
movq -0x18(%rbp), %rax
movq (%rax), %rdi
movq -0x20(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movl $0x1, %edx
callq 0x49f0
movq %rax, %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0x18(%rbp), %rax
movq (%rax), %rdi
leaq 0x4507(%rip), %rsi      # 0x6034
movl $0x1, %edx
callq 0x49f0
movq %rax, %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)