	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_hw_proc_txdesc
_ar9003_hw_proc_txdesc:                 ## @ar9003_hw_proc_txdesc
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	16(%rdi), %rbx
	leaq	(%rax,%rax,8), %r15
	movl	32(%rbx,%r15,4), %edi
	callq	_READ_ONCE
	movl	%eax, %esi
	movq	_AR_TxDone@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_3
## %bb.1:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r15,4), %r13
	movq	(%r14), %rax
	incq	%rax
	movslq	8(%r14), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	je	LBB0_4
## %bb.2:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_5
LBB0_3:
	movq	_EINPROGRESS@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_27
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_5:
	movq	%r12, %rbx
	movq	%rdx, (%r14)
	movl	(%r13), %edi
	movq	_AR_DescId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	movq	_ATHEROS_VENDOR_ID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_26
## %bb.6:
	movl	(%r13), %edi
	movq	_AR_TxRxDesc@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	cmpl	$1, %eax
	jne	LBB0_26
## %bb.7:
	movq	_AR_FinalTxIdx@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %r12d
	movl	%r15d, %edi
	callq	_MS
	movl	%eax, (%rbx)
	movq	_AR_SeqNum@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_MS
	movl	%eax, 4(%rbx)
	movq	_AR_TxTid@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_MS
	movl	%eax, 8(%rbx)
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movl	(%r13), %edi
	movq	_AR_TxQcuNum@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	movl	%eax, 12(%rbx)
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	4(%r13,%r15,4), %edi
	movq	_AR_TxDescId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	movl	%eax, 16(%rbx)
	movl	28(%r13,%r15,4), %eax
	movl	%eax, 76(%rbx)
	movq	$0, 60(%rbx)
	movq	_AR_TxOpExceeded@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_9
## %bb.8:
	movq	_ATH9K_TXERR_XTXOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
LBB0_9:
	movl	24(%r13,%r15,4), %edi
	callq	_READ_ONCE
	movl	%eax, %r12d
	movq	_AR_TxRSSIAnt00@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_MS
	movl	%eax, 20(%rbx)
	movq	_AR_TxRSSIAnt01@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_MS
	movl	%eax, 24(%rbx)
	movq	_AR_TxRSSIAnt02@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_MS
	movl	%eax, 28(%rbx)
	movq	_AR_TxBaStatus@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_11
## %bb.10:
	movq	_ATH9K_TX_BA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 60(%rbx)
	movl	20(%r13,%r15,4), %eax
	movl	%eax, 72(%rbx)
	movl	16(%r13,%r15,4), %eax
	movl	%eax, 68(%rbx)
LBB0_11:
	movl	12(%r13,%r15,4), %edi
	callq	_READ_ONCE
	movl	%eax, %r12d
	movq	_AR_ExcessiveRetries@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_13
## %bb.12:
	movq	_ATH9K_TXERR_XRETRY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 64(%rbx)
LBB0_13:
	movq	_AR_Filtered@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_15
## %bb.14:
	movq	_ATH9K_TXERR_FILT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 64(%rbx)
LBB0_15:
	movq	_AR_FIFOUnderrun@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_17
## %bb.16:
	movq	_ATH9K_TXERR_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 64(%rbx)
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_ath9k_hw_updatetxtriglevel
LBB0_17:
	movq	_AR_TxTimerExpired@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_19
## %bb.18:
	movq	_ATH9K_TXERR_TIMER_EXPIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 64(%rbx)
LBB0_19:
	movq	_AR_DescCfgErr@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_21
## %bb.20:
	movq	_ATH9K_TX_DESC_CFG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 60(%rbx)
LBB0_21:
	movq	_AR_TxDataUnderrun@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_23
## %bb.22:
	movq	_ATH9K_TX_DATA_UNDERRUN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 60(%rbx)
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_ath9k_hw_updatetxtriglevel
LBB0_23:
	movq	_AR_TxDelimUnderrun@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_25
## %bb.24:
	movq	_ATH9K_TX_DELIM_UNDERRUN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 60(%rbx)
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_ath9k_hw_updatetxtriglevel
LBB0_25:
	movq	_AR_RTSFailCnt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_MS
	movl	%eax, 32(%rbx)
	movq	_AR_DataFailCnt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_MS
	movl	%eax, 36(%rbx)
	movq	_AR_VirtRetryCnt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_MS
	movl	%eax, 40(%rbx)
	movl	8(%r13,%r15,4), %edi
	callq	_READ_ONCE
	movl	%eax, %r14d
	movq	_AR_TxRSSICombined@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_MS
	movl	%eax, 44(%rbx)
	movq	_AR_TxRSSIAnt10@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_MS
	movl	%eax, 48(%rbx)
	movq	_AR_TxRSSIAnt11@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_MS
	movl	%eax, 52(%rbx)
	movq	_AR_TxRSSIAnt12@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_MS
	movl	%eax, 56(%rbx)
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	$36, %edx
	callq	_memset
	jmp	LBB0_28
LBB0_26:
	movq	%r14, %rdi
	callq	_ath9k_hw_common
	movq	_XMIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r13), %ecx
	leaq	L_.str(%rip), %rdx
	movl	%eax, %edi
	callq	_ath_dbg
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$36, %edx
	callq	_memset
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_27:
	subl	(%rax), %ebx
LBB0_28:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_TxDone,4,2                  ## @AR_TxDone
	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.comm	_AR_DescId,4,2                  ## @AR_DescId
	.comm	_ATHEROS_VENDOR_ID,4,2          ## @ATHEROS_VENDOR_ID
	.comm	_AR_TxRxDesc,4,2                ## @AR_TxRxDesc
	.comm	_XMIT,4,2                       ## @XMIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Tx Descriptor error %x\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_AR_FinalTxIdx,4,2              ## @AR_FinalTxIdx
	.comm	_AR_SeqNum,4,2                  ## @AR_SeqNum
	.comm	_AR_TxTid,4,2                   ## @AR_TxTid
	.comm	_AR_TxQcuNum,4,2                ## @AR_TxQcuNum
	.comm	_AR_TxDescId,4,2                ## @AR_TxDescId
	.comm	_AR_TxOpExceeded,4,2            ## @AR_TxOpExceeded
	.comm	_ATH9K_TXERR_XTXOP,4,2          ## @ATH9K_TXERR_XTXOP
	.comm	_AR_TxRSSIAnt00,4,2             ## @AR_TxRSSIAnt00
	.comm	_AR_TxRSSIAnt01,4,2             ## @AR_TxRSSIAnt01
	.comm	_AR_TxRSSIAnt02,4,2             ## @AR_TxRSSIAnt02
	.comm	_AR_TxBaStatus,4,2              ## @AR_TxBaStatus
	.comm	_ATH9K_TX_BA,4,2                ## @ATH9K_TX_BA
	.comm	_AR_ExcessiveRetries,4,2        ## @AR_ExcessiveRetries
	.comm	_ATH9K_TXERR_XRETRY,4,2         ## @ATH9K_TXERR_XRETRY
	.comm	_AR_Filtered,4,2                ## @AR_Filtered
	.comm	_ATH9K_TXERR_FILT,4,2           ## @ATH9K_TXERR_FILT
	.comm	_AR_FIFOUnderrun,4,2            ## @AR_FIFOUnderrun
	.comm	_ATH9K_TXERR_FIFO,4,2           ## @ATH9K_TXERR_FIFO
	.comm	_AR_TxTimerExpired,4,2          ## @AR_TxTimerExpired
	.comm	_ATH9K_TXERR_TIMER_EXPIRED,4,2  ## @ATH9K_TXERR_TIMER_EXPIRED
	.comm	_AR_DescCfgErr,4,2              ## @AR_DescCfgErr
	.comm	_ATH9K_TX_DESC_CFG_ERR,4,2      ## @ATH9K_TX_DESC_CFG_ERR
	.comm	_AR_TxDataUnderrun,4,2          ## @AR_TxDataUnderrun
	.comm	_ATH9K_TX_DATA_UNDERRUN,4,2     ## @ATH9K_TX_DATA_UNDERRUN
	.comm	_AR_TxDelimUnderrun,4,2         ## @AR_TxDelimUnderrun
	.comm	_ATH9K_TX_DELIM_UNDERRUN,4,2    ## @ATH9K_TX_DELIM_UNDERRUN
	.comm	_AR_RTSFailCnt,4,2              ## @AR_RTSFailCnt
	.comm	_AR_DataFailCnt,4,2             ## @AR_DataFailCnt
	.comm	_AR_VirtRetryCnt,4,2            ## @AR_VirtRetryCnt
	.comm	_AR_TxRSSICombined,4,2          ## @AR_TxRSSICombined
	.comm	_AR_TxRSSIAnt10,4,2             ## @AR_TxRSSIAnt10
	.comm	_AR_TxRSSIAnt11,4,2             ## @AR_TxRSSIAnt11
	.comm	_AR_TxRSSIAnt12,4,2             ## @AR_TxRSSIAnt12
	.no_dead_strip	_ar9003_hw_proc_txdesc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar9003_hw_proc_txdesc
_ar9003_hw_proc_txdesc:                 ; @ar9003_hw_proc_txdesc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x21, x0
	ldr	x23, [x0, #16]
	ldr	x24, [x0]
	mov	w8, #36
	madd	x19, x24, x8, x23
	ldr	w0, [x19, #32]
	bl	_READ_ONCE
Lloh0:
	adrp	x8, _AR_TxDone@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR_TxDone@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_23
; %bb.1:
	mov	x22, x0
	ldr	x8, [x21]
	add	x8, x8, #1
	ldrsw	x9, [x21, #8]
	udiv	x10, x8, x9
	msub	x8, x10, x9, x8
	str	x8, [x21]
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _AR_DescId@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR_DescId@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_MS
Lloh6:
	adrp	x8, _ATHEROS_VENDOR_ID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATHEROS_VENDOR_ID@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_22
; %bb.2:
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _AR_TxRxDesc@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AR_TxRxDesc@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_MS
	cmp	w0, #1
	b.ne	LBB0_22
; %bb.3:
Lloh12:
	adrp	x8, _AR_FinalTxIdx@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AR_FinalTxIdx@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_MS
	str	w0, [x20]
Lloh15:
	adrp	x8, _AR_SeqNum@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AR_SeqNum@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_MS
	str	w0, [x20, #4]
Lloh18:
	adrp	x8, _AR_TxTid@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AR_TxTid@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_MS
	str	w0, [x20, #8]
	ldr	w0, [x19]
Lloh21:
	adrp	x8, _AR_TxQcuNum@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AR_TxQcuNum@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_MS
	str	w0, [x20, #12]
	mov	w8, #36
	madd	x25, x24, x8, x23
	ldr	w0, [x25, #4]
Lloh24:
	adrp	x8, _AR_TxDescId@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AR_TxDescId@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_MS
	str	w0, [x20, #16]
	ldr	w8, [x25, #28]
	str	w8, [x20, #76]
	stp	wzr, wzr, [x20, #60]
Lloh27:
	adrp	x8, _AR_TxOpExceeded@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AR_TxOpExceeded@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_5
; %bb.4:
Lloh30:
	adrp	x8, _ATH9K_TXERR_XTXOP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ATH9K_TXERR_XTXOP@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [x20, #64]
LBB0_5:
	mov	w8, #36
	madd	x8, x24, x8, x23
	ldr	w0, [x8, #24]
	bl	_READ_ONCE
	mov	x22, x0
Lloh33:
	adrp	x8, _AR_TxRSSIAnt00@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AR_TxRSSIAnt00@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	bl	_MS
	str	w0, [x20, #20]
Lloh36:
	adrp	x8, _AR_TxRSSIAnt01@GOTPAGE
Lloh37:
	ldr	x8, [x8, _AR_TxRSSIAnt01@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_MS
	str	w0, [x20, #24]
Lloh39:
	adrp	x8, _AR_TxRSSIAnt02@GOTPAGE
Lloh40:
	ldr	x8, [x8, _AR_TxRSSIAnt02@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_MS
	str	w0, [x20, #28]
Lloh42:
	adrp	x8, _AR_TxBaStatus@GOTPAGE
Lloh43:
	ldr	x8, [x8, _AR_TxBaStatus@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_7
; %bb.6:
Lloh45:
	adrp	x8, _ATH9K_TX_BA@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ATH9K_TX_BA@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	ldr	w9, [x20, #60]
	orr	w8, w9, w8
	str	w8, [x20, #60]
	mov	w8, #36
	madd	x8, x24, x8, x23
	ldr	d0, [x8, #16]
	stur	d0, [x20, #68]
LBB0_7:
	mov	w8, #36
	madd	x8, x24, x8, x23
	ldr	w0, [x8, #12]
	bl	_READ_ONCE
	mov	x22, x0
Lloh48:
	adrp	x8, _AR_ExcessiveRetries@GOTPAGE
Lloh49:
	ldr	x8, [x8, _AR_ExcessiveRetries@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_9
; %bb.8:
Lloh51:
	adrp	x8, _ATH9K_TXERR_XRETRY@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ATH9K_TXERR_XRETRY@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	ldr	w9, [x20, #64]
	orr	w8, w9, w8
	str	w8, [x20, #64]
LBB0_9:
Lloh54:
	adrp	x8, _AR_Filtered@GOTPAGE
Lloh55:
	ldr	x8, [x8, _AR_Filtered@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_11
; %bb.10:
Lloh57:
	adrp	x8, _ATH9K_TXERR_FILT@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ATH9K_TXERR_FILT@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	ldr	w9, [x20, #64]
	orr	w8, w9, w8
	str	w8, [x20, #64]
LBB0_11:
Lloh60:
	adrp	x8, _AR_FIFOUnderrun@GOTPAGE
Lloh61:
	ldr	x8, [x8, _AR_FIFOUnderrun@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_13
; %bb.12:
Lloh63:
	adrp	x8, _ATH9K_TXERR_FIFO@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ATH9K_TXERR_FIFO@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	ldr	w9, [x20, #64]
	orr	w8, w9, w8
	str	w8, [x20, #64]
	mov	x0, x21
	mov	w1, #1
	bl	_ath9k_hw_updatetxtriglevel
LBB0_13:
Lloh66:
	adrp	x8, _AR_TxTimerExpired@GOTPAGE
Lloh67:
	ldr	x8, [x8, _AR_TxTimerExpired@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_15
; %bb.14:
Lloh69:
	adrp	x8, _ATH9K_TXERR_TIMER_EXPIRED@GOTPAGE
Lloh70:
	ldr	x8, [x8, _ATH9K_TXERR_TIMER_EXPIRED@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	ldr	w9, [x20, #64]
	orr	w8, w9, w8
	str	w8, [x20, #64]
LBB0_15:
Lloh72:
	adrp	x8, _AR_DescCfgErr@GOTPAGE
Lloh73:
	ldr	x8, [x8, _AR_DescCfgErr@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_17
; %bb.16:
Lloh75:
	adrp	x8, _ATH9K_TX_DESC_CFG_ERR@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ATH9K_TX_DESC_CFG_ERR@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	ldr	w9, [x20, #60]
	orr	w8, w9, w8
	str	w8, [x20, #60]
LBB0_17:
Lloh78:
	adrp	x8, _AR_TxDataUnderrun@GOTPAGE
Lloh79:
	ldr	x8, [x8, _AR_TxDataUnderrun@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_19
; %bb.18:
Lloh81:
	adrp	x8, _ATH9K_TX_DATA_UNDERRUN@GOTPAGE
Lloh82:
	ldr	x8, [x8, _ATH9K_TX_DATA_UNDERRUN@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
	ldr	w9, [x20, #60]
	orr	w8, w9, w8
	str	w8, [x20, #60]
	mov	x0, x21
	mov	w1, #1
	bl	_ath9k_hw_updatetxtriglevel
LBB0_19:
Lloh84:
	adrp	x8, _AR_TxDelimUnderrun@GOTPAGE
Lloh85:
	ldr	x8, [x8, _AR_TxDelimUnderrun@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_21
; %bb.20:
Lloh87:
	adrp	x8, _ATH9K_TX_DELIM_UNDERRUN@GOTPAGE
Lloh88:
	ldr	x8, [x8, _ATH9K_TX_DELIM_UNDERRUN@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
	ldr	w9, [x20, #60]
	orr	w8, w9, w8
	str	w8, [x20, #60]
	mov	x0, x21
	mov	w1, #1
	bl	_ath9k_hw_updatetxtriglevel
LBB0_21:
Lloh90:
	adrp	x8, _AR_RTSFailCnt@GOTPAGE
Lloh91:
	ldr	x8, [x8, _AR_RTSFailCnt@GOTPAGEOFF]
Lloh92:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_MS
	str	w0, [x20, #32]
Lloh93:
	adrp	x8, _AR_DataFailCnt@GOTPAGE
Lloh94:
	ldr	x8, [x8, _AR_DataFailCnt@GOTPAGEOFF]
Lloh95:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_MS
	str	w0, [x20, #36]
Lloh96:
	adrp	x8, _AR_VirtRetryCnt@GOTPAGE
Lloh97:
	ldr	x8, [x8, _AR_VirtRetryCnt@GOTPAGEOFF]
Lloh98:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_MS
	str	w0, [x20, #40]
	mov	w8, #36
	madd	x8, x24, x8, x23
	ldr	w0, [x8, #8]
	bl	_READ_ONCE
	mov	x21, x0
Lloh99:
	adrp	x8, _AR_TxRSSICombined@GOTPAGE
Lloh100:
	ldr	x8, [x8, _AR_TxRSSICombined@GOTPAGEOFF]
Lloh101:
	ldr	w1, [x8]
	bl	_MS
	str	w0, [x20, #44]
Lloh102:
	adrp	x8, _AR_TxRSSIAnt10@GOTPAGE
Lloh103:
	ldr	x8, [x8, _AR_TxRSSIAnt10@GOTPAGEOFF]
Lloh104:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_MS
	str	w0, [x20, #48]
Lloh105:
	adrp	x8, _AR_TxRSSIAnt11@GOTPAGE
Lloh106:
	ldr	x8, [x8, _AR_TxRSSIAnt11@GOTPAGEOFF]
Lloh107:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_MS
	str	w0, [x20, #52]
Lloh108:
	adrp	x8, _AR_TxRSSIAnt12@GOTPAGE
Lloh109:
	ldr	x8, [x8, _AR_TxRSSIAnt12@GOTPAGEOFF]
Lloh110:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_MS
	str	w0, [x20, #56]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #36
	bl	_memset
	mov	w0, #0
	b	LBB0_25
LBB0_22:
	mov	x0, x21
	bl	_ath9k_hw_common
Lloh111:
	adrp	x8, _XMIT@GOTPAGE
Lloh112:
	ldr	x8, [x8, _XMIT@GOTPAGEOFF]
Lloh113:
	ldr	w1, [x8]
	ldr	w3, [x19]
Lloh114:
	adrp	x2, l_.str@PAGE
Lloh115:
	add	x2, x2, l_.str@PAGEOFF
	bl	_ath_dbg
	mov	x0, x19
	mov	w1, #0
	mov	w2, #36
	bl	_memset
Lloh116:
	adrp	x8, _EIO@GOTPAGE
Lloh117:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_24
LBB0_23:
Lloh118:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh119:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
LBB0_24:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_25:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh116, Lloh117
	.loh AdrpAdd	Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh118, Lloh119
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_TxDone,4,2                  ; @AR_TxDone
	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.comm	_AR_DescId,4,2                  ; @AR_DescId
	.comm	_ATHEROS_VENDOR_ID,4,2          ; @ATHEROS_VENDOR_ID
	.comm	_AR_TxRxDesc,4,2                ; @AR_TxRxDesc
	.comm	_XMIT,4,2                       ; @XMIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Tx Descriptor error %x\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_AR_FinalTxIdx,4,2              ; @AR_FinalTxIdx
	.comm	_AR_SeqNum,4,2                  ; @AR_SeqNum
	.comm	_AR_TxTid,4,2                   ; @AR_TxTid
	.comm	_AR_TxQcuNum,4,2                ; @AR_TxQcuNum
	.comm	_AR_TxDescId,4,2                ; @AR_TxDescId
	.comm	_AR_TxOpExceeded,4,2            ; @AR_TxOpExceeded
	.comm	_ATH9K_TXERR_XTXOP,4,2          ; @ATH9K_TXERR_XTXOP
	.comm	_AR_TxRSSIAnt00,4,2             ; @AR_TxRSSIAnt00
	.comm	_AR_TxRSSIAnt01,4,2             ; @AR_TxRSSIAnt01
	.comm	_AR_TxRSSIAnt02,4,2             ; @AR_TxRSSIAnt02
	.comm	_AR_TxBaStatus,4,2              ; @AR_TxBaStatus
	.comm	_ATH9K_TX_BA,4,2                ; @ATH9K_TX_BA
	.comm	_AR_ExcessiveRetries,4,2        ; @AR_ExcessiveRetries
	.comm	_ATH9K_TXERR_XRETRY,4,2         ; @ATH9K_TXERR_XRETRY
	.comm	_AR_Filtered,4,2                ; @AR_Filtered
	.comm	_ATH9K_TXERR_FILT,4,2           ; @ATH9K_TXERR_FILT
	.comm	_AR_FIFOUnderrun,4,2            ; @AR_FIFOUnderrun
	.comm	_ATH9K_TXERR_FIFO,4,2           ; @ATH9K_TXERR_FIFO
	.comm	_AR_TxTimerExpired,4,2          ; @AR_TxTimerExpired
	.comm	_ATH9K_TXERR_TIMER_EXPIRED,4,2  ; @ATH9K_TXERR_TIMER_EXPIRED
	.comm	_AR_DescCfgErr,4,2              ; @AR_DescCfgErr
	.comm	_ATH9K_TX_DESC_CFG_ERR,4,2      ; @ATH9K_TX_DESC_CFG_ERR
	.comm	_AR_TxDataUnderrun,4,2          ; @AR_TxDataUnderrun
	.comm	_ATH9K_TX_DATA_UNDERRUN,4,2     ; @ATH9K_TX_DATA_UNDERRUN
	.comm	_AR_TxDelimUnderrun,4,2         ; @AR_TxDelimUnderrun
	.comm	_ATH9K_TX_DELIM_UNDERRUN,4,2    ; @ATH9K_TX_DELIM_UNDERRUN
	.comm	_AR_RTSFailCnt,4,2              ; @AR_RTSFailCnt
	.comm	_AR_DataFailCnt,4,2             ; @AR_DataFailCnt
	.comm	_AR_VirtRetryCnt,4,2            ; @AR_VirtRetryCnt
	.comm	_AR_TxRSSICombined,4,2          ; @AR_TxRSSICombined
	.comm	_AR_TxRSSIAnt10,4,2             ; @AR_TxRSSIAnt10
	.comm	_AR_TxRSSIAnt11,4,2             ; @AR_TxRSSIAnt11
	.comm	_AR_TxRSSIAnt12,4,2             ; @AR_TxRSSIAnt12
	.no_dead_strip	_ar9003_hw_proc_txdesc
.subsections_via_symbols
