	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8723be_tx_fill_cmddesc      ## -- Begin function rtl8723be_tx_fill_cmddesc
	.p2align	4, 0x90
_rtl8723be_tx_fill_cmddesc:             ## @rtl8723be_tx_fill_cmddesc
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_rtl_pcipriv
	movl	%eax, %edi
	callq	_rtl_pcidev
	movq	%rax, %rbx
	movq	_QSLT_BEACON@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	(%rbx), %edi
	movl	8(%r15), %esi
	movq	(%r15), %rdx
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_map_single
	movl	%eax, %r12d
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_pci_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_2
## %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
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
LBB0_2:
	movq	_TX_DESC_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_clear_pci_tx_desc_content
	movq	_USB_HWDESC_HEADER_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_set_tx_desc_offset
	movq	_DESC92C_RATE1M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_set_tx_desc_tx_rate
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_set_tx_desc_seq
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_set_tx_desc_linip
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_set_tx_desc_queue_sel
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_first_seg
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_last_seg
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_set_tx_desc_tx_buffer_size
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_set_tx_desc_tx_buffer_address
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_set_tx_desc_rate_id
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_set_tx_desc_macid
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_own
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_set_tx_desc_pkt_size
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_first_seg
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_last_seg
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_set_tx_desc_use_rate
	movq	_COMP_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %r9d
	leaq	L_.str.1(%rip), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_PRINT_DATA                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QSLT_BEACON,4,2                ## @QSLT_BEACON
	.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	_TX_DESC_SIZE,4,2               ## @TX_DESC_SIZE
	.comm	_USB_HWDESC_HEADER_LEN,4,2      ## @USB_HWDESC_HEADER_LEN
	.comm	_DESC92C_RATE1M,4,2             ## @DESC92C_RATE1M
	.comm	_COMP_CMD,4,2                   ## @COMP_CMD
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
L_.str.1:                               ## @.str.1
	.asciz	"H2C Tx Cmd Content\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8723be_tx_fill_cmddesc      ; -- Begin function rtl8723be_tx_fill_cmddesc
	.p2align	2
_rtl8723be_tx_fill_cmddesc:             ; @rtl8723be_tx_fill_cmddesc
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x4
	mov	x19, x1
	mov	x22, x0
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x22
	bl	_rtl_pcipriv
	bl	_rtl_pcidev
	mov	x24, x0
Lloh0:
	adrp	x8, _QSLT_BEACON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QSLT_BEACON@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	ldr	w0, [x0]
	ldr	w1, [x21, #8]
	ldr	x2, [x21]
Lloh3:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	bl	_pci_map_single
	mov	x22, x0
	ldr	w0, [x24]
	mov	x1, x22
	bl	_pci_dma_mapping_error
	cbz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _COMP_SEND@GOTPAGE
Lloh7:
	ldr	x8, [x8, _COMP_SEND@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _DBG_TRACE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DBG_TRACE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x3, l_.str@PAGE
Lloh13:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_RT_TRACE
LBB0_2:
Lloh14:
	adrp	x24, _TX_DESC_SIZE@GOTPAGE
Lloh15:
	ldr	x24, [x24, _TX_DESC_SIZE@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_clear_pci_tx_desc_content
Lloh16:
	adrp	x8, _USB_HWDESC_HEADER_LEN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _USB_HWDESC_HEADER_LEN@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_set_tx_desc_offset
Lloh19:
	adrp	x8, _DESC92C_RATE1M@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DESC92C_RATE1M@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_set_tx_desc_tx_rate
	mov	x0, x19
	mov	w1, #0
	bl	_set_tx_desc_seq
	mov	x0, x19
	mov	w1, #0
	bl	_set_tx_desc_linip
	mov	x0, x19
	mov	x1, x23
	bl	_set_tx_desc_queue_sel
	mov	x0, x19
	mov	w1, #1
	bl	_set_tx_desc_first_seg
	mov	x0, x19
	mov	w1, #1
	bl	_set_tx_desc_last_seg
	ldr	w1, [x21]
	mov	x0, x19
	bl	_set_tx_desc_tx_buffer_size
	mov	x0, x19
	mov	x1, x22
	bl	_set_tx_desc_tx_buffer_address
	mov	x0, x19
	mov	w1, #0
	bl	_set_tx_desc_rate_id
	mov	x0, x19
	mov	w1, #0
	bl	_set_tx_desc_macid
	mov	x0, x19
	mov	w1, #1
	bl	_set_tx_desc_own
	ldr	w1, [x21]
	mov	x0, x19
	bl	_set_tx_desc_pkt_size
	mov	x0, x19
	mov	w1, #1
	bl	_set_tx_desc_first_seg
	mov	x0, x19
	mov	w1, #1
	bl	_set_tx_desc_last_seg
	mov	x0, x19
	mov	w1, #1
	bl	_set_tx_desc_use_rate
Lloh22:
	adrp	x8, _COMP_CMD@GOTPAGE
Lloh23:
	ldr	x8, [x8, _COMP_CMD@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	ldr	w5, [x24]
Lloh28:
	adrp	x3, l_.str.1@PAGE
Lloh29:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_RT_PRINT_DATA
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_QSLT_BEACON,4,2                ; @QSLT_BEACON
	.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	_TX_DESC_SIZE,4,2               ; @TX_DESC_SIZE
	.comm	_USB_HWDESC_HEADER_LEN,4,2      ; @USB_HWDESC_HEADER_LEN
	.comm	_DESC92C_RATE1M,4,2             ; @DESC92C_RATE1M
	.comm	_COMP_CMD,4,2                   ; @COMP_CMD
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
l_.str.1:                               ; @.str.1
	.asciz	"H2C Tx Cmd Content\n"

.subsections_via_symbols
