user: 这段汇编代码用C语言表示是什么样的:

```asm
<temp_parm>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xb0,%rsp
  mov    %rdi,-0x88(%rbp)
  mov    %rsi,-0x90(%rbp)
  mov    %rdx,-0x98(%rbp)
  mov    %rcx,-0xa0(%rbp)
  mov    %r8,-0xa8(%rbp)
  mov    %r9,-0xb0(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x74(%rbp)
  mov    -0xa8(%rbp),%rax
  movl   $0x0,(%rax)
  movl   $0x0,-0x7c(%rbp)
  jmp    L22
L186:
  mov    -0x7c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <strupper@plt>
  mov    -0x7c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    -0x98(%rbp),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L101
  mov    -0x7c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movb   $0x0,(%rax)
  addl   $0x1,-0x7c(%rbp)
  mov    -0x90(%rbp),%rax
  mov    (%rax),%eax
  cmp    %eax,-0x7c(%rbp)
  jl     L103
  mov    -0x98(%rbp),%rdx
  lea    -0x60(%rbp),%rax
  lea    D23(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sprintf@plt>
  lea    -0x60(%rbp),%rax
  mov    %rax,%rdi
  call   <store_error_message@plt>
  mov    $0x1,%eax
  jmp    L37
L103:
  mov    -0x7c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <strupper@plt>
  mov    -0x7c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  lea    -0x70(%rbp),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strtod@plt>
  movq   %xmm0,%rax
  mov    -0xb0(%rbp),%rdx
  mov    %rax,(%rdx)
  mov    -0x70(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%esi
  lea    D28(%rip),%rax
  mov    %rax,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L148
  mov    -0x70(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%esi
  lea    D44(%rip),%rax
  mov    %rax,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L148
  mov    -0x70(%rbp),%rax
  movzbl (%rax),%edx
  mov    -0xa0(%rbp),%rax
  mov    %dl,(%rax)
  jmp    L179
L148:
  mov    -0x70(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%esi
  lea    D44(%rip),%rax
  mov    %rax,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L179
  mov    -0x98(%rbp),%rdx
  lea    -0x60(%rbp),%rax
  lea    D0(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sprintf@plt>
  lea    -0x60(%rbp),%rax
  mov    %rax,%rdi
  call   <store_error_message@plt>
  mov    $0x1,%eax
  jmp    L37
L179:
  mov    -0x7c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movb   $0x0,(%rax)
  mov    -0xa8(%rbp),%rax
  movl   $0x1,(%rax)
  addl   $0x2,-0x74(%rbp)
L101:
  addl   $0x1,-0x7c(%rbp)
L22:
  mov    -0x90(%rbp),%rax
  mov    (%rax),%eax
  cmp    %eax,-0x7c(%rbp)
  jl     L186
  cmpl   $0x0,-0x74(%rbp)
  jne    L146
  mov    $0x0,%eax
  jmp    L37
L146:
  movl   $0x0,-0x7c(%rbp)
  jmp    L65
L42:
  mov    -0x7c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L46
  mov    -0x7c(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x78(%rbp)
  jmp    L119
L163:
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L9
  mov    -0x7c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x68(%rbp)
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    -0x7c(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x88(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%rax
  mov    %rax,(%rdx)
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rax,%rdx
  mov    -0x68(%rbp),%rax
  mov    %rax,(%rdx)
  mov    -0x68(%rbp),%rax
  movb   $0x0,(%rax)
  jmp    L46
L9:
  addl   $0x1,-0x78(%rbp)
L119:
  mov    -0x90(%rbp),%rax
  mov    (%rax),%eax
  cmp    %eax,-0x78(%rbp)
  jl     L163
L46:
  addl   $0x1,-0x7c(%rbp)
L65:
  mov    -0x90(%rbp),%rax
  mov    (%rax),%eax
  cmp    %eax,-0x7c(%rbp)
  jl     L42
  mov    -0x90(%rbp),%rax
  mov    (%rax),%eax
  sub    -0x74(%rbp),%eax
  mov    %eax,%edx
  mov    -0x90(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x0,%eax
L37:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L149
  call   <__stack_chk_fail@plt>
L149:
  leave
  ret
```

tool_calls: name: read_data
arguments: tag: D23
type: string
name: read_data
arguments: tag: D28
type: string
name: read_data
arguments: tag: D44
type: string
name: read_data
arguments: tag: D0
type: string

tool: D23: Missing %s value.

tool: D28: CFKR

tool: D44:  	


tool: D0: Invalid %s value or scale.

assistant: ```c
int temp_parm(char **tokens, int *ntokens, char *tparmname, char *tscale, int *tflag, double *tvalue) {
  char msg[80];
  int j, k, count = 0;
  char *sp, *tmptok;
  *tflag = 0;
  j = 0;
  while (j < *ntokens) {
    strupper(tokens[j]);
    if (strcmp(tokens[j], tparmname) == 0) {
      *tokens[j] = '\0';
      j++;
      if (j >= *ntokens) {
        sprintf(msg, "Missing %s value.", tparmname);
        store_error_message(msg);
        return 1;
      }
      strupper(tokens[j]);
      *tvalue = strtod(tokens[j], &sp);
      if (strchr("CFKR", *sp) && strchr(" \t\n\r", *(sp + 1))) {
        *tscale = *sp;
      } else if (!strchr(" \t\n\r", *sp)) {
        sprintf(msg, "Invalid %s value or scale.", tparmname);
        store_error_message(msg);
        return 1;
      }
      *tokens[j] = '\0';
      *tflag = 1;
      count += 2;
    }
    j++;
  }
  if (count == 0)
    return 0;
  for (j = 0; j < *ntokens; j++) {
    if (*tokens[j] == '\0') {
      for (k = j + 1; k < *ntokens; k++) {
        if (*tokens[k] != '\0') {
          tmptok = tokens[j];
          tokens[j] = tokens[k];
          tokens[k] = tmptok;
          *tmptok = '\0';
          break;
        }
      }
    }
  }
  *ntokens -= count;
  return 0;
}
```