	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nonpaging_map
_nonpaging_map:                         ## @nonpaging_map
	.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
	movl	%ecx, %r14d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_smp_rmb
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_mapping_level
	movq	_PT_DIRECTORY_LEVEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	cmpl	%ebx, %eax
	cmovll	%eax, %ebx
	movl	%ebx, %edi
	callq	_KVM_PAGES_PER_HPAGE
	movl	%eax, %r15d
	negl	%r15d
	andl	%r14d, %r15d
	movq	(%r12), %rdi
	movl	%r15d, %esi
	callq	_gfn_to_pfn
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_is_error_pfn
	movq	(%r12), %rdi
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movl	%r15d, %esi
	movl	%r14d, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kvm_handle_bad_page            ## TAILCALL
LBB0_1:
	addq	$8, %rdi
	callq	_spin_lock
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_mmu_notifier_retry
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	(%r12), %rdi
	addq	$8, %rdi
	callq	_spin_unlock
	movl	%r14d, %edi
	callq	_kvm_release_pfn_clean
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_2:
	movq	%r12, %rdi
	callq	_kvm_mmu_free_some_pages
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	movl	%r14d, %r9d
	callq	___direct_map
	movl	%eax, %ebx
	movq	(%r12), %rdi
	addq	$8, %rdi
	callq	_spin_unlock
	movl	%ebx, %eax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PT_DIRECTORY_LEVEL,4,2         ## @PT_DIRECTORY_LEVEL
	.no_dead_strip	_nonpaging_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nonpaging_map
_nonpaging_map:                         ; @nonpaging_map
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x24, [x8]
	bl	_smp_rmb
	mov	x0, x19
	mov	x1, x23
	bl	_mapping_level
Lloh0:
	adrp	x8, _PT_DIRECTORY_LEVEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PT_DIRECTORY_LEVEL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	csel	w22, w0, w8, lt
	mov	x0, x22
	bl	_KVM_PAGES_PER_HPAGE
	neg	w8, w0
	and	w25, w8, w23
	ldr	x0, [x19]
	mov	x1, x25
	bl	_gfn_to_pfn
	mov	x23, x0
	bl	_is_error_pfn
	mov	x8, x0
	ldr	x0, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x1, x25
	mov	x2, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_kvm_handle_bad_page
LBB0_2:
	add	x0, x0, #8
	bl	_spin_lock
	mov	x0, x19
	mov	x1, x24
	bl	_mmu_notifier_retry
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x19]
	add	x0, x8, #8
	bl	_spin_unlock
	mov	x0, x23
	bl	_kvm_release_pfn_clean
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_kvm_mmu_free_some_pages
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
	mov	x4, x25
	mov	x5, x23
	bl	___direct_map
	mov	x20, x0
	ldr	x8, [x19]
	add	x0, x8, #8
	bl	_spin_unlock
	mov	x0, x20
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PT_DIRECTORY_LEVEL,4,2         ; @PT_DIRECTORY_LEVEL
	.no_dead_strip	_nonpaging_map
.subsections_via_symbols
