	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getinx
_getinx:                                ## @getinx
	.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
	movq	%rdi, %r14
	movl	$0, (%rsi)
	movq	$0, (%rdi)
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rsi, %r15
	leaq	8(%r14), %rbx
	callq	_Isdigit
	testq	%rax, %rax
	je	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %eax
	leal	(%rax,%rax,4), %eax
	movl	(%rbx), %ecx
	leal	(%rcx,%rax,2), %eax
	addl	$-48, %eax
	movl	%eax, (%r15)
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %rbx
	callq	_Isdigit
	testq	%rax, %rax
	jne	LBB0_3
## %bb.5:
	leaq	-8(%rbx), %r14
LBB0_6:
	cmpq	$93, (%rbx)
	jne	LBB0_7
	jmp	LBB0_8
LBB0_4:
	movq	%rbx, %r14
LBB0_7:
	movq	_ERR_NAME@GOTPCREL(%rip), %rax
	movq	_ERR_SUBSCRIPT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_stderror
LBB0_8:
	addq	$16, %r14
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_NAME,4,2                   ## @ERR_NAME
	.comm	_ERR_SUBSCRIPT,4,2              ## @ERR_SUBSCRIPT
	.no_dead_strip	_getinx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getinx
_getinx:                                ; @getinx
	.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, x0
	str	wzr, [x1]
	str	xzr, [x0]
	mov	x21, x0
	ldr	x0, [x21, #8]!
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x1
	bl	_Isdigit
	cbz	x0, LBB0_6
; %bb.2:
	mov	w22, #10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x19, x21
	ldr	w8, [x20]
	ldr	w9, [x21]
	madd	w8, w8, w22, w9
	sub	w8, w8, #48
	str	w8, [x20]
	ldr	x0, [x21, #8]!
	cbz	x0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_Isdigit
	cbnz	x0, LBB0_3
; %bb.5:
	sub	x19, x21, #8
LBB0_6:
	ldr	x8, [x21]
	cmp	x8, #93
	b.eq	LBB0_8
LBB0_7:
Lloh0:
	adrp	x8, _ERR_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ERR_SUBSCRIPT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ERR_SUBSCRIPT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_stderror
LBB0_8:
	add	x0, x19, #16
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_NAME,4,2                   ; @ERR_NAME
	.comm	_ERR_SUBSCRIPT,4,2              ; @ERR_SUBSCRIPT
	.no_dead_strip	_getinx
.subsections_via_symbols
