	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xen_pre_suspend                ## -- Begin function xen_pre_suspend
	.p2align	4, 0x90
_xen_pre_suspend:                       ## @xen_pre_suspend
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_xen_start_info@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_mfn_to_pfn
	movq	(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	(%rcx), %rdi
	callq	_mfn_to_pfn
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	callq	_irqs_disabled
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	movq	_xen_dummy_shared_info@GOTPCREL(%rip), %rax
	movq	_HYPERVISOR_shared_info@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_FIX_PARAVIRT_BOOTMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fix_to_virt
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	___pte_ma
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_HYPERVISOR_update_va_mapping
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_BUG                            ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xen_start_info,8,3             ## @xen_start_info
	.comm	_xen_dummy_shared_info,4,2      ## @xen_dummy_shared_info
	.comm	_HYPERVISOR_shared_info,8,3     ## @HYPERVISOR_shared_info
	.comm	_FIX_PARAVIRT_BOOTMAP,4,2       ## @FIX_PARAVIRT_BOOTMAP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xen_pre_suspend                ; -- Begin function xen_pre_suspend
	.p2align	2
_xen_pre_suspend:                       ; @xen_pre_suspend
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _xen_start_info@GOTPAGE
Lloh1:
	ldr	x19, [x19, _xen_start_info@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	bl	_mfn_to_pfn
	ldr	x8, [x19]
	str	x0, [x8, #8]
	ldr	x0, [x8]
	bl	_mfn_to_pfn
	ldr	x8, [x19]
	str	x0, [x8]
	bl	_irqs_disabled
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
Lloh2:
	adrp	x8, _HYPERVISOR_shared_info@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HYPERVISOR_shared_info@GOTPAGEOFF]
Lloh4:
	adrp	x9, _xen_dummy_shared_info@GOTPAGE
Lloh5:
	ldr	x9, [x9, _xen_dummy_shared_info@GOTPAGEOFF]
Lloh6:
	str	x9, [x8]
Lloh7:
	adrp	x8, _FIX_PARAVIRT_BOOTMAP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FIX_PARAVIRT_BOOTMAP@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_fix_to_virt
	mov	x19, x0
	mov	w0, #0
	bl	___pte_ma
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_HYPERVISOR_update_va_mapping
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_BUG
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_xen_start_info,8,3             ; @xen_start_info
	.comm	_xen_dummy_shared_info,4,2      ; @xen_dummy_shared_info
	.comm	_HYPERVISOR_shared_info,8,3     ; @HYPERVISOR_shared_info
	.comm	_FIX_PARAVIRT_BOOTMAP,4,2       ; @FIX_PARAVIRT_BOOTMAP
.subsections_via_symbols
