	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lguest_write_cr3
_lguest_write_cr3:                      ## @lguest_write_cr3
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rsi
	movq	_lguest_data@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	movq	_LHCALL_NEW_PGTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_lazy_hcall1
	movq	_cr3_changed@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lguest_data,8,3                ## @lguest_data
	.comm	_LHCALL_NEW_PGTABLE,4,2         ## @LHCALL_NEW_PGTABLE
	.comm	_cr3_changed,4,2                ## @cr3_changed
	.no_dead_strip	_lguest_write_cr3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lguest_write_cr3
_lguest_write_cr3:                      ; @lguest_write_cr3
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x1, x0
Lloh0:
	adrp	x8, _lguest_data@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lguest_data@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
Lloh3:
	adrp	x8, _LHCALL_NEW_PGTABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LHCALL_NEW_PGTABLE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_lazy_hcall1
Lloh6:
	adrp	x8, _cr3_changed@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cr3_changed@GOTPAGEOFF]
	mov	w9, #1
Lloh8:
	str	w9, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_lguest_data,8,3                ; @lguest_data
	.comm	_LHCALL_NEW_PGTABLE,4,2         ; @LHCALL_NEW_PGTABLE
	.comm	_cr3_changed,4,2                ; @cr3_changed
	.no_dead_strip	_lguest_write_cr3
.subsections_via_symbols
