user: Translate the below assembly code into C programming language:

```asm
<html_write_footer>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %rdi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  lea    0x4(%rsp),%rbp
  mov    %rbp,%rdi
  call   <time@plt>
  mov    %rbp,%rdi
  call   <localtime@plt>
  mov    (%rax),%ebp
  mov    0x4(%rax),%r12d
  mov    0x8(%rax),%r13d
  mov    0xc(%rax),%r14d
  mov    0x10(%rax),%r15d
  mov    %rbx,%rcx
  mov    $0x2c,%edx
  mov    $0x1,%esi
  lea    D12(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbx,%rcx
  mov    $0xc5,%edx
  mov    $0x1,%esi
  lea    D29(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbx,%rcx
  mov    $0x16,%edx
  mov    $0x1,%esi
  lea    D26(%rip),%rdi
  call   <fwrite@plt>
  lea    0x1(%r12),%ecx
  lea    0x76c(%rbp),%edx
  sub    $0x8,%rsp
  push   %r15
  mov    %r14d,%r9d
  mov    %r13d,%r8d
  lea    D49(%rip),%rsi
  mov    %rbx,%rdi
  call   <fprintf@plt>
  mov    %rbx,%rcx
  mov    $0x135,%edx
  mov    $0x1,%esi
  lea    D0(%rip),%rdi
  call   <fwrite@plt>
  add    $0x10,%rsp
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L1
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L1:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D12
type_infered: string
name: parse_data
arguments: label: D29
type_infered: string
name: parse_data
arguments: label: D26
type_infered: string
name: parse_data
arguments: label: D49
type_infered: string
name: parse_data
arguments: label: D0
type_infered: string

tool: D12: 
	</center>
	<hr>
	<u><b>Disclaimer:</b></u>

tool: D29: 
	<br/><br/><i>This material is presented to ensure timely dissemination of scholarly and technical work. Copyright and all rights therein are retained by authors or by other copyright holders.</i>

tool: D26: 
	<hr>
	Last updated: 

tool: D49: <i>%02d/%02d/%d - %02d:%02d</i>


tool: D0: 	<hr>
	Generated from <i>BibT<sub>E</sub>X</i> by <a href="http://echambon.contact.free.fr/en/bibgerhtm.php" target="blank"><em>bibgerhtm</em></a>, itself inspired by <a href="http://www-sop.inria.fr/epidaure/personnel/malandain/codes/bibtex2html.html" target="blank"><em>bibtex2html</em></a>.
</body>
</html>

assistant: ```c
void html_write_footer(FILE *filename) {
  time_t secondes;
  struct tm instant;
  time(&secondes);
  instant = *localtime(&secondes);
  fputs("\n\t</center>\n\t<hr>\n\t<u><b>Disclaimer:</b></u>", filename);
  fputs("\n\t<br/><br/><i>This material is presented to ensure timely dissemination of scholarly and technical work. Copyright and all rights therein are retained by authors or by other copyright holders.</i>", filename);
  fputs("\n\t<hr>\n\tLast updated: ", filename);
  fprintf(filename, "<i>%02d/%02d/%d - %02d:%02d</i>\n", instant.tm_year + 1900, instant.tm_mon + 1, instant.tm_mday, instant.tm_hour, instant.tm_min);
  fputs("\t<hr>\n\tGenerated from <i>BibT<sub>E</sub>X</i> by <a href=\"http://echambon.contact.free.fr/en/bibgerhtm.php\" target=\"blank\"><em>bibgerhtm</em></a>, itself inspired by <a href=\"http://www-sop.inria.fr/epidaure/personnel/malandain/codes/bibtex2html.html\" target=\"blank\"><em>bibtex2html</em></a>.\n</body>\n</html>", filename);
}
```