	.file	"extr_hpani.c_zfHpAniArPoll.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	zfHpAniArPoll
	.type	zfHpAniArPoll, @function
zfHpAniArPoll:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rcx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	zmw_get_wlan_dev@PLT
	mov	rax, QWORD PTR wd[rip]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 24[rax]
	mov	esi, DWORD PTR [rdx]
	add	esi, r12d
	cmp	QWORD PTR 16[rax], 0
	mov	DWORD PTR [rdx], esi
	je	.L2
	add	DWORD PTR 12[rax], ebp
	add	DWORD PTR 4[rdx], ebp
	add	DWORD PTR 8[rax], ebx
	add	DWORD PTR 8[rdx], ebx
.L2:
	mov	ecx, DWORD PTR [rax]
	test	DWORD PTR ZM_HAL_PROCESS_ANI[rip], ecx
	je	.L1
	mov	eax, DWORD PTR 4[rax]
	lea	ecx, [rax+rax*4]
	cmp	esi, ecx
	jle	.L4
	mov	ecx, DWORD PTR 12[rdx]
	imul	ecx, esi
	movsx	rax, ecx
	sar	ecx, 31
	imul	rax, rax, 274877907
	sar	rax, 38
	sub	eax, ecx
	cmp	DWORD PTR 4[rdx], eax
	jg	.L11
	imul	esi, DWORD PTR 16[rdx]
	movsx	rax, esi
	sar	esi, 31
	imul	rax, rax, 274877907
	sar	rax, 38
	sub	eax, esi
	cmp	DWORD PTR 8[rdx], eax
	jg	.L11
	mov	rdi, r13
	call	zfHpAniLowerImmunity@PLT
.L11:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	zfHpAniRestart@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	cmp	esi, eax
	jle	.L1
	mov	ecx, DWORD PTR 20[rdx]
	imul	ecx, esi
	movsx	rax, ecx
	sar	ecx, 31
	imul	rax, rax, 274877907
	sar	rax, 38
	sub	eax, ecx
	cmp	DWORD PTR 4[rdx], eax
	jg	.L13
	imul	esi, DWORD PTR 24[rdx]
	movsx	rax, esi
	sar	esi, 31
	imul	rax, rax, 274877907
	sar	rax, 38
	sub	eax, esi
	cmp	DWORD PTR 8[rdx], eax
	jg	.L14
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, r13
	call	zfHpAniOfdmErrTrigger@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, r13
	call	zfHpAniCckErrTrigger@PLT
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	zfHpAniArPoll, .-zfHpAniArPoll
	.comm	wd,8,8
	.comm	ZM_HAL_PROCESS_ANI,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_hpani.c_zfHpAniArPoll.c"
	.text
	.align	2
	.global	zfHpAniArPoll
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfHpAniArPoll, %function
zfHpAniArPoll:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r1
	mov	r4, r3
	mov	r5, r2
	mov	r6, r0
	bl	zmw_get_wlan_dev
	ldr	r3, .L17
	ldr	r3, [r3]
	ldr	ip, [r3]
	ldr	r0, [ip, #20]
	ldr	r3, [ip, #16]
	ldr	r1, [r0]
	cmp	r3, #0
	add	r1, r7, r1
	str	r1, [r0]
	beq	.L2
	ldr	r7, [ip, #12]
	ldr	r2, [r0, #4]
	ldr	lr, [ip, #8]
	ldr	r3, [r0, #8]
	add	r7, r7, r5
	add	lr, lr, r4
	add	r5, r2, r5
	add	r4, r3, r4
	str	r7, [ip, #12]
	str	r5, [r0, #4]
	str	lr, [ip, #8]
	str	r4, [r0, #8]
.L2:
	ldr	r3, .L17+4
	ldr	r2, [ip]
	ldr	r3, [r3]
	tst	r2, r3
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [ip, #4]
	add	r2, r3, r3, lsl #2
	cmp	r1, r2
	ble	.L4
	ldr	r3, [r0, #12]
	ldr	r2, .L17+8
	mul	r3, r1, r3
	smull	ip, lr, r2, r3
	ldr	ip, [r0, #4]
	asr	r3, r3, #31
	rsb	r3, r3, lr, asr #6
	cmp	ip, r3
	bgt	.L14
	ldr	r3, [r0, #16]
	ldr	r0, [r0, #8]
	mul	r1, r3, r1
	smull	r3, r2, r1, r2
	asr	r1, r1, #31
	rsb	r1, r1, r2, asr #6
	cmp	r0, r1
	bgt	.L14
	mov	r0, r6
	bl	zfHpAniLowerImmunity
.L14:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	zfHpAniRestart
.L4:
	cmp	r1, r3
	pople	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r0, #20]
	ldr	r2, .L17+8
	mul	r3, r1, r3
	smull	ip, lr, r2, r3
	ldr	ip, [r0, #4]
	asr	r3, r3, #31
	rsb	r3, r3, lr, asr #6
	cmp	ip, r3
	bgt	.L16
	ldr	ip, [r0, #24]
	ldr	r3, [r0, #8]
	mul	r1, ip, r1
	smull	r0, r2, r1, r2
	asr	r1, r1, #31
	rsb	r1, r1, r2, asr #6
	cmp	r3, r1
	pople	{r4, r5, r6, r7, r8, pc}
	mov	r0, r6
	bl	zfHpAniCckErrTrigger
	b	.L14
.L16:
	mov	r0, r6
	bl	zfHpAniOfdmErrTrigger
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	zfHpAniRestart
.L18:
	.align	2
.L17:
	.word	wd
	.word	ZM_HAL_PROCESS_ANI
	.word	274877907
	.size	zfHpAniArPoll, .-zfHpAniArPoll
	.comm	wd,4,4
	.comm	ZM_HAL_PROCESS_ANI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
