user: 提供的汇编代码用C语言表示会是什么样子：

```asm
<split_double_line>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  xor    %r12d,%r12d
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x408,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x3f8(%rsp)
  xor    %eax,%eax
  test   %rsi,%rsi
  je     L100
  xor    %edx,%edx
  lea    0x10(%rsp),%r13
  lea    D6(%rip),%r14
  jmp    L192
  nopw   0x0(%rax,%rax,1)
L152:
  test   %edx,%edx
  je     L123
  movslq %r12d,%rax
  movslq %edx,%rdx
  mov    %r13,%rdi
  add    $0x1,%r12d
  lea    0x0(%rbp,%rax,8),%r15
  movb   $0x0,0x10(%rsp,%rdx,1)
  call   <atof@plt>
  movsd  %xmm0,(%r15)
  movzbl (%rbx),%eax
  test   %al,%al
  je     L21
L155:
  xor    %edx,%edx
L174:
  add    $0x1,%rbx
L192:
  movzbl (%rbx),%eax
  test   $0xdf,%al
  je     L152
  lea    -0x30(%rax),%ecx
  cmp    $0x9,%cl
  jbe    L161
  lea    -0x2d(%rax),%ecx
  cmp    $0x1,%cl
  ja     L95
L161:
  movslq %edx,%rcx
  add    $0x1,%edx
  mov    %al,0x10(%rsp,%rcx,1)
  jmp    L174
  nopl   (%rax)
L123:
  mov    %r14,%rdi
  call   <printf@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  movzbl (%rbx),%eax
  test   %al,%al
  jne    L155
  nopl   0x0(%rax)
L21:
  mov    0x3f8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L189
  add    $0x408,%rsp
  mov    %r12d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L95:
  lea    D23(%rip),%rdi
  mov    %edx,0xc(%rsp)
  call   <printf@plt>
  movsbl (%rbx),%edi
  call   <putchar@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  mov    0xc(%rsp),%edx
  jmp    L174
  nopl   0x0(%rax,%rax,1)
L100:
  lea    D6(%rip),%r13
  lea    D23(%rip),%r14
  jmp    L140
  nopl   0x0(%rax,%rax,1)
L177:
  lea    -0x2d(%rax),%edx
  cmp    $0x1,%dl
  jbe    L34
  lea    -0x30(%rax),%edx
  cmp    $0x9,%dl
  ja     L6
L34:
  movslq %ebp,%rdx
  add    $0x1,%ebp
  mov    %al,0x10(%rsp,%rdx,1)
L75:
  add    $0x1,%rbx
L140:
  movzbl (%rbx),%eax
  test   $0xdf,%al
  jne    L177
  test   %ebp,%ebp
  je     L12
  movslq %ebp,%rbp
  add    $0x1,%r12d
  movb   $0x0,0x10(%rsp,%rbp,1)
L28:
  test   %al,%al
  je     L21
  xor    %ebp,%ebp
  jmp    L75
  nopl   0x0(%rax)
L12:
  mov    %r13,%rdi
  call   <printf@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  movzbl (%rbx),%eax
  jmp    L28
  nop
L6:
  mov    %r14,%rdi
  call   <printf@plt>
  movsbl (%rbx),%edi
  call   <putchar@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  jmp    L75
L189:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D6
type: string
name: unpack_data
arguments: data_tag: D23
type: string

tool: D6: Error in reading formatted file.


tool: D23: Unexpected character found in the file.


assistant: ```c
int split_double_line(char *str, double *parray) {
  char num_str[1000];
  int i = 0;
  int j = 0;
  int num_count = 0;
  while (1) {
    if (str[i] == ' ' || str[i] == '\0') {
      if (j == 0) {
        printf("Error in reading formatted file.\n");
        exit(1);
      } else {
        num_str[j] = '\0';
        if (parray != NULL)
          parray[num_count] = atof(num_str);
        num_count++;
        j = 0;
      }
      if (str[i] == '\0')
        break;
    } else if ((str[i] >= 48 && str[i] <= 57) || (str[i] == '.') || (str[i] == '-')) {
      num_str[j] = str[i];
      j++;
    } else {
      printf("Unexpected character found in the file.\n");
      putchar(str[i]);
      exit(1);
    }
    i++;
  }
  return num_count;
}
```