user: 下面的汇编指令对应的C源代码是什么：

```asm
<str2double>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x1e8,%rsp
  mov    %rdi,%r12
  mov    %fs:0x28,%rax
  mov    %rax,0x1d8(%rsp)
  xor    %eax,%eax
  call   <strlen@plt>
  mov    %eax,%ecx
  lea    0x170(%rsp),%rdi
  mov    $0x0,%edx
  mov    %r12,%rsi
  call   <strasign@plt>
  movzbl 0x170(%rsp),%eax
  lea    -0x2b(%rax),%edx
  mov    D51(%rip),%rbp
  test   $0xfd,%dl
  jne    L47
  cmp    $0x2d,%al
  je     L157
L103:
  lea    0x170(%rsp),%rbx
  mov    %rbx,%rdi
  call   <strlen@plt>
  mov    %eax,%ecx
  lea    0x100(%rsp),%r13
  mov    $0x1,%edx
  mov    %rbx,%rsi
  mov    %r13,%rdi
  call   <strasign@plt>
  mov    %r13,%rdi
  call   <strlen@plt>
  mov    %eax,%ecx
  mov    $0x0,%edx
  mov    %r13,%rsi
  mov    %rbx,%rdi
  call   <strasign@plt>
L47:
  lea    0x170(%rsp),%rdi
  mov    $0x1,%edx
  mov    $0x65,%esi
  call   <strlocate@plt>
  cmp    $0xffffffff,%eax
  je     L19
L74:
  lea    0x170(%rsp),%rdi
  mov    $0x1,%edx
  mov    $0x65,%esi
  call   <strlocate@plt>
  mov    %eax,%ebx
  cmp    $0xffffffff,%eax
  je     L56
L200:
  mov    %r12,%rdi
  call   <strlen@plt>
  mov    %eax,%ecx
  lea    0x1(%rbx),%edx
  lea    0x170(%rsp),%r12
  lea    0x90(%rsp),%rdi
  mov    %r12,%rsi
  call   <strasign@plt>
  lea    -0x1(%rbx),%ecx
  lea    0x20(%rsp),%rdi
  mov    $0x0,%edx
  mov    %r12,%rsi
  call   <strasign@plt>
L156:
  lea    0x20(%rsp),%rdi
  mov    $0x1,%edx
  mov    $0x2e,%esi
  call   <strlocate@plt>
  mov    %eax,%r12d
  cmp    $0xffffffff,%eax
  je     L164
  lea    -0x1(%rax),%ecx
  lea    0x20(%rsp),%rsi
  lea    0x100(%rsp),%rbx
  mov    $0x0,%edx
  mov    %rbx,%rdi
  call   <strasign@plt>
  mov    %rbx,%rdi
  call   <strlen@plt>
  test   %eax,%eax
  jle    L180
  mov    %rbx,%r13
  lea    -0x1(%rax),%ebx
  pxor   %xmm5,%xmm5
  movsd  %xmm5,0x10(%rsp)
L101:
  movsbl 0x0(%r13),%eax
  sub    $0x30,%eax
  pxor   %xmm2,%xmm2
  cvtsi2sd %eax,%xmm2
  movsd  %xmm2,0x8(%rsp)
  pxor   %xmm1,%xmm1
  cvtsi2sd %ebx,%xmm1
  mov    D19(%rip),%rax
  movq   %rax,%xmm0
  call   <pow@plt>
  mulsd  0x8(%rsp),%xmm0
  addsd  0x10(%rsp),%xmm0
  movsd  %xmm0,0x10(%rsp)
  add    $0x1,%r13
  sub    $0x1,%ebx
  cmp    $0xffffffff,%ebx
  jne    L101
L196:
  lea    0x20(%rsp),%rbx
  mov    %rbx,%rdi
  call   <strlen@plt>
  mov    %eax,%ecx
  lea    0x1(%r12),%edx
  lea    0x100(%rsp),%r12
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <strasign@plt>
  mov    %r12,%rdi
  call   <strlen@plt>
  test   %eax,%eax
  jle    L99
  mov    %eax,%r12d
  mov    $0x0,%ebx
  pxor   %xmm6,%xmm6
  movsd  %xmm6,0x8(%rsp)
L181:
  movsbl 0x100(%rsp,%rbx,1),%eax
  sub    $0x30,%eax
  pxor   %xmm4,%xmm4
  cvtsi2sd %eax,%xmm4
  movsd  %xmm4,0x18(%rsp)
  mov    %ebx,%eax
  not    %eax
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  mov    D19(%rip),%rax
  movq   %rax,%xmm0
  call   <pow@plt>
  mulsd  0x18(%rsp),%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  add    $0x1,%rbx
  cmp    %r12,%rbx
  jne    L181
L80:
  movsd  0x10(%rsp),%xmm7
  addsd  0x8(%rsp),%xmm7
  movsd  %xmm7,0x8(%rsp)
L60:
  lea    0x170(%rsp),%rdi
  mov    $0x1,%edx
  mov    $0x65,%esi
  call   <strlocate@plt>
  cmp    $0xffffffff,%eax
  je     L106
L221:
  lea    0x90(%rsp),%rdi
  call   <str2double>
  movapd %xmm0,%xmm1
  movsd  D19(%rip),%xmm0
  call   <pow@plt>
  mulsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
L194:
  movq   %rbp,%xmm0
  mulsd  0x8(%rsp),%xmm0
  mov    0x1d8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L140
  add    $0x1e8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L157:
  mov    D49(%rip),%rbp
  jmp    L103
L19:
  lea    0x170(%rsp),%rdi
  mov    $0x1,%edx
  mov    $0x45,%esi
  call   <strlocate@plt>
  cmp    $0xffffffff,%eax
  jne    L74
  lea    0x170(%rsp),%rbx
  mov    %rbx,%rdi
  call   <strlen@plt>
  mov    %eax,%ecx
  lea    0x20(%rsp),%rdi
  mov    $0x0,%edx
  mov    %rbx,%rsi
  call   <strasign@plt>
  jmp    L156
L56:
  lea    0x170(%rsp),%rdi
  mov    $0x1,%edx
  mov    $0x45,%esi
  call   <strlocate@plt>
  mov    %eax,%ebx
  jmp    L200
L180:
  pxor   %xmm7,%xmm7
  movsd  %xmm7,0x10(%rsp)
  jmp    L196
L99:
  pxor   %xmm5,%xmm5
  movsd  %xmm5,0x8(%rsp)
  jmp    L80
L164:
  lea    0x20(%rsp),%rdi
  call   <strlen@plt>
  test   %eax,%eax
  jle    L75
  lea    0x20(%rsp),%r12
  lea    -0x1(%rax),%ebx
  pxor   %xmm7,%xmm7
  movsd  %xmm7,0x8(%rsp)
L93:
  movsbl (%r12),%eax
  sub    $0x30,%eax
  pxor   %xmm6,%xmm6
  cvtsi2sd %eax,%xmm6
  movsd  %xmm6,0x10(%rsp)
  pxor   %xmm1,%xmm1
  cvtsi2sd %ebx,%xmm1
  mov    D19(%rip),%rax
  movq   %rax,%xmm0
  call   <pow@plt>
  mulsd  0x10(%rsp),%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  add    $0x1,%r12
  sub    $0x1,%ebx
  cmp    $0xffffffff,%ebx
  jne    L93
  jmp    L60
L75:
  pxor   %xmm7,%xmm7
  movsd  %xmm7,0x8(%rsp)
  jmp    L60
L106:
  lea    0x170(%rsp),%rdi
  mov    $0x1,%edx
  mov    $0x45,%esi
  call   <strlocate@plt>
  cmp    $0xffffffff,%eax
  jne    L221
  jmp    L194
L140:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D51
type_infered: f64
name: unpack_data
arguments: data_tag: D19
type_infered: f64
name: unpack_data
arguments: data_tag: D49
type_infered: f32[2]

tool: D51: 1

tool: D19: 10

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

assistant: ```c
double str2double(char *str) {
  int i, n, m;
  double value = 0.0, value1 = 0.0, value2 = 0.0, sgn = 1.0;
  char tmp1[100], tmp2[100], tmp[100], str_tmp[100];
  strasign(str_tmp, str, 0, strlen(str));
  if (str_tmp[0] == '-' || str_tmp[0] == '+') {
    if (str_tmp[0] == '-') {
      sgn = -1.0;
    }
    strasign(tmp, str_tmp, 1, strlen(str_tmp));
    strasign(str_tmp, tmp, 0, strlen(tmp));
  }
  if (strlocate(str_tmp, 'e', 1) != -1 || strlocate(str_tmp, 'E', 1) != -1) {
    n = strlocate(str_tmp, 'e', 1);
    if (n == -1) {
      n = strlocate(str_tmp, 'E', 1);
    }
    strasign(tmp2, str_tmp, n + 1, strlen(str));
    strasign(tmp1, str_tmp, 0, n - 1);
  } else {
    strasign(tmp1, str_tmp, 0, strlen(str_tmp));
  }
  n = strlocate(tmp1, '.', 1);
  if (n != -1) {
    strasign(tmp, tmp1, 0, n - 1);
    m = strlen(tmp);
    for (i = 0; i < m; i++) {
      value1 = value1 + (double)((int)tmp[i] - 48) * pow(10.0, (double)(m - i - 1));
    }
    m = strlen(tmp1);
    strasign(tmp, tmp1, n + 1, m);
    m = strlen(tmp);
    for (i = 0; i < m; i++) {
      value2 = value2 + (double)((int)tmp[i] - 48) * pow(10.0, (double)(-i - 1));
    }
    value = value1 + value2;
  } else {
    m = strlen(tmp1);
    for (i = 0; i < m; i++) {
      value = value + (double)((int)tmp1[i] - 48) * pow(10.0, (double)(m - i - 1));
    }
  }
  if (strlocate(str_tmp, 'e', 1) != -1 || strlocate(str_tmp, 'E', 1) != -1) {
    value = value * pow(10.0, str2double(tmp2));
  }
  return (value * sgn);
}
```