	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Z_FreeMemory                   ## -- Begin function Z_FreeMemory
	.p2align	4, 0x90
_Z_FreeMemory:                          ## @Z_FreeMemory
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_mainzone@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	24(%rcx), %rdx
	cmpq	%rcx, %rdx
	je	LBB0_1
## %bb.2:
	movq	_PU_PURGELEVEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	8(%rdx), %eax
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%rdx), %rdx
	cmpq	%rcx, %rdx
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 16(%rdx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rsi, (%rdx)
	jge	LBB0_5
	jmp	LBB0_6
LBB0_7:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mainzone,8,3                   ## @mainzone
	.comm	_PU_PURGELEVEL,8,3              ## @PU_PURGELEVEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Z_FreeMemory                   ; -- Begin function Z_FreeMemory
	.p2align	2
_Z_FreeMemory:                          ; @Z_FreeMemory
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _mainzone@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mainzone@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x8, #24]
	cmp	x9, x8
	b.eq	LBB0_7
; %bb.1:
	mov	w0, #0
Lloh3:
	adrp	x10, _PU_PURGELEVEL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PU_PURGELEVEL@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x9, #8]
	add	w0, w0, w11
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x9, #24]
	cmp	x9, x8
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9, #16]
	cbz	w11, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x9]
	cmp	x11, x10
	b.ge	LBB0_2
	b	LBB0_3
LBB0_6:
	ret
LBB0_7:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_mainzone,8,3                   ; @mainzone
	.comm	_PU_PURGELEVEL,8,3              ; @PU_PURGELEVEL
.subsections_via_symbols
