	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_write_tx_data           ## -- Begin function rt2800_write_tx_data
	.p2align	4, 0x90
_rt2800_write_tx_data:                  ## @rt2800_write_tx_data
	.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	%rsi, %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	callq	_rt2800_drv_get_txwi
	movq	%rax, %r15
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_rt2x00_desc_read
	movl	%eax, -44(%rbp)
	movq	_TXWI_W0_FRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ENTRY_TXD_MORE_FRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	36(%rbx), %r13
	movq	%r13, %rsi
	callq	_test_bit
	leaq	-44(%rbp), %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_TXWI_W0_MIMO_PS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ENTRY_TXD_HT_MIMO_PS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	leaq	-44(%rbp), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_TXWI_W0_CF_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdi
	movq	%rdi, %r12
	xorl	%edx, %edx
	callq	_rt2x00_set_field32
	movq	_TXWI_W0_TS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ENTRY_TXD_REQ_TIMESTAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_TXWI_W0_AMPDU@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ENTRY_TXD_HT_AMPDU@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_TXWI_W0_MPDU_DENSITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	12(%rbx), %edx
	movq	%r12, %rdi
	callq	_rt2x00_set_field32
	movq	_TXWI_W0_TX_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %edx
	movq	%r12, %rdi
	callq	_rt2x00_set_field32
	movq	_TXWI_W0_MCS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%rbx), %edx
	movq	%r12, %rdi
	callq	_rt2x00_set_field32
	movq	_TXWI_W0_BW@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ENTRY_TXD_HT_BW_40@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_TXWI_W0_SHORT_GI@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ENTRY_TXD_HT_SHORT_GI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_TXWI_W0_STBC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	24(%rbx), %edx
	movq	%r12, %rdi
	callq	_rt2x00_set_field32
	movq	_TXWI_W0_PHYMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r12, %rdi
	callq	_rt2x00_set_field32
	movl	-44(%rbp), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_rt2x00_desc_write
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_rt2x00_desc_read
	movl	%eax, -44(%rbp)
	movq	_TXWI_W1_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ENTRY_TXD_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_TXWI_W1_NSEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ENTRY_TXD_GENERATE_SEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_TXWI_W1_BW_WIN_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	28(%rbx), %edx
	movq	%r12, %rdi
	callq	_rt2x00_set_field32
	movq	_TXWI_W1_WIRELESS_CLI_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ENTRY_TXD_ENCRYPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	leaq	4(%rbx), %rcx
	leaq	32(%rbx), %rdx
	movq	%rbx, %r13
	testl	%eax, %eax
	cmovneq	%rcx, %rdx
	movl	(%rdx), %edx
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_rt2x00_set_field32
	movq	_TXWI_W1_MPDU_TOTAL_BYTE_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r13), %edx
	movq	%rbx, %rdi
	callq	_rt2x00_set_field32
	movq	_TXWI_W1_PACKETID_QUEUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rt2x00_set_field32
	movq	_TXWI_W1_PACKETID_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	(%r14), %rdx
	imulq	$1431655766, %rdx, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
	leal	(%rax,%rax,2), %eax
	subl	%eax, %edx
	incl	%edx
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_rt2x00_set_field32
	movl	-44(%rbp), %edx
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_rt2x00_desc_write
	movq	8(%r14), %rax
	cmpl	$12, 4(%rax)
	jb	LBB0_3
## %bb.1:
	movl	$2, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	__rt2x00_desc_write
	incq	%rbx
	movq	8(%r14), %rax
	movslq	4(%rax), %rax
	shrq	$2, %rax
	cmpq	%rbx, %rax
	ja	LBB0_2
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXWI_W0_FRAG,4,2               ## @TXWI_W0_FRAG
	.comm	_ENTRY_TXD_MORE_FRAG,4,2        ## @ENTRY_TXD_MORE_FRAG
	.comm	_TXWI_W0_MIMO_PS,4,2            ## @TXWI_W0_MIMO_PS
	.comm	_ENTRY_TXD_HT_MIMO_PS,4,2       ## @ENTRY_TXD_HT_MIMO_PS
	.comm	_TXWI_W0_CF_ACK,4,2             ## @TXWI_W0_CF_ACK
	.comm	_TXWI_W0_TS,4,2                 ## @TXWI_W0_TS
	.comm	_ENTRY_TXD_REQ_TIMESTAMP,4,2    ## @ENTRY_TXD_REQ_TIMESTAMP
	.comm	_TXWI_W0_AMPDU,4,2              ## @TXWI_W0_AMPDU
	.comm	_ENTRY_TXD_HT_AMPDU,4,2         ## @ENTRY_TXD_HT_AMPDU
	.comm	_TXWI_W0_MPDU_DENSITY,4,2       ## @TXWI_W0_MPDU_DENSITY
	.comm	_TXWI_W0_TX_OP,4,2              ## @TXWI_W0_TX_OP
	.comm	_TXWI_W0_MCS,4,2                ## @TXWI_W0_MCS
	.comm	_TXWI_W0_BW,4,2                 ## @TXWI_W0_BW
	.comm	_ENTRY_TXD_HT_BW_40,4,2         ## @ENTRY_TXD_HT_BW_40
	.comm	_TXWI_W0_SHORT_GI,4,2           ## @TXWI_W0_SHORT_GI
	.comm	_ENTRY_TXD_HT_SHORT_GI,4,2      ## @ENTRY_TXD_HT_SHORT_GI
	.comm	_TXWI_W0_STBC,4,2               ## @TXWI_W0_STBC
	.comm	_TXWI_W0_PHYMODE,4,2            ## @TXWI_W0_PHYMODE
	.comm	_TXWI_W1_ACK,4,2                ## @TXWI_W1_ACK
	.comm	_ENTRY_TXD_ACK,4,2              ## @ENTRY_TXD_ACK
	.comm	_TXWI_W1_NSEQ,4,2               ## @TXWI_W1_NSEQ
	.comm	_ENTRY_TXD_GENERATE_SEQ,4,2     ## @ENTRY_TXD_GENERATE_SEQ
	.comm	_TXWI_W1_BW_WIN_SIZE,4,2        ## @TXWI_W1_BW_WIN_SIZE
	.comm	_TXWI_W1_WIRELESS_CLI_ID,4,2    ## @TXWI_W1_WIRELESS_CLI_ID
	.comm	_ENTRY_TXD_ENCRYPT,4,2          ## @ENTRY_TXD_ENCRYPT
	.comm	_TXWI_W1_MPDU_TOTAL_BYTE_COUNT,4,2 ## @TXWI_W1_MPDU_TOTAL_BYTE_COUNT
	.comm	_TXWI_W1_PACKETID_QUEUE,4,2     ## @TXWI_W1_PACKETID_QUEUE
	.comm	_TXWI_W1_PACKETID_ENTRY,4,2     ## @TXWI_W1_PACKETID_ENTRY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_write_tx_data           ; -- Begin function rt2800_write_tx_data
	.p2align	2
_rt2800_write_tx_data:                  ; @rt2800_write_tx_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_rt2800_drv_get_txwi
	mov	x20, x0
	mov	w1, #0
	bl	_rt2x00_desc_read
Lloh0:
	adrp	x8, _TXWI_W0_FRAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXWI_W0_FRAG@GOTPAGEOFF]
	str	w0, [sp, #12]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _ENTRY_TXD_MORE_FRAG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENTRY_TXD_MORE_FRAG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x22, x21, #36
	mov	x1, x22
	bl	_test_bit
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x23
	bl	_rt2x00_set_field32
Lloh6:
	adrp	x8, _TXWI_W0_MIMO_PS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TXWI_W0_MIMO_PS@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
Lloh9:
	adrp	x8, _ENTRY_TXD_HT_MIMO_PS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENTRY_TXD_HT_MIMO_PS@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x23
	bl	_rt2x00_set_field32
Lloh12:
	adrp	x8, _TXWI_W0_CF_ACK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TXWI_W0_CF_ACK@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field32
Lloh15:
	adrp	x8, _TXWI_W0_TS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TXWI_W0_TS@GOTPAGEOFF]
Lloh17:
	ldr	w23, [x8]
Lloh18:
	adrp	x8, _ENTRY_TXD_REQ_TIMESTAMP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENTRY_TXD_REQ_TIMESTAMP@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x23
	bl	_rt2x00_set_field32
Lloh21:
	adrp	x8, _TXWI_W0_AMPDU@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TXWI_W0_AMPDU@GOTPAGEOFF]
Lloh23:
	ldr	w23, [x8]
Lloh24:
	adrp	x8, _ENTRY_TXD_HT_AMPDU@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENTRY_TXD_HT_AMPDU@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x23
	bl	_rt2x00_set_field32
Lloh27:
	adrp	x8, _TXWI_W0_MPDU_DENSITY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TXWI_W0_MPDU_DENSITY@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldr	w2, [x21, #12]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh30:
	adrp	x8, _TXWI_W0_TX_OP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TXWI_W0_TX_OP@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	ldr	w2, [x21, #16]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh33:
	adrp	x8, _TXWI_W0_MCS@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TXWI_W0_MCS@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	ldr	w2, [x21, #20]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh36:
	adrp	x8, _TXWI_W0_BW@GOTPAGE
Lloh37:
	ldr	x8, [x8, _TXWI_W0_BW@GOTPAGEOFF]
Lloh38:
	ldr	w23, [x8]
Lloh39:
	adrp	x8, _ENTRY_TXD_HT_BW_40@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ENTRY_TXD_HT_BW_40@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x23
	bl	_rt2x00_set_field32
Lloh42:
	adrp	x8, _TXWI_W0_SHORT_GI@GOTPAGE
Lloh43:
	ldr	x8, [x8, _TXWI_W0_SHORT_GI@GOTPAGEOFF]
Lloh44:
	ldr	w23, [x8]
Lloh45:
	adrp	x8, _ENTRY_TXD_HT_SHORT_GI@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ENTRY_TXD_HT_SHORT_GI@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x23
	bl	_rt2x00_set_field32
Lloh48:
	adrp	x8, _TXWI_W0_STBC@GOTPAGE
Lloh49:
	ldr	x8, [x8, _TXWI_W0_STBC@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	ldr	w2, [x21, #24]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh51:
	adrp	x8, _TXWI_W0_PHYMODE@GOTPAGE
Lloh52:
	ldr	x8, [x8, _TXWI_W0_PHYMODE@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	ldr	w2, [x21]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
	ldr	w2, [sp, #12]
	mov	x0, x20
	mov	w1, #0
	bl	_rt2x00_desc_write
	mov	x0, x20
	mov	w1, #1
	bl	_rt2x00_desc_read
	str	w0, [sp, #12]
Lloh54:
	adrp	x8, _TXWI_W1_ACK@GOTPAGE
Lloh55:
	ldr	x8, [x8, _TXWI_W1_ACK@GOTPAGEOFF]
Lloh56:
	ldr	w23, [x8]
Lloh57:
	adrp	x8, _ENTRY_TXD_ACK@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ENTRY_TXD_ACK@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x23
	bl	_rt2x00_set_field32
Lloh60:
	adrp	x8, _TXWI_W1_NSEQ@GOTPAGE
Lloh61:
	ldr	x8, [x8, _TXWI_W1_NSEQ@GOTPAGEOFF]
Lloh62:
	ldr	w23, [x8]
Lloh63:
	adrp	x8, _ENTRY_TXD_GENERATE_SEQ@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ENTRY_TXD_GENERATE_SEQ@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x23
	bl	_rt2x00_set_field32
Lloh66:
	adrp	x8, _TXWI_W1_BW_WIN_SIZE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _TXWI_W1_BW_WIN_SIZE@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	ldr	w2, [x21, #28]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh69:
	adrp	x8, _TXWI_W1_WIRELESS_CLI_ID@GOTPAGE
Lloh70:
	ldr	x8, [x8, _TXWI_W1_WIRELESS_CLI_ID@GOTPAGEOFF]
Lloh71:
	ldr	w23, [x8]
Lloh72:
	adrp	x8, _ENTRY_TXD_ENCRYPT@GOTPAGE
Lloh73:
	ldr	x8, [x8, _ENTRY_TXD_ENCRYPT@GOTPAGEOFF]
Lloh74:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
	cmp	w0, #0
	mov	w8, #4
	mov	w9, #32
	csel	x8, x9, x8, eq
	ldr	w2, [x21, x8]
	add	x0, sp, #12
	mov	x1, x23
	bl	_rt2x00_set_field32
Lloh75:
	adrp	x8, _TXWI_W1_MPDU_TOTAL_BYTE_COUNT@GOTPAGE
Lloh76:
	ldr	x8, [x8, _TXWI_W1_MPDU_TOTAL_BYTE_COUNT@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	ldr	w2, [x21, #8]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh78:
	adrp	x8, _TXWI_W1_PACKETID_QUEUE@GOTPAGE
Lloh79:
	ldr	x8, [x8, _TXWI_W1_PACKETID_QUEUE@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh81:
	adrp	x8, _TXWI_W1_PACKETID_ENTRY@GOTPAGE
Lloh82:
	ldr	x8, [x8, _TXWI_W1_PACKETID_ENTRY@GOTPAGEOFF]
Lloh83:
	ldr	w1, [x8]
	ldrsw	x8, [x19]
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	mul	x9, x8, x9
	lsr	x10, x9, #63
	lsr	x9, x9, #32
	add	w9, w9, w10
	add	w9, w9, w9, lsl #1
	sub	w8, w8, w9
	add	w2, w8, #1
	add	x0, sp, #12
	bl	_rt2x00_set_field32
	ldr	w2, [sp, #12]
	mov	x0, x20
	mov	w1, #1
	bl	_rt2x00_desc_write
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #4]
	cmp	w8, #12
	b.lo	LBB0_3
; %bb.1:
	mov	w21, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	__rt2x00_desc_write
	add	x21, x21, #1
	ldr	x8, [x19, #8]
	ldrsw	x8, [x8, #4]
	cmp	x21, x8, lsr #2
	b.lo	LBB0_2
LBB0_3:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TXWI_W0_FRAG,4,2               ; @TXWI_W0_FRAG
	.comm	_ENTRY_TXD_MORE_FRAG,4,2        ; @ENTRY_TXD_MORE_FRAG
	.comm	_TXWI_W0_MIMO_PS,4,2            ; @TXWI_W0_MIMO_PS
	.comm	_ENTRY_TXD_HT_MIMO_PS,4,2       ; @ENTRY_TXD_HT_MIMO_PS
	.comm	_TXWI_W0_CF_ACK,4,2             ; @TXWI_W0_CF_ACK
	.comm	_TXWI_W0_TS,4,2                 ; @TXWI_W0_TS
	.comm	_ENTRY_TXD_REQ_TIMESTAMP,4,2    ; @ENTRY_TXD_REQ_TIMESTAMP
	.comm	_TXWI_W0_AMPDU,4,2              ; @TXWI_W0_AMPDU
	.comm	_ENTRY_TXD_HT_AMPDU,4,2         ; @ENTRY_TXD_HT_AMPDU
	.comm	_TXWI_W0_MPDU_DENSITY,4,2       ; @TXWI_W0_MPDU_DENSITY
	.comm	_TXWI_W0_TX_OP,4,2              ; @TXWI_W0_TX_OP
	.comm	_TXWI_W0_MCS,4,2                ; @TXWI_W0_MCS
	.comm	_TXWI_W0_BW,4,2                 ; @TXWI_W0_BW
	.comm	_ENTRY_TXD_HT_BW_40,4,2         ; @ENTRY_TXD_HT_BW_40
	.comm	_TXWI_W0_SHORT_GI,4,2           ; @TXWI_W0_SHORT_GI
	.comm	_ENTRY_TXD_HT_SHORT_GI,4,2      ; @ENTRY_TXD_HT_SHORT_GI
	.comm	_TXWI_W0_STBC,4,2               ; @TXWI_W0_STBC
	.comm	_TXWI_W0_PHYMODE,4,2            ; @TXWI_W0_PHYMODE
	.comm	_TXWI_W1_ACK,4,2                ; @TXWI_W1_ACK
	.comm	_ENTRY_TXD_ACK,4,2              ; @ENTRY_TXD_ACK
	.comm	_TXWI_W1_NSEQ,4,2               ; @TXWI_W1_NSEQ
	.comm	_ENTRY_TXD_GENERATE_SEQ,4,2     ; @ENTRY_TXD_GENERATE_SEQ
	.comm	_TXWI_W1_BW_WIN_SIZE,4,2        ; @TXWI_W1_BW_WIN_SIZE
	.comm	_TXWI_W1_WIRELESS_CLI_ID,4,2    ; @TXWI_W1_WIRELESS_CLI_ID
	.comm	_ENTRY_TXD_ENCRYPT,4,2          ; @ENTRY_TXD_ENCRYPT
	.comm	_TXWI_W1_MPDU_TOTAL_BYTE_COUNT,4,2 ; @TXWI_W1_MPDU_TOTAL_BYTE_COUNT
	.comm	_TXWI_W1_PACKETID_QUEUE,4,2     ; @TXWI_W1_PACKETID_QUEUE
	.comm	_TXWI_W1_PACKETID_ENTRY,4,2     ; @TXWI_W1_PACKETID_ENTRY
.subsections_via_symbols
