	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nios2_init_opcode_hash
_nios2_init_opcode_hash:                ## @nios2_init_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_OP_MASK_OP@GOTPCREL(%rip), %r8
	movl	(%r8), %ecx
	leal	1(%rcx), %edx
	movl	%edx, %eax
	andl	$7, %eax
	cmpl	$7, %ecx
	jb	LBB0_3
## %bb.1:
	andl	$-8, %edx
	movq	_nios2_hash@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi), %rdi
	movq	$0, (%rdi)
	movq	(%rsi), %rdi
	movq	$0, (%rdi)
	movq	(%rsi), %rdi
	movq	$0, (%rdi)
	movq	(%rsi), %rdi
	movq	$0, (%rdi)
	movq	(%rsi), %rdi
	movq	$0, (%rdi)
	movq	(%rsi), %rdi
	movq	$0, (%rdi)
	movq	(%rsi), %rdi
	movq	$0, (%rdi)
	movq	(%rsi), %rdi
	movq	$0, (%rdi)
	addl	$-8, %edx
	jne	LBB0_2
LBB0_3:
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movq	_nios2_hash@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rsi
	movq	$0, (%rsi)
	decl	%eax
	jne	LBB0_5
LBB0_6:
	movq	_NUMOPCODES@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	xorl	%eax, %eax
	movq	_NIOS2_INSN_MACRO@GOTPCREL(%rip), %r14
	movq	_OP_SH_OP@GOTPCREL(%rip), %r13
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r8), %ecx
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	incl	%eax
	cmpl	%ecx, %eax
	ja	LBB0_21
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##       Child Loop BB0_16 Depth 3
	testq	%r9, %r9
	jle	LBB0_20
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_nios2_opcodes@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	%eax, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=2
	addq	$16, %r15
	movq	%r9, %rcx
	shlq	$4, %rcx
	addq	%rdx, %rcx
	cmpq	%rcx, %r15
	jae	LBB0_19
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_16 Depth 3
	movl	(%r15), %ebx
	movl	4(%r15), %edi
	movl	%ebx, %esi
	notl	%esi
	movb	(%r13), %cl
	shrl	%cl, %edi
	andl	(%r8), %edi
	testl	%esi, (%r14)
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	cmpl	%edi, %eax
	jne	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	_NIOS2_INSN_MACRO_MOVI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_NIOS2_INSN_MACRO_MOV@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	andl	%ecx, %ebx
	movq	_nios2_ps_hash@GOTPCREL(%rip), %rcx
	testl	$2147483647, %ebx               ## imm = 0x7FFFFFFF
	jne	LBB0_13
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	_nios2_hash@GOTPCREL(%rip), %rcx
	cmpl	%edi, %eax
	jne	LBB0_18
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	(%rcx), %r12
	testq	%r12, %r12
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r8, %rbx
	movl	$16, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_22
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%r12,%rcx,8), %rcx
	movq	%r15, 8(%rax)
	movq	$0, (%rax)
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rcx, %rdx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%rax, (%rdx)
	movq	_nios2_opcodes@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_NUMOPCODES@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	%rbx, %r8
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_18
LBB0_21:
	movq	_nios2_hash_init@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_OP_MASK_OP,4,2                 ## @OP_MASK_OP
	.comm	_nios2_hash,8,3                 ## @nios2_hash
	.comm	_nios2_opcodes,8,3              ## @nios2_opcodes
	.comm	_NUMOPCODES,8,3                 ## @NUMOPCODES
	.comm	_NIOS2_INSN_MACRO,4,2           ## @NIOS2_INSN_MACRO
	.comm	_OP_SH_OP,4,2                   ## @OP_SH_OP
	.comm	_NIOS2_INSN_MACRO_MOV,4,2       ## @NIOS2_INSN_MACRO_MOV
	.comm	_NIOS2_INSN_MACRO_MOVI,4,2      ## @NIOS2_INSN_MACRO_MOVI
	.comm	_nios2_ps_hash,8,3              ## @nios2_ps_hash
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error allocating memory...broken disassembler\n"

	.comm	_nios2_hash_init,4,2            ## @nios2_hash_init
	.no_dead_strip	_nios2_init_opcode_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nios2_init_opcode_hash
_nios2_init_opcode_hash:                ; @nios2_init_opcode_hash
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x19, _OP_MASK_OP@GOTPAGE
Lloh1:
	ldr	x19, [x19, _OP_MASK_OP@GOTPAGEOFF]
	ldr	w9, [x19]
	mov	w8, #-1
Lloh2:
	adrp	x10, _nios2_hash@GOTPAGE
Lloh3:
	ldr	x10, [x10, _nios2_hash@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	str	xzr, [x11]
	add	w8, w8, #1
	cmp	w9, w8
	b.ne	LBB0_1
; %bb.2:
	mov	w20, #0
Lloh4:
	adrp	x8, _NUMOPCODES@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NUMOPCODES@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x22, _nios2_opcodes@GOTPAGE
Lloh8:
	ldr	x22, [x22, _nios2_opcodes@GOTPAGEOFF]
Lloh9:
	adrp	x23, _NIOS2_INSN_MACRO@GOTPAGE
Lloh10:
	ldr	x23, [x23, _NIOS2_INSN_MACRO@GOTPAGEOFF]
Lloh11:
	adrp	x24, _OP_SH_OP@GOTPAGE
Lloh12:
	ldr	x24, [x24, _OP_SH_OP@GOTPAGEOFF]
Lloh13:
	adrp	x27, _nios2_ps_hash@GOTPAGE
Lloh14:
	ldr	x27, [x27, _nios2_ps_hash@GOTPAGEOFF]
Lloh15:
	adrp	x28, _nios2_hash@GOTPAGE
Lloh16:
	ldr	x28, [x28, _nios2_hash@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x19]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w20, w20, #1
	cmp	w20, w9
	b.hi	LBB0_17
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;       Child Loop BB0_15 Depth 3
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x22]
	mov	w21, w20
	mov	x25, x9
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x25, x25, #16
	add	x10, x9, x8, lsl #4
	cmp	x25, x10
	b.hs	LBB0_3
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_15 Depth 3
	ldr	w12, [x23]
	ldp	w10, w11, [x25]
	ldr	w13, [x24]
	lsr	w11, w11, w13
	ldr	w13, [x19]
	and	w11, w11, w13
	bics	wzr, w12, w10
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	cmp	w20, w11
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
Lloh17:
	adrp	x11, _NIOS2_INSN_MACRO_MOV@GOTPAGE
Lloh18:
	ldr	x11, [x11, _NIOS2_INSN_MACRO_MOV@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
Lloh20:
	adrp	x12, _NIOS2_INSN_MACRO_MOVI@GOTPAGE
Lloh21:
	ldr	x12, [x12, _NIOS2_INSN_MACRO_MOVI@GOTPAGEOFF]
Lloh22:
	ldr	w12, [x12]
	orr	w11, w12, w11
	and	w11, w10, w11
	mov	x10, x27
	tst	w11, #0x7fffffff
	b.ne	LBB0_12
	b	LBB0_7
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x10, x28
	cmp	w20, w11
	b.ne	LBB0_7
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x26, [x10]
	cbz	x26, LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	w0, #16
	bl	_malloc
	cbz	x0, LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=2
	add	x8, x26, x21, lsl #3
	stp	xzr, x25, [x0]
LBB0_15:                                ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_8 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x9, x8
	ldr	x8, [x8]
	cbnz	x8, LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=2
	str	x0, [x9]
	ldr	x9, [x22]
Lloh23:
	adrp	x8, _NUMOPCODES@GOTPAGE
Lloh24:
	ldr	x8, [x8, _NUMOPCODES@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	b	LBB0_7
LBB0_17:
Lloh26:
	adrp	x8, _nios2_hash_init@GOTPAGE
Lloh27:
	ldr	x8, [x8, _nios2_hash_init@GOTPAGEOFF]
	mov	w9, #1
Lloh28:
	str	w9, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
Lloh29:
	adrp	x8, _stderr@GOTPAGE
Lloh30:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x1, l_.str@PAGE
Lloh33:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	bl	_abort
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_OP_MASK_OP,4,2                 ; @OP_MASK_OP
	.comm	_nios2_hash,8,3                 ; @nios2_hash
	.comm	_nios2_opcodes,8,3              ; @nios2_opcodes
	.comm	_NUMOPCODES,8,3                 ; @NUMOPCODES
	.comm	_NIOS2_INSN_MACRO,4,2           ; @NIOS2_INSN_MACRO
	.comm	_OP_SH_OP,4,2                   ; @OP_SH_OP
	.comm	_NIOS2_INSN_MACRO_MOV,4,2       ; @NIOS2_INSN_MACRO_MOV
	.comm	_NIOS2_INSN_MACRO_MOVI,4,2      ; @NIOS2_INSN_MACRO_MOVI
	.comm	_nios2_ps_hash,8,3              ; @nios2_ps_hash
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error allocating memory...broken disassembler\n"

	.comm	_nios2_hash_init,4,2            ; @nios2_hash_init
	.no_dead_strip	_nios2_init_opcode_hash
.subsections_via_symbols
