	.file	"extr_mlme.c_ieee80211_mgd_deauth.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"deauthenticating from %pM by local choice (reason=%d)\n"
	.text
	.p2align 4
	.globl	ieee80211_mgd_deauth
	.type	ieee80211_mgd_deauth, @function
ieee80211_mgd_deauth:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	r12, rsi
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR IEEE80211_DEAUTH_FRAME_LEN[rip]
	mov	rcx, rsp
	lea	rax, 15[0+rax*4]
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L16:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L16
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L17
.L4:
	mov	eax, DWORD PTR 8[r12]
	lea	r15, 8[rbx]
	xor	r14d, r14d
	mov	r13, rsp
	mov	rdi, r15
	test	eax, eax
	sete	r14b
	call	mutex_lock@PLT
	mov	edx, DWORD PTR 4[r12]
	mov	ecx, DWORD PTR [r12]
	mov	rdi, rbx
	lea	rsi, .LC0[rip]
	call	sdata_info@PLT
	cmp	QWORD PTR 24[rbx], 0
	jne	.L18
	mov	rax, QWORD PTR 16[rbx]
	test	rax, rax
	je	.L9
	mov	esi, DWORD PTR 4[r12]
	mov	edi, DWORD PTR [rax]
	call	ether_addr_equal@PLT
	test	rax, rax
	jne	.L19
.L9:
	mov	rdi, r15
	call	mutex_unlock@PLT
.L8:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	lea	rsp, -40[rbp]
	xor	eax, eax
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rbx]
	mov	rsi, rbx
	call	drv_mgd_prepare_tx@PLT
	mov	esi, DWORD PTR 4[r12]
	mov	r9, r13
	mov	r8d, r14d
	mov	ecx, DWORD PTR [r12]
	mov	edx, DWORD PTR IEEE80211_STYPE_DEAUTH[rip]
	mov	rdi, rbx
	call	ieee80211_send_deauth_disassoc@PLT
	mov	rdi, rbx
	xor	esi, esi
	call	ieee80211_destroy_auth_data@PLT
	mov	rdi, r15
	call	mutex_unlock@PLT
.L6:
	mov	edx, DWORD PTR IEEE80211_DEAUTH_FRAME_LEN[rip]
	mov	edi, DWORD PTR [rbx]
	mov	rsi, r13
	call	__cfg80211_send_deauth@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L19:
	mov	edx, DWORD PTR [r12]
	mov	esi, DWORD PTR IEEE80211_STYPE_DEAUTH[rip]
	mov	rdi, rbx
	mov	r8, r13
	mov	ecx, r14d
	call	ieee80211_set_disassoc@PLT
	mov	rdi, r15
	call	mutex_unlock@PLT
	jmp	.L6
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ieee80211_mgd_deauth, .-ieee80211_mgd_deauth
	.comm	IEEE80211_STYPE_DEAUTH,4,4
	.comm	IEEE80211_DEAUTH_FRAME_LEN,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_mlme.c_ieee80211_mgd_deauth.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"deauthenticating from %pM by local choice (reason=%"
	.ascii	"d)\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ieee80211_mgd_deauth
	.syntax unified
	.arm
	.fpu softvfp
	.type	ieee80211_mgd_deauth, %function
ieee80211_mgd_deauth:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #16
	mov	r5, r1
	mov	r4, r0
	ldr	r6, [r1, #8]
	ldr	r8, .L13
	clz	r6, r6
	ldr	r3, [r8]
	add	r7, r0, #8
	lsl	r3, r3, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L13+4
	mov	r0, r7
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	bl	mutex_lock
	ldr	r3, [r5]
	mov	r0, r4
	ldr	r2, [r5, #4]
	ldr	r1, .L13+8
	bl	sdata_info
	ldr	r3, [r4, #16]
	lsr	r6, r6, #5
	cmp	r3, #0
	add	r9, sp, #8
	bne	.L10
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L6
	ldr	r0, [r3]
	ldr	r1, [r5, #4]
	bl	ether_addr_equal
	cmp	r0, #0
	bne	.L11
.L6:
	mov	r0, r7
	bl	mutex_unlock
.L5:
	ldr	r3, .L13+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, #0
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L10:
	mov	r1, r4
	ldr	r0, [r4, #4]
	bl	drv_mgd_prepare_tx
	stm	sp, {r6, r9}
	ldr	r3, .L13+12
	ldr	r1, [r5, #4]
	ldr	r2, [r3]
	mov	r0, r4
	ldr	r3, [r5]
	bl	ieee80211_send_deauth_disassoc
	mov	r1, #0
	mov	r0, r4
	bl	ieee80211_destroy_auth_data
	mov	r0, r7
	bl	mutex_unlock
.L3:
	mov	r1, r9
	ldr	r2, [r8]
	ldr	r0, [r4]
	bl	__cfg80211_send_deauth
	b	.L5
.L11:
	ldr	r1, .L13+12
	str	r9, [sp]
	mov	r3, r6
	mov	r0, r4
	ldr	r2, [r5]
	ldr	r1, [r1]
	bl	ieee80211_set_disassoc
	mov	r0, r7
	bl	mutex_unlock
	b	.L3
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	IEEE80211_DEAUTH_FRAME_LEN
	.word	.LC1
	.word	.LC0
	.word	IEEE80211_STYPE_DEAUTH
	.size	ieee80211_mgd_deauth, .-ieee80211_mgd_deauth
	.comm	IEEE80211_STYPE_DEAUTH,4,4
	.comm	IEEE80211_DEAUTH_FRAME_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
