	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meminfo_show
_meminfo_show:                          ## @meminfo_show
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	(%rdi), %rbx
	leaq	-176(%rbp), %r14
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$128, %edx
	callq	_memset
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_cudbg_fill_meminfo
	testl	%eax, %eax
	je	LBB0_1
## %bb.17:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_16
LBB0_1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, -176(%rbp)
	jle	LBB0_4
## %bb.2:
	movl	$16, %ebx
	xorl	%r15d, %r15d
	leaq	_reltable.meminfo_show(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax
	movq	-16(%rax,%rbx), %rdx
	movq	-8(%rax,%rbx), %rcx
	movslq	(%r12,%rdx,4), %rsi
	addq	%r12, %rsi
	movq	(%rax,%rbx), %rdx
	decq	%rcx
	movq	%r13, %rdi
	callq	_mem_region_show
	incq	%r15
	movslq	-176(%rbp), %rax
	addq	$24, %rbx
	cmpq	%rax, %r15
	jl	LBB0_3
LBB0_4:
	movq	%r13, %rdi
	movl	$10, %esi
	callq	_seq_putc
	cmpl	$0, -172(%rbp)
	jle	LBB0_13
## %bb.5:
	xorl	%ebx, %ebx
	movq	_cudbg_region@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	jmp	LBB0_6
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rcx, 8(%rax,%rbx)
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rsi
	movq	(%rax,%rbx), %rdi
	movq	16(%rax,%rbx), %rdx
	movq	(%rsi,%rdi,8), %rsi
	movq	%r13, %rdi
	callq	_mem_region_show
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r12
	movslq	-172(%rbp), %rax
	addq	$24, %rbx
	cmpq	%rax, %r12
	jge	LBB0_13
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax
	movq	(%rax,%rbx), %r14
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %r14
	jae	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rax
	movq	8(%rax,%rbx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movslq	-172(%rbp), %rdx
	decq	%rdx
	movq	$-1, %rcx
	cmpq	%rdx, %r12
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	40(%rax,%rbx), %rcx
	decq	%rcx
	jmp	LBB0_10
LBB0_13:
	movq	%r13, %rdi
	movl	$10, %esi
	callq	_seq_putc
	movq	-80(%rbp), %rcx
	movq	-72(%rbp), %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	callq	_mem_region_show
	movq	-96(%rbp), %rcx
	movq	-88(%rbp), %rdx
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	callq	_mem_region_show
	movq	-112(%rbp), %rax
	movl	-104(%rbp), %ecx
	movl	(%rax), %edx
	movl	4(%rax), %r8d
	movl	8(%rax), %r9d
	leaq	L_.str.8(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	-128(%rbp), %rax
	movl	-120(%rbp), %ecx
	movl	(%rax), %edx
	movl	4(%rax), %r8d
	movl	8(%rax), %r9d
	movl	12(%rax), %eax
	movl	%eax, (%rsp)
	leaq	L_.str.9(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movl	-136(%rbp), %ecx
	movl	-132(%rbp), %edx
	leaq	L_.str.10(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	-152(%rbp), %rax
	movq	-144(%rbp), %rcx
	movl	(%rcx), %ecx
	movl	(%rax), %r8d
	leaq	L_.str.11(%rip), %r12
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_seq_printf
	movq	-152(%rbp), %rax
	movq	-144(%rbp), %rcx
	movl	4(%rcx), %ecx
	movl	4(%rax), %r8d
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	xorl	%eax, %eax
	callq	_seq_printf
	movq	-152(%rbp), %rax
	movq	-144(%rbp), %rcx
	movl	8(%rcx), %ecx
	movl	8(%rax), %r8d
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$2, %edx
	xorl	%eax, %eax
	callq	_seq_printf
	movq	-152(%rbp), %rax
	movq	-144(%rbp), %rcx
	movl	12(%rcx), %ecx
	movl	12(%rax), %r8d
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$3, %edx
	xorl	%eax, %eax
	callq	_seq_printf
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	cmpl	$0, (%r14)
	jle	LBB0_16
## %bb.14:
	xorl	%r15d, %r15d
	leaq	L_.str.12(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	-168(%rbp), %rax
	movq	-160(%rbp), %rcx
	movl	(%rcx,%rbx,4), %ecx
	movl	(%rax,%rbx,4), %r8d
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_seq_printf
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_15
LBB0_16:
	movl	%r15d, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.meminfo_show
_reltable.meminfo_show:
	.long	L_.str-_reltable.meminfo_show
	.long	L_.str.1-_reltable.meminfo_show
	.long	L_.str.2-_reltable.meminfo_show
	.long	L_.str.3-_reltable.meminfo_show
	.long	L_.str.4-_reltable.meminfo_show
	.long	L_.str.5-_reltable.meminfo_show

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

L_.str.1:                               ## @.str.1
	.asciz	"EDC1:"

L_.str.2:                               ## @.str.2
	.asciz	"MC:"

L_.str.3:                               ## @.str.3
	.asciz	"MC0:"

L_.str.4:                               ## @.str.4
	.asciz	"MC1:"

L_.str.5:                               ## @.str.5
	.asciz	"HMA:"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_cudbg_region,8,3               ## @cudbg_region
L_.str.6:                               ## @.str.6
	.asciz	"uP RAM:"

L_.str.7:                               ## @.str.7
	.asciz	"uP Extmem2:"

L_.str.8:                               ## @.str.8
	.asciz	"\n%u Rx pages (%u free) of size %uKiB for %u channels\n"

L_.str.9:                               ## @.str.9
	.asciz	"%u Tx pages (%u free) of size %u%ciB for %u channels\n"

L_.str.10:                              ## @.str.10
	.asciz	"%u p-structs (%u free)\n\n"

L_.str.11:                              ## @.str.11
	.asciz	"Port %d using %u pages out of %u allocated\n"

L_.str.12:                              ## @.str.12
	.asciz	"Loopback %d using %u pages out of %u allocated\n"

	.no_dead_strip	_meminfo_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meminfo_show
_meminfo_show:                          ; @meminfo_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	mov	x19, x0
	ldr	x20, [x0]
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #128
	bl	_memset
	add	x1, sp, #32
	mov	x0, x20
	bl	_cudbg_fill_meminfo
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENXIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_19
LBB0_2:
	ldr	w8, [sp, #32]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x21, #0
	mov	x22, #0
Lloh3:
	adrp	x23, _meminfo_show.memory@PAGE
Lloh4:
	add	x23, x23, _meminfo_show.memory@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #152]
	add	x8, x8, x21
	ldp	x9, x10, [x8]
	ldr	x1, [x23, x9, lsl #3]
	ldr	x2, [x8, #16]
	sub	x3, x10, #1
	mov	x0, x19
	bl	_mem_region_show
	add	x22, x22, #1
	ldrsw	x8, [sp, #32]
	add	x21, x21, #24
	cmp	x22, x8
	b.lt	LBB0_4
LBB0_5:
	mov	x0, x19
	mov	w1, #10
	bl	_seq_putc
	ldr	w8, [sp, #36]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.6:
	mov	x21, #0
	mov	x22, #0
Lloh5:
	adrp	x23, _cudbg_region@GOTPAGE
Lloh6:
	ldr	x23, [x23, _cudbg_region@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_11 Depth=1
	add	x9, x9, x21
	ldr	x9, [x9, #40]
	sub	x3, x9, #1
LBB0_8:                                 ;   in Loop: Header=BB0_11 Depth=1
	str	x3, [x8, #8]
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [x23]
	ldr	x10, [x8]
	ldr	x1, [x9, x10, lsl #3]
	ldr	x2, [x8, #16]
	mov	x0, x19
	bl	_mem_region_show
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [sp, #36]
	add	x21, x21, #24
	cmp	x22, x8
	b.ge	LBB0_15
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #144]
	ldr	x24, [x8, x21]
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	cmp	x24, x0
	b.hs	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [sp, #144]
	add	x8, x9, x21
	ldr	x3, [x8, #8]
	cbnz	x3, LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldrsw	x10, [sp, #36]
	sub	x10, x10, #1
	cmp	x22, x10
	b.lt	LBB0_7
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x3, #-1
	b	LBB0_8
LBB0_15:
	mov	x0, x19
	mov	w1, #10
	bl	_seq_putc
	ldp	x3, x2, [sp, #128]
Lloh7:
	adrp	x1, l_.str.6@PAGE
Lloh8:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_mem_region_show
	ldp	x3, x2, [sp, #112]
Lloh9:
	adrp	x1, l_.str.7@PAGE
Lloh10:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_mem_region_show
	ldr	x8, [sp, #96]
	ldr	w3, [sp, #104]
	ldp	w2, w9, [x8]
	ldr	w8, [x8, #8]
	stp	x9, x8, [sp]
Lloh11:
	adrp	x1, l_.str.8@PAGE
Lloh12:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [sp, #80]
	ldr	w3, [sp, #88]
	ldp	w2, w9, [x8]
	ldp	w10, w8, [x8, #8]
	stp	x10, x8, [sp, #8]
	str	x9, [sp]
Lloh13:
	adrp	x1, l_.str.9@PAGE
Lloh14:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldp	w3, w2, [sp, #72]
Lloh15:
	adrp	x1, l_.str.10@PAGE
Lloh16:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldp	x9, x8, [sp, #56]
	ldr	w3, [x8]
	ldr	w8, [x9]
	str	x8, [sp]
Lloh17:
	adrp	x21, l_.str.11@PAGE
Lloh18:
	add	x21, x21, l_.str.11@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_seq_printf
	ldp	x9, x8, [sp, #56]
	ldr	w3, [x8, #4]
	ldr	w8, [x9, #4]
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	bl	_seq_printf
	ldp	x9, x8, [sp, #56]
	ldr	w3, [x8, #8]
	ldr	w8, [x9, #8]
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #2
	bl	_seq_printf
	ldp	x9, x8, [sp, #56]
	ldr	w3, [x8, #12]
	ldr	w8, [x9, #12]
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #3
	bl	_seq_printf
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.16:
	mov	x21, #0
Lloh19:
	adrp	x22, l_.str.12@PAGE
Lloh20:
	add	x22, x22, l_.str.12@PAGEOFF
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	lsl	x8, x21, #2
	ldp	x10, x9, [sp, #40]
	ldr	w3, [x9, x8]
	ldr	w8, [x10, x8]
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_seq_printf
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_17
LBB0_18:
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @meminfo_show.memory
_meminfo_show.memory:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5

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

l_.str.1:                               ; @.str.1
	.asciz	"EDC1:"

l_.str.2:                               ; @.str.2
	.asciz	"MC:"

l_.str.3:                               ; @.str.3
	.asciz	"MC0:"

l_.str.4:                               ; @.str.4
	.asciz	"MC1:"

l_.str.5:                               ; @.str.5
	.asciz	"HMA:"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_cudbg_region,8,3               ; @cudbg_region
l_.str.6:                               ; @.str.6
	.asciz	"uP RAM:"

l_.str.7:                               ; @.str.7
	.asciz	"uP Extmem2:"

l_.str.8:                               ; @.str.8
	.asciz	"\n%u Rx pages (%u free) of size %uKiB for %u channels\n"

l_.str.9:                               ; @.str.9
	.asciz	"%u Tx pages (%u free) of size %u%ciB for %u channels\n"

l_.str.10:                              ; @.str.10
	.asciz	"%u p-structs (%u free)\n\n"

l_.str.11:                              ; @.str.11
	.asciz	"Port %d using %u pages out of %u allocated\n"

l_.str.12:                              ; @.str.12
	.asciz	"Loopback %d using %u pages out of %u allocated\n"

	.no_dead_strip	_meminfo_show
.subsections_via_symbols
