	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvm_free_physmem_slot
_kvm_free_physmem_slot:                 ## @kvm_free_physmem_slot
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rdi), %rdi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	cmpq	(%r14), %rdi
	je	LBB0_4
## %bb.3:
	callq	_vfree
LBB0_4:
	movq	8(%r12), %rdi
	cmpq	8(%r14), %rdi
	jne	LBB0_5
	jmp	LBB0_6
LBB0_1:
	callq	_vfree
	movq	8(%r12), %rdi
LBB0_5:
	callq	_vfree
LBB0_6:
	movq	_KVM_NR_PAGE_SIZES@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	cmpl	$2, %eax
	jl	LBB0_12
## %bb.7:
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	callq	_vfree
	movq	24(%r12), %rax
	movq	$0, (%rax,%rbx,8)
	movl	(%r15), %eax
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	leal	-1(%rax), %ecx
	movslq	%ecx, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rcx
	movq	(%rcx,%rbx,8), %rdi
	testq	%r14, %r14
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	24(%r14), %rcx
	cmpq	(%rcx,%rbx,8), %rdi
	jne	LBB0_10
	jmp	LBB0_11
LBB0_12:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r12)
	movq	$0, 16(%r12)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KVM_NR_PAGE_SIZES,4,2          ## @KVM_NR_PAGE_SIZES
	.no_dead_strip	_kvm_free_physmem_slot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kvm_free_physmem_slot
_kvm_free_physmem_slot:                 ; @kvm_free_physmem_slot
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x0]
	cbz	x1, LBB0_4
; %bb.1:
	ldr	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
	bl	_vfree
LBB0_3:
	ldr	x0, [x19, #8]
	ldr	x8, [x20, #8]
	cmp	x0, x8
	b.ne	LBB0_5
	b	LBB0_6
LBB0_4:
	bl	_vfree
	ldr	x0, [x19, #8]
LBB0_5:
	bl	_vfree
LBB0_6:
Lloh0:
	adrp	x21, _KVM_NR_PAGE_SIZES@GOTPAGE
Lloh1:
	ldr	x21, [x21, _KVM_NR_PAGE_SIZES@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_12
; %bb.7:
	mov	x22, #0
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	bl	_vfree
	ldr	x8, [x19, #24]
	str	xzr, [x8, x22, lsl #3]
	ldr	w8, [x21]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x22, #1
	sub	w9, w8, #1
	cmp	x22, w9, sxtw
	b.ge	LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #24]
	ldr	x0, [x9, x22, lsl #3]
	cbz	x20, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [x20, #24]
	ldr	x9, [x9, x22, lsl #3]
	cmp	x0, x9
	b.ne	LBB0_8
	b	LBB0_9
LBB0_12:
	stp	xzr, xzr, [x19]
	str	xzr, [x19, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_KVM_NR_PAGE_SIZES,4,2          ; @KVM_NR_PAGE_SIZES
	.no_dead_strip	_kvm_free_physmem_slot
.subsections_via_symbols
