	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setheap                        ## -- Begin function setheap
	.p2align	4, 0x90
_setheap:                               ## @setheap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MALLOCALIGN_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rax, %rdi
	notq	%rax
	andq	%rdi, %rax
	movq	_heapbase@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	subl	%eax, %esi
	movq	_maxheap@GOTPCREL(%rip), %rax
	movl	%esi, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MALLOCALIGN_MASK,8,3           ## @MALLOCALIGN_MASK
	.comm	_heapbase,8,3                   ## @heapbase
	.comm	_maxheap,4,2                    ## @maxheap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setheap                        ; -- Begin function setheap
	.p2align	2
_setheap:                               ; @setheap
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MALLOCALIGN_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MALLOCALIGN_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _heapbase@GOTPAGE
Lloh4:
	ldr	x9, [x9, _heapbase@GOTPAGEOFF]
	add	x10, x8, x0
	bic	x8, x10, x8
Lloh5:
	str	x8, [x9]
	sub	w8, w1, w8
Lloh6:
	adrp	x9, _maxheap@GOTPAGE
Lloh7:
	ldr	x9, [x9, _maxheap@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	ret
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MALLOCALIGN_MASK,8,3           ; @MALLOCALIGN_MASK
	.comm	_heapbase,8,3                   ; @heapbase
	.comm	_maxheap,4,2                    ; @maxheap
.subsections_via_symbols
