user: What would the C source look like for the assembly code provided here?

```asm
<main>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  lea    D101(%rip),%r12
  push   %rbp
  push   %rbx
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  cmp    $0x1,%edi
  jle    L63
  mov    0x8(%rsi),%r12
L63:
  xor    %edi,%edi
  call   <XOpenDisplay@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L22
L23:
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <XLoadQueryFont@plt>
  mov    %rax,%rbx
  test   %rax,%rax
  je     L32
  mov    %r12,%rsi
  lea    D117(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    (%rbx),%esi
  lea    D9(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x4(%rbx),%esi
  lea    D89(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x8(%rbx),%esi
  lea    D6(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0xc(%rbx),%esi
  lea    D139(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x10(%rbx),%esi
  lea    D125(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x14(%rbx),%esi
  lea    D36(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x18(%rbx),%esi
  lea    D8(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x1c(%rbx),%esi
  lea    D126(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x20(%rbx),%esi
  lea    D112(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x24(%rbx),%esi
  lea    D92(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x28(%rbx),%esi
  lea    D119(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x3c(%rbx),%rsi
  lea    D62(%rip),%rdi
  call   <printc@plt>
  lea    0x38(%rbx),%rsi
  lea    D21(%rip),%rdi
  call   <printc@plt>
  mov    0x14(%rbx),%ebp
  mov    0xc(%rbx),%eax
  lea    D65(%rip),%rdi
  sub    0x10(%rbx),%ebp
  sub    0x8(%rbx),%eax
  add    $0x1,%eax
  add    $0x1,%ebp
  imul   %eax,%ebp
  xor    %eax,%eax
  mov    %ebp,%esi
  call   <printf@plt>
  test   %ebp,%ebp
  jle    L32
  lea    -0x1(%rbp),%r14d
  xor    %ebp,%ebp
  cmpq   $0x0,0x30(%rbx)
  lea    D73(%rip),%r13
  mov    %ebp,%edx
  je     L32
  nopl   0x0(%rax)
L49:
  mov    0x8(%rbx),%ecx
  mov    %rsp,%r12
  mov    %r13,%rsi
  mov    %r12,%rdi
  add    %ebp,%ecx
  call   <sprintf@plt>
  mov    0x30(%rbx),%rax
  mov    %r12,%rdi
  lea    (%rax,%rbp,4),%rsi
  call   <printc@plt>
  cmp    %rbp,%r14
  je     L32
  add    $0x1,%rbp
  cmpq   $0x0,0x30(%rbx)
  mov    %ebp,%edx
  jne    L49
L32:
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L33
  add    $0x30,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L22:
  mov    $0x1,%edi
  call   <exit@plt>
  jmp    L23
L33:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D101
type: string
name: parse_data
arguments: label: D117
type: string
name: parse_data
arguments: label: D9
type: string
name: parse_data
arguments: label: D89
type: string
name: parse_data
arguments: label: D6
type: string
name: parse_data
arguments: label: D139
type: string
name: parse_data
arguments: label: D125
type: string
name: parse_data
arguments: label: D36
type: string
name: parse_data
arguments: label: D8
type: string
name: parse_data
arguments: label: D126
type: string
name: parse_data
arguments: label: D112
type: string
name: parse_data
arguments: label: D92
type: string
name: parse_data
arguments: label: D119
type: string
name: parse_data
arguments: label: D62
type: string
name: parse_data
arguments: label: D21
type: string
name: parse_data
arguments: label: D65
type: string
name: parse_data
arguments: label: D73
type: string

tool: D101: -adobe-helvetica-medium-r-normal--11-80-100-100-p-56-iso8859-1

tool: D117: font %s


tool: D9: fid 0x%x


tool: D89: direction %d


tool: D6: min_byte2 %d


tool: D139: max_byte2 %d


tool: D125: min_byte1 %d


tool: D36: max_byte1 %d


tool: D8: all_exist %d


tool: D126: default_char %d


tool: D112: n_props %d


tool: D92: ascent %d


tool: D119: descent %d


tool: D62: min bounds

tool: D21: max bounds

tool: D65: size %d


tool: D73: char %d (%d):

assistant: ```c
int main(int ac, char **av) {
  Display *d;
  XFontStruct *fs;
  char *font;
  if (ac > 1)
    font = av[1];
  else
    font = "-adobe-helvetica-medium-r-normal--11-80-100-100-p-56-iso8859-1";
  d = XOpenDisplay(NULL);
  if (!d)
    exit(1);
  fs = XLoadQueryFont(d, font);
  if (fs) {
    int i, size;
    printf("font %s\n", font);
    printf("fid 0x%x\n", fs->fid);
    printf("direction %d\n", fs->direction);
    printf("min_byte2 %d\n", fs->min_char_or_byte2);
    printf("max_byte2 %d\n", fs->max_char_or_byte2);
    printf("min_byte1 %d\n", fs->min_byte1);
    printf("max_byte1 %d\n", fs->max_byte1);
    printf("all_exist %d\n", fs->all_chars_exist);
    printf("default_char %d\n", fs->default_char);
    printf("n_props %d\n", fs->n_properties);
    printf("ascent %d\n", fs->ascent);
    printf("descent %d\n", fs->descent);
    printc("min bounds", &fs->min_bounds);
    printc("max bounds", &fs->max_bounds);
    size = (fs->max_byte1 - fs->min_byte1 + 1) * (fs->max_char_or_byte2 - fs->min_char_or_byte2 + 1);
    printf("size %d\n", size);
    for (i = 0; i < size; ++i) {
      char buf[32];
      if (!fs->per_char)
        continue;
      sprintf(buf, "char %d (%d):", i, i + fs->min_char_or_byte2);
      printc(buf, &fs->per_char[i]);
    }
  }
  return 0;
}
```