	.file	"extr_key.c_key_freesp.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"key_freesp: NULL pointer is passed.\n"
	.align 8
.LC1:
	.string	"DP freesp cause refcnt--:%d SP:0x%llx\n"
	.text
	.p2align 4
	.globl	key_freesp
	.type	key_freesp, @function
key_freesp:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	rdi, rdi
	je	.L11
.L2:
	mov	edi, DWORD PTR sadb_mutex[rip]
	test	ebx, ebx
	jne	.L3
	call	lck_mtx_lock@PLT
	sub	DWORD PTR 0[rbp], 1
	mov	rdi, rbp
	call	VM_KERNEL_ADDRPERM@PLT
	mov	esi, DWORD PTR 0[rbp]
	lea	rdi, .LC1[rip]
	mov	rdx, rax
	call	printf@PLT
	mov	edi, DWORD PTR KEYDEBUG_IPSEC_STAMP[rip]
	mov	esi, eax
	call	KEYDEBUG@PLT
	mov	edx, DWORD PTR 0[rbp]
	test	edx, edx
	je	.L12
.L5:
	mov	edi, DWORD PTR sadb_mutex[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	lck_mtx_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	esi, DWORD PTR LCK_MTX_ASSERT_OWNED[rip]
	call	LCK_MTX_ASSERT@PLT
	sub	DWORD PTR 0[rbp], 1
	mov	rdi, rbp
	call	VM_KERNEL_ADDRPERM@PLT
	mov	esi, DWORD PTR 0[rbp]
	lea	rdi, .LC1[rip]
	mov	rdx, rax
	call	printf@PLT
	mov	edi, DWORD PTR KEYDEBUG_IPSEC_STAMP[rip]
	mov	esi, eax
	call	KEYDEBUG@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	je	.L13
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	key_delsp@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	panic@PLT
	jmp	.L2
.L12:
	mov	rdi, rbp
	call	key_delsp@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	key_freesp, .-key_freesp
	.comm	sadb_mutex,4,4
	.comm	LCK_MTX_ASSERT_OWNED,4,4
	.comm	KEYDEBUG_IPSEC_STAMP,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_key.c_key_freesp.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"key_freesp: NULL pointer is passed.\012\000"
	.align	2
.LC1:
	.ascii	"DP freesp cause refcnt--:%d SP:0x%llx\012\000"
	.text
	.align	2
	.global	key_freesp
	.syntax unified
	.arm
	.fpu softvfp
	.type	key_freesp, %function
key_freesp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r4, r0, #0
	mov	r5, r1
	beq	.L11
.L2:
	ldr	r6, .L13
	cmp	r5, #0
	ldr	r0, [r6]
	bne	.L3
	bl	lck_mtx_lock
	ldr	r5, [r4]
	ldr	r3, .L13+4
	sub	r5, r5, #1
	str	r5, [r4]
	mov	r0, r4
	ldr	r7, [r3]
	bl	VM_KERNEL_ADDRPERM
	mov	r1, r5
	mov	r2, r0
	ldr	r0, .L13+8
	bl	printf
	mov	r1, r0
	mov	r0, r7
	bl	KEYDEBUG
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L12
.L5:
	ldr	r0, [r6]
	pop	{r4, r5, r6, r7, r8, lr}
	b	lck_mtx_unlock
.L3:
	ldr	r3, .L13+12
	ldr	r1, [r3]
	bl	LCK_MTX_ASSERT
	ldr	r5, [r4]
	ldr	r3, .L13+4
	sub	r5, r5, #1
	str	r5, [r4]
	mov	r0, r4
	ldr	r6, [r3]
	bl	VM_KERNEL_ADDRPERM
	mov	r1, r5
	mov	r2, r0
	ldr	r0, .L13+8
	bl	printf
	mov	r1, r0
	mov	r0, r6
	bl	KEYDEBUG
	ldr	r3, [r4]
	cmp	r3, #0
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	key_delsp
.L11:
	ldr	r0, .L13+16
	bl	panic
	b	.L2
.L12:
	mov	r0, r4
	bl	key_delsp
	b	.L5
.L14:
	.align	2
.L13:
	.word	sadb_mutex
	.word	KEYDEBUG_IPSEC_STAMP
	.word	.LC1
	.word	LCK_MTX_ASSERT_OWNED
	.word	.LC0
	.size	key_freesp, .-key_freesp
	.comm	sadb_mutex,4,4
	.comm	LCK_MTX_ASSERT_OWNED,4,4
	.comm	KEYDEBUG_IPSEC_STAMP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
