	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hndcrc8                        ## -- Begin function hndcrc8
	.p2align	4, 0x90
_hndcrc8:                               ## @hndcrc8
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
                                        ## kill: def $esi killed $esi def $rsi
	testl	%esi, %esi
	jle	LBB0_8
## %bb.1:
	movq	_crc8_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r10
	leal	-1(%rsi), %r8d
	movl	%esi, %r9d
	andl	$3, %r9d
	je	LBB0_5
## %bb.2:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi), %ecx
	addq	$4, %rdi
	movzbl	%al, %eax
	xorl	%ecx, %eax
	movl	(%r10,%rax,4), %eax
	incl	%edx
	cmpl	%edx, %r9d
	jne	LBB0_3
## %bb.4:
	subl	%edx, %esi
LBB0_5:
	cmpl	$3, %r8d
	jb	LBB0_8
## %bb.6:
	decl	%esi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi), %ecx
	movzbl	%al, %eax
	xorl	%ecx, %eax
	movzbl	(%r10,%rax,4), %eax
	movzbl	4(%rdi), %ecx
	xorl	%eax, %ecx
	movzbl	(%r10,%rcx,4), %eax
	movzbl	8(%rdi), %ecx
	xorl	%eax, %ecx
	movzbl	(%r10,%rcx,4), %eax
	movzbl	12(%rdi), %ecx
	xorl	%eax, %ecx
	movl	(%r10,%rcx,4), %eax
	addl	$-4, %esi
	addq	$16, %rdi
	cmpl	$-2, %esi
	jb	LBB0_7
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_crc8_table,8,3                 ## @crc8_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hndcrc8                        ; -- Begin function hndcrc8
	.p2align	2
_hndcrc8:                               ; @hndcrc8
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _crc8_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _crc8_table@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	w9, w1, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x0], #4
	and	w11, w2, #0xff
	eor	w10, w10, w11
	ldr	w2, [x8, w10, uxtw #2]
	sub	w9, w9, #1
	cmp	w9, #1
	b.hi	LBB0_2
LBB0_3:
	mov	x0, x2
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_crc8_table,8,3                 ; @crc8_table
.subsections_via_symbols
