	.file	"713516.c"
	.intel_syntax noprefix
	.text
	.globl	user_perm
	.bss
	.align 8
	.type	user_perm, @object
	.size	user_perm, 8
user_perm:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"chown file %s permission fail,error info is: %s\n"
	.align 8
.LC1:
	.string	"stat file %s fail ,error info is: %s\n"
	.align 8
.LC2:
	.string	"set file %s permission fail,error info is: %s\n"
	.text
	.globl	VFSPermission
	.type	VFSPermission, @function
VFSPermission:
.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, 192
	mov	QWORD PTR -184[rbp], rdi
	mov	QWORD PTR -192[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	getuid@PLT
	mov	DWORD PTR -168[rbp], eax
	call	getgid@PLT
	mov	DWORD PTR -164[rbp], eax
	mov	edx, DWORD PTR -164[rbp]
	mov	ecx, DWORD PTR -168[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	chown@PLT
	test	eax, eax
	je	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	jmp	.L6
.L2:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	je	.L4
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	jmp	.L6
.L4:
	mov	eax, DWORD PTR -136[rbp]
	or	eax, 948
	mov	DWORD PTR -172[rbp], eax
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	edx, DWORD PTR -172[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	chmod@PLT
	test	eax, eax
	je	.L5
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	jmp	.L6
.L5:
	mov	eax, 0
.L6:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	VFSPermission, .-VFSPermission
	.section	.rodata
	.align 8
.LC3:
	.string	"\344\277\256\346\224\271\346\226\207\344\273\266\345\244\271%s\346\235\203\351\231\220\344\270\272755\345\244\261\350\264\245\357\274\214\351\224\231\350\257\257\344\277\241\346\201\257\344\270\272: %s\n"
	.align 8
.LC4:
	.string	"\344\277\256\346\224\271\346\226\207\344\273\266\345\244\271 %s \346\211\200\345\261\236\347\224\250\346\210\267[%d]\345\222\214\346\211\200\345\261\236\347\273\204[%d]\346\235\203\351\231\220\345\244\261\350\264\245\357\274\214\351\224\231\350\257\257\344\277\241\346\201\257\344\270\272: %s\n"
	.text
	.globl	VFSDirPermission
	.type	VFSDirPermission, @function
VFSDirPermission:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	DWORD PTR -4[rbp], 504
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	edi, 0
	call	setuid@PLT
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	chmod@PLT
	test	eax, eax
	je	.L9
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	jmp	.L10
.L9:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	edx, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	chown@PLT
	test	eax, eax
	je	.L11
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	mov	ecx, DWORD PTR -32[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	jmp	.L10
.L11:
	mov	eax, 0
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	VFSDirPermission, .-VFSDirPermission
	.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	"713516.c"
	.text
	.comm	user_perm,8,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"chown file %s permission fail,error info is: %s\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"stat file %s fail ,error info is: %s\012\000"
	.align	2
.LC2:
	.ascii	"set file %s permission fail,error info is: %s\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	VFSPermission
	.syntax unified
	.arm
	.fpu softvfp
	.type	VFSPermission, %function
VFSPermission:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	getuid
	mov	r3, r0
	str	r3, [fp, #-108]
	bl	getgid
	mov	r3, r0
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-104]
	mov	r1, r3
	ldr	r0, [fp, #-120]
	bl	chown
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-120]
	ldr	r0, .L8+4
	bl	printf
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	b	.L6
.L2:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-120]
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-120]
	ldr	r0, .L8+8
	bl	printf
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	b	.L6
.L4:
	ldr	r3, [fp, #-84]
	orr	r3, r3, #948
	str	r3, [fp, #-112]
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, [fp, #-112]
	ldr	r0, [fp, #-120]
	bl	chmod
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-120]
	ldr	r0, .L8+12
	bl	printf
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	b	.L6
.L5:
	mov	r3, #0
.L6:
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	VFSPermission, .-VFSPermission
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\344\277\256\346\224\271\346\226\207\344\273\266\345"
	.ascii	"\244\271%s\346\235\203\351\231\220\344\270\272755\345"
	.ascii	"\244\261\350\264\245\357\274\214\351\224\231\350\257"
	.ascii	"\257\344\277\241\346\201\257\344\270\272: %s\012\000"
	.align	2
.LC5:
	.ascii	"\344\277\256\346\224\271\346\226\207\344\273\266\345"
	.ascii	"\244\271 %s \346\211\200\345\261\236\347\224\250\346"
	.ascii	"\210\267[%d]\345\222\214\346\211\200\345\261\236\347"
	.ascii	"\273\204[%d]\346\235\203\351\231\220\345\244\261\350"
	.ascii	"\264\245\357\274\214\351\224\231\350\257\257\344\277"
	.ascii	"\241\346\201\257\344\270\272: %s\012\000"
	.text
	.align	2
	.global	VFSDirPermission
	.syntax unified
	.arm
	.fpu softvfp
	.type	VFSDirPermission, %function
VFSDirPermission:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #504
	str	r3, [fp, #-8]
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	mov	r0, #0
	bl	setuid
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	chmod
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-16]
	ldr	r0, .L14
	bl	printf
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	b	.L12
.L11:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	chown
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, .L14+4
	bl	printf
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	b	.L12
.L13:
	mov	r3, #0
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC4
	.word	.LC5
	.size	VFSDirPermission, .-VFSDirPermission
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
