// File: /workspace/github_cpp_makefile_star2_O3/kallaballa[P]PixelStencil/PixelStencil.cpp
// Function: kallaballa::SVGStencil::writeHeader()
void SVGStencil::writeHeader() {
	this->ofs << "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>"<< std::endl;
	this->ofs << "<svg " << std::endl;
	this->ofs << "xmlns:dc=\"http://purl.org/dc/elements/1.1/\"" << std::endl;
	this->ofs << "xmlns:cc=\"http://creativecommons.org/ns#\"" << std::endl;
	this->ofs << "xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"" << std::endl;
	this->ofs << "xmlns:svg=\"http://www.w3.org/2000/svg\"" << std::endl;
	this->ofs << "xmlns=\"http://www.w3.org/2000/svg\"" << std::endl;
	this->ofs << "version=\"1.1\"" << std::endl;
	this->ofs << "width=\"" << realWidthPix << "\"" << std::endl;
	this->ofs << "height=\"" << realHeightPix << "\"" << std::endl;
	this->ofs << "id=\"svg2\">" << std::endl;
	this->ofs << "<g id=\"layer1\">" << std::endl;

	this->ofs << "<rect" << std::endl;
	this->ofs << "width=\"" << realWidthPix << "\"" << std::endl;
	this->ofs << "height=\"" << realHeightPix << "\"" << std::endl;
	this->ofs << "x=\"0\"" << std::endl;
	this->ofs << "y=\"0\"" << std::endl;
	this->ofs << "id=\"-1\"" << std::endl;
	this->ofs << "style=\"fill:none;stroke:#ff0000;stroke-width:0.09;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none\" />" << std::endl;
	this->ofs << "<text x=\"" << boardMarginPix / 2 << "\" y=\"" << boardMarginPix << "\" fill=\"#" << std::setfill('0') << std::setw(6) << std::hex << color.rgb << std::dec << "\" style=\"font-size:" << boardMarginPix / 2 << "px\" stroke=\"black\">" << color.name << "</text>" << std::endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
leaq 0x292f5(%rip), %rsi     # 0x2d1bc
movl $0x36, %edx
movq %r14, %rdi
callq 0x3330
movq 0x8(%rbx), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r14, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
leaq 0x292f0(%rip), %rsi     # 0x2d1f3
movl $0x5, %edx
movq %r14, %rdi
callq 0x3330
movq 0x8(%rbx), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r14, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
leaq 0x292ba(%rip), %rsi     # 0x2d1f9
movl $0x2b, %edx
movq %r14, %rdi
callq 0x3330
movq 0x8(%rbx), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r14, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
leaq 0x292aa(%rip), %rsi     # 0x2d225
movl $0x29, %edx
movq %r14, %rdi
callq 0x3330
movq 0x8(%rbx), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r14, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
leaq 0x29298(%rip), %rsi     # 0x2d24f
movl $0x37, %edx
movq %r14, %rdi
callq 0x3330
movq 0x8(%rbx), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r14, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
leaq 0x29294(%rip), %rsi     # 0x2d287
movl $0x26, %edx
movq %r14, %rdi
callq 0x3330
movq 0x8(%rbx), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r14, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
leaq 0x2927f(%rip), %rsi     # 0x2d2ae
movl $0x22, %edx
movq %r14, %rdi
callq 0x3330
movq 0x8(%rbx), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r14, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
leaq 0x29266(%rip), %rsi     # 0x2d2d1
movl $0xd, %edx
movq %r14, %rdi
callq 0x3330
movq 0x8(%rbx), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r14, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
leaq 0x29238(%rip), %r12     # 0x2d2df
movl $0x7, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x3330
movq 0x248(%rbx), %rsi
movq %r14, %rdi
callq 0x31a0
movq %rax, %r13
leaq 0x2ad6f(%rip), %r15     # 0x2ee3f
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x3330
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r13, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
leaq 0x291d8(%rip), %r13     # 0x2d2e7
movl $0x8, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0x3330
movq 0x250(%rbx), %rsi
movq %r14, %rdi
callq 0x31a0
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x3330
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %rbp, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
leaq 0x29180(%rip), %rsi     # 0x2d2f0
movl $0xa, %edx
movq %r14, %rdi
callq 0x3330
movq 0x8(%rbx), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r14, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
leaq 0x2914f(%rip), %rsi     # 0x2d2fb
movl $0xf, %edx
movq %r14, %rdi
callq 0x3330
movq 0x8(%rbx), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r14, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
leaq 0x29123(%rip), %rsi     # 0x2d30b
movl $0x5, %edx
movq %r14, %rdi
callq 0x3330
movq 0x8(%rbx), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r14, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
movl $0x7, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x3330
movq 0x248(%rbx), %rsi
movq %r14, %rdi
callq 0x31a0
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x3330
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r12, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
movl $0x8, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0x3330
movq 0x250(%rbx), %rsi
movq %r14, %rdi
callq 0x31a0
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x3330
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r12, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
leaq 0x29039(%rip), %rsi     # 0x2d311
movl $0x5, %edx
movq %r14, %rdi
callq 0x3330
movq 0x8(%rbx), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r14, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
leaq 0x29003(%rip), %rsi     # 0x2d317
movl $0x5, %edx
movq %r14, %rdi
callq 0x3330
movq 0x8(%rbx), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r14, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
leaq 0x28fcd(%rip), %rsi     # 0x2d31d
movl $0x7, %edx
movq %r14, %rdi
callq 0x3330
movq 0x8(%rbx), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r14, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
leaq 0x28f99(%rip), %rsi     # 0x2d325
movl $0x9a, %edx
movq %r14, %rdi
callq 0x3330
movq 0x8(%rbx), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %r14, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31b0
leaq 0x28ff8(%rip), %rsi     # 0x2d3c0
movl $0x9, %edx
movq %r14, %rdi
callq 0x3330
movq 0x240(%rbx), %rsi
shrq %rsi
movq %r14, %rdi
callq 0x31a0
movq %rax, %r14
leaq 0x28fd9(%rip), %rsi     # 0x2d3ca
movl $0x5, %edx
movq %rax, %rdi
callq 0x3330
movq 0x240(%rbx), %rsi
movq %r14, %rdi
callq 0x31a0
movq %rax, %r14
leaq 0x28fb9(%rip), %rsi     # 0x2d3d0
movl $0x9, %edx
movq %rax, %rdi
callq 0x3330
movq (%r14), %rax
movq -0x18(%rax), %rcx
leaq (%r14,%rcx), %r15
cmpb $0x0, 0xe1(%r14,%rcx)
jne 0x4452
movq %r15, %rdi
movl $0x20, %esi
callq 0x3290
movb $0x1, 0xe1(%r15)
movq (%r14), %rax
movb $0x30, 0xe0(%r15)
movq -0x18(%rax), %rcx
movq $0x6, 0x10(%r14,%rcx)
movq -0x18(%rax), %rax
movl 0x18(%r14,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x18(%r14,%rax)
movl 0x208(%rbx), %esi
movq %r14, %rdi
callq 0x31a0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rax
movl 0x18(%r14,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%r14,%rax)
leaq 0x28f30(%rip), %rsi     # 0x2d3da
movl $0x13, %edx
movq %r14, %rdi
callq 0x3330
movq 0x240(%rbx), %rsi
shrq %rsi
movq %r14, %rdi
callq 0x31a0
movq %rax, %r14
leaq 0x28f1b(%rip), %rsi     # 0x2d3ee
movl $0x13, %edx
movq %rax, %rdi
callq 0x3330
movq 0x210(%rbx), %rsi
movq 0x218(%rbx), %rdx
movq %r14, %rdi
callq 0x3330
movq %rax, %rbx
leaq 0x28f02(%rip), %rsi     # 0x2d402
movl $0x7, %edx
movq %rax, %rdi
callq 0x3330
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3050
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x31b0