	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_intr_src
_get_intr_src:                          ## @get_intr_src
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NDS32_SR_ITYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___nds32__mfsr
	movq	_ITYPE_mskVECTOR@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_ITYPE_offVECTOR@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	cltq
	movq	_NDS32_VECTOR_offINTERRUPT@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NDS32_SR_ITYPE,4,2             ## @NDS32_SR_ITYPE
	.comm	_ITYPE_mskVECTOR,4,2            ## @ITYPE_mskVECTOR
	.comm	_ITYPE_offVECTOR,4,2            ## @ITYPE_offVECTOR
	.comm	_NDS32_VECTOR_offINTERRUPT,8,3  ## @NDS32_VECTOR_offINTERRUPT
	.no_dead_strip	_get_intr_src
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_intr_src
_get_intr_src:                          ; @get_intr_src
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _NDS32_SR_ITYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NDS32_SR_ITYPE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	___nds32__mfsr
Lloh3:
	adrp	x8, _ITYPE_mskVECTOR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ITYPE_mskVECTOR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh6:
	adrp	x9, _ITYPE_offVECTOR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ITYPE_offVECTOR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	asr	w8, w8, w9
	sxtw	x8, w8
Lloh9:
	adrp	x9, _NDS32_VECTOR_offINTERRUPT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NDS32_VECTOR_offINTERRUPT@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	sub	x0, x8, x9
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NDS32_SR_ITYPE,4,2             ; @NDS32_SR_ITYPE
	.comm	_ITYPE_mskVECTOR,4,2            ; @ITYPE_mskVECTOR
	.comm	_ITYPE_offVECTOR,4,2            ; @ITYPE_offVECTOR
	.comm	_NDS32_VECTOR_offINTERRUPT,8,3  ; @NDS32_VECTOR_offINTERRUPT
	.no_dead_strip	_get_intr_src
.subsections_via_symbols
