	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_block
_copy_block:                            ## @copy_block
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
                                        ## kill: def $r8d killed $r8d def $r8
	movl	%ecx, %r10d
	testl	%ecx, %ecx
	setg	%cl
	testl	%r9d, %r9d
	js	LBB0_8
## %bb.1:
	testl	%r8d, %r8d
	js	LBB0_8
## %bb.2:
	movl	16(%rbp), %r11d
	addl	%r8d, %r11d
	js	LBB0_8
## %bb.3:
	movl	24(%rbp), %r15d
	addl	%r9d, %r15d
	js	LBB0_8
## %bb.4:
	movl	32(%rbp), %eax
	addl	%r8d, %eax
	movl	(%rdi), %ebx
	sarl	%cl, %ebx
	cmpl	%ebx, %eax
	jle	LBB0_5
LBB0_8:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_13:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	32(%rbp), %eax
	addl	%r9d, %eax
	movl	4(%rdi), %edi
	sarl	%cl, %edi
	cmpl	%edi, %eax
	jg	LBB0_8
## %bb.6:
	movl	32(%rbp), %eax
	addl	%r11d, %eax
	cmpl	%ebx, %eax
	jg	LBB0_8
## %bb.7:
	movl	32(%rbp), %eax
	addl	%r15d, %eax
	cmpl	%edi, %eax
	jg	LBB0_8
## %bb.9:
	xorl	%ecx, %ecx
	movl	32(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_13
## %bb.10:
	movslq	%r10d, %rax
	movq	8(%rdx), %rcx
	movq	(%rcx,%rax,8), %rcx
	movq	8(%rsi), %rdi
	movq	(%rdi,%rax,8), %rdi
	movq	(%rsi), %rsi
	movslq	(%rsi,%rax,4), %r13
	imull	%r13d, %r9d
	addl	%r8d, %r9d
	movq	(%rdx), %rdx
	movslq	(%rdx,%rax,4), %r14
	imull	%r14d, %r15d
	addl	%r11d, %r15d
	movslq	%r15d, %rax
	movslq	%r9d, %rdx
	leaq	(%rdi,%rdx,4), %r12
	shlq	$2, %r13
	leaq	(%rcx,%rax,4), %rbx
	shlq	$2, %r14
	movl	32(%rbp), %eax
	movl	%eax, %r15d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	32(%rbp), %edx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	addq	%r13, %r12
	addq	%r14, %rbx
	decl	%r15d
	jne	LBB0_11
## %bb.12:
	xorl	%ecx, %ecx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_copy_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_block
_copy_block:                            ; @copy_block
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
                                        ; kill: def $w3 killed $w3 def $x3
	cmp	w3, #0
	cset	w10, gt
	tbnz	w5, #31, LBB0_5
; %bb.1:
	tbnz	w4, #31, LBB0_5
; %bb.2:
	add	w8, w6, w4
	tbnz	w8, #31, LBB0_5
; %bb.3:
	add	w9, w7, w5
	tbnz	w9, #31, LBB0_5
; %bb.4:
	ldr	w19, [x29, #16]
	ldr	w11, [x0]
	asr	w11, w11, w10
	add	w12, w19, w4
	cmp	w12, w11
	b.le	LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w12, [x0, #4]
	asr	w10, w12, w10
	add	w12, w19, w5
	cmp	w12, w10
	b.gt	LBB0_5
; %bb.8:
	add	w12, w8, w19
	cmp	w12, w11
	b.gt	LBB0_5
; %bb.9:
	add	w11, w9, w19
	cmp	w11, w10
	b.gt	LBB0_5
; %bb.10:
	cmp	w19, #1
	b.lt	LBB0_13
; %bb.11:
	sxtw	x10, w3
	sbfiz	x11, x3, #3, #32
	ldp	x13, x12, [x2]
	ldr	x12, [x12, x11]
	ldp	x15, x14, [x1]
	ldr	x11, [x14, x11]
	lsl	x10, x10, #2
	ldrsw	x14, [x15, x10]
	madd	w15, w14, w5, w4
	ldrsw	x10, [x13, x10]
	madd	w8, w10, w9, w8
	add	x20, x11, w15, sxtw #2
	lsl	x22, x14, #2
	add	x21, x12, w8, sxtw #2
	lsl	x23, x10, #2
	mov	x24, x19
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_memcpy
	add	x20, x20, x22
	add	x21, x21, x23
	subs	w24, w24, #1
	b.ne	LBB0_12
LBB0_13:
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_copy_block
.subsections_via_symbols
