	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memr_free                      ## -- Begin function memr_free
	.p2align	4, 0x90
_memr_free:                             ## @memr_free
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	_ram_block@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jb	LBB0_6
## %bb.2:
	movq	_ram_end@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jae	LBB0_6
## %bb.3:
	movq	_SIZEOF_STRUCT_MEM@GOTPCREL(%rip), %rax
	subq	(%rax), %rdi
	sarq	$2, %rdi
	movq	$0, (%rdi)
	movq	_ram_free@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jbe	LBB0_5
## %bb.4:
	movq	%rdi, (%rax)
LBB0_5:
	popq	%rbp
	jmp	_plug_holes                     ## TAILCALL
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ram_block,8,3                  ## @ram_block
	.comm	_ram_end,8,3                    ## @ram_end
	.comm	_SIZEOF_STRUCT_MEM,8,3          ## @SIZEOF_STRUCT_MEM
	.comm	_ram_free,8,3                   ## @ram_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memr_free                      ; -- Begin function memr_free
	.p2align	2
_memr_free:                             ; @memr_free
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ram_block@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ram_block@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _ram_end@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ram_end@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #2, hs
	b.lo	LBB0_3
LBB0_2:
	ret
LBB0_3:
Lloh6:
	adrp	x8, _SIZEOF_STRUCT_MEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIZEOF_STRUCT_MEM@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	sub	x8, x0, x8
	asr	x0, x8, #2
	str	xzr, [x0]
Lloh9:
	adrp	x8, _ram_free@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ram_free@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	x9, x0
	b.ls	LBB0_5
; %bb.4:
	str	x0, [x8]
LBB0_5:
	b	_plug_holes
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ram_block,8,3                  ; @ram_block
	.comm	_ram_end,8,3                    ; @ram_end
	.comm	_SIZEOF_STRUCT_MEM,8,3          ; @SIZEOF_STRUCT_MEM
	.comm	_ram_free,8,3                   ; @ram_free
.subsections_via_symbols
