	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdlc_Fcs                       ## -- Begin function hdlc_Fcs
	.p2align	4, 0x90
_hdlc_Fcs:                              ## @hdlc_Fcs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_INITFCS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	_fcstab@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testb	$1, %sil
	jne	LBB0_4
## %bb.3:
                                        ## implicit-def: $eax
	movq	%rsi, %r9
	cmpq	$1, %rsi
	jne	LBB0_6
	jmp	LBB0_8
LBB0_1:
	movl	%r8d, %eax
	popq	%rbp
	retq
LBB0_4:
	leaq	-1(%rsi), %r9
	movl	%r8d, %eax
	sarl	$8, %eax
	xorl	(%rdi), %r8d
	addq	$4, %rdi
	movzbl	%r8b, %edx
	xorl	(%rcx,%rdx,4), %eax
	movl	%eax, %r8d
	cmpq	$1, %rsi
	je	LBB0_8
LBB0_6:
	xorl	%esi, %esi
	movl	%r8d, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %edx
	xorl	(%rdi,%rsi,4), %eax
	sarl	$8, %edx
	movzbl	%al, %eax
	xorl	(%rcx,%rax,4), %edx
	movl	%edx, %eax
	sarl	$8, %eax
	xorl	4(%rdi,%rsi,4), %edx
	movzbl	%dl, %edx
	xorl	(%rcx,%rdx,4), %eax
	addq	$2, %rsi
	cmpq	%rsi, %r9
	jne	LBB0_7
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INITFCS,4,2                    ## @INITFCS
	.comm	_fcstab,8,3                     ## @fcstab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdlc_Fcs                       ; -- Begin function hdlc_Fcs
	.p2align	2
_hdlc_Fcs:                              ; @hdlc_Fcs
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _INITFCS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INITFCS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	cbz	x1, LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _fcstab@GOTPAGE
Lloh4:
	ldr	x9, [x9, _fcstab@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8], #4
	eor	w10, w10, w0
	and	w10, w10, #0xff
	ldr	w10, [x9, w10, uxtw #2]
	eor	w0, w10, w0, asr #8
	subs	x1, x1, #1
	b.ne	LBB0_2
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INITFCS,4,2                    ; @INITFCS
	.comm	_fcstab,8,3                     ; @fcstab
.subsections_via_symbols
