	.file	"extr_spl-kstat.c___kstat_delete.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	__kstat_delete
	.type	__kstat_delete, @function
__kstat_delete:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	add	rdi, 32
	call	kstat_proc_entry_delete@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR KSTAT_FLAG_VIRTUAL[rip], eax
	je	.L5
.L2:
	mov	QWORD PTR 16[rbp], 0
	lea	rdi, 8[rbp]
	call	mutex_destroy@PLT
	mov	rdi, rbp
	mov	esi, 40
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	kmem_free@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	esi, DWORD PTR 4[rbp]
	mov	rdi, QWORD PTR 24[rbp]
	call	kmem_free@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	__kstat_delete, .-__kstat_delete
	.comm	KSTAT_FLAG_VIRTUAL,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_spl-kstat.c___kstat_delete.c"
	.text
	.align	2
	.global	__kstat_delete
	.syntax unified
	.arm
	.fpu softvfp
	.type	__kstat_delete, %function
__kstat_delete:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	add	r0, r0, #20
	bl	kstat_proc_entry_delete
	ldr	r3, .L6
	ldr	r2, [r4]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L5
.L2:
	mov	r3, #0
	add	r0, r4, #8
	str	r3, [r4, #12]
	bl	mutex_destroy
	mov	r0, r4
	pop	{r4, lr}
	mov	r1, #24
	b	kmem_free
.L5:
	ldr	r1, [r4, #4]
	ldr	r0, [r4, #16]
	bl	kmem_free
	b	.L2
.L7:
	.align	2
.L6:
	.word	KSTAT_FLAG_VIRTUAL
	.size	__kstat_delete, .-__kstat_delete
	.comm	KSTAT_FLAG_VIRTUAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
