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

```asm
<getvaluestat>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdi,%r12
  mov    %rsi,%r13
  mov    %rdx,%r14
  mov    %rcx,%r15
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  lea    D23(%rip),%rax
  mov    %rax,(%rsp)
  lea    D43(%rip),%rax
  mov    %rax,0x8(%rsp)
  lea    D2(%rip),%rax
  mov    %rax,0x10(%rsp)
  lea    D0(%rip),%rax
  mov    %rax,0x18(%rsp)
  mov    $0x1,%ebx
  lea    0x2e(%rsp),%rbp
L13:
  mov    %r13,%rsi
  mov    %rbp,%rdi
  call   <strcpy@plt>
  mov    -0x8(%rsp,%rbx,8),%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  mov    %rbp,%rsi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <stringpos@plt>
  test   %eax,%eax
  sete   %cl
  cmp    $0x3,%ebx
  setle  %dl
  add    $0x1,%rbx
  test   %dl,%cl
  jne    L13
  test   %eax,%eax
  je     L108
  movzbl (%r14),%edx
  cmp    $0x66,%dl
  je     L11
  jg     L101
  cmp    $0x46,%dl
  je     L88
  cmp    $0x64,%dl
  jne    L52
  cltq
  lea    (%r12,%rax,1),%rdi
  mov    $0x0,%eax
  call   <atoi@plt>
  mov    %eax,(%r15)
  mov    $0x0,%eax
L118:
  mov    0x38(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L75
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L101:
  cmp    $0x73,%dl
  jne    L52
  cltq
  lea    (%r12,%rax,1),%rsi
  mov    %r15,%rdi
  call   <strcpy@plt>
  mov    $0x0,%eax
  jmp    L118
L11:
  cltq
  lea    (%r12,%rax,1),%rdi
  mov    $0x0,%eax
  call   <atof@plt>
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  %xmm0,(%r15)
  mov    $0x0,%eax
  jmp    L118
L88:
  cltq
  lea    (%r12,%rax,1),%rdi
  mov    $0x0,%eax
  call   <atof@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,(%r15)
  mov    $0x0,%eax
  jmp    L118
L52:
  mov    %r14,%rsi
  lea    D25(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0xffffffff,%edi
  call   <exit@plt>
L108:
  mov    $0xffffffff,%eax
  jmp    L118
L75:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: tag: D23
data_type: string
name: extract_symbolic_data
arguments: tag: D43
data_type: string
name: extract_symbolic_data
arguments: tag: D2
data_type: string
name: extract_symbolic_data
arguments: tag: D0
data_type: string
name: extract_symbolic_data
arguments: tag: D25
data_type: string

tool: D23: =

tool: D43: :

tool: D2:  =

tool: D0:  :

tool: D25: WARNING: bad argument type "%s" found!


assistant: ```c
int getvaluestat(char *s, char *arg, char *type, int *var) {
  int pos, inum;
  double *dbl;
  float *flt;
  char argt[10], *str, *symb[4];
  symb[0] = "=";
  symb[1] = ":";
  symb[2] = " =";
  symb[3] = " :";
  pos = 0;
  inum = 0;
  while (pos == 0 && inum < 4) {
    strcpy(argt, arg);
    strcat(argt, symb[inum]);
    pos = stringpos(s, argt);
    inum++;
  }
  if (pos == 0) {
    return (-1);
  }
  switch (type[0]) {
  case 'd':
    *var = atoi(&s[pos]);
    return (0);
  case 'f':
    flt = (float *)var;
    *flt = atof(&s[pos]);
    return (0);
  case 'F':
    dbl = (double *)var;
    *dbl = atof(&s[pos]);
    return (0);
  case 's':
    str = (char *)var;
    strcpy(str, &s[pos]);
    return (0);
  default:
    printf("WARNING: bad argument type \"%s\" found!\n", type);
    exit(-1);
  }
}
```