	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xo_buf_find_last_number
_xo_buf_find_last_number:               ## @xo_buf_find_last_number
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	movslq	%esi, %rax
	leaq	(%rax,%r14), %rbx
	decq	%rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, %rbx
	jb	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movsbl	(%rbx), %edi
	callq	_isdigit
	decq	%rbx
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	incq	%rbx
	movl	$1, %r12d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movsbl	(%rbx), %eax
	addl	$-48, %eax
	imull	%r12d, %eax
	addl	%eax, %r15d
	addl	%r12d, %r12d
	leal	(%r12,%r12,4), %r12d
	decq	%rbx
	cmpq	%r14, %rbx
	jae	LBB0_5
	jmp	LBB0_7
LBB0_2:
	xorl	%r15d, %r15d
LBB0_7:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_xo_buf_find_last_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xo_buf_find_last_number
_xo_buf_find_last_number:               ; @xo_buf_find_last_number
	.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
	ldr	x20, [x0]
	add	x8, x20, w1, sxtw
	sub	x21, x8, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x21, x20
	b.lo	LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrsb	w0, [x21], #-1
	bl	_isdigit
	cbz	x0, LBB0_1
; %bb.3:
	mov	w19, #0
	add	x21, x21, #1
	mov	w22, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x21]
	bl	_isdigit
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w8, [x21], #-1
	sub	w8, w8, #48
	madd	w19, w8, w22, w19
	add	w8, w22, w22, lsl #2
	lsl	w22, w8, #1
	cmp	x21, x20
	b.hs	LBB0_4
	b	LBB0_7
LBB0_6:
	mov	w19, #0
LBB0_7:
	mov	x0, x19
	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	_xo_buf_find_last_number
.subsections_via_symbols
