// File: /workspace/github_c_makefile_star2_O2/AndreIglesias[P]quick_ls/depo/.././src/main.c
// Function: main
int	main(int ac, char **av)
{
	t_ls	ls;

	init_lsdir(&ls, 0);
	ls.size_d = 0;
	ls.size_f = 0;
	ls.filerr = 0;
	ft_bzero(ls.flags, sizeof(ls.flags));
	ls.dirs = ft_calloc(ac, sizeof(char *));
	ls.files = ft_calloc(ac, sizeof(char *));
	if (!ls.dirs || !ls.files || !input_handler(ac - 1, &av[1], &ls))
		exit_ls(&ls, EXIT_FAILURE);
	if (!ls.dirs[0] && !ls.files[0] && !ls.filerr)
		ls.dirs[0] = ".";
	ft_ls(&ls);
	exit_ls(&ls, EXIT_SUCCESS);
	return (EXIT_SUCCESS);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x8(%rsp), %r14
xorl %r13d, %r13d
movq %r14, %rdi
xorl %esi, %esi
callq 0x1bd5
andq $0x0, 0x8(%r14)
andq $0x0, 0x18(%r14)
movb $0x0, 0x98(%r14)
leaq 0x28(%rsp), %r14
pushq $0x78
popq %rsi
movq %r14, %rdi
callq 0x4a9c
movslq %ebp, %r15
pushq $0x8
popq %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x2468
movq %rax, -0x20(%r14)
movq %r15, %rdi
movq %r12, %rsi
callq 0x2468
movq %rax, -0x10(%r14)
cmpq %r13, -0x20(%r14)
je 0x1460
testq %rax, %rax
je 0x1460
pushq $0x1
popq %r12
cmpl $0x2, %ebp
cmovgel %ebp, %r12d
decl %r12d
leaq 0x3d21(%rip), %r14      # 0x5004
leaq 0x3fc5(%rip), %r15      # 0x52af
xorl %ebp, %ebp
cmpq %r12, %rbp
je 0x146d
movq 0x8(%rbx,%rbp,8), %rdi
movq %r14, %rsi
callq 0x47d0
testl %eax, %eax
je 0x14ac
movq 0x8(%rbx,%rbp,8), %rdx
cmpb $0x2d, (%rdx)
jne 0x139a
cmpb $0x0, 0x1(%rdx)
je 0x139a
movq %rdx, %rdi
movq %r15, %rsi
callq 0x47d0
movq 0x8(%rbx,%rbp,8), %rdx
testl %eax, %eax
je 0x139a
cmpb $0x2d, (%rdx)
jne 0x141b
movb 0x1(%rdx), %al
testb %al, %al
je 0x141b
incq %rdx
cmpb $0x52, %al
je 0x137c
movzbl %al, %ecx
cmpl $0x61, %ecx
je 0x138d
cmpl $0x6c, %ecx
je 0x1372
cmpl $0x72, %ecx
je 0x1383
cmpl $0x74, %ecx
jne 0x1417
movb $0x1, 0x9c(%rsp)
jmp 0x1395
movb $0x1, 0x94(%rsp)
jmp 0x1395
movb $0x1, 0x7a(%rsp)
jmp 0x1395
movb $0x1, 0x9a(%rsp)
jmp 0x1395
movb $0x1, 0x89(%rsp)
movb 0x1(%rdx), %al
jmp 0x1346
movq %rdx, %rdi
callq 0x156c
movq 0x8(%rbx,%rbp,8), %rdi
testl %eax, %eax
je 0x13c4
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x10(%rsp)
movq %rdi, (%rax,%rcx,8)
jmp 0x141b
callq 0x1588
movq 0x8(%rbx,%rbp,8), %r13
testl %eax, %eax
jle 0x13eb
movq 0x18(%rsp), %rax
movq 0x20(%rsp), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x20(%rsp)
movq %r13, (%rax,%rcx,8)
jmp 0x141b
callq 0x1040
movl (%rax), %edi
callq 0x1140
pushq $0x2
popq %rdi
leaq 0x3c0a(%rip), %rsi      # 0x500b
movq %r13, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x24c0
addb %al, 0xa0(%rsp)
jmp 0x141b
testl %ecx, %ecx
jne 0x1423
incq %rbp
jmp 0x12ec
cmpl $0x2d, %ecx
jne 0x143b
leaq 0x3dd5(%rip), %rsi      # 0x5204
pushq $0x2
popq %rdi
xorl %eax, %eax
callq 0x24c0
jmp 0x144f
movsbl %al, %edx
leaq 0x3da0(%rip), %rsi      # 0x51e5
pushq $0x2
popq %rdi
xorl %eax, %eax
callq 0x24c0
leaq 0x3dd0(%rip), %rsi      # 0x5226
pushq $0x2
popq %rdi
xorl %eax, %eax
callq 0x24c0
leaq 0x8(%rsp), %rdi
pushq $0x1
popq %rsi
callq 0x154b
movq 0x8(%rsp), %rax
cmpq $0x0, (%rax)
jne 0x1497
movq 0x18(%rsp), %rcx
cmpq $0x0, (%rcx)
jne 0x1497
cmpb $0x0, 0xa0(%rsp)
jne 0x1497
leaq 0x3c52(%rip), %rcx      # 0x50e6
movq %rcx, (%rax)
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x1beb
movq %rbx, %rdi
jmp 0x1544
leaq 0x3b77(%rip), %rsi      # 0x502a
pushq $0x2
popq %rbx
movl %ebx, %edi
xorl %eax, %eax
callq 0x24c0
leaq 0x3b8f(%rip), %rsi      # 0x5055
movl %ebx, %edi
xorl %eax, %eax
callq 0x24c0
leaq 0x3bdc(%rip), %rsi      # 0x50b2
movl %ebx, %edi
xorl %eax, %eax
callq 0x24c0
leaq 0x3c02(%rip), %rsi      # 0x50e8
movl %ebx, %edi
xorl %eax, %eax
callq 0x24c0
leaq 0x3c05(%rip), %rsi      # 0x50fb
movl %ebx, %edi
xorl %eax, %eax
callq 0x24c0
leaq 0x3c1d(%rip), %rsi      # 0x5123
movl %ebx, %edi
xorl %eax, %eax
callq 0x24c0
leaq 0x3c41(%rip), %rsi      # 0x5157
movl %ebx, %edi
xorl %eax, %eax
callq 0x24c0
leaq 0x3c5b(%rip), %rsi      # 0x5181
movl %ebx, %edi
xorl %eax, %eax
callq 0x24c0
leaq 0x3c79(%rip), %rsi      # 0x51af
movl %ebx, %edi
xorl %eax, %eax
callq 0x24c0
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
callq 0x154b