user: 请将以下的汇编代码转换成C语言代码:

```asm
<main>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  sub    $0x50,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  lea    0x1c(%rsp),%rbp
  lea    0x20(%rsp),%r13
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <gettimeofday@plt>
  movsd  D55(%rip),%xmm3
  movapd %xmm3,%xmm2
  xchg   %ax,%ax
L4:
  addsd  %xmm3,%xmm2
  pxor   %xmm7,%xmm7
  ucomisd %xmm2,%xmm7
  ja     L14
L22:
  movsd  D81(%rip),%xmm7
  comisd %xmm2,%xmm7
  ja     L4
  lea    0x30(%rsp),%r12
  mov    %rbp,%rsi
  movsd  %xmm2,(%rsp)
  mov    %r12,%rdi
  call   <gettimeofday@plt>
  movsd  0x30(%rsp),%xmm0
  subsd  0x20(%rsp),%xmm0
  lea    D149(%rip),%rdi
  mulsd  D10(%rip),%xmm0
  movsd  0x38(%rsp),%xmm1
  mulsd  D10(%rip),%xmm0
  subsd  0x28(%rsp),%xmm1
  addsd  %xmm1,%xmm0
  divsd  D81(%rip),%xmm0
  call   <printf@plt>
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <gettimeofday@plt>
  mov    D55(%rip),%rax
  movsd  (%rsp),%xmm2
  pxor   %xmm4,%xmm4
  movq   %rax,%xmm3
  nopl   (%rax)
L57:
  addsd  %xmm3,%xmm2
  mov    D169(%rip),%rax
  movsd  %xmm4,0x8(%rsp)
  movq   %rax,%xmm1
  movapd %xmm2,%xmm0
  movsd  %xmm2,(%rsp)
  call   <pow@plt>
  movsd  0x8(%rsp),%xmm4
  movsd  (%rsp),%xmm2
  mov    D55(%rip),%rax
  movsd  D81(%rip),%xmm5
  movq   %rax,%xmm3
  addsd  %xmm3,%xmm4
  comisd %xmm4,%xmm5
  ja     L57
  mov    %rbp,%rsi
  mov    %r12,%rdi
  call   <gettimeofday@plt>
  movsd  0x30(%rsp),%xmm0
  subsd  0x20(%rsp),%xmm0
  lea    D72(%rip),%rdi
  mulsd  D10(%rip),%xmm0
  movsd  0x38(%rsp),%xmm1
  mulsd  D10(%rip),%xmm0
  subsd  0x28(%rsp),%xmm1
  addsd  %xmm1,%xmm0
  divsd  D81(%rip),%xmm0
  call   <printf@plt>
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <gettimeofday@plt>
  mov    D55(%rip),%rax
  pxor   %xmm0,%xmm0
  movq   %rax,%xmm3
  nopl   0x0(%rax,%rax,1)
L56:
  addsd  %xmm3,%xmm0
  movsd  D81(%rip),%xmm6
  comisd %xmm0,%xmm6
  ja     L56
  mov    %r12,%rdi
  mov    %rbp,%rsi
  call   <gettimeofday@plt>
  movsd  0x30(%rsp),%xmm0
  subsd  0x20(%rsp),%xmm0
  lea    D112(%rip),%rdi
  mulsd  D10(%rip),%xmm0
  movsd  0x38(%rsp),%xmm1
  mulsd  D10(%rip),%xmm0
  subsd  0x28(%rsp),%xmm1
  addsd  %xmm1,%xmm0
  divsd  D81(%rip),%xmm0
  call   <printf@plt>
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L7
  add    $0x50,%rsp
  xor    %eax,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L14:
  movapd %xmm2,%xmm0
  movsd  %xmm2,(%rsp)
  call   <sqrt@plt>
  mov    D55(%rip),%rax
  movsd  (%rsp),%xmm2
  movq   %rax,%xmm3
  jmp    L22
L7:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: label: D55
type_infered: f32[2]
name: retrieve_data
arguments: label: D81
type_infered: f32[2]
name: retrieve_data
arguments: label: D149
type_infered: string
name: retrieve_data
arguments: label: D10
type_infered: f64
name: retrieve_data
arguments: label: D169
type_infered: f64
name: retrieve_data
arguments: label: D72
type_infered: string
name: retrieve_data
arguments: label: D112
type_infered: string

tool: {"D55": [0.0,1.875]}

tool: {"D81": [0.0,6.1103515625]}

tool: D149: Sqrt: %f us per sqrt


tool: D10: 1000

tool: D169: 0.51

tool: D72: Pow:  %f us per sqrt


tool: D112: Min:  %f us per sqrt


assistant: ```c
int main() {
  struct timeval tv1, tv2;
  struct timezone tz;
  int iterations = 10000;
  double i;
  double v = 1000.0;
  double y = 0.0;
  gettimeofday(&tv1, &tz);
  for (i = 0; i < iterations; i++) {
    y++;
    v = sqrt(y);
  }
  gettimeofday(&tv2, &tz);
  printf("Sqrt: %f us per sqrt\n", ((tv2.tv_sec - tv1.tv_sec) * 1000.0 * 1000.0 + (tv2.tv_usec - tv1.tv_usec)) / iterations);
  gettimeofday(&tv1, &tz);
  for (i = 0; i < iterations; i++) {
    y++;
    v = pow(y, 0.51);
  }
  gettimeofday(&tv2, &tz);
  printf("Pow:  %f us per sqrt\n", ((tv2.tv_sec - tv1.tv_sec) * 1000.0 * 1000.0 + (tv2.tv_usec - tv1.tv_usec)) / iterations);
  gettimeofday(&tv1, &tz);
  for (i = 0; i < iterations; i++) {
    y++;
    v = (v < y ? v : y);
  }
  gettimeofday(&tv2, &tz);
  printf("Min:  %f us per sqrt\n", ((tv2.tv_sec - tv1.tv_sec) * 1000.0 * 1000.0 + (tv2.tv_usec - tv1.tv_usec)) / iterations);
}
```