	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kmem_bootstrap_free            ## -- Begin function kmem_bootstrap_free
	.p2align	4, 0x90
_kmem_bootstrap_free:                   ## @kmem_bootstrap_free
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	addq	%rsi, %rdi
	callq	_trunc_page
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_round_page
	movq	%rax, %rbx
	movq	_VM_PROT_RW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	subq	%rbx, %rsi
	movq	%rbx, %rdi
	callq	_pmap_change_prot
	movq	%r12, %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	subq	%rbx, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_3
## %bb.1:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_pmap_kextract
	movl	%eax, %edi
	callq	_PHYS_TO_VM_PAGE
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_vm_pagequeue_domain
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_vm_domain_free_lock
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_vm_phys_free_pages
	movq	%r15, %rdi
	callq	_vm_domain_free_unlock
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_vm_domain_freecnt_inc
	movq	_vm_cnt@GOTPCREL(%rip), %rax
	incl	(%rax)
	addq	(%r14), %rbx
	cmpq	%r12, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_kernel_pmap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_pmap_remove
	movq	_kernel_arena@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vmem_add                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_PROT_RW,4,2                 ## @VM_PROT_RW
	.comm	_vm_cnt,4,2                     ## @vm_cnt
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_kernel_pmap,4,2                ## @kernel_pmap
	.comm	_kernel_arena,4,2               ## @kernel_arena
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kmem_bootstrap_free            ; -- Begin function kmem_bootstrap_free
	.p2align	2
_kmem_bootstrap_free:                   ; @kmem_bootstrap_free
	.cfi_startproc
; %bb.0:
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_VM_PROT_RW,4,2                 ; @VM_PROT_RW
	.comm	_kernel_arena,4,2               ; @kernel_arena
	.comm	_kernel_pmap,4,2                ; @kernel_pmap
	.comm	_vm_cnt,4,2                     ; @vm_cnt
.subsections_via_symbols
