user: What would the C source look like for the assembly code provided here?

```asm
<enorm>:
  endbr64
  push   %rbx
  sub    $0x10,%rsp
  pxor   %xmm0,%xmm0
  cvtsi2sd %edi,%xmm0
  movsd  D69(%rip),%xmm6
  divsd  %xmm0,%xmm6
  test   %edi,%edi
  jle    L35
  mov    %rsi,%rax
  lea    -0x1(%rdi),%edx
  lea    0x8(%rsi,%rdx,8),%rdx
  mov    D85(%rip),%rbx
  mov    %rbx,0x8(%rsp)
  movq   %rbx,%xmm0
  movq   %rbx,%xmm2
  movq   %rbx,%xmm3
  movq   D88(%rip),%xmm5
  movsd  D70(%rip),%xmm4
  movapd %xmm4,%xmm7
  movq   %rbx,%xmm11
  movq   %rbx,%xmm10
  movsd  D20(%rip),%xmm9
  movapd %xmm9,%xmm8
  jmp    L193
L289:
  divsd  0x8(%rsp),%xmm1
  mulsd  %xmm1,%xmm1
  addsd  %xmm1,%xmm3
  jmp    L295
L66:
  movq   %rbx,%xmm15
  comisd %xmm15,%xmm12
  jbe    L15
  movq   %rbx,%xmm13
  divsd  %xmm1,%xmm13
  mulsd  %xmm13,%xmm13
  mulsd  %xmm13,%xmm0
  addsd  %xmm9,%xmm0
  movq   %xmm12,%rbx
  jmp    L295
L15:
  ucomisd %xmm11,%xmm1
  jp     L13
  ucomisd %xmm10,%xmm1
  je     L295
L13:
  movq   %rbx,%xmm15
  divsd  %xmm15,%xmm1
  mulsd  %xmm1,%xmm1
  addsd  %xmm1,%xmm0
  jmp    L295
L19:
  mulsd  %xmm1,%xmm1
  addsd  %xmm1,%xmm2
L295:
  add    $0x8,%rax
  cmp    %rdx,%rax
  je     L0
L193:
  movsd  (%rax),%xmm1
  movapd %xmm1,%xmm12
  andpd  %xmm5,%xmm12
  comisd %xmm12,%xmm4
  jae    L291
  comisd %xmm6,%xmm12
  jb     L19
L291:
  comisd %xmm7,%xmm12
  jbe    L66
  movsd  0x8(%rsp),%xmm14
  comisd %xmm14,%xmm12
  jbe    L289
  movapd %xmm14,%xmm13
  divsd  %xmm1,%xmm13
  mulsd  %xmm13,%xmm13
  mulsd  %xmm13,%xmm3
  addsd  %xmm8,%xmm3
  movsd  %xmm12,0x8(%rsp)
  jmp    L295
L0:
  ucomisd D85(%rip),%xmm3
  jp     L83
  jne    L83
  ucomisd D85(%rip),%xmm2
  jp     L168
  je     L16
L168:
  movq   %rbx,%xmm6
  comisd %xmm6,%xmm2
  jb     L222
  movq   %rbx,%xmm1
  divsd  %xmm2,%xmm1
  mulsd  %xmm6,%xmm0
  mulsd  %xmm1,%xmm0
  addsd  D20(%rip),%xmm0
  mulsd  %xmm2,%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm0,%xmm1
  ja     L231
  sqrtsd %xmm0,%xmm0
  jmp    L17
L83:
  movsd  0x8(%rsp),%xmm7
  divsd  %xmm7,%xmm2
  divsd  %xmm7,%xmm2
  addsd  %xmm3,%xmm2
  pxor   %xmm0,%xmm0
  ucomisd %xmm2,%xmm0
  ja     L299
  sqrtsd %xmm2,%xmm2
L2:
  movsd  0x8(%rsp),%xmm0
  mulsd  %xmm2,%xmm0
L17:
  add    $0x10,%rsp
  pop    %rbx
  ret
L299:
  movapd %xmm2,%xmm0
  call   <sqrt@plt>
  movapd %xmm0,%xmm2
  jmp    L2
L231:
  call   <sqrt@plt>
  jmp    L17
L222:
  divsd  %xmm6,%xmm2
  mulsd  %xmm6,%xmm0
  addsd  %xmm0,%xmm2
  movq   %rbx,%xmm0
  mulsd  %xmm2,%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm0,%xmm1
  ja     L305
  sqrtsd %xmm0,%xmm0
  jmp    L17
L305:
  call   <sqrt@plt>
  jmp    L17
L16:
  pxor   %xmm1,%xmm1
  ucomisd %xmm0,%xmm1
  ja     L211
L117:
  sqrtsd %xmm0,%xmm0
L114:
  movq   %rbx,%xmm6
  mulsd  %xmm0,%xmm6
  movapd %xmm6,%xmm0
  jmp    L17
L35:
  mov    D85(%rip),%rbx
  movq   %rbx,%xmm0
  jmp    L117
L211:
  call   <sqrt@plt>
  jmp    L114
```

tool_calls: name: parse_data
arguments: data_tag: D69
type_infered: byte[8]
name: parse_data
arguments: data_tag: D85
type_infered: f64
name: parse_data
arguments: data_tag: D88
type_infered: qword
name: parse_data
arguments: data_tag: D70
type_infered: byte[8]
name: parse_data
arguments: data_tag: D20
type_infered: f64

tool: {"D69": [0xcc,0xcc,0xcc,0xcc,0xcc,0xcc,0xec,0x5f]}

tool: D85: 0

tool: D88: 9223372036854775807

tool: {"D70": [0xcd,0xcc,0xcc,0xcc,0xcc,0xcc,0xfc,0x1f]}

tool: D20: 1

assistant: ```c
double enorm(int n, const double *x) {
  double ret_val, d1;
  int i;
  double s1, s2, s3, xabs, x1max, x3max, agiant, floatn;
  s1 = 0.;
  s2 = 0.;
  s3 = 0.;
  x1max = 0.;
  x3max = 0.;
  floatn = (double)(n);
  agiant = (1.3407807929942596e+154 * 0.9) / floatn;
  for (i = 0; i < n; ++i) {
    xabs = fabs(x[i]);
    if (xabs <= (1.4916681462400413e-154 * 0.9) || xabs >= agiant) {
      if (xabs > (1.4916681462400413e-154 * 0.9)) {
        if (xabs > x1max) {
          d1 = x1max / xabs;
          s1 = 1. + s1 * (d1 * d1);
          x1max = xabs;
        } else {
          d1 = xabs / x1max;
          s1 += d1 * d1;
        }
      } else {
        if (xabs > x3max) {
          d1 = x3max / xabs;
          s3 = 1. + s3 * (d1 * d1);
          x3max = xabs;
        } else {
          if (xabs != 0.) {
            d1 = xabs / x3max;
            s3 += d1 * d1;
          }
        }
      }
    } else {
      s2 += xabs * xabs;
    }
  }
  if (s1 != 0.) {
    ret_val = x1max * sqrt(s1 + (s2 / x1max) / x1max);
  } else {
    if (s2 != 0.) {
      if (s2 >= x3max) {
        ret_val = sqrt(s2 * (1. + (x3max / s2) * (x3max * s3)));
      } else {
        ret_val = sqrt(x3max * ((s2 / x3max) + (x3max * s3)));
      }
    } else {
      ret_val = x3max * sqrt(s3);
    }
  }
  return ret_val;
}
```