	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath5k_hw_update_nfcal_hist
_ath5k_hw_update_nfcal_hist:            ## @ath5k_hw_update_nfcal_hist
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	(%rdi), %rax
	incq	%rax
	movq	_ATH5K_NF_CAL_HIST_MAX@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	decq	%rcx
	andq	%rax, %rcx
	movl	%ecx, (%rdi)
	movq	8(%rdi), %rax
	movl	%esi, (%rax,%rcx,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH5K_NF_CAL_HIST_MAX,4,2      ## @ATH5K_NF_CAL_HIST_MAX
	.no_dead_strip	_ath5k_hw_update_nfcal_hist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath5k_hw_update_nfcal_hist
_ath5k_hw_update_nfcal_hist:            ; @ath5k_hw_update_nfcal_hist
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	add	w8, w8, #1
Lloh0:
	adrp	x9, _ATH5K_NF_CAL_HIST_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATH5K_NF_CAL_HIST_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w9, w9, #1
	and	w8, w9, w8
	str	w8, [x0]
	ldr	x9, [x0, #8]
	str	w1, [x9, w8, sxtw #2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH5K_NF_CAL_HIST_MAX,4,2      ; @ATH5K_NF_CAL_HIST_MAX
	.no_dead_strip	_ath5k_hw_update_nfcal_hist
.subsections_via_symbols
