	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arc_aux_reg_name               ## -- Begin function arc_aux_reg_name
	.p2align	4, 0x90
_arc_aux_reg_name:                      ## @arc_aux_reg_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_arc_reg_names_count@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.1:
	movq	_arc_reg_names@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_AUXREG_AC@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	leaq	(%rcx,%rcx,2), %rax
	leaq	(%r8,%rax,8), %rdx
	addq	$8, %rdx
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	-1(%rcx), %rsi
	addq	$-24, %rdx
	cmpq	$1, %rcx
	movq	%rsi, %rcx
	jle	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r9, -8(%rdx)
	jne	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%edi, (%rdx)
	jne	LBB0_2
## %bb.5:
	movl	%ecx, %eax
	leaq	(%rax,%rax,2), %rax
	movq	16(%r8,%rax,8), %rax
LBB0_6:
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_arc_reg_names_count,4,2        ## @arc_reg_names_count
	.comm	_arc_reg_names,8,3              ## @arc_reg_names
	.comm	_AUXREG_AC,8,3                  ## @AUXREG_AC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arc_aux_reg_name               ; -- Begin function arc_aux_reg_name
	.p2align	2
_arc_aux_reg_name:                      ; @arc_aux_reg_name
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _arc_reg_names_count@GOTPAGE
Lloh1:
	ldr	x8, [x8, _arc_reg_names_count@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
Lloh3:
	adrp	x9, _arc_reg_names@GOTPAGE
Lloh4:
	ldr	x9, [x9, _arc_reg_names@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _AUXREG_AC@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AUXREG_AC@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	mov	w11, #24
	madd	x11, x8, x11, x9
	add	x11, x11, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x11, x11, #24
	subs	x8, x8, #1
	b.le	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x12, [x11, #-8]
	cmp	x12, x10
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w12, [x11]
	cmp	w12, w0
	b.ne	LBB0_2
; %bb.5:
	and	x8, x8, #0xffffffff
	mov	w10, #24
	madd	x8, x8, x10, x9
	ldr	x0, [x8, #16]
	ret
LBB0_6:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_arc_reg_names_count,4,2        ; @arc_reg_names_count
	.comm	_arc_reg_names,8,3              ; @arc_reg_names
	.comm	_AUXREG_AC,8,3                  ; @AUXREG_AC
.subsections_via_symbols
