	.file	"extr_ima_appraise.c_ima_inode_post_setattr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ima_inode_post_setattr
	.type	ima_inode_post_setattr, @function
ima_inode_post_setattr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	d_backing_inode@PLT
	mov	rbp, rax
	mov	eax, DWORD PTR ima_policy_flag[rip]
	test	DWORD PTR IMA_APPRAISE[rip], eax
	jne	.L18
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rbp]
	call	S_ISREG@PLT
	test	eax, eax
	je	.L1
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR IOP_XATTR[rip], eax
	je	.L1
	mov	edx, DWORD PTR POST_SETATTR[rip]
	mov	esi, DWORD PTR MAY_ACCESS[rip]
	mov	rdi, rbp
	call	ima_must_appraise@PLT
	test	eax, eax
	je	.L19
	mov	rdi, rbp
	call	integrity_iint_find@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L1
	mov	edi, DWORD PTR IMA_CHANGE_ATTR[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	set_bit@PLT
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	esi, DWORD PTR XATTR_NAME_IMA[rip]
	mov	rdi, r12
	call	__vfs_removexattr@PLT
	mov	rdi, rbp
	call	integrity_iint_find@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L1
	mov	edi, DWORD PTR IMA_CHANGE_ATTR[rip]
	mov	rsi, rax
	call	set_bit@PLT
	mov	edi, DWORD PTR IMA_UPDATE_XATTR[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	clear_bit@PLT
	.cfi_endproc
.LFE0:
	.size	ima_inode_post_setattr, .-ima_inode_post_setattr
	.comm	ima_policy_flag,4,4
	.comm	XATTR_NAME_IMA,4,4
	.comm	POST_SETATTR,4,4
	.comm	MAY_ACCESS,4,4
	.comm	IOP_XATTR,4,4
	.comm	IMA_UPDATE_XATTR,4,4
	.comm	IMA_CHANGE_ATTR,4,4
	.comm	IMA_APPRAISE,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_ima_appraise.c_ima_inode_post_setattr.c"
	.text
	.align	2
	.global	ima_inode_post_setattr
	.syntax unified
	.arm
	.fpu softvfp
	.type	ima_inode_post_setattr, %function
ima_inode_post_setattr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	d_backing_inode
	ldr	r2, .L20
	ldr	r3, .L20+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	tst	r2, r3
	popeq	{r4, r5, r6, pc}
	mov	r4, r0
	ldr	r0, [r0, #4]
	bl	S_ISREG
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L20+8
	ldr	r2, [r4]
	ldr	r3, [r3]
	tst	r2, r3
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L20+12
	ldr	r2, .L20+16
	mov	r0, r4
	ldr	r2, [r2]
	ldr	r1, [r3]
	bl	ima_must_appraise
	cmp	r0, #0
	beq	.L19
	mov	r0, r4
	bl	integrity_iint_find
	subs	r1, r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L20+20
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	b	set_bit
.L19:
	ldr	r3, .L20+24
	mov	r0, r5
	ldr	r1, [r3]
	bl	__vfs_removexattr
	mov	r0, r4
	bl	integrity_iint_find
	subs	r4, r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L20+20
	mov	r1, r4
	ldr	r0, [r3]
	bl	set_bit
	ldr	r3, .L20+28
	mov	r1, r4
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	b	clear_bit
.L21:
	.align	2
.L20:
	.word	ima_policy_flag
	.word	IMA_APPRAISE
	.word	IOP_XATTR
	.word	MAY_ACCESS
	.word	POST_SETATTR
	.word	IMA_CHANGE_ATTR
	.word	XATTR_NAME_IMA
	.word	IMA_UPDATE_XATTR
	.size	ima_inode_post_setattr, .-ima_inode_post_setattr
	.comm	ima_policy_flag,4,4
	.comm	XATTR_NAME_IMA,4,4
	.comm	POST_SETATTR,4,4
	.comm	MAY_ACCESS,4,4
	.comm	IOP_XATTR,4,4
	.comm	IMA_UPDATE_XATTR,4,4
	.comm	IMA_CHANGE_ATTR,4,4
	.comm	IMA_APPRAISE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
