	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_crc_init                    ## -- Begin function av_crc_init
	.p2align	4, 0x90
_av_crc_init:                           ## @av_crc_init
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movl	%edx, %ecx
	leal	-8(%rcx), %edx
	movl	$1, %eax
	shlq	%cl, %rax
	cmpl	$24, %edx
	ja	LBB0_13
## %bb.1:
	cmpq	%rbx, %rax
	jle	LBB0_13
## %bb.2:
	movl	%esi, %r13d
	movq	%rdi, %r15
	cmpl	$4096, %r8d                     ## imm = 0x1000
	je	LBB0_4
## %bb.3:
	cmpl	$1028, %r8d                     ## imm = 0x404
	jne	LBB0_13
LBB0_4:
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	addl	$32, %ecx
	negl	%ecx
	movq	%rbx, %rax
                                        ## kill: def $cl killed $cl killed $rcx
	shlq	%cl, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movsbq	%r12b, %rax
	sarq	$7, %rax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	andq	%rdx, %rax
	xorq	%r14, %rax
	leaq	(%rax,%rax), %rcx
	cltq
	sarq	$31, %rax
	andq	%rdx, %rax
	xorq	%rcx, %rax
	leaq	(%rax,%rax), %rcx
	cltq
	sarq	$31, %rax
	andq	%rdx, %rax
	xorq	%rcx, %rax
	leaq	(%rax,%rax), %rcx
	cltq
	sarq	$31, %rax
	andq	%rdx, %rax
	xorq	%rcx, %rax
	leaq	(%rax,%rax), %rcx
	cltq
	sarq	$31, %rax
	andq	%rdx, %rax
	xorq	%rcx, %rax
	leaq	(%rax,%rax), %rcx
	cltq
	sarq	$31, %rax
	andq	%rdx, %rax
	xorq	%rcx, %rax
	leaq	(%rax,%rax), %rcx
	cltq
	sarq	$31, %rax
	andq	%rdx, %rax
	xorq	%rcx, %rax
	leaq	(%rax,%rax), %rcx
	movslq	%eax, %rdi
	sarq	$31, %rdi
	andq	%rdx, %rdi
	xorq	%rcx, %rdi
	callq	_av_bswap32
                                        ## kill: def $eax killed $eax def $rax
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, (%r15,%r12,4)
	incq	%r12
	addq	$33554432, %r14                 ## imm = 0x2000000
	cmpq	$256, %r12                      ## imm = 0x100
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r13d, %r13d
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rax
	shrq	%rax
	movl	%r12d, %ecx
	andl	$1, %ecx
	negq	%rcx
	andq	%rbx, %rcx
	xorq	%rax, %rcx
	movq	%rcx, %rax
	sarq	%rax
	andl	$1, %ecx
	negq	%rcx
	andq	%rbx, %rcx
	xorq	%rax, %rcx
	movq	%rcx, %rax
	sarq	%rax
	andl	$1, %ecx
	negq	%rcx
	andq	%rbx, %rcx
	xorq	%rax, %rcx
	movq	%rcx, %rax
	sarq	%rax
	andl	$1, %ecx
	negq	%rcx
	andq	%rbx, %rcx
	xorq	%rax, %rcx
	movq	%rcx, %rax
	sarq	%rax
	andl	$1, %ecx
	negq	%rcx
	andq	%rbx, %rcx
	xorq	%rax, %rcx
	movq	%rcx, %rax
	sarq	%rax
	andl	$1, %ecx
	negq	%rcx
	andq	%rbx, %rcx
	xorq	%rax, %rcx
	movq	%rcx, %rax
	sarq	%rax
	andl	$1, %ecx
	negq	%rcx
	andq	%rbx, %rcx
	xorq	%rax, %rcx
	movq	%rcx, %rax
	shrq	%rax
	andl	$1, %ecx
	negl	%ecx
	movl	%ebx, %edx
	andl	%ecx, %edx
	xorl	%edx, %eax
	jmp	LBB0_8
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_9:
	movl	$1, 1024(%r15)
	cmpl	$4096, -44(%rbp)                ## 4-byte Folded Reload
                                        ## imm = 0x1000
	jb	LBB0_12
## %bb.10:
	movq	$-256, %rax
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	1024(%r15,%rax,4), %ecx
	movzbl	%cl, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	sarl	$8, %ecx
	xorl	(%r15,%rdx,4), %ecx
	movl	%ecx, 2048(%r15,%rax,4)
	movzbl	%cl, %edx
	sarl	$8, %ecx
	xorl	(%r15,%rdx,4), %ecx
	movl	%ecx, 3072(%r15,%rax,4)
	movzbl	%cl, %edx
	sarl	$8, %ecx
	xorl	(%r15,%rdx,4), %ecx
	movl	%ecx, 4096(%r15,%rax,4)
	incq	%rax
	jne	LBB0_11
LBB0_12:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_crc_init                    ; -- Begin function av_crc_init
	.p2align	2
_av_crc_init:                           ; @av_crc_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
                                        ; kill: def $w2 killed $w2 def $x2
	sub	w8, w2, #8
	cmp	w8, #24
	b.hi	LBB0_9
; %bb.1:
	mov	x21, x3
	mov	w8, #1
	lsl	x8, x8, x2
	cmp	x8, x3
	b.le	LBB0_9
; %bb.2:
	mov	x20, x4
	mov	x22, x1
	mov	x19, x0
	cmp	w4, #1, lsl #12                 ; =4096
	b.eq	LBB0_4
; %bb.3:
	cmp	w20, #1028
	b.ne	LBB0_9
LBB0_4:
	mov	x23, #0
	mov	x24, #0
	mov	w8, #32
	sub	w8, w8, w2
	lsl	x25, x21, x8
	mov	w26, #33554432
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	lsl	x8, x24, #56
	and	x8, x25, x8, asr #63
	eor	x8, x8, x23
	lsl	x9, x8, #32
	and	x9, x25, x9, asr #63
	eor	x8, x9, x8, lsl #1
	lsl	x9, x8, #32
	and	x9, x25, x9, asr #63
	eor	x8, x9, x8, lsl #1
	lsl	x9, x8, #32
	and	x9, x25, x9, asr #63
	eor	x8, x9, x8, lsl #1
	lsl	x9, x8, #32
	and	x9, x25, x9, asr #63
	eor	x8, x9, x8, lsl #1
	lsl	x9, x8, #32
	and	x9, x25, x9, asr #63
	eor	x8, x9, x8, lsl #1
	lsl	x9, x8, #32
	and	x9, x25, x9, asr #63
	eor	x8, x9, x8, lsl #1
	lsl	x9, x8, #32
	and	x9, x25, x9, asr #63
	eor	x0, x9, x8, lsl #1
	bl	_av_bswap32
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	str	w0, [x19, x24, lsl #2]
	add	x24, x24, #1
	add	x23, x23, x26
	cmp	x24, #256
	b.eq	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w22, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	and	x8, x24, #0x1
	neg	x8, x8
	and	x8, x8, x21
	eor	x8, x8, x24, lsr #1
	and	x9, x8, #0x1
	neg	x9, x9
	and	x9, x9, x21
	eor	x8, x9, x8, asr #1
	and	x9, x8, #0x1
	neg	x9, x9
	and	x9, x9, x21
	eor	x8, x9, x8, asr #1
	and	x9, x8, #0x1
	neg	x9, x9
	and	x9, x9, x21
	eor	x8, x9, x8, asr #1
	and	x9, x8, #0x1
	neg	x9, x9
	and	x9, x9, x21
	eor	x8, x9, x8, asr #1
	and	x9, x8, #0x1
	neg	x9, x9
	and	x9, x9, x21
	eor	x8, x9, x8, asr #1
	and	x9, x8, #0x1
	neg	x9, x9
	and	x9, x9, x21
	eor	x8, x9, x8, asr #1
	lsr	x9, x8, #1
	and	w8, w8, #0x1
	neg	w8, w8
	and	w8, w8, w21
	eor	w0, w8, w9
	b	LBB0_6
LBB0_9:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_10:
	mov	w8, #1
	str	w8, [x19, #1024]
	cmp	w20, #1, lsl #12                ; =4096
	b.lo	LBB0_13
; %bb.11:
	mov	x8, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	x9, x19, x8
	ldr	w10, [x9]
	and	x11, x10, #0xff
	ldr	w11, [x19, x11, lsl #2]
	eor	w10, w11, w10, asr #8
	str	w10, [x9, #1024]
	and	w11, w10, #0xff
	ldr	w11, [x19, w11, uxtw #2]
	eor	w10, w11, w10, asr #8
	str	w10, [x9, #2048]
	and	w11, w10, #0xff
	ldr	w11, [x19, w11, uxtw #2]
	eor	w10, w11, w10, asr #8
	str	w10, [x9, #3072]
	add	x8, x8, #4
	cmp	x8, #1024
	b.ne	LBB0_12
LBB0_13:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
