user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %edi,-0x14(%rbp)
  mov    %rsi,-0x20(%rbp)
  movl   $0x1,-0xc(%rbp)
  jmp    L89
L123:
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  test   %eax,%eax
  je     L117
  test   %eax,%eax
  js     L15
  cmp    $0x39,%eax
  jg     L15
  cmp    $0x2a,%eax
  jl     L15
  sub    $0x2a,%eax
  cmp    $0xf,%eax
  ja     L15
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D45(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D45(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
L117:
  lea    D4(%rip),%rax
  mov    %rax,%rdi
  call   <panic@plt>
  jmp    L42
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <atof@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <push@plt>
  jmp    L42
  mov    $0x0,%eax
  call   <pop@plt>
  movsd  %xmm0,-0x28(%rbp)
  mov    $0x0,%eax
  call   <pop@plt>
  movapd %xmm0,%xmm1
  addsd  -0x28(%rbp),%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <push@plt>
  jmp    L42
  mov    $0x0,%eax
  call   <pop@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x8(%rbp)
  mov    $0x0,%eax
  call   <pop@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm2
  subsd  -0x8(%rbp),%xmm2
  movq   %xmm2,%rax
  movq   %rax,%xmm0
  call   <push@plt>
  jmp    L42
  mov    $0x0,%eax
  call   <pop@plt>
  movsd  %xmm0,-0x28(%rbp)
  mov    $0x0,%eax
  call   <pop@plt>
  movapd %xmm0,%xmm3
  mulsd  -0x28(%rbp),%xmm3
  movq   %xmm3,%rax
  movq   %rax,%xmm0
  call   <push@plt>
  jmp    L42
  mov    $0x0,%eax
  call   <pop@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x8(%rbp)
  mov    $0x0,%eax
  call   <pop@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm4
  divsd  -0x8(%rbp),%xmm4
  movq   %xmm4,%rax
  movq   %rax,%xmm0
  call   <push@plt>
  jmp    L42
L15:
  lea    D6(%rip),%rax
  mov    %rax,%rdi
  call   <panic@plt>
  nop
L42:
  addl   $0x1,-0xc(%rbp)
L89:
  mov    -0xc(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jl     L123
  mov    $0x0,%eax
  call   <pop@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  lea    D19(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: tag: D4
data_type: string
name: retrieve_data
arguments: tag: D6
data_type: string
name: retrieve_data
arguments: tag: D19
data_type: string

tool: D4: empty command line argument

tool: D6: unknown operator

tool: D19: %g


assistant: ```c
int main(int argc, char **argv) {
  int i;
  double value;
  for (i = 1; i < argc; ++i) {
    switch (argv[i][0]) {
    case '\0':
      panic("empty command line argument");
      break;
    case '0':
    case '1':
    case '2':
    case '3':
    case '4':
    case '5':
    case '6':
    case '7':
    case '8':
    case '9':
      push(atof(argv[i]));
      break;
    case '+':
      push(pop() + pop());
      break;
    case '-':
      value = pop();
      push(pop() - value);
      break;
    case '*':
      push(pop() * pop());
      break;
    case '/':
      value = pop();
      push(pop() / value);
      break;
    default:
      panic("unknown operator");
      break;
    }
  }
  printf("%g\n", pop());
  return 0;
}
```