	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function command_heap
_command_heap:                          ## @command_heap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_mallocstats
	movq	_heapva@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	xorl	%edi, %edi
	callq	_sbrk
	movq	_HEAPSZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%r14), %rcx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_printf
	movq	_CMD_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"heap base at %p, top at %p, upper limit at %p\n"

	.comm	_heapva,8,3                     ## @heapva
	.comm	_HEAPSZ,8,3                     ## @HEAPSZ
	.comm	_CMD_OK,4,2                     ## @CMD_OK
	.no_dead_strip	_command_heap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function command_heap
_command_heap:                          ; @command_heap
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_mallocstats
Lloh0:
	adrp	x20, _heapva@GOTPAGE
Lloh1:
	ldr	x20, [x20, _heapva@GOTPAGEOFF]
	ldr	x19, [x20]
	mov	w0, #0
	bl	_sbrk
	mov	x2, x0
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _HEAPSZ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HEAPSZ@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x3, x9, x8
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_printf
Lloh7:
	adrp	x8, _CMD_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CMD_OK@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"heap base at %p, top at %p, upper limit at %p\n"

	.comm	_heapva,8,3                     ; @heapva
	.comm	_HEAPSZ,8,3                     ; @HEAPSZ
	.comm	_CMD_OK,4,2                     ; @CMD_OK
	.no_dead_strip	_command_heap
.subsections_via_symbols
