	.file	"extr_vidsoft.c_DrawLineCallback.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	DrawLineCallback, @function
DrawLineCallback:
.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
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	imul	edx, DWORD PTR [rcx]
	mov	eax, DWORD PTR 32[rcx]
	mov	edi, DWORD PTR 12[rcx]
	add	DWORD PTR leftColumnColor[rip+8], eax
	mov	eax, DWORD PTR 24[rcx]
	add	DWORD PTR leftColumnColor[rip+4], eax
	mov	ebp, edx
	mov	eax, DWORD PTR 16[rcx]
	mov	rcx, QWORD PTR 64[rsp]
	mov	rdx, r9
	mov	esi, ebp
	add	DWORD PTR leftColumnColor[rip], eax
	call	getpixel@PLT
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR 8[rbx]
	cmp	DWORD PTR 4[rbx], ebp
	je	.L3
	add	eax, 1
	mov	DWORD PTR 4[rbx], ebp
	mov	DWORD PTR 8[rbx], eax
.L3:
	cmp	eax, 2
	sete	al
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movzx	eax, al
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	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
.L2:
	.cfi_restore_state
	cmp	DWORD PTR vdp1pixelsize[rip], 2
	mov	rcx, r15
	mov	rdx, r14
	mov	esi, r13d
	mov	r8, QWORD PTR 72[rsp]
	mov	edi, r12d
	je	.L7
	call	putpixel8@PLT
	mov	eax, DWORD PTR 8[rbx]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	call	putpixel@PLT
	mov	eax, DWORD PTR 8[rbx]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	DrawLineCallback, .-DrawLineCallback
	.comm	vdp1pixelsize,4,4
	.comm	leftColumnColor,12,8
	.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_vidsoft.c_DrawLineCallback.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	DrawLineCallback, %function
DrawLineCallback:
	@ args = 16, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r3
	ldr	r5, [r3]
	ldr	r3, .L8
	mul	r5, r2, r5
	ldr	ip, [r3, #4]
	ldr	r2, [r4, #20]
	ldr	r7, [r3, #8]
	ldr	lr, [r4, #24]
	ldr	r6, [r4, #16]
	sub	sp, sp, #8
	add	r2, ip, r2
	ldr	ip, [r3]
	add	lr, r7, lr
	ldr	r7, [sp, #36]
	add	ip, ip, r6
	str	r2, [r3, #4]
	str	lr, [r3, #8]
	str	ip, [r3]
	mov	r8, r1
	mov	r6, r0
	mov	r1, r5
	mov	r2, r7
	ldr	r0, [r4, #12]
	ldr	r3, [sp, #40]
	bl	getpixel
	cmp	r0, #0
	beq	.L2
	ldr	r3, [r4, #4]
	ldr	r0, [r4, #8]
	cmp	r3, r5
	addne	r0, r0, #1
	strne	r0, [r4, #8]
	strne	r5, [r4, #4]
.L3:
	cmp	r0, #2
	movne	r0, #0
	mvneq	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L8+4
	mov	r1, r8
	ldr	r3, [r3]
	mov	r0, r6
	cmp	r3, #2
	ldr	r3, [sp, #44]
	ldr	r2, [sp, #32]
	str	r3, [sp]
	mov	r3, r7
	beq	.L7
	bl	putpixel8
	ldr	r0, [r4, #8]
	b	.L3
.L7:
	bl	putpixel
	ldr	r0, [r4, #8]
	b	.L3
.L9:
	.align	2
.L8:
	.word	leftColumnColor
	.word	vdp1pixelsize
	.size	DrawLineCallback, .-DrawLineCallback
	.comm	vdp1pixelsize,4,4
	.comm	leftColumnColor,12,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
