	.file	"extr_xan.c_xan_wc3_copy_pixel_run.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Overlapping copy"
	.text
	.p2align 4
	.type	xan_wc3_copy_pixel_run, @function
xan_wc3_copy_pixel_run:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	eax, DWORD PTR 96[rsp]
	add	r12d, eax
	js	.L1
	mov	r10d, edx
	mov	rdx, QWORD PTR 8[rdi]
	mov	r15, rdi
	cmp	r12d, DWORD PTR 4[rdx]
	jge	.L1
	mov	r14d, DWORD PTR [rdx]
	lea	r13d, [r10+r9]
	mov	edi, r9d
	cmp	r13d, r14d
	jge	.L1
	test	r13d, r13d
	js	.L1
	mov	rdx, QWORD PTR 8[rsi]
	mov	ebx, ecx
	mov	r11, QWORD PTR [rdx]
	mov	rdx, QWORD PTR 16[r15]
	mov	rdx, QWORD PTR [rdx]
	mov	QWORD PTR 8[rsp], r11
	mov	rcx, QWORD PTR [rdx]
	mov	rdx, QWORD PTR [rsi]
	mov	edx, DWORD PTR [rdx]
	mov	QWORD PTR 16[rsp], rcx
	imul	r12d, edx
	mov	esi, edx
	imul	ebx, edx
	sub	esi, r14d
	mov	DWORD PTR 28[rsp], esi
	add	r12d, r10d
	add	ebx, r10d
	add	r12d, r9d
	test	rcx, rcx
	je	.L11
	cmp	r11, rcx
	je	.L5
.L6:
	test	r8d, r8d
	je	.L1
	cmp	ebx, r12d
	mov	eax, r12d
	cmovge	eax, ebx
	cmp	eax, DWORD PTR [r15]
	jge	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edx, r14d
	mov	esi, r14d
	mov	edi, r8d
	mov	DWORD PTR 24[rsp], r10d
	sub	esi, r10d
	sub	edx, r13d
	mov	DWORD PTR 4[rsp], r8d
	call	FFMIN3@PLT
	mov	rcx, QWORD PTR 16[rsp]
	mov	ebp, eax
	movsx	rax, r12d
	lea	rsi, [rcx+rax*4]
	mov	rcx, QWORD PTR 8[rsp]
	movsx	rax, ebx
	mov	edx, ebp
	add	ebx, ebp
	add	r12d, ebp
	add	r13d, ebp
	lea	rdi, [rcx+rax*4]
	call	memcpy@PLT
	mov	r10d, DWORD PTR 24[rsp]
	mov	r8d, DWORD PTR 4[rsp]
	add	r10d, ebp
	sub	r8d, ebp
	cmp	r14d, r10d
	jg	.L9
	add	ebx, DWORD PTR 28[rsp]
	xor	r10d, r10d
.L9:
	cmp	r14d, r13d
	jg	.L10
	add	r12d, DWORD PTR 28[rsp]
	xor	r13d, r13d
.L10:
	test	r8d, r8d
	je	.L1
	cmp	r12d, ebx
	mov	eax, ebx
	cmovge	eax, r12d
	cmp	eax, DWORD PTR [r15]
	jl	.L8
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rcx, QWORD PTR 8[rsp]
	mov	QWORD PTR 16[rsp], rcx
.L5:
	imul	eax, r14d
	mov	DWORD PTR 24[rsp], r8d
	mov	DWORD PTR 4[rsp], r10d
	add	edi, eax
	call	FFABS@PLT
	mov	r8d, DWORD PTR 24[rsp]
	mov	r10d, DWORD PTR 4[rsp]
	cmp	eax, r8d
	jge	.L6
	mov	rdi, QWORD PTR 8[r15]
	add	rsp, 40
	.cfi_def_cfa_offset 56
	lea	rsi, .LC0[rip]
	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
	jmp	avpriv_request_sample@PLT
	.cfi_endproc
.LFE0:
	.size	xan_wc3_copy_pixel_run, .-xan_wc3_copy_pixel_run
	.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_xan.c_xan_wc3_copy_pixel_run.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Overlapping copy\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xan_wc3_copy_pixel_run, %function
xan_wc3_copy_pixel_run:
	@ args = 12, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #20
	ldr	ip, [sp, #64]
	mov	fp, r0
	adds	r5, r3, ip
	ldr	r8, [sp, #56]
	ldr	r0, [sp, #60]
	bmi	.L1
	mov	r6, r2
	ldr	r2, [fp, #4]
	ldr	lr, [r2, #4]
	cmp	r5, lr
	bge	.L1
	ldr	r9, [r2]
	add	r7, r6, r0
	cmp	r7, r9
	movlt	r2, #0
	movge	r2, #1
	mov	r4, r3
	orrs	r3, r2, r7, lsr #31
	bne	.L1
	ldr	r2, [r1]
	ldr	lr, [fp, #8]
	ldr	r2, [r2]
	ldr	lr, [lr]
	mla	r5, r2, r5, r6
	ldr	r1, [r1, #4]
	ldr	r3, [lr]
	mla	r4, r2, r4, r6
	sub	r2, r2, r9
	str	r2, [sp, #12]
	ldr	r2, [r1]
	cmp	r3, #0
	str	r3, [sp, #8]
	add	r5, r5, r0
	str	r2, [sp, #4]
	beq	.L11
	cmp	r2, r3
	beq	.L5
.L6:
	cmp	r8, #0
	beq	.L1
	cmp	r4, r5
	movge	r1, r4
	movlt	r1, r5
	ldr	r2, [fp]
	cmp	r1, r2
	movlt	r10, fp
	bge	.L1
.L8:
	sub	r2, r9, r7
	sub	r1, r9, r6
	mov	r0, r8
	bl	FFMIN3
	ldr	r3, [sp, #8]
	mov	fp, r0
	add	r1, r3, r5, lsl #2
	ldr	r3, [sp, #4]
	add	r6, r6, r0
	mov	r2, r0
	add	r0, r3, r4, lsl #2
	bl	memcpy
	cmp	r9, r6
	ldrle	r3, [sp, #12]
	add	r7, r7, fp
	add	r4, r4, fp
	addle	r4, r4, r3
	movle	r6, #0
	cmp	r9, r7
	ldrle	r3, [sp, #12]
	sub	r8, r8, fp
	add	r5, r5, fp
	movle	r7, #0
	addle	r5, r5, r3
	cmp	r8, #0
	beq	.L1
	cmp	r5, r4
	movge	r1, r5
	movlt	r1, r4
	ldr	r2, [r10]
	cmp	r1, r2
	blt	.L8
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	ldr	r3, [sp, #4]
	str	r3, [sp, #8]
.L5:
	mla	r0, ip, r9, r0
	bl	FFABS
	cmp	r0, r8
	bge	.L6
	ldr	r0, [fp, #4]
	ldr	r1, .L23
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	avpriv_request_sample
.L24:
	.align	2
.L23:
	.word	.LC0
	.size	xan_wc3_copy_pixel_run, .-xan_wc3_copy_pixel_run
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
