	.file	"762910.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"User's Permissions: -"
.LC1:
	.string	"x\t"
.LC2:
	.string	"-\t"
.LC3:
	.string	"%s\t"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 216
	.cfi_offset 3, -24
	mov	DWORD PTR -212[rbp], edi
	mov	QWORD PTR -224[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 1
	jmp	.L2
.L16:
	mov	DWORD PTR -204[rbp], 0
	mov	DWORD PTR -200[rbp], 0
	mov	DWORD PTR -196[rbp], 0
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -192[rbp], rax
	lea	rdx, -176[rbp]
	mov	rax, QWORD PTR -192[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	eax, 0
	call	getuid@PLT
	mov	edi, eax
	call	getpwuid@PLT
	mov	QWORD PTR -184[rbp], rax
	mov	ebx, DWORD PTR -148[rbp]
	mov	eax, 0
	call	getuid@PLT
	cmp	ebx, eax
	jne	.L3
	mov	DWORD PTR -204[rbp], 1
	mov	DWORD PTR -200[rbp], 1
.L3:
	mov	eax, DWORD PTR -152[rbp]
	and	eax, 128
	cmp	eax, 200
	jbe	.L4
	mov	eax, DWORD PTR -152[rbp]
	and	eax, 128
	cmp	eax, 199
	ja	.L4
	mov	DWORD PTR -200[rbp], 1
.L4:
	mov	eax, DWORD PTR -152[rbp]
	and	eax, 64
	test	eax, eax
	je	.L5
	mov	DWORD PTR -196[rbp], 1
.L5:
	mov	ebx, DWORD PTR -144[rbp]
	mov	eax, 0
	call	getgid@PLT
	cmp	ebx, eax
	jne	.L6
	mov	DWORD PTR -204[rbp], 1
	mov	DWORD PTR -200[rbp], 1
.L6:
	mov	rax, QWORD PTR -184[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	QWORD PTR -192[rbp], rax
	lea	rdx, -176[rbp]
	mov	rax, QWORD PTR -192[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	eax, DWORD PTR -152[rbp]
	and	eax, 256
	cmp	eax, 98
	ja	.L7
	mov	DWORD PTR -204[rbp], 1
.L7:
	mov	eax, DWORD PTR -152[rbp]
	and	eax, 128
	cmp	eax, 98
	ja	.L8
	mov	DWORD PTR -200[rbp], 1
.L8:
	mov	eax, DWORD PTR -152[rbp]
	and	eax, 64
	cmp	eax, 100
	jbe	.L9
	mov	DWORD PTR -196[rbp], 1
.L9:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -204[rbp], 1
	jne	.L10
	mov	edi, 114
	call	putchar@PLT
	jmp	.L11
.L10:
	mov	edi, 45
	call	putchar@PLT
.L11:
	cmp	DWORD PTR -200[rbp], 1
	jne	.L12
	mov	edi, 119
	call	putchar@PLT
	jmp	.L13
.L12:
	mov	edi, 45
	call	putchar@PLT
.L13:
	cmp	DWORD PTR -196[rbp], 1
	jne	.L14
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L14:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L15:
	mov	rax, QWORD PTR -184[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -208[rbp], 1
.L2:
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L16
	mov	eax, 0
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"762910.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"User's Permissions: -\000"
	.align	2
.LC1:
	.ascii	"x\011\000"
	.align	2
.LC2:
	.ascii	"-\011\000"
	.align	2
.LC3:
	.ascii	"%s\011\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #132
	str	r0, [fp, #-136]
	str	r1, [fp, #-140]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-132]
	b	.L2
.L16:
	mov	r3, #0
	str	r3, [fp, #-128]
	mov	r3, #0
	str	r3, [fp, #-124]
	mov	r3, #0
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-140]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-116]
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, [fp, #-116]
	bl	stat
	bl	getuid
	mov	r3, r0
	mov	r0, r3
	bl	getpwuid
	str	r0, [fp, #-112]
	ldr	r4, [fp, #-84]
	bl	getuid
	mov	r3, r0
	cmp	r4, r3
	bne	.L3
	mov	r3, #1
	str	r3, [fp, #-128]
	mov	r3, #1
	str	r3, [fp, #-124]
.L3:
	ldr	r3, [fp, #-92]
	and	r3, r3, #128
	cmp	r3, #200
	bls	.L4
	ldr	r3, [fp, #-92]
	and	r3, r3, #128
	cmp	r3, #199
	bhi	.L4
	mov	r3, #1
	str	r3, [fp, #-124]
.L4:
	ldr	r3, [fp, #-92]
	and	r3, r3, #64
	cmp	r3, #0
	beq	.L5
	mov	r3, #1
	str	r3, [fp, #-120]
.L5:
	ldr	r4, [fp, #-80]
	bl	getgid
	mov	r3, r0
	cmp	r4, r3
	bne	.L6
	mov	r3, #1
	str	r3, [fp, #-128]
	mov	r3, #1
	str	r3, [fp, #-124]
.L6:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-140]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #20]
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	str	r0, [fp, #-116]
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, [fp, #-116]
	bl	stat
	ldr	r3, [fp, #-92]
	and	r3, r3, #256
	cmp	r3, #98
	bhi	.L7
	mov	r3, #1
	str	r3, [fp, #-128]
.L7:
	ldr	r3, [fp, #-92]
	and	r3, r3, #128
	cmp	r3, #98
	bhi	.L8
	mov	r3, #1
	str	r3, [fp, #-124]
.L8:
	ldr	r3, [fp, #-92]
	and	r3, r3, #64
	cmp	r3, #100
	bls	.L9
	mov	r3, #1
	str	r3, [fp, #-120]
.L9:
	ldr	r0, .L19+4
	bl	printf
	ldr	r3, [fp, #-128]
	cmp	r3, #1
	bne	.L10
	mov	r0, #114
	bl	putchar
	b	.L11
.L10:
	mov	r0, #45
	bl	putchar
.L11:
	ldr	r3, [fp, #-124]
	cmp	r3, #1
	bne	.L12
	mov	r0, #119
	bl	putchar
	b	.L13
.L12:
	mov	r0, #45
	bl	putchar
.L13:
	ldr	r3, [fp, #-120]
	cmp	r3, #1
	bne	.L14
	ldr	r0, .L19+8
	bl	printf
	b	.L15
.L14:
	ldr	r0, .L19+12
	bl	printf
.L15:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L19+16
	bl	printf
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-140]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L2:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-140]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L16
	mov	r3, #0
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
