	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_sbc_crc8                    ## -- Begin function ff_sbc_crc8
	.p2align	4, 0x90
_ff_sbc_crc8:                           ## @ff_sbc_crc8
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdx, %rbx
	shrq	$3, %rbx
	movl	$15, %esi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_av_crc
	movl	%eax, %ecx
	andl	$7, %r14d
	je	LBB0_4
## %bb.1:
	movl	(%r15,%rbx,4), %edx
	movl	%edx, %eax
	xorl	%ecx, %eax
	addl	%ecx, %ecx
	shrl	$7, %eax
	andl	$29, %eax
	xorl	%ecx, %eax
	cmpl	$1, %r14d
	je	LBB0_5
## %bb.2:
	leal	(%rdx,%rdx), %esi
	xorl	%ecx, %esi
	addl	%eax, %eax
	shrl	$7, %esi
	andl	$29, %esi
	xorl	%eax, %esi
	cmpl	$2, %r14d
	jne	LBB0_6
LBB0_3:
	movl	%esi, %eax
	jmp	LBB0_5
LBB0_6:
	leal	(,%rdx,4), %ecx
	xorl	%eax, %ecx
	addl	%esi, %esi
	shrl	$7, %ecx
	andl	$29, %ecx
	movl	%ecx, %eax
	xorl	%esi, %eax
	cmpl	$3, %r14d
	je	LBB0_5
## %bb.7:
	leal	(,%rdx,8), %ecx
	xorl	%esi, %ecx
	addl	%eax, %eax
	shrl	$7, %ecx
	andl	$29, %ecx
	xorl	%eax, %ecx
	cmpl	$4, %r14d
	jne	LBB0_9
LBB0_4:
	movl	%ecx, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	%edx, %esi
	shll	$4, %esi
	xorl	%eax, %esi
	addl	%ecx, %ecx
	shrl	$7, %esi
	andl	$29, %esi
	movl	%esi, %eax
	xorl	%ecx, %eax
	cmpl	$5, %r14d
	je	LBB0_5
## %bb.10:
	movl	%edx, %esi
	shll	$5, %esi
	xorl	%ecx, %esi
	addl	%eax, %eax
	shrl	$7, %esi
	andl	$29, %esi
	xorl	%eax, %esi
	cmpl	$6, %r14d
	je	LBB0_3
## %bb.12:
	shll	$6, %edx
	xorl	%eax, %edx
	addl	%esi, %esi
	shrl	$7, %edx
	andl	$29, %edx
	xorl	%esi, %edx
	movl	%edx, %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_sbc_crc8                    ; -- Begin function ff_sbc_crc8
	.p2align	2
_ff_sbc_crc8:                           ; @ff_sbc_crc8
	.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, x1
	lsr	x20, x2, #3
	and	w21, w2, #0x7
	mov	w1, #15
	mov	x2, x19
	mov	x3, x20
	bl	_av_crc
	cbz	w21, LBB0_8
; %bb.1:
	ldr	w8, [x19, x20, lsl #2]
	eor	w11, w8, w0
	lsl	w10, w0, #1
	mov	w9, #29
	and	w11, w9, w11, lsr #7
	eor	w0, w11, w10
	cmp	w21, #1
	b.eq	LBB0_8
; %bb.2:
	eor	w11, w10, w8, lsl #1
	lsl	w10, w0, #1
	and	w9, w9, w11, lsr #7
	eor	w0, w9, w10
	cmp	w21, #2
	b.eq	LBB0_8
; %bb.3:
	eor	w11, w10, w8, lsl #2
	lsl	w10, w0, #1
	mov	w9, #29
	and	w11, w9, w11, lsr #7
	eor	w0, w11, w10
	cmp	w21, #3
	b.eq	LBB0_8
; %bb.4:
	eor	w11, w10, w8, lsl #3
	lsl	w10, w0, #1
	and	w9, w9, w11, lsr #7
	eor	w0, w9, w10
	cmp	w21, #4
	b.eq	LBB0_8
; %bb.5:
	eor	w11, w10, w8, lsl #4
	lsl	w10, w0, #1
	mov	w9, #29
	and	w11, w9, w11, lsr #7
	eor	w0, w11, w10
	cmp	w21, #5
	b.eq	LBB0_8
; %bb.6:
	eor	w11, w10, w8, lsl #5
	lsl	w10, w0, #1
	and	w9, w9, w11, lsr #7
	eor	w0, w9, w10
	cmp	w21, #6
	b.eq	LBB0_8
; %bb.7:
	eor	w8, w10, w8, lsl #6
	mov	w9, #29
	and	w8, w9, w8, lsr #7
	eor	w0, w8, w0, lsl #1
LBB0_8:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
