	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Crc16
_Crc16:                                 ## @Crc16
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movq	_Crc16Table@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testb	$1, %dl
	jne	LBB0_4
## %bb.3:
                                        ## implicit-def: $eax
	movl	%edx, %r8d
	cmpl	$1, %edx
	jne	LBB0_6
	jmp	LBB0_8
LBB0_1:
	movl	%edi, %eax
	popq	%rbp
	retq
LBB0_4:
	leal	-1(%rdx), %r8d
	movl	%edi, %eax
	sarl	$8, %eax
	xorl	(%rsi), %edi
	addq	$4, %rsi
	movzbl	%dil, %edi
	xorl	(%rcx,%rdi,4), %eax
	movl	%eax, %edi
	cmpl	$1, %edx
	je	LBB0_8
LBB0_6:
	movl	%r8d, %r8d
	xorl	%edx, %edx
	movl	%edi, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %edi
	xorl	(%rsi,%rdx,4), %eax
	sarl	$8, %edi
	movzbl	%al, %eax
	xorl	(%rcx,%rax,4), %edi
	movl	%edi, %eax
	sarl	$8, %eax
	xorl	4(%rsi,%rdx,4), %edi
	movzbl	%dil, %edi
	xorl	(%rcx,%rdi,4), %eax
	addq	$2, %rdx
	cmpl	%edx, %r8d
	jne	LBB0_7
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Crc16Table,8,3                 ## @Crc16Table
	.no_dead_strip	_Crc16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Crc16
_Crc16:                                 ; @Crc16
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _Crc16Table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Crc16Table@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x1], #4
	eor	w9, w9, w0
	and	w9, w9, #0xff
	ldr	w9, [x8, w9, uxtw #2]
	eor	w0, w9, w0, asr #8
	subs	w2, w2, #1
	b.ne	LBB0_2
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_Crc16Table,8,3                 ; @Crc16Table
	.no_dead_strip	_Crc16
.subsections_via_symbols
