	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_ani_restart
_ath9k_ani_restart:                     ## @ath9k_ani_restart
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	$0, 24(%rdi)
	callq	_ENABLE_REGWRITE_BUFFER
	movq	_AR_PHY_ERR_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_REG_WRITE
	movq	_AR_PHY_ERR_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_REG_WRITE
	movq	_AR_PHY_ERR_MASK_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR_PHY_ERR_OFDM_TIMING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_REG_WRITE
	movq	_AR_PHY_ERR_MASK_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR_PHY_ERR_CCK_TIMING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_REG_WRITE
	movq	%rbx, %rdi
	callq	_REGWRITE_BUFFER_FLUSH
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_ath9k_hw_update_mibstats
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_PHY_ERR_1,4,2               ## @AR_PHY_ERR_1
	.comm	_AR_PHY_ERR_2,4,2               ## @AR_PHY_ERR_2
	.comm	_AR_PHY_ERR_MASK_1,4,2          ## @AR_PHY_ERR_MASK_1
	.comm	_AR_PHY_ERR_OFDM_TIMING,4,2     ## @AR_PHY_ERR_OFDM_TIMING
	.comm	_AR_PHY_ERR_MASK_2,4,2          ## @AR_PHY_ERR_MASK_2
	.comm	_AR_PHY_ERR_CCK_TIMING,4,2      ## @AR_PHY_ERR_CCK_TIMING
	.no_dead_strip	_ath9k_ani_restart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_ani_restart
_ath9k_ani_restart:                     ; @ath9k_ani_restart
	.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
	str	xzr, [x0, #24]
	bl	_ENABLE_REGWRITE_BUFFER
Lloh0:
	adrp	x8, _AR_PHY_ERR_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR_PHY_ERR_1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WRITE
Lloh3:
	adrp	x8, _AR_PHY_ERR_2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR_PHY_ERR_2@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WRITE
Lloh6:
	adrp	x8, _AR_PHY_ERR_MASK_1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AR_PHY_ERR_MASK_1@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _AR_PHY_ERR_OFDM_TIMING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AR_PHY_ERR_OFDM_TIMING@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_REG_WRITE
Lloh12:
	adrp	x8, _AR_PHY_ERR_MASK_2@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AR_PHY_ERR_MASK_2@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _AR_PHY_ERR_CCK_TIMING@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AR_PHY_ERR_CCK_TIMING@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_REG_WRITE
	mov	x0, x19
	bl	_REGWRITE_BUFFER_FLUSH
	mov	x0, x19
	mov	x1, x19
	bl	_ath9k_hw_update_mibstats
	stp	xzr, xzr, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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_PHY_ERR_1,4,2               ; @AR_PHY_ERR_1
	.comm	_AR_PHY_ERR_2,4,2               ; @AR_PHY_ERR_2
	.comm	_AR_PHY_ERR_MASK_1,4,2          ; @AR_PHY_ERR_MASK_1
	.comm	_AR_PHY_ERR_OFDM_TIMING,4,2     ; @AR_PHY_ERR_OFDM_TIMING
	.comm	_AR_PHY_ERR_MASK_2,4,2          ; @AR_PHY_ERR_MASK_2
	.comm	_AR_PHY_ERR_CCK_TIMING,4,2      ; @AR_PHY_ERR_CCK_TIMING
	.no_dead_strip	_ath9k_ani_restart
.subsections_via_symbols
