	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___wrap_free                    ## -- Begin function __wrap_free
	.p2align	4, 0x90
___wrap_free:                           ## @__wrap_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	_uml_physmem@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	ja	LBB0_4
## %bb.1:
	movq	_high_physmem@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jbe	LBB0_4
## %bb.2:
	movq	_kmalloc_ok@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.3:
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_4:
	movq	_start_vm@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	ja	LBB0_8
## %bb.5:
	movq	_end_vm@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jbe	LBB0_8
## %bb.6:
	movq	_kmalloc_ok@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.7:
	popq	%rbp
	jmp	_vfree                          ## TAILCALL
LBB0_9:
	popq	%rbp
	retq
LBB0_8:
	popq	%rbp
	jmp	___real_free                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_uml_physmem,8,3                ## @uml_physmem
	.comm	_high_physmem,8,3               ## @high_physmem
	.comm	_kmalloc_ok,8,3                 ## @kmalloc_ok
	.comm	_start_vm,8,3                   ## @start_vm
	.comm	_end_vm,8,3                     ## @end_vm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___wrap_free                    ; -- Begin function __wrap_free
	.p2align	2
___wrap_free:                           ; @__wrap_free
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _uml_physmem@GOTPAGE
Lloh1:
	ldr	x8, [x8, _uml_physmem@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _high_physmem@GOTPAGE
Lloh4:
	ldr	x9, [x9, _high_physmem@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x0
	ccmp	x9, x0, #0, ls
	b.hi	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _start_vm@GOTPAGE
Lloh7:
	ldr	x8, [x8, _start_vm@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _end_vm@GOTPAGE
Lloh10:
	ldr	x9, [x9, _end_vm@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x0
	ccmp	x9, x0, #0, ls
	b.hi	LBB0_5
; %bb.2:
	b	___real_free
LBB0_3:
Lloh12:
	adrp	x8, _kmalloc_ok@GOTPAGE
Lloh13:
	ldr	x8, [x8, _kmalloc_ok@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.4:
	b	_kfree
LBB0_5:
Lloh15:
	adrp	x8, _kmalloc_ok@GOTPAGE
Lloh16:
	ldr	x8, [x8, _kmalloc_ok@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
	b	_vfree
LBB0_7:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_uml_physmem,8,3                ; @uml_physmem
	.comm	_high_physmem,8,3               ; @high_physmem
	.comm	_kmalloc_ok,8,3                 ; @kmalloc_ok
	.comm	_start_vm,8,3                   ; @start_vm
	.comm	_end_vm,8,3                     ; @end_vm
.subsections_via_symbols
