user: Translate the below assembly code into C programming language:

```asm
<odrra_>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %rdi,0x28(%rsp)
  mov    %rdx,%r13
  mov    %rcx,0x20(%rsp)
  mov    0x70(%rsp),%r12
  mov    0x78(%rsp),%rax
  lea    -0x4(%rax),%rbp
  mov    0x80(%rsp),%rax
  movl   $0x0,(%rax)
  movl   $0x1,(%r12)
  movsd  (%r8),%xmm1
  pxor   %xmm0,%xmm0
  comisd %xmm1,%xmm0
  ja     L96
  mov    %rsi,%r14
  mov    %r8,%r15
  mov    0x28(%rsp),%rax
  mov    (%rax),%eax
  cmp    $0x1,%eax
  jle    L100
  mov    %eax,%eax
  mov    %rax,0x18(%rsp)
  mov    $0x1,%ebx
  jmp    L84
L96:
  andpd  D0(%rip),%xmm1
  mulsd  (%r9),%xmm1
  mov    (%rdi),%edx
  cmp    $0x1,%edx
  jle    L100
  mov    %edx,%edx
  mov    $0x1,%eax
  movq   D0(%rip),%xmm2
  jmp    L132
L38:
  add    $0x1,%rax
  cmp    %rax,%rdx
  je     L100
L132:
  movsd  -0x8(%r13,%rax,8),%xmm0
  andpd  %xmm2,%xmm0
  comisd %xmm0,%xmm1
  jb     L38
  movq   $0x0,-0x8(%r13,%rax,8)
  mov    0x20(%rsp),%rdi
  movq   $0x0,-0x8(%rdi,%rax,8)
  movslq (%r12),%rcx
  mov    %eax,0x0(%rbp,%rcx,4)
  addl   $0x1,(%r12)
  jmp    L38
L125:
  call   <sqrt@plt>
  jmp    L44
L37:
  call   <sqrt@plt>
  jmp    L137
L138:
  add    $0x1,%rbx
  cmp    0x18(%rsp),%rbx
  je     L100
L84:
  mov    %ebx,0x14(%rsp)
  movsd  -0x8(%r13,%rbx,8),%xmm0
  andpd  D0(%rip),%xmm0
  movsd  %xmm0,0x8(%rsp)
  movsd  (%r15),%xmm3
  movsd  %xmm3,(%rsp)
  movsd  -0x8(%r14,%rbx,8),%xmm0
  andpd  D0(%rip),%xmm0
  pxor   %xmm4,%xmm4
  ucomisd %xmm0,%xmm4
  ja     L125
  sqrtsd %xmm0,%xmm0
L44:
  mulsd  (%rsp),%xmm0
  movsd  %xmm0,(%rsp)
  movsd  (%r14,%rbx,8),%xmm0
  andpd  D0(%rip),%xmm0
  pxor   %xmm6,%xmm6
  ucomisd %xmm0,%xmm6
  ja     L37
  sqrtsd %xmm0,%xmm0
L137:
  mulsd  (%rsp),%xmm0
  comisd 0x8(%rsp),%xmm0
  jb     L138
  movq   $0x0,-0x8(%r13,%rbx,8)
  mov    0x20(%rsp),%rax
  movq   $0x0,-0x8(%rax,%rbx,8)
  movslq (%r12),%rax
  mov    0x14(%rsp),%esi
  mov    %esi,0x0(%rbp,%rax,4)
  addl   $0x1,(%r12)
  jmp    L138
L100:
  mov    0x28(%rsp),%rax
  mov    (%rax),%edx
  movslq (%r12),%rax
  mov    %edx,0x0(%rbp,%rax,4)
  mov    $0x0,%eax
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: read_data
arguments: data_tag: D0
data_type: qword[2]

tool: {"D0": [0x7fffffffffffffff,0x0000000000000000]}

assistant: ```c
int odrra_(int *n, double *d__, double *e, double *e2, double *spltol, double *tnrm, int *nsplit, int *isplit, int *info) {
  int i__1;
  double d__1, d__2;
  int i__;
  double tmp1, eabs;
  --isplit;
  --e2;
  --e;
  --d__;
  *info = 0;
  *nsplit = 1;
  if (*spltol < 0.) {
    tmp1 = fabs(*spltol) * *tnrm;
    i__1 = *n - 1;
    for (i__ = 1; i__ <= i__1; ++i__) {
      eabs = (d__1 = e[i__], fabs(d__1));
      if (eabs <= tmp1) {
        e[i__] = 0.;
        e2[i__] = 0.;
        isplit[*nsplit] = i__;
        ++(*nsplit);
      }
    }
  } else {
    i__1 = *n - 1;
    for (i__ = 1; i__ <= i__1; ++i__) {
      eabs = (d__1 = e[i__], fabs(d__1));
      if (eabs <= *spltol * sqrt((d__1 = d__[i__], fabs(d__1))) * sqrt((d__2 = d__[i__ + 1], fabs(d__2)))) {
        e[i__] = 0.;
        e2[i__] = 0.;
        isplit[*nsplit] = i__;
        ++(*nsplit);
      }
    }
  }
  isplit[*nsplit] = *n;
  return 0;
}
```