user: Please show me the C implementation that matches the assembly code listed below:

```asm
<rtfm>:
  endbr64
  push   %rbp
  mov    %rdi,%rbp
  call   <basename@plt>
  lea    D47(%rip),%rdi
  mov    %rax,%rsi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <basename@plt>
  lea    D87(%rip),%rdi
  mov    %rax,%rsi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <basename@plt>
  lea    D102(%rip),%rdi
  mov    %rax,%rsi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D154(%rip),%rdi
  call   <puts@plt>
  lea    D76(%rip),%rdi
  call   <puts@plt>
  lea    D145(%rip),%rdi
  call   <puts@plt>
  lea    D153(%rip),%rdi
  call   <puts@plt>
  lea    D105(%rip),%rdi
  call   <puts@plt>
  lea    D140(%rip),%rdi
  call   <puts@plt>
  lea    D44(%rip),%rdi
  call   <puts@plt>
  lea    D19(%rip),%rdi
  call   <puts@plt>
  lea    D95(%rip),%rdi
  call   <puts@plt>
  lea    D80(%rip),%rdi
  call   <puts@plt>
  lea    D156(%rip),%rdi
  call   <puts@plt>
  lea    D39(%rip),%rdi
  call   <puts@plt>
  lea    D65(%rip),%rdi
  call   <puts@plt>
  lea    D2(%rip),%rdi
  call   <puts@plt>
  lea    D114(%rip),%rdi
  pop    %rbp
  jmp    1070 <puts@plt>
```

tool_calls: name: parse_data
arguments: label: D47
type_guessed: string
name: parse_data
arguments: label: D87
type_guessed: string
name: parse_data
arguments: label: D102
type_guessed: string
name: parse_data
arguments: label: D154
type_guessed: string
name: parse_data
arguments: label: D76
type_guessed: string
name: parse_data
arguments: label: D145
type_guessed: string
name: parse_data
arguments: label: D153
type_guessed: string
name: parse_data
arguments: label: D105
type_guessed: string
name: parse_data
arguments: label: D140
type_guessed: string
name: parse_data
arguments: label: D44
type_guessed: string
name: parse_data
arguments: label: D19
type_guessed: string
name: parse_data
arguments: label: D95
type_guessed: string
name: parse_data
arguments: label: D80
type_guessed: string
name: parse_data
arguments: label: D156
type_guessed: string
name: parse_data
arguments: label: D39
type_guessed: string
name: parse_data
arguments: label: D65
type_guessed: string
name: parse_data
arguments: label: D2
type_guessed: string
name: parse_data
arguments: label: D114
type_guessed: string

tool: D47: %s translates a csv file to a LaTeX file


tool: D87: Example: %s january_stats.csv > january_stats.tex


tool: D102: Usage: %s [--nohead] (LaTeX) no document header: useful for inclusion


tool: D154: 	[--bare] no document header or tabular envir for inculsion

tool: D76: 	[--longtable] (LaTeX) use package longtable: useful for long input

tool: D145: 	[--noescape] (LaTeX) do not escape text: useful for mixed CSV/TeX input

tool: D153: 	[--guess] (CSV) guess separator and block |
	[--separator <(c)omma|(s)emicolon|(t)ab|s(p)ace|co(l)on>] (CSV's comma)
	[--block <(q)uote|(d)ouble|(n)one>] (CSV) block delimiter (e.g: none)

tool: D105: 	[--lines n] (LaTeX) rows per table: useful for long tabulars

tool: D140: 	[--position <l|c|r>] (LaTeX) text align in cells

tool: D44: 	[--colorrows graylevel] (LaTeX) alternate gray rows (e.g: 0.75)

tool: D19: 	[--reduce level] (LaTeX) reduce table size (e.g: 1)

tool: D95: 	[--repeatheader] (LaTeX) repeat table header (for long tables)

tool: D80: 	[--nohlines] (LaTeX) don't put hline between table rows

tool: D156: 	[--novlines] (LaTeX) don't put vline between columns

tool: D39: 		csv_file.csv

tool: D65: The "longtable" option needs the {longtable} LaTeX package

tool: D2: The "colorrows" option needs the {colortbl} LaTeX package

tool: D114: The "reduce" option needs the {relsize} LaTeX package

assistant: ```c
void rtfm(char *prog) {
  printf("%s translates a csv file to a LaTeX file\n", basename(prog));
  printf("Example: %s january_stats.csv > january_stats.tex\n", basename(prog));
  printf("Usage: %s [--nohead] (LaTeX) no document header: useful for inclusion\n", basename(prog));
  printf("	[--bare] no document header or tabular envir for inculsion\n");
  printf("	[--longtable] (LaTeX) use package longtable: useful for long input\n");
  printf("	[--noescape] (LaTeX) do not escape text: useful for mixed CSV/TeX input\n");
  printf("	[--guess] (CSV) guess separator and block |\n"
         "	[--separator <(c)omma|(s)emicolon|(t)ab|s(p)ace|co(l)on>] (CSV's comma)\n"
         "	[--block <(q)uote|(d)ouble|(n)one>] (CSV) block delimiter (e.g: none)\n");
  printf("	[--lines n] (LaTeX) rows per table: useful for long tabulars\n");
  printf("	[--position <l|c|r>] (LaTeX) text align in cells\n");
  printf("	[--colorrows graylevel] (LaTeX) alternate gray rows (e.g: 0.75)\n");
  printf("	[--reduce level] (LaTeX) reduce table size (e.g: 1)\n");
  printf("	[--repeatheader] (LaTeX) repeat table header (for long tables)\n");
  printf("	[--nohlines] (LaTeX) don't put hline between table rows\n");
  printf("	[--novlines] (LaTeX) don't put vline between columns\n");
  printf("		csv_file.csv\n");
  printf("The \"longtable\" option needs the {longtable} LaTeX package\n");
  printf("The \"colorrows\" option needs the {colortbl} LaTeX package\n");
  printf("The \"reduce\" option needs the {relsize} LaTeX package\n");
  return;
}
```