// File: /workspace/github_c_makefile_star2_O3/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 %r12d, %r12d
movq %r15, %rdi
xorl %esi, %esi
callq 0x1c49
movq %r12, 0x8(%r15)
movq %r12, 0x18(%r15)
movb $0x0, 0x98(%r15)
leaq 0x28(%rsp), %r15
movl $0x78, %esi
movq %r15, %rdi
callq 0x50e0
movslq %r14d, %r12
movl $0x8, %esi
movq %r12, %rdi
callq 0x2530
movq %rax, -0x20(%r15)
movl $0x8, %esi
movq %r12, %rdi
callq 0x2530
movq %rax, -0x10(%r15)
movq -0x20(%r15), %rdi
testq %rdi, %rdi
setne %cl
testq %rax, %rax
setne %al
andb %cl, %al
cmpb $0x1, %al
jne 0x14d6
cmpl $0x2, %r14d
jl 0x1444
decl %r14d
leaq 0x4d1a(%rip), %r15      # 0x6004
leaq 0x4fbe(%rip), %r12      # 0x62af
xorl %r13d, %r13d
movq 0x8(%rbx,%r13,8), %rdi
movq %r15, %rsi
callq 0x4d90
testl %eax, %eax
je 0x14ef
movq 0x8(%rbx,%r13,8), %rdx
cmpb $0x2d, (%rdx)
jne 0x13b0
cmpb $0x0, 0x1(%rdx)
je 0x13b0
movq %rdx, %rdi
movq %r12, %rsi
callq 0x4d90
movq 0x8(%rbx,%r13,8), %rdx
testl %eax, %eax
je 0x13b0
cmpb $0x2d, (%rdx)
jne 0x1433
movb 0x1(%rdx), %al
testb %al, %al
je 0x1433
incq %rdx
movzbl %al, %ecx
cmpl $0x6b, %ecx
jle 0x1371
cmpl $0x74, %ecx
je 0x13a3
cmpl $0x72, %ecx
je 0x1399
cmpl $0x6c, %ecx
jne 0x14a8
movb $0x1, 0x94(%rsp)
jmp 0x13ab
cmpl $0x60, %ecx
jg 0x1386
cmpl $0x52, %ecx
jne 0x142f
movb $0x1, 0x7a(%rsp)
jmp 0x13ab
cmpl $0x61, %ecx
jne 0x14a8
movb $0x1, 0x89(%rsp)
jmp 0x13ab
movb $0x1, 0x9a(%rsp)
jmp 0x13ab
movb $0x1, 0x9c(%rsp)
movb 0x1(%rdx), %al
jmp 0x1349
movq %rdx, %rdi
callq 0x15c8
movq 0x8(%rbx,%r13,8), %rdi
testl %eax, %eax
je 0x13da
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x10(%rsp)
movq %rdi, (%rax,%rcx,8)
jmp 0x1433
callq 0x15e6
movq 0x8(%rbx,%r13,8), %rbp
testl %eax, %eax
jle 0x1401
movq 0x18(%rsp), %rax
movq 0x20(%rsp), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x20(%rsp)
movq %rbp, (%rax,%rcx,8)
jmp 0x1433
callq 0x1040
movl (%rax), %edi
callq 0x1140
movl $0x2, %edi
leaq 0x4bf2(%rip), %rsi      # 0x600b
movq %rbp, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x2598
addb %al, 0xa0(%rsp)
jmp 0x1433
testl %ecx, %ecx
jne 0x148e
incq %r13
cmpq %r14, %r13
jne 0x12f4
movq 0x8(%rsp), %rdi
cmpq $0x0, (%rdi)
jne 0x1469
movq 0x18(%rsp), %rax
cmpq $0x0, (%rax)
jne 0x1469
cmpb $0x0, 0xa0(%rsp)
jne 0x1469
leaq 0x4c80(%rip), %rax      # 0x60e6
movq %rax, (%rdi)
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x1c65
movq (%rbx), %rdi
callq 0x1030
movq 0x10(%rbx), %rdi
callq 0x1030
xorl %edi, %edi
callq 0x1120
cmpl $0x2d, %ecx
jne 0x14a8
leaq 0x4d6a(%rip), %rsi      # 0x6204
movl $0x2, %edi
xorl %eax, %eax
callq 0x2598
jmp 0x14be
movsbl %al, %edx
leaq 0x4d33(%rip), %rsi      # 0x61e5
movl $0x2, %edi
xorl %eax, %eax
callq 0x2598
leaq 0x4d61(%rip), %rsi      # 0x6226
movl $0x2, %edi
xorl %eax, %eax
callq 0x2598
movq 0x8(%rsp), %rdi
callq 0x1030
movq 0x18(%rsp), %rdi
callq 0x1030
movl $0x1, %edi
callq 0x1120
leaq 0x4b34(%rip), %rsi      # 0x602a
movl $0x2, %edi
xorl %eax, %eax
callq 0x2598
leaq 0x4b4c(%rip), %rsi      # 0x6055
movl $0x2, %edi
xorl %eax, %eax
callq 0x2598
leaq 0x4b96(%rip), %rsi      # 0x60b2
movl $0x2, %edi
xorl %eax, %eax
callq 0x2598
leaq 0x4bb9(%rip), %rsi      # 0x60e8
movl $0x2, %edi
xorl %eax, %eax
callq 0x2598
leaq 0x4bb9(%rip), %rsi      # 0x60fb
movl $0x2, %edi
xorl %eax, %eax
callq 0x2598
leaq 0x4bce(%rip), %rsi      # 0x6123
movl $0x2, %edi
xorl %eax, %eax
callq 0x2598
leaq 0x4bef(%rip), %rsi      # 0x6157
movl $0x2, %edi
xorl %eax, %eax
callq 0x2598
leaq 0x4c06(%rip), %rsi      # 0x6181
movl $0x2, %edi
xorl %eax, %eax
callq 0x2598
leaq 0x4c21(%rip), %rsi      # 0x61af
movl $0x2, %edi
xorl %eax, %eax
callq 0x2598
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
callq 0x15a6