	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_update_survey_nf           ## -- Begin function ath_update_survey_nf
	.p2align	4, 0x90
_ath_update_survey_nf:                  ## @ath_update_survey_nf
	.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, %rax
	movq	8(%rdi), %rdi
	movq	(%rdi), %rcx
	movslq	%esi, %rbx
	movq	(%rcx,%rbx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	leaq	(%rcx,%rbx,8), %rsi
	movq	(%rax), %r14
	movq	_SURVEY_INFO_NOISE_DBM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r14,%rbx,8)
	callq	_ath9k_hw_getchan_noise
	movl	%eax, (%r14,%rbx,8)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SURVEY_INFO_NOISE_DBM,4,2      ## @SURVEY_INFO_NOISE_DBM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_update_survey_nf           ; -- Begin function ath_update_survey_nf
	.p2align	2
_ath_update_survey_nf:                  ; @ath_update_survey_nf
	.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	x9, x1
	mov	x8, x0
	ldr	x0, [x0, #8]
	ldr	x10, [x0]
	add	x1, x10, w1, sxtw #3
	ldr	x2, [x1]
	cbz	x2, LBB0_2
; %bb.1:
	sxtw	x9, w9
Lloh0:
	adrp	x10, _SURVEY_INFO_NOISE_DBM@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SURVEY_INFO_NOISE_DBM@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh2:
	ldr	w10, [x10]
	add	x19, x8, x9, lsl #3
	ldr	w8, [x19, #4]
	orr	w8, w8, w10
	str	w8, [x19, #4]
	bl	_ath9k_hw_getchan_noise
	str	w0, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SURVEY_INFO_NOISE_DBM,4,2      ; @SURVEY_INFO_NOISE_DBM
.subsections_via_symbols
