// File: /workspace/github_c_makefile_star2_O3/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 0x13a3
movq %rsi, %r14
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
xorl %ebx, %ebx
movl %ebx, 0x4(%rsp)
movl %ebx, (%rsp)
movq 0x8(%rsi), %rdi
testq %rdi, %rdi
je 0x1238
xorl %r13d, %r13d
leaq 0x4ead(%rip), %r15      # 0x6087
xorl %ebx, %ebx
movl $0x20, %esi
callq 0x1e10
movq %rax, %r12
movq (%rax), %rsi
testq %rsi, %rsi
je 0x1223
leaq 0x8(%r12), %rbp
movq %rbx, %rdi
movl $0x1, %edx
callq 0x1d31
movq %rax, %rdi
movq %r15, %rsi
movl $0x1, %edx
callq 0x1d31
movq %rax, %rbx
movq (%rbp), %rsi
addq $0x8, %rbp
testq %rsi, %rsi
jne 0x11f6
movq %r12, %rdi
callq 0x1d9c
movq 0x10(%r14,%r13,8), %rdi
incq %r13
testq %rdi, %rdi
jne 0x11dc
movq %rbx, 0x8(%rsp)
xorl %edi, %edi
cmpb $0x2d, (%rbx)
jne 0x1297
leaq 0x1(%rbx), %rcx
leaq 0x4(%rsp), %rdx
movq %rsp, %rsi
movslq %edi, %rax
movzbl 0x1(%rbx,%rax), %edi
cmpl $0x76, %edi
je 0x1262
cmpl $0x63, %edi
jne 0x1299
leal 0x2(%rax), %edi
addq %rcx, %rax
movzbl (%rax), %r8d
movq %rdx, %r9
cmpl $0x76, %r8d
je 0x127e
cmpl $0x63, %r8d
jne 0x128c
movq %rsi, %r9
movl $0x1, (%r9)
incl %edi
incq %rax
jmp 0x1268
movslq %edi, %rax
cmpb $0x2d, (%rbx,%rax)
je 0x1250
jmp 0x1299
xorl %eax, %eax
addq %rax, %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x1e10
movq %rax, %rbx
testq %rax, %rax
je 0x13d7
cmpq $0x0, (%rbx)
je 0x13d7
leaq 0x8(%rsp), %rdi
callq 0x1d7c
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x1320
leaq 0x4d2c(%rip), %r14      # 0x6004
movq %rbx, %r15
movq %r14, %rsi
callq 0x1c58
testl %eax, %eax
jne 0x13b4
movq (%r15), %rdi
callq 0x1dd4
testl %eax, %eax
jne 0x1313
movq (%r15), %rdi
cmpb $0x2d, (%rdi)
jne 0x13b4
incq %rdi
callq 0x1dd4
testl %eax, %eax
je 0x13b4
movq 0x8(%r15), %rdi
addq $0x8, %r15
testq %rdi, %rdi
jne 0x12db
movq %rbx, %rdi
callq 0x1c3e
movslq %eax, %rdx
leaq 0x10(%rsp), %r14
movq %rdx, 0x18(%r14)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1b99
movq %rbx, %rdi
callq 0x1d9c
movl 0x4(%rsp), %esi
movl (%rsp), %edx
movq %r14, %rdi
callq 0x13f0
movq (%r14), %rax
movl 0x20(%r14), %edx
cmpl $0x2, %edx
movl $0x1, %ecx
cmovgel %edx, %ecx
decl %ecx
xorl %edx, %edx
leaq 0x4c9c(%rip), %rdi      # 0x600f
leaq 0x4c92(%rip), %rsi      # 0x600c
cmpq %rdx, %rcx
je 0x1394
movq (%rax,%rdx,8), %r8
leaq 0x1(%rdx), %r9
cmpq 0x8(%rax,%rdx,8), %r8
movq %r9, %rdx
jge 0x137a
movq %rsi, %rdi
callq 0x2004
leaq 0x10(%rsp), %rdi
callq 0x198c
xorl %eax, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
callq 0x1d9c
leaq 0x4c43(%rip), %rdi      # 0x6006
movl $0x2, %esi
callq 0x203c
movl $0x1, %edi
callq 0x1090
leaq 0x8(%rsp), %rdi
callq 0x1d7c
movq %rbx, %rdi
callq 0x1d9c
xorl %edi, %edi
callq 0x1090