	.file	"extr_pcu.c_ath5k_hw_check_beacon_timers.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ath5k_hw_check_beacon_timers
	.type	ath5k_hw_check_beacon_timers, @function
ath5k_hw_check_beacon_timers:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR AR5K_TIMER0[rip]
	call	ath5k_hw_reg_read@PLT
	mov	esi, DWORD PTR AR5K_TIMER3[rip]
	mov	rdi, rbp
	mov	r12d, eax
	call	ath5k_hw_reg_read@PLT
	mov	esi, DWORD PTR AR5K_TIMER1[rip]
	mov	rdi, rbp
	mov	r14d, eax
	call	ath5k_hw_reg_read@PLT
	mov	ecx, r13d
	mov	edx, 1
	mov	esi, r14d
	mov	edi, r12d
	mov	ebp, eax
	call	ath5k_check_timer_win@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	jne	.L8
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, ebp
	mov	edx, DWORD PTR AR5K_TUNE_DMA_BEACON_RESP[rip]
	mov	ecx, r13d
	mov	esi, r12d
	sar	edi, 3
	call	ath5k_check_timer_win@PLT
	test	rax, rax
	setne	al
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	movzx	eax, al
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ath5k_hw_check_beacon_timers, .-ath5k_hw_check_beacon_timers
	.comm	AR5K_TUNE_DMA_BEACON_RESP,4,4
	.comm	AR5K_TIMER3,4,4
	.comm	AR5K_TIMER1,4,4
	.comm	AR5K_TIMER0,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_pcu.c_ath5k_hw_check_beacon_timers.c"
	.text
	.align	2
	.global	ath5k_hw_check_beacon_timers
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath5k_hw_check_beacon_timers, %function
ath5k_hw_check_beacon_timers:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	push	{r4, r5, r6, lr}
	mov	r6, r1
	ldr	r1, [r3]
	mov	r4, r0
	bl	ath5k_hw_reg_read
	ldr	r3, .L8+4
	mov	r5, r0
	ldr	r1, [r3]
	mov	r0, r4
	bl	ath5k_hw_reg_read
	mov	r3, r0
	ldr	r2, .L8+8
	mov	r0, r4
	ldr	r1, [r2]
	mov	r4, r3
	bl	ath5k_hw_reg_read
	mov	ip, r0
	mov	r1, r4
	mov	r3, r6
	mov	r0, r5
	mov	r2, #1
	mov	r4, ip
	bl	ath5k_check_timer_win
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r2, .L8+12
	mov	r3, r6
	mov	r1, r5
	ldr	r2, [r2]
	asr	r0, r4, #3
	bl	ath5k_check_timer_win
	subs	r0, r0, #0
	movne	r0, #1
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	AR5K_TIMER0
	.word	AR5K_TIMER3
	.word	AR5K_TIMER1
	.word	AR5K_TUNE_DMA_BEACON_RESP
	.size	ath5k_hw_check_beacon_timers, .-ath5k_hw_check_beacon_timers
	.comm	AR5K_TUNE_DMA_BEACON_RESP,4,4
	.comm	AR5K_TIMER3,4,4
	.comm	AR5K_TIMER1,4,4
	.comm	AR5K_TIMER0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
