	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_register_addr                  ## -- Begin function register_addr
	.p2align	4, 0x90
_register_addr:                         ## @register_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PC_REGNUM@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	_PC@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	_ALPHA_UNIQUE_REGNUM@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_ALPHA_UNIQUE_PTRACE_ADDR@GOTPCREL(%rip), %rax
LBB0_2:
	movq	(%rax), %rax
	popq	%rbp
	retq
LBB0_5:
	movq	_FP0_REGNUM@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	cmpl	%edi, %ecx
	jle	LBB0_7
## %bb.6:
	movq	_GPR_BASE@GOTPCREL(%rip), %rcx
	movslq	%edi, %rax
	addq	(%rcx), %rax
	popq	%rbp
	retq
LBB0_7:
	movq	_FPR_BASE@GOTPCREL(%rip), %rdx
	movslq	%edi, %rax
	subq	%rcx, %rax
	addq	(%rdx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PC_REGNUM,4,2                  ## @PC_REGNUM
	.comm	_PC,8,3                         ## @PC
	.comm	_ALPHA_UNIQUE_REGNUM,4,2        ## @ALPHA_UNIQUE_REGNUM
	.comm	_ALPHA_UNIQUE_PTRACE_ADDR,8,3   ## @ALPHA_UNIQUE_PTRACE_ADDR
	.comm	_FP0_REGNUM,4,2                 ## @FP0_REGNUM
	.comm	_GPR_BASE,8,3                   ## @GPR_BASE
	.comm	_FPR_BASE,8,3                   ## @FPR_BASE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_register_addr                  ; -- Begin function register_addr
	.p2align	2
_register_addr:                         ; @register_addr
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _PC_REGNUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PC_REGNUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _PC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PC@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _ALPHA_UNIQUE_REGNUM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ALPHA_UNIQUE_REGNUM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _ALPHA_UNIQUE_PTRACE_ADDR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ALPHA_UNIQUE_PTRACE_ADDR@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	ret
LBB0_4:
Lloh12:
	adrp	x8, _FP0_REGNUM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FP0_REGNUM@GOTPAGEOFF]
Lloh14:
	ldrsw	x8, [x8]
	cmp	w8, w0
	b.le	LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _GPR_BASE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GPR_BASE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	add	x0, x8, w0, sxtw
	ret
LBB0_6:
Lloh18:
	adrp	x9, _FPR_BASE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FPR_BASE@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	sxtw	x10, w0
	sub	x8, x10, x8
	add	x0, x8, x9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_PC_REGNUM,4,2                  ; @PC_REGNUM
	.comm	_PC,8,3                         ; @PC
	.comm	_ALPHA_UNIQUE_REGNUM,4,2        ; @ALPHA_UNIQUE_REGNUM
	.comm	_ALPHA_UNIQUE_PTRACE_ADDR,8,3   ; @ALPHA_UNIQUE_PTRACE_ADDR
	.comm	_FP0_REGNUM,4,2                 ; @FP0_REGNUM
	.comm	_GPR_BASE,8,3                   ; @GPR_BASE
	.comm	_FPR_BASE,8,3                   ; @FPR_BASE
.subsections_via_symbols
