	.file	"extr_xtensa-isa.c_xtensa_opcode_lookup.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid opcode name"
.LC1:
	.string	"opcode \"%s\" not recognized"
	.text
	.p2align 4
	.globl	xtensa_opcode_lookup
	.type	xtensa_opcode_lookup, @function
xtensa_opcode_lookup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	test	rsi, rsi
	je	.L2
	cmp	BYTE PTR [rsi], 0
	mov	r12, rsi
	je	.L2
	mov	rdx, QWORD PTR [rdi]
	test	rdx, rdx
	je	.L6
	mov	QWORD PTR [rsp], rsi
	mov	r8d, DWORD PTR xtensa_isa_name_compare[rip]
	mov	ecx, 16
	mov	esi, DWORD PTR 8[rdi]
	mov	rdi, rsp
	call	bsearch@PLT
	test	rax, rax
	je	.L6
	mov	eax, DWORD PTR 8[rax]
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L16
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR xtensa_isa_bad_opcode[rip]
	mov	edi, DWORD PTR xtisa_error_msg[rip]
	mov	rdx, r12
	lea	rsi, .LC1[rip]
	mov	DWORD PTR xtisa_errno[rip], eax
	call	sprintf@PLT
	mov	eax, DWORD PTR XTENSA_UNDEFINED[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR xtensa_isa_bad_opcode[rip]
	mov	edi, DWORD PTR xtisa_error_msg[rip]
	lea	rsi, .LC0[rip]
	mov	DWORD PTR xtisa_errno[rip], eax
	call	strcpy@PLT
	mov	eax, DWORD PTR XTENSA_UNDEFINED[rip]
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	xtensa_opcode_lookup, .-xtensa_opcode_lookup
	.comm	xtisa_error_msg,4,4
	.comm	xtisa_errno,4,4
	.comm	xtensa_isa_name_compare,4,4
	.comm	xtensa_isa_bad_opcode,4,4
	.comm	XTENSA_UNDEFINED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_xtensa-isa.c_xtensa_opcode_lookup.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid opcode name\000"
	.align	2
.LC1:
	.ascii	"opcode \"%s\" not recognized\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	xtensa_opcode_lookup
	.syntax unified
	.arm
	.fpu softvfp
	.type	xtensa_opcode_lookup, %function
xtensa_opcode_lookup:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L17
	sub	sp, sp, #24
	subs	r4, r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L2
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L2
	ldr	r2, [r0]
	cmp	r2, #0
	beq	.L6
	ldr	r3, .L17+4
	ldr	r1, [r0, #4]
	ldr	r3, [r3]
	add	r0, sp, #12
	str	r3, [sp]
	mov	r3, #8
	str	r4, [sp, #12]
	bl	bsearch
	cmp	r0, #0
	beq	.L6
	ldr	r0, [r0, #4]
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #24
	@ sp needed
	pop	{r4, pc}
.L6:
	ldr	r3, .L17+8
	ldr	r1, .L17+12
	ldr	ip, [r3]
	ldr	r3, .L17+16
	ldr	r0, [r1]
	mov	r2, r4
	ldr	r1, .L17+20
	str	ip, [r3]
	bl	sprintf
	ldr	r3, .L17+24
	ldr	r0, [r3]
	b	.L1
.L2:
	ldr	r3, .L17+8
	ldr	r1, .L17+12
	ldr	r2, [r3]
	ldr	r3, .L17+16
	ldr	r0, [r1]
	ldr	r1, .L17+28
	str	r2, [r3]
	bl	strcpy
	ldr	r3, .L17+24
	ldr	r0, [r3]
	b	.L1
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC2
	.word	xtensa_isa_name_compare
	.word	xtensa_isa_bad_opcode
	.word	xtisa_error_msg
	.word	xtisa_errno
	.word	.LC1
	.word	XTENSA_UNDEFINED
	.word	.LC0
	.size	xtensa_opcode_lookup, .-xtensa_opcode_lookup
	.comm	xtisa_error_msg,4,4
	.comm	xtisa_errno,4,4
	.comm	xtensa_isa_name_compare,4,4
	.comm	xtensa_isa_bad_opcode,4,4
	.comm	XTENSA_UNDEFINED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
