	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function matchlen
_matchlen:                              ## @matchlen
	.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
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.2:
	decq	%rcx
	decq	%rsi
	cmpq	%rsi, %rcx
	cmovbq	%rcx, %rsi
	incq	%rsi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rax,8), %rcx
	cmpq	(%rdx,%rax,8), %rcx
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	cmpq	%rax, %rsi
	jne	LBB0_3
## %bb.5:
	movq	%rsi, %rax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_matchlen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function matchlen
_matchlen:                              ; @matchlen
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	x0, #0
	cbz	x1, LBB0_6
; %bb.1:
	cbz	x3, LBB0_6
; %bb.2:
	mov	x0, #0
	sub	x9, x3, #1
	sub	x10, x1, #1
	cmp	x9, x10
	csel	x9, x9, x10, lo
	add	x9, x9, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x10, x0, #3
	ldr	x11, [x8, x10]
	ldr	x10, [x2, x10]
	cmp	x11, x10
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #1
	cmp	x9, x0
	b.ne	LBB0_3
; %bb.5:
	mov	x0, x9
LBB0_6:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_matchlen
.subsections_via_symbols
