	.file	"extr_ani.c_ath5k_ani_lower_immunity.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"lower immunity"
	.text
	.p2align 4
	.type	ath5k_ani_lower_immunity, @function
ath5k_ani_lower_immunity:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	add	rdi, 8
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	call	ewma_beacon_rssi_read@PLT
	mov	esi, DWORD PTR ATH5K_DEBUG_ANI[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	mov	r12d, eax
	call	ATH5K_DBG_UNLIMIT@PLT
	mov	rax, QWORD PTR NL80211_IFTYPE_AP[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L4
	cmp	DWORD PTR ATH5K_ANI_RSSI_THR_HIGH[rip], r12d
	jge	.L14
.L3:
	mov	rsi, QWORD PTR 8[rbx]
	test	rsi, rsi
	jg	.L15
	mov	rsi, QWORD PTR 16[rbx]
	test	rsi, rsi
	jg	.L16
	pop	rbx
	.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
.L14:
	.cfi_restore_state
	cmp	DWORD PTR ATH5K_ANI_RSSI_THR_LOW[rip], r12d
	jge	.L4
	mov	eax, DWORD PTR 24[rbx]
	test	eax, eax
	je	.L17
.L4:
	mov	rsi, QWORD PTR [rbx]
	test	rsi, rsi
	jle	.L3
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	sub	rsi, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ath5k_ani_set_firstep_level@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	sub	rsi, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ath5k_ani_set_spur_immunity_level@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	sub	rsi, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ath5k_ani_set_noise_immunity_level@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	esi, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ath5k_ani_set_ofdm_weak_signal_detection@PLT
	.cfi_endproc
.LFE0:
	.size	ath5k_ani_lower_immunity, .-ath5k_ani_lower_immunity
	.comm	NL80211_IFTYPE_AP,8,8
	.comm	ATH5K_DEBUG_ANI,4,4
	.comm	ATH5K_ANI_RSSI_THR_LOW,4,4
	.comm	ATH5K_ANI_RSSI_THR_HIGH,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_ani.c_ath5k_ani_lower_immunity.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"lower immunity\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath5k_ani_lower_immunity, %function
ath5k_ani_lower_immunity:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	add	r0, r0, #4
	mov	r5, r1
	bl	ewma_beacon_rssi_read
	ldr	r2, .L17
	mov	r6, r0
	ldr	r1, [r2]
	mov	r0, r4
	ldr	r2, .L17+4
	bl	ATH5K_DBG_UNLIMIT
	ldr	r3, .L17+8
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L4
	ldr	r3, .L17+12
	ldr	r3, [r3]
	cmp	r3, r6
	bge	.L14
.L3:
	ldr	r1, [r5, #4]
	cmp	r1, #0
	bgt	.L15
	ldr	r1, [r5, #8]
	cmp	r1, #0
	pople	{r4, r5, r6, pc}
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	sub	r1, r1, #1
	b	ath5k_ani_set_noise_immunity_level
.L14:
	ldr	r3, .L17+16
	ldr	r3, [r3]
	cmp	r3, r6
	bge	.L4
	ldr	r3, [r5, #12]
	cmp	r3, #0
	beq	.L16
.L4:
	ldr	r1, [r5]
	cmp	r1, #0
	ble	.L3
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	sub	r1, r1, #1
	b	ath5k_ani_set_firstep_level
.L15:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	sub	r1, r1, #1
	b	ath5k_ani_set_spur_immunity_level
.L16:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	mov	r1, #1
	b	ath5k_ani_set_ofdm_weak_signal_detection
.L18:
	.align	2
.L17:
	.word	ATH5K_DEBUG_ANI
	.word	.LC0
	.word	NL80211_IFTYPE_AP
	.word	ATH5K_ANI_RSSI_THR_HIGH
	.word	ATH5K_ANI_RSSI_THR_LOW
	.size	ath5k_ani_lower_immunity, .-ath5k_ani_lower_immunity
	.comm	NL80211_IFTYPE_AP,4,4
	.comm	ATH5K_DEBUG_ANI,4,4
	.comm	ATH5K_ANI_RSSI_THR_LOW,4,4
	.comm	ATH5K_ANI_RSSI_THR_HIGH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
