	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvm_mmu_zap_page
_kvm_mmu_zap_page:                      ## @kvm_mmu_zap_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_trace_kvm_mmu_zap_page
	incl	4(%r15)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mmu_zap_unsync_children
	movl	%eax, %r14d
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_kvm_mmu_page_unlink_children
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_kvm_mmu_unlink_parents
	movq	%r15, %rdi
	callq	_kvm_flush_remote_tlbs
	cmpl	$0, 4(%rbx)
	jne	LBB0_3
## %bb.1:
	cmpl	$0, 8(%rbx)
	jne	LBB0_3
## %bb.2:
	movl	32(%rbx), %esi
	movq	%r15, %rdi
	callq	_unaccount_shadowed
LBB0_3:
	cmpq	$0, 24(%rbx)
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_kvm_unlink_unsync_page
LBB0_5:
	cmpl	$0, 16(%rbx)
	je	LBB0_6
## %bb.7:
	movl	$1, 4(%rbx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_list_move
	movq	%r15, %rdi
	callq	_kvm_reload_remote_mmus
	jmp	LBB0_8
LBB0_6:
	leaq	12(%rbx), %rdi
	callq	_hlist_del
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_kvm_mmu_free_page
LBB0_8:
	movq	%r15, %rdi
	callq	_kvm_mmu_reset_last_pte_updated
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_kvm_mmu_zap_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_zap_page
_kvm_mmu_zap_page:                      ; @kvm_mmu_zap_page
	.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	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_trace_kvm_mmu_zap_page
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	mov	x0, x19
	mov	x1, x21
	bl	_mmu_zap_unsync_children
	mov	x20, x0
	mov	x0, x19
	mov	x1, x21
	bl	_kvm_mmu_page_unlink_children
	mov	x0, x19
	mov	x1, x21
	bl	_kvm_mmu_unlink_parents
	mov	x0, x19
	bl	_kvm_flush_remote_tlbs
	ldr	w8, [x21, #4]
	cbnz	w8, LBB0_3
; %bb.1:
	ldr	w8, [x21, #8]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	w1, [x21, #32]
	mov	x0, x19
	bl	_unaccount_shadowed
LBB0_3:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, x21
	bl	_kvm_unlink_unsync_page
LBB0_5:
	ldr	w8, [x21, #16]
	cbz	w8, LBB0_7
; %bb.6:
	mov	w8, #1
	str	w8, [x21, #4]
	mov	x0, x21
	mov	x1, x19
	bl	_list_move
	mov	x0, x19
	bl	_kvm_reload_remote_mmus
	b	LBB0_8
LBB0_7:
	add	x0, x21, #12
	bl	_hlist_del
	mov	x0, x19
	mov	x1, x21
	bl	_kvm_mmu_free_page
LBB0_8:
	mov	x0, x19
	bl	_kvm_mmu_reset_last_pte_updated
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_kvm_mmu_zap_page
.subsections_via_symbols
