	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sprd_dma_set_chn_config
_sprd_dma_set_chn_config:               ## @sprd_dma_set_chn_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	60(%rsi), %edi
	movq	_SPRD_DMA_CHN_PAUSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movl	56(%rbx), %edi
	movq	_SPRD_DMA_CHN_CFG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movl	52(%rbx), %edi
	movq	_SPRD_DMA_CHN_INTC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movl	48(%rbx), %edi
	movq	_SPRD_DMA_CHN_SRC_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movl	44(%rbx), %edi
	movq	_SPRD_DMA_CHN_DES_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movl	40(%rbx), %edi
	movq	_SPRD_DMA_CHN_FRG_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movl	36(%rbx), %edi
	movq	_SPRD_DMA_CHN_BLK_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movl	32(%rbx), %edi
	movq	_SPRD_DMA_CHN_TRSC_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movl	28(%rbx), %edi
	movq	_SPRD_DMA_CHN_TRSF_STEP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movl	24(%rbx), %edi
	movq	_SPRD_DMA_CHN_WARP_PTR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movl	20(%rbx), %edi
	movq	_SPRD_DMA_CHN_WARP_TO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movl	16(%rbx), %edi
	movq	_SPRD_DMA_CHN_LLIST_PTR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movl	12(%rbx), %edi
	movq	_SPRD_DMA_CHN_FRAG_STEP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movl	8(%rbx), %edi
	movq	_SPRD_DMA_CHN_SRC_BLK_STEP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movl	4(%rbx), %edi
	movq	_SPRD_DMA_CHN_DES_BLK_STEP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movl	(%rbx), %edi
	movq	_SPRD_DMA_CHN_REQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SPRD_DMA_CHN_PAUSE,8,3         ## @SPRD_DMA_CHN_PAUSE
	.comm	_SPRD_DMA_CHN_CFG,8,3           ## @SPRD_DMA_CHN_CFG
	.comm	_SPRD_DMA_CHN_INTC,8,3          ## @SPRD_DMA_CHN_INTC
	.comm	_SPRD_DMA_CHN_SRC_ADDR,8,3      ## @SPRD_DMA_CHN_SRC_ADDR
	.comm	_SPRD_DMA_CHN_DES_ADDR,8,3      ## @SPRD_DMA_CHN_DES_ADDR
	.comm	_SPRD_DMA_CHN_FRG_LEN,8,3       ## @SPRD_DMA_CHN_FRG_LEN
	.comm	_SPRD_DMA_CHN_BLK_LEN,8,3       ## @SPRD_DMA_CHN_BLK_LEN
	.comm	_SPRD_DMA_CHN_TRSC_LEN,8,3      ## @SPRD_DMA_CHN_TRSC_LEN
	.comm	_SPRD_DMA_CHN_TRSF_STEP,8,3     ## @SPRD_DMA_CHN_TRSF_STEP
	.comm	_SPRD_DMA_CHN_WARP_PTR,8,3      ## @SPRD_DMA_CHN_WARP_PTR
	.comm	_SPRD_DMA_CHN_WARP_TO,8,3       ## @SPRD_DMA_CHN_WARP_TO
	.comm	_SPRD_DMA_CHN_LLIST_PTR,8,3     ## @SPRD_DMA_CHN_LLIST_PTR
	.comm	_SPRD_DMA_CHN_FRAG_STEP,8,3     ## @SPRD_DMA_CHN_FRAG_STEP
	.comm	_SPRD_DMA_CHN_SRC_BLK_STEP,8,3  ## @SPRD_DMA_CHN_SRC_BLK_STEP
	.comm	_SPRD_DMA_CHN_DES_BLK_STEP,8,3  ## @SPRD_DMA_CHN_DES_BLK_STEP
	.comm	_SPRD_DMA_CHN_REQ,8,3           ## @SPRD_DMA_CHN_REQ
	.no_dead_strip	_sprd_dma_set_chn_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sprd_dma_set_chn_config
_sprd_dma_set_chn_config:               ; @sprd_dma_set_chn_config
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #60]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _SPRD_DMA_CHN_PAUSE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SPRD_DMA_CHN_PAUSE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x20, #56]
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _SPRD_DMA_CHN_CFG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SPRD_DMA_CHN_CFG@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x20, #52]
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _SPRD_DMA_CHN_INTC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SPRD_DMA_CHN_INTC@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x20, #48]
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _SPRD_DMA_CHN_SRC_ADDR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SPRD_DMA_CHN_SRC_ADDR@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x20, #44]
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _SPRD_DMA_CHN_DES_ADDR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SPRD_DMA_CHN_DES_ADDR@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x20, #40]
	ldr	x8, [x19]
Lloh15:
	adrp	x9, _SPRD_DMA_CHN_FRG_LEN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SPRD_DMA_CHN_FRG_LEN@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x20, #36]
	ldr	x8, [x19]
Lloh18:
	adrp	x9, _SPRD_DMA_CHN_BLK_LEN@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SPRD_DMA_CHN_BLK_LEN@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x20, #32]
	ldr	x8, [x19]
Lloh21:
	adrp	x9, _SPRD_DMA_CHN_TRSC_LEN@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SPRD_DMA_CHN_TRSC_LEN@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x20, #28]
	ldr	x8, [x19]
Lloh24:
	adrp	x9, _SPRD_DMA_CHN_TRSF_STEP@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SPRD_DMA_CHN_TRSF_STEP@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x20, #24]
	ldr	x8, [x19]
Lloh27:
	adrp	x9, _SPRD_DMA_CHN_WARP_PTR@GOTPAGE
Lloh28:
	ldr	x9, [x9, _SPRD_DMA_CHN_WARP_PTR@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x20, #20]
	ldr	x8, [x19]
Lloh30:
	adrp	x9, _SPRD_DMA_CHN_WARP_TO@GOTPAGE
Lloh31:
	ldr	x9, [x9, _SPRD_DMA_CHN_WARP_TO@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x20, #16]
	ldr	x8, [x19]
Lloh33:
	adrp	x9, _SPRD_DMA_CHN_LLIST_PTR@GOTPAGE
Lloh34:
	ldr	x9, [x9, _SPRD_DMA_CHN_LLIST_PTR@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x20, #12]
	ldr	x8, [x19]
Lloh36:
	adrp	x9, _SPRD_DMA_CHN_FRAG_STEP@GOTPAGE
Lloh37:
	ldr	x9, [x9, _SPRD_DMA_CHN_FRAG_STEP@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x20, #8]
	ldr	x8, [x19]
Lloh39:
	adrp	x9, _SPRD_DMA_CHN_SRC_BLK_STEP@GOTPAGE
Lloh40:
	ldr	x9, [x9, _SPRD_DMA_CHN_SRC_BLK_STEP@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x20, #4]
	ldr	x8, [x19]
Lloh42:
	adrp	x9, _SPRD_DMA_CHN_DES_BLK_STEP@GOTPAGE
Lloh43:
	ldr	x9, [x9, _SPRD_DMA_CHN_DES_BLK_STEP@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x20]
	ldr	x8, [x19]
Lloh45:
	adrp	x9, _SPRD_DMA_CHN_REQ@GOTPAGE
Lloh46:
	ldr	x9, [x9, _SPRD_DMA_CHN_REQ@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.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	_SPRD_DMA_CHN_PAUSE,8,3         ; @SPRD_DMA_CHN_PAUSE
	.comm	_SPRD_DMA_CHN_CFG,8,3           ; @SPRD_DMA_CHN_CFG
	.comm	_SPRD_DMA_CHN_INTC,8,3          ; @SPRD_DMA_CHN_INTC
	.comm	_SPRD_DMA_CHN_SRC_ADDR,8,3      ; @SPRD_DMA_CHN_SRC_ADDR
	.comm	_SPRD_DMA_CHN_DES_ADDR,8,3      ; @SPRD_DMA_CHN_DES_ADDR
	.comm	_SPRD_DMA_CHN_FRG_LEN,8,3       ; @SPRD_DMA_CHN_FRG_LEN
	.comm	_SPRD_DMA_CHN_BLK_LEN,8,3       ; @SPRD_DMA_CHN_BLK_LEN
	.comm	_SPRD_DMA_CHN_TRSC_LEN,8,3      ; @SPRD_DMA_CHN_TRSC_LEN
	.comm	_SPRD_DMA_CHN_TRSF_STEP,8,3     ; @SPRD_DMA_CHN_TRSF_STEP
	.comm	_SPRD_DMA_CHN_WARP_PTR,8,3      ; @SPRD_DMA_CHN_WARP_PTR
	.comm	_SPRD_DMA_CHN_WARP_TO,8,3       ; @SPRD_DMA_CHN_WARP_TO
	.comm	_SPRD_DMA_CHN_LLIST_PTR,8,3     ; @SPRD_DMA_CHN_LLIST_PTR
	.comm	_SPRD_DMA_CHN_FRAG_STEP,8,3     ; @SPRD_DMA_CHN_FRAG_STEP
	.comm	_SPRD_DMA_CHN_SRC_BLK_STEP,8,3  ; @SPRD_DMA_CHN_SRC_BLK_STEP
	.comm	_SPRD_DMA_CHN_DES_BLK_STEP,8,3  ; @SPRD_DMA_CHN_DES_BLK_STEP
	.comm	_SPRD_DMA_CHN_REQ,8,3           ; @SPRD_DMA_CHN_REQ
	.no_dead_strip	_sprd_dma_set_chn_config
.subsections_via_symbols
