	.file	"extr_audit.c_auditd_set.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	auditd_set, @function
auditd_set:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rdi, rdi
	je	.L7
	mov	r12, rdx
	test	rdx, rdx
	je	.L7
	mov	ebx, esi
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	rbp, rdi
	mov	edi, 16
	call	kzalloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L11
	mov	rdi, rbp
	call	get_pid@PLT
	mov	DWORD PTR 8[r13], ebx
	mov	rdi, r12
	xor	r12d, r12d
	mov	DWORD PTR 12[r13], eax
	call	get_net@PLT
	mov	rsi, r12
	lea	rdi, auditd_conn_lock[rip]
	mov	DWORD PTR 4[r13], eax
	call	spin_lock_irqsave@PLT
	lea	rdi, auditd_conn_lock[rip]
	call	lockdep_is_held@PLT
	mov	edi, DWORD PTR auditd_conn[rip]
	mov	esi, eax
	call	rcu_dereference_protected@PLT
	mov	edi, DWORD PTR auditd_conn[rip]
	mov	rsi, r13
	mov	rbp, rax
	call	rcu_assign_pointer@PLT
	mov	rsi, r12
	lea	rdi, auditd_conn_lock[rip]
	call	spin_unlock_irqrestore@PLT
	test	rbp, rbp
	je	.L1
	mov	esi, DWORD PTR auditd_conn_free[rip]
	mov	rdi, rbp
	call	call_rcu@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	auditd_set, .-auditd_set
	.comm	auditd_conn_lock,4,4
	.comm	auditd_conn_free,4,4
	.comm	auditd_conn,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,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_audit.c_auditd_set.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	auditd_set, %function
auditd_set:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	clz	r3, r2
	cmp	r0, #0
	lsr	r3, r3, #5
	push	{r4, r5, r6, r7, r8, lr}
	movne	r6, r3
	moveq	r6, #1
	cmp	r6, #0
	beq	.L2
	ldr	r3, .L9
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L9+4
	mov	r8, r1
	mov	r5, r0
	ldr	r1, [r3]
	mov	r0, #16
	mov	r4, r2
	bl	kzalloc
	subs	r7, r0, #0
	beq	.L8
	mov	r0, r5
	bl	get_pid
	str	r8, [r7, #8]
	str	r0, [r7, #12]
	mov	r0, r4
	bl	get_net
	mov	r5, #0
	ldr	r8, .L9+8
	mov	r1, r5
	str	r0, [r7, #4]
	ldr	r0, .L9+12
	bl	spin_lock_irqsave
	ldr	r0, .L9+12
	ldr	r4, [r8]
	bl	lockdep_is_held
	mov	r1, r0
	mov	r0, r4
	bl	rcu_dereference_protected
	mov	r4, r0
	mov	r1, r7
	ldr	r0, [r8]
	bl	rcu_assign_pointer
	mov	r1, r5
	ldr	r0, .L9+12
	bl	spin_unlock_irqrestore
	cmp	r4, r5
	beq	.L5
	ldr	r3, .L9+16
	mov	r0, r4
	ldr	r1, [r3]
	bl	call_rcu
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r3, .L9+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	EINVAL
	.word	GFP_KERNEL
	.word	auditd_conn
	.word	auditd_conn_lock
	.word	auditd_conn_free
	.word	ENOMEM
	.size	auditd_set, .-auditd_set
	.comm	auditd_conn_lock,4,4
	.comm	auditd_conn_free,4,4
	.comm	auditd_conn,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
