user: What is the c source code of the assembly code below:

```asm
<atof>:
  endbr64
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x18,%rsp
  jmp    L43
  nop
L141:
  add    $0x1,%rbx
L43:
  movsbl (%rbx),%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L141
  movzbl (%rbx),%eax
  cmp    $0x2d,%al
  je     L162
  xor    %ebp,%ebp
  cmp    $0x2b,%al
  sete   %al
  movzbl %al,%eax
  add    %rax,%rbx
L160:
  pxor   %xmm0,%xmm0
  jmp    L101
  nop
L149:
  movsbl (%rbx),%eax
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm0
  add    $0x1,%rbx
  mulsd  D23(%rip),%xmm0
  sub    $0x30,%eax
  cvtsi2sd %eax,%xmm1
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
L101:
  movsbl (%rbx),%edi
  movss  %xmm0,0x8(%rsp)
  call   <isdigit@plt>
  movss  0x8(%rsp),%xmm0
  test   %rax,%rax
  jne    L149
  movsbl (%rbx),%edi
  cmp    $0x2e,%dil
  je     L106
L157:
  movss  %xmm0,0x8(%rsp)
  call   <toupper@plt>
  movss  0x8(%rsp),%xmm0
  cmp    $0x45,%al
  je     L171
L133:
  test   %bpl,%bpl
  je     L64
  xorps  D19(%rip),%xmm0
L64:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  ret
  nopl   0x0(%rax)
L162:
  add    $0x1,%rbx
  mov    $0x1,%ebp
  jmp    L160
  cs nopw 0x0(%rax,%rax,1)
L106:
  movss  D5(%rip),%xmm1
  add    $0x1,%rbx
  jmp    L114
  xchg   %ax,%ax
L102:
  movsbl (%rbx),%eax
  pxor   %xmm2,%xmm2
  add    $0x1,%rbx
  sub    $0x30,%eax
  cvtsi2ss %eax,%xmm2
  mulss  %xmm1,%xmm2
  cvtss2sd %xmm1,%xmm1
  mulsd  D12(%rip),%xmm1
  addss  %xmm2,%xmm0
  cvtsd2ss %xmm1,%xmm1
L114:
  movsbl (%rbx),%edi
  movss  %xmm0,0xc(%rsp)
  movss  %xmm1,0x8(%rsp)
  call   <isdigit@plt>
  movss  0x8(%rsp),%xmm1
  movss  0xc(%rsp),%xmm0
  test   %rax,%rax
  jne    L102
  movsbl (%rbx),%edi
  jmp    L157
  nopw   0x0(%rax,%rax,1)
L171:
  lea    0x1(%rbx),%rdi
  call   <atoi@plt>
  movss  0x8(%rsp),%xmm0
  test   %al,%al
  mov    %eax,%edx
  je     L133
  movss  D47(%rip),%xmm1
  movsd  D12(%rip),%xmm2
L164:
  test   %dl,%dl
  js     L61
L34:
  mulss  %xmm1,%xmm0
  sub    $0x1,%dl
  je     L133
  test   %dl,%dl
  jns    L34
L61:
  cvtss2sd %xmm0,%xmm0
  mulsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  add    $0x1,%dl
  jne    L164
  jmp    L133
```

tool_calls: name: parse_data
arguments: data_tag: D23
data_type: f64
name: parse_data
arguments: data_tag: D19
data_type: byte[16]
name: parse_data
arguments: data_tag: D5
data_type: f32
name: parse_data
arguments: data_tag: D12
data_type: byte[8]
name: parse_data
arguments: data_tag: D47
data_type: byte[4]

tool: D23: 10

tool: {"D19": [0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

tool: D5: 0.1

tool: {"D12": [0x9a,0x99,0x99,0x99,0x99,0x99,0xb9,0x3f]}

tool: {"D47": [0x00,0x00,0x20,0x41]}

assistant: ```c
float atof(char *s) {
  float value, fraction;
  signed char iexp;
  char sign;
  while (isspace(*s))
    s++;
  if (*s == '-') {
    sign = 1;
    s++;
  } else {
    sign = 0;
    if (*s == '+')
      s++;
  }
  for (value = 0.0; isdigit(*s); s++) {
    value = 10.0 * value + (*s - '0');
  }
  if (*s == '.') {
    s++;
    for (fraction = 0.1; isdigit(*s); s++) {
      value += (*s - '0') * fraction;
      fraction *= 0.1;
    }
  }
  if (toupper(*s) == 'E') {
    s++;
    iexp = (signed char)atoi(s);
    {
      while (iexp != 0) {
        if (iexp < 0) {
          value *= 0.1;
          iexp++;
        } else {
          value *= 10.0;
          iexp--;
        }
      }
    }
  }
  if (sign)
    value *= -1.0;
  return (value);
}
```