	.file	"extr_cmmap.c_zfApProcessBeacon.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Rx beacon"
	.text
	.p2align 4
	.globl	zfApProcessBeacon
	.type	zfApProcessBeacon, @function
zfApProcessBeacon:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	zmw_get_wlan_dev@PLT
	mov	edi, DWORD PTR ZM_LV_3[rip]
	lea	rsi, .LC0[rip]
	call	zm_msg0_mm@PLT
	mov	edx, DWORD PTR ZM_WLAN_EID_ERP[rip]
	mov	rsi, r12
	mov	rdi, rbp
	call	zfFindElement@PLT
	cmp	eax, 65535
	je	.L6
	lea	edx, 2[rax]
	mov	rsi, r12
	mov	rdi, rbp
	call	zmw_rx_buf_readb@PLT
	mov	edx, DWORD PTR ZM_WLAN_USE_PROTECTION_BIT[rip]
	and	eax, edx
	cmp	edx, eax
	je	.L7
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rax, QWORD PTR wd[rip]
	mov	DWORD PTR [rax], 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rax, QWORD PTR wd[rip]
	add	DWORD PTR [rax], 1
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	zfApProcessBeacon, .-zfApProcessBeacon
	.comm	wd,8,8
	.comm	ZM_WLAN_USE_PROTECTION_BIT,4,4
	.comm	ZM_WLAN_EID_ERP,4,4
	.comm	ZM_LV_3,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_cmmap.c_zfApProcessBeacon.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Rx beacon\000"
	.text
	.align	2
	.global	zfApProcessBeacon
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfApProcessBeacon, %function
zfApProcessBeacon:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r4, r0
	bl	zmw_get_wlan_dev
	ldr	r3, .L7
	ldr	r1, .L7+4
	ldr	r0, [r3]
	bl	zm_msg0_mm
	ldr	r3, .L7+8
	mov	r1, r5
	ldr	r2, [r3]
	mov	r0, r4
	bl	zfFindElement
	ldr	r3, .L7+12
	cmp	r0, r3
	beq	.L6
	add	r2, r0, #2
	mov	r1, r5
	mov	r0, r4
	bl	zmw_rx_buf_readb
	ldr	r3, .L7+16
	ldr	r3, [r3]
	bics	r3, r3, r0
	moveq	r2, #1
	ldreq	r3, .L7+20
	ldreq	r3, [r3]
	streq	r2, [r3]
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r3, .L7+20
	ldr	r2, [r3]
	ldr	r3, [r2]
	add	r3, r3, #1
	str	r3, [r2]
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	ZM_LV_3
	.word	.LC0
	.word	ZM_WLAN_EID_ERP
	.word	65535
	.word	ZM_WLAN_USE_PROTECTION_BIT
	.word	wd
	.size	zfApProcessBeacon, .-zfApProcessBeacon
	.comm	wd,4,4
	.comm	ZM_WLAN_USE_PROTECTION_BIT,4,4
	.comm	ZM_WLAN_EID_ERP,4,4
	.comm	ZM_LV_3,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
