	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xtensa_opcode_funcUnit_use     ## -- Begin function xtensa_opcode_funcUnit_use
	.p2align	4, 0x90
_xtensa_opcode_funcUnit_use:            ## @xtensa_opcode_funcUnit_use
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%edx, %edx
	callq	_CHECK_OPCODE
	movq	(%rbx), %rdx
	testl	%r14d, %r14d
	js	LBB0_2
## %bb.1:
	leaq	(%r15,%r15,2), %rcx
	cmpl	%r14d, (%rdx,%rcx,8)
	jle	LBB0_2
## %bb.3:
	movl	%r14d, %eax
	shlq	$2, %rax
	addq	16(%rdx,%rcx,8), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_xtensa_isa_bad_funcUnit@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_xtisa_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_xtisa_error_msg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	(%r15,%r15,2), %rax
	movq	8(%rdx,%rax,8), %rcx
	movl	(%rdx,%rax,8), %r8d
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_sprintf
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xtensa_isa_bad_funcUnit,4,2    ## @xtensa_isa_bad_funcUnit
	.comm	_xtisa_errno,4,2                ## @xtisa_errno
	.comm	_xtisa_error_msg,4,2            ## @xtisa_error_msg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid functional unit use number (%d); opcode \"%s\" has %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xtensa_opcode_funcUnit_use     ; -- Begin function xtensa_opcode_funcUnit_use
	.p2align	2
_xtensa_opcode_funcUnit_use:            ; @xtensa_opcode_funcUnit_use
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x2, #0
	bl	_CHECK_OPCODE
	ldr	x8, [x21]
	tbnz	w19, #31, LBB0_3
; %bb.1:
	mov	w9, #24
	mul	x9, x20, x9
	ldr	w9, [x8, x9]
	cmp	w9, w19
	b.le	LBB0_3
; %bb.2:
	mov	w9, #24
	madd	x8, x20, x9, x8
	ldr	x8, [x8, #16]
	add	x0, x8, w19, uxtw #2
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x9, _xtensa_isa_bad_funcUnit@GOTPAGE
Lloh1:
	ldr	x9, [x9, _xtensa_isa_bad_funcUnit@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _xtisa_errno@GOTPAGE
Lloh4:
	ldr	x10, [x10, _xtisa_errno@GOTPAGEOFF]
Lloh5:
	adrp	x11, _xtisa_error_msg@GOTPAGE
Lloh6:
	ldr	x11, [x11, _xtisa_error_msg@GOTPAGEOFF]
Lloh7:
	str	w9, [x10]
Lloh8:
	ldr	w0, [x11]
	mov	w9, #24
	madd	x8, x20, x9, x8
	ldr	x3, [x8, #8]
	ldr	w4, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_sprintf
	mov	x0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_xtensa_isa_bad_funcUnit,4,2    ; @xtensa_isa_bad_funcUnit
	.comm	_xtisa_errno,4,2                ; @xtisa_errno
	.comm	_xtisa_error_msg,4,2            ; @xtisa_error_msg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid functional unit use number (%d); opcode \"%s\" has %d"

.subsections_via_symbols
