	.file	"extr_lsm.c_param_set_audit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	param_set_audit, @function
param_set_audit:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR apparmor_enabled[rip]
	test	eax, eax
	je	.L15
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	test	rdi, rdi
	je	.L13
	cmp	QWORD PTR apparmor_initialized[rip], 0
	jne	.L16
.L5:
	mov	esi, DWORD PTR AUDIT_MAX_INDEX[rip]
	mov	edi, DWORD PTR audit_mode_names[rip]
	mov	rdx, r12
	call	match_string@PLT
	test	eax, eax
	js	.L13
	mov	DWORD PTR aa_g_audit[rip], eax
	xor	eax, eax
.L1:
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	xor	edi, edi
	call	policy_admin_capable@PLT
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR EPERM[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	eax, DWORD PTR EINVAL[rip]
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore 12
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	param_set_audit, .-param_set_audit
	.comm	audit_mode_names,4,4
	.comm	apparmor_initialized,8,8
	.comm	apparmor_enabled,4,4
	.comm	aa_g_audit,4,4
	.comm	EPERM,4,4
	.comm	EINVAL,4,4
	.comm	AUDIT_MAX_INDEX,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_lsm.c_param_set_audit.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	param_set_audit, %function
param_set_audit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L18
	cmp	r0, #0
	push	{r4, lr}
	mov	r4, r0
	beq	.L16
	ldr	r3, .L20+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L19
.L5:
	ldr	r3, .L20+8
	ldr	r1, .L20+12
	ldr	r0, [r3]
	mov	r2, r4
	ldr	r1, [r1]
	bl	match_string
	subs	r3, r0, #0
	blt	.L16
	ldr	r2, .L20+16
	mov	r0, #0
	str	r3, [r2]
	pop	{r4, pc}
.L19:
	mov	r0, #0
	bl	policy_admin_capable
	cmp	r0, #0
	bne	.L5
	ldr	r3, .L20+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L16:
	ldr	r3, .L20+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L18:
	ldr	r3, .L20+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L21:
	.align	2
.L20:
	.word	apparmor_enabled
	.word	apparmor_initialized
	.word	audit_mode_names
	.word	AUDIT_MAX_INDEX
	.word	aa_g_audit
	.word	EPERM
	.word	EINVAL
	.size	param_set_audit, .-param_set_audit
	.comm	audit_mode_names,4,4
	.comm	apparmor_initialized,4,4
	.comm	apparmor_enabled,4,4
	.comm	aa_g_audit,4,4
	.comm	EPERM,4,4
	.comm	EINVAL,4,4
	.comm	AUDIT_MAX_INDEX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
