	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92cu_tx_fill_desc           ## -- Begin function rtl92cu_tx_fill_desc
	.p2align	4, 0x90
_rtl92cu_tx_fill_desc:                  ## @rtl92cu_tx_fill_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -120(%rbp)                 ## 8-byte Spill
	movq	%r8, %r13
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	32(%rbp), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	16(%rbp), %r15
	callq	_rtl_priv
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_mac
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_psc
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_ieee80211_get_qos_ctl
	movq	_IEEE80211_QOS_CTL_TID_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andq	(%rax), %rcx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movl	4(%r12), %ebx
	movq	16(%r13), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	(%r15), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_skb_get_queue_mapping
	movq	%r14, %rdi
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	__rtl8192cu_mq_to_descq
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movl	(%r12), %edi
	callq	_le16_to_cpu
	movl	%eax, %r12d
	movq	_IEEE80211_SCTL_SEQ@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movq	%r14, %rdi
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movq	%r15, %rcx
	movq	%r13, %r8
	callq	_rtl_get_tcb_desc
	movq	_RTL_TX_HEADER_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_skb_push
	movq	%rax, %rbx
	movl	(%r14), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	%rbx, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_set_tx_desc_pkt_size
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_set_tx_desc_linip
	movq	_RTL_DUMMY_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_set_tx_desc_pkt_offset
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_set_tx_desc_offset
	movl	88(%r13), %esi
	movq	%rbx, %rdi
	callq	_set_tx_desc_tx_rate
	cmpq	$0, 80(%r13)
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 72(%r13)
	je	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_data_shortgi
LBB0_3:
	sarl	$4, %r12d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rax
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	_RTL_AGG_ON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movq	_IEEE80211_TX_CTL_AMPDU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_agg_enable
	movq	%rbx, %rdi
	movl	$20, %esi
	callq	_set_tx_desc_max_agg_num
	jmp	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_agg_break
LBB0_7:
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_set_tx_desc_seq
	cmpq	$0, 64(%r13)
	je	LBB0_8
## %bb.9:
	xorl	%esi, %esi
	cmpq	$0, 56(%r13)
	sete	%sil
	jmp	LBB0_10
LBB0_8:
	xorl	%esi, %esi
LBB0_10:
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_set_tx_desc_rts_enable
	movl	$1, %esi
	cmpq	$0, 64(%r13)
	jne	LBB0_12
## %bb.11:
	xorl	%esi, %esi
	cmpq	$0, 56(%r13)
	setne	%sil
LBB0_12:
	movq	%rbx, %rdi
	callq	_set_tx_desc_hw_rts_enable
	xorl	%esi, %esi
	cmpq	$0, 56(%r13)
	setne	%sil
	movq	%rbx, %rdi
	callq	_set_tx_desc_cts2self
	xorl	%esi, %esi
	cmpq	$0, 48(%r13)
	setne	%sil
	movq	%rbx, %rdi
	callq	_set_tx_desc_rts_stbc
	movl	40(%r13), %esi
	movq	%rbx, %rdi
	callq	_set_tx_desc_rts_rate
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_set_tx_desc_rts_bw
	movl	44(%r13), %esi
	movq	%rbx, %rdi
	callq	_set_tx_desc_rts_sc
	movl	40(%r13), %eax
	movq	_DESC_RATE54M@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %eax
	setle	%dl
	xorl	%esi, %esi
	cmpq	$0, 24(%r13,%rdx,8)
	setne	%sil
	movq	%rbx, %rdi
	callq	_set_tx_desc_rts_short
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 24(%rax)
	je	LBB0_18
## %bb.13:
	movq	_IEEE80211_TX_RC_DUP_DATA@GOTPCREL(%rip), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	testq	%rcx, (%rax)
	je	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_data_bw
	movl	$3, %r14d
	jmp	LBB0_19
LBB0_15:
	movq	_IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPCREL(%rip), %rax
	testq	%rcx, (%rax)
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_data_bw
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r14d
	jmp	LBB0_19
LBB0_17:
	xorl	%r14d, %r14d
LBB0_18:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_set_tx_desc_data_bw
LBB0_19:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_set_tx_desc_data_sc
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %esi
	movl	20(%rax), %edi
	callq	_ieee80211_find_sta
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_set_tx_desc_ampdu_density
LBB0_21:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_25
## %bb.22:
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_24
## %bb.23:
	cltq
	leaq	L_switch.table.rtl92cu_tx_fill_desc(%rip), %rcx
	movl	(%rcx,%rax,4), %r14d
LBB0_24:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_set_tx_desc_sec_type
LBB0_25:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_set_tx_desc_pkt_id
	movq	%rbx, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_set_tx_desc_queue_sel
	movq	%rbx, %rdi
	movl	$31, %esi
	callq	_set_tx_desc_data_rate_fb_limit
	movq	%rbx, %rdi
	movl	$15, %esi
	callq	_set_tx_desc_rts_rate_fb_limit
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_set_tx_desc_disable_fb
	xorl	%esi, %esi
	cmpq	$0, 16(%r13)
	setne	%sil
	movq	%rbx, %rdi
	callq	_set_tx_desc_use_rate
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_ieee80211_is_data_qos
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 8(%rax)
	je	LBB0_28
## %bb.27:
	movq	_COMP_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	callq	_RT_TRACE
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_rdg_enable
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_htc
LBB0_28:
	cmpq	$0, (%r15)
	movq	(%r13), %rsi
	je	LBB0_30
## %bb.29:
	movq	%rbx, %rdi
	callq	_set_tx_desc_rate_id
	addq	$8, %r13
	jmp	LBB0_31
LBB0_30:
	addq	$12, %rsi
	movq	%rbx, %rdi
	callq	_set_tx_desc_rate_id
LBB0_31:
	movq	(%r13), %rsi
	movq	%rbx, %rdi
	callq	_set_tx_desc_macid
	movl	%r14d, %edi
	callq	_ieee80211_is_data_qos
	testq	%rax, %rax
	je	LBB0_32
LBB0_35:
	movl	%r14d, %edi
	callq	_ieee80211_has_morefrags
	testq	%rax, %rax
	je	LBB0_37
## %bb.36:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_more_frag
LBB0_37:
	movq	%r12, %rdi
	callq	_ieee80211_get_DA
	movl	%eax, %edi
	callq	_is_multicast_ether_addr
	testq	%rax, %rax
	jne	LBB0_39
## %bb.38:
	movq	%r12, %rdi
	callq	_ieee80211_get_DA
	movl	%eax, %edi
	callq	_is_broadcast_ether_addr
	testq	%rax, %rax
	je	LBB0_40
LBB0_39:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_bmc
LBB0_40:
	movq	%rbx, %rdi
	callq	__rtl_fill_usb_tx_desc
	movq	%rbx, %rdi
	callq	__rtl_tx_desc_checksum
	movq	_COMP_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, %rdi
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
LBB0_32:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 8(%rax)
	je	LBB0_35
## %bb.33:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_35
## %bb.34:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_hwseq_en
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_set_tx_desc_pkt_id
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_QOS_CTL_TID_MASK,8,3 ## @IEEE80211_QOS_CTL_TID_MASK
	.comm	_IEEE80211_SCTL_SEQ,4,2         ## @IEEE80211_SCTL_SEQ
	.comm	_RTL_TX_HEADER_SIZE,4,2         ## @RTL_TX_HEADER_SIZE
	.comm	_RTL_DUMMY_OFFSET,4,2           ## @RTL_DUMMY_OFFSET
	.comm	_RTL_AGG_ON,8,3                 ## @RTL_AGG_ON
	.comm	_IEEE80211_TX_CTL_AMPDU,4,2     ## @IEEE80211_TX_CTL_AMPDU
	.comm	_DESC_RATE54M,4,2               ## @DESC_RATE54M
	.comm	_IEEE80211_TX_RC_DUP_DATA,8,3   ## @IEEE80211_TX_RC_DUP_DATA
	.comm	_IEEE80211_TX_RC_40_MHZ_WIDTH,8,3 ## @IEEE80211_TX_RC_40_MHZ_WIDTH
	.comm	_COMP_SEND,4,2                  ## @COMP_SEND
	.comm	_DBG_TRACE,4,2                  ## @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enable RDG function\n"

L_.str.1:                               ## @.str.1
	.asciz	"==>\n"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.rtl92cu_tx_fill_desc
L_switch.table.rtl92cu_tx_fill_desc:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	3                               ## 0x3

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92cu_tx_fill_desc           ; -- Begin function rtl92cu_tx_fill_desc
	.p2align	2
_rtl92cu_tx_fill_desc:                  ; @rtl92cu_tx_fill_desc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x6
	mov	x24, x5
	mov	x25, x4
	mov	x28, x1
	mov	x27, x0
	ldr	x23, [x29, #16]
	bl	_rtl_priv
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	mov	x0, x27
	bl	_rtl_priv
	bl	_rtl_mac
	mov	x26, x0
	mov	x0, x27
	bl	_rtl_priv
	bl	_rtl_psc
	str	x0, [sp]                        ; 8-byte Folded Spill
	mov	x0, x28
	bl	_ieee80211_get_qos_ctl
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _IEEE80211_QOS_CTL_TID_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_QOS_CTL_TID_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	and	x20, x9, x8
	ldr	w22, [x28, #4]
	ldr	x8, [x25, #16]
	ldr	x8, [x8]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w19, [x21]
	mov	x0, x21
	bl	_skb_get_queue_mapping
	mov	x2, x0
	mov	x0, x27
	str	w22, [sp, #20]                  ; 4-byte Folded Spill
	mov	x1, x22
	bl	__rtl8192cu_mq_to_descq
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	mov	x22, x28
	ldr	w0, [x28]
	bl	_le16_to_cpu
Lloh3:
	adrp	x8, _IEEE80211_SCTL_SEQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_SCTL_SEQ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
	asr	w28, w8, #4
	mov	x0, x27
	mov	x27, x25
	mov	x1, x25
	mov	x2, x24
	mov	x3, x21
	mov	x4, x23
	bl	_rtl_get_tcb_desc
Lloh6:
	adrp	x24, _RTL_TX_HEADER_SIZE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _RTL_TX_HEADER_SIZE@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x21
	bl	_skb_push
	mov	x21, x0
	ldr	w2, [x24]
	mov	w1, #0
	bl	_memset
	mov	x0, x21
	mov	x1, x19
	bl	_set_tx_desc_pkt_size
	mov	x0, x21
	mov	w1, #0
	bl	_set_tx_desc_linip
Lloh8:
	adrp	x8, _RTL_DUMMY_OFFSET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RTL_DUMMY_OFFSET@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_set_tx_desc_pkt_offset
	ldr	w1, [x24]
	mov	x0, x21
	bl	_set_tx_desc_offset
	ldr	w1, [x23, #88]
	mov	x0, x21
	bl	_set_tx_desc_tx_rate
	ldr	x8, [x23, #80]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x23, #72]
	cbz	x8, LBB0_3
LBB0_2:
	mov	x0, x21
	mov	w1, #1
	bl	_set_tx_desc_data_shortgi
LBB0_3:
	ldr	x8, [x26, #32]
	ldr	x8, [x8, x20, lsl #3]
Lloh11:
	adrp	x9, _RTL_AGG_ON@GOTPAGE
Lloh12:
	ldr	x9, [x9, _RTL_AGG_ON@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	x19, x27
	b.ne	LBB0_6
; %bb.4:
	ldr	w8, [x19]
Lloh14:
	adrp	x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x21
	mov	w1, #1
	bl	_set_tx_desc_agg_enable
	mov	x0, x21
	mov	w1, #20
	bl	_set_tx_desc_max_agg_num
	b	LBB0_7
LBB0_6:
	mov	x0, x21
	mov	w1, #1
	bl	_set_tx_desc_agg_break
LBB0_7:
	ldr	x20, [sp, #24]                  ; 8-byte Folded Reload
	ldp	w24, w27, [sp, #16]             ; 8-byte Folded Reload
	mov	x0, x21
	mov	x1, x28
	bl	_set_tx_desc_seq
	ldr	x8, [x23, #64]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x8, [x23, #56]
	cmp	x8, #0
	cset	w1, eq
	b	LBB0_10
LBB0_9:
	mov	w1, #0
LBB0_10:
	mov	x0, x21
	bl	_set_tx_desc_rts_enable
	ldr	x8, [x23, #64]
	cbz	x8, LBB0_12
; %bb.11:
	mov	w1, #1
	b	LBB0_13
LBB0_12:
	ldr	x8, [x23, #56]
	cmp	x8, #0
	cset	w1, ne
LBB0_13:
	mov	x0, x21
	bl	_set_tx_desc_hw_rts_enable
	ldr	x8, [x23, #56]
	cmp	x8, #0
	cset	w1, ne
	mov	x0, x21
	bl	_set_tx_desc_cts2self
	ldr	x8, [x23, #48]
	cmp	x8, #0
	cset	w1, ne
	mov	x0, x21
	bl	_set_tx_desc_rts_stbc
	ldr	w1, [x23, #40]
	mov	x0, x21
	bl	_set_tx_desc_rts_rate
	mov	x0, x21
	mov	w1, #0
	bl	_set_tx_desc_rts_bw
	ldr	w1, [x23, #44]
	mov	x0, x21
	bl	_set_tx_desc_rts_sc
	ldr	w8, [x23, #40]
Lloh17:
	adrp	x9, _DESC_RATE54M@GOTPAGE
Lloh18:
	ldr	x9, [x9, _DESC_RATE54M@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w8, w9
	mov	w8, #32
	mov	w9, #24
	csel	x8, x9, x8, gt
	ldr	x8, [x23, x8]
	cmp	x8, #0
	cset	w1, ne
	mov	x0, x21
	bl	_set_tx_desc_rts_short
	ldr	x8, [x26, #24]
	cbz	x8, LBB0_18
; %bb.14:
Lloh20:
	adrp	x8, _IEEE80211_TX_RC_DUP_DATA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IEEE80211_TX_RC_DUP_DATA@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	tst	x8, x9
	b.eq	LBB0_16
; %bb.15:
	mov	x0, x21
	mov	w1, #1
	bl	_set_tx_desc_data_bw
	mov	w1, #3
	b	LBB0_19
LBB0_16:
Lloh23:
	adrp	x8, _IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	tst	x8, x9
	b.eq	LBB0_18
; %bb.17:
	mov	x0, x21
	mov	w1, #1
	bl	_set_tx_desc_data_bw
	ldr	w1, [x26]
	b	LBB0_19
LBB0_18:
	mov	x0, x21
	mov	w1, #0
	bl	_set_tx_desc_data_bw
	mov	w1, #0
LBB0_19:
	mov	x0, x21
	bl	_set_tx_desc_data_sc
	bl	_rcu_read_lock
	ldp	w1, w0, [x26, #16]
	bl	_ieee80211_find_sta
	cbz	x0, LBB0_21
; %bb.20:
	ldr	x1, [x0]
	mov	x0, x21
	bl	_set_tx_desc_ampdu_density
LBB0_21:
	bl	_rcu_read_unlock
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_26
; %bb.22:
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_24
; %bb.23:
Lloh26:
	adrp	x9, l_switch.table.rtl92cu_tx_fill_desc@PAGE
Lloh27:
	add	x9, x9, l_switch.table.rtl92cu_tx_fill_desc@PAGEOFF
	ldr	w1, [x9, w8, sxtw #2]
	b	LBB0_25
LBB0_24:
	mov	w1, #0
LBB0_25:
	mov	x0, x21
	bl	_set_tx_desc_sec_type
LBB0_26:
	mov	x0, x21
	mov	w1, #0
	bl	_set_tx_desc_pkt_id
	mov	x0, x21
	mov	x1, x24
	bl	_set_tx_desc_queue_sel
	mov	x0, x21
	mov	w1, #31
	bl	_set_tx_desc_data_rate_fb_limit
	mov	x0, x21
	mov	w1, #15
	bl	_set_tx_desc_rts_rate_fb_limit
	mov	x0, x21
	mov	w1, #0
	bl	_set_tx_desc_disable_fb
	ldr	x8, [x23, #16]
	cmp	x8, #0
	cset	w1, ne
	mov	x0, x21
	bl	_set_tx_desc_use_rate
	mov	x0, x27
	bl	_ieee80211_is_data_qos
Lloh28:
	adrp	x19, _COMP_SEND@GOTPAGE
Lloh29:
	ldr	x19, [x19, _COMP_SEND@GOTPAGEOFF]
Lloh30:
	adrp	x24, _DBG_TRACE@GOTPAGE
Lloh31:
	ldr	x24, [x24, _DBG_TRACE@GOTPAGEOFF]
	cbz	x0, LBB0_29
; %bb.27:
	ldr	x8, [x26, #8]
	cbz	x8, LBB0_29
; %bb.28:
	ldr	w1, [x19]
	ldr	w2, [x24]
Lloh32:
	adrp	x3, l_.str@PAGE
Lloh33:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x21
	mov	w1, #1
	bl	_set_tx_desc_rdg_enable
	mov	x0, x21
	mov	w1, #1
	bl	_set_tx_desc_htc
LBB0_29:
	ldr	x8, [x20]
	ldr	x1, [x23]
	cbz	x8, LBB0_31
; %bb.30:
	mov	x0, x21
	bl	_set_tx_desc_rate_id
	add	x23, x23, #8
	b	LBB0_32
LBB0_31:
	add	x1, x1, #12
	mov	x0, x21
	bl	_set_tx_desc_rate_id
LBB0_32:
	ldr	x1, [x23]
	mov	x0, x21
	bl	_set_tx_desc_macid
	mov	x0, x27
	bl	_ieee80211_is_data_qos
	cbnz	x0, LBB0_36
; %bb.33:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_36
; %bb.34:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	x8, [x8]
	cbz	x8, LBB0_36
; %bb.35:
	mov	x0, x21
	mov	w1, #1
	bl	_set_tx_desc_hwseq_en
	mov	x0, x21
	mov	w1, #8
	bl	_set_tx_desc_pkt_id
LBB0_36:
	mov	x0, x27
	bl	_ieee80211_has_morefrags
	cbz	x0, LBB0_38
; %bb.37:
	mov	x0, x21
	mov	w1, #1
	bl	_set_tx_desc_more_frag
LBB0_38:
	mov	x0, x22
	bl	_ieee80211_get_DA
	bl	_is_multicast_ether_addr
	cbnz	x0, LBB0_40
; %bb.39:
	mov	x0, x22
	bl	_ieee80211_get_DA
	bl	_is_broadcast_ether_addr
	cbz	x0, LBB0_41
LBB0_40:
	mov	x0, x21
	mov	w1, #1
	bl	_set_tx_desc_bmc
LBB0_41:
	mov	x0, x21
	bl	__rtl_fill_usb_tx_desc
	mov	x0, x21
	bl	__rtl_tx_desc_checksum
	ldr	w1, [x19]
	ldr	w2, [x24]
Lloh34:
	adrp	x3, l_.str.1@PAGE
Lloh35:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_RT_TRACE
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_QOS_CTL_TID_MASK,8,3 ; @IEEE80211_QOS_CTL_TID_MASK
	.comm	_IEEE80211_SCTL_SEQ,4,2         ; @IEEE80211_SCTL_SEQ
	.comm	_RTL_TX_HEADER_SIZE,4,2         ; @RTL_TX_HEADER_SIZE
	.comm	_RTL_DUMMY_OFFSET,4,2           ; @RTL_DUMMY_OFFSET
	.comm	_RTL_AGG_ON,8,3                 ; @RTL_AGG_ON
	.comm	_IEEE80211_TX_CTL_AMPDU,4,2     ; @IEEE80211_TX_CTL_AMPDU
	.comm	_DESC_RATE54M,4,2               ; @DESC_RATE54M
	.comm	_IEEE80211_TX_RC_DUP_DATA,8,3   ; @IEEE80211_TX_RC_DUP_DATA
	.comm	_IEEE80211_TX_RC_40_MHZ_WIDTH,8,3 ; @IEEE80211_TX_RC_40_MHZ_WIDTH
	.comm	_COMP_SEND,4,2                  ; @COMP_SEND
	.comm	_DBG_TRACE,4,2                  ; @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enable RDG function\n"

l_.str.1:                               ; @.str.1
	.asciz	"==>\n"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.rtl92cu_tx_fill_desc
l_switch.table.rtl92cu_tx_fill_desc:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	3                               ; 0x3

.subsections_via_symbols
