	.file	"extr_drawutils.c_blend_line.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	blend_line, @function
blend_line:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	eax, 16843009
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, eax
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edx
	sub	r12d, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movsx	rbx, ecx
	mov	ecx, r9d
	mov	r9d, DWORD PTR 40[rsp]
	imul	ebp, esi
	mov	r13d, DWORD PTR 48[rsp]
	test	r9d, r9d
	je	.L2
	imul	r9d, edx
	shr	r9d, cl
	sub	eax, r9d
	imul	r9d, esi
	imul	eax, DWORD PTR [rdi]
	add	eax, r9d
	shr	eax, 24
	mov	DWORD PTR [rdi], eax
	movsx	rax, ebx
	lea	rdi, [rdi+rax*4]
.L2:
	test	r8d, r8d
	jle	.L3
	sal	rbx, 2
	mov	r11, rdi
	xor	r10d, r10d
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR [r11]
	imul	eax, r12d
	add	eax, ebp
	shr	eax, 24
	mov	DWORD PTR [r11], eax
	mov	eax, r10d
	add	r10d, 1
	add	r11, rbx
	cmp	r8d, r10d
	jne	.L4
	add	rax, 1
	imul	rbx, rax
	add	rdi, rbx
.L3:
	test	r13d, r13d
	je	.L1
	imul	edx, r13d
	mov	eax, 16843009
	shr	edx, cl
	imul	esi, edx
	sub	eax, edx
	imul	eax, DWORD PTR [rdi]
	add	esi, eax
	shr	esi, 24
	mov	DWORD PTR [rdi], esi
.L1:
	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	blend_line, .-blend_line
	.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_drawutils.c_blend_line.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	blend_line, %function
blend_line:
	@ args = 16, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	lr, [sp, #40]
	ldr	ip, .L15
	cmp	lr, #0
	mul	r6, r1, r2
	ldr	r5, [sp, #32]
	ldr	r9, [sp, #36]
	ldr	r8, [sp, #44]
	sub	r7, ip, r2
	beq	.L2
	mul	lr, r2, lr
	lsr	lr, lr, r9
	mul	r4, lr, r1
	ldr	r10, [r0]
	sub	ip, ip, lr
	mla	ip, r10, ip, r4
	lsr	ip, ip, #24
	str	ip, [r0]
	add	r0, r0, r3, lsl #2
.L2:
	cmp	r5, #0
	ble	.L3
	mov	ip, #0
	mov	lr, ip
	lsl	r4, r3, #2
.L4:
	ldr	r3, [r0, ip]
	add	lr, lr, #1
	mla	r3, r7, r3, r6
	cmp	r5, lr
	lsr	r3, r3, #24
	str	r3, [r0, ip]
	add	ip, ip, r4
	bne	.L4
	mla	r0, r4, r5, r0
.L3:
	cmp	r8, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mul	r2, r8, r2
	lsr	r9, r2, r9
	mul	r1, r9, r1
	ldr	r3, .L15
	ldr	r2, [r0]
	sub	r3, r3, r9
	mla	r3, r2, r3, r1
	lsr	r3, r3, #24
	str	r3, [r0]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	.align	2
.L15:
	.word	16843009
	.size	blend_line, .-blend_line
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
