	.file	"extr_hostap_ap.c_hostap_deauth_all_stas.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%s: Deauthenticate all stations\n"
	.text
	.p2align 4
	.globl	hostap_deauth_all_stas
	.type	hostap_deauth_all_stas, @function
hostap_deauth_all_stas:
.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
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	mov	r13d, edx
	push	r12
	.cfi_offset 12, -48
	mov	r12, rdi
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -56
	mov	QWORD PTR -72[rbp], rsi
	mov	rcx, rsp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR ETH_ALEN[rip]
	mov	QWORD PTR -80[rbp], 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
.L20:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L20
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L21
.L4:
	mov	edx, DWORD PTR [r12]
	mov	r14, rsp
	mov	ebx, 5
	lea	r15, -60[rbp]
	mov	edi, DWORD PTR DEBUG_AP[rip]
	lea	rsi, .LC0[rip]
	call	PDEBUG@PLT
	mov	rdi, r14
	call	eth_broadcast_addr@PLT
	mov	edi, DWORD PTR WLAN_REASON_PREV_AUTH_NOT_VALID[rip]
	call	cpu_to_le16@PLT
	mov	DWORD PTR -60[rbp], eax
	.p2align 4,,10
	.p2align 3
.L8:
	mov	esi, DWORD PTR IEEE80211_FTYPE_MGMT[rip]
	xor	r9d, r9d
	mov	r8, r14
	mov	rdx, r15
	or	esi, DWORD PTR IEEE80211_STYPE_DEAUTH[rip]
	mov	ecx, 2
	mov	rdi, r12
	call	prism2_send_mgmt@PLT
	test	r13d, r13d
	je	.L18
	mov	rax, QWORD PTR -72[rbp]
	cmp	QWORD PTR [rax], 0
	jle	.L18
	mov	edi, 50
	call	mdelay@PLT
	sub	ebx, 1
	jne	.L8
.L18:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	mov	rsp, QWORD PTR -80[rbp]
	jne	.L22
	lea	rsp, -40[rbp]
	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
.L21:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	hostap_deauth_all_stas, .-hostap_deauth_all_stas
	.comm	WLAN_REASON_PREV_AUTH_NOT_VALID,4,4
	.comm	IEEE80211_STYPE_DEAUTH,4,4
	.comm	IEEE80211_FTYPE_MGMT,4,4
	.comm	ETH_ALEN,4,4
	.comm	DEBUG_AP,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_hostap_ap.c_hostap_deauth_all_stas.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: Deauthenticate all stations\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	hostap_deauth_all_stas
	.syntax unified
	.arm
	.fpu softvfp
	.type	hostap_deauth_all_stas, %function
hostap_deauth_all_stas:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #28
	ldr	r3, .L15
	mov	r7, r1
	ldr	r3, [r3]
	ldr	r1, .L15+4
	lsl	r3, r3, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	str	sp, [fp, #-48]
	sub	sp, sp, r3
	ldr	r3, .L15+8
	mov	r5, r0
	mov	r6, r2
	add	r8, sp, #8
	ldr	r2, [r0]
	ldr	r0, [r1]
	ldr	r1, .L15+12
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	bl	PDEBUG
	mov	r0, r8
	bl	eth_broadcast_addr
	ldr	r3, .L15+16
	mov	r4, #5
	ldr	r0, [r3]
	bl	cpu_to_le16
	ldr	r10, .L15+20
	ldr	r9, .L15+24
	str	r0, [fp, #-44]
.L5:
	ldr	r2, [r9]
	ldr	r1, [r10]
	mov	r3, #2
	orr	r1, r1, r2
	mov	r2, #0
	mov	r0, r5
	str	r2, [sp, #4]
	str	r8, [sp]
	sub	r2, fp, #44
	bl	prism2_send_mgmt
	cmp	r6, #0
	beq	.L12
	ldr	r3, [r7]
	cmp	r3, #0
	ble	.L12
	mov	r0, #50
	bl	mdelay
	subs	r4, r4, #1
	bne	.L5
.L12:
	ldr	r3, .L15+8
	ldr	sp, [fp, #-48]
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	ETH_ALEN
	.word	DEBUG_AP
	.word	.LC1
	.word	.LC0
	.word	WLAN_REASON_PREV_AUTH_NOT_VALID
	.word	IEEE80211_FTYPE_MGMT
	.word	IEEE80211_STYPE_DEAUTH
	.size	hostap_deauth_all_stas, .-hostap_deauth_all_stas
	.comm	WLAN_REASON_PREV_AUTH_NOT_VALID,4,4
	.comm	IEEE80211_STYPE_DEAUTH,4,4
	.comm	IEEE80211_FTYPE_MGMT,4,4
	.comm	ETH_ALEN,4,4
	.comm	DEBUG_AP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
