	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8723e_tx_fill_desc          ## -- Begin function rtl8723e_tx_fill_desc
	.p2align	4, 0x90
_rtl8723e_tx_fill_desc:                 ## @rtl8723e_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, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	32(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %r12
	movl	24(%rbp), %r14d
	callq	_rtl_priv
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_mac
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_rtl_pcipriv
	movl	%eax, %edi
	callq	_rtl_pcidev
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_psc
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%rbx, %r14
	callq	__rtl8723e_map_hwqueue_to_fwqueue
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movl	4(%rbx), %eax
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	_IEEE80211_SCTL_FRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movl	(%rbx), %ebx
	movq	_IEEE80211_FCTL_MOREFRAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	testl	%ebx, %eax
	sete	-48(%rbp)                       ## 1-byte Folded Spill
	movl	(%r13), %edi
	movl	8(%r12), %esi
	movq	(%r12), %rdx
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_map_single
	movl	%eax, %ebx
	movl	(%r13), %edi
	movl	%eax, %esi
	callq	_pci_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_COMP_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	movb	-48(%rbp), %dil                 ## 1-byte Reload
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi), %rax
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	%ebx, -108(%rbp)                ## 4-byte Spill
	jne	LBB0_5
## %bb.4:
	movq	%rsi, %rcx
	movl	8(%rsi), %esi
LBB0_7:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%edi, %r13d
	jmp	LBB0_12
LBB0_5:
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.8:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%edi, %r13d
	jne	LBB0_11
## %bb.9:
	xorl	%esi, %esi
	jmp	LBB0_12
LBB0_6:
	xorl	%esi, %esi
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_7
## %bb.10:
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%edi, %r13d
	jne	LBB0_12
LBB0_11:
	movq	_IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	andl	(%rax), %esi
LBB0_12:
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-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	-104(%rbp), %rsi                ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_rtl_get_tcb_desc
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_clear_pci_tx_desc_content
	movl	%ebx, %edi
	callq	_ieee80211_is_nullfunc
	movl	$1, %r15d
	testq	%rax, %rax
	je	LBB0_13
LBB0_15:
	movq	_USB_HWDESC_HEADER_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_set_tx_desc_offset
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	96(%rbx), %esi
	movq	%r12, %rdi
	callq	_set_tx_desc_tx_rate
	cmpq	$0, 88(%rbx)
	jne	LBB0_17
## %bb.16:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 80(%rax)
	je	LBB0_18
LBB0_17:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_data_shortgi
LBB0_18:
	sarl	$4, %r14d
	movq	_IEEE80211_TX_CTL_AMPDU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.19:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_agg_break
	movq	%r12, %rdi
	movl	$20, %esi
	callq	_set_tx_desc_max_agg_num
LBB0_20:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_set_tx_desc_seq
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	cmpq	$0, 72(%rbx)
	je	LBB0_21
## %bb.22:
	xorl	%esi, %esi
	cmpq	$0, 64(%rbx)
	sete	%sil
	jmp	LBB0_23
LBB0_13:
	xorl	%ebx, %ebx
	movb	%r13b, %bl
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_ieee80211_is_ctl
	movl	$1, %r15d
	testq	%rax, %rax
	cmovel	%ebx, %r15d
	jne	LBB0_15
## %bb.14:
	movl	%ebx, %r13d
	xorl	%ebx, %ebx
	movl	-112(%rbp), %eax                ## 4-byte Reload
	andl	-116(%rbp), %eax                ## 4-byte Folded Reload
	jne	LBB0_40
	jmp	LBB0_15
LBB0_21:
	xorl	%esi, %esi
LBB0_23:
	movq	%r12, %rdi
	callq	_set_tx_desc_rts_enable
	movl	$1, %esi
	cmpq	$0, 72(%rbx)
	jne	LBB0_25
## %bb.24:
	xorl	%esi, %esi
	cmpq	$0, 64(%rbx)
	setne	%sil
LBB0_25:
	movq	%r12, %rdi
	callq	_set_tx_desc_hw_rts_enable
	xorl	%esi, %esi
	cmpq	$0, 64(%rbx)
	setne	%sil
	movq	%r12, %rdi
	callq	_set_tx_desc_cts2self
	xorl	%esi, %esi
	cmpq	$0, 56(%rbx)
	setne	%sil
	movq	%r12, %rdi
	callq	_set_tx_desc_rts_stbc
	movl	48(%rbx), %esi
	movq	%r12, %rdi
	callq	_set_tx_desc_rts_rate
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_set_tx_desc_rts_bw
	movl	52(%rbx), %esi
	movq	%r12, %rdi
	callq	_set_tx_desc_rts_sc
	movl	48(%rbx), %eax
	movq	_DESC92C_RATE54M@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %eax
	setle	%dl
	xorl	%esi, %esi
	cmpq	$0, 32(%rbx,%rdx,8)
	setne	%sil
	movq	%r12, %rdi
	callq	_set_tx_desc_rts_short
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_29
## %bb.26:
	movq	(%rbx), %rax
	movq	_HT_CHANNEL_WIDTH_20_40@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_28
## %bb.27:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_data_bw
	movl	$3, %r14d
	jmp	LBB0_30
LBB0_29:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_set_tx_desc_data_bw
	jmp	LBB0_30
LBB0_28:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_set_tx_desc_data_bw
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %r14d
LBB0_30:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_set_tx_desc_tx_sub_carrier
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_set_tx_desc_linip
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_set_tx_desc_pkt_size
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	movl	4(%rax), %esi
	movq	%r12, %rdi
	callq	_set_tx_desc_ampdu_density
LBB0_32:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	testq	%rax, %rax
	movl	-120(%rbp), %r14d               ## 4-byte Reload
	je	LBB0_36
## %bb.33:
	movl	(%rax), %eax
	addl	$-128, %eax
	xorl	%esi, %esi
	cmpl	$3, %eax
	ja	LBB0_35
## %bb.34:
	cltq
	leaq	L_switch.table.rtl8723e_tx_fill_desc(%rip), %rcx
	movl	(%rcx,%rax,4), %esi
LBB0_35:
	movq	%r12, %rdi
	callq	_set_tx_desc_sec_type
LBB0_36:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_set_tx_desc_pkt_id
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_set_tx_desc_queue_sel
	movq	%r12, %rdi
	movl	$31, %esi
	callq	_set_tx_desc_data_rate_fb_limit
	movq	%r12, %rdi
	movl	$15, %esi
	callq	_set_tx_desc_rts_rate_fb_limit
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_set_tx_desc_disable_fb
	xorl	%esi, %esi
	cmpq	$0, 24(%rbx)
	setne	%sil
	movq	%r12, %rdi
	callq	_set_tx_desc_use_rate
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_ieee80211_is_data_qos
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_39
## %bb.37:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 16(%rax)
	je	LBB0_39
## %bb.38:
	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	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_RT_TRACE
	movl	$1, %ebx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_rdg_enable
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_htc
LBB0_39:
	movl	%r15d, %r13d
LBB0_40:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_set_tx_desc_first_seg
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_set_tx_desc_last_seg
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_set_tx_desc_tx_buffer_size
	movq	%r12, %rdi
	movl	-108(%rbp), %esi                ## 4-byte Reload
	callq	_set_tx_desc_tx_buffer_address
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rsi
	je	LBB0_42
## %bb.41:
	movq	%r12, %rdi
	callq	_set_tx_desc_rate_id
	addq	$16, %rbx
	jmp	LBB0_43
LBB0_42:
	addq	$8, %rbx
	addq	$12, %rsi
	movq	%r12, %rdi
	callq	_set_tx_desc_rate_id
LBB0_43:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-128(%rbp), %r15                ## 8-byte Reload
	movq	(%rbx), %rsi
	movq	%r12, %rdi
	callq	_set_tx_desc_macid
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_ieee80211_is_data_qos
	testq	%rax, %rax
	jne	LBB0_46
## %bb.44:
	cmpq	$0, (%r15)
	je	LBB0_46
## %bb.45:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_hwseq_en_8723
LBB0_46:
	xorl	$1, %r13d
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_set_tx_desc_more_frag
	movq	%r14, %rdi
	callq	_ieee80211_get_DA
	movl	%eax, %edi
	callq	_is_multicast_ether_addr
	testq	%rax, %rax
	jne	LBB0_48
## %bb.47:
	movq	%r14, %rdi
	callq	_ieee80211_get_DA
	movl	%eax, %edi
	callq	_is_broadcast_ether_addr
	testq	%rax, %rax
	je	LBB0_49
LBB0_48:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_bmc
LBB0_49:
	movq	_COMP_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
LBB0_2:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	addq	$88, %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_HT_CAP_SUP_WIDTH_20_40,4,2 ## @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_SCTL_SEQ,4,2         ## @IEEE80211_SCTL_SEQ
	.comm	_USB_HWDESC_HEADER_LEN,4,2      ## @USB_HWDESC_HEADER_LEN
	.comm	_IEEE80211_TX_CTL_AMPDU,4,2     ## @IEEE80211_TX_CTL_AMPDU
	.comm	_DESC92C_RATE54M,4,2            ## @DESC92C_RATE54M
	.comm	_HT_CHANNEL_WIDTH_20_40,8,3     ## @HT_CHANNEL_WIDTH_20_40
L_.str.1:                               ## @.str.1
	.asciz	"Enable RDG function.\n"

L_.str.2:                               ## @.str.2
	.asciz	"\n"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.rtl8723e_tx_fill_desc
L_switch.table.rtl8723e_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	_rtl8723e_tx_fill_desc          ; -- Begin function rtl8723e_tx_fill_desc
	.p2align	2
_rtl8723e_tx_fill_desc:                 ; @rtl8723e_tx_fill_desc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x22, x6
	stp	x5, x4, [sp, #64]               ; 16-byte Folded Spill
	str	x2, [sp, #80]                   ; 8-byte Folded Spill
	mov	x26, x1
	mov	x19, x0
	ldr	x8, [x29, #16]
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	bl	_rtl_priv
	str	x0, [sp, #88]                   ; 8-byte Folded Spill
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_mac
	str	x0, [sp, #56]                   ; 8-byte Folded Spill
	mov	x0, x19
	bl	_rtl_pcipriv
	bl	_rtl_pcidev
	mov	x25, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_psc
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	ldr	w21, [x26]
	mov	x0, x22
	mov	x1, x23
	bl	__rtl8723e_map_hwqueue_to_fwqueue
	mov	x28, x0
	ldr	w24, [x26, #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	w23, [x26]
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, w23
	cset	w27, eq
	ldr	w0, [x25]
	ldr	w1, [x22, #8]
	ldr	x2, [x22]
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	x8, _COMP_SEND@GOTPAGE
Lloh10:
	ldr	x8, [x8, _COMP_SEND@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _DBG_TRACE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DBG_TRACE@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x3, l_.str@PAGE
Lloh16:
	add	x3, x3, l_.str@PAGEOFF
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	b	LBB0_53
LBB0_2:
	stp	w24, w27, [sp, #12]             ; 8-byte Folded Spill
	str	w28, [sp, #20]                  ; 4-byte Folded Spill
	str	w21, [sp, #36]                  ; 4-byte Folded Spill
	ldp	x27, x25, [sp, #40]             ; 16-byte Folded Reload
	ldr	x10, [sp, #56]                  ; 8-byte Folded Reload
	ldr	x8, [x10]
Lloh17:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	str	w23, [sp, #32]                  ; 4-byte Folded Spill
	b.ne	LBB0_4
; %bb.3:
	mov	x9, x10
	ldr	w21, [x10, #8]
	mov	x10, x26
	mov	x26, x22
	ldp	x24, x22, [sp, #64]             ; 16-byte Folded Reload
	b	LBB0_10
LBB0_4:
Lloh20:
	adrp	x9, _NL80211_IFTYPE_AP@GOTPAGE
Lloh21:
	ldr	x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	mov	x10, x26
	mov	x26, x22
	ldp	x24, x22, [sp, #64]             ; 16-byte Folded Reload
	cbnz	x24, LBB0_9
; %bb.6:
	mov	w21, #0
	b	LBB0_10
LBB0_7:
	mov	w21, #0
	ldr	x24, [sp, #64]                  ; 8-byte Folded Reload
	cbz	x24, LBB0_54
; %bb.8:
Lloh23:
	adrp	x9, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh24:
	ldr	x9, [x9, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	x10, x26
	mov	x26, x22
	ldr	x22, [sp, #72]                  ; 8-byte Folded Reload
	b.ne	LBB0_10
LBB0_9:
	ldr	w8, [x24]
Lloh26:
	adrp	x9, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGE
Lloh27:
	ldr	x9, [x9, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	and	w21, w9, w8
LBB0_10:
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
	ldr	w0, [x10, #4]
	bl	_le16_to_cpu
	mov	x23, x0
Lloh29:
	adrp	x8, _IEEE80211_SCTL_SEQ@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IEEE80211_SCTL_SEQ@GOTPAGEOFF]
Lloh31:
	ldr	w28, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	mov	x3, x26
	mov	x4, x25
	bl	_rtl_get_tcb_desc
	ldr	x0, [sp, #80]                   ; 8-byte Folded Reload
	mov	w1, #4
	bl	_clear_pci_tx_desc_content
	ldr	w19, [sp, #36]                  ; 4-byte Folded Reload
	mov	x0, x19
	bl	_ieee80211_is_nullfunc
	cbz	x0, LBB0_20
; %bb.11:
	mov	w24, #1
LBB0_12:
	ldr	x20, [sp, #80]                  ; 8-byte Folded Reload
LBB0_13:
	and	w8, w28, w23
	asr	w19, w8, #4
Lloh32:
	adrp	x8, _USB_HWDESC_HEADER_LEN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _USB_HWDESC_HEADER_LEN@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_set_tx_desc_offset
	ldr	w1, [x25, #96]
	mov	x0, x20
	bl	_set_tx_desc_tx_rate
	ldr	x8, [x25, #88]
	cbnz	x8, LBB0_15
; %bb.14:
	ldr	x8, [x25, #80]
	cbz	x8, LBB0_16
LBB0_15:
	mov	x0, x20
	mov	w1, #1
	bl	_set_tx_desc_data_shortgi
LBB0_16:
	ldr	w8, [x22]
Lloh35:
	adrp	x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGE
Lloh36:
	ldr	x9, [x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
	mov	x0, x20
	mov	w1, #1
	bl	_set_tx_desc_agg_break
	mov	x0, x20
	mov	w1, #20
	bl	_set_tx_desc_max_agg_num
LBB0_18:
	mov	x0, x20
	mov	x1, x19
	bl	_set_tx_desc_seq
	ldr	x8, [x25, #72]
	ldr	x22, [sp, #88]                  ; 8-byte Folded Reload
	ldr	w23, [sp, #36]                  ; 4-byte Folded Reload
	cbz	x8, LBB0_23
; %bb.19:
	ldr	x8, [x25, #64]
	cmp	x8, #0
	cset	w1, eq
	b	LBB0_24
LBB0_20:
	mov	x0, x19
	bl	_ieee80211_is_ctl
	cmp	x0, #0
	ldr	w9, [sp, #16]                   ; 4-byte Folded Reload
	csinc	w24, w9, wzr, eq
	cbnz	x0, LBB0_12
; %bb.21:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	and	w8, w20, w8
	ldr	x20, [sp, #80]                  ; 8-byte Folded Reload
	cbz	w8, LBB0_13
; %bb.22:
	mov	w19, #0
	mov	x24, x9
	ldr	x22, [sp, #88]                  ; 8-byte Folded Reload
	ldr	w23, [sp, #36]                  ; 4-byte Folded Reload
	b	LBB0_43
LBB0_23:
	mov	w1, #0
LBB0_24:
	ldr	w19, [sp, #20]                  ; 4-byte Folded Reload
	mov	x0, x20
	bl	_set_tx_desc_rts_enable
	ldr	x8, [x25, #72]
	cbz	x8, LBB0_26
; %bb.25:
	mov	w1, #1
	b	LBB0_27
LBB0_26:
	ldr	x8, [x25, #64]
	cmp	x8, #0
	cset	w1, ne
LBB0_27:
	mov	x0, x20
	bl	_set_tx_desc_hw_rts_enable
	ldr	x8, [x25, #64]
	cmp	x8, #0
	cset	w1, ne
	mov	x0, x20
	bl	_set_tx_desc_cts2self
	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_bw
	ldr	w1, [x25, #52]
	mov	x0, x20
	bl	_set_tx_desc_rts_sc
	ldr	w8, [x25, #48]
Lloh38:
	adrp	x9, _DESC92C_RATE54M@GOTPAGE
Lloh39:
	ldr	x9, [x9, _DESC92C_RATE54M@GOTPAGEOFF]
Lloh40:
	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	w21, LBB0_30
; %bb.28:
	ldr	x8, [x25]
Lloh41:
	adrp	x9, _HT_CHANNEL_WIDTH_20_40@GOTPAGE
Lloh42:
	ldr	x9, [x9, _HT_CHANNEL_WIDTH_20_40@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	mov	x0, x20
	cmp	x8, x9
	b.ne	LBB0_31
; %bb.29:
	mov	w1, #1
	bl	_set_tx_desc_data_bw
	mov	w1, #3
	b	LBB0_32
LBB0_30:
	mov	x0, x20
	mov	w1, #0
	bl	_set_tx_desc_data_bw
	mov	w1, #0
	b	LBB0_32
LBB0_31:
	mov	w1, #0
	bl	_set_tx_desc_data_bw
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	w1, [x8, #12]
LBB0_32:
	mov	x0, x20
	bl	_set_tx_desc_tx_sub_carrier
	mov	x0, x20
	mov	w1, #0
	bl	_set_tx_desc_linip
	ldr	w1, [x26]
	mov	x0, x20
	bl	_set_tx_desc_pkt_size
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_34
; %bb.33:
	ldr	w1, [x8, #4]
	mov	x0, x20
	bl	_set_tx_desc_ampdu_density
LBB0_34:
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_39
; %bb.35:
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_37
; %bb.36:
Lloh44:
	adrp	x9, l_switch.table.rtl8723e_tx_fill_desc@PAGE
Lloh45:
	add	x9, x9, l_switch.table.rtl8723e_tx_fill_desc@PAGEOFF
	ldr	w1, [x9, w8, sxtw #2]
	b	LBB0_38
LBB0_37:
	mov	w1, #0
LBB0_38:
	mov	x0, x20
	bl	_set_tx_desc_sec_type
LBB0_39:
	mov	x0, x20
	mov	w1, #0
	bl	_set_tx_desc_pkt_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
	mov	x0, x20
	mov	w1, #15
	bl	_set_tx_desc_rts_rate_fb_limit
	mov	x0, x20
	mov	w1, #0
	bl	_set_tx_desc_disable_fb
	ldr	x8, [x25, #24]
	cmp	x8, #0
	cset	w1, ne
	mov	x0, x20
	bl	_set_tx_desc_use_rate
	mov	x0, x23
	bl	_ieee80211_is_data_qos
	cbz	x0, LBB0_42
; %bb.40:
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_42
; %bb.41:
Lloh46:
	adrp	x8, _COMP_SEND@GOTPAGE
Lloh47:
	ldr	x8, [x8, _COMP_SEND@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
Lloh49:
	adrp	x8, _DBG_TRACE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _DBG_TRACE@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
Lloh52:
	adrp	x3, l_.str.1@PAGE
Lloh53:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_RT_TRACE
	mov	w19, #1
	mov	x0, x20
	mov	w1, #1
	bl	_set_tx_desc_rdg_enable
	mov	x0, x20
	mov	w1, #1
	bl	_set_tx_desc_htc
	b	LBB0_43
LBB0_42:
	mov	w19, #1
LBB0_43:
	mov	x0, x20
	mov	x1, x19
	bl	_set_tx_desc_first_seg
	mov	x0, x20
	mov	x1, x24
	bl	_set_tx_desc_last_seg
	ldr	w1, [x26]
	mov	x0, x20
	bl	_set_tx_desc_tx_buffer_size
	mov	x0, x20
	ldr	w1, [sp, #32]                   ; 4-byte Folded Reload
	bl	_set_tx_desc_tx_buffer_address
	ldr	x8, [x22]
	ldr	x1, [x25, #8]!
	cbz	x8, LBB0_45
; %bb.44:
	mov	x0, x20
	bl	_set_tx_desc_rate_id
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x25, x8, #16
	b	LBB0_46
LBB0_45:
	add	x1, x1, #12
	mov	x0, x20
	bl	_set_tx_desc_rate_id
LBB0_46:
	ldr	x1, [x25]
	mov	x0, x20
	bl	_set_tx_desc_macid
	mov	x0, x23
	bl	_ieee80211_is_data_qos
	cbnz	x0, LBB0_49
; %bb.47:
	ldr	x8, [x27]
	cbz	x8, LBB0_49
; %bb.48:
	mov	x0, x20
	mov	w1, #1
	bl	_set_tx_desc_hwseq_en_8723
LBB0_49:
	eor	w1, w24, #0x1
	mov	x0, x20
	bl	_set_tx_desc_more_frag
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
	mov	x0, x19
	bl	_ieee80211_get_DA
	bl	_is_multicast_ether_addr
	cbnz	x0, LBB0_51
; %bb.50:
	mov	x0, x19
	bl	_ieee80211_get_DA
	bl	_is_broadcast_ether_addr
	cbz	x0, LBB0_52
LBB0_51:
	mov	x0, x20
	mov	w1, #1
	bl	_set_tx_desc_bmc
LBB0_52:
Lloh54:
	adrp	x8, _COMP_SEND@GOTPAGE
Lloh55:
	ldr	x8, [x8, _COMP_SEND@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
Lloh57:
	adrp	x8, _DBG_TRACE@GOTPAGE
Lloh58:
	ldr	x8, [x8, _DBG_TRACE@GOTPAGEOFF]
Lloh59:
	ldr	w2, [x8]
Lloh60:
	adrp	x3, l_.str.2@PAGE
Lloh61:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x22
LBB0_53:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	b	_RT_TRACE
LBB0_54:
	mov	x10, x26
	mov	x26, x22
	ldr	x22, [sp, #72]                  ; 8-byte Folded Reload
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.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_HT_CAP_SUP_WIDTH_20_40,4,2 ; @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_SCTL_SEQ,4,2         ; @IEEE80211_SCTL_SEQ
	.comm	_USB_HWDESC_HEADER_LEN,4,2      ; @USB_HWDESC_HEADER_LEN
	.comm	_IEEE80211_TX_CTL_AMPDU,4,2     ; @IEEE80211_TX_CTL_AMPDU
	.comm	_DESC92C_RATE54M,4,2            ; @DESC92C_RATE54M
	.comm	_HT_CHANNEL_WIDTH_20_40,8,3     ; @HT_CHANNEL_WIDTH_20_40
l_.str.1:                               ; @.str.1
	.asciz	"Enable RDG function.\n"

l_.str.2:                               ; @.str.2
	.asciz	"\n"

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

.subsections_via_symbols
