	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sun6i_dma_dump_chan_regs
_sun6i_dma_dump_chan_regs:              ## @sun6i_dma_dump_chan_regs
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rdi
	callq	_virt_to_phys
	movl	%eax, -56(%rbp)
	movl	(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	8(%rbx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_DMA_CHAN_ENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	(%rbx), %rdi
	addq	%rax, %rdi
	callq	_readl
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_DMA_CHAN_PAUSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	(%rbx), %rdi
	addq	%rax, %rdi
	callq	_readl
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	_DMA_CHAN_LLI_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	(%rbx), %rdi
	addq	%rax, %rdi
	callq	_readl
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_DMA_CHAN_CUR_CFG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rdi
	addq	%rax, %rdi
	callq	_readl
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_DMA_CHAN_CUR_SRC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rdi
	addq	%rax, %rdi
	callq	_readl
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_DMA_CHAN_CUR_DST@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	(%rbx), %rdi
	addq	%r14, %rdi
	callq	_readl
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_DMA_CHAN_CUR_CNT@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	(%rbx), %rdi
	addq	%r15, %rdi
	callq	_readl
	movl	%eax, %r12d
	movq	_DMA_CHAN_CUR_PARA@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	(%rbx), %rdi
	addq	%r13, %rdi
	callq	_readl
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rcx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	-120(%rbp), %r8                 ## 8-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rax
	pushq	%r13
	pushq	%r12
	pushq	%r15
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	%r14
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	callq	_dev_dbg
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Chan %d reg: %pa\n\t___en(%04x): \t0x%08x\n\tpause(%04x): \t0x%08x\n\tstart(%04x): \t0x%08x\n\t__cfg(%04x): \t0x%08x\n\t__src(%04x): \t0x%08x\n\t__dst(%04x): \t0x%08x\n\tcount(%04x): \t0x%08x\n\t_para(%04x): \t0x%08x\n\n"

	.comm	_DMA_CHAN_ENABLE,8,3            ## @DMA_CHAN_ENABLE
	.comm	_DMA_CHAN_PAUSE,8,3             ## @DMA_CHAN_PAUSE
	.comm	_DMA_CHAN_LLI_ADDR,8,3          ## @DMA_CHAN_LLI_ADDR
	.comm	_DMA_CHAN_CUR_CFG,8,3           ## @DMA_CHAN_CUR_CFG
	.comm	_DMA_CHAN_CUR_SRC,8,3           ## @DMA_CHAN_CUR_SRC
	.comm	_DMA_CHAN_CUR_DST,8,3           ## @DMA_CHAN_CUR_DST
	.comm	_DMA_CHAN_CUR_CNT,8,3           ## @DMA_CHAN_CUR_CNT
	.comm	_DMA_CHAN_CUR_PARA,8,3          ## @DMA_CHAN_CUR_PARA
	.no_dead_strip	_sun6i_dma_dump_chan_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sun6i_dma_dump_chan_regs
_sun6i_dma_dump_chan_regs:              ; @sun6i_dma_dump_chan_regs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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	x25, x1
	mov	x19, x0
	ldr	x0, [x1]
	bl	_virt_to_phys
	ldr	w8, [x19]
	stp	w8, w0, [x29, #-88]             ; 4-byte Folded Spill
	ldr	w8, [x25, #8]
	stur	w8, [x29, #-92]                 ; 4-byte Folded Spill
Lloh0:
	adrp	x8, _DMA_CHAN_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_CHAN_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	stur	x9, [x29, #-104]                ; 8-byte Folded Spill
	ldr	x8, [x25]
	add	x0, x8, x9
	bl	_readl
	stur	w0, [x29, #-108]                ; 4-byte Folded Spill
Lloh3:
	adrp	x8, _DMA_CHAN_PAUSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_CHAN_PAUSE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
	str	x9, [sp, #104]                  ; 8-byte Folded Spill
	ldr	x8, [x25]
	add	x0, x8, x9
	bl	_readl
	str	w0, [sp, #100]                  ; 4-byte Folded Spill
Lloh6:
	adrp	x8, _DMA_CHAN_LLI_ADDR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMA_CHAN_LLI_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	x22, [x8]
	ldr	x8, [x25]
	add	x0, x8, x22
	bl	_readl
	str	w0, [sp, #96]                   ; 4-byte Folded Spill
Lloh9:
	adrp	x8, _DMA_CHAN_CUR_CFG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DMA_CHAN_CUR_CFG@GOTPAGEOFF]
Lloh11:
	ldr	x24, [x8]
	ldr	x8, [x25]
	add	x0, x8, x24
	bl	_readl
	str	w0, [sp, #92]                   ; 4-byte Folded Spill
Lloh12:
	adrp	x8, _DMA_CHAN_CUR_SRC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DMA_CHAN_CUR_SRC@GOTPAGEOFF]
Lloh14:
	ldr	x26, [x8]
	ldr	x8, [x25]
	add	x0, x8, x26
	bl	_readl
	mov	x28, x0
Lloh15:
	adrp	x8, _DMA_CHAN_CUR_DST@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DMA_CHAN_CUR_DST@GOTPAGEOFF]
Lloh17:
	ldr	x27, [x8]
	ldr	x8, [x25]
	add	x0, x8, x27
	bl	_readl
	mov	x19, x0
Lloh18:
	adrp	x8, _DMA_CHAN_CUR_CNT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DMA_CHAN_CUR_CNT@GOTPAGEOFF]
Lloh20:
	ldr	x21, [x8]
	ldr	x8, [x25]
	add	x0, x8, x21
	bl	_readl
	mov	x20, x0
Lloh21:
	adrp	x8, _DMA_CHAN_CUR_PARA@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DMA_CHAN_CUR_PARA@GOTPAGEOFF]
Lloh23:
	ldr	x23, [x8]
	ldr	x8, [x25]
	add	x0, x8, x23
	bl	_readl
	str	w0, [sp, #88]
	str	x23, [sp, #80]
	str	w20, [sp, #72]
	str	x21, [sp, #64]
	str	w19, [sp, #56]
	str	x27, [sp, #48]
	str	w28, [sp, #40]
	str	x26, [sp, #32]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	sub	x3, x29, #84
	ldr	w8, [sp, #92]                   ; 4-byte Folded Reload
	str	w8, [sp, #24]
	str	x24, [sp, #16]
	ldp	w8, w7, [sp, #96]               ; 8-byte Folded Reload
	str	w8, [sp, #8]
	str	x22, [sp]
	ldp	w2, w0, [x29, #-92]             ; 8-byte Folded Reload
	ldur	x4, [x29, #-104]                ; 8-byte Folded Reload
	ldur	w5, [x29, #-108]                ; 4-byte Folded Reload
	ldr	x6, [sp, #104]                  ; 8-byte Folded Reload
	bl	_dev_dbg
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
	.loh AdrpAdd	Lloh24, Lloh25
	.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
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Chan %d reg: %pa\n\t___en(%04x): \t0x%08x\n\tpause(%04x): \t0x%08x\n\tstart(%04x): \t0x%08x\n\t__cfg(%04x): \t0x%08x\n\t__src(%04x): \t0x%08x\n\t__dst(%04x): \t0x%08x\n\tcount(%04x): \t0x%08x\n\t_para(%04x): \t0x%08x\n\n"

	.comm	_DMA_CHAN_ENABLE,8,3            ; @DMA_CHAN_ENABLE
	.comm	_DMA_CHAN_PAUSE,8,3             ; @DMA_CHAN_PAUSE
	.comm	_DMA_CHAN_LLI_ADDR,8,3          ; @DMA_CHAN_LLI_ADDR
	.comm	_DMA_CHAN_CUR_CFG,8,3           ; @DMA_CHAN_CUR_CFG
	.comm	_DMA_CHAN_CUR_SRC,8,3           ; @DMA_CHAN_CUR_SRC
	.comm	_DMA_CHAN_CUR_DST,8,3           ; @DMA_CHAN_CUR_DST
	.comm	_DMA_CHAN_CUR_CNT,8,3           ; @DMA_CHAN_CUR_CNT
	.comm	_DMA_CHAN_CUR_PARA,8,3          ; @DMA_CHAN_CUR_PARA
	.no_dead_strip	_sun6i_dma_dump_chan_regs
.subsections_via_symbols
