	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_svq1_packet_checksum        ## -- Begin function ff_svq1_packet_checksum
	.p2align	4, 0x90
_ff_svq1_packet_checksum:               ## @ff_svq1_packet_checksum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
	testl	%esi, %esi
	jle	LBB0_7
## %bb.1:
	movq	_checksum_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r10
	movl	%esi, %r8d
	cmpl	$1, %esi
	jne	LBB0_3
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_5
LBB0_3:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %edx
	sarl	$8, %edx
	xorl	(%rdi,%rsi,4), %edx
	movslq	%edx, %rdx
	movl	(%r10,%rdx,4), %edx
	shll	$8, %eax
	movzwl	%ax, %eax
	xorl	%edx, %eax
	sarl	$8, %eax
	xorl	4(%rdi,%rsi,4), %eax
	movslq	%eax, %rcx
	shll	$8, %edx
	movzwl	%dx, %eax
	xorl	(%r10,%rcx,4), %eax
	addq	$2, %rsi
	cmpq	%rsi, %r9
	jne	LBB0_4
LBB0_5:
	testb	$1, %r8b
	je	LBB0_7
## %bb.6:
	movl	%eax, %ecx
	sarl	$8, %ecx
	xorl	(%rdi,%rsi,4), %ecx
	movslq	%ecx, %rcx
	shll	$8, %eax
	movzwl	%ax, %eax
	xorl	(%r10,%rcx,4), %eax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_checksum_table,8,3             ## @checksum_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_svq1_packet_checksum        ; -- Begin function ff_svq1_packet_checksum
	.p2align	2
_ff_svq1_packet_checksum:               ; @ff_svq1_packet_checksum
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _checksum_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _checksum_table@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w9, w1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0], #4
	eor	w10, w10, w2, asr #8
	ldr	w10, [x8, w10, sxtw #2]
	ubfiz	w11, w2, #8, #8
	eor	w2, w10, w11
	subs	x9, x9, #1
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x2
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_checksum_table,8,3             ; @checksum_table
.subsections_via_symbols
