	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function docrc
_docrc:                                 ## @docrc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movq	_crctab@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	cmpl	$1, %esi
	jne	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
	jmp	LBB0_6
LBB0_1:
	xorl	%ecx, %ecx
	jmp	LBB0_8
LBB0_4:
	movl	%esi, %r9d
	andl	$-2, %r9d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzwl	%cx, %ecx
	movl	%ecx, %eax
	shll	$8, %eax
	shrq	$8, %rcx
	movzbl	(%rdi), %edx
	xorq	%rcx, %rdx
	movzwl	(%r8,%rdx,2), %ecx
	xorl	%ecx, %eax
	shll	$8, %ecx
	movzwl	%ax, %eax
	shrq	$8, %rax
	movzbl	1(%rdi), %edx
	addq	$2, %rdi
	xorq	%rax, %rdx
	xorw	(%r8,%rdx,2), %cx
	addl	$-2, %r9d
	jne	LBB0_5
LBB0_6:
	testb	$1, %sil
	je	LBB0_8
## %bb.7:
	movzwl	%cx, %eax
	movl	%eax, %ecx
	shll	$8, %ecx
	shrq	$8, %rax
	movzbl	(%rdi), %edx
	xorq	%rax, %rdx
	xorw	(%r8,%rdx,2), %cx
LBB0_8:
	movzwl	%cx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_crctab,8,3                     ## @crctab
	.no_dead_strip	_docrc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function docrc
_docrc:                                 ; @docrc
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w8, #0
Lloh0:
	adrp	x9, _crctab@GOTPAGE
Lloh1:
	ldr	x9, [x9, _crctab@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	w10, w1, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ubfx	w11, w8, #8, #8
	ldrb	w12, [x0], #1
	eor	x11, x12, x11
	ldrh	w11, [x9, x11, lsl #1]
	eor	w8, w11, w8, lsl #8
	sub	w10, w10, #1
	cmp	w10, #1
	b.hi	LBB0_2
; %bb.3:
	and	w0, w8, #0xffff
	ret
LBB0_4:
	and	w0, wzr, #0xffff
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_crctab,8,3                     ; @crctab
	.no_dead_strip	_docrc
.subsections_via_symbols
