	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath5k_hw_chan_has_spur_noise   ## -- Begin function ath5k_hw_chan_has_spur_noise
	.p2align	4, 0x90
_ath5k_hw_chan_has_spur_noise:          ## @ath5k_hw_chan_has_spur_noise
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_AR5K_RF5112@GOTPCREL(%rip), %rdx
	movl	$40, %ecx
	cmpq	(%rdx), %rax
	je	LBB0_4
## %bb.1:
	movq	_AR5K_RF5413@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_4
## %bb.2:
	movq	_AR5K_RF2413@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_4
## %bb.3:
	movq	_AR5K_SREV_AR2417@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	sarl	$4, %eax
	xorl	%ecx, %ecx
	cmpl	%eax, 8(%rdi)
	sete	%cl
	leal	32(,%rcx,8), %ecx
LBB0_4:
	movl	(%rsi), %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	setne	%al
	addl	$-23, %edx
	cmpl	$-13, %edx
	setb	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR5K_RF5112,8,3                ## @AR5K_RF5112
	.comm	_AR5K_RF5413,8,3                ## @AR5K_RF5413
	.comm	_AR5K_RF2413,8,3                ## @AR5K_RF2413
	.comm	_AR5K_SREV_AR2417,4,2           ## @AR5K_SREV_AR2417
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath5k_hw_chan_has_spur_noise   ; -- Begin function ath5k_hw_chan_has_spur_noise
	.p2align	2
_ath5k_hw_chan_has_spur_noise:          ; @ath5k_hw_chan_has_spur_noise
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _AR5K_RF5112@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR5K_RF5112@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x10, [x8]
Lloh3:
	adrp	x8, _AR5K_RF5413@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR5K_RF5413@GOTPAGEOFF]
Lloh5:
	adrp	x11, _AR5K_RF2413@GOTPAGE
Lloh6:
	ldr	x11, [x11, _AR5K_RF2413@GOTPAGEOFF]
Lloh7:
	ldr	x12, [x8]
Lloh8:
	ldr	x11, [x11]
	mov	w8, #40
	cmp	x9, x10
	ccmp	x9, x12, #4, ne
	ccmp	x9, x11, #4, ne
	b.eq	LBB0_2
; %bb.1:
	ldr	w9, [x0, #8]
Lloh9:
	adrp	x10, _AR5K_SREV_AR2417@GOTPAGE
Lloh10:
	ldr	x10, [x10, _AR5K_SREV_AR2417@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	w9, w10, asr #4
	mov	w9, #32
	csel	w8, w8, w9, eq
LBB0_2:
	ldr	w9, [x1]
	sdiv	w10, w9, w8
	msub	w8, w10, w8, w9
	sub	w9, w8, #23
	cmp	w8, #0
	mov	w8, #-13
	ccmp	w9, w8, #2, ne
	cset	w0, lo
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AR5K_RF5112,8,3                ; @AR5K_RF5112
	.comm	_AR5K_RF5413,8,3                ; @AR5K_RF5413
	.comm	_AR5K_RF2413,8,3                ; @AR5K_RF2413
	.comm	_AR5K_SREV_AR2417,4,2           ; @AR5K_SREV_AR2417
.subsections_via_symbols
