	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ztest_pattern_match
_ztest_pattern_match:                   ## @ztest_pattern_match
	.cfi_startproc
## %bb.0:
	addq	%rdi, %rsi
	movl	$1, %eax
	cmpq	%rsi, %rdi
	jae	LBB0_13
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	8(%rdi), %rax
	cmpq	%rax, %rsi
	cmovaq	%rsi, %rax
	movq	%rdi, %r10
	notq	%r10
	addq	%rax, %r10
	cmpq	$24, %r10
	jae	LBB0_3
## %bb.2:
	xorl	%ecx, %ecx
	jmp	LBB0_11
LBB0_3:
	shrq	$3, %r10
	incq	%r10
	movq	%r10, %r8
	andq	$-4, %r8
	movq	%rdx, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	leaq	-4(%r8), %rax
	movq	%rax, %r9
	shrq	$2, %r9
	incq	%r9
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%r9, %rax
	andq	$-2, %rax
	pxor	%xmm1, %xmm1
	xorl	%ecx, %ecx
	pxor	%xmm2, %xmm2
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdi,%rcx,8), %xmm3
	movdqu	16(%rdi,%rcx,8), %xmm4
	movdqu	32(%rdi,%rcx,8), %xmm5
	movdqu	48(%rdi,%rcx,8), %xmm6
	movdqa	%xmm0, %xmm7
	psubq	%xmm3, %xmm7
	por	%xmm1, %xmm7
	movdqa	%xmm0, %xmm3
	psubq	%xmm4, %xmm3
	por	%xmm2, %xmm3
	movdqa	%xmm0, %xmm1
	psubq	%xmm5, %xmm1
	por	%xmm7, %xmm1
	movdqa	%xmm0, %xmm2
	psubq	%xmm6, %xmm2
	por	%xmm3, %xmm2
	addq	$8, %rcx
	addq	$-2, %rax
	jne	LBB0_6
## %bb.7:
	testb	$1, %r9b
	je	LBB0_9
LBB0_8:
	movdqu	(%rdi,%rcx,8), %xmm3
	movdqu	16(%rdi,%rcx,8), %xmm4
	movdqa	%xmm0, %xmm5
	psubq	%xmm3, %xmm5
	por	%xmm5, %xmm1
	psubq	%xmm4, %xmm0
	por	%xmm0, %xmm2
LBB0_9:
	por	%xmm2, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	por	%xmm1, %xmm0
	movq	%xmm0, %rcx
	cmpq	%r8, %r10
	je	LBB0_12
## %bb.10:
	leaq	(%rdi,%r8,8), %rdi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rax
	subq	(%rdi), %rax
	addq	$8, %rdi
	orq	%rax, %rcx
	cmpq	%rsi, %rdi
	jb	LBB0_11
LBB0_12:
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%al
	popq	%rbp
LBB0_13:
	retq
LBB0_4:
	pxor	%xmm1, %xmm1
	xorl	%ecx, %ecx
	pxor	%xmm2, %xmm2
	testb	$1, %r9b
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ztest_pattern_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ztest_pattern_match
_ztest_pattern_match:                   ; @ztest_pattern_match
	.cfi_startproc
; %bb.0:
	add	x8, x0, x1
	cmp	x0, x8
	b.hs	LBB0_3
; %bb.1:
	add	x9, x0, #8
	cmp	x8, x9
	csel	x9, x8, x9, hi
	mvn	x10, x0
	add	x9, x9, x10
	cmp	x9, #56
	b.hs	LBB0_4
; %bb.2:
	mov	x12, #0
	mov	x9, x0
	b	LBB0_7
LBB0_3:
	mov	w0, #1
	ret
LBB0_4:
	lsr	x9, x9, #3
	add	x10, x9, #1
	and	x11, x10, #0x3ffffffffffffff8
	add	x9, x0, x11, lsl #3
	dup.2d	v0, x2
	add	x12, x0, #32
	movi.2d	v1, #0000000000000000
	mov	x13, x11
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q5, q6, [x12, #-32]
	ldp	q7, q16, [x12], #64
	sub.2d	v5, v0, v5
	sub.2d	v6, v0, v6
	sub.2d	v7, v0, v7
	sub.2d	v16, v0, v16
	orr.16b	v1, v5, v1
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	orr.16b	v4, v16, v4
	subs	x13, x13, #8
	b.ne	LBB0_5
; %bb.6:
	orr.16b	v0, v2, v1
	orr.16b	v0, v3, v0
	orr.16b	v0, v4, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	x12, d0
	cmp	x10, x11
	b.eq	LBB0_8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #8
	sub	x10, x2, x10
	orr	x12, x10, x12
	cmp	x9, x8
	b.lo	LBB0_7
LBB0_8:
	cmp	x12, #0
	cset	w0, eq
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ztest_pattern_match
.subsections_via_symbols
