	.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
	movsbl	%sil, %ecx
	movsbl	(%rdi), %edx
	cmpl	%edx, %ecx
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testb	%dl, %dl
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbl	1(%rax), %edx
	incq	%rax
	cmpl	%edx, %ecx
	jne	LBB0_2
LBB0_4:
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %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	_strchr                         ; -- Begin function strchr
	.p2align	2
_strchr:                                ; @strchr
	.cfi_startproc
; %bb.0:
	sxtb	w8, w1
	ldrsb	w9, [x0]
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.1:
	and	w9, w9, #0xff
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	tst	w9, #0xff
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrsb	w10, [x0, #1]!
	and	w9, w10, #0xff
	cmp	w8, w10
	b.ne	LBB0_2
LBB0_4:
	ret
LBB0_5:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
