	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_opcode                    ## -- Begin function find_opcode
	.p2align	4, 0x90
_find_opcode:                           ## @find_opcode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_tilegx_bundle_decoder_fsms@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rsi,8), %r8
	movq	_TILEGX_OPC_NONE@GOTPCREL(%rip), %rax
	movzwl	(%rax), %esi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ecx, %rax
	movzwl	(%r8,%rax,2), %ecx
	movl	%edi, %edx
	shrl	%cl, %edx
	shrl	$6, %ecx
	andl	%edx, %ecx
	addl	%ecx, %eax
	incl	%eax
	movzwl	(%r8,%rax,2), %eax
	movl	%eax, %ecx
	subl	%esi, %ecx
	cmpw	%si, %ax
	ja	LBB0_1
## %bb.2:
	movq	_tilegx_opcodes@GOTPCREL(%rip), %rcx
	shlq	$2, %rax
	addq	(%rcx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tilegx_bundle_decoder_fsms,8,3 ## @tilegx_bundle_decoder_fsms
	.comm	_TILEGX_OPC_NONE,2,1            ## @TILEGX_OPC_NONE
	.comm	_tilegx_opcodes,8,3             ## @tilegx_opcodes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_opcode                    ; -- Begin function find_opcode
	.p2align	2
_find_opcode:                           ; @find_opcode
	.cfi_startproc
; %bb.0:
	mov	w9, #0
Lloh0:
	adrp	x8, _tilegx_bundle_decoder_fsms@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tilegx_bundle_decoder_fsms@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, x1, lsl #3]
Lloh3:
	adrp	x10, _TILEGX_OPC_NONE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TILEGX_OPC_NONE@GOTPAGEOFF]
	ldrh	w10, [x10]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrh	w11, [x8, w9, sxtw #1]
	lsr	w12, w0, w11
	and	w11, w12, w11, lsr #6
	add	w9, w9, w11
	add	w9, w9, #1
	ldrh	w11, [x8, w9, uxtw #1]
	subs	w9, w11, w10
	b.hi	LBB0_1
; %bb.2:
Lloh5:
	adrp	x8, _tilegx_opcodes@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tilegx_opcodes@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	add	x0, x8, x11, lsl #2
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_tilegx_bundle_decoder_fsms,8,3 ; @tilegx_bundle_decoder_fsms
	.comm	_TILEGX_OPC_NONE,2,1            ; @TILEGX_OPC_NONE
	.comm	_tilegx_opcodes,8,3             ; @tilegx_opcodes
.subsections_via_symbols
