	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_getrxfilter           ## -- Begin function ath9k_hw_getrxfilter
	.p2align	4, 0x90
_ath9k_hw_getrxfilter:                  ## @ath9k_hw_getrxfilter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_AR_RX_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_REG_READ
	movl	%eax, %r14d
	movq	_AR_PHY_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_REG_READ
	movl	%eax, %ecx
	movq	_AR_PHY_ERR_RADAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ecx, %eax
	je	LBB0_2
## %bb.1:
	movq	_ATH9K_RX_FILTER_PHYRADAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	movq	_AR_PHY_ERR_OFDM_TIMING@GOTPCREL(%rip), %rsi
	movq	_AR_PHY_ERR_CCK_TIMING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rsi), %edx
	andl	%ecx, %edx
	je	LBB0_4
## %bb.3:
	movq	_ATH9K_RX_FILTER_PHYERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_4:
	orl	%edx, %r14d
	orl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_RX_FILTER,4,2               ## @AR_RX_FILTER
	.comm	_AR_PHY_ERR,4,2                 ## @AR_PHY_ERR
	.comm	_AR_PHY_ERR_RADAR,4,2           ## @AR_PHY_ERR_RADAR
	.comm	_ATH9K_RX_FILTER_PHYRADAR,4,2   ## @ATH9K_RX_FILTER_PHYRADAR
	.comm	_AR_PHY_ERR_OFDM_TIMING,4,2     ## @AR_PHY_ERR_OFDM_TIMING
	.comm	_AR_PHY_ERR_CCK_TIMING,4,2      ## @AR_PHY_ERR_CCK_TIMING
	.comm	_ATH9K_RX_FILTER_PHYERR,4,2     ## @ATH9K_RX_FILTER_PHYERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_getrxfilter           ; -- Begin function ath9k_hw_getrxfilter
	.p2align	2
_ath9k_hw_getrxfilter:                  ; @ath9k_hw_getrxfilter
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _AR_RX_FILTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR_RX_FILTER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_REG_READ
	mov	x20, x0
Lloh3:
	adrp	x8, _AR_PHY_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR_PHY_ERR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_REG_READ
Lloh6:
	adrp	x8, _AR_PHY_ERR_RADAR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AR_PHY_ERR_RADAR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ATH9K_RX_FILTER_PHYRADAR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ATH9K_RX_FILTER_PHYRADAR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
	orr	w8, w8, w20
Lloh12:
	adrp	x9, _AR_PHY_ERR_OFDM_TIMING@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AR_PHY_ERR_OFDM_TIMING@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _AR_PHY_ERR_CCK_TIMING@GOTPAGE
Lloh16:
	ldr	x10, [x10, _AR_PHY_ERR_CCK_TIMING@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
Lloh18:
	adrp	x11, _ATH9K_RX_FILTER_PHYERR@GOTPAGE
Lloh19:
	ldr	x11, [x11, _ATH9K_RX_FILTER_PHYERR@GOTPAGEOFF]
	orr	w9, w10, w9
Lloh20:
	ldr	w10, [x11]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w0, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_RX_FILTER,4,2               ; @AR_RX_FILTER
	.comm	_AR_PHY_ERR,4,2                 ; @AR_PHY_ERR
	.comm	_AR_PHY_ERR_RADAR,4,2           ; @AR_PHY_ERR_RADAR
	.comm	_ATH9K_RX_FILTER_PHYRADAR,4,2   ; @ATH9K_RX_FILTER_PHYRADAR
	.comm	_AR_PHY_ERR_OFDM_TIMING,4,2     ; @AR_PHY_ERR_OFDM_TIMING
	.comm	_AR_PHY_ERR_CCK_TIMING,4,2      ; @AR_PHY_ERR_CCK_TIMING
	.comm	_ATH9K_RX_FILTER_PHYERR,4,2     ; @ATH9K_RX_FILTER_PHYERR
.subsections_via_symbols
