	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_comp_crc32c_sb8             ## -- Begin function pg_comp_crc32c_sb8
	.p2align	4, 0x90
_pg_comp_crc32c_sb8:                    ## @pg_comp_crc32c_sb8
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, %eax
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.1:
	movl	%r15d, %ecx
	andl	$3, %ecx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.2:
	leaq	1(%r15), %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %r12
	movzbl	(%r15), %edi
	incq	%r15
	callq	_CRC8
	decq	%r14
	cmpq	$1, %r12
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %ecx
	andl	$3, %ecx
	incq	%rbx
	testq	%rcx, %rcx
	jne	LBB0_3
LBB0_5:
	cmpq	$8, %r14
	jb	LBB0_8
## %bb.6:
	movq	_pg_crc32c_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	(%rdi), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	24(%rdi), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	32(%rdi), %r12
	movq	40(%rdi), %r13
	movq	48(%rdi), %rsi
	movq	56(%rdi), %rdi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	xorl	(%r15), %eax
	movslq	4(%r15), %rbx
	movl	%ebx, %ecx
	sarl	$24, %ecx
	movslq	%ecx, %rcx
	movl	%ebx, %edx
	sarl	$16, %edx
	movslq	%edx, %rdx
	movl	%eax, %r8d
	movl	%eax, %r9d
	movslq	%eax, %r10
	sarl	$8, %eax
	movslq	%eax, %r11
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%rdx,4), %eax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	(%rdx,%rcx,4), %eax
	movl	%ebx, %ecx
	sarl	$8, %ecx
	movslq	%ecx, %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	xorl	(%rdx,%rcx,4), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	xorl	(%rcx,%rbx,4), %eax
	sarl	$24, %r8d
	movslq	%r8d, %rcx
	xorl	(%r12,%rcx,4), %eax
	sarl	$16, %r9d
	movslq	%r9d, %rcx
	xorl	(%r13,%rcx,4), %eax
	xorl	(%rsi,%r11,4), %eax
	xorl	(%rdi,%r10,4), %eax
	addq	$8, %r15
	addq	$-8, %r14
	cmpq	$7, %r14
	ja	LBB0_7
LBB0_8:
	testq	%r14, %r14
	je	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15,%rbx), %edi
	callq	_CRC8
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_10
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pg_crc32c_table,8,3            ## @pg_crc32c_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_comp_crc32c_sb8             ; -- Begin function pg_comp_crc32c_sb8
	.p2align	2
_pg_comp_crc32c_sb8:                    ; @pg_comp_crc32c_sb8
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	cbz	x2, LBB0_9
; %bb.1:
	and	x8, x20, #0x3
	cbz	x8, LBB0_9
; %bb.2:
	mov	x21, x20
	ldrb	w0, [x21], #1
	bl	_CRC8
	subs	x22, x19, #1
	b.eq	LBB0_10
; %bb.3:
	and	x8, x21, #0x3
	cbz	x8, LBB0_10
; %bb.4:
	add	x21, x20, #2
	ldrb	w0, [x20, #1]
	bl	_CRC8
	subs	x22, x19, #2
	b.eq	LBB0_10
; %bb.5:
	and	x8, x21, #0x3
	cbz	x8, LBB0_10
; %bb.6:
	add	x21, x20, #3
	ldrb	w0, [x20, #2]
	bl	_CRC8
	subs	x22, x19, #3
	b.eq	LBB0_10
; %bb.7:
	and	x8, x21, #0x3
	cbz	x8, LBB0_10
; %bb.8:
	add	x21, x20, #4
	ldrb	w0, [x20, #3]
	bl	_CRC8
	sub	x22, x19, #4
	b	LBB0_10
LBB0_9:
	mov	x21, x20
	mov	x22, x19
LBB0_10:
	cmp	x22, #8
	b.lo	LBB0_14
; %bb.11:
Lloh0:
	adrp	x8, _pg_crc32c_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pg_crc32c_table@GOTPAGEOFF]
Lloh2:
	ldr	x15, [x8]
	ldp	x8, x9, [x15]
	ldp	x10, x11, [x15, #16]
	ldp	x12, x13, [x15, #32]
	ldp	x14, x15, [x15, #48]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	w16, w17, [x21]
                                        ; kill: def $w17 killed $w17 def $x17
	sxtw	x17, w17
	eor	w0, w16, w0
	add	x16, x21, #8
	asr	w1, w17, #24
	asr	w2, w17, #16
	asr	w3, w17, #8
	asr	w4, w0, #24
	asr	w5, w0, #16
	asr	w6, w0, #8
	ldr	w1, [x8, w1, sxtw #2]
	ldr	w2, [x9, w2, sxtw #2]
	eor	w1, w2, w1
	ldr	w2, [x10, w3, sxtw #2]
	eor	w1, w1, w2
	ldr	w17, [x11, x17, lsl #2]
	eor	w17, w1, w17
	ldr	w1, [x12, w4, sxtw #2]
	eor	w17, w17, w1
	ldr	w1, [x13, w5, sxtw #2]
	eor	w17, w17, w1
	ldr	w1, [x14, w6, sxtw #2]
	eor	w17, w17, w1
	ldr	w0, [x15, w0, sxtw #2]
	eor	w0, w17, w0
	sub	x22, x22, #8
	mov	x21, x16
	cmp	x22, #7
	b.hi	LBB0_12
; %bb.13:
	mov	x21, x16
LBB0_14:
	cbz	x22, LBB0_16
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x21], #1
	bl	_CRC8
	subs	x22, x22, #1
	b.ne	LBB0_15
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pg_crc32c_table,8,3            ; @pg_crc32c_table
.subsections_via_symbols
