	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9002_set_txdesc
_ar9002_set_txdesc:                     ## @ar9002_set_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, %r15
	movq	%rsi, %rdi
	callq	_AR5416DESC
	movq	%rax, %r14
	xorps	%xmm0, %xmm0
	movups	%xmm0, 112(%rax)
	movups	%xmm0, 128(%rax)
	movups	%xmm0, 144(%rax)
	movups	%xmm0, 160(%rax)
	movups	%xmm0, 176(%rax)
	movq	104(%rax), %rdi
	movl	(%r12), %esi
	callq	_WRITE_ONCE
	movq	96(%r14), %rdi
	movq	8(%r12), %rax
	movl	(%rax), %esi
	callq	_WRITE_ONCE
	xorl	%ecx, %ecx
	cmpq	$0, 128(%r12)
	jne	LBB0_2
## %bb.1:
	movq	_AR_TxMore@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_2:
	movq	16(%r12), %rax
	movq	24(%r12), %rdi
	orl	(%rax), %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	_AR_EncrType@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SM
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_AR_SREV_9285
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	$0, 88(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	movq	$0, 16(%r14)
LBB0_4:
	cmpq	$0, 112(%r12)
	jne	LBB0_6
## %bb.5:
	cmpq	$0, 128(%r12)
	je	LBB0_10
LBB0_6:
	movl	$-129, %eax
	addl	32(%r12), %eax
	cmpl	$2, %eax
	jae	LBB0_7
LBB0_10:
	movq	80(%r14), %rdi
	xorl	%esi, %esi
	callq	_WRITE_ONCE
	movq	72(%r14), %rdi
	xorl	%esi, %esi
	callq	_WRITE_ONCE
	cmpq	$0, 112(%r12)
	je	LBB0_12
LBB0_14:
	movq	40(%r12), %rdi
	movq	_ATH9K_TXKEYIX_INVALID@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	cmpq	(%rax), %rdi
	je	LBB0_16
## %bb.15:
	movq	_AR_DestIdx@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SM
	movl	%eax, %r13d
LBB0_16:
	movq	48(%r12), %rdi
	movq	_AR_FrameType@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SM
	movl	56(%r12), %r15d
	movq	_ATH9K_TXDESC_NOACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%r15d, %ecx
	je	LBB0_18
## %bb.17:
	movq	_AR_NoAck@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_18:
	movq	_ATH9K_TXDESC_EXT_ONLY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%r15d, %edx
	je	LBB0_20
## %bb.19:
	movq	_AR_ExtOnly@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_20:
	movl	32(%r12), %esi
	movq	_ATH9K_TXDESC_EXT_AND_CTL@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%r15d, %edi
	je	LBB0_22
## %bb.21:
	movq	_AR_ExtAndCtl@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
LBB0_22:
	orl	%edi, %edx
	orl	-56(%rbp), %r13d                ## 4-byte Folded Reload
	orl	%eax, %r13d
	orl	%ecx, %r13d
	orl	%edx, %r13d
	cmpl	$129, %esi
	je	LBB0_27
## %bb.23:
	cmpl	$130, %esi
	je	LBB0_28
## %bb.24:
	cmpl	$131, %esi
	jne	LBB0_25
## %bb.26:
	movq	64(%r12), %rdi
	movq	_AR_AggrLen@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SM
	orl	%eax, %ebx
LBB0_27:
	movq	_AR_IsAggr@GOTPCREL(%rip), %rax
	movq	_AR_MoreAggr@GOTPCREL(%rip), %rcx
	orl	(%rax), %r13d
	orl	(%rcx), %r13d
	movq	72(%r12), %rdi
	movq	_AR_PadDelim@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SM
	orl	%eax, %ebx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	56(%r12), %r15d
	jmp	LBB0_29
LBB0_7:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	80(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	104(%r12), %edi
	xorl	%esi, %esi
	callq	_set11nTries
	movl	%eax, %ebx
	movl	104(%r12), %edi
	movl	$1, %esi
	callq	_set11nTries
	movl	%eax, %r13d
	orl	%ebx, %r13d
	movl	104(%r12), %edi
	movl	$2, %esi
	callq	_set11nTries
	movl	%eax, %r15d
	movl	104(%r12), %edi
	movl	$3, %esi
	callq	_set11nTries
	movl	%eax, %ebx
	orl	%r15d, %ebx
	orl	%r13d, %ebx
	cmpq	$0, 120(%r12)
	movl	$0, %r15d
	je	LBB0_9
## %bb.8:
	movq	_AR_DurUpdateEna@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_9:
	movq	_AR_BurstDur@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_SM
	orl	%eax, %ebx
	orl	%r15d, %ebx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_WRITE_ONCE
	movq	72(%r14), %r15
	movl	104(%r12), %edi
	xorl	%esi, %esi
	callq	_set11nRate
	movl	%eax, %r13d
	movl	104(%r12), %edi
	movl	$1, %esi
	callq	_set11nRate
	orl	%eax, %r13d
	movl	104(%r12), %edi
	movl	$2, %esi
	callq	_set11nRate
	movl	%eax, %ebx
	movl	104(%r12), %edi
	movl	$3, %esi
	callq	_set11nRate
	orl	%eax, %ebx
	orl	%r13d, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_WRITE_ONCE
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	cmpq	$0, 112(%r12)
	jne	LBB0_14
LBB0_12:
	movq	64(%r14), %rdi
	xorl	%esi, %esi
	callq	_WRITE_ONCE
	movq	56(%r14), %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_WRITE_ONCE
	movq	48(%r14), %rdi
	movl	%ebx, %esi
	jmp	LBB0_13
LBB0_28:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	_AR_IsAggr@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_29
LBB0_25:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
LBB0_29:
	movq	_AR_FrameLen@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ATH9K_TXDESC_VMF@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	je	LBB0_31
## %bb.30:
	movq	_AR_VirtMoreFrag@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_31:
	andl	80(%r12), %ebx
	movq	64(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	88(%r12), %rax
	movq	(%rax), %rdi
	movq	_AR_XmitPower0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SM
	movl	56(%r12), %ecx
	movq	_ATH9K_TXDESC_VEOL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ecx, %edx
	je	LBB0_33
## %bb.32:
	movq	_AR_VEOL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_33:
	orl	%eax, %ebx
	movq	_ATH9K_TXDESC_INTREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ecx, %eax
	je	LBB0_35
## %bb.34:
	movq	_AR_TxIntrReq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_35:
	orl	%eax, %edx
	orl	%ebx, %r15d
	movq	40(%r12), %rsi
	xorl	%eax, %eax
	movq	_ATH9K_TXKEYIX_INVALID@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	je	LBB0_37
## %bb.36:
	movq	_AR_DestIdxValid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_37:
	orl	%edx, %r15d
	movq	_ATH9K_TXDESC_CLRDMASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ecx, %edx
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_39
## %bb.38:
	movq	_AR_ClrDestMask@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_39:
	orl	%edx, %eax
	orl	%eax, %r15d
	movq	_ATH9K_TXDESC_RTSENA@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_41
## %bb.40:
	movq	_AR_RTSEnable@GOTPCREL(%rip), %rax
	jmp	LBB0_43
LBB0_41:
	movq	_ATH9K_TXDESC_CTSENA@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	je	LBB0_44
## %bb.42:
	movq	_AR_CTSEnable@GOTPCREL(%rip), %rax
LBB0_43:
	movl	(%rax), %ecx
LBB0_44:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	orl	%ecx, %r15d
	movl	%r15d, %esi
	callq	_WRITE_ONCE
	movq	56(%r14), %rdi
	movl	%r13d, %esi
	callq	_WRITE_ONCE
	movq	48(%r14), %rdi
	movl	%ebx, %esi
	callq	_WRITE_ONCE
	movl	$-129, %eax
	addl	32(%r12), %eax
	cmpl	$2, %eax
	jae	LBB0_45
## %bb.46:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_45:
	movq	40(%r14), %r15
	movl	104(%r12), %edi
	xorl	%esi, %esi
	callq	_set11nPktDurRTSCTS
	movl	%eax, %ebx
	movl	104(%r12), %edi
	movl	$1, %esi
	callq	_set11nPktDurRTSCTS
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_WRITE_ONCE
	movq	32(%r14), %r15
	movl	104(%r12), %edi
	movl	$2, %esi
	callq	_set11nPktDurRTSCTS
	movl	%eax, %ebx
	movl	104(%r12), %edi
	movl	$3, %esi
	callq	_set11nPktDurRTSCTS
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_WRITE_ONCE
	movq	24(%r14), %r15
	movl	104(%r12), %edi
	xorl	%esi, %esi
	callq	_set11nRateFlags
	movl	%eax, %r13d
	movl	104(%r12), %edi
	movl	$1, %esi
	callq	_set11nRateFlags
	orl	%eax, %r13d
	movl	104(%r12), %edi
	movl	$2, %esi
	callq	_set11nRateFlags
	movl	%eax, %ebx
	movl	104(%r12), %edi
	movl	$3, %esi
	callq	_set11nRateFlags
	orl	%eax, %ebx
	orl	%r13d, %ebx
	movq	96(%r12), %rdi
	movq	_AR_RTSCTSRate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SM
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_WRITE_ONCE
	movq	16(%r14), %rbx
	movq	88(%r12), %rax
	movq	8(%rax), %rdi
	movq	_AR_XmitPower1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SM
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_WRITE_ONCE
	movq	8(%r14), %rbx
	movq	88(%r12), %rax
	movq	16(%rax), %rdi
	movq	_AR_XmitPower2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SM
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_WRITE_ONCE
	movq	(%r14), %rbx
	movq	88(%r12), %rax
	movq	24(%rax), %rdi
	movq	_AR_XmitPower3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SM
	movq	%rbx, %rdi
	movl	%eax, %esi
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WRITE_ONCE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_TxMore,4,2                  ## @AR_TxMore
	.comm	_AR_EncrType,4,2                ## @AR_EncrType
	.comm	_AR_DurUpdateEna,4,2            ## @AR_DurUpdateEna
	.comm	_AR_BurstDur,4,2                ## @AR_BurstDur
	.comm	_ATH9K_TXKEYIX_INVALID,8,3      ## @ATH9K_TXKEYIX_INVALID
	.comm	_AR_DestIdx,4,2                 ## @AR_DestIdx
	.comm	_AR_FrameType,4,2               ## @AR_FrameType
	.comm	_ATH9K_TXDESC_NOACK,4,2         ## @ATH9K_TXDESC_NOACK
	.comm	_AR_NoAck,4,2                   ## @AR_NoAck
	.comm	_ATH9K_TXDESC_EXT_ONLY,4,2      ## @ATH9K_TXDESC_EXT_ONLY
	.comm	_AR_ExtOnly,4,2                 ## @AR_ExtOnly
	.comm	_ATH9K_TXDESC_EXT_AND_CTL,4,2   ## @ATH9K_TXDESC_EXT_AND_CTL
	.comm	_AR_ExtAndCtl,4,2               ## @AR_ExtAndCtl
	.comm	_AR_AggrLen,4,2                 ## @AR_AggrLen
	.comm	_AR_IsAggr,4,2                  ## @AR_IsAggr
	.comm	_AR_MoreAggr,4,2                ## @AR_MoreAggr
	.comm	_AR_PadDelim,4,2                ## @AR_PadDelim
	.comm	_AR_FrameLen,4,2                ## @AR_FrameLen
	.comm	_ATH9K_TXDESC_VMF,4,2           ## @ATH9K_TXDESC_VMF
	.comm	_AR_VirtMoreFrag,4,2            ## @AR_VirtMoreFrag
	.comm	_AR_XmitPower0,4,2              ## @AR_XmitPower0
	.comm	_ATH9K_TXDESC_VEOL,4,2          ## @ATH9K_TXDESC_VEOL
	.comm	_AR_VEOL,4,2                    ## @AR_VEOL
	.comm	_ATH9K_TXDESC_INTREQ,4,2        ## @ATH9K_TXDESC_INTREQ
	.comm	_AR_TxIntrReq,4,2               ## @AR_TxIntrReq
	.comm	_AR_DestIdxValid,4,2            ## @AR_DestIdxValid
	.comm	_ATH9K_TXDESC_CLRDMASK,4,2      ## @ATH9K_TXDESC_CLRDMASK
	.comm	_AR_ClrDestMask,4,2             ## @AR_ClrDestMask
	.comm	_ATH9K_TXDESC_RTSENA,4,2        ## @ATH9K_TXDESC_RTSENA
	.comm	_AR_RTSEnable,4,2               ## @AR_RTSEnable
	.comm	_ATH9K_TXDESC_CTSENA,4,2        ## @ATH9K_TXDESC_CTSENA
	.comm	_AR_CTSEnable,4,2               ## @AR_CTSEnable
	.comm	_AR_RTSCTSRate,4,2              ## @AR_RTSCTSRate
	.comm	_AR_XmitPower1,4,2              ## @AR_XmitPower1
	.comm	_AR_XmitPower2,4,2              ## @AR_XmitPower2
	.comm	_AR_XmitPower3,4,2              ## @AR_XmitPower3
	.no_dead_strip	_ar9002_set_txdesc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar9002_set_txdesc
_ar9002_set_txdesc:                     ; @ar9002_set_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	x22, x0
	mov	x0, x1
	bl	_AR5416DESC
	mov	x19, x0
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x0, #112]
	stp	q0, q0, [x0, #144]
	str	q0, [x0, #176]
	ldr	x0, [x0, #104]
	ldr	w1, [x20]
	bl	_WRITE_ONCE
	ldr	x0, [x19, #96]
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	bl	_WRITE_ONCE
	ldp	x8, x0, [x20, #16]
	ldr	w24, [x8]
	ldr	x8, [x20, #128]
Lloh0:
	adrp	x9, _AR_TxMore@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AR_TxMore@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w25, w9, wzr, eq
Lloh3:
	adrp	x8, _AR_EncrType@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR_EncrType@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_SM
	mov	x21, x0
	mov	x0, x22
	bl	_AR_SREV_9285
	cbz	x0, LBB0_2
; %bb.1:
	str	xzr, [x19, #88]
	stp	xzr, xzr, [x19, #8]
	str	xzr, [x19]
LBB0_2:
	ldr	x8, [x20, #112]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x20, #128]
	cbz	x8, LBB0_5
LBB0_4:
	ldr	w8, [x20, #32]
	sub	w8, w8, #129
	cmp	w8, #2
	b.hs	LBB0_6
LBB0_5:
	ldr	x0, [x19, #80]
	mov	w1, #0
	bl	_WRITE_ONCE
	ldr	x0, [x19, #72]
	mov	w1, #0
	b	LBB0_7
LBB0_6:
	ldr	x22, [x19, #80]
	ldr	w0, [x20, #104]
	mov	w1, #0
	bl	_set11nTries
	mov	x23, x0
	ldr	w0, [x20, #104]
	mov	w1, #1
	bl	_set11nTries
	orr	w23, w0, w23
	ldr	w0, [x20, #104]
	mov	w1, #2
	bl	_set11nTries
	orr	w23, w23, w0
	ldr	w0, [x20, #104]
	mov	w1, #3
	bl	_set11nTries
	orr	w8, w23, w0
	ldr	x9, [x20, #120]
Lloh6:
	adrp	x10, _AR_DurUpdateEna@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AR_DurUpdateEna@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	x9, #0
	csel	w9, wzr, w10, eq
	orr	w23, w8, w9
Lloh9:
	adrp	x8, _AR_BurstDur@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AR_BurstDur@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, #0
	bl	_SM
	orr	w1, w23, w0
	mov	x0, x22
	bl	_WRITE_ONCE
	ldr	x22, [x19, #72]
	ldr	w0, [x20, #104]
	mov	w1, #0
	bl	_set11nRate
	mov	x23, x0
	ldr	w0, [x20, #104]
	mov	w1, #1
	bl	_set11nRate
	orr	w23, w0, w23
	ldr	w0, [x20, #104]
	mov	w1, #2
	bl	_set11nRate
	orr	w23, w23, w0
	ldr	w0, [x20, #104]
	mov	w1, #3
	bl	_set11nRate
	orr	w1, w23, w0
	mov	x0, x22
LBB0_7:
	bl	_WRITE_ONCE
	orr	w22, w25, w24
	ldr	x8, [x20, #112]
	cbz	x8, LBB0_10
; %bb.8:
	ldr	x0, [x20, #40]
Lloh12:
	adrp	x24, _ATH9K_TXKEYIX_INVALID@GOTPAGE
Lloh13:
	ldr	x24, [x24, _ATH9K_TXKEYIX_INVALID@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.9:
	mov	w23, #0
	b	LBB0_12
LBB0_10:
	ldr	x0, [x19, #64]
	mov	w1, #0
	bl	_WRITE_ONCE
	ldr	x0, [x19, #56]
	mov	x1, x22
	bl	_WRITE_ONCE
	ldr	x0, [x19, #48]
	mov	x1, x21
	b	LBB0_24
LBB0_11:
Lloh14:
	adrp	x8, _AR_DestIdx@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AR_DestIdx@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_SM
	mov	x23, x0
LBB0_12:
	ldr	x0, [x20, #48]
Lloh17:
	adrp	x8, _AR_FrameType@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AR_FrameType@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_SM
Lloh20:
	adrp	x9, _ATH9K_TXDESC_NOACK@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ATH9K_TXDESC_NOACK@GOTPAGEOFF]
	ldr	w8, [x20, #56]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x10, _AR_NoAck@GOTPAGE
Lloh24:
	ldr	x10, [x10, _AR_NoAck@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w9, wzr, w10, eq
Lloh26:
	adrp	x10, _ATH9K_TXDESC_EXT_ONLY@GOTPAGE
Lloh27:
	ldr	x10, [x10, _ATH9K_TXDESC_EXT_ONLY@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
Lloh29:
	adrp	x11, _AR_ExtOnly@GOTPAGE
Lloh30:
	ldr	x11, [x11, _AR_ExtOnly@GOTPAGEOFF]
Lloh31:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w10, wzr, w11, eq
Lloh32:
	adrp	x11, _ATH9K_TXDESC_EXT_AND_CTL@GOTPAGE
Lloh33:
	ldr	x11, [x11, _ATH9K_TXDESC_EXT_AND_CTL@GOTPAGEOFF]
Lloh34:
	ldr	w11, [x11]
Lloh35:
	adrp	x12, _AR_ExtAndCtl@GOTPAGE
Lloh36:
	ldr	x12, [x12, _AR_ExtAndCtl@GOTPAGEOFF]
Lloh37:
	ldr	w12, [x12]
	tst	w11, w8
	csel	w11, wzr, w12, eq
	orr	w12, w23, w22
	orr	w12, w12, w0
	orr	w9, w12, w9
	orr	w9, w9, w10
	orr	w22, w9, w11
	ldr	w9, [x20, #32]
	cmp	w9, #129
	b.eq	LBB0_16
; %bb.13:
	cmp	w9, #130
	b.eq	LBB0_17
; %bb.14:
	cmp	w9, #131
	b.ne	LBB0_18
; %bb.15:
	ldr	x0, [x20, #64]
Lloh38:
	adrp	x8, _AR_AggrLen@GOTPAGE
Lloh39:
	ldr	x8, [x8, _AR_AggrLen@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	bl	_SM
	orr	w21, w0, w21
LBB0_16:
Lloh41:
	adrp	x8, _AR_IsAggr@GOTPAGE
Lloh42:
	ldr	x8, [x8, _AR_IsAggr@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
Lloh44:
	adrp	x9, _AR_MoreAggr@GOTPAGE
Lloh45:
	ldr	x9, [x9, _AR_MoreAggr@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w8, w8, w22
	orr	w22, w8, w9
	ldr	x0, [x20, #72]
Lloh47:
	adrp	x8, _AR_PadDelim@GOTPAGE
Lloh48:
	ldr	x8, [x8, _AR_PadDelim@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	bl	_SM
	orr	w21, w0, w21
	ldr	w8, [x20, #56]
	b	LBB0_18
LBB0_17:
Lloh50:
	adrp	x9, _AR_IsAggr@GOTPAGE
Lloh51:
	ldr	x9, [x9, _AR_IsAggr@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	orr	w22, w9, w22
LBB0_18:
	ldr	x23, [x19, #64]
	ldr	w9, [x20, #80]
Lloh53:
	adrp	x10, _AR_FrameLen@GOTPAGE
Lloh54:
	ldr	x10, [x10, _AR_FrameLen@GOTPAGEOFF]
Lloh55:
	ldr	w10, [x10]
	and	w9, w10, w9
Lloh56:
	adrp	x10, _ATH9K_TXDESC_VMF@GOTPAGE
Lloh57:
	ldr	x10, [x10, _ATH9K_TXDESC_VMF@GOTPAGEOFF]
Lloh58:
	ldr	w10, [x10]
Lloh59:
	adrp	x11, _AR_VirtMoreFrag@GOTPAGE
Lloh60:
	ldr	x11, [x11, _AR_VirtMoreFrag@GOTPAGEOFF]
Lloh61:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w8, wzr, w11, eq
	orr	w25, w8, w9
	ldr	x8, [x20, #88]
	ldr	x0, [x8]
Lloh62:
	adrp	x8, _AR_XmitPower0@GOTPAGE
Lloh63:
	ldr	x8, [x8, _AR_XmitPower0@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
	bl	_SM
	orr	w9, w25, w0
	ldr	w8, [x20, #56]
Lloh65:
	adrp	x10, _ATH9K_TXDESC_VEOL@GOTPAGE
Lloh66:
	ldr	x10, [x10, _ATH9K_TXDESC_VEOL@GOTPAGEOFF]
Lloh67:
	ldr	w10, [x10]
Lloh68:
	adrp	x11, _AR_VEOL@GOTPAGE
Lloh69:
	ldr	x11, [x11, _AR_VEOL@GOTPAGEOFF]
Lloh70:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w10, wzr, w11, eq
	orr	w9, w9, w10
Lloh71:
	adrp	x10, _ATH9K_TXDESC_INTREQ@GOTPAGE
Lloh72:
	ldr	x10, [x10, _ATH9K_TXDESC_INTREQ@GOTPAGEOFF]
Lloh73:
	ldr	w10, [x10]
Lloh74:
	adrp	x11, _AR_TxIntrReq@GOTPAGE
Lloh75:
	ldr	x11, [x11, _AR_TxIntrReq@GOTPAGEOFF]
Lloh76:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w10, wzr, w11, eq
	orr	w9, w9, w10
	ldr	x10, [x20, #40]
Lloh77:
	adrp	x11, _AR_DestIdxValid@GOTPAGE
Lloh78:
	ldr	x11, [x11, _AR_DestIdxValid@GOTPAGEOFF]
	ldr	x12, [x24]
Lloh79:
	ldr	w11, [x11]
	cmp	x10, x12
	csel	w10, wzr, w11, eq
Lloh80:
	adrp	x11, _ATH9K_TXDESC_CLRDMASK@GOTPAGE
Lloh81:
	ldr	x11, [x11, _ATH9K_TXDESC_CLRDMASK@GOTPAGEOFF]
	orr	w9, w9, w10
Lloh82:
	ldr	w10, [x11]
Lloh83:
	adrp	x11, _AR_ClrDestMask@GOTPAGE
Lloh84:
	ldr	x11, [x11, _AR_ClrDestMask@GOTPAGEOFF]
Lloh85:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w10, wzr, w11, eq
	orr	w9, w9, w10
Lloh86:
	adrp	x10, _ATH9K_TXDESC_RTSENA@GOTPAGE
Lloh87:
	ldr	x10, [x10, _ATH9K_TXDESC_RTSENA@GOTPAGEOFF]
Lloh88:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_20
; %bb.19:
Lloh89:
	adrp	x8, _AR_RTSEnable@GOTPAGE
Lloh90:
	ldr	x8, [x8, _AR_RTSEnable@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
	b	LBB0_21
LBB0_20:
Lloh92:
	adrp	x10, _ATH9K_TXDESC_CTSENA@GOTPAGE
Lloh93:
	ldr	x10, [x10, _ATH9K_TXDESC_CTSENA@GOTPAGEOFF]
Lloh94:
	ldr	w10, [x10]
Lloh95:
	adrp	x11, _AR_CTSEnable@GOTPAGE
Lloh96:
	ldr	x11, [x11, _AR_CTSEnable@GOTPAGEOFF]
Lloh97:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w8, wzr, w11, eq
LBB0_21:
	orr	w1, w9, w8
	mov	x0, x23
	bl	_WRITE_ONCE
	ldr	x0, [x19, #56]
	mov	x1, x22
	bl	_WRITE_ONCE
	ldr	x0, [x19, #48]
	mov	x1, x21
	bl	_WRITE_ONCE
	ldr	w8, [x20, #32]
	sub	w8, w8, #129
	cmp	w8, #2
	b.hs	LBB0_23
; %bb.22:
	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
LBB0_23:
	ldr	x21, [x19, #40]
	ldr	w0, [x20, #104]
	mov	w1, #0
	bl	_set11nPktDurRTSCTS
	mov	x22, x0
	ldr	w0, [x20, #104]
	mov	w1, #1
	bl	_set11nPktDurRTSCTS
	orr	w1, w0, w22
	mov	x0, x21
	bl	_WRITE_ONCE
	ldr	x21, [x19, #32]
	ldr	w0, [x20, #104]
	mov	w1, #2
	bl	_set11nPktDurRTSCTS
	mov	x22, x0
	ldr	w0, [x20, #104]
	mov	w1, #3
	bl	_set11nPktDurRTSCTS
	orr	w1, w0, w22
	mov	x0, x21
	bl	_WRITE_ONCE
	ldr	x21, [x19, #24]
	ldr	w0, [x20, #104]
	mov	w1, #0
	bl	_set11nRateFlags
	mov	x22, x0
	ldr	w0, [x20, #104]
	mov	w1, #1
	bl	_set11nRateFlags
	orr	w22, w0, w22
	ldr	w0, [x20, #104]
	mov	w1, #2
	bl	_set11nRateFlags
	orr	w22, w22, w0
	ldr	w0, [x20, #104]
	mov	w1, #3
	bl	_set11nRateFlags
	orr	w22, w22, w0
	ldr	x0, [x20, #96]
Lloh98:
	adrp	x8, _AR_RTSCTSRate@GOTPAGE
Lloh99:
	ldr	x8, [x8, _AR_RTSCTSRate@GOTPAGEOFF]
Lloh100:
	ldr	w1, [x8]
	bl	_SM
	orr	w1, w22, w0
	mov	x0, x21
	bl	_WRITE_ONCE
	ldr	x21, [x19, #16]
	ldr	x8, [x20, #88]
	ldr	x0, [x8, #8]
Lloh101:
	adrp	x8, _AR_XmitPower1@GOTPAGE
Lloh102:
	ldr	x8, [x8, _AR_XmitPower1@GOTPAGEOFF]
Lloh103:
	ldr	w1, [x8]
	bl	_SM
	mov	x1, x0
	mov	x0, x21
	bl	_WRITE_ONCE
	ldr	x21, [x19, #8]
	ldr	x8, [x20, #88]
	ldr	x0, [x8, #16]
Lloh104:
	adrp	x8, _AR_XmitPower2@GOTPAGE
Lloh105:
	ldr	x8, [x8, _AR_XmitPower2@GOTPAGEOFF]
Lloh106:
	ldr	w1, [x8]
	bl	_SM
	mov	x1, x0
	mov	x0, x21
	bl	_WRITE_ONCE
	ldr	x19, [x19]
	ldr	x8, [x20, #88]
	ldr	x0, [x8, #24]
Lloh107:
	adrp	x8, _AR_XmitPower3@GOTPAGE
Lloh108:
	ldr	x8, [x8, _AR_XmitPower3@GOTPAGEOFF]
Lloh109:
	ldr	w1, [x8]
	bl	_SM
	mov	x1, x0
	mov	x0, x19
LBB0_24:
	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
	b	_WRITE_ONCE
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.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	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_TxMore,4,2                  ; @AR_TxMore
	.comm	_AR_EncrType,4,2                ; @AR_EncrType
	.comm	_AR_DurUpdateEna,4,2            ; @AR_DurUpdateEna
	.comm	_AR_BurstDur,4,2                ; @AR_BurstDur
	.comm	_ATH9K_TXKEYIX_INVALID,8,3      ; @ATH9K_TXKEYIX_INVALID
	.comm	_AR_DestIdx,4,2                 ; @AR_DestIdx
	.comm	_AR_FrameType,4,2               ; @AR_FrameType
	.comm	_ATH9K_TXDESC_NOACK,4,2         ; @ATH9K_TXDESC_NOACK
	.comm	_AR_NoAck,4,2                   ; @AR_NoAck
	.comm	_ATH9K_TXDESC_EXT_ONLY,4,2      ; @ATH9K_TXDESC_EXT_ONLY
	.comm	_AR_ExtOnly,4,2                 ; @AR_ExtOnly
	.comm	_ATH9K_TXDESC_EXT_AND_CTL,4,2   ; @ATH9K_TXDESC_EXT_AND_CTL
	.comm	_AR_ExtAndCtl,4,2               ; @AR_ExtAndCtl
	.comm	_AR_AggrLen,4,2                 ; @AR_AggrLen
	.comm	_AR_IsAggr,4,2                  ; @AR_IsAggr
	.comm	_AR_MoreAggr,4,2                ; @AR_MoreAggr
	.comm	_AR_PadDelim,4,2                ; @AR_PadDelim
	.comm	_AR_FrameLen,4,2                ; @AR_FrameLen
	.comm	_ATH9K_TXDESC_VMF,4,2           ; @ATH9K_TXDESC_VMF
	.comm	_AR_VirtMoreFrag,4,2            ; @AR_VirtMoreFrag
	.comm	_AR_XmitPower0,4,2              ; @AR_XmitPower0
	.comm	_ATH9K_TXDESC_VEOL,4,2          ; @ATH9K_TXDESC_VEOL
	.comm	_AR_VEOL,4,2                    ; @AR_VEOL
	.comm	_ATH9K_TXDESC_INTREQ,4,2        ; @ATH9K_TXDESC_INTREQ
	.comm	_AR_TxIntrReq,4,2               ; @AR_TxIntrReq
	.comm	_AR_DestIdxValid,4,2            ; @AR_DestIdxValid
	.comm	_ATH9K_TXDESC_CLRDMASK,4,2      ; @ATH9K_TXDESC_CLRDMASK
	.comm	_AR_ClrDestMask,4,2             ; @AR_ClrDestMask
	.comm	_ATH9K_TXDESC_RTSENA,4,2        ; @ATH9K_TXDESC_RTSENA
	.comm	_AR_RTSEnable,4,2               ; @AR_RTSEnable
	.comm	_ATH9K_TXDESC_CTSENA,4,2        ; @ATH9K_TXDESC_CTSENA
	.comm	_AR_CTSEnable,4,2               ; @AR_CTSEnable
	.comm	_AR_RTSCTSRate,4,2              ; @AR_RTSCTSRate
	.comm	_AR_XmitPower1,4,2              ; @AR_XmitPower1
	.comm	_AR_XmitPower2,4,2              ; @AR_XmitPower2
	.comm	_AR_XmitPower3,4,2              ; @AR_XmitPower3
	.no_dead_strip	_ar9002_set_txdesc
.subsections_via_symbols
