	.file	"extr_paramgrill.c_readU32FromChar.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	readU32FromChar, @function
readU32FromChar:
.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
	mov	r12d, 1
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	movdqa	xmm0, XMMWORD PTR .LC0[rip]
	mov	rdx, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 24[rsp], 1918987296
	movabs	rax, 8029764343114853473
	mov	QWORD PTR 16[rsp], rax
	mov	eax, 25959
	mov	WORD PTR 28[rsp], ax
	mov	BYTE PTR 30[rsp], 0
	movaps	XMMWORD PTR [rsp], xmm0
	movzx	eax, BYTE PTR [rdx]
	cmp	al, 45
	jne	.L2
	lea	rcx, 1[rdx]
	mov	r12d, -1
	mov	QWORD PTR [rdi], rcx
	movzx	eax, BYTE PTR 1[rdx]
	mov	rdx, rcx
.L2:
	lea	ecx, -48[rax]
	xor	ebx, ebx
	mov	r13, rsp
	cmp	cl, 9
	ja	.L24
	.p2align 4,,10
	.p2align 3
.L6:
	xor	edi, edi
	cmp	al, 47
	setg	dil
	call	assert@PLT
	mov	rax, QWORD PTR 0[rbp]
	lea	ecx, [rbx+rbx*4]
	movsx	edx, BYTE PTR [rax]
	lea	ebx, -48[rdx+rcx*2]
	lea	rdx, 1[rax]
	mov	QWORD PTR 0[rbp], rdx
	movzx	eax, BYTE PTR 1[rax]
	lea	ecx, -48[rax]
	cmp	cl, 9
	ja	.L25
	cmp	ebx, 429496728
	jbe	.L6
	mov	rdi, r13
	call	errorOut@PLT
	mov	rax, QWORD PTR 0[rbp]
	movzx	eax, BYTE PTR [rax]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L25:
	lea	ecx, -75[rax]
	and	ecx, 253
	je	.L9
	imul	r12d, ebx
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L26
	add	rsp, 56
	.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
.L9:
	.cfi_restore_state
	cmp	ebx, 4194303
	jbe	.L10
	mov	rdi, rsp
	call	errorOut@PLT
	mov	rdx, QWORD PTR 0[rbp]
	movzx	eax, BYTE PTR [rdx]
.L10:
	mov	ecx, ebx
	sal	ecx, 10
	cmp	al, 77
	je	.L11
	imul	r12d, ecx
.L12:
	lea	rax, 1[rdx]
	mov	QWORD PTR 0[rbp], rax
	movzx	ecx, BYTE PTR 1[rdx]
	cmp	cl, 105
	jne	.L14
	lea	rax, 2[rdx]
	mov	QWORD PTR 0[rbp], rax
	movzx	ecx, BYTE PTR 2[rdx]
.L14:
	cmp	cl, 66
	jne	.L1
	add	rax, 1
	mov	QWORD PTR 0[rbp], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, ebx
	sal	eax, 20
	imul	r12d, eax
	cmp	ecx, 4194303
	jbe	.L12
	mov	rdi, rsp
	call	errorOut@PLT
	mov	rdx, QWORD PTR 0[rbp]
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L24:
	sub	eax, 75
	xor	r12d, r12d
	test	al, -3
	je	.L12
	jmp	.L1
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	readU32FromChar, .-readU32FromChar
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.quad	7935406806597268069
	.quad	8511912600272203125
	.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_paramgrill.c_readU32FromChar.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"error: numeric value too large\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	readU32FromChar, %function
readU32FromChar:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r0
	ldr	r3, .L25
	sub	sp, sp, #44
	ldr	lr, .L25+4
	add	ip, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	ldr	r2, [r5]
	strh	r3, [ip], #2	@ movhi
	lsr	r1, r3, #16
	strb	r1, [ip]
	ldrb	r0, [r2]	@ zero_extendqisi2
	cmp	r0, #45
	movne	r6, #1
	bne	.L2
	add	r3, r2, #1
	str	r3, [r5]
	ldrb	r0, [r2, #1]	@ zero_extendqisi2
	mvn	r6, #0
	mov	r2, r3
.L2:
	sub	r3, r0, #48
	cmp	r3, #9
	bhi	.L22
	mov	r4, #0
	ldr	r7, .L25+8
.L6:
	cmp	r0, #47
	movls	r0, #0
	movhi	r0, #1
	bl	assert
	ldr	r3, [r5]
	add	r4, r4, r4, lsl #2
	mov	r2, r3
	ldrb	r1, [r2], #1	@ zero_extendqisi2
	lsl	r4, r4, #1
	str	r2, [r5]
	ldrb	r0, [r3, #1]	@ zero_extendqisi2
	sub	r4, r4, #48
	sub	r3, r0, #48
	cmp	r3, #9
	add	r4, r1, r4
	bhi	.L23
	cmp	r4, r7
	bls	.L6
	add	r0, sp, #4
	bl	errorOut
	ldr	r3, [r5]
	ldrb	r0, [r3]	@ zero_extendqisi2
	b	.L6
.L23:
	sub	r3, r0, #75
	tst	r3, #253
	beq	.L9
	mul	r4, r6, r4
.L1:
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	mov	r0, r4
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	cmp	r4, #4194304
	bcc	.L10
	add	r0, sp, #4
	bl	errorOut
	ldr	r2, [r5]
	ldrb	r0, [r2]	@ zero_extendqisi2
.L10:
	cmp	r0, #77
	lsl	r0, r4, #10
	beq	.L11
	mul	r4, r6, r0
.L12:
	add	r3, r2, #1
	str	r3, [r5]
	ldrb	r1, [r2, #1]	@ zero_extendqisi2
	cmp	r1, #105
	addeq	r3, r2, #2
	streq	r3, [r5]
	ldrbeq	r1, [r2, #2]	@ zero_extendqisi2
	cmp	r1, #66
	addeq	r3, r3, #1
	streq	r3, [r5]
	b	.L1
.L11:
	lsl	r3, r4, #20
	cmp	r0, #4194304
	mul	r4, r6, r3
	bcc	.L12
	add	r0, sp, #4
	bl	errorOut
	ldr	r2, [r5]
	b	.L12
.L22:
	sub	r0, r0, #75
	ands	r4, r0, #253
	movne	r4, #0
	bne	.L1
	b	.L12
.L24:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	.LC1
	.word	.LC0
	.word	429496728
	.size	readU32FromChar, .-readU32FromChar
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
