user: Demonstrate the C code that generates the assembly output below:

```asm
<cm_read_line>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xa0,%rsp
  mov    %rdi,-0x98(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x98(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %rax,-0x38(%rbp)
  mov    -0x98(%rbp),%rax
  lea    0x8(%rax),%rcx
  lea    -0x88(%rbp),%rax
  mov    %rax,%rdx
  lea    D136(%rip),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  mov    $0x0,%eax
  call   <sscanf@plt>
  mov    -0x98(%rbp),%rax
  lea    0xe(%rax),%rcx
  lea    -0x80(%rbp),%rax
  mov    %rax,%rdx
  lea    D136(%rip),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  mov    $0x0,%eax
  call   <sscanf@plt>
  mov    -0x98(%rbp),%rax
  lea    0x1a(%rax),%rcx
  lea    -0x78(%rbp),%rax
  mov    %rax,%rdx
  lea    D60(%rip),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  mov    $0x0,%eax
  call   <sscanf@plt>
  mov    -0x98(%rbp),%rax
  lea    0x25(%rax),%rcx
  lea    -0x70(%rbp),%rax
  mov    %rax,%rdx
  lea    D60(%rip),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  mov    $0x0,%eax
  call   <sscanf@plt>
  mov    -0x98(%rbp),%rax
  lea    0x30(%rax),%rcx
  lea    -0x68(%rbp),%rax
  mov    %rax,%rdx
  lea    D60(%rip),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  mov    $0x0,%eax
  call   <sscanf@plt>
  mov    -0x98(%rbp),%rax
  lea    0x3b(%rax),%rcx
  lea    -0x60(%rbp),%rax
  mov    %rax,%rdx
  lea    D60(%rip),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  mov    $0x0,%eax
  call   <sscanf@plt>
  mov    -0x98(%rbp),%rax
  lea    0x46(%rax),%rcx
  lea    -0x58(%rbp),%rax
  mov    %rax,%rdx
  lea    D69(%rip),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  mov    $0x0,%eax
  call   <sscanf@plt>
  mov    -0x98(%rbp),%rax
  lea    0x50(%rax),%rcx
  lea    -0x50(%rbp),%rax
  mov    %rax,%rdx
  lea    D171(%rip),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  mov    $0x0,%eax
  call   <sscanf@plt>
  mov    -0x98(%rbp),%rax
  lea    0x5c(%rax),%rcx
  lea    -0x48(%rbp),%rax
  mov    %rax,%rdx
  lea    D107(%rip),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  mov    $0x0,%eax
  call   <sscanf@plt>
  cmpq   $0xa6,-0x38(%rbp)
  jbe    L20
  lea    -0x30(%rbp),%rax
  mov    $0x1d,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  mov    -0x98(%rbp),%rax
  lea    0xa6(%rax),%rcx
  lea    -0x30(%rbp),%rax
  mov    %rax,%rdx
  lea    D41(%rip),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  mov    $0x0,%eax
  call   <sscanf@plt>
  lea    -0x30(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <strrchr@plt>
  mov    %rax,-0x40(%rbp)
  subq   $0x1,-0x40(%rbp)
  jmp    L4
L6:
  subq   $0x1,-0x40(%rbp)
L4:
  mov    -0x40(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  je     L6
  mov    -0x40(%rbp),%rax
  add    $0x1,%rax
  movb   $0x0,(%rax)
  lea    -0x30(%rbp),%rax
  mov    %rax,%rsi
  lea    D192(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L20:
  mov    -0x88(%rbp),%rax
  movq   %rax,%xmm0
  lea    D172(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    -0x80(%rbp),%rax
  movq   %rax,%xmm0
  lea    D198(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    -0x78(%rbp),%rax
  movq   %rax,%xmm0
  lea    D194(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    -0x70(%rbp),%rax
  movq   %rax,%xmm0
  lea    D157(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    -0x68(%rbp),%rax
  movq   %rax,%xmm0
  lea    D197(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    -0x60(%rbp),%rax
  movq   %rax,%xmm0
  lea    D108(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    -0x58(%rbp),%rax
  movq   %rax,%xmm0
  lea    D186(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    -0x50(%rbp),%rax
  movq   %rax,%xmm0
  lea    D76(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    -0x48(%rbp),%rax
  movq   %rax,%xmm0
  lea    D111(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L29
  call   <__stack_chk_fail@plt>
L29:
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: data_tag: D136
datatype: string
name: retrieve_data
arguments: data_tag: D60
datatype: string
name: retrieve_data
arguments: data_tag: D69
datatype: string
name: retrieve_data
arguments: data_tag: D171
datatype: string
name: retrieve_data
arguments: data_tag: D107
datatype: string
name: retrieve_data
arguments: data_tag: D41
datatype: string
name: retrieve_data
arguments: data_tag: D192
datatype: string
name: retrieve_data
arguments: data_tag: D172
datatype: string
name: retrieve_data
arguments: data_tag: D198
datatype: string
name: retrieve_data
arguments: data_tag: D194
datatype: string
name: retrieve_data
arguments: data_tag: D157
datatype: string
name: retrieve_data
arguments: data_tag: D197
datatype: string
name: retrieve_data
arguments: data_tag: D108
datatype: string
name: retrieve_data
arguments: data_tag: D186
datatype: string
name: retrieve_data
arguments: data_tag: D76
datatype: string
name: retrieve_data
arguments: data_tag: D111
datatype: string

tool: D136: %8lf

tool: D60: %15lf

tool: D69: %17lf

tool: D171: %20lf

tool: D107: %19lf

tool: D41: %28c

tool: D192: name = '%s'


tool: D172: abs mag: %f


tool: D198: slope: %f


tool: D194: mean anomaly at epoch: %f


tool: D157: arg of perihelion: %f


tool: D197: longitude of ascending node: %f


tool: D108: inclination: %f


tool: D186: eccentricity: %f


tool: D76: mean motion: %f


tool: D111: semimajor: %f


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);
}
```