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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x358,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x348(%rsp)
  xor    %eax,%eax
  cmp    $0x1,%edi
  jne    L72
  lea    D62(%rip),%rdi
  call   <puts@plt>
  mov    $0xffffffff,%eax
L106:
  mov    0x348(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L44
  add    $0x358,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L72:
  jle    L46
  lea    0x8(%rsi),%rbp
  lea    -0x2(%rdi),%eax
  lea    0x10(%rsi,%rax,8),%r14
  mov    $0x0,%ebx
  lea    D72(%rip),%r13
  lea    D50(%rip),%r15
  jmp    L82
L113:
  movslq %ebx,%rax
  movsd  0x8(%rsp),%xmm1
  movsd  %xmm1,0x20(%rsp,%rax,8)
  lea    0x1(%rbx),%ebx
L78:
  add    $0x8,%rbp
  cmp    %r14,%rbp
  je     L94
L82:
  mov    %rbp,%r12
  lea    0x18(%rsp),%rsi
  mov    0x0(%rbp),%rdi
  call   <strtod@plt>
  movsd  %xmm0,0x8(%rsp)
  mov    %r13,%rsi
  mov    0x18(%rsp),%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L113
  cmp    $0x1,%ebx
  jle    L83
  mov    %r15,%rsi
  mov    0x0(%rbp),%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L36
  lea    -0x1(%rbx),%eax
  sub    $0x2,%ebx
  movslq %ebx,%rbx
  movslq %eax,%rdx
  movsd  0x20(%rsp,%rdx,8),%xmm0
  addsd  0x20(%rsp,%rbx,8),%xmm0
  movsd  %xmm0,0x20(%rsp,%rbx,8)
  mov    %eax,%ebx
L36:
  lea    D5(%rip),%rsi
  mov    (%r12),%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L3
  lea    -0x1(%rbx),%eax
  sub    $0x2,%ebx
  movslq %ebx,%rbx
  movslq %eax,%rdx
  movsd  0x20(%rsp,%rbx,8),%xmm0
  subsd  0x20(%rsp,%rdx,8),%xmm0
  movsd  %xmm0,0x20(%rsp,%rbx,8)
  mov    %eax,%ebx
L3:
  lea    D21(%rip),%rsi
  mov    (%r12),%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L126
  lea    -0x1(%rbx),%eax
  sub    $0x2,%ebx
  movslq %ebx,%rbx
  movslq %eax,%rdx
  movsd  0x20(%rsp,%rdx,8),%xmm0
  mulsd  0x20(%rsp,%rbx,8),%xmm0
  movsd  %xmm0,0x20(%rsp,%rbx,8)
  mov    %eax,%ebx
L126:
  lea    D74(%rip),%rsi
  mov    (%r12),%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L78
  lea    -0x1(%rbx),%eax
  sub    $0x2,%ebx
  movslq %ebx,%rbx
  movslq %eax,%rdx
  movsd  0x20(%rsp,%rbx,8),%xmm0
  divsd  0x20(%rsp,%rdx,8),%xmm0
  movsd  %xmm0,0x20(%rsp,%rbx,8)
  mov    %eax,%ebx
  jmp    L78
L83:
  lea    D62(%rip),%rdi
  call   <puts@plt>
  mov    $0xffffffff,%eax
  jmp    L106
L94:
  cmp    $0x1,%ebx
  je     L111
L46:
  lea    D62(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  jmp    L106
L111:
  movsd  0x20(%rsp),%xmm0
  lea    D73(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  jmp    L106
L44:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D62
type_infered: string
name: disassemble_data
arguments: tag: D72
type_infered: string
name: disassemble_data
arguments: tag: D50
type_infered: string
name: disassemble_data
arguments: tag: D5
type_infered: string
name: disassemble_data
arguments: tag: D21
type_infered: string
name: disassemble_data
arguments: tag: D74
type_infered: string
name: disassemble_data
arguments: tag: D73
type_infered: string

tool: D62: input para error.

tool: 

tool: D50: +

tool: D5: -

tool: D21: .

tool: D74: /

tool: D73: result is %f


assistant: ```c
int main(int argc, char **argv) {
  double num[100];
  char *endp;
  char *blank = "";
  char op;
  int top = 0;
  int i;
  double op1, op2;
  if (argc == 1) {
    printf("input para error.\n");
    return -1;
  }
  for (i = 1; i < argc; ++i) {
    op1 = strtod(argv[i], &endp);
    if (strcmp(endp, blank) == 0) {
      num[top++] = op1;
      continue;
    }
    if (top < 2) {
      printf("input para error.\n");
      return -1;
    }
    if (strcmp(argv[i], "+") == 0) {
      op2 = num[--top];
      op1 = num[--top];
      num[top++] = op1 + op2;
    }
    if (strcmp(argv[i], "-") == 0) {
      op2 = num[--top];
      op1 = num[--top];
      num[top++] = op1 - op2;
    }
    if (strcmp(argv[i], ".") == 0) {
      op2 = num[--top];
      op1 = num[--top];
      num[top++] = op1 * op2;
    }
    if (strcmp(argv[i], "/") == 0) {
      op2 = num[--top];
      op1 = num[--top];
      num[top++] = op1 / op2;
    }
  }
  if (top == 1)
    printf("result is %f\n", num[0]);
  else
    printf("input para error.\n");
  return 0;
}
```