	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lmemfind
_lmemfind:                              ## @lmemfind
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.1:
	movq	%rcx, %r14
	movq	%rsi, %rbx
	cmpq	%rsi, %rcx
	ja	LBB0_2
## %bb.3:
	decq	%r14
	subq	%r14, %rbx
	je	LBB0_2
## %bb.4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movsbl	(%rax), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r12
	leaq	1(%rax), %r13
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	%r15, %rbx
	movq	%r13, %r15
	subq	%r13, %rbx
	jne	LBB0_5
LBB0_2:
	xorl	%r15d, %r15d
LBB0_12:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r12, %r15
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lmemfind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lmemfind
_lmemfind:                              ; @lmemfind
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	cbz	x3, LBB0_8
; %bb.1:
	cmp	x3, x1
	b.hi	LBB0_7
; %bb.2:
	sub	x21, x3, #1
	subs	x22, x1, x21
	b.eq	LBB0_7
; %bb.3:
	mov	x20, x2
	add	x23, x2, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w1, [x20]
	mov	x0, x19
	mov	x2, x22
	bl	_memchr
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	add	x24, x0, #1
	mov	x0, x24
	mov	x1, x23
	mov	x2, x21
	bl	_memcmp
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x22, x19
	subs	x22, x8, x24
	mov	x19, x24
	b.ne	LBB0_4
LBB0_7:
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x19, x25
	b	LBB0_8
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lmemfind
.subsections_via_symbols
