	.file	"extr_graphics.c_blend_colors_premult.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	blend_colors_premult, @function
blend_colors_premult:
.LFB0:
	.cfi_startproc
	endbr64
	mulss	xmm0, DWORD PTR .LC0[rip]
	mov	edx, esi
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	ebx, edi
	addss	xmm0, DWORD PTR .LC1[rip]
	movzx	eax, bh
	movzx	ecx, dh
	mov	esi, edi
	sal	ebx, 8
	sub	ecx, eax
	mov	eax, edi
	mov	r9d, edi
	and	eax, 65280
	movzx	edi, dil
	movzx	ebx, bx
	sar	r9d, 24
	cvttss2si	r8d, xmm0
	sar	esi, 16
	imul	ecx, r8d
	add	ecx, eax
	movzx	eax, dl
	sub	eax, edi
	mov	edi, edx
	xor	cl, cl
	sar	edx, 16
	imul	eax, r8d
	sar	edi, 24
	movzx	edx, dl
	add	eax, ebx
	pop	rbx
	.cfi_def_cfa_offset 8
	sar	eax, 8
	or	ecx, eax
	mov	eax, edi
	sub	eax, r9d
	sal	r9d, 8
	imul	eax, r8d
	lea	eax, [rax+r9]
	sar	eax, 8
	sal	eax, 24
	or	ecx, eax
	movzx	eax, sil
	sal	esi, 8
	sub	edx, eax
	mov	eax, edx
	imul	eax, r8d
	mov	edx, eax
	movzx	eax, si
	add	eax, edx
	sar	eax, 8
	sal	eax, 16
	or	eax, ecx
	ret
	.cfi_endproc
.LFE0:
	.size	blend_colors_premult, .-blend_colors_premult
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1132396544
	.align 4
.LC1:
	.long	1056964608
	.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_graphics.c_blend_colors_premult.c"
	.text
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.global	__aeabi_f2iz
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	blend_colors_premult, %function
blend_colors_premult:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r5, r1
	mov	r0, r2
	ldr	r1, .L4
	bl	__aeabi_fmul
	mov	r1, #1056964608
	bl	__aeabi_fadd
	bl	__aeabi_f2iz
	asr	r2, r4, #8
	ldr	r7, .L4+4
	lsl	r3, r5, #16
	and	r2, r2, #255
	and	r1, r4, #65280
	asr	ip, r4, #24
	rsb	r2, r2, r3, lsr #24
	and	r6, r5, #255
	and	r3, r4, #255
	mla	r2, r0, r2, r1
	sub	r6, r6, r3
	lsl	r1, ip, #8
	and	r3, r7, r4, lsl #8
	asr	ip, r5, #24
	mla	r6, r0, r6, r3
	sub	ip, ip, r4, asr #24
	asr	r3, r4, #16
	mla	ip, r0, ip, r1
	lsl	lr, r5, #8
	and	r1, r3, #255
	rsb	r1, r1, lr, lsr #24
	and	r3, r7, r3, lsl #8
	mla	r0, r1, r0, r3
	bic	r2, r2, #255
	orr	r2, r2, r6, asr #8
	asr	r3, ip, #8
	orr	r2, r2, r3, lsl #24
	asr	r0, r0, #8
	orr	r0, r2, r0, lsl #16
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	1132396544
	.word	65535
	.size	blend_colors_premult, .-blend_colors_premult
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
