// File: thierry7100[P]CutOptim/include/nanosvg.h
// Function: nsvg__parseLine(NSVGparser*, char const**)
static void nsvg__parseLine(NSVGparser* p, const char** attr)
{
	double x1 = 0.0;
	double y1 = 0.0;
	double x2 = 0.0;
	double y2 = 0.0;
	int i;

	for (i = 0; attr[i]; i += 2) {
		if (!nsvg__parseAttr(p, attr[i], attr[i + 1])) {
			if (strcmp(attr[i], "x1") == 0) x1 = nsvg__parseCoordinate(p, attr[i + 1], nsvg__actualOrigX(p), nsvg__actualWidth(p));
			if (strcmp(attr[i], "y1") == 0) y1 = nsvg__parseCoordinate(p, attr[i + 1], nsvg__actualOrigY(p), nsvg__actualHeight(p));
			if (strcmp(attr[i], "x2") == 0) x2 = nsvg__parseCoordinate(p, attr[i + 1], nsvg__actualOrigX(p), nsvg__actualWidth(p));
			if (strcmp(attr[i], "y2") == 0) y2 = nsvg__parseCoordinate(p, attr[i + 1], nsvg__actualOrigY(p), nsvg__actualHeight(p));
		}
	}

	nsvg__resetPath(p);

	nsvg__moveTo(p, x1, y1);
	nsvg__lineTo(p, x2, y2);

	nsvg__addPath(p, 0);

	nsvg__addShape(p);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x18(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x20(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x28(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x30(%rbp)
movl $0x0, -0x34(%rbp)
movq -0x10(%rbp), %rax
movslq -0x34(%rbp), %rcx
cmpq $0x0, (%rax,%rcx,8)
je 0x7947c
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movq -0x10(%rbp), %rax
movl -0x34(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdx
callq 0x79b90
cmpl $0x0, %eax
jne 0x7946c
movq -0x10(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0xcac5(%rip), %rsi      # 0x85d84
callq 0x9770
cmpl $0x0, %eax
jne 0x79317
movq -0x8(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x10(%rbp), %rax
movl -0x34(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x48(%rbp)
movq -0x8(%rbp), %rdi
callq 0x7f9f0
movsd %xmm0, -0x40(%rbp)
movq -0x8(%rbp), %rdi
callq 0x7b2c0
movq -0x50(%rbp), %rdi
movq -0x48(%rbp), %rsi
movaps %xmm0, %xmm1
movsd -0x40(%rbp), %xmm0
callq 0x7a650
movsd %xmm0, -0x18(%rbp)
movq -0x10(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0xca5d(%rip), %rsi      # 0x85d87
callq 0x9770
cmpl $0x0, %eax
jne 0x79382
movq -0x8(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x10(%rbp), %rax
movl -0x34(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x60(%rbp)
movq -0x8(%rbp), %rdi
callq 0x7fa10
movsd %xmm0, -0x58(%rbp)
movq -0x8(%rbp), %rdi
callq 0x7b2e0
movq -0x68(%rbp), %rdi
movq -0x60(%rbp), %rsi
movaps %xmm0, %xmm1
movsd -0x58(%rbp), %xmm0
callq 0x7a650
movsd %xmm0, -0x20(%rbp)
movq -0x10(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0xc9f5(%rip), %rsi      # 0x85d8a
callq 0x9770
cmpl $0x0, %eax
jne 0x793ed
movq -0x8(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x10(%rbp), %rax
movl -0x34(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x78(%rbp)
movq -0x8(%rbp), %rdi
callq 0x7f9f0
movsd %xmm0, -0x70(%rbp)
movq -0x8(%rbp), %rdi
callq 0x7b2c0
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
movaps %xmm0, %xmm1
movsd -0x70(%rbp), %xmm0
callq 0x7a650
movsd %xmm0, -0x28(%rbp)
movq -0x10(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0xc98d(%rip), %rsi      # 0x85d8d
callq 0x9770
cmpl $0x0, %eax
jne 0x7946a
movq -0x8(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x10(%rbp), %rax
movl -0x34(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x90(%rbp)
movq -0x8(%rbp), %rdi
callq 0x7fa10
movsd %xmm0, -0x88(%rbp)
movq -0x8(%rbp), %rdi
callq 0x7b2e0
movq -0x98(%rbp), %rdi
movq -0x90(%rbp), %rsi
movaps %xmm0, %xmm1
movsd -0x88(%rbp), %xmm0
callq 0x7a650
movsd %xmm0, -0x30(%rbp)
jmp 0x7946c
jmp 0x7946e
movl -0x34(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x34(%rbp)
jmp 0x7926a
movq -0x8(%rbp), %rdi
callq 0x7c0d0
movq -0x8(%rbp), %rdi
movsd -0x18(%rbp), %xmm0
movsd -0x20(%rbp), %xmm1
callq 0x7dc30
movq -0x8(%rbp), %rdi
movsd -0x28(%rbp), %xmm0
movsd -0x30(%rbp), %xmm1
callq 0x7e230
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x7d6b0
movq -0x8(%rbp), %rdi
callq 0x7dca0
addq $0xa0, %rsp
popq %rbp
retq
nopl (%rax,%rax)