	.file	"extr_vp8l_dec.c_ConvertToYUVA.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ConvertToYUVA, @function
ConvertToYUVA:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rcx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR [rcx]
	imul	esi, edx
	mov	edx, r12d
	movsx	rsi, esi
	add	rsi, QWORD PTR 40[rcx]
	call	WebPConvertARGBToY@PLT
	mov	edx, DWORD PTR 8[rbx]
	mov	eax, ebp
	mov	rcx, QWORD PTR 24[rbx]
	sar	eax
	mov	r8d, ebp
	mov	rdi, r13
	imul	edx, eax
	not	r8d
	imul	eax, DWORD PTR 4[rbx]
	and	r8d, 1
	movsx	rdx, edx
	lea	rdx, [rcx+rdx*4]
	mov	rcx, QWORD PTR 32[rbx]
	cdqe
	lea	rsi, [rcx+rax*4]
	mov	ecx, r12d
	call	WebPConvertARGBToUV@PLT
	mov	rax, QWORD PTR 16[rbx]
	test	rax, rax
	je	.L1
	imul	ebp, DWORD PTR 12[rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	lea	rdi, 12[r13]
	mov	edx, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	xor	r9d, r9d
	mov	ecx, 1
	xor	esi, esi
	movsx	rbp, ebp
	lea	r8, [rax+rbp*4]
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	WebPExtractAlpha@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ConvertToYUVA, .-ConvertToYUVA
	.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_vp8l_dec.c_ConvertToYUVA.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ConvertToYUVA, %function
ConvertToYUVA:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r2
	mov	r6, r1
	mov	r4, r3
	ldr	r1, [r3]
	ldr	r3, [r3, #28]
	sub	sp, sp, #12
	mla	r1, r5, r1, r3
	mov	r2, r6
	mov	r7, r0
	bl	WebPConvertARGBToY
	ldmib	r4, {r2, r3}
	mvn	r0, r5
	asr	r1, r5, #1
	mul	r3, r1, r3
	mul	r1, r2, r1
	ldr	ip, [r4, #24]
	ldr	r2, [r4, #20]
	and	r0, r0, #1
	str	r0, [sp]
	add	r2, r2, r3, lsl #2
	mov	r0, r7
	mov	r3, r6
	add	r1, ip, r1, lsl #2
	bl	WebPConvertARGBToUV
	ldr	r3, [r4, #16]
	cmp	r3, #0
	beq	.L1
	mov	r1, #0
	ldr	r0, [r4, #12]
	mov	r2, r6
	mul	r5, r0, r5
	add	r5, r3, r5, lsl #2
	str	r5, [sp]
	mov	r3, #1
	add	r0, r7, #12
	str	r1, [sp, #4]
	bl	WebPExtractAlpha
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
	.size	ConvertToYUVA, .-ConvertToYUVA
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
