	.file	"852206.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Real UID: %d\n"
.LC1:
	.string	"Effective UID: %d\n"
.LC2:
	.string	"/"
.LC3:
	.string	"Wrong Command"
	.align 8
.LC4:
	.string	"Usage: ./getacl <path-to-file/path-to-directory/filename/NULL>"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 320
	mov	DWORD PTR -308[rbp], edi
	mov	QWORD PTR -320[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 6874019636378694447
	movabs	rdx, 8027718461446777971
	mov	QWORD PTR -256[rbp], rax
	mov	QWORD PTR -248[rbp], rdx
	movabs	rax, 8243112759041942893
	mov	QWORD PTR -240[rbp], rax
	mov	DWORD PTR -232[rbp], 7630703
	mov	DWORD PTR -304[rbp], 0
	call	getuid@PLT
	mov	DWORD PTR -292[rbp], eax
	call	geteuid@PLT
	mov	DWORD PTR -288[rbp], eax
	mov	eax, DWORD PTR -292[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -288[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -292[rbp]
	cmp	eax, DWORD PTR -288[rbp]
	jne	.L2
	mov	DWORD PTR -304[rbp], 1
.L2:
	cmp	DWORD PTR -308[rbp], 2
	jne	.L3
	mov	rax, QWORD PTR -320[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	cmp	DWORD PTR -304[rbp], 1
	jne	.L4
	movzx	eax, BYTE PTR -224[rbp]
	cmp	al, 47
	jne	.L5
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -300[rbp], 0
	lea	rdx, -224[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -112[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -272[rbp], rax
	add	DWORD PTR -300[rbp], 1
	jmp	.L6
.L7:
	lea	rsi, .LC2[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -272[rbp], rax
	add	DWORD PTR -300[rbp], 1
.L6:
	cmp	QWORD PTR -272[rbp], 0
	jne	.L7
	cmp	DWORD PTR -300[rbp], 4
	jle	.L8
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -276[rbp], eax
	mov	eax, DWORD PTR -276[rbp]
	sub	eax, 1
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 47
	jne	.L9
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -224[rbp]
	add	rax, rdx
	movabs	rcx, 7598543892949132656
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 1630432879
	mov	WORD PTR 12[rax], 27747
	mov	BYTE PTR 14[rax], 0
.L9:
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	showACL
	jmp	.L26
.L8:
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -280[rbp], eax
	mov	eax, DWORD PTR -280[rbp]
	sub	eax, 1
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 47
	jne	.L11
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -224[rbp]
	add	rax, rdx
	movabs	rcx, 7598543892949132656
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 1630432879
	mov	WORD PTR 12[rax], 27747
	mov	BYTE PTR 14[rax], 0
	jmp	.L12
.L11:
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -224[rbp]
	add	rax, rdx
	movabs	rsi, 8319108855475040303
	movabs	rdi, 30508566526717801
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
.L12:
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	showPermission
	jmp	.L26
.L5:
	lea	rdx, -256[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -112[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 47
	lea	rdx, -224[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	showACL
	jmp	.L26
.L4:
	movzx	eax, BYTE PTR -224[rbp]
	cmp	al, 47
	jne	.L14
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -296[rbp], 0
	lea	rdx, -224[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -112[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -264[rbp], rax
	add	DWORD PTR -296[rbp], 1
	jmp	.L15
.L16:
	lea	rsi, .LC2[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -264[rbp], rax
	add	DWORD PTR -296[rbp], 1
.L15:
	cmp	QWORD PTR -264[rbp], 0
	jne	.L16
	cmp	DWORD PTR -296[rbp], 4
	jle	.L17
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	checkACLPermission
	mov	eax, DWORD PTR -292[rbp]
	mov	edi, eax
	call	undoSetUid
	call	printUid
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	showACL
	jmp	.L26
.L17:
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -284[rbp], eax
	mov	eax, DWORD PTR -284[rbp]
	sub	eax, 1
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 47
	jne	.L19
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -224[rbp]
	add	rax, rdx
	movabs	rcx, 7598543892949132656
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 1630432879
	mov	WORD PTR 12[rax], 27747
	mov	BYTE PTR 14[rax], 0
	jmp	.L20
.L19:
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -224[rbp]
	add	rax, rdx
	movabs	rsi, 8319108855475040303
	movabs	rdi, 30508566526717801
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
.L20:
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	checkPermission
	mov	eax, DWORD PTR -292[rbp]
	mov	edi, eax
	call	undoSetUid
	call	printUid
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	showPermission
	jmp	.L26
.L14:
	lea	rdx, -256[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -112[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 47
	lea	rdx, -224[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	checkACLPermission
	mov	eax, DWORD PTR -292[rbp]
	mov	edi, eax
	call	undoSetUid
	call	printUid
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	showACL
	jmp	.L26
.L3:
	cmp	DWORD PTR -308[rbp], 1
	jne	.L22
	lea	rdx, -256[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -112[rbp]
	add	rax, rdx
	movabs	rsi, 8319108855475040303
	movabs	rdi, 30508566526717801
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	cmp	DWORD PTR -304[rbp], 1
	jne	.L23
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	showPermission
	jmp	.L26
.L23:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	checkPermission
	mov	eax, DWORD PTR -292[rbp]
	mov	edi, eax
	call	undoSetUid
	call	printUid
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	showPermission
	jmp	.L26
.L22:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L26:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC5:
	.string	"Count't set the Effective UID"
	.text
	.globl	undoSetUid
	.type	undoSetUid, @function
undoSetUid:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	seteuid@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L29
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	exit@PLT
.L29:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	undoSetUid, .-undoSetUid
	.section	.rodata
.LC6:
	.string	"Effective UID Changed: %d\n"
	.text
	.globl	printUid
	.type	printUid, @function
printUid:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	call	getuid@PLT
	mov	DWORD PTR -8[rbp], eax
	call	geteuid@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	printUid, .-printUid
	.section	.rodata
.LC7:
	.string	"r"
.LC8:
	.string	"Cannot Open"
.LC9:
	.string	"USER"
.LC10:
	.string	"Error getting logged in User"
.LC11:
	.string	"::\n"
.LC12:
	.string	"rwx"
	.align 8
.LC13:
	.string	"Access Denied, Permission Not Granted"
	.text
	.globl	checkACLPermission
	.type	checkACLPermission, @function
checkACLPermission:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 576
	mov	QWORD PTR -568[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -568[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -544[rbp], rax
	cmp	QWORD PTR -544[rbp], 0
	jne	.L32
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L32:
	lea	rdi, .LC9[rip]
	call	getenv@PLT
	mov	QWORD PTR -536[rbp], rax
	cmp	QWORD PTR -536[rbp], 0
	jne	.L33
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L33:
	mov	DWORD PTR -548[rbp], 0
	jmp	.L34
.L38:
	lea	rax, -528[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L41
	mov	rdx, QWORD PTR -536[rbp]
	lea	rax, -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L34
	lea	rax, -528[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L42
	add	DWORD PTR -548[rbp], 1
	jmp	.L42
.L34:
	mov	rdx, QWORD PTR -544[rbp]
	lea	rax, -528[rbp]
	mov	esi, 512
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L38
	jmp	.L36
.L41:
	nop
	jmp	.L36
.L42:
	nop
.L36:
	cmp	DWORD PTR -548[rbp], 0
	jne	.L39
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L39:
	mov	rax, QWORD PTR -544[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	checkACLPermission, .-checkACLPermission
	.section	.rodata
.LC14:
	.string	"Error getting logged-in user"
	.text
	.globl	checkPermission
	.type	checkPermission, @function
checkPermission:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 576
	mov	QWORD PTR -568[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -568[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -544[rbp], rax
	cmp	QWORD PTR -544[rbp], 0
	jne	.L44
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L44:
	lea	rdi, .LC9[rip]
	call	getenv@PLT
	mov	QWORD PTR -536[rbp], rax
	cmp	QWORD PTR -536[rbp], 0
	jne	.L45
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L45:
	mov	DWORD PTR -548[rbp], 0
	jmp	.L46
.L48:
	mov	rdx, QWORD PTR -536[rbp]
	lea	rax, -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L46
	add	DWORD PTR -548[rbp], 1
	jmp	.L47
.L46:
	mov	rdx, QWORD PTR -544[rbp]
	lea	rax, -528[rbp]
	mov	esi, 512
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L48
.L47:
	cmp	DWORD PTR -548[rbp], 0
	jne	.L49
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L49:
	mov	rax, QWORD PTR -544[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	checkPermission, .-checkPermission
	.section	.rodata
	.align 8
.LC15:
	.string	"Failed to open Permission file"
	.text
	.globl	showPermission
	.type	showPermission, @function
showPermission:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 3152
	mov	QWORD PTR -3144[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -3120[rbp], 0
	mov	QWORD PTR -3112[rbp], 0
	mov	QWORD PTR -3104[rbp], 0
	mov	QWORD PTR -3096[rbp], 0
	mov	QWORD PTR -3088[rbp], 0
	mov	QWORD PTR -3080[rbp], 0
	mov	QWORD PTR -3072[rbp], 0
	mov	QWORD PTR -3064[rbp], 0
	mov	QWORD PTR -3056[rbp], 0
	mov	QWORD PTR -3048[rbp], 0
	mov	QWORD PTR -3040[rbp], 0
	mov	QWORD PTR -3032[rbp], 0
	mov	DWORD PTR -3024[rbp], 0
	mov	rax, QWORD PTR -3144[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -3128[rbp], rax
	cmp	QWORD PTR -3128[rbp], 0
	jne	.L52
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L52:
	mov	QWORD PTR -3008[rbp], 0
	mov	QWORD PTR -3000[rbp], 0
	lea	rdx, -2992[rbp]
	mov	eax, 0
	mov	ecx, 373
	mov	rdi, rdx
	rep stosq
	jmp	.L53
.L54:
	lea	rdx, -3120[rbp]
	lea	rax, -3008[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
.L53:
	mov	rdx, QWORD PTR -3128[rbp]
	lea	rax, -3120[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L54
	lea	rax, -3008[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	rax, QWORD PTR -3128[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L55
	call	__stack_chk_fail@PLT
.L55:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	showPermission, .-showPermission
	.section	.rodata
.LC16:
	.string	"Failed to open ACL File"
	.text
	.globl	showACL
	.type	showACL, @function
showACL:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 3152
	mov	QWORD PTR -3144[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -3120[rbp], 0
	mov	QWORD PTR -3112[rbp], 0
	mov	QWORD PTR -3104[rbp], 0
	mov	QWORD PTR -3096[rbp], 0
	mov	QWORD PTR -3088[rbp], 0
	mov	QWORD PTR -3080[rbp], 0
	mov	QWORD PTR -3072[rbp], 0
	mov	QWORD PTR -3064[rbp], 0
	mov	QWORD PTR -3056[rbp], 0
	mov	QWORD PTR -3048[rbp], 0
	mov	QWORD PTR -3040[rbp], 0
	mov	QWORD PTR -3032[rbp], 0
	mov	DWORD PTR -3024[rbp], 0
	mov	rax, QWORD PTR -3144[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -3128[rbp], rax
	cmp	QWORD PTR -3128[rbp], 0
	jne	.L57
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L57:
	mov	QWORD PTR -3008[rbp], 0
	mov	QWORD PTR -3000[rbp], 0
	lea	rdx, -2992[rbp]
	mov	eax, 0
	mov	ecx, 373
	mov	rdi, rdx
	rep stosq
	jmp	.L58
.L61:
	lea	rax, -3120[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L63
	lea	rdx, -3120[rbp]
	lea	rax, -3008[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
.L58:
	mov	rdx, QWORD PTR -3128[rbp]
	lea	rax, -3120[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L61
	jmp	.L60
.L63:
	nop
.L60:
	lea	rax, -3008[rbp]
	mov	rdi, rax
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L62
	call	__stack_chk_fail@PLT
.L62:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	showACL, .-showACL
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"852206.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Real UID: %d\012\000"
	.align	2
.LC2:
	.ascii	"Effective UID: %d\012\000"
	.align	2
.LC3:
	.ascii	"/\000"
	.align	2
.LC4:
	.ascii	"permission.acl\000"
	.align	2
.LC5:
	.ascii	"/permission.acl\000"
	.align	2
.LC6:
	.ascii	"Wrong Command\000"
	.align	2
.LC7:
	.ascii	"Usage: ./getacl <path-to-file/path-to-directory/fil"
	.ascii	"ename/NULL>\000"
	.align	2
.LC0:
	.ascii	"/simple_slash/home/fakeroot\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #280
	str	r0, [fp, #-280]
	str	r1, [fp, #-284]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L27+4
	sub	ip, fp, #236
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	mov	r3, #0
	str	r3, [fp, #-276]
	bl	getuid
	mov	r3, r0
	str	r3, [fp, #-256]
	bl	geteuid
	mov	r3, r0
	str	r3, [fp, #-252]
	ldr	r1, [fp, #-256]
	ldr	r0, .L27+8
	bl	printf
	ldr	r1, [fp, #-252]
	ldr	r0, .L27+12
	bl	printf
	ldr	r2, [fp, #-256]
	ldr	r3, [fp, #-252]
	cmp	r2, r3
	bne	.L2
	mov	r3, #1
	str	r3, [fp, #-276]
.L2:
	ldr	r3, [fp, #-280]
	cmp	r3, #2
	bne	.L3
	ldr	r3, [fp, #-284]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-276]
	cmp	r3, #1
	bne	.L4
	ldrb	r3, [fp, #-208]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L5
	mov	r3, #0
	str	r3, [fp, #-108]
	sub	r3, fp, #104
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-272]
	sub	r2, fp, #208
	sub	r3, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #108
	ldr	r1, .L27+16
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-272]
	add	r3, r3, #1
	str	r3, [fp, #-272]
	b	.L6
.L7:
	ldr	r1, .L27+16
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-272]
	add	r3, r3, #1
	str	r3, [fp, #-272]
.L6:
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-272]
	cmp	r3, #4
	ble	.L8
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-240]
	ldr	r3, [fp, #-240]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-204]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L9
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #208
	add	r3, r3, r2
	ldr	r2, .L27+20
	mov	r0, r3
	mov	r1, r2
	mov	r3, #15
	mov	r2, r3
	bl	memcpy
.L9:
	sub	r3, fp, #208
	mov	r0, r3
	bl	showACL
	b	.L26
.L8:
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-244]
	ldr	r3, [fp, #-244]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-204]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L11
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #208
	add	r3, r3, r2
	ldr	r2, .L27+20
	mov	r0, r3
	mov	r1, r2
	mov	r3, #15
	mov	r2, r3
	bl	memcpy
	b	.L12
.L11:
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #208
	add	r3, r3, r2
	ldr	r2, .L27+24
	mov	r0, r3
	mov	r1, r2
	mov	r3, #16
	mov	r2, r3
	bl	memcpy
.L12:
	sub	r3, fp, #208
	mov	r0, r3
	bl	showPermission
	b	.L26
.L5:
	sub	r2, fp, #236
	sub	r3, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #108
	add	r3, r3, r2
	ldr	r2, .L27+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	sub	r2, fp, #208
	sub	r3, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #108
	mov	r0, r3
	bl	showACL
	b	.L26
.L4:
	ldrb	r3, [fp, #-208]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L14
	mov	r3, #0
	str	r3, [fp, #-108]
	sub	r3, fp, #104
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-264]
	sub	r2, fp, #208
	sub	r3, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #108
	ldr	r1, .L27+16
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-260]
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-264]
	b	.L15
.L16:
	ldr	r1, .L27+16
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-260]
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-264]
.L15:
	ldr	r3, [fp, #-260]
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-264]
	cmp	r3, #4
	ble	.L17
	sub	r3, fp, #208
	mov	r0, r3
	bl	checkACLPermission
	ldr	r0, [fp, #-256]
	bl	undoSetUid
	bl	printUid
	sub	r3, fp, #208
	mov	r0, r3
	bl	showACL
	b	.L26
.L17:
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-248]
	ldr	r3, [fp, #-248]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-204]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L19
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #208
	add	r3, r3, r2
	ldr	r2, .L27+20
	mov	r0, r3
	mov	r1, r2
	mov	r3, #15
	mov	r2, r3
	bl	memcpy
	b	.L20
.L19:
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #208
	add	r3, r3, r2
	ldr	r2, .L27+24
	mov	r0, r3
	mov	r1, r2
	mov	r3, #16
	mov	r2, r3
	bl	memcpy
.L20:
	sub	r3, fp, #208
	mov	r0, r3
	bl	checkPermission
	ldr	r0, [fp, #-256]
	bl	undoSetUid
	bl	printUid
	sub	r3, fp, #208
	mov	r0, r3
	bl	showPermission
	b	.L26
.L14:
	sub	r2, fp, #236
	sub	r3, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #108
	add	r3, r3, r2
	ldr	r2, .L27+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	sub	r2, fp, #208
	sub	r3, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #108
	mov	r0, r3
	bl	checkACLPermission
	ldr	r0, [fp, #-256]
	bl	undoSetUid
	bl	printUid
	sub	r3, fp, #108
	mov	r0, r3
	bl	showACL
	b	.L26
.L3:
	ldr	r3, [fp, #-280]
	cmp	r3, #1
	bne	.L22
	sub	r2, fp, #236
	sub	r3, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #108
	add	r3, r3, r2
	ldr	r2, .L27+24
	mov	r0, r3
	mov	r1, r2
	mov	r3, #16
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-276]
	cmp	r3, #1
	bne	.L23
	sub	r3, fp, #108
	mov	r0, r3
	bl	showPermission
	b	.L26
.L23:
	sub	r3, fp, #108
	mov	r0, r3
	bl	checkPermission
	ldr	r0, [fp, #-256]
	bl	undoSetUid
	bl	printUid
	sub	r3, fp, #108
	mov	r0, r3
	bl	showPermission
	b	.L26
.L22:
	ldr	r0, .L27+28
	bl	puts
	ldr	r0, .L27+32
	bl	puts
.L26:
	nop
	ldr	r3, .L27
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Count't set the Effective UID\000"
	.text
	.align	2
	.global	undoSetUid
	.syntax unified
	.arm
	.fpu softvfp
	.type	undoSetUid, %function
undoSetUid:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	seteuid
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L31
	ldr	r0, .L32
	bl	puts
	ldr	r0, [fp, #-8]
	bl	exit
.L31:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC9
	.size	undoSetUid, .-undoSetUid
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Effective UID Changed: %d\012\000"
	.text
	.align	2
	.global	printUid
	.syntax unified
	.arm
	.fpu softvfp
	.type	printUid, %function
printUid:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	getuid
	mov	r3, r0
	str	r3, [fp, #-12]
	bl	geteuid
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L35
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC10
	.size	printUid, .-printUid
	.section	.rodata
	.align	2
.LC11:
	.ascii	"r\000"
	.align	2
.LC12:
	.ascii	"Cannot Open\000"
	.align	2
.LC13:
	.ascii	"USER\000"
	.align	2
.LC14:
	.ascii	"Error getting logged in User\000"
	.align	2
.LC15:
	.ascii	"::\012\000"
	.align	2
.LC16:
	.ascii	"rwx\000"
	.align	2
.LC17:
	.ascii	"Access Denied, Permission Not Granted\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	checkACLPermission
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkACLPermission, %function
checkACLPermission:
	@ args = 0, pretend = 0, frame = 536
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #536
	str	r0, [fp, #-536]
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L49+4
	ldr	r0, [fp, #-536]
	bl	fopen
	str	r0, [fp, #-528]
	ldr	r3, [fp, #-528]
	cmp	r3, #0
	bne	.L38
	ldr	r0, .L49+8
	bl	puts
	mov	r0, #1
	bl	exit
.L38:
	ldr	r0, .L49+12
	bl	getenv
	str	r0, [fp, #-524]
	ldr	r3, [fp, #-524]
	cmp	r3, #0
	bne	.L39
	ldr	r0, .L49+16
	bl	puts
	mov	r0, #1
	bl	exit
.L39:
	mov	r3, #0
	str	r3, [fp, #-532]
	b	.L40
.L44:
	sub	r3, fp, #520
	ldr	r1, .L49+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L47
	sub	r3, fp, #520
	ldr	r1, [fp, #-524]
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L40
	sub	r3, fp, #520
	ldr	r1, .L49+24
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L48
	ldr	r3, [fp, #-532]
	add	r3, r3, #1
	str	r3, [fp, #-532]
	b	.L48
.L40:
	sub	r3, fp, #520
	ldr	r2, [fp, #-528]
	mov	r1, #512
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L44
	b	.L42
.L47:
	nop
	b	.L42
.L48:
	nop
.L42:
	ldr	r3, [fp, #-532]
	cmp	r3, #0
	bne	.L45
	ldr	r0, .L49+28
	bl	puts
	mov	r0, #1
	bl	exit
.L45:
	ldr	r0, [fp, #-528]
	bl	fclose
	nop
	ldr	r3, .L49
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC18
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	checkACLPermission, .-checkACLPermission
	.section	.rodata
	.align	2
.LC19:
	.ascii	"Error getting logged-in user\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	checkPermission
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkPermission, %function
checkPermission:
	@ args = 0, pretend = 0, frame = 536
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #536
	str	r0, [fp, #-536]
	ldr	r3, .L59
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L59+4
	ldr	r0, [fp, #-536]
	bl	fopen
	str	r0, [fp, #-528]
	ldr	r3, [fp, #-528]
	cmp	r3, #0
	bne	.L52
	ldr	r0, .L59+8
	bl	puts
	mov	r0, #1
	bl	exit
.L52:
	ldr	r0, .L59+12
	bl	getenv
	str	r0, [fp, #-524]
	ldr	r3, [fp, #-524]
	cmp	r3, #0
	bne	.L53
	ldr	r0, .L59+16
	bl	puts
	mov	r0, #1
	bl	exit
.L53:
	mov	r3, #0
	str	r3, [fp, #-532]
	b	.L54
.L56:
	sub	r3, fp, #520
	ldr	r1, [fp, #-524]
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L54
	ldr	r3, [fp, #-532]
	add	r3, r3, #1
	str	r3, [fp, #-532]
	b	.L55
.L54:
	sub	r3, fp, #520
	ldr	r2, [fp, #-528]
	mov	r1, #512
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L56
.L55:
	ldr	r3, [fp, #-532]
	cmp	r3, #0
	bne	.L57
	ldr	r0, .L59+20
	bl	puts
	mov	r0, #1
	bl	exit
.L57:
	ldr	r0, [fp, #-528]
	bl	fclose
	nop
	ldr	r3, .L59
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L58
	bl	__stack_chk_fail
.L58:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	.LC20
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC19
	.word	.LC17
	.size	checkPermission, .-checkPermission
	.section	.rodata
	.align	2
.LC21:
	.ascii	"Failed to open Permission file\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	showPermission
	.syntax unified
	.arm
	.fpu softvfp
	.type	showPermission, %function
showPermission:
	@ args = 0, pretend = 0, frame = 3120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #3120
	str	r0, [fp, #-3120]
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-3108]
	sub	r3, fp, #3088
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r1, .L66+4
	ldr	r0, [fp, #-3120]
	bl	fopen
	str	r0, [fp, #-3112]
	ldr	r3, [fp, #-3112]
	cmp	r3, #0
	bne	.L62
	ldr	r0, .L66+8
	bl	puts
	mov	r0, #1
	bl	exit
.L62:
	mov	r3, #0
	str	r3, [fp, #-3008]
	sub	r3, fp, #2992
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, .L66+12
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L63
.L64:
	sub	r2, fp, #3104
	sub	r2, r2, #4
	sub	r3, fp, #2992
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r2
	mov	r0, r3
	bl	strcat
.L63:
	sub	r3, fp, #3104
	sub	r3, r3, #4
	ldr	r2, [fp, #-3112]
	mov	r1, #100
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L64
	sub	r3, fp, #2992
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	puts
	ldr	r0, [fp, #-3112]
	bl	fclose
	nop
	ldr	r3, .L66
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L65
	bl	__stack_chk_fail
.L65:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC22
	.word	.LC11
	.word	.LC21
	.word	2996
	.size	showPermission, .-showPermission
	.section	.rodata
	.align	2
.LC23:
	.ascii	"Failed to open ACL File\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	showACL
	.syntax unified
	.arm
	.fpu softvfp
	.type	showACL, %function
showACL:
	@ args = 0, pretend = 0, frame = 3120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #3120
	str	r0, [fp, #-3120]
	ldr	r3, .L76
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-3108]
	sub	r3, fp, #3088
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r1, .L76+4
	ldr	r0, [fp, #-3120]
	bl	fopen
	str	r0, [fp, #-3112]
	ldr	r3, [fp, #-3112]
	cmp	r3, #0
	bne	.L69
	ldr	r0, .L76+8
	bl	puts
	mov	r0, #1
	bl	exit
.L69:
	mov	r3, #0
	str	r3, [fp, #-3008]
	sub	r3, fp, #2992
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, .L76+12
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L70
.L73:
	sub	r3, fp, #3104
	sub	r3, r3, #4
	ldr	r1, .L76+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L75
	sub	r2, fp, #3104
	sub	r2, r2, #4
	sub	r3, fp, #2992
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r2
	mov	r0, r3
	bl	strcat
.L70:
	sub	r3, fp, #3104
	sub	r3, r3, #4
	ldr	r2, [fp, #-3112]
	mov	r1, #100
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L73
	b	.L72
.L75:
	nop
.L72:
	sub	r3, fp, #2992
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	puts
	nop
	ldr	r3, .L76
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L74
	bl	__stack_chk_fail
.L74:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L77:
	.align	2
.L76:
	.word	.LC24
	.word	.LC11
	.word	.LC23
	.word	2996
	.word	.LC15
	.size	showACL, .-showACL
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
