// File: /workspace/github_cpp_makefile_star2_O1/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 0x29273(%rip), %rsi     # 0x2d13c
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 0x2926e(%rip), %rsi     # 0x2d173
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 0x29238(%rip), %rsi     # 0x2d179
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 0x29228(%rip), %rsi     # 0x2d1a5
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 0x29216(%rip), %rsi     # 0x2d1cf
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 0x29212(%rip), %rsi     # 0x2d207
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 0x291fd(%rip), %rsi     # 0x2d22e
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 0x291e4(%rip), %rsi     # 0x2d251
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 0x291b6(%rip), %r12     # 0x2d25f
movl $0x7, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x3330
movq 0x248(%rbx), %rsi
movq %r14, %rdi
callq 0x31a0
movq %rax, %r13
leaq 0x2aced(%rip), %r15     # 0x2edbf
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 0x29156(%rip), %r13     # 0x2d267
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 0x290fe(%rip), %rsi     # 0x2d270
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 0x290cd(%rip), %rsi     # 0x2d27b
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 0x290a1(%rip), %rsi     # 0x2d28b
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 0x28fb7(%rip), %rsi     # 0x2d291
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 0x28f81(%rip), %rsi     # 0x2d297
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 0x28f4b(%rip), %rsi     # 0x2d29d
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 0x28f17(%rip), %rsi     # 0x2d2a5
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 0x28f76(%rip), %rsi     # 0x2d340
movl $0x9, %edx
movq %r14, %rdi
callq 0x3330
movq 0x240(%rbx), %rsi
shrq %rsi
movq %r14, %rdi
callq 0x31a0
movq %rax, %r14
leaq 0x28f57(%rip), %rsi     # 0x2d34a
movl $0x5, %edx
movq %rax, %rdi
callq 0x3330
movq 0x240(%rbx), %rsi
movq %r14, %rdi
callq 0x31a0
movq %rax, %r14
leaq 0x28f37(%rip), %rsi     # 0x2d350
movl $0x9, %edx
movq %rax, %rdi
callq 0x3330
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %r15
cmpb $0x0, 0xe1(%r14,%rax)
jne 0x4458
movq %r15, %rdi
movl $0x20, %esi
callq 0x3290
movb %al, 0xe0(%r15)
movb $0x1, 0xe1(%r15)
movb $0x30, 0xe0(%r15)
movq (%r14), %rax
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 0x28ea7(%rip), %rsi     # 0x2d35a
movl $0x13, %edx
movq %r14, %rdi
callq 0x3330
movq 0x240(%rbx), %rsi
shrq %rsi
movq %r14, %rdi
callq 0x31a0
movq %rax, %r14
leaq 0x28e92(%rip), %rsi     # 0x2d36e
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 0x28e79(%rip), %rsi     # 0x2d382
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
nop