// File: /workspace/github_c_makefile_star2_O1/ffoissey[P]push_swap_42/srcs_checker/ft_checker.c
// Function: main
int			main(int ac, char **av)
{
	t_stack	s;
	int		flag_v;
	int		flag_c;
	char	*s_arg;
	char	**arg;

	if (ac == 1)
		return (0);
	s.a = NULL;
	s.b = NULL;
	flag_v = 0;
	flag_c = 0;
	s_arg = ft_get_av_checker(av + 1);
	arg = ft_get_option(s_arg, &flag_v, &flag_c);
	s.size = ft_size_of_arg(arg);
	ft_set_a_and_b(&s, arg, s.size);
	ft_free_tab_str(arg);
	ft_exec(&s, flag_v, flag_c);
	ft_is_ok(s.a, s.size_a);
	ft_free_stack(&s);
	return (0);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
cmpl $0x1, %edi
je 0x139f
movq %rsi, %r15
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq 0x8(%rsi), %rdi
testq %rdi, %rdi
je 0x122f
xorl %ebp, %ebp
leaq 0x4eb7(%rip), %r12      # 0x6087
xorl %r14d, %r14d
movl $0x20, %esi
callq 0x1df0
movq %rax, %r13
movq (%rax), %rsi
testq %rsi, %rsi
je 0x1218
leaq 0x8(%r13), %rbx
movq %r14, %rdi
movl $0x1, %edx
callq 0x1d11
movq %rax, %rdi
movq %r12, %rsi
movl $0x1, %edx
callq 0x1d11
movq %rax, %r14
movq (%rbx), %rsi
addq $0x8, %rbx
testq %rsi, %rsi
jne 0x11ec
movq %r13, %rdi
callq 0x1d7c
movq 0x10(%r15,%rbp,8), %rdi
incq %rbp
testq %rdi, %rdi
jne 0x11d3
jmp 0x1232
xorl %r14d, %r14d
movq %r14, 0x8(%rsp)
cmpb $0x2d, (%r14)
jne 0x128f
xorl %ebx, %ebx
xorl %ebp, %ebp
xorl %ecx, %ecx
movslq %ecx, %rax
movzbl 0x1(%r14,%rax), %edx
cmpl $0x76, %edx
je 0x125d
cmpl $0x63, %edx
je 0x125d
jmp 0x128a
movl $0x1, %ebx
incq %rax
movzbl (%r14,%rax), %ecx
cmpl $0x63, %ecx
jne 0x1274
incq %rax
movl $0x1, %ebp
jmp 0x1260
cmpl $0x76, %ecx
je 0x1258
leal 0x1(%rax), %ecx
movslq %ecx, %rdx
cmpb $0x2d, (%r14,%rdx)
je 0x1243
incl %eax
movl %eax, %ecx
movslq %ecx, %rax
jmp 0x1295
xorl %ebp, %ebp
xorl %eax, %eax
xorl %ebx, %ebx
addq %rax, %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x1df0
movq %rax, %r14
testq %rax, %rax
je 0x13d3
cmpq $0x0, (%r14)
je 0x13d3
leaq 0x8(%rsp), %rdi
callq 0x1d5c
movq (%r14), %rdi
testq %rdi, %rdi
je 0x131f
leaq 0x4d30(%rip), %r15      # 0x6004
movq %r14, %r12
movq %r15, %rsi
callq 0x1c38
testl %eax, %eax
jne 0x13b0
movq (%r12), %rdi
callq 0x1db4
testl %eax, %eax
jne 0x1311
movq (%r12), %rdi
cmpb $0x2d, (%rdi)
jne 0x13b0
incq %rdi
callq 0x1db4
testl %eax, %eax
je 0x13b0
movq 0x8(%r12), %rdi
addq $0x8, %r12
testq %rdi, %rdi
jne 0x12d7
movq %r14, %rdi
callq 0x1c23
movslq %eax, %rdx
leaq 0x10(%rsp), %r15
movq %rdx, 0x18(%r15)
movq %r15, %rdi
movq %r14, %rsi
callq 0x1b84
movq %r14, %rdi
callq 0x1d7c
movq %r15, %rdi
movl %ebx, %esi
movl %ebp, %edx
callq 0x13ec
movq (%r15), %rax
movl 0x20(%r15), %edx
cmpl $0x2, %edx
movl $0x1, %ecx
cmovgel %edx, %ecx
decl %ecx
xorl %edx, %edx
leaq 0x4ca0(%rip), %rdi      # 0x600f
leaq 0x4c96(%rip), %rsi      # 0x600c
cmpq %rdx, %rcx
je 0x1390
movq (%rax,%rdx,8), %r8
leaq 0x1(%rdx), %r9
cmpq 0x8(%rax,%rdx,8), %r8
movq %r9, %rdx
jge 0x1376
movq %rsi, %rdi
callq 0x1fac
leaq 0x10(%rsp), %rdi
callq 0x1998
xorl %eax, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
callq 0x1d7c
leaq 0x4c47(%rip), %rdi      # 0x6006
movl $0x2, %esi
callq 0x1fe4
movl $0x1, %edi
callq 0x1090
leaq 0x8(%rsp), %rdi
callq 0x1d5c
movq %r14, %rdi
callq 0x1d7c
xorl %edi, %edi
callq 0x1090