	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx23885_sram_channel_dump      ## -- Begin function cx23885_sram_channel_dump
	.p2align	4, 0x90
_cx23885_sram_channel_dump:             ## @cx23885_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rax
	movq	%rdi, %r12
	movl	(%rdi), %esi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax), %edx
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_warn
	leaq	_cx23885_sram_channel_dump.name(%rip), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	leaq	_cx23885_sram_channel_dump.name(%rip), %rbx
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %r13
	movl	%r15d, %edi
	andl	$-4, %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	56(%rax), %rdi
	callq	_cx_read
	leaq	L_.str.15(%rip), %rdi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movq	%r13, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_pr_warn
	incq	%r14
	leaq	_cx23885_sram_channel_dump.name(%rip), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$4, %r15
	addq	$8, %rbx
	cmpq	%rax, %r14
	jb	LBB0_2
LBB0_3:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	56(%r15), %rdi
	addq	$56, %rdi
	callq	_cx_read
	movl	%eax, %ebx
	movl	(%r12), %esi
	leaq	L_.str.16(%rip), %r14
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_pr_warn
	movl	%ebx, %edi
	callq	_cx23885_risc_decode
	movq	56(%r15), %rdi
	addq	$60, %rdi
	callq	_cx_read
	movl	%eax, %ebx
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	xorl	%eax, %eax
	callq	_pr_warn
	movl	%ebx, %edi
	callq	_cx23885_risc_decode
	movq	56(%r15), %rdi
	addq	$64, %rdi
	callq	_cx_read
	movl	%eax, %ebx
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$2, %edx
	xorl	%eax, %eax
	callq	_pr_warn
	movl	%ebx, %edi
	callq	_cx23885_risc_decode
	movq	56(%r15), %rdi
	addq	$68, %rdi
	callq	_cx_read
	movl	%eax, %ebx
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$3, %edx
	xorl	%eax, %eax
	callq	_pr_warn
	movl	%ebx, %edi
	callq	_cx23885_risc_decode
	xorl	%r13d, %r13d
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	addl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, %r13d
	cmpl	$16, %eax
	movq	%rcx, %r15
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jae	LBB0_8
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	leal	(,%r13,4), %ebx
	movq	40(%r15), %rdi
	addq	%rbx, %rdi
	callq	_cx_read
	movl	%eax, %r14d
	movl	(%r12), %esi
	addq	40(%r15), %rbx
	leaq	L_.str.17(%rip), %rdi
	movq	%rbx, %rdx
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_pr_warn
	movl	%r14d, %edi
	callq	_cx23885_risc_decode
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	cmpl	$2, %eax
	movq	%r15, %rcx
	jb	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	4(,%rax,4), %r12d
	movl	%eax, %r15d
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%r15,%r14), %ebx
	movl	%r12d, %edi
	addq	40(%rcx), %rdi
	movq	%rcx, %r13
	callq	_cx_read
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %esi
	leaq	L_.str.18(%rip), %rdi
	movl	%ebx, %edx
	movl	%eax, %ecx
	movl	%r14d, %r8d
	xorl	%eax, %eax
	callq	_pr_warn
	movq	%r13, %rcx
	incq	%r14
	addl	$4, %r12d
	cmpq	%r14, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_6
	jmp	LBB0_7
LBB0_8:
	movl	(%r12), %esi
	movl	48(%r15), %edx
	movl	4(%r15), %ecx
	addl	%edx, %ecx
	leaq	L_.str.19(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_warn
	movl	(%r12), %esi
	movq	40(%r15), %rdx
	leaq	96(%rdx), %rcx
	leaq	L_.str.20(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_warn
	movl	(%r12), %ebx
	movq	32(%r15), %rdi
	callq	_cx_read
	leaq	L_.str.21(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_warn
	movl	(%r12), %ebx
	movq	24(%r15), %rdi
	callq	_cx_read
	leaq	L_.str.22(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_warn
	movl	(%r12), %ebx
	movq	16(%r15), %rdi
	callq	_cx_read
	leaq	L_.str.23(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_warn
	movl	(%r12), %ebx
	movq	8(%r15), %rdi
	callq	_cx_read
	leaq	L_.str.24(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_warn                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @cx23885_sram_channel_dump.name
_cx23885_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
	.quad	L_.str.11
	.quad	L_.str.12
	.quad	L_.str.13

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

L_.str.1:                               ## @.str.1
	.asciz	"init risc hi"

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

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

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

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

L_.str.6:                               ## @.str.6
	.asciz	"risc pc lo"

L_.str.7:                               ## @.str.7
	.asciz	"risc pc hi"

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

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

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

L_.str.11:                              ## @.str.11
	.asciz	"pci target lo"

L_.str.12:                              ## @.str.12
	.asciz	"pci target hi"

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

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

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

L_.str.16:                              ## @.str.16
	.asciz	"%s:   risc%d: "

L_.str.17:                              ## @.str.17
	.asciz	"%s:   (0x%08x) iq %x: "

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

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

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

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

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

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

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx23885_sram_channel_dump      ; -- Begin function cx23885_sram_channel_dump
	.p2align	2
_cx23885_sram_channel_dump:             ; @cx23885_sram_channel_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x0
	ldr	w1, [x0]
	ldr	w8, [x19]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str.14@PAGE
Lloh1:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_pr_warn
Lloh2:
	adrp	x21, _cx23885_sram_channel_dump.name@PAGE
Lloh3:
	add	x21, x21, _cx23885_sram_channel_dump.name@PAGEOFF
	mov	x0, x21
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_3
; %bb.1:
	mov	x24, #0
	mov	x25, #0
Lloh4:
	adrp	x22, l_.str.15@PAGE
Lloh5:
	add	x22, x22, l_.str.15@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w23, [x20]
	ldr	x26, [x21, x25, lsl #3]
	ldr	x8, [x19, #56]
	and	x9, x24, #0xfffffffc
	add	x0, x8, x9
	bl	_cx_read
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x26, x0, [sp]
	mov	x0, x22
	mov	x1, x23
	bl	_pr_warn
	add	x25, x25, #1
	mov	x0, x21
	bl	_ARRAY_SIZE
	add	x24, x24, #4
	cmp	x25, w0, uxtw
	b.lo	LBB0_2
LBB0_3:
	ldr	x8, [x19, #56]
	add	x0, x8, #56
	bl	_cx_read
	mov	x22, x0
	ldr	w1, [x20]
	str	xzr, [sp]
Lloh6:
	adrp	x21, l_.str.16@PAGE
Lloh7:
	add	x21, x21, l_.str.16@PAGEOFF
	mov	x0, x21
	bl	_pr_warn
	mov	x0, x22
	bl	_cx23885_risc_decode
	ldr	x8, [x19, #56]
	add	x0, x8, #60
	bl	_cx_read
	mov	x22, x0
	ldr	w1, [x20]
	mov	w8, #1
	str	x8, [sp]
	mov	x0, x21
	bl	_pr_warn
	mov	x0, x22
	bl	_cx23885_risc_decode
	ldr	x8, [x19, #56]
	add	x0, x8, #64
	bl	_cx_read
	mov	x22, x0
	ldr	w1, [x20]
	mov	w8, #2
	str	x8, [sp]
	mov	x0, x21
	bl	_pr_warn
	mov	x0, x22
	bl	_cx23885_risc_decode
	ldr	x8, [x19, #56]
	add	x0, x8, #68
	bl	_cx_read
	mov	x22, x0
	ldr	w1, [x20]
	mov	w8, #3
	str	x8, [sp]
	mov	x0, x21
	bl	_pr_warn
	mov	x0, x22
	bl	_cx23885_risc_decode
	mov	w24, #0
Lloh8:
	adrp	x22, l_.str.18@PAGE
Lloh9:
	add	x22, x22, l_.str.18@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w24, w23, w24
	cmp	w24, #16
	b.hs	LBB0_8
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x8, [x19, #40]
	lsl	w26, w24, #2
	add	x0, x8, x26
	bl	_cx_read
	mov	x23, x0
	ldr	w1, [x20]
	ldr	x8, [x19, #40]
	add	x8, x8, x26
	stp	x8, x24, [sp]
Lloh10:
	adrp	x0, l_.str.17@PAGE
Lloh11:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_pr_warn
	mov	x0, x23
	bl	_cx23885_risc_decode
	mov	x23, x0
	cmp	w0, #2
	b.lo	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w25, w23
	add	w26, w26, #4
	mov	w27, #1
	mov	w28, w24
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #40]
	add	x21, x28, x27
	add	x0, x8, w26, uxtw
	bl	_cx_read
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x20]
	stp	x0, x27, [sp, #8]
	str	x21, [sp]
	mov	x0, x22
	bl	_pr_warn
	add	x27, x27, #1
	add	w26, w26, #4
	cmp	x25, x27
	b.ne	LBB0_7
	b	LBB0_4
LBB0_8:
	ldr	w1, [x20]
	ldr	w8, [x19, #48]
	ldr	w9, [x19, #4]
	add	w9, w9, w8
	stp	x8, x9, [sp]
Lloh12:
	adrp	x0, l_.str.19@PAGE
Lloh13:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_pr_warn
	ldr	w1, [x20]
	ldr	x8, [x19, #40]
	add	x9, x8, #96
	stp	x8, x9, [sp]
Lloh14:
	adrp	x0, l_.str.20@PAGE
Lloh15:
	add	x0, x0, l_.str.20@PAGEOFF
	bl	_pr_warn
	ldr	w21, [x20]
	ldr	x0, [x19, #32]
	bl	_cx_read
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh16:
	adrp	x0, l_.str.21@PAGE
Lloh17:
	add	x0, x0, l_.str.21@PAGEOFF
	mov	x1, x21
	bl	_pr_warn
	ldr	w21, [x20]
	ldr	x0, [x19, #24]
	bl	_cx_read
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh18:
	adrp	x0, l_.str.22@PAGE
Lloh19:
	add	x0, x0, l_.str.22@PAGEOFF
	mov	x1, x21
	bl	_pr_warn
	ldr	w21, [x20]
	ldr	x0, [x19, #16]
	bl	_cx_read
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh20:
	adrp	x0, l_.str.23@PAGE
Lloh21:
	add	x0, x0, l_.str.23@PAGEOFF
	mov	x1, x21
	bl	_pr_warn
	ldr	w20, [x20]
	ldr	x0, [x19, #8]
	bl	_cx_read
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh22:
	adrp	x0, l_.str.24@PAGE
Lloh23:
	add	x0, x0, l_.str.24@PAGEOFF
	mov	x1, x20
	bl	_pr_warn
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	3                               ; @cx23885_sram_channel_dump.name
_cx23885_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
	.quad	l_.str.11
	.quad	l_.str.12
	.quad	l_.str.13

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

l_.str.1:                               ; @.str.1
	.asciz	"init risc hi"

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

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

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

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

l_.str.6:                               ; @.str.6
	.asciz	"risc pc lo"

l_.str.7:                               ; @.str.7
	.asciz	"risc pc hi"

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

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

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

l_.str.11:                              ; @.str.11
	.asciz	"pci target lo"

l_.str.12:                              ; @.str.12
	.asciz	"pci target hi"

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

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

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

l_.str.16:                              ; @.str.16
	.asciz	"%s:   risc%d: "

l_.str.17:                              ; @.str.17
	.asciz	"%s:   (0x%08x) iq %x: "

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

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

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

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

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

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

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

.subsections_via_symbols
