	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convert_one_string_to_scalar
_convert_one_string_to_scalar:          ## @convert_one_string_to_scalar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_strlen
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movl	%r14d, %ecx
	subl	%r15d, %ecx
	incl	%ecx
	cvtsi2sd	%ecx, %xmm1
	cmpl	$12, %eax
	movl	$12, %ecx
	cmovll	%eax, %ecx
	leal	-1(%r15), %eax
	leal	1(%r14), %edx
	incl	%ecx
	xorpd	%xmm0, %xmm0
	movapd	%xmm1, %xmm2
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %esi
	incq	%rbx
	cmpl	%r14d, %esi
	movl	%esi, %edi
	cmovgl	%edx, %edi
	cmpl	%r15d, %esi
	cmovll	%eax, %edi
	subl	%r15d, %edi
	xorps	%xmm3, %xmm3
	cvtsi2sd	%edi, %xmm3
	divsd	%xmm2, %xmm3
	addsd	%xmm3, %xmm0
	mulsd	%xmm1, %xmm2
	decl	%ecx
	cmpl	$1, %ecx
	ja	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorpd	%xmm0, %xmm0
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_convert_one_string_to_scalar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_one_string_to_scalar
_convert_one_string_to_scalar:          ; @convert_one_string_to_scalar
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_strlen
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	sub	w8, w19, w20
	add	w8, w8, #1
	scvtf	d1, w8
	mov	w8, #12
	cmp	w0, #12
	csel	w10, w0, w8, lt
	sub	w8, w20, #1
	add	w9, w19, #1
	add	w10, w10, #1
	movi	d0, #0000000000000000
	fmov	d2, d1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x21], #1
	cmp	w11, w19
	csel	w12, w9, w11, gt
	cmp	w11, w20
	csel	w11, w8, w12, lt
	sub	w11, w11, w20
	scvtf	d3, w11
	fdiv	d3, d3, d2
	fadd	d0, d0, d3
	fmul	d2, d2, d1
	sub	w10, w10, #1
	cmp	w10, #1
	b.hi	LBB0_2
	b	LBB0_4
LBB0_3:
	movi	d0, #0000000000000000
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_convert_one_string_to_scalar
.subsections_via_symbols
