	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getprocpregname
_getprocpregname:                       ## @getprocpregname
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NUMPREGPS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	leaq	L_.str(%rip), %rax
	testq	%rcx, %rcx
	jle	LBB0_5
## %bb.1:
	movq	_cr16_pregptab@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	shlq	$4, %rcx
	addq	%rdx, %rcx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edi, (%rdx)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rdx
	cmpq	%rcx, %rdx
	jb	LBB0_2
LBB0_5:
	popq	%rbp
	retq
LBB0_3:
	movq	8(%rdx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cr16_pregptab,8,3              ## @cr16_pregptab
	.comm	_NUMPREGPS,4,2                  ## @NUMPREGPS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ILLEGAL REGISTER"

	.no_dead_strip	_getprocpregname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getprocpregname
_getprocpregname:                       ; @getprocpregname
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _NUMPREGPS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NUMPREGPS@GOTPAGEOFF]
Lloh2:
	ldrsw	x10, [x9]
	cmp	w10, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x8, x0
Lloh3:
	adrp	x9, _cr16_pregptab@GOTPAGE
Lloh4:
	ldr	x9, [x9, _cr16_pregptab@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x10, x9, x10, lsl #4
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	cmp	w11, w8
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #16
	cmp	x9, x10
	b.lo	LBB0_2
; %bb.4:
	ret
LBB0_5:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	ret
LBB0_6:
	ldr	x0, [x9, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_cr16_pregptab,8,3              ; @cr16_pregptab
	.comm	_NUMPREGPS,4,2                  ; @NUMPREGPS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ILLEGAL REGISTER"

	.no_dead_strip	_getprocpregname
.subsections_via_symbols
