	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function toeplitz_hash
LCPI0_0:
	.long	128                             ## 0x80
	.long	64                              ## 0x40
	.long	32                              ## 0x20
	.long	16                              ## 0x10
LCPI0_1:
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	8                               ## 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_toeplitz_hash
	.p2align	4, 0x90
_toeplitz_hash:                         ## @toeplitz_hash
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movl	(%rsi), %eax
	movl	4(%rsi), %edi
	shll	$16, %edi
	shll	$24, %eax
	addl	%edi, %eax
	movl	8(%rsi), %r10d
	shll	$8, %r10d
	addl	%eax, %r10d
	addl	12(%rsi), %r10d
	movq	_RSS_KEYSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%edx, %r9d
	negq	%r9
	xorl	%edi, %edi
	movl	$4, %r11d
	movdqa	LCPI0_1(%rip), %xmm0            ## xmm0 = [1,2,4,8]
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [128,64,32,16]
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rsi,%r11,4), %r10d
	movl	%r10d, %edx
	shrl	$7, %edx
	andl	$1, %edx
	orl	%r14d, %edx
	movl	%ebx, %r14d
	shll	$25, %r14d
	sarl	$31, %r14d
	andl	%edx, %r14d
	movl	%r10d, %edi
	shrl	$6, %edi
	andl	$1, %edi
	leal	(%rdi,%rdx,2), %r15d
	movl	%ebx, %edi
	shll	$26, %edi
	sarl	$31, %edi
	andl	%r15d, %edi
	movl	%r10d, %edx
	shrl	$5, %edx
	andl	$1, %edx
	leal	(%rdx,%r15,2), %r15d
	movd	%ebx, %xmm2
	shll	$27, %ebx
	sarl	$31, %ebx
	andl	%r15d, %ebx
	xorl	%edi, %ebx
	xorl	%r14d, %ebx
	movl	%r10d, %r14d
	shrl	$4, %r14d
	andl	$1, %r14d
	pshufd	$0, %xmm2, %xmm2                ## xmm2 = xmm2[0,0,0,0]
	pand	%xmm0, %xmm2
	movl	%r10d, %r12d
	shrl	$3, %r12d
	andl	$1, %r12d
	movl	%r10d, %edi
	shrl	$2, %edi
	andl	$1, %edi
	movl	%r10d, %edx
	shrl	%edx
	andl	$1, %edx
	leal	(%r14,%r15,2), %r14d
	leal	(%r12,%r14,2), %r15d
	leal	(%rdi,%r15,2), %edi
	leal	(%rdx,%rdi,2), %edx
	movd	%edx, %xmm3
	pinsrd	$1, %edi, %xmm3
	pinsrd	$2, %r15d, %xmm3
	pinsrd	$3, %r14d, %xmm3
	pcmpeqd	%xmm0, %xmm2
	pand	%xmm3, %xmm2
	pshufd	$238, %xmm2, %xmm3              ## xmm3 = xmm2[2,3,2,3]
	pxor	%xmm2, %xmm3
	pshufd	$85, %xmm3, %xmm2               ## xmm2 = xmm3[1,1,1,1]
	pxor	%xmm3, %xmm2
	movd	%xmm2, %edi
	xorl	%ebx, %edi
	andl	$1, %r10d
	leal	(%r10,%rdx,2), %r10d
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %eax
	leaq	(%r9,%r11), %rdx
	incq	%rdx
	incq	%r11
	movl	%eax, %edi
	cmpq	$4, %rdx
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	-16(%rcx,%r11,4), %ebx
	movsbl	%bl, %eax
	sarl	$7, %eax
	andl	%r10d, %eax
	xorl	%edi, %eax
	leal	(%r10,%r10), %r14d
	cmpl	%r11d, %r8d
	jg	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	shll	$25, %edi
	sarl	$31, %edi
	andl	%r14d, %edi
	leal	(,%r10,4), %r14d
	movl	%ebx, %edx
	shll	$26, %edx
	sarl	$31, %edx
	andl	%r14d, %edx
	leal	(,%r10,8), %r14d
	movd	%ebx, %xmm2
	shll	$27, %ebx
	sarl	$31, %ebx
	andl	%r14d, %ebx
	xorl	%edx, %ebx
	xorl	%edi, %ebx
	movd	%r10d, %xmm3
	pshufd	$0, %xmm3, %xmm3                ## xmm3 = xmm3[0,0,0,0]
	pmulld	%xmm1, %xmm3
	pshufd	$0, %xmm2, %xmm2                ## xmm2 = xmm2[0,0,0,0]
	pand	%xmm0, %xmm2
	pcmpeqd	%xmm0, %xmm2
	pand	%xmm3, %xmm2
	pshufd	$238, %xmm2, %xmm3              ## xmm3 = xmm2[2,3,2,3]
	pxor	%xmm2, %xmm3
	pshufd	$85, %xmm3, %xmm2               ## xmm2 = xmm3[1,1,1,1]
	pxor	%xmm3, %xmm2
	movd	%xmm2, %edi
	xorl	%ebx, %edi
	shll	$8, %r10d
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RSS_KEYSIZE,4,2                ## @RSS_KEYSIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function toeplitz_hash
lCPI0_0:
	.long	7                               ; 0x7
	.long	6                               ; 0x6
	.long	5                               ; 0x5
	.long	4                               ; 0x4
lCPI0_1:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	4                               ; 0x4
	.long	8                               ; 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_toeplitz_hash
	.p2align	2
_toeplitz_hash:                         ; @toeplitz_hash
	.cfi_startproc
; %bb.0:
	cmp	w2, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x8, #0
	mov	w0, #0
	ldp	w10, w9, [x1]
	lsl	w9, w9, #16
	add	w9, w9, w10, lsl #24
	ldp	w10, w11, [x1, #8]
	add	w9, w9, w10, lsl #8
	add	w9, w9, w11
Lloh0:
	adrp	x10, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x10, lCPI0_0@PAGEOFF]
Lloh2:
	adrp	x10, lCPI0_1@PAGE
Lloh3:
	ldr	q1, [x10, lCPI0_1@PAGEOFF]
Lloh4:
	adrp	x10, _RSS_KEYSIZE@GOTPAGE
Lloh5:
	ldr	x10, [x10, _RSS_KEYSIZE@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x10]
	mov	w11, w2
	add	x12, x1, #16
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x12, x8, lsl #2]
	ubfx	w16, w9, #7, #1
	orr	w15, w16, w15
	lsl	w16, w13, #25
	and	w16, w15, w16, asr #31
	eor	w14, w16, w14
	lsl	w15, w15, #1
	bfxil	w15, w9, #6, #1
	lsl	w16, w13, #26
	and	w16, w15, w16, asr #31
	eor	w14, w16, w14
	lsl	w15, w15, #1
	bfxil	w15, w9, #5, #1
	lsl	w16, w13, #27
	and	w16, w15, w16, asr #31
	eor	w14, w16, w14
	lsl	w15, w15, #1
	bfxil	w15, w9, #4, #1
	lsl	w16, w13, #28
	and	w16, w15, w16, asr #31
	eor	w14, w16, w14
	lsl	w15, w15, #1
	bfxil	w15, w9, #3, #1
	lsl	w16, w13, #29
	and	w16, w15, w16, asr #31
	eor	w14, w16, w14
	lsl	w15, w15, #1
	bfxil	w15, w9, #2, #1
	lsl	w16, w13, #30
	and	w16, w15, w16, asr #31
	eor	w14, w16, w14
	lsl	w15, w15, #1
	bfxil	w15, w9, #1, #1
	sbfx	w13, w13, #0, #1
	and	w13, w13, w15
	eor	w0, w13, w14
	bfi	w9, w15, #1, #31
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
	cmp	x11, x8
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x3, x8, lsl #2]
	add	w16, w8, #4
	lsl	w14, w13, #24
	and	w14, w9, w14, asr #31
	eor	w14, w14, w0
	lsl	w15, w9, #1
	cmp	w10, w16
	b.gt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	w16, w13, #25
	and	w15, w15, w16, asr #31
	sbfx	w16, w13, #5, #1
	and	w16, w16, w9, lsl #2
	sbfx	w17, w13, #4, #1
	dup.4s	v2, w9
	and	w17, w17, w9, lsl #3
	ushl.4s	v2, v2, v0
	dup.4s	v3, w13
	and.16b	v3, v3, v1
	cmeq.4s	v3, v3, #0
	bic.16b	v2, v2, v3
	ext.16b	v3, v2, v2, #8
	eor.8b	v2, v2, v3
	mov.s	w13, v2[1]
	fmov	w0, s2
	eor	w13, w0, w13
	eor	w13, w13, w17
	eor	w13, w13, w16
	eor	w13, w13, w15
	eor	w0, w13, w14
	lsl	w9, w9, #8
	b	LBB0_3
LBB0_6:
	ret
LBB0_7:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RSS_KEYSIZE,4,2                ; @RSS_KEYSIZE
.subsections_via_symbols
