	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ehea_is_hugepage
_ehea_is_hugepage:                      ## @ehea_is_hugepage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EHEA_HUGEPAGE_PFN_MASK@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	testq	%rdi, (%rcx)
	je	LBB0_1
## %bb.2:
	popq	%rbp
	retq
LBB0_1:
	callq	_pfn_to_page
	movl	%eax, %edi
	callq	_compound_order
	movslq	%eax, %rcx
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	addq	(%rax), %rcx
	movq	_EHEA_HUGEPAGESHIFT@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EHEA_HUGEPAGE_PFN_MASK,8,3     ## @EHEA_HUGEPAGE_PFN_MASK
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.comm	_EHEA_HUGEPAGESHIFT,8,3         ## @EHEA_HUGEPAGESHIFT
	.no_dead_strip	_ehea_is_hugepage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ehea_is_hugepage
_ehea_is_hugepage:                      ; @ehea_is_hugepage
	.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
Lloh0:
	adrp	x8, _EHEA_HUGEPAGE_PFN_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EHEA_HUGEPAGE_PFN_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	tst	x8, x0
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	_pfn_to_page
	bl	_compound_order
Lloh3:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x8, x8, w0, sxtw
Lloh6:
	adrp	x9, _EHEA_HUGEPAGESHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EHEA_HUGEPAGESHIFT@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	ldp	x29, x30, [sp], #16             ; 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	_EHEA_HUGEPAGE_PFN_MASK,8,3     ; @EHEA_HUGEPAGE_PFN_MASK
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.comm	_EHEA_HUGEPAGESHIFT,8,3         ; @EHEA_HUGEPAGESHIFT
	.no_dead_strip	_ehea_is_hugepage
.subsections_via_symbols
