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

```asm
<main>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x40,%rsp
  mov    %rsi,%r14
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  cmp    $0x3,%edi
  jg     L38
  je     L78
  cmp    $0x1,%edi
  jg     L40
  je     L8
L66:
  pxor   %xmm1,%xmm1
  cvtsi2ss %ebx,%xmm1
  movss  %xmm1,0x8(%rsp)
  pxor   %xmm3,%xmm3
  cvtsi2ss %ebp,%xmm3
  movss  %xmm3,0xc(%rsp)
  mov    %r12d,%edx
  movaps %xmm3,%xmm0
  mov    %r13d,%esi
  lea    D8(%rip),%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  lea    0x10(%rsp),%rdi
  mov    $0x0,%esi
  call   <gettimeofday@plt>
  test   %ebp,%ebp
  jle    L75
  mov    $0x0,%ebx
L17:
  mov    %r12d,%edi
  call   <usleep@plt>
  add    $0x1,%ebx
  cmp    %ebp,%ebx
  jne    L17
L75:
  lea    0x20(%rsp),%rdi
  mov    $0x0,%esi
  call   <gettimeofday@plt>
  mov    0x28(%rsp),%rax
  sub    0x18(%rsp),%rax
  pxor   %xmm2,%xmm2
  cvtsi2ss %rax,%xmm2
  movss  0x20(%rsp),%xmm1
  movaps %xmm1,%xmm0
  subss  0x10(%rsp),%xmm0
  movss  0x8(%rsp),%xmm4
  divss  %xmm4,%xmm0
  addss  %xmm2,%xmm0
  imul   %r12d,%ebp
  pxor   %xmm1,%xmm1
  cvtsi2ss %ebp,%xmm1
  divss  %xmm4,%xmm1
  subss  %xmm1,%xmm0
  movaps %xmm0,%xmm1
  divss  0xc(%rsp),%xmm1
  mov    %r13d,%esi
  lea    D13(%rip),%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  mov    $0x0,%edi
  call   <wait@plt>
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L77
  mov    $0x0,%eax
  add    $0x40,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L38:
  mov    0x20(%rsi),%rdi
  call   <atoi@plt>
  mov    %eax,%r12d
L78:
  mov    0x18(%r14),%rdi
  call   <atoi@plt>
  mov    %eax,%ebx
L40:
  mov    0x10(%r14),%rdi
  call   <atoi@plt>
  mov    %eax,%ebp
L8:
  mov    0x8(%r14),%rdi
  call   <atoi@plt>
  mov    %eax,%r13d
  jmp    L66
L77:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: tag: D8
data_type: string
name: read_data
arguments: tag: D13
data_type: string

tool: D8: 


Child Number = %d
Iteractions = %d
MicroPerSec = %d
Sleep Time = %d


tool: D13: Filho #%d -- desvio total: %.5f -- desvio medio: %.5f


assistant: ```c
int main(int argc, char *argv[]) {
  int count;
  int no_of_iterations;
  int micro_per_second;
  int sleep_time;
  if (argc >= 4) {
    sleep_time = atoi(argv[4]);
  }
  if (argc >= 3) {
    micro_per_second = atoi(argv[3]);
  }
  if (argc >= 2) {
    no_of_iterations = atoi(argv[2]);
  }
  if (argc >= 1) {
    count = atoi(argv[1]);
  }
  printf("\n\n\nChild Number = %d\nIteractions = %d\nMicroPerSec = %d\nSleep Time = %d\n", count, no_of_iterations, micro_per_second, sleep_time);
  float drift;
  int child_no;
  struct timeval start_time;
  struct timeval stop_time;
  child_no = count;
  gettimeofday(&start_time, NULL);
  for (count = 0; count < no_of_iterations; count++) {
    usleep(sleep_time);
  }
  gettimeofday(&stop_time, NULL);
  drift = (float)(stop_time.tv_sec - start_time.tv_sec);
  drift += (stop_time.tv_usec - start_time.tv_usec) / (float)micro_per_second;
  printf("Filho #%d -- desvio total: %.5f -- desvio medio: %.5f\n", child_no, drift - no_of_iterations * sleep_time / (float)micro_per_second, (drift - no_of_iterations * sleep_time / (float)micro_per_second) / no_of_iterations);
  wait(NULL);
}
```