// File: /workspace/github_c_makefile_star2_O1/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, %r14d
leaq 0x8(%rsp), %r15
xorl %r13d, %r13d
movq %r15, %rdi
xorl %esi, %esi
callq 0x1c3d
movq %r13, 0x8(%r15)
movq %r13, 0x18(%r15)
movb $0x0, 0x98(%r15)
leaq 0x28(%rsp), %r15
movl $0x78, %esi
movq %r15, %rdi
callq 0x4f20
movslq %r14d, %r12
movl $0x8, %esi
movq %r12, %rdi
callq 0x2554
movq %rax, -0x20(%r15)
movl $0x8, %esi
movq %r12, %rdi
callq 0x2554
movq %rax, -0x10(%r15)
cmpq %r13, -0x20(%r15)
je 0x14c5
testq %rax, %rax
je 0x14c5
cmpl $0x2, %r14d
jl 0x1433
decl %r14d
leaq 0x3d21(%rip), %r15      # 0x5004
leaq 0x3fc5(%rip), %r12      # 0x52af
xorl %r13d, %r13d
movq 0x8(%rbx,%r13,8), %rdi
movq %r15, %rsi
callq 0x4bc0
testl %eax, %eax
je 0x14e3
movq 0x8(%rbx,%r13,8), %rdi
cmpb $0x2d, (%rdi)
jne 0x13a2
cmpb $0x0, 0x1(%rdi)
je 0x13a2
movq %r12, %rsi
callq 0x4bc0
testl %eax, %eax
je 0x13a2
movq 0x8(%rbx,%r13,8), %rdx
cmpb $0x2d, (%rdx)
jne 0x1427
cmpb $0x0, 0x1(%rdx)
je 0x1427
incq %rdx
movzbl (%rdx), %eax
cmpl $0x6b, %eax
jle 0x1366
cmpl $0x74, %eax
je 0x1398
cmpl $0x72, %eax
je 0x138e
cmpl $0x6c, %eax
jne 0x149c
movb $0x1, 0x94(%rsp)
jmp 0x133e
cmpl $0x60, %eax
jg 0x137b
cmpl $0x52, %eax
jne 0x1423
movb $0x1, 0x7a(%rsp)
jmp 0x133e
cmpl $0x61, %eax
jne 0x149c
movb $0x1, 0x89(%rsp)
jmp 0x133e
movb $0x1, 0x9a(%rsp)
jmp 0x133e
movb $0x1, 0x9c(%rsp)
jmp 0x133e
movq 0x8(%rbx,%r13,8), %rdi
callq 0x15bc
movq 0x8(%rbx,%r13,8), %rdi
testl %eax, %eax
je 0x13ce
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x10(%rsp)
movq %rdi, (%rax,%rcx,8)
jmp 0x1427
callq 0x15da
movq 0x8(%rbx,%r13,8), %rbp
testl %eax, %eax
jle 0x13f5
movq 0x18(%rsp), %rax
movq 0x20(%rsp), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x20(%rsp)
movq %rbp, (%rax,%rcx,8)
jmp 0x1427
callq 0x1040
movl (%rax), %edi
callq 0x1140
movl $0x2, %edi
leaq 0x3bfe(%rip), %rsi      # 0x500b
movq %rbp, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x25c0
addb %al, 0xa0(%rsp)
jmp 0x1427
testl %eax, %eax
jne 0x1482
incq %r13
cmpq %r14, %r13
jne 0x12ed
movq 0x8(%rsp), %rax
cmpq $0x0, (%rax)
jne 0x145d
movq 0x18(%rsp), %rcx
cmpq $0x0, (%rcx)
jne 0x145d
cmpb $0x0, 0xa0(%rsp)
jne 0x145d
leaq 0x3c8c(%rip), %rcx      # 0x50e6
movq %rcx, (%rax)
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x1c59
movq (%rbx), %rdi
callq 0x1030
movq 0x10(%rbx), %rdi
callq 0x1030
xorl %edi, %edi
callq 0x1120
cmpl $0x2d, %eax
jne 0x149c
leaq 0x3d76(%rip), %rsi      # 0x5204
movl $0x2, %edi
xorl %eax, %eax
callq 0x25c0
jmp 0x14b2
movsbl %al, %edx
leaq 0x3d3f(%rip), %rsi      # 0x51e5
movl $0x2, %edi
xorl %eax, %eax
callq 0x25c0
leaq 0x3d6d(%rip), %rsi      # 0x5226
movl $0x2, %edi
xorl %eax, %eax
callq 0x25c0
movq 0x8(%rsp), %rdi
callq 0x1030
movq 0x18(%rsp), %rdi
callq 0x1030
movl $0x1, %edi
callq 0x1120
leaq 0x3b40(%rip), %rsi      # 0x502a
movl $0x2, %edi
xorl %eax, %eax
callq 0x25c0
leaq 0x3b58(%rip), %rsi      # 0x5055
movl $0x2, %edi
xorl %eax, %eax
callq 0x25c0
leaq 0x3ba2(%rip), %rsi      # 0x50b2
movl $0x2, %edi
xorl %eax, %eax
callq 0x25c0
leaq 0x3bc5(%rip), %rsi      # 0x50e8
movl $0x2, %edi
xorl %eax, %eax
callq 0x25c0
leaq 0x3bc5(%rip), %rsi      # 0x50fb
movl $0x2, %edi
xorl %eax, %eax
callq 0x25c0
leaq 0x3bda(%rip), %rsi      # 0x5123
movl $0x2, %edi
xorl %eax, %eax
callq 0x25c0
leaq 0x3bfb(%rip), %rsi      # 0x5157
movl $0x2, %edi
xorl %eax, %eax
callq 0x25c0
leaq 0x3c12(%rip), %rsi      # 0x5181
movl $0x2, %edi
xorl %eax, %eax
callq 0x25c0
leaq 0x3c2d(%rip), %rsi      # 0x51af
movl $0x2, %edi
xorl %eax, %eax
callq 0x25c0
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
callq 0x159a