user: 下面的汇编指令对应的C源代码是什么：

```asm
<main>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  cmp    $0x2,%edi
  jle    L34
  mov    %rsi,%rbp
  mov    0x8(%rsi),%rdi
  lea    D32(%rip),%rsi
  call   <fopen@plt>
  mov    %rax,%rbx
  mov    0x10(%rbp),%rdi
  lea    D45(%rip),%rsi
  call   <fopen@plt>
  mov    %rax,%rbp
  test   %rbx,%rbx
  je     L116
  test   %rax,%rax
  je     L41
  lea    0x4(%rsp),%rdx
  lea    D76(%rip),%r12
  mov    %r12,%rsi
  mov    %rbx,%rdi
  call   <fscanf@plt>
  lea    0x8(%rsp),%rdx
  mov    %r12,%rsi
  mov    %rbx,%rdi
  call   <fscanf@plt>
  mov    0x8(%rsp),%edx
  mov    0x4(%rsp),%esi
  lea    D31(%rip),%rdi
  call   <printf@plt>
  mov    0x8(%rsp),%ecx
  mov    0x4(%rsp),%edx
  lea    D27(%rip),%rsi
  mov    %rbp,%rdi
  call   <fprintf@plt>
  lea    0xc(%rsp),%r12
  jmp    L11
L34:
  lea    D41(%rip),%rdi
  call   <puts@plt>
  mov    $0x1,%eax
  jmp    L127
L116:
  lea    D21(%rip),%rdi
  call   <puts@plt>
  mov    $0x2,%eax
  jmp    L127
L41:
  lea    D17(%rip),%rdi
  call   <puts@plt>
  mov    $0x3,%eax
  jmp    L127
L124:
  cmpb   $0x2a,0xd(%rsp)
  sete   %dil
  movzbl %dil,%edi
  shl    $0x6,%edi
  cmp    $0x2a,%al
  sete   %al
  movzbl %al,%eax
  shl    $0x7,%eax
  or     %eax,%edi
  cmpb   $0x2a,0x13(%rsp)
  sete   %al
  movzbl %al,%eax
  or     %eax,%edi
  cmpb   $0x2a,0xe(%rsp)
  sete   %al
  movzbl %al,%eax
  shl    $0x5,%eax
  or     %eax,%edi
  cmpb   $0x2a,0xf(%rsp)
  sete   %al
  movzbl %al,%eax
  shl    $0x4,%eax
  or     %eax,%edi
  cmpb   $0x2a,0x10(%rsp)
  sete   %al
  movzbl %al,%eax
  shl    $0x3,%eax
  or     %eax,%edi
  cmpb   $0x2a,0x11(%rsp)
  sete   %al
  movzbl %al,%eax
  shl    $0x2,%eax
  or     %eax,%edi
  cmpb   $0x2a,0x12(%rsp)
  sete   %al
  movzbl %al,%eax
  add    %eax,%eax
  or     %eax,%edi
  mov    %rbp,%rsi
  call   <fputc@plt>
L33:
  mov    %rbx,%rdi
  call   <feof@plt>
  test   %eax,%eax
  jne    L74
L11:
  mov    %rbx,%rdx
  mov    $0xc,%esi
  mov    %r12,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L33
  movzbl 0xc(%rsp),%eax
  mov    %eax,%edx
  and    $0xfffffffb,%edx
  cmp    $0x2a,%dl
  je     L124
  cmp    $0x20,%al
  je     L124
  jmp    L33
L74:
  mov    %rbx,%rdi
  call   <fclose@plt>
  mov    %rbp,%rdi
  call   <fclose@plt>
  mov    $0x0,%eax
L127:
  mov    0x18(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L121
  add    $0x20,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L121:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D32
type: string
name: parse_data
arguments: tag: D45
type: string
name: parse_data
arguments: tag: D76
type: string
name: parse_data
arguments: tag: D31
type: string
name: parse_data
arguments: tag: D27
type: string
name: parse_data
arguments: tag: D41
type: string
name: parse_data
arguments: tag: D21
type: string
name: parse_data
arguments: tag: D17
type: string

tool: D32: r

tool: D45: wb

tool: D76: %d

tool: D31: font size: %dx%d


tool: D27: %d
%d


tool: D41: usage> makefont source.txt font.bin

tool: D21: can't open input file.

tool: D17: can't open output file.

assistant: ```c
int main(int argc, char **argv) {
  FILE *fp0, *fp1;
  if (argc < 3) {
    puts("usage> makefont source.txt font.bin");
    return 1;
  }
  fp0 = fopen(argv[1], "r");
  fp1 = fopen(argv[2], "wb");
  if (fp0 == NULL) {
    puts("can't open input file.");
    return 2;
  }
  if (fp1 == NULL) {
    puts("can't open output file.");
    return 3;
  }
  unsigned int xsize, ysize;
  fscanf(fp0, "%d", &xsize);
  fscanf(fp0, "%d", &ysize);
  printf("font size: %dx%d\n", xsize, ysize);
  fprintf(fp1, "%d\n%d\n", xsize, ysize);
  do {
    char s[12];
    int i;
    if (fgets(s, 12, fp0) != NULL && (s[0] == ' ' || s[0] == '*' || s[0] == '.')) {
      i = (s[0] == '*') << 7;
      i |= (s[1] == '*') << 6;
      i |= (s[2] == '*') << 5;
      i |= (s[3] == '*') << 4;
      i |= (s[4] == '*') << 3;
      i |= (s[5] == '*') << 2;
      i |= (s[6] == '*') << 1;
      i |= (s[7] == '*');
      fputc(i, fp1);
    }
  } while (!feof(fp0));
  fclose(fp0);
  fclose(fp1);
  return 0;
}
```