	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free                           ## -- Begin function free
	.p2align	4, 0x90
_free:                                  ## @free
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	addq	$-16, %rax
	je	LBB0_5
## %bb.1:
	movslq	-16(%rdi), %rcx
	leaq	(%rdi,%rcx), %rsi
	addq	$-16, %rsi
	movq	_e_heap@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rsi
	jae	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%rsi)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%rsi), %rsi
	movslq	%ecx, %rcx
	addq	%rsi, %rcx
	movl	%ecx, (%rax)
	movq	%rcx, %rsi
	addq	%rax, %rsi
	cmpq	(%rdx), %rsi
	jb	LBB0_3
LBB0_5:
	movq	$0, -8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e_heap,8,3                     ## @e_heap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free                           ; -- Begin function free
	.p2align	2
_free:                                  ; @free
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldrsw	x11, [x8, #-16]!
	cbz	x8, LBB0_5
; %bb.1:
Lloh0:
	adrp	x9, _e_heap@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e_heap@GOTPAGEOFF]
	ldr	x12, [x9]
	add	x10, x8, x11
	cmp	x10, x12
	b.hs	LBB0_5
; %bb.2:
                                        ; kill: def $w11 killed $w11 killed $x11 def $x11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10, #8]
	cbnz	x12, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x10, [x10]
	add	x11, x10, w11, sxtw
	str	w11, [x8]
	ldr	x12, [x9]
	add	x10, x8, x11
	cmp	x10, x12
	b.lo	LBB0_3
LBB0_5:
	stur	xzr, [x0, #-8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_e_heap,8,3                     ; @e_heap
.subsections_via_symbols
