user: Converte this assembly snippet into its equivalent C code:

```asm
<Runs>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %esi,-0x3c(%rbp)
  movl   $0x0,-0x28(%rbp)
  movl   $0x0,-0x24(%rbp)
  jmp    L71
L54:
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L79
  addl   $0x1,-0x28(%rbp)
L79:
  addl   $0x1,-0x24(%rbp)
L71:
  mov    -0x24(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jl     L54
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x28(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x3c(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movsd  -0x18(%rbp),%xmm0
  movsd  D12(%rip),%xmm1
  subsd  %xmm1,%xmm0
  movq   D9(%rip),%xmm1
  andpd  %xmm1,%xmm0
  movsd  %xmm0,-0x48(%rbp)
  mov    -0x3c(%rbp),%eax
  mov    %eax,%edi
  call   <sqrt@plt>
  movsd  D79(%rip),%xmm1
  divsd  %xmm0,%xmm1
  movsd  -0x48(%rbp),%xmm0
  comisd %xmm1,%xmm0
  jbe    L56
  pxor   %xmm0,%xmm0
  jmp    L35
L56:
  movsd  D23(%rip),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movl   $0x1,-0x24(%rbp)
  jmp    L38
L41:
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x24(%rbp),%eax
  cltq
  lea    -0x1(%rax),%rcx
  mov    -0x38(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  cmp    %al,%dl
  je     L75
  movsd  -0x20(%rbp),%xmm1
  movsd  D23(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
L75:
  addl   $0x1,-0x24(%rbp)
L38:
  mov    -0x24(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jl     L41
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x3c(%rbp),%xmm0
  addsd  %xmm0,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x18(%rbp),%xmm1
  movsd  D23(%rip),%xmm0
  subsd  -0x18(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  -0x20(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movq   D9(%rip),%xmm1
  andpd  %xmm1,%xmm0
  movsd  %xmm0,-0x48(%rbp)
  movsd  -0x18(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  %xmm0,%xmm1
  movsd  D23(%rip),%xmm0
  subsd  -0x18(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  %xmm1,-0x50(%rbp)
  mov    -0x3c(%rbp),%eax
  add    %eax,%eax
  mov    %eax,%edi
  call   <sqrt@plt>
  movsd  -0x50(%rbp),%xmm1
  mulsd  %xmm0,%xmm1
  movsd  -0x48(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  movq   %rax,%xmm0
  call   <erfc@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x8(%rbp)
  movsd  D2(%rip),%xmm0
  comisd -0x8(%rbp),%xmm0
  jbe    L63
  movsd  -0x8(%rbp),%xmm0
  jmp    L35
L63:
  pxor   %xmm0,%xmm0
L35:
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_label: D12
type_infered: f64
name: disassemble_data
arguments: data_label: D9
type_infered: qword
name: disassemble_data
arguments: data_label: D79
type_infered: f64
name: disassemble_data
arguments: data_label: D23
type_infered: f64
name: disassemble_data
arguments: data_label: D2
type_infered: f64

tool: D12: 0.5

tool: D9: 9223372036854775807

tool: D79: 2

tool: D23: 1

tool: D2: 0.01

assistant: ```c
double Runs(char *epsilon, int n) {
  int S, k;
  double pi, V, erfc_arg, p_value;
  S = 0;
  for (k = 0; k < n; k++)
    if (epsilon[k])
      S++;
  pi = (double)S / (double)n;
  if (fabs(pi - 0.5) > (2.0 / sqrt(n))) {
    return (0);
  } else {
    V = 1;
    for (k = 1; k < n; k++)
      if (epsilon[k] != epsilon[k - 1])
        V++;
    erfc_arg = fabs(V - 2.0 * n * pi * (1 - pi)) / (2.0 * pi * (1 - pi) * sqrt(2 * n));
    p_value = erfc(erfc_arg);
    if (((p_value) < 0.e0 ? 1 : 0) || ((p_value) > 1.e0 ? 1 : 0)) {
    }
    return (p_value < 0.01 ? (p_value) : 0);
  }
}
```