	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_hw_cycle_counters_update   ## -- Begin function ath_hw_cycle_counters_update
	.p2align	4, 0x90
_ath_hw_cycle_counters_update:          ## @ath_hw_cycle_counters_update
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	32(%rdi), %rbx
	movq	_AR_MIBC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR_MIBC_FMC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_REG_WRITE
	movq	_AR_CCCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_REG_READ
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_AR_RCCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_REG_READ
	movq	%rax, %r12
	movq	_AR_RFCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_REG_READ
	movq	%rax, %r13
	movq	_AR_TFCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_REG_READ
	movq	%rax, %r15
	movq	_AR_CCCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_REG_WRITE
	movq	_AR_RFCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_REG_WRITE
	movq	_AR_RCCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_REG_WRITE
	movq	_AR_TFCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_REG_WRITE
	movq	_AR_MIBC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_REG_WRITE
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, 28(%r14)
	addl	%r12d, 24(%r14)
	addl	%r13d, 20(%r14)
	addl	%r15d, 16(%r14)
	addl	%eax, 12(%r14)
	addl	%r12d, 8(%r14)
	addl	%r13d, 4(%r14)
	addl	%r15d, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_MIBC,4,2                    ## @AR_MIBC
	.comm	_AR_MIBC_FMC,4,2                ## @AR_MIBC_FMC
	.comm	_AR_CCCNT,4,2                   ## @AR_CCCNT
	.comm	_AR_RCCNT,4,2                   ## @AR_RCCNT
	.comm	_AR_RFCNT,4,2                   ## @AR_RFCNT
	.comm	_AR_TFCNT,4,2                   ## @AR_TFCNT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_hw_cycle_counters_update   ; -- Begin function ath_hw_cycle_counters_update
	.p2align	2
_ath_hw_cycle_counters_update:          ; @ath_hw_cycle_counters_update
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x21, [x0, #32]
Lloh0:
	adrp	x8, _AR_MIBC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR_MIBC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _AR_MIBC_FMC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR_MIBC_FMC@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_REG_WRITE
Lloh6:
	adrp	x26, _AR_CCCNT@GOTPAGE
Lloh7:
	ldr	x26, [x26, _AR_CCCNT@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x21
	bl	_REG_READ
	mov	x20, x0
Lloh8:
	adrp	x27, _AR_RCCNT@GOTPAGE
Lloh9:
	ldr	x27, [x27, _AR_RCCNT@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x21
	bl	_REG_READ
	mov	x22, x0
Lloh10:
	adrp	x28, _AR_RFCNT@GOTPAGE
Lloh11:
	ldr	x28, [x28, _AR_RFCNT@GOTPAGEOFF]
	ldr	w1, [x28]
	mov	x0, x21
	bl	_REG_READ
	mov	x23, x0
Lloh12:
	adrp	x25, _AR_TFCNT@GOTPAGE
Lloh13:
	ldr	x25, [x25, _AR_TFCNT@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x21
	bl	_REG_READ
	mov	x24, x0
	ldr	w1, [x26]
	mov	x0, x21
	mov	w2, #0
	bl	_REG_WRITE
	ldr	w1, [x28]
	mov	x0, x21
	mov	w2, #0
	bl	_REG_WRITE
	ldr	w1, [x27]
	mov	x0, x21
	mov	w2, #0
	bl	_REG_WRITE
	ldr	w1, [x25]
	mov	x0, x21
	mov	w2, #0
	bl	_REG_WRITE
Lloh14:
	adrp	x8, _AR_MIBC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AR_MIBC@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_REG_WRITE
	ldp	w9, w8, [x19, #24]
	add	w8, w8, w20
	add	w9, w9, w22
	stp	w9, w8, [x19, #24]
	ldp	w9, w8, [x19, #16]
	add	w8, w8, w23
	add	w9, w9, w24
	stp	w9, w8, [x19, #16]
	ldp	w9, w8, [x19, #8]
	add	w8, w8, w20
	add	w9, w9, w22
	stp	w9, w8, [x19, #8]
	ldp	w9, w8, [x19]
	add	w8, w8, w23
	add	w9, w9, w24
	stp	w9, w8, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_MIBC,4,2                    ; @AR_MIBC
	.comm	_AR_MIBC_FMC,4,2                ; @AR_MIBC_FMC
	.comm	_AR_CCCNT,4,2                   ; @AR_CCCNT
	.comm	_AR_RCCNT,4,2                   ; @AR_RCCNT
	.comm	_AR_RFCNT,4,2                   ; @AR_RFCNT
	.comm	_AR_TFCNT,4,2                   ; @AR_TFCNT
.subsections_via_symbols
