	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvm_mmu_alloc_page
_kvm_mmu_alloc_page:                    ## @kvm_mmu_alloc_page
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	8(%rdi), %r12
	addq	$12, %rdi
	movl	$48, %esi
	callq	_mmu_memory_cache_alloc
	movq	%rax, %rbx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_mmu_memory_cache_alloc
	movq	%rax, 32(%rbx)
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_mmu_memory_cache_alloc
	movq	%rax, 40(%rbx)
	movq	32(%rbx), %rdi
	callq	_virt_to_page
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_set_page_private
	leaq	24(%rbx), %rdi
	movq	(%r15), %rsi
	callq	_list_add
	leaq	20(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movl	16(%rbx), %edi
	movq	_KVM_MEMORY_SLOTS@GOTPCREL(%rip), %rax
	movq	_KVM_PRIVATE_MEM_SLOTS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	callq	_bitmap_zero
	movq	$0, 8(%rbx)
	movq	%r14, (%rbx)
	movq	(%r15), %rdi
	movl	$1, %esi
	callq	_kvm_mod_used_mmu_pages
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_KVM_MEMORY_SLOTS,8,3           ## @KVM_MEMORY_SLOTS
	.comm	_KVM_PRIVATE_MEM_SLOTS,8,3      ## @KVM_PRIVATE_MEM_SLOTS
	.no_dead_strip	_kvm_mmu_alloc_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kvm_mmu_alloc_page
_kvm_mmu_alloc_page:                    ; @kvm_mmu_alloc_page
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	add	x22, x0, #8
	add	x0, x0, #12
	mov	w1, #48
	bl	_mmu_memory_cache_alloc
	mov	x21, x0
Lloh0:
	adrp	x23, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x22
	bl	_mmu_memory_cache_alloc
	str	x0, [x21, #32]
	ldr	w1, [x23]
	mov	x0, x22
	bl	_mmu_memory_cache_alloc
	str	x0, [x21, #40]
	ldr	x0, [x21, #32]
	bl	_virt_to_page
	mov	x1, x21
	bl	_set_page_private
	add	x0, x21, #24
	ldr	x1, [x19]
	bl	_list_add
	add	x0, x21, #20
	bl	_INIT_LIST_HEAD
Lloh2:
	adrp	x8, _KVM_MEMORY_SLOTS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KVM_MEMORY_SLOTS@GOTPAGEOFF]
	ldr	w0, [x21, #16]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _KVM_PRIVATE_MEM_SLOTS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _KVM_PRIVATE_MEM_SLOTS@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_bitmap_zero
	stp	x20, xzr, [x21]
	ldr	x0, [x19]
	mov	w1, #1
	bl	_kvm_mod_used_mmu_pages
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_KVM_MEMORY_SLOTS,8,3           ; @KVM_MEMORY_SLOTS
	.comm	_KVM_PRIVATE_MEM_SLOTS,8,3      ; @KVM_PRIVATE_MEM_SLOTS
	.no_dead_strip	_kvm_mmu_alloc_page
.subsections_via_symbols
