// File: 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
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x18(%rbp)
addq $0x8, %rdi
leaq 0x3d421(%rip), %rsi     # 0x42200
callq 0x4350
movq %rax, %rdi
movq 0x4b1c2(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d435(%rip), %rsi     # 0x42237
callq 0x4350
movq %rax, %rdi
movq 0x4b19f(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d418(%rip), %rsi     # 0x4223d
callq 0x4350
movq %rax, %rdi
movq 0x4b17c(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d421(%rip), %rsi     # 0x42269
callq 0x4350
movq %rax, %rdi
movq 0x4b159(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d428(%rip), %rsi     # 0x42293
callq 0x4350
movq %rax, %rdi
movq 0x4b136(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d43d(%rip), %rsi     # 0x422cb
callq 0x4350
movq %rax, %rdi
movq 0x4b113(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d441(%rip), %rsi     # 0x422f2
callq 0x4350
movq %rax, %rdi
movq 0x4b0f0(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d441(%rip), %rsi     # 0x42315
callq 0x4350
movq %rax, %rdi
movq 0x4b0cd(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d42c(%rip), %rsi     # 0x42323
callq 0x4350
movq %rax, %rdi
movq -0x18(%rbp), %rax
movq 0x248(%rax), %rsi
callq 0x40b0
movq %rax, %rdi
leaq 0x3ef44(%rip), %rsi     # 0x43e5d
callq 0x4350
movq %rax, %rdi
movq 0x4b088(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d3ef(%rip), %rsi     # 0x4232b
callq 0x4350
movq %rax, %rdi
movq -0x18(%rbp), %rax
movq 0x250(%rax), %rsi
callq 0x40b0
movq %rax, %rdi
leaq 0x3eeff(%rip), %rsi     # 0x43e5d
callq 0x4350
movq %rax, %rdi
movq 0x4b043(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d3b3(%rip), %rsi     # 0x42334
callq 0x4350
movq %rax, %rdi
movq 0x4b020(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d39b(%rip), %rsi     # 0x4233f
callq 0x4350
movq %rax, %rdi
movq 0x4affd(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d388(%rip), %rsi     # 0x4234f
callq 0x4350
movq %rax, %rdi
movq 0x4afda(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d339(%rip), %rsi     # 0x42323
callq 0x4350
movq %rax, %rdi
movq -0x18(%rbp), %rax
movq 0x248(%rax), %rsi
callq 0x40b0
movq %rax, %rdi
leaq 0x3ee51(%rip), %rsi     # 0x43e5d
callq 0x4350
movq %rax, %rdi
movq 0x4af95(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d2fc(%rip), %rsi     # 0x4232b
callq 0x4350
movq %rax, %rdi
movq -0x18(%rbp), %rax
movq 0x250(%rax), %rsi
callq 0x40b0
movq %rax, %rdi
leaq 0x3ee0c(%rip), %rsi     # 0x43e5d
callq 0x4350
movq %rax, %rdi
movq 0x4af50(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d2e1(%rip), %rsi     # 0x42355
callq 0x4350
movq %rax, %rdi
movq 0x4af2d(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d2c4(%rip), %rsi     # 0x4235b
callq 0x4350
movq %rax, %rdi
movq 0x4af0a(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d2a7(%rip), %rsi     # 0x42361
callq 0x4350
movq %rax, %rdi
movq 0x4aee7(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d28c(%rip), %rsi     # 0x42369
callq 0x4350
movq %rax, %rdi
movq 0x4aec4(%rip), %rsi     # 0x4ffb0
callq 0x43b0
movq -0x18(%rbp), %rdi
addq $0x8, %rdi
leaq 0x3d304(%rip), %rsi     # 0x42404
callq 0x4350
movq %rax, %rdi
movq -0x18(%rbp), %rax
movq 0x240(%rax), %rsi
shrq %rsi
callq 0x40b0
movq %rax, %rdi
leaq 0x3d2e9(%rip), %rsi     # 0x4240e
callq 0x4350
movq %rax, %rdi
movq -0x18(%rbp), %rax
movq 0x240(%rax), %rsi
callq 0x40b0
movq %rax, %rdi
leaq 0x3d2cd(%rip), %rsi     # 0x42414
callq 0x4350
movq %rax, -0x28(%rbp)
movl $0x30, %edi
callq 0x5f90
movq -0x28(%rbp), %rdi
movb %al, -0x9(%rbp)
movzbl -0x9(%rbp), %esi
callq 0x4580
movq %rax, -0x20(%rbp)
movl $0x6, %edi
callq 0x5fb0
movq -0x20(%rbp), %rdi
movl %eax, -0x10(%rbp)
movl -0x10(%rbp), %esi
callq 0x4420
movq %rax, %rdi
leaq 0xe3f(%rip), %rsi       # 0x5fd0
callq 0x4100
movq %rax, %rdi
movq -0x18(%rbp), %rax
movl 0x208(%rax), %esi
callq 0x44a0
movq %rax, %rdi
leaq 0xe4e(%rip), %rsi       # 0x6000
callq 0x4100
movq %rax, %rdi
leaq 0x3d25d(%rip), %rsi     # 0x4241e
callq 0x4350
movq %rax, %rdi
movq -0x18(%rbp), %rax
movq 0x240(%rax), %rsi
shrq %rsi
callq 0x40b0
movq %rax, %rdi
leaq 0x3d24c(%rip), %rsi     # 0x42432
callq 0x4350
movq -0x18(%rbp), %rsi
movq %rax, %rdi
addq $0x208, %rsi            # imm = 0x208
addq $0x8, %rsi
callq 0x4310
movq %rax, %rdi
leaq 0x3d23a(%rip), %rsi     # 0x42446
callq 0x4350
movq %rax, %rdi
movq 0x4ad95(%rip), %rsi     # 0x4ffb0
callq 0x43b0
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)