user: 请从给定的汇编指令推导出C源代码：

```asm
<cm_read_line>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  add    $0xffffffffffffff80,%rsp
  mov    %rdi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x78(%rsp)
  xor    %eax,%eax
  call   <strlen@plt>
  mov    %rax,%r12
  lea    0x8(%rsp),%rdx
  lea    0x8(%rbx),%rdi
  lea    D63(%rip),%rbp
  mov    %rbp,%rsi
  mov    $0x0,%eax
  call   <sscanf@plt>
  lea    0x10(%rsp),%rdx
  lea    0xe(%rbx),%rdi
  mov    %rbp,%rsi
  mov    $0x0,%eax
  call   <sscanf@plt>
  lea    0x18(%rsp),%rdx
  lea    0x1a(%rbx),%rdi
  lea    D18(%rip),%rbp
  mov    %rbp,%rsi
  mov    $0x0,%eax
  call   <sscanf@plt>
  lea    0x20(%rsp),%rdx
  lea    0x25(%rbx),%rdi
  mov    %rbp,%rsi
  mov    $0x0,%eax
  call   <sscanf@plt>
  lea    0x28(%rsp),%rdx
  lea    0x30(%rbx),%rdi
  mov    %rbp,%rsi
  mov    $0x0,%eax
  call   <sscanf@plt>
  lea    0x30(%rsp),%rdx
  lea    0x3b(%rbx),%rdi
  mov    %rbp,%rsi
  mov    $0x0,%eax
  call   <sscanf@plt>
  lea    0x38(%rsp),%rdx
  lea    0x46(%rbx),%rdi
  lea    D37(%rip),%rsi
  mov    $0x0,%eax
  call   <sscanf@plt>
  lea    0x40(%rsp),%rdx
  lea    0x50(%rbx),%rdi
  lea    D77(%rip),%rsi
  mov    $0x0,%eax
  call   <sscanf@plt>
  lea    0x48(%rsp),%rdx
  lea    0x5c(%rbx),%rdi
  lea    D33(%rip),%rsi
  mov    $0x0,%eax
  call   <sscanf@plt>
  cmp    $0xa6,%r12
  ja     L11
L3:
  movsd  0x8(%rsp),%xmm0
  lea    D2(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  0x10(%rsp),%xmm0
  lea    D95(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  0x18(%rsp),%xmm0
  lea    D13(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  0x20(%rsp),%xmm0
  lea    D31(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  0x28(%rsp),%xmm0
  lea    D79(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  0x30(%rsp),%xmm0
  lea    D134(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  0x38(%rsp),%xmm0
  lea    D123(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  0x40(%rsp),%xmm0
  lea    D124(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  0x48(%rsp),%xmm0
  lea    D150(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L12
  sub    $0xffffffffffffff80,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L11:
  lea    0x50(%rsp),%rbp
  mov    $0x1d,%edx
  mov    $0x0,%esi
  mov    %rbp,%rdi
  call   <memset@plt>
  lea    0xa6(%rbx),%rdi
  mov    %rbp,%rdx
  lea    D108(%rip),%rsi
  mov    $0x0,%eax
  call   <sscanf@plt>
  mov    $0x0,%esi
  mov    %rbp,%rdi
  call   <strrchr@plt>
  lea    -0x1(%rax),%rdx
  cmpb   $0x20,-0x1(%rax)
  jne    L21
L17:
  sub    $0x1,%rdx
  cmpb   $0x20,(%rdx)
  je     L17
L21:
  movb   $0x0,0x1(%rdx)
  lea    0x50(%rsp),%rsi
  lea    D3(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L3
L12:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D63
type_guessed: string
name: unpack_data
arguments: label: D18
type_guessed: string
name: unpack_data
arguments: label: D37
type_guessed: string
name: unpack_data
arguments: label: D77
type_guessed: string
name: unpack_data
arguments: label: D33
type_guessed: string
name: unpack_data
arguments: label: D2
type_guessed: string
name: unpack_data
arguments: label: D95
type_guessed: string
name: unpack_data
arguments: label: D13
type_guessed: string
name: unpack_data
arguments: label: D31
type_guessed: string
name: unpack_data
arguments: label: D79
type_guessed: string
name: unpack_data
arguments: label: D134
type_guessed: string
name: unpack_data
arguments: label: D123
type_guessed: string
name: unpack_data
arguments: label: D124
type_guessed: string
name: unpack_data
arguments: label: D150
type_guessed: string
name: unpack_data
arguments: label: D108
type_guessed: string
name: unpack_data
arguments: label: D3
type_guessed: string

tool: D63: %8lf

tool: D18: %15lf

tool: D37: %17lf

tool: D77: %20lf

tool: D33: %19lf

tool: D2: abs mag: %f


tool: D95: slope: %f


tool: D13: mean anomaly at epoch: %f


tool: D31: arg of perihelion: %f


tool: D79: longitude of ascending node: %f


tool: D134: inclination: %f


tool: D123: eccentricity: %f


tool: D124: mean motion: %f


tool: D150: semimajor: %f


tool: D108: %28c

tool: D3: name = '%s'


assistant: ```c
void cm_read_line(const char *line) {
  double H, G, M, arg_peri, long_asc, incl, ecc, mean_motion, semimajor;
  size_t slen = strlen(line);
  sscanf(&line[8], "%8lf", &H);
  sscanf(&line[14], "%8lf", &G);
  sscanf(&line[26], "%15lf", &M);
  sscanf(&line[37], "%15lf", &arg_peri);
  sscanf(&line[48], "%15lf", &long_asc);
  sscanf(&line[59], "%15lf", &incl);
  sscanf(&line[70], "%17lf", &ecc);
  sscanf(&line[80], "%20lf", &mean_motion);
  sscanf(&line[92], "%19lf", &semimajor);
  if (slen > 166) {
    char name[194 - 167 + 2];
    memset(name, 0, sizeof(name));
    sscanf(&line[166], "%28c", name);
    char *p = strrchr(name, '\0');
    p--;
    while (*p == ' ')
      p--;
    p[1] = '\0';
    printf("name = '%s'\n", name);
  }
  printf("abs mag: %f\n", H);
  printf("slope: %f\n", G);
  printf("mean anomaly at epoch: %f\n", M);
  printf("arg of perihelion: %f\n", arg_peri);
  printf("longitude of ascending node: %f\n", long_asc);
  printf("inclination: %f\n", incl);
  printf("eccentricity: %f\n", ecc);
  printf("mean motion: %f\n", mean_motion);
  printf("semimajor: %f\n", semimajor);
}
```