	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hw_qeit_calc
_hw_qeit_calc:                          ## @hw_qeit_calc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	xorl	%ecx, %ecx
	cmpq	%rsi, %rax
	cmovbeq	%rax, %rcx
	subq	%rcx, %rsi
	movq	_EHEA_PAGESHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movq	_EHEA_PAGESIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	decq	%rax
	andq	%rsi, %rax
	shrq	%cl, %rsi
	movq	8(%rdi), %rcx
	movq	(%rcx,%rsi,8), %rcx
	addq	(%rcx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EHEA_PAGESHIFT,8,3             ## @EHEA_PAGESHIFT
	.comm	_EHEA_PAGESIZE,4,2              ## @EHEA_PAGESIZE
	.no_dead_strip	_hw_qeit_calc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hw_qeit_calc
_hw_qeit_calc:                          ; @hw_qeit_calc
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0]
	cmp	x8, x1
	csel	x8, xzr, x8, hi
Lloh0:
	adrp	x10, _EHEA_PAGESHIFT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _EHEA_PAGESHIFT@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _EHEA_PAGESIZE@GOTPAGE
Lloh4:
	ldr	x11, [x11, _EHEA_PAGESIZE@GOTPAGEOFF]
Lloh5:
	ldrsw	x11, [x11]
	sub	x11, x11, #1
	sub	x8, x1, x8
	and	x11, x8, x11
	lsr	x8, x8, x10
	ldr	x8, [x9, x8, lsl #3]
	ldr	x8, [x8]
	add	x0, x8, x11
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EHEA_PAGESHIFT,8,3             ; @EHEA_PAGESHIFT
	.comm	_EHEA_PAGESIZE,4,2              ; @EHEA_PAGESIZE
	.no_dead_strip	_hw_qeit_calc
.subsections_via_symbols
