	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arcExtMap_coreReadWrite        ## -- Begin function arcExtMap_coreReadWrite
	.p2align	4, 0x90
_arcExtMap_coreReadWrite:               ## @arcExtMap_coreReadWrite
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_FIRST_EXTENSION_CORE_REGISTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%edi, %ecx
	subl	%eax, %ecx
	movq	_LAST_EXTENSION_CORE_REGISTER@GOTPCREL(%rip), %rdx
	movq	_arc_extension_map@GOTPCREL(%rip), %rsi
	movslq	%ecx, %rcx
	shlq	$2, %rcx
	addq	(%rsi), %rcx
	cmpl	%edi, (%rdx)
	movq	_REG_INVALID@GOTPCREL(%rip), %rdx
	cmovlq	%rdx, %rcx
	cmpl	%eax, %edi
	cmovlq	%rdx, %rcx
	movl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FIRST_EXTENSION_CORE_REGISTER,4,2 ## @FIRST_EXTENSION_CORE_REGISTER
	.comm	_LAST_EXTENSION_CORE_REGISTER,4,2 ## @LAST_EXTENSION_CORE_REGISTER
	.comm	_REG_INVALID,4,2                ## @REG_INVALID
	.comm	_arc_extension_map,8,3          ## @arc_extension_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arcExtMap_coreReadWrite        ; -- Begin function arcExtMap_coreReadWrite
	.p2align	2
_arcExtMap_coreReadWrite:               ; @arcExtMap_coreReadWrite
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _FIRST_EXTENSION_CORE_REGISTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIRST_EXTENSION_CORE_REGISTER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _LAST_EXTENSION_CORE_REGISTER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LAST_EXTENSION_CORE_REGISTER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sub	w10, w0, w8
	cmp	w9, w0
	ccmp	w0, w8, #8, ge
Lloh6:
	adrp	x8, _arc_extension_map@GOTPAGE
Lloh7:
	ldr	x8, [x8, _arc_extension_map@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x8, x8, w10, sxtw #2
Lloh9:
	adrp	x9, _REG_INVALID@GOTPAGE
Lloh10:
	ldr	x9, [x9, _REG_INVALID@GOTPAGEOFF]
	csel	x8, x9, x8, lt
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FIRST_EXTENSION_CORE_REGISTER,4,2 ; @FIRST_EXTENSION_CORE_REGISTER
	.comm	_LAST_EXTENSION_CORE_REGISTER,4,2 ; @LAST_EXTENSION_CORE_REGISTER
	.comm	_REG_INVALID,4,2                ; @REG_INVALID
	.comm	_arc_extension_map,8,3          ; @arc_extension_map
.subsections_via_symbols
