	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strrchr                        ## -- Begin function strrchr
	.p2align	4, 0x90
_strrchr:                               ## @strrchr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rdi), %ecx
	cmpl	%esi, %ecx
	cmoveq	%rdi, %rax
	incq	%rdi
	testl	%ecx, %ecx
	jne	LBB0_1
## %bb.2:
	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	_strrchr                        ; -- Begin function strrchr
	.p2align	2
_strrchr:                               ; @strrchr
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	x0, #0
	mov	x9, x8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w10, [x9], #1
	cmp	w10, w1
	csel	x0, x8, x0, eq
	mov	x8, x9
	cbnz	w10, LBB0_1
; %bb.2:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
