// File: /workspace/github_cpp_makefile_star2_O2/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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
leaq 0x1e787(%rip), %rsi     # 0x2218c
movq %r14, %rdi
callq 0x3290
movq %rax, %rdi
callq 0x3100
leaq 0x1e7a7(%rip), %rsi     # 0x221c3
movq %r14, %rdi
callq 0x3290
movq %rax, %rdi
callq 0x3100
leaq 0x1e796(%rip), %rsi     # 0x221c9
movq %r14, %rdi
callq 0x3290
movq %rax, %rdi
callq 0x3100
leaq 0x1e7ab(%rip), %rsi     # 0x221f5
movq %r14, %rdi
callq 0x3290
movq %rax, %rdi
callq 0x3100
leaq 0x1e7be(%rip), %rsi     # 0x2221f
movq %r14, %rdi
callq 0x3290
movq %rax, %rdi
callq 0x3100
leaq 0x1e7df(%rip), %rsi     # 0x22257
movq %r14, %rdi
callq 0x3290
movq %rax, %rdi
callq 0x3100
leaq 0x1e7ef(%rip), %rsi     # 0x2227e
movq %r14, %rdi
callq 0x3290
movq %rax, %rdi
callq 0x3100
leaq 0x1e7fb(%rip), %rsi     # 0x222a1
movq %r14, %rdi
callq 0x3290
movq %rax, %rdi
callq 0x3100
leaq 0x1e7f2(%rip), %r12     # 0x222af
movq %r14, %rdi
movq %r12, %rsi
callq 0x3290
movq 0x248(%rbx), %rsi
movq %rax, %rdi
callq 0x31a0
leaq 0x20331(%rip), %r15     # 0x23e0f
movq %rax, %rdi
movq %r15, %rsi
callq 0x3290
movq %rax, %rdi
callq 0x3100
leaq 0x1e7bf(%rip), %r13     # 0x222b7
movq %r14, %rdi
movq %r13, %rsi
callq 0x3290
movq 0x250(%rbx), %rsi
movq %rax, %rdi
callq 0x31a0
movq %rax, %rdi
movq %r15, %rsi
callq 0x3290
movq %rax, %rdi
callq 0x3100
leaq 0x1e794(%rip), %rsi     # 0x222c0
movq %r14, %rdi
callq 0x3290
movq %rax, %rdi
callq 0x3100
leaq 0x1e788(%rip), %rsi     # 0x222cb
movq %r14, %rdi
callq 0x3290
movq %rax, %rdi
callq 0x3100
leaq 0x1e781(%rip), %rsi     # 0x222db
movq %r14, %rdi
callq 0x3290
movq %rax, %rdi
callq 0x3100
movq %r14, %rdi
movq %r12, %rsi
callq 0x3290
movq 0x248(%rbx), %rsi
movq %rax, %rdi
callq 0x31a0
movq %rax, %rdi
movq %r15, %rsi
callq 0x3290
movq %rax, %rdi
callq 0x3100
movq %r14, %rdi
movq %r13, %rsi
callq 0x3290
movq 0x250(%rbx), %rsi
movq %rax, %rdi
callq 0x31a0
movq %rax, %rdi
movq %r15, %rsi
callq 0x3290
movq %rax, %rdi
callq 0x3100
leaq 0x1e716(%rip), %rsi     # 0x222e1
movq %r14, %rdi
callq 0x3290
movq %rax, %rdi
callq 0x3100
leaq 0x1e705(%rip), %rsi     # 0x222e7
movq %r14, %rdi
callq 0x3290
movq %rax, %rdi
callq 0x3100
leaq 0x1e6f4(%rip), %rsi     # 0x222ed
movq %r14, %rdi
callq 0x3290
movq %rax, %rdi
callq 0x3100
leaq 0x1e6e5(%rip), %rsi     # 0x222f5
movq %r14, %rdi
callq 0x3290
movq %rax, %rdi
callq 0x3100
leaq 0x1e769(%rip), %rsi     # 0x22390
movq %r14, %rdi
callq 0x3290
movq 0x240(%rbx), %rsi
shrq %rsi
movq %rax, %rdi
callq 0x31a0
leaq 0x1e752(%rip), %rsi     # 0x2239a
movq %rax, %rdi
callq 0x3290
movq 0x240(%rbx), %rsi
movq %rax, %rdi
callq 0x31a0
leaq 0x1e73a(%rip), %rsi     # 0x223a0
movq %rax, %rdi
callq 0x3290
pushq $0x30
popq %rsi
movq %rax, %rdi
callq 0x3460
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
movq $0x6, 0x10(%rax,%rdx)
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rax,%rcx)
movl 0x208(%rbx), %esi
movq %rax, %rdi
callq 0x31a0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x1e6e5(%rip), %rsi     # 0x223aa
movq %rax, %rdi
callq 0x3290
movq 0x240(%rbx), %rsi
shrq %rsi
movq %rax, %rdi
callq 0x31a0
leaq 0x1e6d8(%rip), %rsi     # 0x223be
movq %rax, %rdi
callq 0x3290
addq $0x210, %rbx            # imm = 0x210
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3250
leaq 0x1e6cb(%rip), %rsi     # 0x223d2
movq %rax, %rdi
callq 0x3290
movq %rax, %rdi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x3100