	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nios2_find_opcode_hash         ## -- Begin function nios2_find_opcode_hash
	.p2align	4, 0x90
_nios2_find_opcode_hash:                ## @nios2_find_opcode_hash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_nios2_hash_init@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_nios2_init_opcode_hash
LBB0_2:
	movq	_nios2_ps_hash@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_OP_SH_OP@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	%rbx, %rdx
	shrq	%cl, %rdx
	movq	_OP_MASK_OP@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rdx
	movq	(%rax,%rdx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rax
	movq	8(%rax), %rsi
	andq	%rbx, %rsi
	cmpq	%rsi, (%rax)
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_3
LBB0_5:
	movq	_nios2_hash@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rdx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rax
	movq	8(%rax), %rdx
	andq	%rbx, %rdx
	cmpq	%rdx, (%rax)
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_6
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nios2_hash_init,4,2            ## @nios2_hash_init
	.comm	_nios2_ps_hash,8,3              ## @nios2_ps_hash
	.comm	_OP_SH_OP,8,3                   ## @OP_SH_OP
	.comm	_OP_MASK_OP,8,3                 ## @OP_MASK_OP
	.comm	_nios2_hash,8,3                 ## @nios2_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nios2_find_opcode_hash         ; -- Begin function nios2_find_opcode_hash
	.p2align	2
_nios2_find_opcode_hash:                ; @nios2_find_opcode_hash
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _nios2_hash_init@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nios2_hash_init@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
	bl	_nios2_init_opcode_hash
LBB0_2:
Lloh3:
	adrp	x8, _nios2_ps_hash@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nios2_ps_hash@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
Lloh6:
	adrp	x8, _OP_SH_OP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OP_SH_OP@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	lsr	x8, x19, x8
Lloh9:
	adrp	x10, _OP_MASK_OP@GOTPAGE
Lloh10:
	ldr	x10, [x10, _OP_MASK_OP@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	and	x8, x8, x10
	ldr	x9, [x9, x8, lsl #3]
	cbz	x9, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x9]
	ldp	x10, x11, [x0]
	and	x11, x11, x19
	cmp	x10, x11
	b.eq	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x9, #8]
	cbnz	x9, LBB0_3
LBB0_5:
Lloh12:
	adrp	x9, _nios2_hash@GOTPAGE
Lloh13:
	ldr	x9, [x9, _nios2_hash@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	x8, [x9, x8, lsl #3]
	cbz	x8, LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x8]
	ldp	x9, x10, [x0]
	and	x10, x10, x19
	cmp	x9, x10
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_6
LBB0_8:
	mov	x0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_nios2_hash_init,4,2            ; @nios2_hash_init
	.comm	_nios2_ps_hash,8,3              ; @nios2_ps_hash
	.comm	_OP_SH_OP,8,3                   ; @OP_SH_OP
	.comm	_OP_MASK_OP,8,3                 ; @OP_MASK_OP
	.comm	_nios2_hash,8,3                 ; @nios2_hash
.subsections_via_symbols
