	.file	"extr_ar9300_freebsd.c_ar9300_ani_poll_freebsd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ar9300_ani_poll_freebsd
	.type	ar9300_ani_poll_freebsd, @function
ar9300_ani_poll_freebsd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	mov	esi, 48
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	sub	rsp, 160
	.cfi_def_cfa_offset 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 152[rsp], rax
	xor	eax, eax
	mov	r13, rsp
	lea	r14, 48[rsp]
	lea	r15, 96[rsp]
	mov	rdi, r13
	call	OS_MEMZERO@PLT
	mov	esi, 48
	mov	rdi, r14
	call	OS_MEMZERO@PLT
	mov	esi, 48
	mov	rdi, r15
	call	OS_MEMZERO@PLT
	mov	rcx, r14
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, rbp
	call	ar9300_ani_ar_poll@PLT
	cmp	QWORD PTR 88[rsp], 0
	jne	.L6
.L1:
	mov	rax, QWORD PTR 152[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 160
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR 80[rsp]
	mov	rsi, r15
	mov	rdi, rbp
	mov	DWORD PTR 132[rsp], eax
	mov	eax, DWORD PTR 72[rsp]
	mov	DWORD PTR 124[rsp], eax
	mov	eax, DWORD PTR 64[rsp]
	mov	DWORD PTR 116[rsp], eax
	mov	eax, DWORD PTR 56[rsp]
	mov	DWORD PTR 108[rsp], eax
	mov	eax, DWORD PTR 48[rsp]
	mov	DWORD PTR 100[rsp], eax
	call	ath_hal_survey_add_sample@PLT
	jmp	.L1
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ar9300_ani_poll_freebsd, .-ar9300_ani_poll_freebsd
	.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_ar9300_freebsd.c_ar9300_ani_poll_freebsd.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ar9300_ani_poll_freebsd
	.syntax unified
	.arm
	.fpu softvfp
	.type	ar9300_ani_poll_freebsd, %function
ar9300_ani_poll_freebsd:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	mov	r5, r1
	sub	sp, sp, #140
	ldr	r3, .L11
	mov	r1, #44
	mov	r0, sp
	ldr	r3, [r3]
	str	r3, [sp, #132]
	mov	r3,#0
	bl	OS_MEMZERO
	mov	r1, #44
	add	r0, sp, #44
	bl	OS_MEMZERO
	mov	r1, #44
	add	r0, sp, #88
	bl	OS_MEMZERO
	add	r3, sp, #44
	mov	r2, r5
	mov	r1, sp
	mov	r0, r4
	bl	ar9300_ani_ar_poll
	ldr	r3, [sp, #84]
	cmp	r3, #0
	bne	.L9
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #132]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #140
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	ldr	r3, [sp, #76]
	ldr	lr, [sp, #68]
	ldr	ip, [sp, #60]
	ldr	r2, [sp, #52]
	str	r3, [sp, #124]
	ldr	r3, [sp, #44]
	mov	r0, r4
	add	r1, sp, #88
	str	lr, [sp, #116]
	str	ip, [sp, #108]
	str	r2, [sp, #100]
	str	r3, [sp, #92]
	bl	ath_hal_survey_add_sample
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	ar9300_ani_poll_freebsd, .-ar9300_ani_poll_freebsd
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
