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

```asm
<benchmark>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x58,%rsp
  mov    %edi,-0x74(%rbp)
  mov    %esi,-0x78(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%rbx
  mov    -0x78(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x68(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r14
  mov    $0x0,%r15d
  movslq %eax,%rdx
  mov    %rdx,%r12
  mov    $0x0,%r13d
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L78:
  cmp    %rdx,%rsp
  je     L69
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L78
L69:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L57
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L57:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x60(%rbp)
  mov    -0x78(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x58(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r10
  mov    $0x0,%r11d
  movslq %eax,%rdx
  mov    %rdx,%r8
  mov    $0x0,%r9d
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L47:
  cmp    %rdx,%rsp
  je     L95
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L47
L95:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L119
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L119:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x50(%rbp)
  movl   $0x0,-0x6c(%rbp)
  jmp    L42
L146:
  mov    $0x0,%eax
  call   <rand_float@plt>
  movss  D48(%rip),%xmm1
  mulss  %xmm1,%xmm0
  movss  D47(%rip),%xmm1
  subss  %xmm1,%xmm0
  mov    -0x60(%rbp),%rax
  mov    -0x6c(%rbp),%edx
  movslq %edx,%rdx
  movss  %xmm0,(%rax,%rdx,4)
  mov    $0x0,%eax
  call   <rand_float@plt>
  movss  D26(%rip),%xmm1
  mulss  %xmm1,%xmm0
  movss  D2(%rip),%xmm1
  subss  %xmm1,%xmm0
  mov    -0x50(%rbp),%rax
  mov    -0x6c(%rbp),%edx
  movslq %edx,%rdx
  movss  %xmm0,(%rax,%rdx,4)
  addl   $0x1,-0x6c(%rbp)
L42:
  mov    -0x6c(%rbp),%eax
  cmp    -0x78(%rbp),%eax
  jl     L146
  mov    $0x0,%eax
  call   <tic@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x48(%rbp)
  movl   $0x0,-0x6c(%rbp)
  jmp    L80
L19:
  mov    -0x50(%rbp),%rdx
  mov    -0x60(%rbp),%rsi
  mov    -0x78(%rbp),%eax
  mov    $0x1,%r8d
  mov    %rdx,%rcx
  mov    $0x1,%edx
  mov    D11(%rip),%edi
  movd   %edi,%xmm0
  mov    %eax,%edi
  call   <c_saxpy@plt>
  mov    -0x50(%rbp),%rax
  movss  (%rax),%xmm0
  mov    -0x50(%rbp),%rax
  movss  (%rax),%xmm1
  ucomiss %xmm1,%xmm0
  jp     L128
  ucomiss %xmm1,%xmm0
  je     L150
L128:
  lea    D40(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L22
L150:
  addl   $0x1,-0x6c(%rbp)
L80:
  mov    -0x6c(%rbp),%eax
  cmp    -0x74(%rbp),%eax
  jl     L19
L22:
  mov    $0x0,%eax
  call   <tic@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  subsd  -0x48(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  mov    -0x50(%rbp),%rax
  movss  (%rax),%xmm0
  mov    -0x50(%rbp),%rax
  movss  (%rax),%xmm1
  ucomiss %xmm1,%xmm0
  jp     L117
  ucomiss %xmm1,%xmm0
  je     L115
L117:
  lea    D40(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L115:
  movsd  -0x40(%rbp),%xmm0
  mov    %rbx,%rsp
  movq   %xmm0,%rax
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L137
  call   <__stack_chk_fail@plt>
L137:
  movq   %rax,%xmm0
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: disassemble_data
arguments: tag: D48
data_type: byte[4]
name: disassemble_data
arguments: tag: D47
data_type: byte[4]
name: disassemble_data
arguments: tag: D26
data_type: byte[4]
name: disassemble_data
arguments: tag: D2
data_type: byte[4]
name: disassemble_data
arguments: tag: D11
data_type: byte[4]
name: disassemble_data
arguments: tag: D40
data_type: string

tool: {"D48": [0x00,0x00,0xc8,0x42]}

tool: {"D47": [0x00,0x00,0x48,0x43]}

tool: {"D26": [0x00,0x40,0x1c,0x46]}

tool: {"D2": [0x00,0x40,0x9c,0x46]}

tool: {"D11": [0x00,0x00,0xa0,0x40]}

tool: D40: should not return NaN


assistant: ```c
double benchmark(int iterations, int len) {
  double elapsed;
  float x[len];
  float y[len];
  double t;
  int i;
  for (i = 0; i < len; i++) {
    x[i] = (rand_float() * 100.0f) - 200.0f;
    y[i] = (rand_float() * 10000.0f) - 20000.0f;
  }
  t = tic();
  for (i = 0; i < iterations; i++) {
    c_saxpy(len, 5.0f, x, 1, y, 1);
    if (y[0] != y[0]) {
      printf("should not return NaN\n");
      break;
    }
  }
  elapsed = tic() - t;
  if (y[0] != y[0]) {
    printf("should not return NaN\n");
  }
  return elapsed;
}
```