// File: metopa[P]HTTP_Server/src/requests/response_generators/CErrorGenerator.cpp
// Function: CErrorGenerator::generate[abi:cxx11]()
string CErrorGenerator::generate() {
	ostringstream response;

	response << "HTTP/1.1 " << code_m << ' ' << getCodeMsg( code_m ) << http_endl;
	response << "Date: " << content_m->getCreateTime() << http_endl;
	response << "Last-Modified: " << content_m->getModTime() << http_endl;
	response << "Content-Length: " << content_m->getSize() << http_endl;
	response << http_endl;
	for ( auto it : content_m->getData() )
		response.put( it );

	return response.str();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x250, %rsp            # imm = 0x250
movq %rdi, -0x1e0(%rbp)
movq %rdi, %rax
movq %rax, -0x1d8(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x1d0(%rbp)
leaq -0x188(%rbp), %rdi
movq %rdi, -0x1c8(%rbp)
callq 0x66e0
movq -0x1c8(%rbp), %rdi
leaq 0x46a1(%rip), %rsi      # 0x2cd51
callq 0x64c0
movq %rax, -0x1c0(%rbp)
jmp 0x286be
movq -0x1c0(%rbp), %rdi
movq -0x1d0(%rbp), %rax
movl 0x50(%rax), %esi
callq 0x6900
movq %rax, -0x1e8(%rbp)
jmp 0x286dd
movq -0x1e8(%rbp), %rdi
movl $0x20, %esi
callq 0x65b0
movq %rax, -0x1f0(%rbp)
jmp 0x286f7
movq -0x1d0(%rbp), %rdi
movl 0x50(%rdi), %esi
callq 0x27f40
movq %rax, -0x1f8(%rbp)
jmp 0x2870f
movq -0x1f8(%rbp), %rsi
movq -0x1f0(%rbp), %rdi
callq 0x64c0
movq %rax, -0x200(%rbp)
jmp 0x2872b
movq -0x200(%rbp), %rdi
leaq 0x16e1f(%rip), %rax     # 0x3f558
movq (%rax), %rsi
callq 0x64c0
jmp 0x28743
leaq 0x4611(%rip), %rsi      # 0x2cd5b
leaq -0x188(%rbp), %rdi
callq 0x64c0
movq %rax, -0x208(%rbp)
jmp 0x2875f
movq -0x1d0(%rbp), %rax
movq 0x48(%rax), %rdi
movq (%rdi), %rax
movq 0x18(%rax), %rax
callq *%rax
movq %rax, -0x210(%rbp)
jmp 0x2877c
movq -0x210(%rbp), %rsi
movq -0x208(%rbp), %rdi
callq 0x64c0
movq %rax, -0x218(%rbp)
jmp 0x28798
movq -0x218(%rbp), %rdi
leaq 0x16db2(%rip), %rax     # 0x3f558
movq (%rax), %rsi
callq 0x64c0
jmp 0x287b0
leaq 0x45ab(%rip), %rsi      # 0x2cd62
leaq -0x188(%rbp), %rdi
callq 0x64c0
movq %rax, -0x220(%rbp)
jmp 0x287cc
movq -0x1d0(%rbp), %rax
movq 0x48(%rax), %rdi
movq (%rdi), %rax
movq 0x20(%rax), %rax
callq *%rax
movq %rax, -0x228(%rbp)
jmp 0x287e9
movq -0x228(%rbp), %rsi
movq -0x220(%rbp), %rdi
callq 0x64c0
movq %rax, -0x230(%rbp)
jmp 0x28805
movq -0x230(%rbp), %rdi
leaq 0x16d45(%rip), %rax     # 0x3f558
movq (%rax), %rsi
callq 0x64c0
jmp 0x2881d
leaq 0x454e(%rip), %rsi      # 0x2cd72
leaq -0x188(%rbp), %rdi
callq 0x64c0
movq %rax, -0x238(%rbp)
jmp 0x28839
movq -0x1d0(%rbp), %rax
movq 0x48(%rax), %rdi
callq 0x15820
movq %rax, -0x240(%rbp)
jmp 0x28852
movq -0x240(%rbp), %rsi
movq -0x238(%rbp), %rdi
callq 0x6130
movq %rax, -0x248(%rbp)
jmp 0x2886e
movq -0x248(%rbp), %rdi
leaq 0x16cdc(%rip), %rax     # 0x3f558
movq (%rax), %rsi
callq 0x64c0
jmp 0x28886
leaq 0x16ccb(%rip), %rax     # 0x3f558
movq (%rax), %rsi
leaq -0x188(%rbp), %rdi
callq 0x64c0
jmp 0x2889e
movq -0x1d0(%rbp), %rax
movq 0x48(%rax), %rdi
callq 0x15880
movq %rax, -0x250(%rbp)
jmp 0x288b7
movq -0x250(%rbp), %rax
movq %rax, -0x1a0(%rbp)
movq -0x1a0(%rbp), %rdi
callq 0x28a10
movq %rax, -0x1a8(%rbp)
movq -0x1a0(%rbp), %rdi
callq 0x28a40
movq %rax, -0x1b0(%rbp)
leaq -0x1a8(%rbp), %rdi
leaq -0x1b0(%rbp), %rsi
callq 0x28a70
testb $0x1, %al
jne 0x28904
jmp 0x2895d
leaq -0x1a8(%rbp), %rdi
callq 0x28ab0
movb (%rax), %al
movb %al, -0x1b1(%rbp)
movsbl -0x1b1(%rbp), %esi
leaq -0x188(%rbp), %rdi
callq 0x6050
jmp 0x2892d
jmp 0x2892f
leaq -0x1a8(%rbp), %rdi
callq 0x28ad0
jmp 0x288eb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x190(%rbp)
movl %eax, -0x194(%rbp)
leaq -0x188(%rbp), %rdi
callq 0x6140
jmp 0x2898e
movq -0x1e0(%rbp), %rdi
leaq -0x188(%rbp), %rsi
callq 0x64f0
jmp 0x28972
leaq -0x188(%rbp), %rdi
callq 0x6140
movq -0x1d8(%rbp), %rax
addq $0x250, %rsp            # imm = 0x250
popq %rbp
retq
movq -0x190(%rbp), %rdi
callq 0x6920
nopw (%rax,%rax)