	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx88_sram_channel_dump         ## -- Begin function cx88_sram_channel_dump
	.p2align	4, 0x90
_cx88_sram_channel_dump:                ## @cx88_sram_channel_dump
	.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	%rsi, %r12
	movl	(%rsi), %esi
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk0
	leaq	_cx88_sram_channel_dump.name(%rip), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	leaq	_cx88_sram_channel_dump.name(%rip), %r13
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %r15
	movl	%ebx, %edi
	andl	$-4, %edi
	addq	56(%r12), %rdi
	callq	_cx_read
	leaq	L_.str.12(%rip), %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dprintk0
	incq	%r14
	leaq	_cx88_sram_channel_dump.name(%rip), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$4, %rbx
	addq	$8, %r13
	cmpq	%rax, %r14
	jb	LBB0_2
LBB0_3:
	movq	56(%r12), %rdi
	addq	$44, %rdi
	callq	_cx_read
	movl	%eax, %ebx
	leaq	L_.str.13(%rip), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movl	%ebx, %edi
	callq	_cx88_risc_decode
	movl	%eax, %r14d
	movq	56(%r12), %rdi
	addq	$48, %rdi
	callq	_cx_read
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	decl	%r14d
	je	LBB0_5
## %bb.4:
	leaq	L_.str.14(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_pr_cont
	jmp	LBB0_6
LBB0_5:
	movl	%ebx, %edi
	callq	_cx88_risc_decode
	movl	%eax, %r14d
LBB0_6:
	movq	56(%r12), %rdi
	addq	$52, %rdi
	callq	_cx_read
	movl	%eax, %ebx
	leaq	L_.str.13(%rip), %rdi
	movl	$2, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	decl	%r14d
	je	LBB0_8
## %bb.7:
	leaq	L_.str.14(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_pr_cont
	jmp	LBB0_9
LBB0_8:
	movl	%ebx, %edi
	callq	_cx88_risc_decode
	movl	%eax, %r14d
LBB0_9:
	movq	56(%r12), %rdi
	addq	$56, %rdi
	callq	_cx_read
	movl	%eax, %ebx
	leaq	L_.str.13(%rip), %rdi
	movl	$3, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	decl	%r14d
	je	LBB0_11
## %bb.10:
	leaq	L_.str.14(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_pr_cont
	jmp	LBB0_12
LBB0_11:
	movl	%ebx, %edi
	callq	_cx88_risc_decode
LBB0_12:
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, %ebx
	cmpl	$16, %eax
	jae	LBB0_17
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
	leal	(,%rbx,4), %edi
	addq	40(%r12), %rdi
	callq	_cx_read
	movl	%eax, %r14d
	leaq	L_.str.15(%rip), %rdi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_dprintk0
	movl	%r14d, %edi
	callq	_cx88_risc_decode
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$2, %eax
	jb	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	4(,%rax,4), %r13d
	movl	%eax, %ebx
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%rbx,%r14), %r15d
	movl	%r13d, %edi
	addq	40(%r12), %rdi
	callq	_cx_read
	leaq	L_.str.16(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_pr_cont
	incq	%r14
	addl	$4, %r13d
	cmpq	%r14, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_15
	jmp	LBB0_16
LBB0_17:
	movl	48(%r12), %esi
	movl	4(%r12), %edx
	addl	%esi, %edx
	leaq	L_.str.17(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk0
	movq	40(%r12), %rsi
	leaq	96(%rsi), %rdx
	leaq	L_.str.18(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk0
	movq	32(%r12), %rdi
	callq	_cx_read
	leaq	L_.str.19(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_dprintk0
	movq	24(%r12), %rdi
	callq	_cx_read
	leaq	L_.str.20(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_dprintk0
	movq	16(%r12), %rdi
	callq	_cx_read
	leaq	L_.str.21(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_dprintk0
	movq	8(%r12), %rdi
	callq	_cx_read
	leaq	L_.str.22(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dprintk0                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__const
	.p2align	4                               ## @cx88_sram_channel_dump.name
_cx88_sram_channel_dump.name:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	L_.str.4
	.quad	L_.str.5
	.quad	L_.str.6
	.quad	L_.str.7
	.quad	L_.str.8
	.quad	L_.str.9
	.quad	L_.str.10

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"initial risc"

L_.str.1:                               ## @.str.1
	.asciz	"cdt base"

L_.str.2:                               ## @.str.2
	.asciz	"cdt size"

L_.str.3:                               ## @.str.3
	.asciz	"iq base"

L_.str.4:                               ## @.str.4
	.asciz	"iq size"

L_.str.5:                               ## @.str.5
	.asciz	"risc pc"

L_.str.6:                               ## @.str.6
	.asciz	"iq wr ptr"

L_.str.7:                               ## @.str.7
	.asciz	"iq rd ptr"

L_.str.8:                               ## @.str.8
	.asciz	"cdt current"

L_.str.9:                               ## @.str.9
	.asciz	"pci target"

L_.str.10:                              ## @.str.10
	.asciz	"line / byte"

L_.str.11:                              ## @.str.11
	.asciz	"%s - dma channel status dump\n"

L_.str.12:                              ## @.str.12
	.asciz	"   cmds: %-12s: 0x%08x\n"

L_.str.13:                              ## @.str.13
	.asciz	"  risc%d: "

L_.str.14:                              ## @.str.14
	.asciz	"0x%08x [ arg #%d ]\n"

L_.str.15:                              ## @.str.15
	.asciz	"  iq %x: "

L_.str.16:                              ## @.str.16
	.asciz	"  iq %x: 0x%08x [ arg #%d ]\n"

L_.str.17:                              ## @.str.17
	.asciz	"fifo: 0x%08x -> 0x%x\n"

L_.str.18:                              ## @.str.18
	.asciz	"ctrl: 0x%08x -> 0x%x\n"

L_.str.19:                              ## @.str.19
	.asciz	"  ptr1_reg: 0x%08x\n"

L_.str.20:                              ## @.str.20
	.asciz	"  ptr2_reg: 0x%08x\n"

L_.str.21:                              ## @.str.21
	.asciz	"  cnt1_reg: 0x%08x\n"

L_.str.22:                              ## @.str.22
	.asciz	"  cnt2_reg: 0x%08x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx88_sram_channel_dump         ; -- Begin function cx88_sram_channel_dump
	.p2align	2
_cx88_sram_channel_dump:                ; @cx88_sram_channel_dump
	.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	x19, x1
	ldr	w8, [x1]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str.11@PAGE
Lloh1:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_dprintk0
Lloh2:
	adrp	x20, _cx88_sram_channel_dump.name@PAGE
Lloh3:
	add	x20, x20, _cx88_sram_channel_dump.name@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_3
; %bb.1:
	mov	x22, #0
	mov	x23, #0
Lloh4:
	adrp	x21, l_.str.12@PAGE
Lloh5:
	add	x21, x21, l_.str.12@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x20, x23, lsl #3]
	ldr	x8, [x19, #56]
	and	x9, x22, #0xfffffffc
	add	x0, x8, x9
	bl	_cx_read
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x24, x0, [sp]
	mov	x0, x21
	bl	_dprintk0
	add	x23, x23, #1
	mov	x0, x20
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, uxtw
	b.lo	LBB0_2
LBB0_3:
	ldr	x8, [x19, #56]
	add	x0, x8, #44
	bl	_cx_read
	mov	x20, x0
Lloh6:
	adrp	x22, l_.str.13@PAGE
Lloh7:
	add	x22, x22, l_.str.13@PAGEOFF
	mov	x0, x22
	mov	w1, #0
	bl	_pr_cont
	mov	x0, x20
	bl	_cx88_risc_decode
	ldr	x8, [x19, #56]
	add	x8, x8, #48
	sub	w20, w0, #1
	mov	x0, x8
	bl	_cx_read
	mov	x21, x0
	mov	x0, x22
	mov	w1, #1
	bl	_pr_cont
	cbz	w20, LBB0_5
; %bb.4:
	str	x20, [sp]
Lloh8:
	adrp	x0, l_.str.14@PAGE
Lloh9:
	add	x0, x0, l_.str.14@PAGEOFF
	mov	x1, x21
	bl	_pr_cont
	b	LBB0_6
LBB0_5:
	mov	x0, x21
	bl	_cx88_risc_decode
	mov	x20, x0
LBB0_6:
	ldr	x8, [x19, #56]
	add	x0, x8, #52
	bl	_cx_read
	mov	x21, x0
Lloh10:
	adrp	x0, l_.str.13@PAGE
Lloh11:
	add	x0, x0, l_.str.13@PAGEOFF
	mov	w1, #2
	bl	_pr_cont
	subs	w20, w20, #1
	b.eq	LBB0_8
; %bb.7:
	str	x20, [sp]
Lloh12:
	adrp	x0, l_.str.14@PAGE
Lloh13:
	add	x0, x0, l_.str.14@PAGEOFF
	mov	x1, x21
	bl	_pr_cont
	b	LBB0_9
LBB0_8:
	mov	x0, x21
	bl	_cx88_risc_decode
	mov	x20, x0
LBB0_9:
	ldr	x8, [x19, #56]
	add	x0, x8, #56
	bl	_cx_read
	mov	x21, x0
Lloh14:
	adrp	x0, l_.str.13@PAGE
Lloh15:
	add	x0, x0, l_.str.13@PAGEOFF
	mov	w1, #3
	bl	_pr_cont
	subs	w8, w20, #1
	b.eq	LBB0_11
; %bb.10:
	str	x8, [sp]
Lloh16:
	adrp	x0, l_.str.14@PAGE
Lloh17:
	add	x0, x0, l_.str.14@PAGEOFF
	mov	x1, x21
	bl	_pr_cont
	b	LBB0_12
LBB0_11:
	mov	x0, x21
	bl	_cx88_risc_decode
LBB0_12:
	mov	w24, #0
Lloh18:
	adrp	x20, l_.str.15@PAGE
Lloh19:
	add	x20, x20, l_.str.15@PAGEOFF
Lloh20:
	adrp	x21, l_.str.16@PAGE
Lloh21:
	add	x21, x21, l_.str.16@PAGEOFF
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	w24, w22, w24
	cmp	w24, #16
	b.hs	LBB0_17
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	ldr	x8, [x19, #40]
	lsl	w23, w24, #2
	add	x0, x8, x23
	bl	_cx_read
	mov	x22, x0
	str	x24, [sp]
	mov	x0, x20
	bl	_dprintk0
	mov	x0, x22
	bl	_cx88_risc_decode
	mov	x22, x0
	cmp	w0, #2
	b.lo	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	w25, w22
	add	w26, w23, #4
	mov	w27, #1
	mov	w28, w24
LBB0_16:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #40]
	add	w23, w28, w27
	add	x0, x8, w26, uxtw
	bl	_cx_read
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x27, [sp]
	mov	x0, x21
	mov	x1, x23
	bl	_pr_cont
	add	x27, x27, #1
	add	w26, w26, #4
	cmp	x25, x27
	b.ne	LBB0_16
	b	LBB0_13
LBB0_17:
	ldr	w8, [x19, #48]
	ldr	w9, [x19, #4]
	add	w9, w9, w8
	stp	x8, x9, [sp]
Lloh22:
	adrp	x0, l_.str.17@PAGE
Lloh23:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_dprintk0
	ldr	x8, [x19, #40]
	add	x9, x8, #96
	stp	x8, x9, [sp]
Lloh24:
	adrp	x0, l_.str.18@PAGE
Lloh25:
	add	x0, x0, l_.str.18@PAGEOFF
	bl	_dprintk0
	ldr	x0, [x19, #32]
	bl	_cx_read
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh26:
	adrp	x0, l_.str.19@PAGE
Lloh27:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_dprintk0
	ldr	x0, [x19, #24]
	bl	_cx_read
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh28:
	adrp	x0, l_.str.20@PAGE
Lloh29:
	add	x0, x0, l_.str.20@PAGEOFF
	bl	_dprintk0
	ldr	x0, [x19, #16]
	bl	_cx_read
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh30:
	adrp	x0, l_.str.21@PAGE
Lloh31:
	add	x0, x0, l_.str.21@PAGEOFF
	bl	_dprintk0
	ldr	x0, [x19, #8]
	bl	_cx_read
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh32:
	adrp	x0, l_.str.22@PAGE
Lloh33:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_dprintk0
	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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @cx88_sram_channel_dump.name
_cx88_sram_channel_dump.name:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.6
	.quad	l_.str.7
	.quad	l_.str.8
	.quad	l_.str.9
	.quad	l_.str.10

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"initial risc"

l_.str.1:                               ; @.str.1
	.asciz	"cdt base"

l_.str.2:                               ; @.str.2
	.asciz	"cdt size"

l_.str.3:                               ; @.str.3
	.asciz	"iq base"

l_.str.4:                               ; @.str.4
	.asciz	"iq size"

l_.str.5:                               ; @.str.5
	.asciz	"risc pc"

l_.str.6:                               ; @.str.6
	.asciz	"iq wr ptr"

l_.str.7:                               ; @.str.7
	.asciz	"iq rd ptr"

l_.str.8:                               ; @.str.8
	.asciz	"cdt current"

l_.str.9:                               ; @.str.9
	.asciz	"pci target"

l_.str.10:                              ; @.str.10
	.asciz	"line / byte"

l_.str.11:                              ; @.str.11
	.asciz	"%s - dma channel status dump\n"

l_.str.12:                              ; @.str.12
	.asciz	"   cmds: %-12s: 0x%08x\n"

l_.str.13:                              ; @.str.13
	.asciz	"  risc%d: "

l_.str.14:                              ; @.str.14
	.asciz	"0x%08x [ arg #%d ]\n"

l_.str.15:                              ; @.str.15
	.asciz	"  iq %x: "

l_.str.16:                              ; @.str.16
	.asciz	"  iq %x: 0x%08x [ arg #%d ]\n"

l_.str.17:                              ; @.str.17
	.asciz	"fifo: 0x%08x -> 0x%x\n"

l_.str.18:                              ; @.str.18
	.asciz	"ctrl: 0x%08x -> 0x%x\n"

l_.str.19:                              ; @.str.19
	.asciz	"  ptr1_reg: 0x%08x\n"

l_.str.20:                              ; @.str.20
	.asciz	"  ptr2_reg: 0x%08x\n"

l_.str.21:                              ; @.str.21
	.asciz	"  cnt1_reg: 0x%08x\n"

l_.str.22:                              ; @.str.22
	.asciz	"  cnt2_reg: 0x%08x\n"

.subsections_via_symbols
