	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt61pci_write_tx_desc
_rt61pci_write_tx_desc:                 ## @rt61pci_write_tx_desc
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	24(%rdi), %edi
	callq	_get_skb_frame_desc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rax
	movq	(%rax), %r15
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_rt2x00_desc_read
	movl	%eax, -44(%rbp)
	movq	_TXD_W1_HOST_Q_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	callq	_rt2x00_set_field32
	movq	_TXD_W1_AIFSN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rax
	movl	4(%rax), %edx
	movq	%r14, %rdi
	callq	_rt2x00_set_field32
	movq	_TXD_W1_CWMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rax
	movl	8(%rax), %edx
	movq	%r14, %rdi
	callq	_rt2x00_set_field32
	movq	_TXD_W1_CWMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movl	12(%rax), %edx
	movq	%r14, %rdi
	callq	_rt2x00_set_field32
	movq	_TXD_W1_IV_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_rt2x00_set_field32
	movq	_TXD_W1_HW_SEQUENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ENTRY_TXD_GENERATE_SEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%r12), %r13
	movq	%r13, %rsi
	callq	_test_bit
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_TXD_W1_BUFFER_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_rt2x00_set_field32
	movl	-44(%rbp), %edx
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_rt2x00_desc_write
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_rt2x00_desc_read
	movl	%eax, -44(%rbp)
	movq	_TXD_W2_PLCP_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%r12), %edx
	movq	%r14, %rdi
	callq	_rt2x00_set_field32
	movq	_TXD_W2_PLCP_SERVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%r12), %edx
	movq	%r14, %rdi
	callq	_rt2x00_set_field32
	movq	_TXD_W2_PLCP_LENGTH_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	36(%r12), %edx
	movq	%r14, %rdi
	callq	_rt2x00_set_field32
	movq	_TXD_W2_PLCP_LENGTH_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	40(%r12), %edx
	movq	%r14, %rdi
	callq	_rt2x00_set_field32
	movl	-44(%rbp), %edx
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_rt2x00_desc_write
	movq	_ENTRY_TXD_ENCRYPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$3, %esi
	callq	__rt2x00_desc_write
	movq	16(%rbx), %rax
	movl	4(%rax), %edx
	movq	%r15, %rdi
	movl	$4, %esi
	callq	__rt2x00_desc_write
LBB0_2:
	movq	%r15, %rdi
	movl	$5, %esi
	callq	_rt2x00_desc_read
	movl	%eax, -44(%rbp)
	movq	_TXD_W5_PID_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	8(%r13), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	callq	_rt2x00_set_field32
	movq	_TXD_W5_PID_SUBTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_rt2x00_set_field32
	movq	_TXD_W5_TX_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	8(%r13), %rax
	movq	16(%rax), %rax
	movl	(%rax), %edi
	callq	_TXPOWER_TO_DEV
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_TXD_W5_WAITING_DMA_DONE_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_rt2x00_set_field32
	movl	-44(%rbp), %edx
	movq	%r15, %rdi
	movl	$5, %esi
	callq	_rt2x00_desc_write
	movq	8(%r13), %rax
	movl	(%rax), %eax
	movq	_QID_BEACON@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movl	$6, %esi
	callq	_rt2x00_desc_read
	movl	%eax, -44(%rbp)
	movq	_TXD_W6_BUFFER_PHYSICAL_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_rt2x00_set_field32
	movl	-44(%rbp), %edx
	movq	%r15, %rdi
	movl	$6, %esi
	callq	_rt2x00_desc_write
	movq	%r15, %rdi
	movl	$11, %esi
	callq	_rt2x00_desc_read
	movl	%eax, -44(%rbp)
	movq	_TXD_W11_BUFFER_LENGTH0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r12), %edx
	movq	%rbx, %rdi
	callq	_rt2x00_set_field32
	movl	-44(%rbp), %edx
	movq	%r15, %rdi
	movl	$11, %esi
	callq	_rt2x00_desc_write
LBB0_4:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_rt2x00_desc_read
	movl	%eax, -44(%rbp)
	movq	_TXD_W0_OWNER_NIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_rt2x00_set_field32
	movq	_TXD_W0_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_rt2x00_set_field32
	movq	_TXD_W0_MORE_FRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ENTRY_TXD_MORE_FRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_test_bit
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_TXD_W0_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ENTRY_TXD_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_TXD_W0_TIMESTAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ENTRY_TXD_REQ_TIMESTAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_TXD_W0_OFDM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r12), %rax
	movq	_RATE_MODE_OFDM@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movq	%r14, %rdi
	callq	_rt2x00_set_field32
	movq	_TXD_W0_IFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	44(%r12), %edx
	movq	%r14, %rdi
	callq	_rt2x00_set_field32
	movq	_TXD_W0_RETRY_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ENTRY_TXD_RETRY_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_TXD_W0_TKIP_MIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ENTRY_TXD_ENCRYPT_MMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_TXD_W0_KEY_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ENTRY_TXD_ENCRYPT_PAIRWISE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_TXD_W0_KEY_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r12), %edx
	movq	%r14, %rdi
	callq	_rt2x00_set_field32
	movq	_TXD_W0_DATABYTE_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r12), %edx
	movq	%r14, %rdi
	callq	_rt2x00_set_field32
	movq	_TXD_W0_BURST@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ENTRY_TXD_BURST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_TXD_W0_CIPHER_ALG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%r12), %edx
	movq	%r14, %rdi
	callq	_rt2x00_set_field32
	movl	-44(%rbp), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_rt2x00_desc_write
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, 8(%rcx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax), %eax
	movq	_QID_BEACON@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_5
## %bb.6:
	movq	_TXINFO_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_TXD_DESC_SIZE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, 4(%rcx)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXD_W1_HOST_Q_ID,4,2           ## @TXD_W1_HOST_Q_ID
	.comm	_TXD_W1_AIFSN,4,2               ## @TXD_W1_AIFSN
	.comm	_TXD_W1_CWMIN,4,2               ## @TXD_W1_CWMIN
	.comm	_TXD_W1_CWMAX,4,2               ## @TXD_W1_CWMAX
	.comm	_TXD_W1_IV_OFFSET,4,2           ## @TXD_W1_IV_OFFSET
	.comm	_TXD_W1_HW_SEQUENCE,4,2         ## @TXD_W1_HW_SEQUENCE
	.comm	_ENTRY_TXD_GENERATE_SEQ,4,2     ## @ENTRY_TXD_GENERATE_SEQ
	.comm	_TXD_W1_BUFFER_COUNT,4,2        ## @TXD_W1_BUFFER_COUNT
	.comm	_TXD_W2_PLCP_SIGNAL,4,2         ## @TXD_W2_PLCP_SIGNAL
	.comm	_TXD_W2_PLCP_SERVICE,4,2        ## @TXD_W2_PLCP_SERVICE
	.comm	_TXD_W2_PLCP_LENGTH_LOW,4,2     ## @TXD_W2_PLCP_LENGTH_LOW
	.comm	_TXD_W2_PLCP_LENGTH_HIGH,4,2    ## @TXD_W2_PLCP_LENGTH_HIGH
	.comm	_ENTRY_TXD_ENCRYPT,4,2          ## @ENTRY_TXD_ENCRYPT
	.comm	_TXD_W5_PID_TYPE,4,2            ## @TXD_W5_PID_TYPE
	.comm	_TXD_W5_PID_SUBTYPE,4,2         ## @TXD_W5_PID_SUBTYPE
	.comm	_TXD_W5_TX_POWER,4,2            ## @TXD_W5_TX_POWER
	.comm	_TXD_W5_WAITING_DMA_DONE_INT,4,2 ## @TXD_W5_WAITING_DMA_DONE_INT
	.comm	_QID_BEACON,4,2                 ## @QID_BEACON
	.comm	_TXD_W6_BUFFER_PHYSICAL_ADDRESS,4,2 ## @TXD_W6_BUFFER_PHYSICAL_ADDRESS
	.comm	_TXD_W11_BUFFER_LENGTH0,4,2     ## @TXD_W11_BUFFER_LENGTH0
	.comm	_TXD_W0_OWNER_NIC,4,2           ## @TXD_W0_OWNER_NIC
	.comm	_TXD_W0_VALID,4,2               ## @TXD_W0_VALID
	.comm	_TXD_W0_MORE_FRAG,4,2           ## @TXD_W0_MORE_FRAG
	.comm	_ENTRY_TXD_MORE_FRAG,4,2        ## @ENTRY_TXD_MORE_FRAG
	.comm	_TXD_W0_ACK,4,2                 ## @TXD_W0_ACK
	.comm	_ENTRY_TXD_ACK,4,2              ## @ENTRY_TXD_ACK
	.comm	_TXD_W0_TIMESTAMP,4,2           ## @TXD_W0_TIMESTAMP
	.comm	_ENTRY_TXD_REQ_TIMESTAMP,4,2    ## @ENTRY_TXD_REQ_TIMESTAMP
	.comm	_TXD_W0_OFDM,4,2                ## @TXD_W0_OFDM
	.comm	_RATE_MODE_OFDM,8,3             ## @RATE_MODE_OFDM
	.comm	_TXD_W0_IFS,4,2                 ## @TXD_W0_IFS
	.comm	_TXD_W0_RETRY_MODE,4,2          ## @TXD_W0_RETRY_MODE
	.comm	_ENTRY_TXD_RETRY_MODE,4,2       ## @ENTRY_TXD_RETRY_MODE
	.comm	_TXD_W0_TKIP_MIC,4,2            ## @TXD_W0_TKIP_MIC
	.comm	_ENTRY_TXD_ENCRYPT_MMIC,4,2     ## @ENTRY_TXD_ENCRYPT_MMIC
	.comm	_TXD_W0_KEY_TABLE,4,2           ## @TXD_W0_KEY_TABLE
	.comm	_ENTRY_TXD_ENCRYPT_PAIRWISE,4,2 ## @ENTRY_TXD_ENCRYPT_PAIRWISE
	.comm	_TXD_W0_KEY_INDEX,4,2           ## @TXD_W0_KEY_INDEX
	.comm	_TXD_W0_DATABYTE_COUNT,4,2      ## @TXD_W0_DATABYTE_COUNT
	.comm	_TXD_W0_BURST,4,2               ## @TXD_W0_BURST
	.comm	_ENTRY_TXD_BURST,4,2            ## @ENTRY_TXD_BURST
	.comm	_TXD_W0_CIPHER_ALG,4,2          ## @TXD_W0_CIPHER_ALG
	.comm	_TXINFO_SIZE,4,2                ## @TXINFO_SIZE
	.comm	_TXD_DESC_SIZE,4,2              ## @TXD_DESC_SIZE
	.no_dead_strip	_rt61pci_write_tx_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt61pci_write_tx_desc
_rt61pci_write_tx_desc:                 ; @rt61pci_write_tx_desc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x22, x1
	mov	x20, x0
	ldr	w0, [x0, #24]
	bl	_get_skb_frame_desc
	mov	x19, x0
	ldr	x8, [x20, #16]
	ldr	x21, [x8]
	mov	x0, x21
	mov	w1, #1
	bl	_rt2x00_desc_read
	str	w0, [sp, #12]
Lloh0:
	adrp	x8, _TXD_W1_HOST_Q_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXD_W1_HOST_Q_ID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x8, [x20, #8]
	ldr	w2, [x8]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh3:
	adrp	x8, _TXD_W1_AIFSN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TXD_W1_AIFSN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	x8, [x20, #8]
	ldr	w2, [x8, #4]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh6:
	adrp	x8, _TXD_W1_CWMIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TXD_W1_CWMIN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x8, [x20, #8]
	ldr	w2, [x8, #8]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh9:
	adrp	x8, _TXD_W1_CWMAX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TXD_W1_CWMAX@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	x8, [x20, #8]
	ldr	w2, [x8, #12]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh12:
	adrp	x8, _TXD_W1_IV_OFFSET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TXD_W1_IV_OFFSET@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x22]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh15:
	adrp	x8, _TXD_W1_HW_SEQUENCE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TXD_W1_HW_SEQUENCE@GOTPAGEOFF]
Lloh17:
	ldr	w24, [x8]
Lloh18:
	adrp	x8, _ENTRY_TXD_GENERATE_SEQ@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENTRY_TXD_GENERATE_SEQ@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	add	x23, x22, #24
	mov	x1, x23
	bl	_test_bit
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x24
	bl	_rt2x00_set_field32
Lloh21:
	adrp	x8, _TXD_W1_BUFFER_COUNT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TXD_W1_BUFFER_COUNT@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #1
	bl	_rt2x00_set_field32
	ldr	w2, [sp, #12]
	mov	x0, x21
	mov	w1, #1
	bl	_rt2x00_desc_write
	mov	x0, x21
	mov	w1, #2
	bl	_rt2x00_desc_read
	str	w0, [sp, #12]
Lloh24:
	adrp	x8, _TXD_W2_PLCP_SIGNAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TXD_W2_PLCP_SIGNAL@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	w2, [x22, #28]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh27:
	adrp	x8, _TXD_W2_PLCP_SERVICE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TXD_W2_PLCP_SERVICE@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldr	w2, [x22, #32]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh30:
	adrp	x8, _TXD_W2_PLCP_LENGTH_LOW@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TXD_W2_PLCP_LENGTH_LOW@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	ldr	w2, [x22, #36]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh33:
	adrp	x8, _TXD_W2_PLCP_LENGTH_HIGH@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TXD_W2_PLCP_LENGTH_HIGH@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	ldr	w2, [x22, #40]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
	ldr	w2, [sp, #12]
	mov	x0, x21
	mov	w1, #2
	bl	_rt2x00_desc_write
Lloh36:
	adrp	x8, _ENTRY_TXD_ENCRYPT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ENTRY_TXD_ENCRYPT@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #3
	bl	__rt2x00_desc_write
	ldr	x8, [x19, #16]
	ldr	w2, [x8, #4]
	mov	x0, x21
	mov	w1, #4
	bl	__rt2x00_desc_write
LBB0_2:
	mov	x0, x21
	mov	w1, #5
	bl	_rt2x00_desc_read
	str	w0, [sp, #12]
Lloh39:
	adrp	x8, _TXD_W5_PID_TYPE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _TXD_W5_PID_TYPE@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	ldr	x8, [x20, #8]
	ldr	w2, [x8]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh42:
	adrp	x8, _TXD_W5_PID_SUBTYPE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _TXD_W5_PID_SUBTYPE@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	ldr	w2, [x20]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh45:
	adrp	x8, _TXD_W5_TX_POWER@GOTPAGE
Lloh46:
	ldr	x8, [x8, _TXD_W5_TX_POWER@GOTPAGEOFF]
Lloh47:
	ldr	w24, [x8]
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #16]
	ldr	w0, [x8]
	bl	_TXPOWER_TO_DEV
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x24
	bl	_rt2x00_set_field32
Lloh48:
	adrp	x8, _TXD_W5_WAITING_DMA_DONE_INT@GOTPAGE
Lloh49:
	ldr	x8, [x8, _TXD_W5_WAITING_DMA_DONE_INT@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #1
	bl	_rt2x00_set_field32
	ldr	w2, [sp, #12]
	mov	x0, x21
	mov	w1, #5
	bl	_rt2x00_desc_write
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
Lloh51:
	adrp	x25, _QID_BEACON@GOTPAGE
Lloh52:
	ldr	x25, [x25, _QID_BEACON@GOTPAGEOFF]
	ldr	w9, [x25]
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x21
	mov	w1, #6
	bl	_rt2x00_desc_read
	str	w0, [sp, #12]
Lloh53:
	adrp	x8, _TXD_W6_BUFFER_PHYSICAL_ADDRESS@GOTPAGE
Lloh54:
	ldr	x8, [x8, _TXD_W6_BUFFER_PHYSICAL_ADDRESS@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	ldr	w2, [x19]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
	ldr	w2, [sp, #12]
	mov	x0, x21
	mov	w1, #6
	bl	_rt2x00_desc_write
	mov	x0, x21
	mov	w1, #11
	bl	_rt2x00_desc_read
	str	w0, [sp, #12]
Lloh56:
	adrp	x8, _TXD_W11_BUFFER_LENGTH0@GOTPAGE
Lloh57:
	ldr	x8, [x8, _TXD_W11_BUFFER_LENGTH0@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	ldr	w2, [x22, #4]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
	ldr	w2, [sp, #12]
	mov	x0, x21
	mov	w1, #11
	bl	_rt2x00_desc_write
LBB0_4:
	mov	x0, x21
	mov	w1, #0
	bl	_rt2x00_desc_read
	str	w0, [sp, #12]
Lloh59:
	adrp	x8, _TXD_W0_OWNER_NIC@GOTPAGE
Lloh60:
	ldr	x8, [x8, _TXD_W0_OWNER_NIC@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #1
	bl	_rt2x00_set_field32
Lloh62:
	adrp	x8, _TXD_W0_VALID@GOTPAGE
Lloh63:
	ldr	x8, [x8, _TXD_W0_VALID@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #1
	bl	_rt2x00_set_field32
Lloh65:
	adrp	x8, _TXD_W0_MORE_FRAG@GOTPAGE
Lloh66:
	ldr	x8, [x8, _TXD_W0_MORE_FRAG@GOTPAGEOFF]
Lloh67:
	ldr	w24, [x8]
Lloh68:
	adrp	x8, _ENTRY_TXD_MORE_FRAG@GOTPAGE
Lloh69:
	ldr	x8, [x8, _ENTRY_TXD_MORE_FRAG@GOTPAGEOFF]
Lloh70:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x24
	bl	_rt2x00_set_field32
Lloh71:
	adrp	x8, _TXD_W0_ACK@GOTPAGE
Lloh72:
	ldr	x8, [x8, _TXD_W0_ACK@GOTPAGEOFF]
Lloh73:
	ldr	w24, [x8]
Lloh74:
	adrp	x8, _ENTRY_TXD_ACK@GOTPAGE
Lloh75:
	ldr	x8, [x8, _ENTRY_TXD_ACK@GOTPAGEOFF]
Lloh76:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x24
	bl	_rt2x00_set_field32
Lloh77:
	adrp	x8, _TXD_W0_TIMESTAMP@GOTPAGE
Lloh78:
	ldr	x8, [x8, _TXD_W0_TIMESTAMP@GOTPAGEOFF]
Lloh79:
	ldr	w24, [x8]
Lloh80:
	adrp	x8, _ENTRY_TXD_REQ_TIMESTAMP@GOTPAGE
Lloh81:
	ldr	x8, [x8, _ENTRY_TXD_REQ_TIMESTAMP@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x24
	bl	_rt2x00_set_field32
Lloh83:
	adrp	x8, _TXD_W0_OFDM@GOTPAGE
Lloh84:
	ldr	x8, [x8, _TXD_W0_OFDM@GOTPAGEOFF]
Lloh85:
	ldr	w1, [x8]
	ldr	x8, [x22, #8]
Lloh86:
	adrp	x9, _RATE_MODE_OFDM@GOTPAGE
Lloh87:
	ldr	x9, [x9, _RATE_MODE_OFDM@GOTPAGEOFF]
Lloh88:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w2, eq
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh89:
	adrp	x8, _TXD_W0_IFS@GOTPAGE
Lloh90:
	ldr	x8, [x8, _TXD_W0_IFS@GOTPAGEOFF]
Lloh91:
	ldr	w1, [x8]
	ldr	w2, [x22, #44]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh92:
	adrp	x8, _TXD_W0_RETRY_MODE@GOTPAGE
Lloh93:
	ldr	x8, [x8, _TXD_W0_RETRY_MODE@GOTPAGEOFF]
Lloh94:
	ldr	w24, [x8]
Lloh95:
	adrp	x8, _ENTRY_TXD_RETRY_MODE@GOTPAGE
Lloh96:
	ldr	x8, [x8, _ENTRY_TXD_RETRY_MODE@GOTPAGEOFF]
Lloh97:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x24
	bl	_rt2x00_set_field32
Lloh98:
	adrp	x8, _TXD_W0_TKIP_MIC@GOTPAGE
Lloh99:
	ldr	x8, [x8, _TXD_W0_TKIP_MIC@GOTPAGEOFF]
Lloh100:
	ldr	w24, [x8]
Lloh101:
	adrp	x8, _ENTRY_TXD_ENCRYPT_MMIC@GOTPAGE
Lloh102:
	ldr	x8, [x8, _ENTRY_TXD_ENCRYPT_MMIC@GOTPAGEOFF]
Lloh103:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x24
	bl	_rt2x00_set_field32
Lloh104:
	adrp	x8, _TXD_W0_KEY_TABLE@GOTPAGE
Lloh105:
	ldr	x8, [x8, _TXD_W0_KEY_TABLE@GOTPAGEOFF]
Lloh106:
	ldr	w24, [x8]
Lloh107:
	adrp	x8, _ENTRY_TXD_ENCRYPT_PAIRWISE@GOTPAGE
Lloh108:
	ldr	x8, [x8, _ENTRY_TXD_ENCRYPT_PAIRWISE@GOTPAGEOFF]
Lloh109:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x24
	bl	_rt2x00_set_field32
Lloh110:
	adrp	x8, _TXD_W0_KEY_INDEX@GOTPAGE
Lloh111:
	ldr	x8, [x8, _TXD_W0_KEY_INDEX@GOTPAGEOFF]
Lloh112:
	ldr	w1, [x8]
	ldr	w2, [x22, #16]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh113:
	adrp	x8, _TXD_W0_DATABYTE_COUNT@GOTPAGE
Lloh114:
	ldr	x8, [x8, _TXD_W0_DATABYTE_COUNT@GOTPAGEOFF]
Lloh115:
	ldr	w1, [x8]
	ldr	w2, [x22, #4]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh116:
	adrp	x8, _TXD_W0_BURST@GOTPAGE
Lloh117:
	ldr	x8, [x8, _TXD_W0_BURST@GOTPAGEOFF]
Lloh118:
	ldr	w24, [x8]
Lloh119:
	adrp	x8, _ENTRY_TXD_BURST@GOTPAGE
Lloh120:
	ldr	x8, [x8, _ENTRY_TXD_BURST@GOTPAGEOFF]
Lloh121:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x24
	bl	_rt2x00_set_field32
Lloh122:
	adrp	x8, _TXD_W0_CIPHER_ALG@GOTPAGE
Lloh123:
	ldr	x8, [x8, _TXD_W0_CIPHER_ALG@GOTPAGEOFF]
Lloh124:
	ldr	w1, [x8]
	ldr	w2, [x22, #20]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
	ldr	w2, [sp, #12]
	mov	x0, x21
	mov	w1, #0
	bl	_rt2x00_desc_write
	str	x21, [x19, #8]
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	ldr	w9, [x25]
Lloh125:
	adrp	x10, _TXINFO_SIZE@GOTPAGE
Lloh126:
	ldr	x10, [x10, _TXINFO_SIZE@GOTPAGEOFF]
Lloh127:
	adrp	x11, _TXD_DESC_SIZE@GOTPAGE
Lloh128:
	ldr	x11, [x11, _TXD_DESC_SIZE@GOTPAGEOFF]
	cmp	w8, w9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [x19, #4]
	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
	add	sp, sp, #96
	ret
	.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
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh127, Lloh128
	.loh AdrpLdrGot	Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_TXD_W1_HOST_Q_ID,4,2           ; @TXD_W1_HOST_Q_ID
	.comm	_TXD_W1_AIFSN,4,2               ; @TXD_W1_AIFSN
	.comm	_TXD_W1_CWMIN,4,2               ; @TXD_W1_CWMIN
	.comm	_TXD_W1_CWMAX,4,2               ; @TXD_W1_CWMAX
	.comm	_TXD_W1_IV_OFFSET,4,2           ; @TXD_W1_IV_OFFSET
	.comm	_TXD_W1_HW_SEQUENCE,4,2         ; @TXD_W1_HW_SEQUENCE
	.comm	_ENTRY_TXD_GENERATE_SEQ,4,2     ; @ENTRY_TXD_GENERATE_SEQ
	.comm	_TXD_W1_BUFFER_COUNT,4,2        ; @TXD_W1_BUFFER_COUNT
	.comm	_TXD_W2_PLCP_SIGNAL,4,2         ; @TXD_W2_PLCP_SIGNAL
	.comm	_TXD_W2_PLCP_SERVICE,4,2        ; @TXD_W2_PLCP_SERVICE
	.comm	_TXD_W2_PLCP_LENGTH_LOW,4,2     ; @TXD_W2_PLCP_LENGTH_LOW
	.comm	_TXD_W2_PLCP_LENGTH_HIGH,4,2    ; @TXD_W2_PLCP_LENGTH_HIGH
	.comm	_ENTRY_TXD_ENCRYPT,4,2          ; @ENTRY_TXD_ENCRYPT
	.comm	_TXD_W5_PID_TYPE,4,2            ; @TXD_W5_PID_TYPE
	.comm	_TXD_W5_PID_SUBTYPE,4,2         ; @TXD_W5_PID_SUBTYPE
	.comm	_TXD_W5_TX_POWER,4,2            ; @TXD_W5_TX_POWER
	.comm	_TXD_W5_WAITING_DMA_DONE_INT,4,2 ; @TXD_W5_WAITING_DMA_DONE_INT
	.comm	_QID_BEACON,4,2                 ; @QID_BEACON
	.comm	_TXD_W6_BUFFER_PHYSICAL_ADDRESS,4,2 ; @TXD_W6_BUFFER_PHYSICAL_ADDRESS
	.comm	_TXD_W11_BUFFER_LENGTH0,4,2     ; @TXD_W11_BUFFER_LENGTH0
	.comm	_TXD_W0_OWNER_NIC,4,2           ; @TXD_W0_OWNER_NIC
	.comm	_TXD_W0_VALID,4,2               ; @TXD_W0_VALID
	.comm	_TXD_W0_MORE_FRAG,4,2           ; @TXD_W0_MORE_FRAG
	.comm	_ENTRY_TXD_MORE_FRAG,4,2        ; @ENTRY_TXD_MORE_FRAG
	.comm	_TXD_W0_ACK,4,2                 ; @TXD_W0_ACK
	.comm	_ENTRY_TXD_ACK,4,2              ; @ENTRY_TXD_ACK
	.comm	_TXD_W0_TIMESTAMP,4,2           ; @TXD_W0_TIMESTAMP
	.comm	_ENTRY_TXD_REQ_TIMESTAMP,4,2    ; @ENTRY_TXD_REQ_TIMESTAMP
	.comm	_TXD_W0_OFDM,4,2                ; @TXD_W0_OFDM
	.comm	_RATE_MODE_OFDM,8,3             ; @RATE_MODE_OFDM
	.comm	_TXD_W0_IFS,4,2                 ; @TXD_W0_IFS
	.comm	_TXD_W0_RETRY_MODE,4,2          ; @TXD_W0_RETRY_MODE
	.comm	_ENTRY_TXD_RETRY_MODE,4,2       ; @ENTRY_TXD_RETRY_MODE
	.comm	_TXD_W0_TKIP_MIC,4,2            ; @TXD_W0_TKIP_MIC
	.comm	_ENTRY_TXD_ENCRYPT_MMIC,4,2     ; @ENTRY_TXD_ENCRYPT_MMIC
	.comm	_TXD_W0_KEY_TABLE,4,2           ; @TXD_W0_KEY_TABLE
	.comm	_ENTRY_TXD_ENCRYPT_PAIRWISE,4,2 ; @ENTRY_TXD_ENCRYPT_PAIRWISE
	.comm	_TXD_W0_KEY_INDEX,4,2           ; @TXD_W0_KEY_INDEX
	.comm	_TXD_W0_DATABYTE_COUNT,4,2      ; @TXD_W0_DATABYTE_COUNT
	.comm	_TXD_W0_BURST,4,2               ; @TXD_W0_BURST
	.comm	_ENTRY_TXD_BURST,4,2            ; @ENTRY_TXD_BURST
	.comm	_TXD_W0_CIPHER_ALG,4,2          ; @TXD_W0_CIPHER_ALG
	.comm	_TXINFO_SIZE,4,2                ; @TXINFO_SIZE
	.comm	_TXD_DESC_SIZE,4,2              ; @TXD_DESC_SIZE
	.no_dead_strip	_rt61pci_write_tx_desc
.subsections_via_symbols
