	.file	"extr_codegen.c_readint_float.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"malformed readint input"
	.text
	.p2align 4
	.type	readint_float, @function
readint_float:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	call	strlen@PLT
	movsx	rbx, eax
	xor	eax, eax
	add	rbx, r12
	cmp	BYTE PTR [r12], 43
	sete	al
	add	r12, rax
	cmp	rbx, r12
	jbe	.L9
	pxor	xmm3, xmm3
	movsd	QWORD PTR 8[rsp], xmm3
	.p2align 4,,10
	.p2align 3
.L8:
	movzx	edi, BYTE PTR [r12]
	call	tolower@PLT
	test	r13d, r13d
	jle	.L10
	mov	rdi, QWORD PTR mrb_digitmap[rip]
	lea	r8d, -1[r13]
	xor	ecx, ecx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	lea	r9d, 1[rcx]
	lea	rsi, 1[rcx]
	cmp	rcx, r8
	je	.L4
	mov	rcx, rsi
.L7:
	cmp	BYTE PTR [rdi+rcx], al
	jne	.L5
	pxor	xmm1, xmm1
	pxor	xmm0, xmm0
	cvtsi2sd	xmm1, r13d
	mulsd	xmm1, QWORD PTR 8[rsp]
	cvtsi2sd	xmm0, ecx
	addsd	xmm0, xmm1
	movsd	QWORD PTR 8[rsp], xmm0
.L6:
	add	r12, 1
	cmp	rbx, r12
	jne	.L8
.L1:
	movsd	xmm0, QWORD PTR 8[rsp]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L10:
	.cfi_restore_state
	xor	r9d, r9d
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	r13d, r9d
	jne	.L6
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	codegen_error@PLT
	jmp	.L6
.L9:
	pxor	xmm4, xmm4
	movsd	QWORD PTR 8[rsp], xmm4
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	readint_float, .-readint_float
	.comm	mrb_digitmap,8,8
	.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_codegen.c_readint_float.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"malformed readint input\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	readint_float, %function
readint_float:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r1
	mov	fp, r0
	mov	r0, r1
	mov	r5, r2
	bl	strlen
	ldrb	r3, [r6]	@ zero_extendqisi2
	add	r7, r6, r0
	cmp	r3, #43
	addeq	r6, r6, #1
	cmp	r7, r6
	mov	r8, #0
	mov	r9, #0
	bls	.L1
	ldr	r10, .L15
	sub	r6, r6, #1
	sub	r7, r7, #1
.L9:
	ldrb	r0, [r6, #1]!	@ zero_extendqisi2
	bl	tolower
	cmp	r5, #0
	ble	.L4
	ldr	r3, [r10]
	mov	r4, #0
	sub	r3, r3, #1
	b	.L7
.L5:
	add	r4, r4, #1
	cmp	r5, r4
	beq	.L8
.L7:
	ldrb	r2, [r3, #1]!	@ zero_extendqisi2
	cmp	r2, r0
	bne	.L5
	mov	r0, r5
	bl	__aeabi_i2d
	mov	r2, r8
	mov	r3, r9
	bl	__aeabi_dmul
	mov	r8, r0
	mov	r9, r1
	mov	r0, r4
	bl	__aeabi_i2d
	mov	r2, r8
	mov	r3, r9
	bl	__aeabi_dadd
	mov	r8, r0
	mov	r9, r1
.L6:
	cmp	r6, r7
	bne	.L9
.L1:
	mov	r0, r8
	mov	r1, r9
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	bne	.L6
.L8:
	mov	r0, fp
	ldr	r1, .L15+4
	bl	codegen_error
	b	.L6
.L16:
	.align	2
.L15:
	.word	mrb_digitmap
	.word	.LC0
	.size	readint_float, .-readint_float
	.comm	mrb_digitmap,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
