	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_vc1_v_overlap_mmi           ## -- Begin function ff_vc1_v_overlap_mmi
	.p2align	4, 0x90
_ff_vc1_v_overlap_mmi:                  ## @ff_vc1_v_overlap_mmi
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	leal	(%rsi,%rsi), %eax
	negl	%eax
	cltq
	movslq	%esi, %rcx
	negl	%esi
	movslq	%esi, %rdx
	leaq	(%rdi,%rax,4), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	(%rdi,%rdx,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rdi,%rcx,4), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %r14d
	xorl	%r15d, %r15d
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi,%r15,4), %eax
	movl	(%r13,%r15,4), %edi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%r15,4), %edx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%r15,4), %ebx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	leal	(%r14,%rdx), %ecx
	movl	%edi, %edx
	subl	%ecx, %edx
	movl	%eax, %ecx
	subl	%ebx, %ecx
	leal	(%rcx,%rdx), %ebx
	addl	$4, %ebx
	leal	(%r14,%rcx), %r12d
	addl	$3, %r12d
	sarl	$3, %r12d
	subl	%r12d, %eax
	movl	%eax, (%rsi,%r15,4)
	sarl	$3, %ebx
	subl	%ebx, %edi
	callq	_av_clip_uint8
	movl	%eax, (%r13,%r15,4)
	addl	-88(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	%ebx, %edi
	callq	_av_clip_uint8
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r15,4)
	addl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax,%r15,4)
	xorl	$1, %r14d
	incq	%r15
	cmpl	$8, %r15d
	jne	LBB0_1
## %bb.2:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_vc1_v_overlap_mmi           ; -- Begin function ff_vc1_v_overlap_mmi
	.p2align	2
_ff_vc1_v_overlap_mmi:                  ; @ff_vc1_v_overlap_mmi
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x19, x0
	mov	x20, #0
	sub	x21, x0, w1, sxtw #3
	sbfiz	x8, x1, #2, #32
	sub	x22, x0, x8
	add	x23, x0, x8
	mov	w24, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21, x20]
	ldr	w9, [x22, x20]
	ldr	w25, [x19, x20]
	ldr	w26, [x23, x20]
	sub	w10, w8, w26
	add	w11, w24, w10
	add	w11, w11, #3
	asr	w27, w11, #3
	add	w11, w24, w25
	sub	w11, w9, w11
	add	w10, w11, w10
	add	w10, w10, #4
	asr	w28, w10, #3
	sub	w8, w8, w27
	str	w8, [x21, x20]
	sub	w0, w9, w28
	bl	_av_clip_uint8
	str	w0, [x22, x20]
	add	w0, w28, w25
	bl	_av_clip_uint8
	str	w0, [x19, x20]
	add	w8, w27, w26
	str	w8, [x23, x20]
	eor	w24, w24, #0x1
	add	x20, x20, #4
	cmp	w20, #32
	b.ne	LBB0_1
; %bb.2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
