	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function NetbufferChecksum
LCPI0_0:
	.long	19088743                        ## 0x1234567
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_1:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_2:
	.quad	2                               ## 0x2
	.quad	3                               ## 0x3
LCPI0_3:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_4:
	.long	5                               ## 0x5
	.long	5                               ## 0x5
	.long	5                               ## 0x5
	.long	5                               ## 0x5
LCPI0_5:
	.long	9                               ## 0x9
	.long	9                               ## 0x9
	.long	9                               ## 0x9
	.long	9                               ## 0x9
LCPI0_6:
	.long	13                              ## 0xd
	.long	13                              ## 0xd
	.long	13                              ## 0xd
	.long	13                              ## 0xd
LCPI0_7:
	.quad	16                              ## 0x10
	.quad	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_NetbufferChecksum
	.p2align	4, 0x90
_NetbufferChecksum:                     ## @NetbufferChecksum
	.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
	callq	_NetbufferSize
	movl	%eax, %ecx
	movl	$19088743, %eax                 ## imm = 0x1234567
	cmpl	$4, %ecx
	jl	LBB0_12
## %bb.1:
	movl	%ecx, %r9d
	shrl	$2, %r9d
	movq	_netbuffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	cmpl	$32, %ecx
	jae	LBB0_3
## %bb.2:
	movl	$19088743, %eax                 ## imm = 0x1234567
	xorl	%edx, %edx
	jmp	LBB0_11
LBB0_3:
	movl	%r9d, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rax
	movq	%rax, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%r8, %rax
	andq	$-2, %rax
	movaps	LCPI0_2(%rip), %xmm3            ## xmm3 = [2,3]
	movaps	LCPI0_3(%rip), %xmm5            ## xmm5 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	pxor	%xmm2, %xmm2
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [19088743,0,0,0]
	xorl	%edi, %edi
	pcmpeqd	%xmm8, %xmm8
	movdqa	LCPI0_4(%rip), %xmm9            ## xmm9 = [5,5,5,5]
	movdqa	LCPI0_5(%rip), %xmm10           ## xmm10 = [9,9,9,9]
	movdqa	LCPI0_6(%rip), %xmm11           ## xmm11 = [13,13,13,13]
	movdqa	LCPI0_7(%rip), %xmm12           ## xmm12 = [16,16]
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movaps	%xmm5, %xmm1
	shufps	$136, %xmm3, %xmm1              ## xmm1 = xmm1[0,2],xmm3[0,2]
	movaps	%xmm1, %xmm6
	psubd	%xmm8, %xmm6
	movaps	%xmm1, %xmm7
	paddd	%xmm9, %xmm7
	movdqu	(%rsi,%rdi,4), %xmm4
	pmulld	%xmm6, %xmm4
	paddd	%xmm0, %xmm4
	movdqu	16(%rsi,%rdi,4), %xmm6
	pmulld	%xmm7, %xmm6
	paddd	%xmm2, %xmm6
	movdqu	32(%rsi,%rdi,4), %xmm2
	movdqu	48(%rsi,%rdi,4), %xmm7
	movaps	%xmm1, %xmm0
	paddd	%xmm10, %xmm0
	pmulld	%xmm2, %xmm0
	paddd	%xmm4, %xmm0
	paddd	%xmm11, %xmm1
	pmulld	%xmm7, %xmm1
	movdqa	%xmm1, %xmm2
	paddd	%xmm6, %xmm2
	addq	$16, %rdi
	paddq	%xmm12, %xmm5
	paddq	%xmm12, %xmm3
	addq	$-2, %rax
	jne	LBB0_6
## %bb.7:
	shufps	$136, %xmm3, %xmm5              ## xmm5 = xmm5[0,2],xmm3[0,2]
	testb	$1, %r8b
	je	LBB0_10
LBB0_9:
	movdqu	(%rsi,%rdi,4), %xmm1
	movdqu	16(%rsi,%rdi,4), %xmm3
	pcmpeqd	%xmm4, %xmm4
	movaps	%xmm5, %xmm6
	psubd	%xmm4, %xmm6
	pmulld	%xmm1, %xmm6
	paddd	%xmm6, %xmm0
	paddd	LCPI0_4(%rip), %xmm5
	pmulld	%xmm3, %xmm5
	paddd	%xmm5, %xmm2
LBB0_10:
	paddd	%xmm2, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpq	%r9, %rdx
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rdx,4), %edi
	leaq	1(%rdx), %rcx
	imull	%ecx, %edi
	addl	%edi, %eax
	movq	%rcx, %rdx
	cmpq	%rcx, %r9
	jne	LBB0_11
LBB0_12:
	movq	_NCMD_CHECKSUM@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_4:
	pxor	%xmm2, %xmm2
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [19088743,0,0,0]
	movaps	LCPI0_1(%rip), %xmm5            ## xmm5 = [0,1,2,3]
	xorl	%edi, %edi
	testb	$1, %r8b
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_netbuffer,8,3                  ## @netbuffer
	.comm	_NCMD_CHECKSUM,4,2              ## @NCMD_CHECKSUM
.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 NetbufferChecksum
lCPI0_0:
	.quad	2                               ; 0x2
	.quad	3                               ; 0x3
lCPI0_1:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
lCPI0_2:
	.long	19088743                        ; 0x1234567
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_NetbufferChecksum
	.p2align	2
_NetbufferChecksum:                     ; @NetbufferChecksum
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	w19, #17767
	movk	w19, #291, lsl #16
	bl	_NetbufferSize
	cmp	w0, #4
	b.lt	LBB0_7
; %bb.1:
	lsr	w8, w0, #2
Lloh0:
	adrp	x9, _netbuffer@GOTPAGE
Lloh1:
	ldr	x9, [x9, _netbuffer@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	w0, #64
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	b	LBB0_6
LBB0_3:
	and	x10, x8, #0x3ffffff0
Lloh3:
	adrp	x11, lCPI0_0@PAGE
Lloh4:
	ldr	q0, [x11, lCPI0_0@PAGEOFF]
Lloh5:
	adrp	x11, lCPI0_1@PAGE
Lloh6:
	ldr	q1, [x11, lCPI0_1@PAGEOFF]
	add	x11, x9, #32
Lloh7:
	adrp	x12, lCPI0_2@PAGE
Lloh8:
	ldr	q2, [x12, lCPI0_2@PAGEOFF]
	movi.2d	v3, #0000000000000000
	movi.4s	v4, #1
	movi.4s	v5, #5
	movi.4s	v6, #9
	movi.4s	v7, #13
	mov	w12, #16
	dup.2d	v16, x12
	mov	x12, x10
	movi.2d	v17, #0000000000000000
	movi.2d	v18, #0000000000000000
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q19, q20, [x11, #-32]
	ldp	q21, q22, [x11], #64
	uzp1.4s	v23, v1, v0
	add.4s	v24, v23, v4
	add.4s	v25, v23, v5
	add.4s	v26, v23, v6
	add.4s	v23, v23, v7
	mla.4s	v2, v19, v24
	mla.4s	v3, v20, v25
	mla.4s	v17, v21, v26
	mla.4s	v18, v22, v23
	add.2d	v0, v0, v16
	add.2d	v1, v1, v16
	subs	x12, x12, #16
	b.ne	LBB0_4
; %bb.5:
	add.4s	v0, v3, v2
	add.4s	v0, v17, v0
	add.4s	v0, v18, v0
	addv.4s	s0, v0
	fmov	w19, s0
	cmp	x10, x8
	b.eq	LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9, x10, lsl #2]
	add	x10, x10, #1
	madd	w19, w11, w10, w19
	cmp	x8, x10
	b.ne	LBB0_6
LBB0_7:
Lloh9:
	adrp	x8, _NCMD_CHECKSUM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NCMD_CHECKSUM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	and	w0, w8, w19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_netbuffer,8,3                  ; @netbuffer
	.comm	_NCMD_CHECKSUM,4,2              ; @NCMD_CHECKSUM
.subsections_via_symbols
