	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zalloc                         ## -- Begin function zalloc
	.p2align	4, 0x90
_zalloc:                                ## @zalloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movq	_avail_ram@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	addl	$7, %edi
	andl	$-8, %edi
	addq	%rax, %rdi
	movq	%rdi, (%rcx)
	movq	_end_avail@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	ja	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_avail_ram,8,3                  ## @avail_ram
	.comm	_end_avail,8,3                  ## @end_avail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zalloc                         ; -- Begin function zalloc
	.p2align	2
_zalloc:                                ; @zalloc
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
Lloh0:
	adrp	x9, _avail_ram@GOTPAGE
Lloh1:
	ldr	x9, [x9, _avail_ram@GOTPAGEOFF]
	ldr	x0, [x9]
	add	w8, w8, #7
	and	w8, w8, #0xfffffff8
Lloh2:
	adrp	x10, _end_avail@GOTPAGE
Lloh3:
	ldr	x10, [x10, _end_avail@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	add	x8, x0, x8
	cmp	x8, x10
	str	x8, [x9]
	b.hi	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_avail_ram,8,3                  ; @avail_ram
	.comm	_end_avail,8,3                  ; @end_avail
.subsections_via_symbols
