	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xen_set_pte_at                 ## -- Begin function xen_set_pte_at
	.p2align	4, 0x90
_xen_set_pte_at:                        ## @xen_set_pte_at
	.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	%ecx, %r12d
	movq	%rdx, %r14
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	_set_pte_at@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_ADD_STATS
	movq	_set_pte_at_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_current@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	xorl	%esi, %esi
	cmpq	%rbx, (%rax)
	sete	%sil
	callq	_ADD_STATS
	movq	_set_pte_at_kernel@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_init_mm@GOTPCREL(%rip), %r15
	xorl	%esi, %esi
	cmpq	%r15, %rbx
	sete	%sil
	callq	_ADD_STATS
	cmpq	%r15, %rbx
	je	LBB0_2
## %bb.1:
	movq	(%r13), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_6
LBB0_2:
	xorl	%eax, %eax
	callq	_paravirt_get_lazy_mode
	movq	_PARAVIRT_LAZY_MMU@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_3
## %bb.5:
	xorl	%edi, %edi
	callq	_xen_mc_entry
	movl	%eax, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	callq	_MULTI_update_va_mapping
	movq	_set_pte_at_batched@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_ADD_STATS
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xen_mc_issue                   ## TAILCALL
LBB0_3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_HYPERVISOR_update_va_mapping
	testq	%rax, %rax
	je	LBB0_4
LBB0_6:
	movq	%r14, %rdi
	movl	%r12d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xen_set_pte                    ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_set_pte_at,4,2                 ## @set_pte_at
	.comm	_set_pte_at_current,4,2         ## @set_pte_at_current
	.comm	_current,8,3                    ## @current
	.comm	_set_pte_at_kernel,4,2          ## @set_pte_at_kernel
	.comm	_init_mm,4,2                    ## @init_mm
	.comm	_PARAVIRT_LAZY_MMU,8,3          ## @PARAVIRT_LAZY_MMU
	.comm	_set_pte_at_batched,4,2         ## @set_pte_at_batched
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xen_set_pte_at                 ; -- Begin function xen_set_pte_at
	.p2align	2
_xen_set_pte_at:                        ; @xen_set_pte_at
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _set_pte_at@GOTPAGE
Lloh1:
	ldr	x8, [x8, _set_pte_at@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_ADD_STATS
Lloh3:
	adrp	x8, _set_pte_at_current@GOTPAGE
Lloh4:
	ldr	x8, [x8, _set_pte_at_current@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x23, _current@GOTPAGE
Lloh7:
	ldr	x23, [x23, _current@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x8, [x8]
	cmp	x8, x22
	cset	w1, eq
	bl	_ADD_STATS
Lloh8:
	adrp	x8, _set_pte_at_kernel@GOTPAGE
Lloh9:
	ldr	x8, [x8, _set_pte_at_kernel@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x24, _init_mm@GOTPAGE
Lloh12:
	ldr	x24, [x24, _init_mm@GOTPAGEOFF]
	cmp	x22, x24
	cset	w1, eq
	bl	_ADD_STATS
	cmp	x22, x24
	ldr	x8, [x23]
	ldr	x8, [x8]
	ccmp	x8, x22, #4, ne
	b.ne	LBB0_4
; %bb.1:
	bl	_paravirt_get_lazy_mode
Lloh13:
	adrp	x22, _PARAVIRT_LAZY_MMU@GOTPAGE
Lloh14:
	ldr	x22, [x22, _PARAVIRT_LAZY_MMU@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	bl	_xen_mc_entry
	mov	x1, x21
	mov	x2, x19
	mov	w3, #0
	bl	_MULTI_update_va_mapping
Lloh15:
	adrp	x8, _set_pte_at_batched@GOTPAGE
Lloh16:
	ldr	x8, [x8, _set_pte_at_batched@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_ADD_STATS
	ldr	x0, [x22]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_xen_mc_issue
LBB0_3:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
	bl	_HYPERVISOR_update_va_mapping
	cbz	x0, LBB0_5
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_xen_set_pte
LBB0_5:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_set_pte_at,4,2                 ; @set_pte_at
	.comm	_set_pte_at_current,4,2         ; @set_pte_at_current
	.comm	_current,8,3                    ; @current
	.comm	_set_pte_at_kernel,4,2          ; @set_pte_at_kernel
	.comm	_init_mm,4,2                    ; @init_mm
	.comm	_PARAVIRT_LAZY_MMU,8,3          ; @PARAVIRT_LAZY_MMU
	.comm	_set_pte_at_batched,4,2         ; @set_pte_at_batched
.subsections_via_symbols
