	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function need_remote_flush
_need_remote_flush:                     ## @need_remote_flush
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movl	%edi, %r14d
	callq	_is_shadow_present_pte
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%ebx, %edi
	callq	_is_shadow_present_pte
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.3:
	movl	%ebx, %ecx
	xorl	%r14d, %ecx
	movq	_PT64_BASE_ADDR_MASK@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_5
## %bb.4:
	movq	_PT64_NX_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%eax, %r14d
	xorl	%eax, %ebx
	notl	%ebx
	andl	%r14d, %ebx
	movq	_PT64_PERM_MASK@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	testl	%ebx, (%rcx)
	setne	%al
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PT64_BASE_ADDR_MASK,4,2        ## @PT64_BASE_ADDR_MASK
	.comm	_PT64_NX_MASK,4,2               ## @PT64_NX_MASK
	.comm	_PT64_PERM_MASK,4,2             ## @PT64_PERM_MASK
	.no_dead_strip	_need_remote_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function need_remote_flush
_need_remote_flush:                     ; @need_remote_flush
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_is_shadow_present_pte
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_is_shadow_present_pte
	cbz	w0, LBB0_3
; %bb.2:
	eor	w8, w19, w20
Lloh0:
	adrp	x9, _PT64_BASE_ADDR_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PT64_BASE_ADDR_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_3:
	mov	w0, #1
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _PT64_NX_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PT64_NX_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	eor	w9, w8, w20
	eor	w8, w8, w19
	bic	w8, w9, w8
Lloh6:
	adrp	x9, _PT64_PERM_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PT64_PERM_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w8, w9
	cset	w0, ne
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PT64_BASE_ADDR_MASK,4,2        ; @PT64_BASE_ADDR_MASK
	.comm	_PT64_NX_MASK,4,2               ; @PT64_NX_MASK
	.comm	_PT64_PERM_MASK,4,2             ; @PT64_PERM_MASK
	.no_dead_strip	_need_remote_flush
.subsections_via_symbols
