	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function rnc_crc
LCPI0_0:
	.short	0                               ## 0x0
	.short	1                               ## 0x1
	.short	2                               ## 0x2
	.short	3                               ## 0x3
	.short	4                               ## 0x4
	.short	5                               ## 0x5
	.short	6                               ## 0x6
	.short	7                               ## 0x7
LCPI0_1:
	.short	40961                           ## 0xa001
	.short	40961                           ## 0xa001
	.short	40961                           ## 0xa001
	.short	40961                           ## 0xa001
	.short	40961                           ## 0xa001
	.short	40961                           ## 0xa001
	.short	40961                           ## 0xa001
	.short	40961                           ## 0xa001
LCPI0_2:
	.short	8                               ## 0x8
	.short	8                               ## 0x8
	.short	8                               ## 0x8
	.short	8                               ## 0x8
	.short	8                               ## 0x8
	.short	8                               ## 0x8
	.short	8                               ## 0x8
	.short	8                               ## 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_rnc_crc:                               ## @rnc_crc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$528, %rsp                      ## imm = 0x210
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [0,1,2,3,4,5,6,7]
	xorl	%eax, %eax
	movdqa	LCPI0_1(%rip), %xmm4            ## xmm4 = [40961,40961,40961,40961,40961,40961,40961,40961]
	movdqa	LCPI0_2(%rip), %xmm5            ## xmm5 = [8,8,8,8,8,8,8,8]
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm3, %xmm1
	psrlw	$1, %xmm1
	movdqa	%xmm1, %xmm2
	pxor	%xmm4, %xmm2
	movdqa	%xmm3, %xmm0
	psllw	$15, %xmm0
	psraw	$15, %xmm0
	pblendvb	%xmm0, %xmm2, %xmm1
	movdqa	%xmm1, %xmm2
	psrlw	$1, %xmm2
	movdqa	%xmm2, %xmm6
	pxor	%xmm4, %xmm6
	psllw	$15, %xmm1
	psraw	$15, %xmm1
	movdqa	%xmm1, %xmm0
	pblendvb	%xmm0, %xmm6, %xmm2
	movdqa	%xmm2, %xmm1
	psrlw	$1, %xmm1
	movdqa	%xmm1, %xmm6
	pxor	%xmm4, %xmm6
	psllw	$15, %xmm2
	psraw	$15, %xmm2
	movdqa	%xmm2, %xmm0
	pblendvb	%xmm0, %xmm6, %xmm1
	movdqa	%xmm1, %xmm2
	psrlw	$1, %xmm2
	movdqa	%xmm2, %xmm6
	pxor	%xmm4, %xmm6
	psllw	$15, %xmm1
	psraw	$15, %xmm1
	movdqa	%xmm1, %xmm0
	pblendvb	%xmm0, %xmm6, %xmm2
	movdqa	%xmm2, %xmm1
	psrlw	$1, %xmm1
	movdqa	%xmm1, %xmm6
	pxor	%xmm4, %xmm6
	psllw	$15, %xmm2
	psraw	$15, %xmm2
	movdqa	%xmm2, %xmm0
	pblendvb	%xmm0, %xmm6, %xmm1
	movdqa	%xmm1, %xmm2
	psrlw	$1, %xmm2
	movdqa	%xmm2, %xmm6
	pxor	%xmm4, %xmm6
	psllw	$15, %xmm1
	psraw	$15, %xmm1
	movdqa	%xmm1, %xmm0
	pblendvb	%xmm0, %xmm6, %xmm2
	movdqa	%xmm2, %xmm1
	psrlw	$1, %xmm1
	movdqa	%xmm1, %xmm6
	pxor	%xmm4, %xmm6
	psllw	$15, %xmm2
	psraw	$15, %xmm2
	movdqa	%xmm2, %xmm0
	pblendvb	%xmm0, %xmm6, %xmm1
	movdqa	%xmm1, %xmm2
	psrlw	$1, %xmm2
	movdqa	%xmm2, %xmm6
	pxor	%xmm4, %xmm6
	psllw	$15, %xmm1
	psraw	$15, %xmm1
	movdqa	%xmm1, %xmm0
	pblendvb	%xmm0, %xmm6, %xmm2
	movdqa	%xmm2, -528(%rbp,%rax,2)
	addq	$8, %rax
	paddw	%xmm5, %xmm3
	cmpq	$256, %rax                      ## imm = 0x100
	jne	LBB0_1
## %bb.2:
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.4:
	cmpq	$1, %rsi
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_6:
	movq	%rsi, %rcx
	andq	$-2, %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi), %edx
	movzwl	%ax, %eax
	xorl	%eax, %edx
	shrl	$8, %eax
	movzbl	%dl, %edx
	movzwl	-528(%rbp,%rdx,2), %r8d
	movzbl	1(%rdi), %edx
	addq	$2, %rdi
	xorl	%eax, %edx
	xorl	%r8d, %edx
	movl	%r8d, %eax
	shrl	$8, %eax
	movzbl	%dl, %edx
	xorw	-528(%rbp,%rdx,2), %ax
	addq	$-2, %rcx
	jne	LBB0_7
LBB0_8:
	testb	$1, %sil
	je	LBB0_10
## %bb.9:
	movzbl	(%rdi), %ecx
	movzwl	%ax, %eax
	xorl	%eax, %ecx
	shrl	$8, %eax
	movzbl	%cl, %ecx
	xorw	-528(%rbp,%rcx,2), %ax
LBB0_10:
	movzwl	%ax, %eax
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	addq	$528, %rsp                      ## imm = 0x210
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rnc_crc
.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 rnc_crc
lCPI0_0:
	.short	0                               ; 0x0
	.short	1                               ; 0x1
	.short	2                               ; 0x2
	.short	3                               ; 0x3
	.short	4                               ; 0x4
	.short	5                               ; 0x5
	.short	6                               ; 0x6
	.short	7                               ; 0x7
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rnc_crc:                               ; @rnc_crc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -24
	.cfi_offset w28, -32
	sub	sp, sp, #528
	mov	x8, #0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-24]
Lloh3:
	adrp	x9, lCPI0_0@PAGE
Lloh4:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	movi.8h	v1, #1
	mov	w9, #40961
	dup.8h	v2, w9
	add	x9, sp, #8
	movi.8h	v3, #8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	and.16b	v4, v0, v1
	ushr.8h	v5, v0, #1
	cmeq.8h	v4, v4, #0
	eor.16b	v6, v5, v2
	bsl.16b	v4, v5, v6
	and.16b	v5, v4, v1
	cmeq.8h	v5, v5, #0
	ushr.8h	v4, v4, #1
	eor.16b	v6, v4, v2
	bif.16b	v4, v6, v5
	and.16b	v5, v4, v1
	cmeq.8h	v5, v5, #0
	ushr.8h	v4, v4, #1
	eor.16b	v6, v4, v2
	bif.16b	v4, v6, v5
	and.16b	v5, v4, v1
	cmeq.8h	v5, v5, #0
	ushr.8h	v4, v4, #1
	eor.16b	v6, v4, v2
	bif.16b	v4, v6, v5
	and.16b	v5, v4, v1
	cmeq.8h	v5, v5, #0
	ushr.8h	v4, v4, #1
	eor.16b	v6, v4, v2
	bif.16b	v4, v6, v5
	and.16b	v5, v4, v1
	cmeq.8h	v5, v5, #0
	ushr.8h	v4, v4, #1
	eor.16b	v6, v4, v2
	bif.16b	v4, v6, v5
	and.16b	v5, v4, v1
	ushr.8h	v4, v4, #1
	cmeq.8h	v5, v5, #0
	eor.16b	v6, v4, v2
	bif.16b	v4, v6, v5
	and.16b	v5, v4, v1
	cmeq.8h	v5, v5, #0
	ushr.8h	v4, v4, #1
	eor.16b	v6, v4, v2
	bif.16b	v4, v6, v5
	str	q4, [x9, x8]
	add.8h	v0, v0, v3
	add	x8, x8, #16
	cmp	x8, #512
	b.ne	LBB0_1
; %bb.2:
	cbz	x1, LBB0_6
; %bb.3:
	mov	w8, #0
	add	x9, sp, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x0], #1
	and	w11, w8, #0xff00
	and	w8, w8, #0xff
	eor	w8, w8, w10
	ldrh	w8, [x9, w8, uxtw #1]
	eor	w8, w8, w11, lsr #8
	subs	x1, x1, #1
	b.ne	LBB0_4
; %bb.5:
	and	x0, x8, #0xffff
	b	LBB0_7
LBB0_6:
	mov	x0, #0
LBB0_7:
	ldur	x8, [x29, #-24]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	add	sp, sp, #528
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rnc_crc
.subsections_via_symbols
