	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_calc_crc32c
_qed_calc_crc32c:                       ## @qed_calc_crc32c
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %rax
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.2:
	movl	%esi, %ecx
	andl	$7, %ecx
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.3:
	testq	%rsi, %rsi
	jle	LBB0_6
## %bb.4:
	movq	_CRC32_POLY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r9
	xorl	%r8d, %r8d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%r8,8), %r10
	movq	%rax, %r11
	sarq	$31, %r11
	addq	%rax, %rax
	movl	%r10d, %edx
	andl	$1, %edx
	movq	%r9, %rcx
	xorq	%rax, %rcx
	orq	$1, %rcx
	cmpq	%rdx, %r11
	cmoveq	%rax, %rcx
	movq	%rcx, %r11
	sarq	$31, %r11
	addq	%rcx, %rcx
	movl	%r10d, %edx
	shrl	%edx
	andl	$1, %edx
	movq	%r9, %rax
	xorq	%rcx, %rax
	orq	$1, %rax
	cmpq	%rdx, %r11
	cmoveq	%rcx, %rax
	movq	%rax, %r11
	sarq	$31, %r11
	addq	%rax, %rax
	movl	%r10d, %edx
	shrl	$2, %edx
	andl	$1, %edx
	movq	%r9, %rcx
	xorq	%rax, %rcx
	orq	$1, %rcx
	cmpq	%rdx, %r11
	cmoveq	%rax, %rcx
	movq	%rcx, %r11
	sarq	$31, %r11
	addq	%rcx, %rcx
	movl	%r10d, %edx
	shrl	$3, %edx
	andl	$1, %edx
	movq	%r9, %rax
	xorq	%rcx, %rax
	orq	$1, %rax
	cmpq	%rdx, %r11
	cmoveq	%rcx, %rax
	movq	%rax, %r11
	sarq	$31, %r11
	addq	%rax, %rax
	movl	%r10d, %edx
	shrl	$4, %edx
	andl	$1, %edx
	movq	%r9, %rcx
	xorq	%rax, %rcx
	orq	$1, %rcx
	cmpq	%rdx, %r11
	cmoveq	%rax, %rcx
	movq	%rcx, %r11
	sarq	$31, %r11
	addq	%rcx, %rcx
	movl	%r10d, %edx
	shrl	$5, %edx
	andl	$1, %edx
	movq	%r9, %rax
	xorq	%rcx, %rax
	orq	$1, %rax
	cmpq	%rdx, %r11
	cmoveq	%rcx, %rax
	movq	%rax, %r11
	sarq	$31, %r11
	addq	%rax, %rax
	movl	%r10d, %edx
	shrl	$6, %edx
	andl	$1, %edx
	movq	%r9, %rcx
	xorq	%rax, %rcx
	orq	$1, %rcx
	cmpq	%rdx, %r11
	cmoveq	%rax, %rcx
	movq	%rcx, %rdx
	sarq	$31, %rdx
	addq	%rcx, %rcx
	shrl	$7, %r10d
	andl	$1, %r10d
	movq	%r9, %rax
	xorq	%rcx, %rax
	orq	$1, %rax
	cmpq	%r10, %rdx
	cmoveq	%rcx, %rax
	incq	%r8
	cmpq	%r8, %rsi
	jne	LBB0_5
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRC32_POLY,8,3                 ## @CRC32_POLY
	.no_dead_strip	_qed_calc_crc32c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_calc_crc32c
_qed_calc_crc32c:                       ; @qed_calc_crc32c
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_6
; %bb.1:
	cbz	x1, LBB0_6
; %bb.2:
	and	x8, x1, #0x7
	cbnz	x8, LBB0_6
; %bb.3:
	cmp	x1, #1
	b.lt	LBB0_6
; %bb.4:
Lloh0:
	adrp	x8, _CRC32_POLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRC32_POLY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x0], #8
	lsl	x10, x2, #1
	and	x11, x9, #0x1
	eor	x12, x8, x10
	orr	x12, x12, #0x1
	cmp	x11, x2, asr #31
	csel	x10, x10, x12, eq
	lsl	x11, x10, #1
	ubfx	x12, x9, #1, #1
	eor	x13, x8, x11
	orr	x13, x13, #0x1
	cmp	x12, x10, asr #31
	csel	x10, x11, x13, eq
	lsl	x11, x10, #1
	ubfx	x12, x9, #2, #1
	eor	x13, x8, x11
	orr	x13, x13, #0x1
	cmp	x12, x10, asr #31
	csel	x10, x11, x13, eq
	lsl	x11, x10, #1
	ubfx	x12, x9, #3, #1
	eor	x13, x8, x11
	orr	x13, x13, #0x1
	cmp	x12, x10, asr #31
	csel	x10, x11, x13, eq
	lsl	x11, x10, #1
	ubfx	x12, x9, #4, #1
	eor	x13, x8, x11
	orr	x13, x13, #0x1
	cmp	x12, x10, asr #31
	csel	x10, x11, x13, eq
	lsl	x11, x10, #1
	ubfx	x12, x9, #5, #1
	eor	x13, x8, x11
	orr	x13, x13, #0x1
	cmp	x12, x10, asr #31
	csel	x10, x11, x13, eq
	lsl	x11, x10, #1
	ubfx	x12, x9, #6, #1
	eor	x13, x8, x11
	orr	x13, x13, #0x1
	cmp	x12, x10, asr #31
	csel	x10, x11, x13, eq
	lsl	x11, x10, #1
	ubfx	x9, x9, #7, #1
	eor	x12, x8, x11
	orr	x12, x12, #0x1
	cmp	x9, x10, asr #31
	csel	x2, x11, x12, eq
	subs	x1, x1, #1
	b.ne	LBB0_5
LBB0_6:
	mov	x0, x2
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CRC32_POLY,8,3                 ; @CRC32_POLY
	.no_dead_strip	_qed_calc_crc32c
.subsections_via_symbols
