	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mlp_restart_checksum        ## -- Begin function ff_mlp_restart_checksum
	.p2align	4, 0x90
_ff_mlp_restart_checksum:               ## @ff_mlp_restart_checksum
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	addl	$2, %r14d
	movl	%r14d, %ebx
	shrl	$3, %ebx
	movq	_crc_1D@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	(%r15), %eax
	andl	$63, %eax
	movl	(%rdi,%rax,4), %esi
	leaq	4(%r15), %rdx
	leal	-2(%rbx), %ecx
	callq	_av_crc
                                        ## kill: def $eax killed $eax def $rax
	xorl	-4(%r15,%rbx,4), %eax
	andl	$7, %r14d
	je	LBB0_8
## %bb.1:
	movl	%ebx, %ecx
	movl	(%r15,%rcx,4), %ecx
	leal	(%rax,%rax), %esi
	movl	%esi, %edx
	xorl	$285, %edx                      ## imm = 0x11D
	testb	$-128, %al
	cmovel	%esi, %edx
	movl	%ecx, %eax
	shrl	$7, %eax
	andl	$1, %eax
	xorl	%edx, %eax
	cmpl	$1, %r14d
	je	LBB0_8
## %bb.2:
	addl	%eax, %eax
	movl	%eax, %esi
	xorl	$285, %esi                      ## imm = 0x11D
	testb	$-128, %dl
	cmovel	%eax, %esi
	movl	%ecx, %eax
	shrl	$6, %eax
	andl	$1, %eax
	xorl	%esi, %eax
	cmpl	$2, %r14d
	je	LBB0_8
## %bb.3:
	addl	%eax, %eax
	movl	%eax, %edx
	xorl	$285, %edx                      ## imm = 0x11D
	testb	$-128, %sil
	cmovel	%eax, %edx
	movl	%ecx, %eax
	shrl	$5, %eax
	andl	$1, %eax
	xorl	%edx, %eax
	cmpl	$3, %r14d
	je	LBB0_8
## %bb.4:
	addl	%eax, %eax
	movl	%eax, %esi
	xorl	$285, %esi                      ## imm = 0x11D
	testb	$-128, %dl
	cmovel	%eax, %esi
	movl	%ecx, %eax
	shrl	$4, %eax
	andl	$1, %eax
	xorl	%esi, %eax
	cmpl	$4, %r14d
	je	LBB0_8
## %bb.5:
	addl	%eax, %eax
	movl	%eax, %edx
	xorl	$285, %edx                      ## imm = 0x11D
	testb	$-128, %sil
	cmovel	%eax, %edx
	movl	%ecx, %eax
	shrl	$3, %eax
	andl	$1, %eax
	xorl	%edx, %eax
	cmpl	$5, %r14d
	je	LBB0_8
## %bb.6:
	addl	%eax, %eax
	movl	%eax, %esi
	xorl	$285, %esi                      ## imm = 0x11D
	testb	$-128, %dl
	cmovel	%eax, %esi
	movl	%ecx, %eax
	shrl	$2, %eax
	andl	$1, %eax
	xorl	%esi, %eax
	cmpl	$6, %r14d
	je	LBB0_8
## %bb.7:
	addl	%eax, %eax
	movl	%eax, %edx
	xorl	$285, %edx                      ## imm = 0x11D
	testb	$-128, %sil
	cmovel	%eax, %edx
	shrl	%ecx
	andl	$1, %ecx
	xorl	%edx, %ecx
	movl	%ecx, %eax
LBB0_8:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_crc_1D,8,3                     ## @crc_1D
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mlp_restart_checksum        ; -- Begin function ff_mlp_restart_checksum
	.p2align	2
_ff_mlp_restart_checksum:               ; @ff_mlp_restart_checksum
	.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, x0
	add	w21, w1, #2
	lsr	w20, w21, #3
Lloh0:
	adrp	x8, _crc_1D@GOTPAGE
Lloh1:
	ldr	x8, [x8, _crc_1D@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	ldr	w8, [x19]
	and	x8, x8, #0x3f
	ldr	w1, [x0, x8, lsl #2]
	add	x2, x19, #4
	sub	w3, w20, #2
	bl	_av_crc
	sub	w8, w20, #1
	ldr	w8, [x19, w8, sxtw #2]
	eor	w0, w8, w0
	ands	w9, w21, #0x7
	b.eq	LBB0_8
; %bb.1:
	ldr	w8, [x19, w20, uxtw #2]
	lsl	w11, w0, #1
	mov	w10, #285
	eor	w12, w11, w10
	tst	w0, #0x80
	csel	w11, w11, w12, eq
	ubfx	w12, w8, #7, #1
	eor	w0, w12, w11
	cmp	w9, #1
	b.eq	LBB0_8
; %bb.2:
	lsl	w12, w0, #1
	eor	w10, w12, w10
	tst	w11, #0x80
	csel	w11, w12, w10, eq
	ubfx	w10, w8, #6, #1
	eor	w0, w10, w11
	cmp	w9, #2
	b.eq	LBB0_8
; %bb.3:
	lsl	w12, w0, #1
	mov	w10, #285
	eor	w13, w12, w10
	tst	w11, #0x80
	csel	w11, w12, w13, eq
	ubfx	w12, w8, #5, #1
	eor	w0, w12, w11
	cmp	w9, #3
	b.eq	LBB0_8
; %bb.4:
	lsl	w12, w0, #1
	eor	w10, w12, w10
	tst	w11, #0x80
	csel	w11, w12, w10, eq
	ubfx	w10, w8, #4, #1
	eor	w0, w10, w11
	cmp	w9, #4
	b.eq	LBB0_8
; %bb.5:
	lsl	w12, w0, #1
	mov	w10, #285
	eor	w13, w12, w10
	tst	w11, #0x80
	csel	w11, w12, w13, eq
	ubfx	w12, w8, #3, #1
	eor	w0, w12, w11
	cmp	w9, #5
	b.eq	LBB0_8
; %bb.6:
	lsl	w12, w0, #1
	eor	w10, w12, w10
	tst	w11, #0x80
	csel	w10, w12, w10, eq
	ubfx	w11, w8, #2, #1
	eor	w0, w11, w10
	cmp	w9, #6
	b.eq	LBB0_8
; %bb.7:
	lsl	w9, w0, #1
	mov	w11, #285
	eor	w11, w9, w11
	tst	w10, #0x80
	csel	w9, w9, w11, eq
	ubfx	w8, w8, #1, #1
	eor	w0, w8, w9
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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_crc_1D,8,3                     ; @crc_1D
.subsections_via_symbols
