	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function maybe_map
_maybe_map:                             ## @maybe_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_current@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_virt_to_pte
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r12
	movl	(%rax), %edi
	callq	_pte_present
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.3:
	movl	(%r12), %edi
	callq	_pte_write
	testl	%eax, %eax
	jne	LBB0_6
LBB0_4:
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %r8
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	movl	$1, %ecx
	callq	_handle_page_fault
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	(%r13), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_virt_to_pte
	movq	%rax, %r12
LBB0_6:
	movl	(%r12), %edi
	callq	_pte_present
	xorl	%ebx, %ebx
	testl	%eax, %eax
	cmovneq	%r12, %rbx
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current,8,3                    ## @current
	.no_dead_strip	_maybe_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function maybe_map
_maybe_map:                             ; @maybe_map
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _current@GOTPAGE
Lloh1:
	ldr	x22, [x22, _current@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_virt_to_pte
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	ldr	w0, [x0]
	bl	_pte_present
	cbz	w0, LBB0_4
; %bb.2:
	cbz	w20, LBB0_7
; %bb.3:
	ldr	w0, [x21]
	bl	_pte_write
	cbnz	w0, LBB0_7
LBB0_4:
	add	x4, sp, #12
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	mov	w3, #1
	bl	_handle_page_fault
	cbz	w0, LBB0_6
; %bb.5:
	mov	x0, #0
	b	LBB0_8
LBB0_6:
	ldr	x8, [x22]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_virt_to_pte
	mov	x21, x0
LBB0_7:
	ldr	w0, [x21]
	bl	_pte_present
	cmp	w0, #0
	csel	x0, xzr, x21, eq
LBB0_8:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_current,8,3                    ; @current
	.no_dead_strip	_maybe_map
.subsections_via_symbols
