	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strchr                         ## -- Begin function strchr
	.p2align	4, 0x90
_strchr:                                ## @strchr
	.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), %cl
	testb	%cl, %cl
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%cl, %ecx
	cmpl	%esi, %ecx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	1(%rax), %ecx
	incq	%rax
	testb	%cl, %cl
	jne	LBB0_2
LBB0_4:
	xorl	%ecx, %ecx
	testl	%esi, %esi
	cmovneq	%rcx, %rax
LBB0_5:
	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	_strchr                         ; -- Begin function strchr
	.p2align	2
_strchr:                                ; @strchr
	.cfi_startproc
; %bb.0:
	ldrb	w8, [x0]
	cbz	w8, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w1, w8, sxtb
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [x0, #1]!
	cbnz	w8, LBB0_1
LBB0_3:
	cmp	w1, #0
	csel	x0, x0, xzr, eq
LBB0_4:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
