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

```asm
<mean>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r14
  push   %r13
  push   %r12
  mov    %rdi,%r12
  push   %rbx
  mov    %rsi,%rbx
  sub    $0xe0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x28(%rbp)
  xor    %eax,%eax
  call   <strlen@plt>
  mov    %rsp,%rcx
  add    $0xf,%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L55
L138:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L138
L55:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L40
L119:
  mov    %r12,%rsi
  mov    %rsp,%rdi
  lea    -0xf0(%rbp),%r13
  call   <strcpy@plt>
  lea    D1(%rip),%r14
  lea    D6(%rip),%rsi
  mov    %r13,%rdi
  call   <strcpy@plt>
  mov    %r14,%rsi
  mov    %rsp,%rdi
  call   <strtok@plt>
  mov    %rax,%r12
  test   %rax,%rax
  jne    L96
  jmp    L104
L132:
  mov    %r14,%rsi
  xor    %edi,%edi
  call   <strtok@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L104
L96:
  mov    %rbx,%rdi
  call   <strlen@plt>
  mov    %rbx,%rsi
  mov    %r12,%rdi
  mov    %rax,%rdx
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L132
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <strcpy@plt>
L104:
  cmpb   $0x0,-0xf0(%rbp)
  movsd  D24(%rip),%xmm0
  je     L35
  xor    %ebx,%ebx
  xor    %r12d,%r12d
  jmp    L163
  nopl   0x0(%rax)
L105:
  movsbl 0x0(%r13,%rbx,1),%edi
  call   <isdigit@plt>
  test   %rax,%rax
  movzbl 0x0(%r13,%rbx,1),%eax
  jne    L142
  mov    %eax,%edx
  and    $0xfffffffd,%edx
  cmp    $0x2c,%dl
  jne    L92
L142:
  movslq %r12d,%rdx
  add    $0x1,%r12d
  mov    %al,-0xf0(%rbp,%rdx,1)
L92:
  add    $0x1,%rbx
L163:
  mov    %r13,%rdi
  call   <strlen@plt>
  cmp    %rbx,%rax
  ja     L105
  lea    D3(%rip),%rbx
  mov    %r13,%rdi
  movslq %r12d,%r12
  movb   $0x0,-0xf0(%rbp,%r12,1)
  mov    %rbx,%rsi
  call   <strtok@plt>
  mov    %rax,%rdi
  test   %rax,%rax
  je     L109
  pxor   %xmm2,%xmm2
  movsd  %xmm2,-0xf8(%rbp)
  nopl   0x0(%rax)
L83:
  call   <atof@plt>
  pxor   %xmm0,%xmm0
  xor    %edi,%edi
  mov    %rbx,%rsi
  cvtsi2sd %rax,%xmm0
  addsd  -0xf8(%rbp),%xmm0
  movsd  %xmm0,-0xf8(%rbp)
  call   <strtok@plt>
  mov    %rax,%rdi
  test   %rax,%rax
  jne    L83
  movsd  -0xf8(%rbp),%xmm0
  divsd  D44(%rip),%xmm0
L35:
  mov    -0x28(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L161
  lea    -0x20(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %rbp
  ret
  nopl   0x0(%rax)
L40:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L119
L109:
  pxor   %xmm0,%xmm0
  jmp    L35
L161:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D1
type_guessed: string
name: read_data
arguments: data_label: D6
type_guessed: string
name: read_data
arguments: data_label: D24
type_guessed: f32[2]
name: read_data
arguments: data_label: D3
type_guessed: string
name: read_data
arguments: data_label: D44
type_guessed: f64

tool: D1: 


tool: 

tool: {"D24": [0.0,-1.875]}

tool: D3: ,

tool: D44: 12

assistant: ```c
double mean(char *str, char *town) {
  char buff[strlen(str)];
  strcpy(buff, str);
  char line[200];
  strcpy(line, "");
  char *pch = strtok(buff, "\n");
  while (pch != NULL) {
    if (strncmp(pch, town, strlen(town)) == 0) {
      strcpy(line, pch);
      break;
    }
    pch = strtok(NULL, "\n");
  }
  if (strlen(line) == 0)
    return -1;
  int cnt = 0;
  for (size_t i = 0; i < strlen(line); ++i) {
    if (isdigit(line[i]) || line[i] == '.' || line[i] == ',')
      line[cnt++] = line[i];
  }
  line[cnt] = '\0';
  double sum = 0;
  pch = strtok(line, ",");
  while (pch != NULL) {
    sum += atof(pch);
    pch = strtok(NULL, ",");
  }
  return sum / 12.0;
}
```