	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RichString_findChar            ## -- Begin function RichString_findChar
	.p2align	4, 0x90
_RichString_findChar:                   ## @RichString_findChar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	8(%rdi), %r8d
	movl	$-1, %eax
	cmpl	%edx, %r8d
	jle	LBB0_5
## %bb.1:
	movslq	%edx, %rcx
	shlq	$2, %rcx
	addq	(%rdi), %rcx
	movsbl	%sil, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx), %edi
	cmpl	%esi, %edi
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rcx
	incl	%edx
	cmpl	%edx, %r8d
	jne	LBB0_2
LBB0_5:
	popq	%rbp
	retq
LBB0_3:
	movl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RichString_findChar            ; -- Begin function RichString_findChar
	.p2align	2
_RichString_findChar:                   ; @RichString_findChar
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #8]
	cmp	w8, w2
	b.le	LBB0_4
; %bb.1:
	ldr	x9, [x0]
	add	x9, x9, w2, sxtw #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x9]
	cmp	w10, w1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #4
	add	w2, w2, #1
	cmp	w8, w2
	b.ne	LBB0_2
LBB0_4:
	mov	w2, #-1
LBB0_5:
	mov	x0, x2
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
