	.file	"extr_asm_lm32.c_csr_number_to_string.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	csr_number_to_string, @function
csr_number_to_string:
.LFB0:
	.cfi_startproc
	endbr64
	mov	ecx, DWORD PTR RAsmLm32CsrNumber[rip]
	test	ecx, ecx
	jle	.L7
	mov	rax, QWORD PTR RAsmLm32Csrs[rip]
	mov	r8, rsi
	xor	edx, edx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	add	edx, 1
	add	rax, 16
	cmp	edx, ecx
	je	.L7
.L5:
	cmp	QWORD PTR [rax], rdi
	jne	.L3
	cmp	edx, 255
	je	.L7
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	esi, DWORD PTR 8[rax]
	mov	rdi, r8
	call	strcpy@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, -1
	ret
	.cfi_endproc
.LFE0:
	.size	csr_number_to_string, .-csr_number_to_string
	.comm	RAsmLm32Csrs,8,8
	.comm	RAsmLm32CsrNumber,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_asm_lm32.c_csr_number_to_string.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	csr_number_to_string, %function
csr_number_to_string:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, r5, r6, lr}
	ldr	r5, [r3]
	cmp	r5, #0
	ble	.L6
	ldr	r2, .L11+4
	mov	lr, r0
	ldr	r4, [r2]
	mov	r0, r1
	mov	r3, #0
	mov	r2, r4
	b	.L4
.L10:
	add	r3, r3, #1
	cmp	r3, r5
	add	r2, r2, #8
	beq	.L6
.L4:
	ldr	ip, [r4, r3, lsl #3]
	cmp	ip, lr
	bne	.L10
	cmp	r3, #255
	beq	.L6
	ldr	r1, [r2, #4]
	bl	strcpy
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L6:
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	RAsmLm32CsrNumber
	.word	RAsmLm32Csrs
	.size	csr_number_to_string, .-csr_number_to_string
	.comm	RAsmLm32Csrs,4,4
	.comm	RAsmLm32CsrNumber,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
