	.file	"extr_vc1dsp.c_vc1_h_s_overlap_c.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vc1_h_s_overlap_c, @function
vc1_h_s_overlap_c:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, r8d
	movsx	rcx, ecx
	movsx	rdx, edx
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	and	eax, 2
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	lea	r11, 0[0+rcx*4]
	lea	rcx, 0[0+rdx*4]
	cmp	eax, 1
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	edx, 8
	sbb	r10d, r10d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	add	r10d, 4
	cmp	eax, 1
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	sbb	r9d, r9d
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	and	r8d, 1
	mov	ebx, 7
	not	r9d
	add	r9d, 4
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR 24[rdi]
	mov	r12d, DWORD PTR 4[rsi]
	mov	r15d, DWORD PTR 28[rdi]
	mov	r14d, DWORD PTR [rsi]
	mov	ebp, eax
	lea	eax, [r9+rax*8]
	sub	ebp, r12d
	sub	eax, ebp
	lea	r13d, [r15+rbp]
	sar	eax, 3
	sub	r13d, r14d
	mov	DWORD PTR 24[rdi], eax
	lea	eax, [r10+r15*8]
	sub	eax, r13d
	sar	eax, 3
	mov	DWORD PTR 28[rdi], eax
	lea	eax, 0[r13+r14*8]
	add	rdi, rcx
	add	eax, r9d
	sar	eax, 3
	mov	DWORD PTR [rsi], eax
	lea	eax, 0[rbp+r12*8]
	add	eax, r10d
	sar	eax, 3
	mov	DWORD PTR 4[rsi], eax
	add	rsi, r11
	test	r8d, r8d
	je	.L3
	mov	eax, ebx
	sub	eax, r10d
	mov	r10d, eax
	mov	eax, ebx
	sub	eax, r9d
	mov	r9d, eax
.L3:
	sub	edx, 1
	jne	.L4
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	vc1_h_s_overlap_c, .-vc1_h_s_overlap_c
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_vc1dsp.c_vc1_h_s_overlap_c.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vc1_h_s_overlap_c, %function
vc1_h_s_overlap_c:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r8, [sp, #36]
	mov	r5, #8
	and	ip, r8, #2
	cmp	ip, #0
	movne	r7, #4
	moveq	r7, #3
	movne	r6, #3
	moveq	r6, #4
	lsl	r2, r2, #2
	lsl	r3, r3, #2
	and	r8, r8, #1
.L4:
	ldr	fp, [r1, #4]
	ldr	r9, [r0, #24]
	ldr	r4, [r0, #28]
	ldr	r10, [r1]
	sub	lr, r9, fp
	add	ip, r4, lr
	sub	ip, ip, r10
	rsb	r9, lr, r9, lsl #3
	rsb	r4, ip, r4, lsl #3
	add	lr, lr, fp, lsl #3
	add	ip, ip, r10, lsl #3
	cmp	r8, #0
	add	r9, r9, r6
	add	lr, lr, r7
	add	r4, r4, r7
	add	ip, ip, r6
	asr	r9, r9, #3
	asr	lr, lr, #3
	asr	r4, r4, #3
	asr	ip, ip, #3
	rsbne	r7, r7, #7
	rsbne	r6, r6, #7
	subs	r5, r5, #1
	str	r9, [r0, #24]
	str	r4, [r0, #28]
	stm	r1, {ip, lr}
	add	r0, r0, r2
	add	r1, r1, r3
	bne	.L4
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	vc1_h_s_overlap_c, .-vc1_h_s_overlap_c
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
