	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msgdma_tx_buffer               ## -- Begin function msgdma_tx_buffer
	.p2align	4, 0x90
_msgdma_tx_buffer:                      ## @msgdma_tx_buffer
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	4(%rsi), %edi
	callq	_lower_32_bits
	movl	%eax, %r15d
	movl	(%rbx), %r12d
	movq	_read_addr_lo@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msgdma_descroffs
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movl	4(%r14), %edi
	callq	_upper_32_bits
	movl	%eax, %r15d
	movl	(%rbx), %r12d
	movq	_read_addr_hi@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msgdma_descroffs
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movl	(%rbx), %r15d
	movq	_write_addr_lo@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msgdma_descroffs
	xorl	%edi, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movl	(%rbx), %r15d
	movq	_write_addr_hi@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msgdma_descroffs
	xorl	%edi, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movl	(%r14), %r14d
	movl	(%rbx), %r15d
	movq	_len@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msgdma_descroffs
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movl	(%rbx), %r14d
	movq	_burst_seq_num@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msgdma_descroffs
	xorl	%edi, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movq	_MSGDMA_DESC_TX_STRIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%rbx), %r15d
	movq	_stride@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msgdma_descroffs
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_csrwr32
	movq	_MSGDMA_DESC_CTL_TX_SINGLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%rbx), %ebx
	movq	_control@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msgdma_descroffs
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_csrwr32
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_read_addr_lo,4,2               ## @read_addr_lo
	.comm	_read_addr_hi,4,2               ## @read_addr_hi
	.comm	_write_addr_lo,4,2              ## @write_addr_lo
	.comm	_write_addr_hi,4,2              ## @write_addr_hi
	.comm	_len,4,2                        ## @len
	.comm	_burst_seq_num,4,2              ## @burst_seq_num
	.comm	_MSGDMA_DESC_TX_STRIDE,4,2      ## @MSGDMA_DESC_TX_STRIDE
	.comm	_stride,4,2                     ## @stride
	.comm	_MSGDMA_DESC_CTL_TX_SINGLE,4,2  ## @MSGDMA_DESC_CTL_TX_SINGLE
	.comm	_control,4,2                    ## @control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msgdma_tx_buffer               ; -- Begin function msgdma_tx_buffer
	.p2align	2
_msgdma_tx_buffer:                      ; @msgdma_tx_buffer
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #4]
	bl	_lower_32_bits
	mov	x21, x0
	ldr	w22, [x19]
Lloh0:
	adrp	x8, _read_addr_lo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _read_addr_lo@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_msgdma_descroffs
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_csrwr32
	ldr	w0, [x20, #4]
	bl	_upper_32_bits
	mov	x21, x0
	ldr	w22, [x19]
Lloh3:
	adrp	x8, _read_addr_hi@GOTPAGE
Lloh4:
	ldr	x8, [x8, _read_addr_hi@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_msgdma_descroffs
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_csrwr32
	ldr	w21, [x19]
Lloh6:
	adrp	x8, _write_addr_lo@GOTPAGE
Lloh7:
	ldr	x8, [x8, _write_addr_lo@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_msgdma_descroffs
	mov	x2, x0
	mov	w0, #0
	mov	x1, x21
	bl	_csrwr32
	ldr	w21, [x19]
Lloh9:
	adrp	x8, _write_addr_hi@GOTPAGE
Lloh10:
	ldr	x8, [x8, _write_addr_hi@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_msgdma_descroffs
	mov	x2, x0
	mov	w0, #0
	mov	x1, x21
	bl	_csrwr32
	ldr	w20, [x20]
	ldr	w21, [x19]
Lloh12:
	adrp	x8, _len@GOTPAGE
Lloh13:
	ldr	x8, [x8, _len@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_msgdma_descroffs
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_csrwr32
	ldr	w20, [x19]
Lloh15:
	adrp	x8, _burst_seq_num@GOTPAGE
Lloh16:
	ldr	x8, [x8, _burst_seq_num@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_msgdma_descroffs
	mov	x2, x0
	mov	w0, #0
	mov	x1, x20
	bl	_csrwr32
Lloh18:
	adrp	x8, _MSGDMA_DESC_TX_STRIDE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSGDMA_DESC_TX_STRIDE@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	ldr	w21, [x19]
Lloh21:
	adrp	x8, _stride@GOTPAGE
Lloh22:
	ldr	x8, [x8, _stride@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_msgdma_descroffs
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_csrwr32
Lloh24:
	adrp	x8, _MSGDMA_DESC_CTL_TX_SINGLE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MSGDMA_DESC_CTL_TX_SINGLE@GOTPAGEOFF]
Lloh26:
	ldr	w20, [x8]
	ldr	w19, [x19]
Lloh27:
	adrp	x8, _control@GOTPAGE
Lloh28:
	ldr	x8, [x8, _control@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_msgdma_descroffs
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_csrwr32
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_read_addr_lo,4,2               ; @read_addr_lo
	.comm	_read_addr_hi,4,2               ; @read_addr_hi
	.comm	_write_addr_lo,4,2              ; @write_addr_lo
	.comm	_write_addr_hi,4,2              ; @write_addr_hi
	.comm	_len,4,2                        ; @len
	.comm	_burst_seq_num,4,2              ; @burst_seq_num
	.comm	_MSGDMA_DESC_TX_STRIDE,4,2      ; @MSGDMA_DESC_TX_STRIDE
	.comm	_stride,4,2                     ; @stride
	.comm	_MSGDMA_DESC_CTL_TX_SINGLE,4,2  ; @MSGDMA_DESC_CTL_TX_SINGLE
	.comm	_control,4,2                    ; @control
.subsections_via_symbols
