	.file	"extr_largeNbDicts.c_readU32FromChar.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	readU32FromChar, @function
readU32FromChar:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r12d, r12d
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR [rdi]
	movzx	eax, BYTE PTR [rax]
	lea	edx, -48[rax]
	cmp	dl, 9
	ja	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	xor	edi, edi
	cmp	r12d, 429496728
	setbe	dil
	call	assert@PLT
	mov	rax, QWORD PTR [rbx]
	lea	ecx, [r12+r12*4]
	movsx	edx, BYTE PTR [rax]
	lea	r12d, -48[rdx+rcx*2]
	lea	rdx, 1[rax]
	mov	QWORD PTR [rbx], rdx
	movzx	eax, BYTE PTR 1[rax]
	lea	edx, -48[rax]
	cmp	dl, 9
	jbe	.L3
.L2:
	sub	eax, 75
	test	al, -3
	je	.L12
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	xor	edi, edi
	cmp	r12d, 4194303
	setbe	dil
	call	assert@PLT
	mov	rax, QWORD PTR [rbx]
	mov	edx, r12d
	sal	edx, 10
	cmp	BYTE PTR [rax], 77
	je	.L13
	mov	r12d, edx
.L5:
	lea	rdx, 1[rax]
	mov	QWORD PTR [rbx], rdx
	movzx	ecx, BYTE PTR 1[rax]
	cmp	cl, 105
	jne	.L6
	lea	rdx, 2[rax]
	mov	QWORD PTR [rbx], rdx
	movzx	ecx, BYTE PTR 2[rax]
.L6:
	cmp	cl, 66
	jne	.L1
	add	rdx, 1
	mov	eax, r12d
	mov	QWORD PTR [rbx], rdx
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	xor	edi, edi
	cmp	edx, 4194303
	setbe	dil
	sal	r12d, 20
	call	assert@PLT
	mov	rax, QWORD PTR [rbx]
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	readU32FromChar, .-readU32FromChar
	.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_largeNbDicts.c_readU32FromChar.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	readU32FromChar, %function
readU32FromChar:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, [r0]
	mov	r6, r0
	ldrb	r2, [r3]	@ zero_extendqisi2
	mov	r4, #0
	sub	r3, r2, #48
	cmp	r3, #9
	bhi	.L2
	ldr	r5, .L14
.L3:
	cmp	r4, r5
	movhi	r0, #0
	movls	r0, #1
	bl	assert
	ldr	r1, [r6]
	add	r4, r4, r4, lsl #2
	mov	r2, r1
	ldrb	r3, [r2], #1	@ zero_extendqisi2
	str	r2, [r6]
	ldrb	r2, [r1, #1]	@ zero_extendqisi2
	sub	r3, r3, #48
	sub	r1, r2, #48
	cmp	r1, #9
	add	r4, r3, r4, lsl #1
	bls	.L3
.L2:
	sub	r2, r2, #75
	tst	r2, #253
	beq	.L12
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L12:
	cmp	r4, #4194304
	movcs	r0, #0
	movcc	r0, #1
	bl	assert
	ldr	r3, [r6]
	lsl	r0, r4, #10
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #77
	movne	r4, r0
	beq	.L13
.L5:
	add	r2, r3, #1
	str	r2, [r6]
	ldrb	r1, [r3, #1]	@ zero_extendqisi2
	mov	r0, r4
	cmp	r1, #105
	addeq	r2, r3, #2
	streq	r2, [r6]
	ldrbeq	r1, [r3, #2]	@ zero_extendqisi2
	cmp	r1, #66
	addeq	r2, r2, #1
	streq	r2, [r6]
	pop	{r4, r5, r6, pc}
.L13:
	cmp	r0, #4194304
	movcs	r0, #0
	movcc	r0, #1
	bl	assert
	lsl	r4, r4, #20
	ldr	r3, [r6]
	b	.L5
.L15:
	.align	2
.L14:
	.word	429496728
	.size	readU32FromChar, .-readU32FromChar
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
