	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vc1_h_s_overlap_c
_vc1_h_s_overlap_c:                     ## @vc1_h_s_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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %eax
	andl	$2, %eax
	xorl	%r9d, %r9d
	cmpl	$1, %eax
	adcl	$3, %r9d
	movl	%r9d, %r10d
	xorl	$7, %r10d
	movslq	%ecx, %r8
	movslq	%edx, %r11
	addq	$28, %rdi
	shlq	$2, %r11
	addq	$4, %rsi
	shlq	$2, %r8
	movl	$8, %r12d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rdi), %r15d
	movl	(%rdi), %ecx
	movl	-4(%rsi), %r13d
	movl	(%rsi), %r14d
	movl	%r15d, %ebx
	subl	%r14d, %ebx
	leal	(%r10,%rcx,8), %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	subl	%r13d, %ecx
	addl	%ebx, %ecx
	subl	%ecx, %edx
	leal	(%r9,%r13,8), %eax
	addl	%ecx, %eax
	leal	(%r9,%r15,8), %ecx
	subl	%ebx, %ecx
	addl	%r10d, %ebx
	leal	(%rbx,%r14,8), %ebx
	sarl	$3, %ecx
	movl	%ecx, -4(%rdi)
	sarl	$3, %edx
	sarl	$3, %eax
	sarl	$3, %ebx
	movl	%edx, (%rdi)
	movl	$7, %ecx
	subl	%r10d, %ecx
	movl	%eax, -4(%rsi)
	movl	$7, %eax
	subl	%r9d, %eax
	testb	$1, -44(%rbp)                   ## 1-byte Folded Reload
	cmovel	%r9d, %eax
	cmovel	%r10d, %ecx
	movl	%ebx, (%rsi)
	addq	%r11, %rdi
	addq	%r8, %rsi
	movl	%ecx, %r10d
	movl	%eax, %r9d
	decl	%r12d
	jne	LBB0_1
## %bb.2:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vc1_h_s_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_s_overlap_c
_vc1_h_s_overlap_c:                     ; @vc1_h_s_overlap_c
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w3 killed $w3 def $x3
                                        ; kill: def $w2 killed $w2 def $x2
	tst	w4, #0x2
	mov	w8, #3
	cinc	w8, w8, eq
	eor	w9, w8, #0x7
	add	x10, x0, #28
	sbfiz	x11, x2, #2, #32
	add	x12, x1, #4
	sbfiz	x13, x3, #2, #32
	mov	w14, #8
	mov	w15, #7
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w16, w17, [x10, #-4]
	ldp	w2, w0, [x12, #-4]
	add	w1, w8, w16, lsl #3
	sub	w16, w16, w0
	sub	w1, w1, w16
	sub	w3, w17, w2
	add	w3, w3, w16
	asr	w1, w1, #3
	add	w17, w9, w17, lsl #3
	sub	w17, w17, w3
	asr	w17, w17, #3
	add	w2, w8, w2, lsl #3
	add	w2, w2, w3
	asr	w2, w2, #3
	add	w16, w16, w9
	add	w16, w16, w0, lsl #3
	asr	w16, w16, #3
	stp	w1, w17, [x10, #-4]
	sub	w17, w15, w9
	sub	w0, w15, w8
	tst	w4, #0x1
	csel	w8, w8, w0, eq
	stp	w2, w16, [x12, #-4]
	csel	w9, w9, w17, eq
	add	x10, x10, x11
	add	x12, x12, x13
	subs	w14, w14, #1
	b.ne	LBB0_1
; %bb.2:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vc1_h_s_overlap_c
.subsections_via_symbols
