	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_hypercall
_is_hypercall:                          ## @is_hypercall
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	(%rdi), %rcx
	movl	(%rcx), %edx
	andl	$3, %edx
	movq	_GUEST_PL@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	cmpl	(%rsi), %edx
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movl	4(%rcx), %esi
	callq	_guest_pa
	leaq	-28(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	movl	$12, %ecx
	callq	___lgread
	movl	-28(%rbp), %eax
	movl	-24(%rbp), %ecx
	xorl	$15, %eax
	xorl	$1, %ecx
	movl	$193, %edx
	xorl	-20(%rbp), %edx
	orl	%eax, %ecx
	xorl	%eax, %eax
	orl	%ecx, %edx
	sete	%al
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_4
## %bb.3:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GUEST_PL,4,2                   ## @GUEST_PL
	.no_dead_strip	_is_hypercall
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_hypercall
_is_hypercall:                          ; @is_hypercall
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x8, [x0]
	ldr	w9, [x8]
	and	w9, w9, #0x3
Lloh3:
	adrp	x10, _GUEST_PL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _GUEST_PL@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w1, [x8, #4]
	bl	_guest_pa
	mov	x2, x0
	add	x1, sp, #12
	mov	x0, x19
	mov	w3, #12
	bl	___lgread
	ldp	w8, w9, [sp, #12]
	cmp	w8, #15
	ccmp	w9, #1, #0, eq
	ldr	w8, [sp, #20]
	mov	w9, #193
	ccmp	w8, w9, #0, eq
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldr	x8, [sp, #24]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GUEST_PL,4,2                   ; @GUEST_PL
	.no_dead_strip	_is_hypercall
.subsections_via_symbols
