	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function txx9dmac_dump_regs
_txx9dmac_dump_regs:                    ## @txx9dmac_dump_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_is_dmac64
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_chan2dev
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_channel64_read_CHAR
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_SAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_channel64_readq
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_DAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_channel64_readq
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_CNTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_channel64_readl
	movl	%eax, %r14d
	movq	_SAIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_channel64_readl
	movl	%eax, %r15d
	movq	_DAIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_channel64_readl
	movl	%eax, %r12d
	movq	_CCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_channel64_readl
	movl	%eax, %r13d
	movq	_CSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_channel64_readl
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str(%rip), %rsi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	LBB0_2
LBB0_3:
	movq	_CHAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_channel32_readl
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	_SAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_channel32_readl
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_DAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_channel32_readl
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_CNTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_channel32_readl
	movl	%eax, %r14d
	movq	_SAIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_channel32_readl
	movl	%eax, %r15d
	movq	_DAIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_channel32_readl
	movl	%eax, %r12d
	movq	_CCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_channel32_readl
	movl	%eax, %r13d
	movq	_CSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_channel32_readl
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str.1(%rip), %rsi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-64(%rbp), %edx                 ## 4-byte Reload
LBB0_2:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r14d, %r9d
	pushq	%rax
	pushq	%r13
	pushq	%r12
	pushq	%r15
	callq	_dev_err
	addq	$56, %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	"  CHAR: %#llx SAR: %#llx DAR: %#llx CNTR: %#x SAIR: %#x DAIR: %#x CCR: %#x CSR: %#x\n"

	.comm	_SAR,4,2                        ## @SAR
	.comm	_DAR,4,2                        ## @DAR
	.comm	_CNTR,4,2                       ## @CNTR
	.comm	_SAIR,4,2                       ## @SAIR
	.comm	_DAIR,4,2                       ## @DAIR
	.comm	_CCR,4,2                        ## @CCR
	.comm	_CSR,4,2                        ## @CSR
L_.str.1:                               ## @.str.1
	.asciz	"  CHAR: %#x SAR: %#x DAR: %#x CNTR: %#x SAIR: %#x DAIR: %#x CCR: %#x CSR: %#x\n"

	.comm	_CHAR,4,2                       ## @CHAR
	.no_dead_strip	_txx9dmac_dump_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function txx9dmac_dump_regs
_txx9dmac_dump_regs:                    ; @txx9dmac_dump_regs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x0
	bl	_is_dmac64
	mov	x21, x0
	mov	x0, x20
	bl	_chan2dev
	mov	x19, x0
	cbz	x21, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_channel64_read_CHAR
	mov	x21, x0
Lloh0:
	adrp	x8, _SAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SAR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_channel64_readq
	mov	x22, x0
Lloh3:
	adrp	x8, _DAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DAR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_channel64_readq
	mov	x23, x0
Lloh6:
	adrp	x8, _CNTR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CNTR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_channel64_readl
	mov	x24, x0
Lloh9:
	adrp	x8, _SAIR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SAIR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_channel64_readl
	mov	x25, x0
Lloh12:
	adrp	x8, _DAIR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DAIR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_channel64_readl
	mov	x26, x0
Lloh15:
	adrp	x8, _CCR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CCR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_channel64_readl
	mov	x27, x0
Lloh18:
	adrp	x8, _CSR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CSR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_channel64_readl
	stp	w27, w0, [sp]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	b	LBB0_3
LBB0_2:
Lloh23:
	adrp	x8, _CHAR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CHAR@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_channel32_readl
	mov	x21, x0
Lloh26:
	adrp	x8, _SAR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SAR@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_channel32_readl
	mov	x22, x0
Lloh29:
	adrp	x8, _DAR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DAR@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_channel32_readl
	mov	x23, x0
Lloh32:
	adrp	x8, _CNTR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _CNTR@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_channel32_readl
	mov	x24, x0
Lloh35:
	adrp	x8, _SAIR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SAIR@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_channel32_readl
	mov	x25, x0
Lloh38:
	adrp	x8, _DAIR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _DAIR@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_channel32_readl
	mov	x26, x0
Lloh41:
	adrp	x8, _CCR@GOTPAGE
Lloh42:
	ldr	x8, [x8, _CCR@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_channel32_readl
	mov	x27, x0
Lloh44:
	adrp	x8, _CSR@GOTPAGE
Lloh45:
	ldr	x8, [x8, _CSR@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_channel32_readl
	stp	w27, w0, [sp]
Lloh47:
	adrp	x1, l_.str.1@PAGE
Lloh48:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
LBB0_3:
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	mov	x6, x25
	mov	x7, x26
	bl	_dev_err
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh21, Lloh22
	.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
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"  CHAR: %#llx SAR: %#llx DAR: %#llx CNTR: %#x SAIR: %#x DAIR: %#x CCR: %#x CSR: %#x\n"

	.comm	_SAR,4,2                        ; @SAR
	.comm	_DAR,4,2                        ; @DAR
	.comm	_CNTR,4,2                       ; @CNTR
	.comm	_SAIR,4,2                       ; @SAIR
	.comm	_DAIR,4,2                       ; @DAIR
	.comm	_CCR,4,2                        ; @CCR
	.comm	_CSR,4,2                        ; @CSR
l_.str.1:                               ; @.str.1
	.asciz	"  CHAR: %#x SAR: %#x DAR: %#x CNTR: %#x SAIR: %#x DAIR: %#x CCR: %#x CSR: %#x\n"

	.comm	_CHAR,4,2                       ; @CHAR
	.no_dead_strip	_txx9dmac_dump_regs
.subsections_via_symbols
