	.file	"extr_file.c_udf_setattr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	udf_setattr, @function
udf_setattr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	d_inode@PLT
	mov	rdi, r13
	mov	rsi, rbp
	mov	r14, QWORD PTR [rax]
	mov	r12, rax
	call	setattr_prepare@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L1
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR ATTR_UID[rip], eax
	jne	.L30
	test	DWORD PTR ATTR_GID[rip], eax
	jne	.L31
.L6:
	test	DWORD PTR ATTR_SIZE[rip], eax
	jne	.L32
.L9:
	test	DWORD PTR ATTR_MODE[rip], eax
	jne	.L33
.L11:
	mov	rdi, r12
	mov	rsi, rbp
	call	setattr_copy@PLT
	mov	rdi, r12
	call	mark_inode_dirty@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_restore_state
	mov	esi, DWORD PTR UDF_FLAG_UID_SET[rip]
	mov	rdi, r14
	call	UDF_QUERY_FLAG@PLT
	test	rax, rax
	jne	.L4
.L26:
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR ATTR_GID[rip], eax
	je	.L6
.L31:
	mov	esi, DWORD PTR UDF_FLAG_GID_SET[rip]
	mov	rdi, r14
	call	UDF_QUERY_FLAG@PLT
	test	rax, rax
	jne	.L7
.L27:
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR ATTR_SIZE[rip], eax
	je	.L9
.L32:
	mov	r14, QWORD PTR 8[rbp]
	mov	rdi, r12
	call	i_size_read@PLT
	cmp	r14, rax
	jne	.L10
.L28:
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR ATTR_MODE[rip], eax
	je	.L11
.L33:
	mov	esi, DWORD PTR 16[rbp]
	mov	rdi, r12
	call	udf_update_extra_perms@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rsi, QWORD PTR 8[rbp]
	mov	rdi, r12
	call	udf_setsize@PLT
	test	eax, eax
	je	.L28
	mov	r13d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, r14
	call	UDF_SB@PLT
	mov	edi, DWORD PTR 24[rbp]
	mov	esi, DWORD PTR 4[rax]
	call	uid_eq@PLT
	test	eax, eax
	jne	.L26
.L8:
	mov	r13d, DWORD PTR EPERM[rip]
	neg	r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, r14
	call	UDF_SB@PLT
	mov	edi, DWORD PTR 20[rbp]
	mov	esi, DWORD PTR [rax]
	call	gid_eq@PLT
	test	eax, eax
	jne	.L27
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	udf_setattr, .-udf_setattr
	.comm	UDF_FLAG_UID_SET,4,4
	.comm	UDF_FLAG_GID_SET,4,4
	.comm	EPERM,4,4
	.comm	ATTR_UID,4,4
	.comm	ATTR_SIZE,4,4
	.comm	ATTR_MODE,4,4
	.comm	ATTR_GID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_file.c_udf_setattr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	udf_setattr, %function
udf_setattr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r4, r1
	bl	d_inode
	mov	r5, r0
	mov	r1, r4
	mov	r0, r6
	ldr	r7, [r5]
	bl	setattr_prepare
	subs	r6, r0, #0
	bne	.L1
	ldr	r2, .L34
	ldr	r3, [r4]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L30
	ldr	r2, .L34+4
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L31
.L6:
	ldr	r2, .L34+8
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L32
.L9:
	ldr	r2, .L34+12
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L33
.L11:
	mov	r1, r4
	mov	r0, r5
	bl	setattr_copy
	mov	r0, r5
	bl	mark_inode_dirty
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L30:
	ldr	r3, .L34+16
	mov	r0, r7
	ldr	r1, [r3]
	bl	UDF_QUERY_FLAG
	cmp	r0, #0
	bne	.L4
.L26:
	ldr	r2, .L34+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L6
.L31:
	ldr	r3, .L34+20
	mov	r0, r7
	ldr	r1, [r3]
	bl	UDF_QUERY_FLAG
	cmp	r0, #0
	bne	.L7
.L27:
	ldr	r2, .L34+8
	ldr	r3, [r4]
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L9
.L32:
	mov	r0, r5
	ldr	r7, [r4, #4]
	bl	i_size_read
	cmp	r7, r0
	bne	.L10
.L28:
	ldr	r2, .L34+12
	ldr	r3, [r4]
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L11
.L33:
	mov	r0, r5
	ldr	r1, [r4, #8]
	bl	udf_update_extra_perms
	b	.L11
.L10:
	mov	r0, r5
	ldr	r1, [r4, #4]
	bl	udf_setsize
	cmp	r0, #0
	movne	r6, r0
	beq	.L28
	b	.L1
.L4:
	mov	r0, r7
	ldr	r8, [r4, #16]
	bl	UDF_SB
	mov	r3, r0
	mov	r0, r8
	ldr	r1, [r3, #4]
	bl	uid_eq
	cmp	r0, #0
	bne	.L26
.L8:
	ldr	r3, .L34+24
	ldr	r0, [r3]
	rsb	r6, r0, #0
	b	.L1
.L7:
	mov	r0, r7
	ldr	r7, [r4, #12]
	bl	UDF_SB
	mov	r3, r0
	mov	r0, r7
	ldr	r1, [r3]
	bl	gid_eq
	cmp	r0, #0
	bne	.L27
	b	.L8
.L35:
	.align	2
.L34:
	.word	ATTR_UID
	.word	ATTR_GID
	.word	ATTR_SIZE
	.word	ATTR_MODE
	.word	UDF_FLAG_UID_SET
	.word	UDF_FLAG_GID_SET
	.word	EPERM
	.size	udf_setattr, .-udf_setattr
	.comm	UDF_FLAG_UID_SET,4,4
	.comm	UDF_FLAG_GID_SET,4,4
	.comm	EPERM,4,4
	.comm	ATTR_UID,4,4
	.comm	ATTR_SIZE,4,4
	.comm	ATTR_MODE,4,4
	.comm	ATTR_GID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
