	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_rename_score             ## -- Begin function parse_rename_score
	.p2align	4, 0x90
_parse_rename_score:                    ## @parse_rename_score
	.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), %rax
	xorl	%r8d, %r8d
	movl	$1, %r9d
	xorl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r9d
	movl	$1, %esi
	incq	%rax
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %edx
	testl	%esi, %esi
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$46, %dl
	je	LBB0_1
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$37, %dl
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	-48(%rdx), %ecx
	cmpb	$9, %cl
	ja	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$99999, %r9                     ## imm = 0x1869F
	ja	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbq	%dl, %rcx
	addq	%r9, %r9
	leaq	(%r9,%r9,4), %r9
	leaq	(%r8,%r8,4), %rdx
	addl	$-48, %ecx
	leaq	(%rcx,%rdx,2), %r8
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	jmp	LBB0_2
LBB0_9:
	imulq	$100, %r9, %rdx
	testl	%esi, %esi
	movl	$100, %r9d
	cmovneq	%rdx, %r9
	incq	%rax
LBB0_10:
	movq	%rax, (%rdi)
	movq	_MAX_SCORE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%r9, %r8
	jae	LBB0_13
## %bb.11:
	imulq	%r8, %rax
	movq	%rax, %rcx
	orq	%r9, %rcx
	shrq	$32, %rcx
	je	LBB0_14
## %bb.12:
	xorl	%edx, %edx
	divq	%r9
LBB0_13:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_14:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r9d
                                        ## kill: def $eax killed $eax def $rax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SCORE,8,3                  ## @MAX_SCORE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_rename_score             ; -- Begin function parse_rename_score
	.p2align	2
_parse_rename_score:                    ; @parse_rename_score
	.cfi_startproc
; %bb.0:
	mov	x8, #0
	mov	w11, #0
	ldr	x10, [x0]
	mov	w9, #1
	mov	w12, #10
	ldrb	w13, [x10]
	cbnz	w11, LBB0_3
LBB0_1:
	cmp	w13, #46
	b.ne	LBB0_3
; %bb.2:
	mov	w9, #1
	mov	w11, #1
	b	LBB0_7
LBB0_3:
	sxtb	x13, w13
	cmp	w13, #37
	b.eq	LBB0_8
; %bb.4:
	sub	w14, w13, #48
	and	w14, w14, #0xff
	cmp	w14, #9
	b.hi	LBB0_9
; %bb.5:
	lsr	x14, x9, #5
	cmp	x14, #3124
	b.hi	LBB0_7
; %bb.6:
	add	x9, x9, x9, lsl #2
	lsl	x9, x9, #1
	sub	w13, w13, #48
	madd	x8, x8, x12, x13
LBB0_7:
	add	x10, x10, #1
	ldrb	w13, [x10]
	cbz	w11, LBB0_1
	b	LBB0_3
LBB0_8:
	mov	w12, #100
	mul	x9, x9, x12
	cmp	w11, #0
	csel	x9, x12, x9, eq
	add	x10, x10, #1
LBB0_9:
	str	x10, [x0]
Lloh0:
	adrp	x10, _MAX_SCORE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MAX_SCORE@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x10]
	cmp	x8, x9
	b.hs	LBB0_11
; %bb.10:
	mul	x8, x0, x8
	udiv	x0, x8, x9
LBB0_11:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SCORE,8,3                  ; @MAX_SCORE
.subsections_via_symbols
