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

```asm
<llr_approx>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x38(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %edx,-0x44(%rbp)
  mov    %ecx,-0x48(%rbp)
  mov    %r8d,-0x4c(%rbp)
  mov    %r9,-0x58(%rbp)
  movss  %xmm0,-0x50(%rbp)
  movl   $0xffffffff,-0x1c(%rbp)
  movl   $0x0,-0x2c(%rbp)
  jmp    L7
L35:
  movl   $0x0,-0x28(%rbp)
  jmp    L13
L48:
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mov    0x10(%rbp),%rdx
  mov    -0x28(%rbp),%eax
  cltq
  shl    $0x7,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  0x4(%rax),%xmm0
  mov    0x10(%rbp),%rdx
  mov    -0x28(%rbp),%eax
  cltq
  shl    $0x7,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movss  0x4(%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x14(%rbp)
  movss  -0x18(%rbp),%xmm0
  movaps %xmm0,%xmm1
  mulss  %xmm0,%xmm1
  movss  -0x14(%rbp),%xmm0
  mulss  %xmm0,%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x24(%rbp)
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mov    0x10(%rbp),%rax
  lea    0x300(%rax),%rdx
  mov    -0x28(%rbp),%eax
  cltq
  shl    $0x7,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x10(%rbp)
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  0x4(%rax),%xmm0
  mov    0x10(%rbp),%rax
  lea    0x300(%rax),%rdx
  mov    -0x28(%rbp),%eax
  cltq
  shl    $0x7,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movss  0x4(%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0xc(%rbp)
  movss  -0x10(%rbp),%xmm0
  movaps %xmm0,%xmm1
  mulss  %xmm0,%xmm1
  movss  -0xc(%rbp),%xmm0
  mulss  %xmm0,%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x20(%rbp)
  movl   $0x1,-0x30(%rbp)
  jmp    L44
L26:
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mov    0x10(%rbp),%rax
  mov    -0x30(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x28(%rbp),%edx
  movslq %edx,%rdx
  shl    $0x5,%rdx
  add    %rcx,%rdx
  mov    (%rax,%rdx,4),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  0x4(%rax),%xmm0
  mov    0x10(%rbp),%rax
  mov    -0x30(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x28(%rbp),%edx
  movslq %edx,%rdx
  shl    $0x5,%rdx
  add    %rcx,%rdx
  mov    (%rax,%rdx,4),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movss  0x4(%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x14(%rbp)
  movss  -0x18(%rbp),%xmm0
  movaps %xmm0,%xmm1
  mulss  %xmm0,%xmm1
  movss  -0x14(%rbp),%xmm0
  mulss  %xmm0,%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x8(%rbp)
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mov    0x10(%rbp),%rax
  add    $0x300,%rax
  mov    -0x30(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x28(%rbp),%edx
  movslq %edx,%rdx
  shl    $0x5,%rdx
  add    %rcx,%rdx
  mov    (%rax,%rdx,4),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x10(%rbp)
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  0x4(%rax),%xmm0
  mov    0x10(%rbp),%rax
  add    $0x300,%rax
  mov    -0x30(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x28(%rbp),%edx
  movslq %edx,%rdx
  shl    $0x5,%rdx
  add    %rcx,%rdx
  mov    (%rax,%rdx,4),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movss  0x4(%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0xc(%rbp)
  movss  -0x10(%rbp),%xmm0
  movaps %xmm0,%xmm1
  mulss  %xmm0,%xmm1
  movss  -0xc(%rbp),%xmm0
  mulss  %xmm0,%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x4(%rbp)
  movss  -0x24(%rbp),%xmm0
  comiss -0x8(%rbp),%xmm0
  jbe    L2
  movss  -0x8(%rbp),%xmm0
  movss  %xmm0,-0x24(%rbp)
L2:
  movss  -0x20(%rbp),%xmm0
  comiss -0x4(%rbp),%xmm0
  jbe    L9
  movss  -0x4(%rbp),%xmm0
  movss  %xmm0,-0x20(%rbp)
L9:
  addl   $0x1,-0x30(%rbp)
L44:
  mov    -0x48(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cmp    %eax,-0x30(%rbp)
  jl     L26
  pxor   %xmm1,%xmm1
  cvtsi2ssl -0x1c(%rbp),%xmm1
  movss  -0x20(%rbp),%xmm0
  subss  -0x24(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  mov    -0x2c(%rbp),%eax
  imul   -0x4c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  divss  -0x50(%rbp),%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x28(%rbp)
L13:
  mov    -0x28(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jl     L48
  addl   $0x1,-0x2c(%rbp)
L7:
  mov    -0x2c(%rbp),%eax
  cmp    -0x44(%rbp),%eax
  jl     L35
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void llr_approx(const _Complex float *in, float *out, int N, int M, int B, _Complex float *symbols, int (*S)[6][32], float sigma2) {
  int i, s, b;
  float num, den;
  float new_num, new_den;
  float idiff0, qdiff0, idiff1, qdiff1;
  int change_sign = -1;
  for (s = 0; s < N; s++) {
    for (b = 0; b < B; b++) {
      idiff0 = __real__ in[s] - __real__ symbols[S[0][b][0]];
      qdiff0 = __imag__ in[s] - __imag__ symbols[S[0][b][0]];
      num = idiff0 * idiff0 + qdiff0 * qdiff0;
      idiff1 = __real__ in[s] - __real__ symbols[S[1][b][0]];
      qdiff1 = __imag__ in[s] - __imag__ symbols[S[1][b][0]];
      den = idiff1 * idiff1 + qdiff1 * qdiff1;
      for (i = 1; i < M / 2; i++) {
        idiff0 = __real__ in[s] - __real__ symbols[S[0][b][i]];
        qdiff0 = __imag__ in[s] - __imag__ symbols[S[0][b][i]];
        new_num = idiff0 * idiff0 + qdiff0 * qdiff0;
        idiff1 = __real__ in[s] - __real__ symbols[S[1][b][i]];
        qdiff1 = __imag__ in[s] - __imag__ symbols[S[1][b][i]];
        new_den = idiff1 * idiff1 + qdiff1 * qdiff1;
        if (new_num < num) {
          num = new_num;
        }
        if (new_den < den) {
          den = new_den;
        }
      }
      out[s * B + b] = change_sign * (den - num) / sigma2;
    }
  }
}
```