	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function readU32FromChar
_readU32FromChar:                       ## @readU32FromChar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdx
	movb	(%rdx), %cl
	leal	-48(%rcx), %esi
	xorl	%eax, %eax
	cmpb	$9, %sil
	ja	LBB0_4
## %bb.1:
	incq	%rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%cl, %ecx
	leal	(%rax,%rax,4), %eax
	leal	(%rcx,%rax,2), %eax
	addl	$-48, %eax
	movq	%rdx, (%rdi)
	movzbl	(%rdx), %ecx
	leal	-48(%rcx), %esi
	incq	%rdx
	cmpb	$10, %sil
	jb	LBB0_2
## %bb.3:
	decq	%rdx
LBB0_4:
	cmpb	$77, %cl
	je	LBB0_6
## %bb.5:
	cmpb	$75, %cl
	jne	LBB0_10
LBB0_6:
	cmpb	$77, %cl
	movl	$20, %esi
	movl	$10, %ecx
	cmovel	%esi, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	leaq	1(%rdx), %rcx
	movq	%rcx, (%rdi)
	movb	1(%rdx), %cl
	movl	$1, %esi
	cmpb	$105, %cl
	jne	LBB0_8
## %bb.7:
	leaq	2(%rdx), %rcx
	movq	%rcx, (%rdi)
	movb	2(%rdx), %cl
	movl	$2, %esi
LBB0_8:
	cmpb	$66, %cl
	jne	LBB0_10
## %bb.9:
	leaq	(%rdx,%rsi), %rcx
	incq	%rcx
	movq	%rcx, (%rdi)
LBB0_10:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_readU32FromChar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function readU32FromChar
_readU32FromChar:                       ; @readU32FromChar
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	ldrb	w10, [x9]
	sub	w8, w10, #48
	cmp	w8, #9
	b.hi	LBB0_4
; %bb.1:
	mov	w8, #0
	add	x9, x9, #1
	mov	w11, #10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	madd	w8, w8, w11, w10
	sub	w8, w8, #48
	str	x9, [x0]
	ldrb	w10, [x9], #1
	sub	w12, w10, #48
	cmp	w12, #10
	b.lo	LBB0_2
; %bb.3:
	sub	x9, x9, #1
	cmp	w10, #77
	b.ne	LBB0_5
	b	LBB0_6
LBB0_4:
	mov	w8, #0
	cmp	w10, #77
	b.eq	LBB0_6
LBB0_5:
	cmp	w10, #75
	b.ne	LBB0_10
LBB0_6:
	mov	w11, #10
	mov	w12, #20
	cmp	w10, #77
	csel	w10, w12, w11, eq
	lsl	w8, w8, w10
	add	x10, x9, #1
	str	x10, [x0]
	ldrb	w10, [x9, #1]
	cmp	w10, #105
	b.ne	LBB0_8
; %bb.7:
	add	x10, x9, #2
	str	x10, [x0]
	ldrb	w10, [x9, #2]
	mov	w11, #2
	cmp	w10, #66
	b.eq	LBB0_9
	b	LBB0_10
LBB0_8:
	mov	w11, #1
	cmp	w10, #66
	b.ne	LBB0_10
LBB0_9:
	add	x9, x9, x11
	add	x9, x9, #1
	str	x9, [x0]
LBB0_10:
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_readU32FromChar
.subsections_via_symbols
