// File: Olverine[P]TerminalGraphics/./Graphics.h
// Function: DrawLine(glm::tvec3<float, (glm::precision)0>, glm::tvec3<float, (glm::precision)0>)
void DrawLine(vec3 p1, vec3 p2) {
	int i, dx, dy, dz, l, m, n, x_inc, y_inc, z_inc, err_1, err_2, dx2, dy2, dz2;
	vec3 point = p1;
	dx = p2.x - p1.x;
	dy = p2.y - p1.y;
	dz = p2.z - p1.z;
	x_inc = (dx < 0) ? -1 : 1;
	l = abs(dx);
	y_inc = (dy < 0) ? -1 : 1;
	m = abs(dy);
	z_inc = (dz < 0) ? -1 : 1;
	n = abs(dz);
	dx2 = l << 1;
	dy2 = m << 1;
	dz2 = n << 1;

	if ((l >= m) && (l >= n)) {
		err_1 = dy2 - l;
		err_2 = dz2 - l;
		for (i = 0; i < l; i++) {
			DrawPoint(point);
			if (err_1 > 0) {
				point.y += y_inc;
				err_1 -= dx2;
			}
			if (err_2 > 0) {
				point.z += z_inc;
				err_2 -= dx2;
			}
			err_1 += dy2;
			err_2 += dz2;
			point.x += x_inc;
		}
	}
	else if ((m >= l) && (m >= n)) {
		err_1 = dx2 - m;
		err_2 = dz2 - m;
		for (i = 0; i < m; i++) {
			DrawPoint(point);
			if (err_1 > 0) {
				point.x += x_inc;
				err_1 -= dy2;
			}
			if (err_2 > 0) {
				point.z += z_inc;
				err_2 -= dy2;
			}
			err_1 += dx2;
			err_2 += dz2;
			point.y += y_inc;
		}
	}
	else {
		err_1 = dy2 - n;
		err_2 = dx2 - n;
		for (i = 0; i < n; i++) {
			DrawPoint(point);
			if (err_1 > 0) {
				point.y += y_inc;
				err_1 -= dz2;
			}
			if (err_2 > 0) {
				point.x += x_inc;
				err_2 -= dz2;
			}
			err_1 += dy2;
			err_2 += dx2;
			point.z += z_inc;
		}
	}
	DrawPoint(point);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp            # imm = 0x100
movlpd %xmm0, -0x20(%rbp)
movss %xmm1, -0x18(%rbp)
movl -0x18(%rbp), %eax
movl %eax, -0x8(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x10(%rbp)
movlpd %xmm2, -0x3c(%rbp)
movss %xmm3, -0x34(%rbp)
movq -0x3c(%rbp), %rax
movq %rax, -0x2c(%rbp)
movl -0x34(%rbp), %eax
movl %eax, -0x24(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x84(%rbp)
movl -0x8(%rbp), %eax
movl %eax, -0x7c(%rbp)
movss -0x2c(%rbp), %xmm0
subss -0x10(%rbp), %xmm0
cvttss2si %xmm0, %eax
movl %eax, -0x44(%rbp)
movss -0x28(%rbp), %xmm0
subss -0xc(%rbp), %xmm0
cvttss2si %xmm0, %eax
movl %eax, -0x48(%rbp)
movss -0x24(%rbp), %xmm0
subss -0x8(%rbp), %xmm0
cvttss2si %xmm0, %eax
movl %eax, -0x4c(%rbp)
movl -0x44(%rbp), %edx
movl $0x1, %eax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpl $0x0, %edx
cmovll %ecx, %eax
movl %eax, -0x5c(%rbp)
movl -0x44(%rbp), %eax
movl %eax, %ecx
negl %ecx
cmovnsl %ecx, %eax
movl %eax, -0x50(%rbp)
movl -0x48(%rbp), %edx
movl $0x1, %eax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpl $0x0, %edx
cmovll %ecx, %eax
movl %eax, -0x60(%rbp)
movl -0x48(%rbp), %eax
movl %eax, %ecx
negl %ecx
cmovnsl %ecx, %eax
movl %eax, -0x54(%rbp)
movl -0x4c(%rbp), %edx
movl $0x1, %eax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpl $0x0, %edx
cmovll %ecx, %eax
movl %eax, -0x64(%rbp)
movl -0x4c(%rbp), %eax
movl %eax, %ecx
negl %ecx
cmovnsl %ecx, %eax
movl %eax, -0x58(%rbp)
movl -0x50(%rbp), %eax
shll %eax
movl %eax, -0x70(%rbp)
movl -0x54(%rbp), %eax
shll %eax
movl %eax, -0x74(%rbp)
movl -0x58(%rbp), %eax
shll %eax
movl %eax, -0x78(%rbp)
movl -0x50(%rbp), %eax
cmpl -0x54(%rbp), %eax
jl 0x32ed
movl -0x50(%rbp), %eax
cmpl -0x58(%rbp), %eax
jl 0x32ed
movl -0x74(%rbp), %eax
subl -0x50(%rbp), %eax
movl %eax, -0x68(%rbp)
movl -0x78(%rbp), %eax
subl -0x50(%rbp), %eax
movl %eax, -0x6c(%rbp)
movl $0x0, -0x40(%rbp)
movl -0x40(%rbp), %eax
cmpl -0x50(%rbp), %eax
jge 0x32e8
movl -0x7c(%rbp), %eax
movl %eax, -0x88(%rbp)
movq -0x84(%rbp), %rax
movq %rax, -0x90(%rbp)
movl -0x88(%rbp), %eax
movl %eax, -0x98(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0xa0(%rbp)
movsd -0xa0(%rbp), %xmm0
movss -0x98(%rbp), %xmm1
callq 0x2ea0
cmpl $0x0, -0x68(%rbp)
jle 0x3293
cvtsi2ssl -0x60(%rbp), %xmm0
addss -0x80(%rbp), %xmm0
movss %xmm0, -0x80(%rbp)
movl -0x70(%rbp), %ecx
movl -0x68(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x68(%rbp)
cmpl $0x0, -0x6c(%rbp)
jle 0x32b3
cvtsi2ssl -0x64(%rbp), %xmm0
addss -0x7c(%rbp), %xmm0
movss %xmm0, -0x7c(%rbp)
movl -0x70(%rbp), %ecx
movl -0x6c(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x6c(%rbp)
movl -0x74(%rbp), %eax
addl -0x68(%rbp), %eax
movl %eax, -0x68(%rbp)
movl -0x78(%rbp), %eax
addl -0x6c(%rbp), %eax
movl %eax, -0x6c(%rbp)
cvtsi2ssl -0x5c(%rbp), %xmm0
addss -0x84(%rbp), %xmm0
movss %xmm0, -0x84(%rbp)
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
jmp 0x3221
jmp 0x34ce
movl -0x54(%rbp), %eax
cmpl -0x50(%rbp), %eax
jl 0x33ea
movl -0x54(%rbp), %eax
cmpl -0x58(%rbp), %eax
jl 0x33ea
movl -0x70(%rbp), %eax
subl -0x54(%rbp), %eax
movl %eax, -0x68(%rbp)
movl -0x78(%rbp), %eax
subl -0x54(%rbp), %eax
movl %eax, -0x6c(%rbp)
movl $0x0, -0x40(%rbp)
movl -0x40(%rbp), %eax
cmpl -0x54(%rbp), %eax
jge 0x33e5
movl -0x7c(%rbp), %eax
movl %eax, -0xa8(%rbp)
movq -0x84(%rbp), %rax
movq %rax, -0xb0(%rbp)
movl -0xa8(%rbp), %eax
movl %eax, -0xb8(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0xc0(%rbp)
movsd -0xc0(%rbp), %xmm0
movss -0xb8(%rbp), %xmm1
callq 0x2ea0
cmpl $0x0, -0x68(%rbp)
jle 0x3396
cvtsi2ssl -0x5c(%rbp), %xmm0
addss -0x84(%rbp), %xmm0
movss %xmm0, -0x84(%rbp)
movl -0x74(%rbp), %ecx
movl -0x68(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x68(%rbp)
cmpl $0x0, -0x6c(%rbp)
jle 0x33b6
cvtsi2ssl -0x64(%rbp), %xmm0
addss -0x7c(%rbp), %xmm0
movss %xmm0, -0x7c(%rbp)
movl -0x74(%rbp), %ecx
movl -0x6c(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x6c(%rbp)
movl -0x70(%rbp), %eax
addl -0x68(%rbp), %eax
movl %eax, -0x68(%rbp)
movl -0x78(%rbp), %eax
addl -0x6c(%rbp), %eax
movl %eax, -0x6c(%rbp)
cvtsi2ssl -0x60(%rbp), %xmm0
addss -0x80(%rbp), %xmm0
movss %xmm0, -0x80(%rbp)
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
jmp 0x331e
jmp 0x34cc
movl -0x74(%rbp), %eax
subl -0x58(%rbp), %eax
movl %eax, -0x68(%rbp)
movl -0x70(%rbp), %eax
subl -0x58(%rbp), %eax
movl %eax, -0x6c(%rbp)
movl $0x0, -0x40(%rbp)
movl -0x40(%rbp), %eax
cmpl -0x58(%rbp), %eax
jge 0x34ca
movl -0x7c(%rbp), %eax
movl %eax, -0xc8(%rbp)
movq -0x84(%rbp), %rax
movq %rax, -0xd0(%rbp)
movl -0xc8(%rbp), %eax
movl %eax, -0xd8(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0xe0(%rbp)
movsd -0xe0(%rbp), %xmm0
movss -0xd8(%rbp), %xmm1
callq 0x2ea0
cmpl $0x0, -0x68(%rbp)
jle 0x3475
cvtsi2ssl -0x60(%rbp), %xmm0
addss -0x80(%rbp), %xmm0
movss %xmm0, -0x80(%rbp)
movl -0x78(%rbp), %ecx
movl -0x68(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x68(%rbp)
cmpl $0x0, -0x6c(%rbp)
jle 0x349b
cvtsi2ssl -0x5c(%rbp), %xmm0
addss -0x84(%rbp), %xmm0
movss %xmm0, -0x84(%rbp)
movl -0x78(%rbp), %ecx
movl -0x6c(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x6c(%rbp)
movl -0x74(%rbp), %eax
addl -0x68(%rbp), %eax
movl %eax, -0x68(%rbp)
movl -0x70(%rbp), %eax
addl -0x6c(%rbp), %eax
movl %eax, -0x6c(%rbp)
cvtsi2ssl -0x64(%rbp), %xmm0
addss -0x7c(%rbp), %xmm0
movss %xmm0, -0x7c(%rbp)
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
jmp 0x3403
jmp 0x34cc
jmp 0x34ce
movl -0x7c(%rbp), %eax
movl %eax, -0xe8(%rbp)
movq -0x84(%rbp), %rax
movq %rax, -0xf0(%rbp)
movl -0xe8(%rbp), %eax
movl %eax, -0xf8(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x100(%rbp)
movsd -0x100(%rbp), %xmm0
movss -0xf8(%rbp), %xmm1
callq 0x2ea0
addq $0x100, %rsp            # imm = 0x100
popq %rbp
retq
nopl (%rax)