user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x90,%rsp
  mov    %edi,-0x84(%rbp)
  mov    %rsi,-0x90(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    D44(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D4(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  cmpl   $0x1,-0x84(%rbp)
  jg     L126
  mov    $0x0,%eax
  call   <help@plt>
  mov    $0x1,%eax
  jmp    L155
L126:
  movl   $0x1,-0x78(%rbp)
  jmp    L169
L97:
  movb   $0x0,-0x70(%rbp)
  jmp    L177
L162:
  mov    -0x78(%rbp),%eax
  add    $0x1,%eax
  cmp    %eax,-0x84(%rbp)
  jg     L10
  mov    -0x78(%rbp),%eax
  add    $0x2,%eax
  cmp    %eax,-0x84(%rbp)
  jg     L224
  mov    -0x78(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x90(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x90(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  mov    %rax,%rsi
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L219
L224:
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x90(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,%rsi
  lea    D49(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L219:
  mov    $0x0,%eax
  call   <help@plt>
  mov    $0x1,%eax
  jmp    L155
L10:
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x90(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  cmp    $0x6f,%eax
  jne    L182
  movl   $0x0,-0x74(%rbp)
  jmp    L156
L99:
  mov    -0x78(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x90(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x74(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x74(%rbp),%eax
  cltq
  mov    %dl,-0x70(%rbp,%rax,1)
  addl   $0x1,-0x74(%rbp)
L156:
  cmpl   $0x5e,-0x74(%rbp)
  jg     L84
  mov    -0x78(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x90(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x74(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L84
  mov    -0x78(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x90(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x74(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  jne    L99
L84:
  mov    -0x74(%rbp),%eax
  cltq
  lea    -0x70(%rbp),%rdx
  add    %rdx,%rax
  lea    D18(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <sprintf@plt>
  jmp    L142
L182:
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x90(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,%rsi
  lea    D53(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <help@plt>
  mov    $0x1,%eax
  jmp    L155
L142:
  addl   $0x2,-0x78(%rbp)
L177:
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x90(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movzbl (%rax),%eax
  cmp    $0x2d,%al
  je     L162
  movzbl -0x70(%rbp),%eax
  test   %al,%al
  jne    L199
  movl   $0x0,-0x74(%rbp)
  jmp    L157
L149:
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x90(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x74(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x74(%rbp),%eax
  cltq
  mov    %dl,-0x70(%rbp,%rax,1)
  addl   $0x1,-0x74(%rbp)
L157:
  cmpl   $0x5e,-0x74(%rbp)
  jg     L165
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x90(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x74(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L165
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x90(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x74(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  jne    L149
L165:
  mov    -0x74(%rbp),%eax
  cltq
  lea    -0x70(%rbp),%rdx
  add    %rdx,%rax
  lea    D18(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <sprintf@plt>
L199:
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x90(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  lea    -0x70(%rbp),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <convert@plt>
  addl   $0x1,-0x78(%rbp)
L169:
  mov    -0x78(%rbp),%eax
  cmp    -0x84(%rbp),%eax
  jl     L97
  mov    $0x0,%eax
L155:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L212
  call   <__stack_chk_fail@plt>
L212:
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_label: D44
type_infered: string
name: parse_data
arguments: data_label: D4
type_infered: string
name: parse_data
arguments: data_label: D14
type_infered: string
name: parse_data
arguments: data_label: D49
type_infered: string
name: parse_data
arguments: data_label: D18
type_infered: string
name: parse_data
arguments: data_label: D53
type_infered: string

tool: D44: skinless - base frame generator

tool: D4: Copyright (C) 2001  Seth Galbraith

tool: D14: ERROR: option '%s %s' not followed by a filename.


tool: D49: ERROR: option '%s' not followed by a value.


tool: D18: .cad

tool: D53: ERROR: unrecognized option '%s'.


assistant: ```c
int main(int argc, char **argv) {
  int i, c;
  char outfile[100];
  printf("skinless - base frame generator\n");
  printf("Copyright (C) 2001  Seth Galbraith\n");
  if (argc < 2) {
    help();
    return 1;
  }
  for (i = 1; i < argc; i++) {
    outfile[0] = '\0';
    while (argv[i][0] == '-') {
      if (i + 2 > argc) {
        if (i + 3 > argc)
          printf("ERROR: option '%s %s' not followed by a filename.\n", argv[i], argv[i + 1]);
        else
          printf("ERROR: option '%s' not followed by a value.\n", argv[i]);
        help();
        return 1;
      }
      switch (argv[i][1]) {
      case 'o':
        for (c = 0; c < 95 && argv[i + 1][c] && argv[i + 1][c] != '.'; c++)
          outfile[c] = argv[i + 1][c];
        sprintf(outfile + c, ".cad");
        break;
      default:
        printf("ERROR: unrecognized option '%s'.\n", argv[i]);
        help();
        return 1;
      }
      i += 2;
    }
    if (outfile[0] == '\0') {
      for (c = 0; c < 95 && argv[i][c] && argv[i][c] != '.'; c++)
        outfile[c] = argv[i][c];
      sprintf(outfile + c, ".cad");
    }
    convert(argv[i], outfile);
  }
  return 0;
}
```