	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arc_operand_type               ## -- Begin function arc_operand_type
	.p2align	4, 0x90
_arc_operand_type:                      ## @arc_operand_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$2, %edi
	je	LBB0_9
## %bb.1:
	cmpl	$1, %edi
	je	LBB0_6
## %bb.2:
	xorl	%eax, %eax
	testl	%edi, %edi
	jne	LBB0_13
## %bb.3:
	movq	_arc_mach_a4@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_4
## %bb.5:
	movq	_COND_AC@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_9:
	movq	_arc_mach_a4@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_10
## %bb.11:
	movq	_AUXREG_AC@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_6:
	movq	_arc_mach_a4@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_7
## %bb.8:
	movq	_REG_AC@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_4:
	movq	_COND@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_10:
	movq	_AUXREG@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_7:
	movq	_REG@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
LBB0_13:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_arc_mach_a4,4,2                ## @arc_mach_a4
	.comm	_COND,4,2                       ## @COND
	.comm	_COND_AC,4,2                    ## @COND_AC
	.comm	_REG,4,2                        ## @REG
	.comm	_REG_AC,4,2                     ## @REG_AC
	.comm	_AUXREG,4,2                     ## @AUXREG
	.comm	_AUXREG_AC,4,2                  ## @AUXREG_AC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arc_operand_type               ; -- Begin function arc_operand_type
	.p2align	2
_arc_operand_type:                      ; @arc_operand_type
	.cfi_startproc
; %bb.0:
	cmp	w0, #2
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #1
	b.eq	LBB0_5
; %bb.2:
	cbnz	w0, LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _arc_mach_a4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _arc_mach_a4@GOTPAGEOFF]
Lloh2:
	adrp	x9, _COND@GOTPAGE
Lloh3:
	ldr	x9, [x9, _COND@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x10, _COND_AC@GOTPAGE
Lloh6:
	ldr	x10, [x10, _COND_AC@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh7:
	adrp	x8, _arc_mach_a4@GOTPAGE
Lloh8:
	ldr	x8, [x8, _arc_mach_a4@GOTPAGEOFF]
Lloh9:
	adrp	x9, _AUXREG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AUXREG@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x10, _AUXREG_AC@GOTPAGE
Lloh13:
	ldr	x10, [x10, _AUXREG_AC@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x8, _arc_mach_a4@GOTPAGE
Lloh15:
	ldr	x8, [x8, _arc_mach_a4@GOTPAGEOFF]
Lloh16:
	adrp	x9, _REG@GOTPAGE
Lloh17:
	ldr	x9, [x9, _REG@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x10, _REG_AC@GOTPAGE
Lloh20:
	ldr	x10, [x10, _REG_AC@GOTPAGEOFF]
LBB0_6:
	cmp	w8, #0
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	ret
LBB0_7:
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_arc_mach_a4,4,2                ; @arc_mach_a4
	.comm	_COND,4,2                       ; @COND
	.comm	_COND_AC,4,2                    ; @COND_AC
	.comm	_REG,4,2                        ; @REG
	.comm	_REG_AC,4,2                     ; @REG_AC
	.comm	_AUXREG,4,2                     ; @AUXREG
	.comm	_AUXREG_AC,4,2                  ; @AUXREG_AC
.subsections_via_symbols
