	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ascii2index
_ascii2index:                           ## @ascii2index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movq	_MIN_ELEMENT@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	movq	_MAX_ELEMENT@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_NB_ELEMENTS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%esi, %r10d
	xorl	%edx, %edx
	movl	$1, %esi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rdx,8), %rcx
	cmpq	%r11, %rcx
	jl	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r8, %rcx
	jg	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	subl	%r11d, %ecx
	imull	%esi, %ecx
	addl	%ecx, %eax
	imull	%r9d, %esi
	incq	%rdx
	cmpl	%edx, %r10d
	jne	LBB0_3
## %bb.7:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIN_ELEMENT,8,3                ## @MIN_ELEMENT
	.comm	_MAX_ELEMENT,8,3                ## @MAX_ELEMENT
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_NB_ELEMENTS,4,2                ## @NB_ELEMENTS
	.no_dead_strip	_ascii2index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ascii2index
_ascii2index:                           ; @ascii2index
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x8, x0
	mov	w0, #0
Lloh0:
	adrp	x9, _MIN_ELEMENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MIN_ELEMENT@GOTPAGEOFF]
Lloh2:
	adrp	x10, _MAX_ELEMENT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _MAX_ELEMENT@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _NB_ELEMENTS@GOTPAGE
Lloh7:
	ldr	x11, [x11, _NB_ELEMENTS@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	mov	w12, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x8]
	cmp	x13, x9
	ccmp	x13, x10, #0, ge
	b.gt	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #8
	sub	w13, w13, w9
	madd	w0, w12, w13, w0
	mul	w12, w11, w12
	subs	w1, w1, #1
	b.ne	LBB0_2
; %bb.4:
	ret
LBB0_5:
	mov	w0, #0
	ret
LBB0_6:
Lloh9:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MIN_ELEMENT,8,3                ; @MIN_ELEMENT
	.comm	_MAX_ELEMENT,8,3                ; @MAX_ELEMENT
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_NB_ELEMENTS,4,2                ; @NB_ELEMENTS
	.no_dead_strip	_ascii2index
.subsections_via_symbols
