	.file	"extr_xtensa-isa.c_xtensa_regfile_lookup_shortname.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid regfile shortname"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"regfile shortname \"%s\" not recognized"
	.text
	.p2align 4
	.globl	xtensa_regfile_lookup_shortname
	.type	xtensa_regfile_lookup_shortname, @function
xtensa_regfile_lookup_shortname:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rsi, rsi
	je	.L2
	cmp	BYTE PTR [rsi], 0
	mov	r13, rsi
	je	.L2
	mov	eax, DWORD PTR [rdi]
	mov	rbp, rdi
	xor	ebx, ebx
	test	eax, eax
	jg	.L3
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	add	rbx, 1
	cmp	DWORD PTR 0[rbp], ebx
	jle	.L4
.L3:
	mov	rax, QWORD PTR 8[rbp]
	mov	r12d, ebx
	lea	rax, [rax+rbx*8]
	cmp	DWORD PTR [rax], ebx
	jne	.L7
	mov	edi, DWORD PTR 4[rax]
	mov	rsi, r13
	call	filename_cmp@PLT
	test	eax, eax
	jne	.L7
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, DWORD PTR xtensa_isa_bad_regfile[rip]
	mov	edi, DWORD PTR xtisa_error_msg[rip]
	mov	rdx, r13
	lea	rsi, .LC1[rip]
	mov	DWORD PTR xtisa_errno[rip], eax
	call	sprintf@PLT
	mov	r12d, DWORD PTR XTENSA_UNDEFINED[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR xtensa_isa_bad_regfile[rip]
	mov	edi, DWORD PTR xtisa_error_msg[rip]
	lea	rsi, .LC0[rip]
	mov	DWORD PTR xtisa_errno[rip], eax
	call	strcpy@PLT
	mov	r12d, DWORD PTR XTENSA_UNDEFINED[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	xtensa_regfile_lookup_shortname, .-xtensa_regfile_lookup_shortname
	.comm	xtisa_error_msg,4,4
	.comm	xtisa_errno,4,4
	.comm	xtensa_isa_bad_regfile,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_regfile_lookup_shortname.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid regfile shortname\000"
	.align	2
.LC1:
	.ascii	"regfile shortname \"%s\" not recognized\000"
	.text
	.align	2
	.global	xtensa_regfile_lookup_shortname
	.syntax unified
	.arm
	.fpu softvfp
	.type	xtensa_regfile_lookup_shortname, %function
xtensa_regfile_lookup_shortname:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r6, r1, #0
	beq	.L2
	ldrb	r3, [r6]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L2
	mov	r5, r0
	ldr	r0, [r0]
	cmp	r0, #0
	movgt	r4, #0
	bgt	.L3
	b	.L4
.L21:
	add	r4, r4, #1
	cmp	r0, r4
	ble	.L4
.L3:
	ldr	r3, [r5, #4]
	ldr	ip, [r3, r4, lsl #3]
	add	r3, r3, r4, lsl #3
	cmp	ip, r4
	bne	.L21
	mov	r1, r6
	ldr	r0, [r3, #4]
	bl	filename_cmp
	cmp	r0, #0
	beq	.L1
	ldr	r0, [r5]
	add	r4, r4, #1
	cmp	r0, r4
	bgt	.L3
.L4:
	ldr	r3, .L22
	ldr	r1, .L22+4
	ldr	ip, [r3]
	ldr	r3, .L22+8
	ldr	r0, [r1]
	mov	r2, r6
	ldr	r1, .L22+12
	str	ip, [r3]
	bl	sprintf
	ldr	r3, .L22+16
	ldr	r4, [r3]
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L22
	ldr	r1, .L22+4
	ldr	r2, [r3]
	ldr	r3, .L22+8
	ldr	r0, [r1]
	ldr	r1, .L22+20
	str	r2, [r3]
	bl	strcpy
	ldr	r3, .L22+16
	ldr	r4, [r3]
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L23:
	.align	2
.L22:
	.word	xtensa_isa_bad_regfile
	.word	xtisa_error_msg
	.word	xtisa_errno
	.word	.LC1
	.word	XTENSA_UNDEFINED
	.word	.LC0
	.size	xtensa_regfile_lookup_shortname, .-xtensa_regfile_lookup_shortname
	.comm	xtisa_error_msg,4,4
	.comm	xtisa_errno,4,4
	.comm	xtensa_isa_bad_regfile,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
