	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92se_tx_fill_desc           ## -- Begin function rtl92se_tx_fill_desc
	.p2align	4, 0x90
_rtl92se_tx_fill_desc:                  ## @rtl92se_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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%r8, -128(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	32(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %r13
	movl	24(%rbp), %ebx
	callq	_rtl_priv
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_mac
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_rtl_pcipriv
	movl	%eax, %edi
	callq	_rtl_pcidev
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	(%r14), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	__rtl92se_map_hwqueue_to_fwqueue
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	4(%r14), %eax
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	_IEEE80211_SCTL_FRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movl	(%r14), %ebx
	movq	_IEEE80211_FCTL_MOREFRAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	testl	%ebx, %eax
	sete	-41(%rbp)                       ## 1-byte Folded Spill
	movl	(%r12), %edi
	movl	8(%r13), %esi
	movq	(%r13), %rdx
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_map_single
	movl	%eax, %ebx
	movl	(%r12), %edi
	movl	%eax, %esi
	callq	_pci_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rcx
	jmp	LBB0_45
LBB0_2:
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, -92(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movq	(%rdx), %rax
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%rdx, %rcx
	movl	8(%rdx), %edx
LBB0_6:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%rsi, %rbx
	jmp	LBB0_11
LBB0_4:
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.7:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_10
## %bb.8:
	xorl	%edx, %edx
	jmp	LBB0_11
LBB0_5:
	xorl	%edx, %edx
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.9:
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%rsi, %rbx
	jne	LBB0_11
LBB0_10:
	movq	(%rbx), %rax
	movq	_IEEE80211_STA_RX_BW_40@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	setge	%dl
LBB0_11:
	movl	%edx, -88(%rbp)                 ## 4-byte Spill
	movl	4(%r14), %edi
	callq	_le16_to_cpu
	movl	%eax, %r14d
	movq	_IEEE80211_SCTL_SEQ@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	movq	%r15, %rdi
	movq	-128(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	callq	_rtl_get_tcb_desc
	movq	_TX_DESC_SIZE_RTL8192S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_CLEAR_PCI_TX_DESC_CONTENT
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_ieee80211_is_nullfunc
	movl	$1, %ecx
	testq	%rax, %rax
	je	LBB0_12
LBB0_14:
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	xorl	%esi, %esi
	movq	-136(%rbp), %rax                ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.16:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %eax
	cmpl	$31, %eax
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	jg	LBB0_18
## %bb.17:
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_SET_TX_DESC_MACID
	movl	(%r13), %esi
	jmp	LBB0_18
LBB0_12:
	xorl	%r13d, %r13d
	movb	-41(%rbp), %al                  ## 1-byte Reload
	movb	%al, %r13b
	movl	%ebx, %edi
	callq	_ieee80211_is_ctl
	movl	$1, %ecx
	testq	%rax, %rax
	cmovel	%r13d, %ecx
	jne	LBB0_14
## %bb.13:
	movl	%r13d, %ebx
	xorl	%r13d, %r13d
	movl	-96(%rbp), %eax                 ## 4-byte Reload
	andl	-100(%rbp), %eax                ## 4-byte Folded Reload
	jne	LBB0_44
	jmp	LBB0_14
LBB0_15:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-112(%rbp), %rbx                ## 8-byte Reload
LBB0_18:
	movq	%r12, %rdi
	callq	_SET_TX_DESC_RSVD_MACID
	movl	96(%r13), %eax
	movq	_DESC_RATEMCS0@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpl	(%rcx), %eax
	setge	%sil
	movq	%r12, %rdi
	callq	_SET_TX_DESC_TXHT
	movq	(%rbx), %rax
	movq	_VERSION_8192S_ACUT@GOTPCREL(%rip), %rcx
	movl	96(%r13), %esi
	cmpq	(%rcx), %rax
	jne	LBB0_24
## %bb.19:
	movq	_DESC_RATE1M@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	je	LBB0_23
## %bb.20:
	movq	_DESC_RATE2M@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	je	LBB0_23
## %bb.21:
	movq	_DESC_RATE5_5M@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	je	LBB0_23
## %bb.22:
	movq	_DESC_RATE11M@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jne	LBB0_24
LBB0_23:
	movq	_DESC_RATE12M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, 96(%r13)
LBB0_24:
	movq	%r12, %rdi
	callq	_SET_TX_DESC_TX_RATE
	cmpq	$0, 88(%r13)
	jne	LBB0_26
## %bb.25:
	cmpq	$0, 80(%r13)
	je	LBB0_27
LBB0_26:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_SET_TX_DESC_TX_SHORT
LBB0_27:
	sarl	$4, %r14d
	movq	_IEEE80211_TX_CTL_AMPDU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_29
## %bb.28:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_SET_TX_DESC_AGG_ENABLE
LBB0_29:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_SET_TX_DESC_SEQ
	cmpq	$0, 72(%r13)
	je	LBB0_30
## %bb.31:
	xorl	%esi, %esi
	cmpq	$0, 64(%r13)
	sete	%sil
	jmp	LBB0_32
LBB0_30:
	xorl	%esi, %esi
LBB0_32:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_SET_TX_DESC_RTS_ENABLE
	xorl	%esi, %esi
	cmpq	$0, 64(%r13)
	setne	%sil
	movq	%r12, %rdi
	callq	_SET_TX_DESC_CTS_ENABLE
	xorl	%esi, %esi
	cmpq	$0, 56(%r13)
	setne	%sil
	movq	%r12, %rdi
	callq	_SET_TX_DESC_RTS_STBC
	movl	48(%r13), %esi
	movq	%r12, %rdi
	callq	_SET_TX_DESC_RTS_RATE
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_SET_TX_DESC_RTS_BANDWIDTH
	movl	52(%r13), %esi
	movq	%r12, %rdi
	callq	_SET_TX_DESC_RTS_SUB_CARRIER
	movl	48(%r13), %eax
	movq	_DESC_RATE54M@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %eax
	setle	%dl
	xorl	%esi, %esi
	cmpq	$0, 32(%r13,%rdx,8)
	setne	%sil
	movq	%r12, %rdi
	callq	_SET_TX_DESC_RTS_SHORT
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_36
## %bb.33:
	cmpq	$0, 24(%r13)
	je	LBB0_35
## %bb.34:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_SET_TX_DESC_TX_BANDWIDTH
	xorl	%r15d, %r15d
	jmp	LBB0_37
LBB0_36:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_SET_TX_DESC_TX_BANDWIDTH
	jmp	LBB0_37
LBB0_35:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_SET_TX_DESC_TX_BANDWIDTH
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	12(%rax), %r15d
LBB0_37:
	movl	-60(%rbp), %r13d                ## 4-byte Reload
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_SET_TX_DESC_TX_SUB_CARRIER
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_SET_TX_DESC_LINIP
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_SET_TX_DESC_OFFSET
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_SET_TX_DESC_PKT_SIZE
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	16(%r14), %esi
	movq	%r12, %rdi
	callq	_SET_TX_DESC_RA_BRSR_ID
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	testq	%rax, %rax
	movl	-64(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_41
## %bb.38:
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_40
## %bb.39:
	cltq
	leaq	L_switch.table.rtl92se_tx_fill_desc(%rip), %rcx
	movl	(%rcx,%rax,4), %ebx
LBB0_40:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_SET_TX_DESC_SEC_TYPE
LBB0_41:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_SET_TX_DESC_PACKET_ID
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_SET_TX_DESC_QUEUE_SEL
	movq	%r12, %rdi
	movl	$31, %esi
	callq	_SET_TX_DESC_DATA_RATE_FB_LIMIT
	xorl	%esi, %esi
	cmpq	$0, 8(%r14)
	setne	%sil
	movq	%r12, %rdi
	callq	_SET_TX_DESC_USER_RATE
	movl	%r15d, %edi
	callq	_ieee80211_is_data_qos
	movl	$1, %r13d
	testl	%eax, %eax
	jne	LBB0_43
## %bb.42:
	movl	$1, %r13d
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_SET_TX_DESC_NON_QOS
LBB0_43:
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
LBB0_44:
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_SET_TX_DESC_FIRST_SEG
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_SET_TX_DESC_LAST_SEG
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_SET_TX_DESC_TX_BUFFER_SIZE
	movq	%r12, %rdi
	movl	-92(%rbp), %esi                 ## 4-byte Reload
	callq	_SET_TX_DESC_TX_BUFFER_ADDRESS
	leaq	L_.str.1(%rip), %rcx
LBB0_45:
	movq	_COMP_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_SCTL_FRAG,4,2        ## @IEEE80211_SCTL_FRAG
	.comm	_IEEE80211_FCTL_MOREFRAGS,4,2   ## @IEEE80211_FCTL_MOREFRAGS
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_COMP_SEND,4,2                  ## @COMP_SEND
	.comm	_DBG_TRACE,4,2                  ## @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DMA mapping error\n"

	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.comm	_IEEE80211_STA_RX_BW_40,8,3     ## @IEEE80211_STA_RX_BW_40
	.comm	_IEEE80211_SCTL_SEQ,4,2         ## @IEEE80211_SCTL_SEQ
	.comm	_TX_DESC_SIZE_RTL8192S,4,2      ## @TX_DESC_SIZE_RTL8192S
	.comm	_DESC_RATEMCS0,4,2              ## @DESC_RATEMCS0
	.comm	_VERSION_8192S_ACUT,8,3         ## @VERSION_8192S_ACUT
	.comm	_DESC_RATE1M,4,2                ## @DESC_RATE1M
	.comm	_DESC_RATE2M,4,2                ## @DESC_RATE2M
	.comm	_DESC_RATE5_5M,4,2              ## @DESC_RATE5_5M
	.comm	_DESC_RATE11M,4,2               ## @DESC_RATE11M
	.comm	_DESC_RATE12M,4,2               ## @DESC_RATE12M
	.comm	_IEEE80211_TX_CTL_AMPDU,4,2     ## @IEEE80211_TX_CTL_AMPDU
	.comm	_DESC_RATE54M,4,2               ## @DESC_RATE54M
L_.str.1:                               ## @.str.1
	.asciz	"\n"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92se_tx_fill_desc           ; -- Begin function rtl92se_tx_fill_desc
	.p2align	2
_rtl92se_tx_fill_desc:                  ; @rtl92se_tx_fill_desc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x23, x7
	mov	x26, x6
	str	x5, [sp, #40]                   ; 8-byte Folded Spill
	str	x4, [sp, #56]                   ; 8-byte Folded Spill
	str	x2, [sp, #72]                   ; 8-byte Folded Spill
	mov	x19, x1
	mov	x24, x0
	ldr	x8, [x29, #16]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	bl	_rtl_priv
	str	x0, [sp, #64]                   ; 8-byte Folded Spill
	mov	x0, x24
	bl	_rtl_priv
	bl	_rtl_mac
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	mov	x0, x24
	bl	_rtl_pcipriv
	bl	_rtl_pcidev
	mov	x25, x0
	mov	x0, x24
	bl	_rtl_priv
	bl	_rtl_hal
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	ldr	w21, [x19]
	mov	x0, x26
	mov	x1, x23
	bl	__rtl92se_map_hwqueue_to_fwqueue
	mov	x22, x0
	ldr	w27, [x19, #4]
Lloh0:
	adrp	x8, _IEEE80211_SCTL_FRAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_SCTL_FRAG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	mov	x20, x0
	ldr	w28, [x19]
Lloh3:
	adrp	x8, _IEEE80211_FCTL_MOREFRAGS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_FCTL_MOREFRAGS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	tst	w0, w28
	cset	w28, eq
	ldr	w0, [x25]
	ldr	w1, [x26, #8]
	ldr	x2, [x26]
Lloh6:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	bl	_pci_map_single
	mov	x23, x0
	ldr	w0, [x25]
	mov	x1, x23
	bl	_pci_dma_mapping_error
	cbz	x0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	ldr	x27, [sp, #64]                  ; 8-byte Folded Reload
	b	LBB0_50
LBB0_2:
	stp	w20, w27, [sp, #8]              ; 8-byte Folded Spill
	ldp	x25, x10, [sp, #32]             ; 16-byte Folded Reload
	ldr	x20, [sp, #24]                  ; 8-byte Folded Reload
	stp	w22, w23, [sp, #16]             ; 8-byte Folded Spill
	ldr	x11, [sp, #48]                  ; 8-byte Folded Reload
	ldr	x8, [x11]
Lloh11:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	mov	x9, x11
	ldr	w27, [x11, #8]
LBB0_4:
	mov	x22, x26
	mov	x26, x10
	b	LBB0_11
LBB0_5:
Lloh14:
	adrp	x9, _NL80211_IFTYPE_AP@GOTPAGE
Lloh15:
	ldr	x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	mov	x22, x26
	mov	x26, x10
	cbnz	x10, LBB0_10
; %bb.7:
	mov	w27, #0
	b	LBB0_11
LBB0_8:
	mov	w27, #0
	cbz	x10, LBB0_4
; %bb.9:
Lloh17:
	adrp	x9, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	x22, x26
	mov	x26, x10
	b.ne	LBB0_11
LBB0_10:
	ldr	x8, [x26]
Lloh20:
	adrp	x9, _IEEE80211_STA_RX_BW_40@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IEEE80211_STA_RX_BW_40@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w27, ge
LBB0_11:
	ldr	w0, [x19, #4]
	bl	_le16_to_cpu
	mov	x23, x0
Lloh23:
	adrp	x8, _IEEE80211_SCTL_SEQ@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IEEE80211_SCTL_SEQ@GOTPAGEOFF]
Lloh25:
	ldr	w19, [x8]
	mov	x0, x24
	ldr	x1, [sp, #56]                   ; 8-byte Folded Reload
	mov	x2, x26
	mov	x3, x22
	mov	x4, x25
	bl	_rtl_get_tcb_desc
Lloh26:
	adrp	x8, _TX_DESC_SIZE_RTL8192S@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TX_DESC_SIZE_RTL8192S@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	bl	_CLEAR_PCI_TX_DESC_CONTENT
	mov	x26, x21
	mov	x0, x21
	bl	_ieee80211_is_nullfunc
	cbz	x0, LBB0_32
; %bb.12:
	mov	x24, x27
	mov	w21, #1
LBB0_13:
	ldr	x27, [sp, #64]                  ; 8-byte Folded Reload
LBB0_14:
	ldr	x8, [x27]
	cbz	x8, LBB0_17
; %bb.15:
	ldr	w1, [x25]
	cmp	w1, #31
	b.gt	LBB0_17
; %bb.16:
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	bl	_SET_TX_DESC_MACID
	ldr	w1, [x25]
	b	LBB0_18
LBB0_17:
	mov	w1, #0
LBB0_18:
	and	w19, w19, w23
	ldr	x23, [sp, #72]                  ; 8-byte Folded Reload
	mov	x0, x23
	bl	_SET_TX_DESC_RSVD_MACID
	ldr	w8, [x25, #96]
Lloh29:
	adrp	x9, _DESC_RATEMCS0@GOTPAGE
Lloh30:
	ldr	x9, [x9, _DESC_RATEMCS0@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w1, ge
	mov	x0, x23
	bl	_SET_TX_DESC_TXHT
	ldr	x8, [x20]
Lloh32:
	adrp	x9, _VERSION_8192S_ACUT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _VERSION_8192S_ACUT@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	ldr	w1, [x25, #96]
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.19:
Lloh35:
	adrp	x8, _DESC_RATE1M@GOTPAGE
Lloh36:
	ldr	x8, [x8, _DESC_RATE1M@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	cmp	w1, w8
	ldr	x23, [sp, #56]                  ; 8-byte Folded Reload
	b.eq	LBB0_23
; %bb.20:
Lloh38:
	adrp	x8, _DESC_RATE2M@GOTPAGE
Lloh39:
	ldr	x8, [x8, _DESC_RATE2M@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	w1, w8
	b.eq	LBB0_23
; %bb.21:
Lloh41:
	adrp	x8, _DESC_RATE5_5M@GOTPAGE
Lloh42:
	ldr	x8, [x8, _DESC_RATE5_5M@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	cmp	w1, w8
	b.eq	LBB0_23
; %bb.22:
Lloh44:
	adrp	x8, _DESC_RATE11M@GOTPAGE
Lloh45:
	ldr	x8, [x8, _DESC_RATE11M@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	cmp	w1, w8
	b.ne	LBB0_25
LBB0_23:
Lloh47:
	adrp	x8, _DESC_RATE12M@GOTPAGE
Lloh48:
	ldr	x8, [x8, _DESC_RATE12M@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	str	w1, [x25, #96]
	b	LBB0_25
LBB0_24:
	ldr	x23, [sp, #56]                  ; 8-byte Folded Reload
LBB0_25:
	asr	w19, w19, #4
	ldr	x20, [sp, #72]                  ; 8-byte Folded Reload
	mov	x0, x20
	bl	_SET_TX_DESC_TX_RATE
	ldr	x8, [x25, #88]
	cbnz	x8, LBB0_27
; %bb.26:
	ldr	x8, [x25, #80]
	cbz	x8, LBB0_28
LBB0_27:
	mov	x0, x20
	mov	w1, #0
	bl	_SET_TX_DESC_TX_SHORT
LBB0_28:
	ldr	w8, [x23]
Lloh50:
	adrp	x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGE
Lloh51:
	ldr	x9, [x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_30
; %bb.29:
	mov	x0, x20
	mov	w1, #1
	bl	_SET_TX_DESC_AGG_ENABLE
LBB0_30:
	mov	x0, x20
	mov	x1, x19
	bl	_SET_TX_DESC_SEQ
	ldr	x8, [x25, #72]
	cbz	x8, LBB0_35
; %bb.31:
	ldr	x8, [x25, #64]
	cmp	x8, #0
	cset	w1, eq
	b	LBB0_36
LBB0_32:
	mov	x0, x26
	bl	_ieee80211_is_ctl
	cmp	x0, #0
	csinc	w21, w28, wzr, eq
	mov	x24, x27
	cbnz	x0, LBB0_13
; %bb.33:
	ldp	w9, w8, [sp, #8]                ; 8-byte Folded Reload
	and	w8, w9, w8
	ldr	x27, [sp, #64]                  ; 8-byte Folded Reload
	cbz	w8, LBB0_14
; %bb.34:
	mov	w19, #0
	mov	x21, x28
	ldr	w24, [sp, #20]                  ; 4-byte Folded Reload
	ldr	x20, [sp, #72]                  ; 8-byte Folded Reload
	b	LBB0_49
LBB0_35:
	mov	w1, #0
LBB0_36:
	ldr	w19, [sp, #16]                  ; 4-byte Folded Reload
	mov	x0, x20
	bl	_SET_TX_DESC_RTS_ENABLE
	ldr	x8, [x25, #64]
	cmp	x8, #0
	cset	w1, ne
	mov	x0, x20
	bl	_SET_TX_DESC_CTS_ENABLE
	ldr	x8, [x25, #56]
	cmp	x8, #0
	cset	w1, ne
	mov	x0, x20
	bl	_SET_TX_DESC_RTS_STBC
	ldr	w1, [x25, #48]
	mov	x0, x20
	bl	_SET_TX_DESC_RTS_RATE
	mov	x0, x20
	mov	w1, #0
	bl	_SET_TX_DESC_RTS_BANDWIDTH
	ldr	w1, [x25, #52]
	mov	x0, x20
	bl	_SET_TX_DESC_RTS_SUB_CARRIER
	ldr	w8, [x25, #48]
Lloh53:
	adrp	x9, _DESC_RATE54M@GOTPAGE
Lloh54:
	ldr	x9, [x9, _DESC_RATE54M@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	cmp	w8, w9
	mov	w8, #40
	mov	w9, #32
	csel	x8, x9, x8, gt
	ldr	x8, [x25, x8]
	cmp	x8, #0
	cset	w1, ne
	mov	x0, x20
	bl	_SET_TX_DESC_RTS_SHORT
	cbz	w24, LBB0_39
; %bb.37:
	ldr	x8, [x25, #24]
	cbz	x8, LBB0_41
; %bb.38:
	mov	x0, x20
	mov	w1, #1
	b	LBB0_40
LBB0_39:
	mov	x0, x20
	mov	w1, #0
LBB0_40:
	bl	_SET_TX_DESC_TX_BANDWIDTH
	mov	w1, #0
	b	LBB0_42
LBB0_41:
	mov	x0, x20
	mov	w1, #0
	bl	_SET_TX_DESC_TX_BANDWIDTH
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	w1, [x8, #12]
LBB0_42:
	ldr	w24, [sp, #20]                  ; 4-byte Folded Reload
	mov	x0, x20
	bl	_SET_TX_DESC_TX_SUB_CARRIER
	mov	x0, x20
	mov	w1, #0
	bl	_SET_TX_DESC_LINIP
	mov	x0, x20
	mov	w1, #32
	bl	_SET_TX_DESC_OFFSET
	ldr	w1, [x22]
	mov	x0, x20
	bl	_SET_TX_DESC_PKT_SIZE
	ldr	w1, [x25, #16]
	mov	x0, x20
	bl	_SET_TX_DESC_RA_BRSR_ID
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_47
; %bb.43:
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_45
; %bb.44:
Lloh56:
	adrp	x9, l_switch.table.rtl92se_tx_fill_desc@PAGE
Lloh57:
	add	x9, x9, l_switch.table.rtl92se_tx_fill_desc@PAGEOFF
	ldr	w1, [x9, w8, sxtw #2]
	b	LBB0_46
LBB0_45:
	mov	w1, #0
LBB0_46:
	mov	x0, x20
	bl	_SET_TX_DESC_SEC_TYPE
LBB0_47:
	mov	x0, x20
	mov	w1, #0
	bl	_SET_TX_DESC_PACKET_ID
	mov	x0, x20
	mov	x1, x19
	bl	_SET_TX_DESC_QUEUE_SEL
	mov	x0, x20
	mov	w1, #31
	bl	_SET_TX_DESC_DATA_RATE_FB_LIMIT
	ldr	x8, [x25, #8]
	cmp	x8, #0
	cset	w1, ne
	mov	x0, x20
	bl	_SET_TX_DESC_USER_RATE
	mov	x0, x26
	bl	_ieee80211_is_data_qos
	mov	w19, #1
	cbnz	w0, LBB0_49
; %bb.48:
	mov	x0, x20
	mov	w1, #1
	bl	_SET_TX_DESC_NON_QOS
LBB0_49:
	mov	x0, x20
	mov	x1, x19
	bl	_SET_TX_DESC_FIRST_SEG
	mov	x0, x20
	mov	x1, x21
	bl	_SET_TX_DESC_LAST_SEG
	ldr	w1, [x22]
	mov	x0, x20
	bl	_SET_TX_DESC_TX_BUFFER_SIZE
	mov	x0, x20
	mov	x1, x24
	bl	_SET_TX_DESC_TX_BUFFER_ADDRESS
Lloh58:
	adrp	x3, l_.str.1@PAGE
Lloh59:
	add	x3, x3, l_.str.1@PAGEOFF
LBB0_50:
Lloh60:
	adrp	x8, _COMP_SEND@GOTPAGE
Lloh61:
	ldr	x8, [x8, _COMP_SEND@GOTPAGEOFF]
Lloh62:
	adrp	x9, _DBG_TRACE@GOTPAGE
Lloh63:
	ldr	x9, [x9, _DBG_TRACE@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
Lloh65:
	ldr	w2, [x9]
	mov	x0, x27
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	b	_RT_TRACE
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh64
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_SCTL_FRAG,4,2        ; @IEEE80211_SCTL_FRAG
	.comm	_IEEE80211_FCTL_MOREFRAGS,4,2   ; @IEEE80211_FCTL_MOREFRAGS
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_COMP_SEND,4,2                  ; @COMP_SEND
	.comm	_DBG_TRACE,4,2                  ; @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DMA mapping error\n"

	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.comm	_IEEE80211_STA_RX_BW_40,8,3     ; @IEEE80211_STA_RX_BW_40
	.comm	_IEEE80211_SCTL_SEQ,4,2         ; @IEEE80211_SCTL_SEQ
	.comm	_TX_DESC_SIZE_RTL8192S,4,2      ; @TX_DESC_SIZE_RTL8192S
	.comm	_DESC_RATEMCS0,4,2              ; @DESC_RATEMCS0
	.comm	_VERSION_8192S_ACUT,8,3         ; @VERSION_8192S_ACUT
	.comm	_DESC_RATE1M,4,2                ; @DESC_RATE1M
	.comm	_DESC_RATE2M,4,2                ; @DESC_RATE2M
	.comm	_DESC_RATE5_5M,4,2              ; @DESC_RATE5_5M
	.comm	_DESC_RATE11M,4,2               ; @DESC_RATE11M
	.comm	_DESC_RATE12M,4,2               ; @DESC_RATE12M
	.comm	_IEEE80211_TX_CTL_AMPDU,4,2     ; @IEEE80211_TX_CTL_AMPDU
	.comm	_DESC_RATE54M,4,2               ; @DESC_RATE54M
l_.str.1:                               ; @.str.1
	.asciz	"\n"

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

.subsections_via_symbols
