	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Z_DumpHeap                     ## -- Begin function Z_DumpHeap
	.p2align	4, 0x90
_Z_DumpHeap:                            ## @Z_DumpHeap
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_mainzone@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	movl	(%rdx), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_printf
	movq	(%r12), %r13
	addq	$24, %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %r15
	movl	(%r15), %r8d
	cmpl	%ebx, %r8d
	jl	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r14d, %r8d
	jg	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%r15), %edx
	movl	8(%r15), %ecx
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r15), %rax
	movq	(%r12), %rcx
	addq	$8, %rcx
	cmpq	%rcx, %rax
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	16(%r15), %r13
	movslq	4(%r15), %rcx
	leaq	(%r15,%rcx,4), %rcx
	cmpq	%rax, %rcx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_str.7(%rip), %rdi
	callq	_puts
	movq	(%r13), %rax
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%r15, 24(%rax)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_str.6(%rip), %rdi
	callq	_puts
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 8(%r15)
	jne	LBB0_1
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rax
	cmpl	$0, 8(%rax)
	jne	LBB0_1
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_1
LBB0_12:
	addq	$8, %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	"zone size: %i  location: %p\n"

	.comm	_mainzone,8,3                   ## @mainzone
L_.str.1:                               ## @.str.1
	.asciz	"tag range: %i to %i\n"

L_.str.2:                               ## @.str.2
	.asciz	"block:%p    size:%7i    user:%p    tag:%3i\n"

L_str:                                  ## @str
	.asciz	"ERROR: two consecutive free blocks"

L_str.6:                                ## @str.6
	.asciz	"ERROR: next block doesn't have proper back link"

L_str.7:                                ## @str.7
	.asciz	"ERROR: block size does not touch the next block"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Z_DumpHeap                     ; -- Begin function Z_DumpHeap
	.p2align	2
_Z_DumpHeap:                            ; @Z_DumpHeap
	.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
Lloh0:
	adrp	x25, _mainzone@GOTPAGE
Lloh1:
	ldr	x25, [x25, _mainzone@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	w9, [x8]
	stp	x9, x8, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	stp	x20, x19, [sp]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	x8, [x25]
	add	x26, x8, #24
Lloh6:
	adrp	x21, l_str@PAGE
Lloh7:
	add	x21, x21, l_str@PAGEOFF
Lloh8:
	adrp	x22, l_str.6@PAGE
Lloh9:
	add	x22, x22, l_str.6@PAGEOFF
Lloh10:
	adrp	x23, l_str.7@PAGE
Lloh11:
	add	x23, x23, l_str.7@PAGEOFF
Lloh12:
	adrp	x24, l_.str.2@PAGE
Lloh13:
	add	x24, x24, l_.str.2@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x26]
	ldr	w8, [x27]
	cmp	w8, w20
	ccmp	w8, w19, #0, ge
	b.gt	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldp	w9, w10, [x27, #4]
	stp	x10, x8, [sp, #16]
	stp	x27, x9, [sp]
	mov	x0, x24
	bl	_printf
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x26, x27
	ldr	x8, [x26, #16]!
	ldr	x9, [x25]
	add	x9, x9, #8
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrsw	x9, [x27, #4]
	add	x9, x27, x9, lsl #2
	cmp	x9, x8
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x23
	bl	_puts
	ldr	x8, [x26]
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x8, #24]
	cmp	x8, x27
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x22
	bl	_puts
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x27, #8]
	cbnz	w8, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x26]
	ldr	w8, [x8, #8]
	cbnz	w8, LBB0_1
; %bb.10:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	bl	_puts
	b	LBB0_1
LBB0_11:
	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	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"zone size: %i  location: %p\n"

	.comm	_mainzone,8,3                   ; @mainzone
l_.str.1:                               ; @.str.1
	.asciz	"tag range: %i to %i\n"

l_.str.2:                               ; @.str.2
	.asciz	"block:%p    size:%7i    user:%p    tag:%3i\n"

l_str:                                  ; @str
	.asciz	"ERROR: two consecutive free blocks"

l_str.6:                                ; @str.6
	.asciz	"ERROR: next block doesn't have proper back link"

l_str.7:                                ; @str.7
	.asciz	"ERROR: block size does not touch the next block"

.subsections_via_symbols
