	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_reset_txstatus_ring   ## -- Begin function ath9k_hw_reset_txstatus_ring
	.p2align	4, 0x90
_ath9k_hw_reset_txstatus_ring:          ## @ath9k_hw_reset_txstatus_ring
	.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)
	movq	16(%rdi), %rdi
	movl	(%rbx), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	%rbx, %rdi
	callq	_ath9k_hw_common
	movq	_XMIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	8(%rbx), %ecx
	movl	(%rbx), %edx
	movl	4(%rbx), %r8d
	movq	16(%rbx), %r9
	movl	%edx, (%rsp)
	leaq	L_.str(%rip), %rdx
	movl	%eax, %edi
	callq	_ath_dbg
	movq	_AR_Q_STATUS_RING_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	callq	_REG_WRITE
	movq	_AR_Q_STATUS_RING_END@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_REG_WRITE                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XMIT,4,2                       ## @XMIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TS Start 0x%x End 0x%x Virt %p, Size %d\n"

	.comm	_AR_Q_STATUS_RING_START,4,2     ## @AR_Q_STATUS_RING_START
	.comm	_AR_Q_STATUS_RING_END,4,2       ## @AR_Q_STATUS_RING_END
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_reset_txstatus_ring   ; -- Begin function ath9k_hw_reset_txstatus_ring
	.p2align	2
_ath9k_hw_reset_txstatus_ring:          ; @ath9k_hw_reset_txstatus_ring
	.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]
	ldr	x0, [x0, #16]
	ldr	w8, [x19]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	mov	x0, x19
	bl	_ath9k_hw_common
Lloh0:
	adrp	x8, _XMIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XMIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldp	w4, w3, [x19, #4]
	ldr	x5, [x19, #16]
	ldr	w6, [x19]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_ath_dbg
Lloh5:
	adrp	x8, _AR_Q_STATUS_RING_START@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AR_Q_STATUS_RING_START@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
	mov	x0, x19
	bl	_REG_WRITE
Lloh8:
	adrp	x8, _AR_Q_STATUS_RING_END@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AR_Q_STATUS_RING_END@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_WRITE
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XMIT,4,2                       ; @XMIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TS Start 0x%x End 0x%x Virt %p, Size %d\n"

	.comm	_AR_Q_STATUS_RING_START,4,2     ; @AR_Q_STATUS_RING_START
	.comm	_AR_Q_STATUS_RING_END,4,2       ; @AR_Q_STATUS_RING_END
.subsections_via_symbols
