	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getregpname
_getregpname:                           ## @getregpname
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_cr16_regptab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rdx
	movq	_CR16_RP_REGTYPE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_1
## %bb.2:
	movq	_ILLEGAL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	addq	%rcx, %rax
	addq	$8, %rax
LBB0_3:
	movq	(%rax), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cr16_regptab,8,3               ## @cr16_regptab
	.comm	_CR16_RP_REGTYPE,8,3            ## @CR16_RP_REGTYPE
	.comm	_ILLEGAL,8,3                    ## @ILLEGAL
	.no_dead_strip	_getregpname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getregpname
_getregpname:                           ; @getregpname
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _cr16_regptab@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cr16_regptab@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, w0, sxtw #4
	ldr	x9, [x8], #8
Lloh3:
	adrp	x10, _CR16_RP_REGTYPE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CR16_RP_REGTYPE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _ILLEGAL@GOTPAGE
Lloh7:
	ldr	x11, [x11, _ILLEGAL@GOTPAGEOFF]
	cmp	x9, x10
	csel	x8, x8, x11, eq
	ldr	x0, [x8]
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cr16_regptab,8,3               ; @cr16_regptab
	.comm	_CR16_RP_REGTYPE,8,3            ; @CR16_RP_REGTYPE
	.comm	_ILLEGAL,8,3                    ; @ILLEGAL
	.no_dead_strip	_getregpname
.subsections_via_symbols
