user: 请从给定的汇编指令推导出C源代码：

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x70,%rsp
  mov    %edi,-0x64(%rbp)
  mov    %rsi,-0x70(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movq   $0xf4240,-0x48(%rbp)
  cmpl   $0x1,-0x64(%rbp)
  jle    L25
  mov    -0x70(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <atoll@plt>
  mov    %rax,-0x48(%rbp)
L25:
  cmpq   $0x63,-0x48(%rbp)
  jg     L16
  movq   $0xf4240,-0x48(%rbp)
L16:
  pxor   %xmm3,%xmm3
  cvtsi2sdq -0x48(%rbp),%xmm3
  movq   %xmm3,%rax
  movq   %rax,%xmm0
  lea    D63(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    -0x30(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <gettimeofday@plt>
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x58(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x48(%rbp),%xmm1
  movsd  D5(%rip),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movq   $0x0,-0x50(%rbp)
  jmp    L18
L3:
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x50(%rbp),%xmm1
  movsd  D0(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  -0x40(%rbp),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  movsd  -0x38(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  %xmm0,%xmm1
  movsd  D5(%rip),%xmm0
  addsd  %xmm0,%xmm1
  movsd  D77(%rip),%xmm0
  divsd  %xmm1,%xmm0
  movsd  -0x58(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x58(%rbp)
  addq   $0x1,-0x50(%rbp)
L18:
  mov    -0x50(%rbp),%rax
  cmp    -0x48(%rbp),%rax
  jl     L3
  lea    -0x20(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <gettimeofday@plt>
  movsd  -0x58(%rbp),%xmm0
  mulsd  -0x40(%rbp),%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  lea    D12(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    -0x18(%rbp),%rax
  mov    -0x28(%rbp),%rdx
  sub    %rdx,%rax
  pxor   %xmm1,%xmm1
  cvtsi2sd %rax,%xmm1
  mov    -0x20(%rbp),%rax
  mov    -0x30(%rbp),%rdx
  sub    %rdx,%rax
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  movsd  D49(%rip),%xmm2
  divsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  lea    D24(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L13
  call   <__stack_chk_fail@plt>
L13:
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_label: D63
data_type: string
name: parse_data
arguments: data_label: D5
data_type: f64
name: parse_data
arguments: data_label: D0
data_type: f64
name: parse_data
arguments: data_label: D77
data_type: f64
name: parse_data
arguments: data_label: D12
data_type: string
name: parse_data
arguments: data_label: D49
data_type: f64
name: parse_data
arguments: data_label: D24
data_type: string

tool: D63: 
num_steps = %lld


tool: D5: 1

tool: D0: 0.5

tool: D77: 4

tool: D12: PI = %f


tool: D49: 1000000

tool: D24: Time : %lf sec


assistant: ```c
int main(int argc, char **argv) {
  double x, sum, step;
  long long i, num_steps = 1000000;
  struct timeval start, end;
  if (argc > 1)
    num_steps = atoll(argv[1]);
  if (num_steps < 100)
    num_steps = 1000000;
  printf("\nnum_steps = %lld\n", num_steps);
  gettimeofday(&start, NULL);
  sum = 0.0;
  step = 1.0 / (double)num_steps;
  for (i = 0; i < num_steps; i++) {
    x = (i + 0.5) * step;
    sum += 4.0 / (1.0 + x * x);
  }
  gettimeofday(&end, NULL);
  printf("PI = %f\n", sum * step);
  printf("Time : %lf sec\n", (double)(end.tv_sec - start.tv_sec) + (double)(end.tv_usec - start.tv_usec) / 1000000.0);
  return 0;
}
```