	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath5k_enable_phy_err_counters
_ath5k_enable_phy_err_counters:         ## @ath5k_enable_phy_err_counters
	.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	_ATH5K_PHYERR_CNT_MAX@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	_ATH5K_ANI_OFDM_TRIG_HIGH@GOTPCREL(%rip), %rax
	subq	(%rax), %rsi
	movq	_AR5K_PHYERR_CNT1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ath5k_hw_reg_write
	movq	(%r14), %rsi
	movq	_ATH5K_ANI_CCK_TRIG_HIGH@GOTPCREL(%rip), %rax
	subq	(%rax), %rsi
	movq	_AR5K_PHYERR_CNT2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ath5k_hw_reg_write
	movq	_AR5K_PHY_ERR_FIL_OFDM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_AR5K_PHYERR_CNT1_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ath5k_hw_reg_write
	movq	_AR5K_PHY_ERR_FIL_CCK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_AR5K_PHYERR_CNT2_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ath5k_hw_reg_write
	movq	_AR5K_OFDM_FIL_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ath5k_hw_reg_write
	movq	_AR5K_CCK_FIL_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ath5k_hw_reg_write             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH5K_PHYERR_CNT_MAX,8,3       ## @ATH5K_PHYERR_CNT_MAX
	.comm	_ATH5K_ANI_OFDM_TRIG_HIGH,8,3   ## @ATH5K_ANI_OFDM_TRIG_HIGH
	.comm	_AR5K_PHYERR_CNT1,4,2           ## @AR5K_PHYERR_CNT1
	.comm	_ATH5K_ANI_CCK_TRIG_HIGH,8,3    ## @ATH5K_ANI_CCK_TRIG_HIGH
	.comm	_AR5K_PHYERR_CNT2,4,2           ## @AR5K_PHYERR_CNT2
	.comm	_AR5K_PHY_ERR_FIL_OFDM,8,3      ## @AR5K_PHY_ERR_FIL_OFDM
	.comm	_AR5K_PHYERR_CNT1_MASK,4,2      ## @AR5K_PHYERR_CNT1_MASK
	.comm	_AR5K_PHY_ERR_FIL_CCK,8,3       ## @AR5K_PHY_ERR_FIL_CCK
	.comm	_AR5K_PHYERR_CNT2_MASK,4,2      ## @AR5K_PHYERR_CNT2_MASK
	.comm	_AR5K_OFDM_FIL_CNT,4,2          ## @AR5K_OFDM_FIL_CNT
	.comm	_AR5K_CCK_FIL_CNT,4,2           ## @AR5K_CCK_FIL_CNT
	.no_dead_strip	_ath5k_enable_phy_err_counters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath5k_enable_phy_err_counters
_ath5k_enable_phy_err_counters:         ; @ath5k_enable_phy_err_counters
	.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	x20, _ATH5K_PHYERR_CNT_MAX@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ATH5K_PHYERR_CNT_MAX@GOTPAGEOFF]
Lloh2:
	adrp	x8, _ATH5K_ANI_OFDM_TRIG_HIGH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATH5K_ANI_OFDM_TRIG_HIGH@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh4:
	ldr	x8, [x8]
	sub	x1, x9, x8
Lloh5:
	adrp	x8, _AR5K_PHYERR_CNT1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AR5K_PHYERR_CNT1@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_ath5k_hw_reg_write
Lloh8:
	adrp	x8, _ATH5K_ANI_CCK_TRIG_HIGH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATH5K_ANI_CCK_TRIG_HIGH@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh10:
	ldr	x8, [x8]
	sub	x1, x9, x8
Lloh11:
	adrp	x8, _AR5K_PHYERR_CNT2@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AR5K_PHYERR_CNT2@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ath5k_hw_reg_write
Lloh14:
	adrp	x8, _AR5K_PHY_ERR_FIL_OFDM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AR5K_PHY_ERR_FIL_OFDM@GOTPAGEOFF]
Lloh16:
	ldr	x1, [x8]
Lloh17:
	adrp	x8, _AR5K_PHYERR_CNT1_MASK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AR5K_PHYERR_CNT1_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ath5k_hw_reg_write
Lloh20:
	adrp	x8, _AR5K_PHY_ERR_FIL_CCK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AR5K_PHY_ERR_FIL_CCK@GOTPAGEOFF]
Lloh22:
	ldr	x1, [x8]
Lloh23:
	adrp	x8, _AR5K_PHYERR_CNT2_MASK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AR5K_PHYERR_CNT2_MASK@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ath5k_hw_reg_write
Lloh26:
	adrp	x8, _AR5K_OFDM_FIL_CNT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AR5K_OFDM_FIL_CNT@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	bl	_ath5k_hw_reg_write
Lloh29:
	adrp	x8, _AR5K_CCK_FIL_CNT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AR5K_CCK_FIL_CNT@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ath5k_hw_reg_write
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH5K_PHYERR_CNT_MAX,8,3       ; @ATH5K_PHYERR_CNT_MAX
	.comm	_ATH5K_ANI_OFDM_TRIG_HIGH,8,3   ; @ATH5K_ANI_OFDM_TRIG_HIGH
	.comm	_AR5K_PHYERR_CNT1,4,2           ; @AR5K_PHYERR_CNT1
	.comm	_ATH5K_ANI_CCK_TRIG_HIGH,8,3    ; @ATH5K_ANI_CCK_TRIG_HIGH
	.comm	_AR5K_PHYERR_CNT2,4,2           ; @AR5K_PHYERR_CNT2
	.comm	_AR5K_PHY_ERR_FIL_OFDM,8,3      ; @AR5K_PHY_ERR_FIL_OFDM
	.comm	_AR5K_PHYERR_CNT1_MASK,4,2      ; @AR5K_PHYERR_CNT1_MASK
	.comm	_AR5K_PHY_ERR_FIL_CCK,8,3       ; @AR5K_PHY_ERR_FIL_CCK
	.comm	_AR5K_PHYERR_CNT2_MASK,4,2      ; @AR5K_PHYERR_CNT2_MASK
	.comm	_AR5K_OFDM_FIL_CNT,4,2          ; @AR5K_OFDM_FIL_CNT
	.comm	_AR5K_CCK_FIL_CNT,4,2           ; @AR5K_CCK_FIL_CNT
	.no_dead_strip	_ath5k_enable_phy_err_counters
.subsections_via_symbols
