	.file	"extr_policy_ns.c___aa_find_or_create_ns.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	__aa_find_or_create_ns
	.type	__aa_find_or_create_ns, @function
__aa_find_or_create_ns:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	add	rdi, 4
	call	mutex_is_locked@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	AA_BUG@PLT
	mov	rdi, rbp
	mov	rsi, r12
	call	__aa_find_ns@PLT
	mov	edi, eax
	call	aa_get_ns@PLT
	test	rax, rax
	je	.L5
	mov	edi, DWORD PTR EEXIST[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	neg	edi
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	__aa_create_ns@PLT
	.cfi_endproc
.LFE0:
	.size	__aa_find_or_create_ns, .-__aa_find_or_create_ns
	.comm	EEXIST,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_policy_ns.c___aa_find_or_create_ns.c"
	.text
	.align	2
	.global	__aa_find_or_create_ns
	.syntax unified
	.arm
	.fpu softvfp
	.type	__aa_find_or_create_ns, %function
__aa_find_or_create_ns:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	add	r0, r0, #4
	mov	r6, r2
	mov	r5, r1
	bl	mutex_is_locked
	clz	r0, r0
	lsr	r0, r0, #5
	bl	AA_BUG
	mov	r1, r5
	mov	r0, r4
	bl	__aa_find_ns
	bl	aa_get_ns
	cmp	r0, #0
	beq	.L5
	pop	{r4, r5, r6, lr}
	ldr	r3, .L6
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L5:
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	__aa_create_ns
.L7:
	.align	2
.L6:
	.word	EEXIST
	.size	__aa_find_or_create_ns, .-__aa_find_or_create_ns
	.comm	EEXIST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
