	.file	"extr_cfg.c_ieee80211_del_key.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ieee80211_del_key, @function
ieee80211_del_key:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	rdi, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	IEEE80211_DEV_TO_SUB_IF@PLT
	mov	r12, QWORD PTR 8[rax]
	mov	rbp, rax
	mov	rdi, r12
	lea	r15, 4[r12]
	call	mutex_lock@PLT
	mov	rdi, r15
	call	mutex_lock@PLT
	test	r14, r14
	je	.L2
	mov	eax, DWORD PTR ENOENT[rip]
	mov	rsi, r14
	mov	rdi, rbp
	mov	DWORD PTR 12[rsp], eax
	call	sta_info_get_bss@PLT
	test	rax, rax
	je	.L10
	test	r13d, r13d
	jne	.L11
	mov	rax, QWORD PTR [rax]
	mov	rdi, r12
	mov	esi, DWORD PTR [rax+rbx*4]
	call	key_mtx_dereference@PLT
	mov	rdi, rax
.L6:
	mov	r14d, DWORD PTR ENOENT[rip]
	neg	r14d
	test	rdi, rdi
	je	.L4
	mov	esi, 1
	xor	r14d, r14d
	call	ieee80211_key_free@PLT
.L4:
	mov	rdi, r15
	call	mutex_unlock@PLT
	mov	rdi, r12
	call	mutex_unlock@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, DWORD PTR 8[rax]
	mov	rdi, r12
	call	key_mtx_dereference@PLT
	mov	rdi, rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, r12
	mov	esi, DWORD PTR [rax+rbx*4]
	call	key_mtx_dereference@PLT
	mov	rdi, rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	mov	r14d, DWORD PTR 12[rsp]
	neg	r14d
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	ieee80211_del_key, .-ieee80211_del_key
	.comm	ENOENT,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_cfg.c_ieee80211_del_key.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ieee80211_del_key, %function
ieee80211_del_key:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r0, r1
	mov	r6, r2
	mov	r8, r3
	ldr	r9, [sp, #32]
	bl	IEEE80211_DEV_TO_SUB_IF
	ldr	r5, [r0, #4]
	mov	r4, r0
	add	r7, r5, #4
	mov	r0, r5
	bl	mutex_lock
	mov	r0, r7
	bl	mutex_lock
	cmp	r9, #0
	beq	.L2
	ldr	r3, .L12
	mov	r0, r4
	mov	r1, r9
	ldr	r4, [r3]
	bl	sta_info_get_bss
	cmp	r0, #0
	beq	.L9
	cmp	r8, #0
	ldreq	r3, [r0]
	ldrne	r1, [r0, #4]
	moveq	r0, r5
	movne	r0, r5
	ldreq	r1, [r3, r6, lsl #2]
	bl	key_mtx_dereference
.L6:
	cmp	r0, #0
	beq	.L11
	mov	r1, #1
	bl	ieee80211_key_free
	mov	r4, #0
.L4:
	mov	r0, r7
	bl	mutex_unlock
	mov	r0, r5
	bl	mutex_unlock
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	ldr	r3, .L12
	ldr	r4, [r3]
.L9:
	rsb	r4, r4, #0
	b	.L4
.L2:
	ldr	r3, [r4]
	mov	r0, r5
	ldr	r1, [r3, r6, lsl #2]
	bl	key_mtx_dereference
	b	.L6
.L13:
	.align	2
.L12:
	.word	ENOENT
	.size	ieee80211_del_key, .-ieee80211_del_key
	.comm	ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
