	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crc32
_crc32:                                 ## @crc32
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_crc32_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	cmpq	$1, %rsi
	jne	LBB0_4
## %bb.3:
	movl	$-1, %eax
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	retq
LBB0_4:
	movq	%rsi, %rdx
	andq	$-2, %rdx
	movl	$-1, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %ecx
	xorl	%eax, %ecx
	movzbl	%cl, %ecx
	sarl	$8, %eax
	xorl	(%r8,%rcx,4), %eax
	movl	4(%rdi), %ecx
	xorl	%eax, %ecx
	addq	$8, %rdi
	movzbl	%cl, %ecx
	sarl	$8, %eax
	xorl	(%r8,%rcx,4), %eax
	addq	$-2, %rdx
	jne	LBB0_5
LBB0_6:
	testb	$1, %sil
	je	LBB0_8
## %bb.7:
	movl	(%rdi), %ecx
	xorl	%eax, %ecx
	movzbl	%cl, %ecx
	sarl	$8, %eax
	xorl	(%r8,%rcx,4), %eax
LBB0_8:
	notl	%eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_crc32_tab,8,3                  ## @crc32_tab
	.no_dead_strip	_crc32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crc32
_crc32:                                 ; @crc32
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _crc32_tab@GOTPAGE
Lloh1:
	ldr	x8, [x8, _crc32_tab@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	mov	w8, #-1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0], #4
	eor	w10, w10, w8
	and	w10, w10, #0xff
	ldr	w10, [x9, w10, uxtw #2]
	eor	w8, w10, w8, asr #8
	subs	x1, x1, #1
	b.ne	LBB0_2
; %bb.3:
	mvn	w0, w8
	ret
LBB0_4:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_crc32_tab,8,3                  ; @crc32_tab
	.no_dead_strip	_crc32
.subsections_via_symbols
