// File: /workspace/github_c_makefile_star2_O3/AndreIglesias[P]quick_ls/depo/.././src//dirent/acl.c
// Function: print_element
void	print_element(char *cont, char *name, t_u_char *flags, t_ls *ls)
{
	struct stat			buf;
	security_context_t	sc;
	char				*rwx;

	ft_memset(&buf, 0, sizeof(struct stat *));
	if (lstat(cont, &buf) == -1)
	{
		ft_printf_fd(2, WLSTAT, cont, strerror(errno));
		return ;
	}
	if (flags['l'])
	{
		rwx = print_permissions(buf.st_mode, (getfilecon(cont, &sc) > 0), cont);
		ft_putstr(rwx);
		ft_repet(' ', ls->link_count - ft_sizei(buf.st_nlink) + 1);
		ft_printf("%lu ", buf.st_nlink);
		print_user(buf.st_uid);
		print_grp(buf.st_gid);
		major_minor(buf.st_rdev, buf.st_size, ls);
		ft_printf("%.12s ", &ctime(&buf.st_mtime)[4]);
	}
	element_color(cont, name, buf, flags);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0xa8(%rsp), %r13
movl $0x8, %edx
movq %r13, %rdi
xorl %esi, %esi
callq 0x502c
movq %rbx, %rdi
movq %r13, %rsi
callq 0x10d0
cmpl $-0x1, %eax
je 0x191d
cmpb $0x0, 0x6c(%r14)
je 0x19bf
movq %r15, %rbp
movl 0xc0(%rsp), %r13d
leaq 0xa0(%rsp), %rsi
movq %rbx, %rdi
callq 0x1130
movl %eax, 0x9c(%rsp)
movl %r13d, %edi
callq 0x1662
movb %al, 0x78dd(%rip)       # 0x90b9
movl %r13d, %eax
shrl $0x3, %eax
andl $0x38, %eax
leaq 0x75a4(%rip), %r15      # 0x8d90
movq (%rax,%r15), %rsi
leaq 0x78c3(%rip), %rdi      # 0x90ba
callq 0x50ec
movl %r13d, %eax
andl $0x38, %eax
movq (%rax,%r15), %rsi
leaq 0x78b0(%rip), %rdi      # 0x90bd
callq 0x50ec
movl %r13d, %eax
andl $0x7, %eax
movq (%r15,%rax,8), %rsi
leaq 0x789d(%rip), %rdi      # 0x90c0
callq 0x50ec
btl $0xb, %r13d
jae 0x1841
movzbl %r13b, %eax
shrl $0x6, %eax
shlb $0x5, %al
orb $0x53, %al
movb %al, 0x787b(%rip)       # 0x90bc
btl $0xa, %r13d
jae 0x1858
movl %r13d, %eax
andb $0x8, %al
shlb $0x2, %al
orb $0x53, %al
movb %al, 0x7867(%rip)       # 0x90bf
btl $0x9, %r13d
movq %rbp, %r15
jae 0x1875
andb $0x1, %r13b
shlb $0x5, %r13b
orb $0x54, %r13b
movb %r13b, 0x784d(%rip)     # 0x90c2
movb $0x20, 0x7847(%rip)     # 0x90c3
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x10a0
testq %rax, %rax
movzbl 0x7831(%rip), %eax      # 0x90c3
movl $0x2b, %ecx
cmovlel %eax, %ecx
cmpl $0x0, 0x9c(%rsp)
leaq 0x7810(%rip), %rdi      # 0x90b9
movl $0x2e, %eax
cmovlel %ecx, %eax
movb %al, 0x780c(%rip)       # 0x90c3
callq 0x2500
movl 0xa4(%r12), %ebp
movq 0xb8(%rsp), %rdi
callq 0x2564
subl %eax, %ebp
incl %ebp
movl $0x20, %edi
movl %ebp, %esi
callq 0x24a0
movq 0xb8(%rsp), %rsi
leaq 0x499b(%rip), %rdi      # 0x628b
xorl %eax, %eax
callq 0x263b
movl 0xc4(%rsp), %ebp
movl %ebp, %edi
callq 0x1080
testq %rax, %rax
je 0x1947
movq (%rax), %rsi
leaq 0x49bf(%rip), %rdi      # 0x62d3
xorl %eax, %eax
callq 0x263b
jmp 0x1957
callq 0x1040
movl (%rax), %edi
callq 0x1140
leaq 0x4960(%rip), %rsi      # 0x6290
movl $0x2, %edi
movq %rbx, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x2598
jmp 0x19e0
leaq 0x4980(%rip), %rdi      # 0x62ce
movl %ebp, %esi
xorl %eax, %eax
callq 0x263b
movl 0xc8(%rsp), %ebp
movl %ebp, %edi
callq 0x10b0
testq %rax, %rax
je 0x197d
movq (%rax), %rsi
leaq 0x495f(%rip), %rdi      # 0x62d3
xorl %eax, %eax
callq 0x263b
jmp 0x198d
leaq 0x4954(%rip), %rdi      # 0x62d8
movl %ebp, %esi
xorl %eax, %eax
callq 0x263b
leaq 0x100(%rsp), %r13
movq -0x30(%r13), %rdi
movq -0x28(%r13), %rsi
movq %r12, %rdx
callq 0x16a8
movq %r13, %rdi
callq 0x1090
leaq 0x4(%rax), %rsi
leaq 0x48ef(%rip), %rdi      # 0x62a7
xorl %eax, %eax
callq 0x263b
leaq 0xa8(%rsp), %rsi
movl $0x12, %ecx
movq %rsp, %rdi
rep  movsq (%rsi), %es:(%rdi)
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x19f4
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop