// File: /workspace/github_cpp_makefile_star2_O3/thierry7100[P]CutOptim/include/nanosvg.h
// Function: nsvg__parseTransform(double*, char const*)
static void nsvg__parseTransform(double* xform, const char* str)
{
	double t[6];
	nsvg__xformIdentity(xform);
	while (*str)
	{
		if (strncmp(str, "matrix", 6) == 0)
			str += nsvg__parseMatrix(t, str);
		else if (strncmp(str, "translate", 9) == 0)
			str += nsvg__parseTranslate(t, str);
		else if (strncmp(str, "scale", 5) == 0)
			str += nsvg__parseScale(t, str);
		else if (strncmp(str, "rotate", 6) == 0)
			str += nsvg__parseRotate(t, str);
		else if (strncmp(str, "skewX", 5) == 0)
			str += nsvg__parseSkewX(t, str);
		else if (strncmp(str, "skewY", 5) == 0)
			str += nsvg__parseSkewY(t, str);
		else{
			++str;
			continue;
		}

		nsvg__xformPremultiply(xform, t);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movabsq $0x3ff0000000000000, %r13 # imm = 0x3FF0000000000000
movq %r13, (%rdi)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x8(%rdi)
movq %r13, 0x18(%rdi)
movupd %xmm0, 0x20(%rdi)
cmpb $0x0, (%rsi)
je 0x3954e
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x6db3(%rip), %r15      # 0x3fec0
leaq 0x10(%rsp), %rbp
movl $0x6, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x71e0
testl %eax, %eax
je 0x391be
movl $0x9, %edx
movq %rbx, %rdi
leaq 0x6d8e(%rip), %rsi      # 0x3fec7
callq 0x71e0
testl %eax, %eax
je 0x39214
movl $0x5, %edx
movq %rbx, %rdi
leaq 0x6d7c(%rip), %rsi      # 0x3fed1
callq 0x71e0
testl %eax, %eax
je 0x39275
movl $0x6, %edx
movq %rbx, %rdi
leaq 0x6d66(%rip), %rsi      # 0x3fed7
callq 0x71e0
testl %eax, %eax
je 0x392cc
movl $0x5, %edx
movq %rbx, %rdi
leaq 0x6d51(%rip), %rsi      # 0x3fede
callq 0x71e0
testl %eax, %eax
je 0x39309
movl $0x5, %edx
movq %rbx, %rdi
leaq 0x6d3b(%rip), %rsi      # 0x3fee4
callq 0x71e0
testl %eax, %eax
je 0x39380
incq %rbx
jmp 0x39545
movl $0x0, 0xc(%rsp)
movq %rbx, %rdi
leaq 0x40(%rsp), %rsi
movl $0x6, %edx
leaq 0xc(%rsp), %rcx
callq 0x39fb2
movl %eax, %r12d
cmpl $0x6, 0xc(%rsp)
jne 0x39534
movapd 0x40(%rsp), %xmm0
movapd 0x50(%rsp), %xmm1
movapd 0x60(%rsp), %xmm2
movapd %xmm2, 0x30(%rsp)
movapd %xmm1, 0x20(%rsp)
movapd %xmm0, 0x10(%rsp)
jmp 0x39534
movl $0x0, 0xc(%rsp)
movq %rbx, %rdi
leaq 0x40(%rsp), %rsi
movl $0x2, %edx
leaq 0xc(%rsp), %rcx
callq 0x39fb2
movl %eax, %r12d
cmpl $0x1, 0xc(%rsp)
xorpd %xmm0, %xmm0
je 0x39247
movsd 0x48(%rsp), %xmm0
movsd 0x40(%rsp), %xmm1
movq %r13, 0x10(%rsp)
xorpd %xmm2, %xmm2
leaq 0x18(%rsp), %rax
movupd %xmm2, (%rax)
movq %r13, 0x28(%rsp)
movsd %xmm1, 0x30(%rsp)
movsd %xmm0, 0x38(%rsp)
jmp 0x39534
movl $0x0, 0xc(%rsp)
movq %rbx, %rdi
leaq 0x40(%rsp), %rsi
movl $0x2, %edx
leaq 0xc(%rsp), %rcx
callq 0x39fb2
movl %eax, %r12d
cmpl $0x1, 0xc(%rsp)
movsd 0x40(%rsp), %xmm0
movapd %xmm0, %xmm1
je 0x392ae
movsd 0x48(%rsp), %xmm1
movsd %xmm0, 0x10(%rsp)
xorpd %xmm0, %xmm0
leaq 0x18(%rsp), %rax
movupd %xmm0, (%rax)
movsd %xmm1, 0x28(%rsp)
jmp 0x393e3
movl $0x0, 0xc(%rsp)
movq %rbx, %rdi
leaq 0x40(%rsp), %rsi
movl $0x3, %edx
leaq 0xc(%rsp), %rcx
callq 0x39fb2
movl %eax, %r12d
movl 0xc(%rsp), %eax
cmpl $0x1, %eax
jne 0x39361
xorpd %xmm0, %xmm0
leaq 0x48(%rsp), %rax
movupd %xmm0, (%rax)
jmp 0x393f1
movl $0x0, 0xc(%rsp)
movq %rbx, %rdi
leaq 0x40(%rsp), %rsi
movl $0x1, %edx
leaq 0xc(%rsp), %rcx
callq 0x39fb2
movl %eax, %r12d
movsd 0x40(%rsp), %xmm0
divsd 0x4ed7(%rip), %xmm0     # 0x3e210
mulsd 0x4ed7(%rip), %xmm0     # 0x3e218
callq 0x7280
movsd 0x2cba(%rip), %xmm1     # 0x3c008
movapd %xmm1, 0x10(%rsp)
movsd %xmm0, 0x20(%rsp)
movq %r13, 0x28(%rsp)
jmp 0x393da
jle 0x393ed
movupd 0x48(%rsp), %xmm0
xorpd %xmm1, %xmm1
subpd %xmm0, %xmm1
movapd %xmm1, 0x70(%rsp)
movb $0x1, %r13b
jmp 0x393fa
movl $0x0, 0xc(%rsp)
movq %rbx, %rdi
leaq 0x40(%rsp), %rsi
movl $0x1, %edx
leaq 0xc(%rsp), %rcx
callq 0x39fb2
movl %eax, %r12d
movsd 0x40(%rsp), %xmm0
divsd 0x4e60(%rip), %xmm0     # 0x3e210
mulsd 0x4e60(%rip), %xmm0     # 0x3e218
callq 0x7280
movq %r13, 0x10(%rsp)
movsd %xmm0, 0x18(%rsp)
xorpd %xmm0, %xmm0
movhpd 0x2c34(%rip), %xmm0     # xmm0 = xmm0[0],mem[0]
movapd %xmm0, 0x20(%rsp)
xorpd %xmm0, %xmm0
leaq 0x18(%rsp), %rax
movapd %xmm0, 0x18(%rax)
jmp 0x39534
xorpd %xmm0, %xmm0
movapd %xmm0, 0x70(%rsp)
xorl %r13d, %r13d
movsd 0x40(%rsp), %xmm0
divsd 0x4e08(%rip), %xmm0     # 0x3e210
mulsd 0x4e08(%rip), %xmm0     # 0x3e218
movsd %xmm0, 0x88(%rsp)
callq 0x77a0
movapd %xmm0, 0x90(%rsp)
movsd 0x88(%rsp), %xmm0
callq 0x70f0
movapd 0x90(%rsp), %xmm8
movapd %xmm0, %xmm3
xorpd 0x4c75(%rip), %xmm3     # 0x3e0c0
movapd %xmm0, %xmm4
xorpd %xmm7, %xmm7
mulsd %xmm7, %xmm4
movapd %xmm8, %xmm2
subsd %xmm4, %xmm2
movapd %xmm8, %xmm5
mulsd %xmm7, %xmm5
movapd %xmm0, %xmm1
addsd %xmm5, %xmm1
subsd %xmm0, %xmm5
unpcklpd %xmm5, %xmm2            # xmm2 = xmm2[0],xmm5[0]
addsd %xmm8, %xmm4
unpcklpd %xmm4, %xmm1            # xmm1 = xmm1[0],xmm4[0]
movapd 0x70(%rsp), %xmm5
movapd %xmm5, %xmm4
unpckhpd %xmm5, %xmm4            # xmm4 = xmm4[1],xmm5[1]
unpcklpd %xmm8, %xmm3            # xmm3 = xmm3[0],xmm8[0]
mulpd %xmm4, %xmm3
unpcklpd %xmm5, %xmm5            # xmm5 = xmm5[0,0]
unpcklpd %xmm0, %xmm8            # xmm8 = xmm8[0],xmm0[0]
mulpd %xmm5, %xmm8
addpd %xmm3, %xmm8
addpd 0x2b8b(%rip), %xmm8     # 0x3c040
testb %r13b, %r13b
xorpd %xmm6, %xmm6
je 0x3950b
movupd 0x48(%rsp), %xmm0
movapd %xmm1, %xmm3
mulpd %xmm6, %xmm3
addpd %xmm2, %xmm3
movapd %xmm8, %xmm4
unpckhpd %xmm8, %xmm4            # xmm4 = xmm4[1],xmm8[1]
movapd %xmm4, %xmm5
mulsd %xmm7, %xmm5
addsd %xmm8, %xmm5
mulpd %xmm6, %xmm2
addpd %xmm2, %xmm1
mulsd %xmm7, %xmm8
addsd %xmm4, %xmm8
unpcklpd %xmm8, %xmm5            # xmm5 = xmm5[0],xmm8[0]
addpd %xmm0, %xmm5
movapd %xmm5, %xmm8
movapd %xmm3, %xmm2
movabsq $0x3ff0000000000000, %r13 # imm = 0x3FF0000000000000
movapd %xmm2, %xmm0
unpcklpd %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movapd %xmm0, 0x10(%rsp)
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
movapd %xmm2, 0x20(%rsp)
movapd %xmm8, 0x30(%rsp)
movslq %r12d, %rax
addq %rax, %rbx
movq %r14, %rdi
movq %rbp, %rsi
callq 0x39bb7
cmpb $0x0, (%rbx)
jne 0x39112
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq