	.file	"extr_draw-edge.c_blit_sharp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	blit_sharp, @function
blit_sharp:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r9
	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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r12d, DWORD PTR [r8]
	mov	rax, QWORD PTR 80[rsp]
	mov	r13, QWORD PTR 88[rsp]
	mov	DWORD PTR 4[rsp], edx
	movsx	rdx, DWORD PTR 4[r8]
	mov	QWORD PTR 8[rsp], rax
	mov	rsi, rdx
	add	rdx, QWORD PTR 32[r8]
	call	fz_clampi@PLT
	movsx	rdx, DWORD PTR 4[rbx]
	mov	edi, ebp
	mov	r14d, eax
	mov	rsi, rdx
	add	rdx, QWORD PTR 32[rbx]
	call	fz_clampi@PLT
	cmp	r14d, eax
	jge	.L1
	mov	esi, DWORD PTR 24[rbx]
	mov	edx, r14d
	sub	edx, DWORD PTR 4[rbx]
	sub	eax, r14d
	mov	ebp, DWORD PTR 4[rsp]
	sub	ebp, DWORD PTR 16[rbx]
	imul	edx, esi
	imul	ebp, DWORD PTR 20[rbx]
	lea	edi, 0[rbp+rdx]
	mov	edx, eax
	add	rdi, QWORD PTR 8[rbx]
	test	r15, r15
	je	.L3
	mov	rax, QWORD PTR 8[rsp]
	mov	r9, r13
	mov	r8d, r12d
	mov	rcx, r15
	mov	rax, QWORD PTR [rax]
	add	rsp, 24
	.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
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 24
	.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
.L3:
	.cfi_restore_state
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	esi, 255
	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	memset@PLT
	.cfi_endproc
.LFE0:
	.size	blit_sharp, .-blit_sharp
	.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_draw-edge.c_blit_sharp.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	blit_sharp, %function
blit_sharp:
	@ args = 16, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #4
	ldr	r4, [sp, #40]
	mov	fp, r1
	mov	r5, r2
	ldr	r1, [r4, #4]
	ldr	r2, [r4, #24]
	ldr	r8, [r4]
	add	r2, r1, r2
	ldr	r10, [sp, #44]
	ldr	r7, [sp, #48]
	ldr	r9, [sp, #52]
	bl	fz_clampi
	ldr	r1, [r4, #4]
	ldr	r2, [r4, #24]
	mov	r6, r0
	add	r2, r1, r2
	mov	r0, fp
	bl	fz_clampi
	cmp	r6, r0
	bge	.L1
	ldr	r3, [r4, #4]
	ldr	r1, [r4, #20]
	sub	r3, r6, r3
	ldr	r2, [r4, #12]
	mul	r3, r1, r3
	sub	r5, r5, r2
	ldr	r2, [r4, #16]
	ldr	ip, [r4, #8]
	mla	r5, r2, r5, r3
	cmp	r10, #0
	sub	r2, r0, r6
	add	r0, ip, r5
	beq	.L3
	str	r9, [sp, #44]
	str	r8, [sp, #40]
	ldr	lr, [r7]
	mov	r3, r10
	mov	ip, lr
	add	sp, sp, #4
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx	ip
.L1:
	add	sp, sp, #4
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
	mov	r1, #255
	add	sp, sp, #4
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	memset
	.size	blit_sharp, .-blit_sharp
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
