	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Q_strrchr                      ## -- Begin function Q_strrchr
	.p2align	4, 0x90
_Q_strrchr:                             ## @Q_strrchr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movb	(%rdi), %dl
	testb	%dl, %dl
	je	LBB0_1
## %bb.2:
	movsbl	%sil, %edi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%dl, %edx
	cmpl	%edx, %edi
	cmoveq	%rax, %rcx
	movzbl	1(%rax), %edx
	incq	%rax
	testb	%dl, %dl
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%ecx, %ecx
LBB0_4:
	testb	%sil, %sil
	cmovneq	%rcx, %rax
	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	_Q_strrchr                      ; -- Begin function Q_strrchr
	.p2align	2
_Q_strrchr:                             ; @Q_strrchr
	.cfi_startproc
; %bb.0:
	ldrb	w10, [x0]
	cbz	w10, LBB0_3
; %bb.1:
	mov	x8, #0
	sxtb	w9, w1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, w10, sxtb
	csel	x8, x0, x8, eq
	ldrb	w10, [x0, #1]!
	cbnz	w10, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x8, #0
LBB0_4:
	tst	w1, #0xff
	csel	x0, x0, x8, eq
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
