	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vc1_h_overlap_c
_vc1_h_overlap_c:                       ## @vc1_h_overlap_c
	.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	%rdi, %r14
	movslq	%esi, %rax
	shlq	$2, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %r12d
	movl	$8, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	-8(%r14), %eax
	movl	-4(%r14), %edi
	movl	(%r14), %esi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	4(%r14), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %ecx
	subl	%edx, %ecx
	leal	(%r12,%rcx), %r15d
	addl	$3, %r15d
	sarl	$3, %r15d
	leal	(%r12,%rsi), %edx
	movl	%edi, %esi
	subl	%edx, %esi
	leal	(%rcx,%rsi), %ebx
	addl	$4, %ebx
	sarl	$3, %ebx
	subl	%r15d, %eax
	movl	%eax, -8(%r14)
	subl	%ebx, %edi
	callq	_av_clip_uint8
	movl	%eax, -4(%r14)
	addl	-64(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	%ebx, %edi
	callq	_av_clip_uint8
	movl	%eax, (%r14)
	addl	-44(%rbp), %r15d                ## 4-byte Folded Reload
	movl	%r15d, 4(%r14)
	xorl	$1, %r12d
	addq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	decl	%r13d
	jne	LBB0_1
## %bb.2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vc1_h_overlap_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vc1_h_overlap_c
_vc1_h_overlap_c:                       ; @vc1_h_overlap_c
	.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 $w1 killed $w1 def $x1
	mov	x19, x0
	sbfiz	x20, x1, #2, #32
	mov	w21, #1
	mov	w22, #8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w8, w9, [x19, #-8]
	ldp	w23, w24, [x19]
	sub	w10, w8, w24
	add	w11, w21, w10
	add	w11, w11, #3
	asr	w25, w11, #3
	add	w11, w21, w23
	sub	w11, w9, w11
	add	w10, w11, w10
	add	w10, w10, #4
	asr	w26, w10, #3
	sub	w8, w8, w25
	stur	w8, [x19, #-8]
	sub	w0, w9, w26
	bl	_av_clip_uint8
	stur	w0, [x19, #-4]
	add	w0, w26, w23
	bl	_av_clip_uint8
	add	w8, w25, w24
	stp	w0, w8, [x19]
	eor	w21, w21, #0x1
	add	x19, x19, x20
	subs	w22, w22, #1
	b.ne	LBB0_1
; %bb.2:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vc1_h_overlap_c
.subsections_via_symbols
