	.file	"extr_avf_avectorscope.c_draw_line.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	draw_line, @function
draw_line:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, r8d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	edi, ecx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	sub	edi, esi
	mov	ebp, ecx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	DWORD PTR 20[rsp], r8d
	call	FFABS@PLT
	xor	edx, edx
	cmp	ebp, r14d
	mov	edi, r13d
	setg	dl
	sub	edi, r15d
	mov	DWORD PTR 16[rsp], eax
	lea	esi, -1[rdx+rdx]
	mov	DWORD PTR 24[rsp], esi
	call	FFABS@PLT
	xor	esi, esi
	cmp	r13d, r15d
	setg	sil
	mov	ebx, eax
	lea	ecx, -1[rsi+rsi]
	mov	DWORD PTR 28[rsp], ecx
	cmp	DWORD PTR 16[rsp], eax
	jg	.L4
	mov	ecx, eax
	shr	ecx, 31
	add	ecx, eax
	sar	ecx
	neg	ecx
	mov	r13d, ecx
.L6:
	mov	eax, DWORD PTR 16[rsp]
	neg	eax
	mov	DWORD PTR 12[rsp], eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	mov	eax, r13d
	cmp	DWORD PTR 12[rsp], r13d
	jge	.L9
	sub	eax, ebx
	add	r14d, DWORD PTR 24[rsp]
.L9:
	cmp	r13d, ebx
	jge	.L10
	add	eax, DWORD PTR 16[rsp]
	add	r15d, DWORD PTR 28[rsp]
.L10:
	mov	r13d, eax
.L5:
	mov	edx, r15d
	mov	esi, r14d
	mov	rdi, r12
	call	draw_dot@PLT
	cmp	r14d, ebp
	jne	.L14
	cmp	r15d, DWORD PTR 20[rsp]
	jne	.L14
	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
.L4:
	.cfi_restore_state
	mov	eax, DWORD PTR 16[rsp]
	mov	ecx, eax
	shr	ecx, 31
	add	ecx, eax
	sar	ecx
	mov	r13d, ecx
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	draw_line, .-draw_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_avf_avectorscope.c_draw_line.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_line, %function
draw_line:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r3
	sub	sp, sp, #20
	mov	fp, r1
	mov	r6, r0
	sub	r0, r3, r1
	mov	r9, r2
	ldr	r7, [sp, #56]
	bl	FFABS
	cmp	r5, fp
	movgt	r3, #1
	mvnle	r3, #0
	mov	r8, r0
	sub	r0, r7, r9
	str	r3, [sp, #8]
	str	r8, [sp, #4]
	bl	FFABS
	cmp	r7, r9
	movgt	r3, #1
	mvnle	r3, #0
	cmp	r8, r0
	mov	r4, r0
	str	r3, [sp, #12]
	bgt	.L4
	add	r3, r0, r0, lsr #31
	asr	r3, r3, #1
	rsb	r10, r3, #0
.L6:
	ldr	r3, [sp, #4]
	rsb	r8, r3, #0
	mov	r3, r9
	mov	r9, r10
	mov	r10, fp
	mov	fp, r3
	b	.L5
.L15:
	cmp	r8, r9
	ldrlt	r3, [sp, #8]
	movge	r0, r9
	addlt	r10, r10, r3
	sublt	r0, r9, r4
	cmp	r9, r4
	ldrlt	r3, [sp, #4]
	addlt	r0, r0, r3
	ldrlt	r3, [sp, #12]
	addlt	fp, fp, r3
.L9:
	mov	r9, r0
.L5:
	mov	r2, fp
	mov	r1, r10
	mov	r0, r6
	bl	draw_dot
	cmp	r10, r5
	cmpeq	fp, r7
	bne	.L15
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	ldr	r3, [sp, #4]
	add	r3, r3, r3, lsr #31
	asr	r10, r3, #1
	b	.L6
	.size	draw_line, .-draw_line
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
