// File: smallmuou[P]tinyhtml/tinyxml.cpp
// Function: TiXmlDeclaration::Print(_IO_FILE*, int, TiXmlString*) const
void TiXmlDeclaration::Print( FILE* cfile, int /*depth*/, TIXML_STRING* str ) const
{
	if ( cfile ) fprintf( cfile, "<?xml " );
	if ( str )	 (*str) += "<?xml ";

	if ( !version.empty() ) {
		if ( cfile ) fprintf (cfile, "version=\"%s\" ", version.c_str ());
		if ( str ) { (*str) += "version=\""; (*str) += version; (*str) += "\" "; }
	}
	if ( !encoding.empty() ) {
		if ( cfile ) fprintf (cfile, "encoding=\"%s\" ", encoding.c_str ());
		if ( str ) { (*str) += "encoding=\""; (*str) += encoding; (*str) += "\" "; }
	}
	if ( !standalone.empty() ) {
		if ( cfile ) fprintf (cfile, "standalone=\"%s\" ", standalone.c_str ());
		if ( str ) { (*str) += "standalone=\""; (*str) += standalone; (*str) += "\" "; }
	}
	if ( cfile ) fprintf( cfile, "?>" );
	if ( str )	 (*str) += "?>";
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x6888
movq -0x10(%rbp), %rdi
leaq 0x7b65(%rip), %rsi      # 0xe3e6
movb $0x0, %al
callq 0x31e0
cmpq $0x0, -0x20(%rbp)
je 0x689f
movq -0x20(%rbp), %rdi
leaq 0x7b4c(%rip), %rsi      # 0xe3e6
callq 0x7d30
movq -0x28(%rbp), %rdi
addq $0x50, %rdi
callq 0x7c90
testb $0x1, %al
jne 0x691b
cmpq $0x0, -0x10(%rbp)
je 0x68e1
movq -0x28(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
addq $0x50, %rdi
callq 0x7810
movq -0x30(%rbp), %rdi
movq %rax, %rdx
leaq 0x7b13(%rip), %rsi      # 0xe3ed
movb $0x0, %al
callq 0x31e0
cmpq $0x0, -0x20(%rbp)
je 0x6919
movq -0x20(%rbp), %rdi
leaq 0x7b08(%rip), %rsi      # 0xe3fb
callq 0x7d30
movq -0x28(%rbp), %rsi
addq $0x50, %rsi
movq -0x20(%rbp), %rdi
callq 0x7ce0
movq -0x20(%rbp), %rdi
leaq 0x7b19(%rip), %rsi      # 0xe42d
callq 0x7d30
jmp 0x691b
movq -0x28(%rbp), %rdi
addq $0x58, %rdi
callq 0x7c90
testb $0x1, %al
jne 0x6997
cmpq $0x0, -0x10(%rbp)
je 0x695d
movq -0x28(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
addq $0x58, %rdi
callq 0x7810
movq -0x38(%rbp), %rdi
movq %rax, %rdx
leaq 0x7aaf(%rip), %rsi      # 0xe405
movb $0x0, %al
callq 0x31e0
cmpq $0x0, -0x20(%rbp)
je 0x6995
movq -0x20(%rbp), %rdi
leaq 0x7aa5(%rip), %rsi      # 0xe414
callq 0x7d30
movq -0x28(%rbp), %rsi
addq $0x58, %rsi
movq -0x20(%rbp), %rdi
callq 0x7ce0
movq -0x20(%rbp), %rdi
leaq 0x7a9d(%rip), %rsi      # 0xe42d
callq 0x7d30
jmp 0x6997
movq -0x28(%rbp), %rdi
addq $0x60, %rdi
callq 0x7c90
testb $0x1, %al
jne 0x6a13
cmpq $0x0, -0x10(%rbp)
je 0x69d9
movq -0x28(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
addq $0x60, %rdi
callq 0x7810
movq -0x40(%rbp), %rdi
movq %rax, %rdx
leaq 0x7a4d(%rip), %rsi      # 0xe41f
movb $0x0, %al
callq 0x31e0
cmpq $0x0, -0x20(%rbp)
je 0x6a11
movq -0x20(%rbp), %rdi
leaq 0x7a45(%rip), %rsi      # 0xe430
callq 0x7d30
movq -0x28(%rbp), %rsi
addq $0x60, %rsi
movq -0x20(%rbp), %rdi
callq 0x7ce0
movq -0x20(%rbp), %rdi
leaq 0x7a21(%rip), %rsi      # 0xe42d
callq 0x7d30
jmp 0x6a13
cmpq $0x0, -0x10(%rbp)
je 0x6a2c
movq -0x10(%rbp), %rdi
leaq 0x7a18(%rip), %rsi      # 0xe43d
movb $0x0, %al
callq 0x31e0
cmpq $0x0, -0x20(%rbp)
je 0x6a43
movq -0x20(%rbp), %rdi
leaq 0x79ff(%rip), %rsi      # 0xe43d
callq 0x7d30
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)