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

```asm
<gels>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x10,%rsp
  mov    %rdi,-0x68(%rbp)
  mov    %rsi,-0x70(%rbp)
  mov    %edx,-0x74(%rbp)
  movsd  %xmm0,-0x80(%rbp)
  mov    %rcx,-0x88(%rbp)
  movl   $0x0,-0x54(%rbp)
  movl   $0x0,-0x50(%rbp)
  cmpl   $0x0,-0x74(%rbp)
  jg     L138
  nop
  jmp    L67
L273:
  nop
L67:
  movl   $0xffffffff,-0x44(%rbp)
  jmp    L200
L138:
  movl   $0x0,-0x44(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movl   $0x0,-0x48(%rbp)
  movl   $0x1,-0x4c(%rbp)
  jmp    L162
L122:
  mov    -0x4c(%rbp),%eax
  add    %eax,-0x48(%rbp)
  mov    -0x48(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movq   D4(%rip),%xmm1
  andpd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movsd  -0x20(%rbp),%xmm0
  comisd -0x18(%rbp),%xmm0
  jbe    L180
  movsd  -0x20(%rbp),%xmm0
  movsd  %xmm0,-0x18(%rbp)
  mov    -0x48(%rbp),%eax
  mov    %eax,-0x54(%rbp)
  mov    -0x4c(%rbp),%eax
  mov    %eax,-0x50(%rbp)
L180:
  addl   $0x1,-0x4c(%rbp)
L162:
  mov    -0x4c(%rbp),%eax
  cmp    -0x74(%rbp),%eax
  jle    L122
  movsd  -0x80(%rbp),%xmm0
  mulsd  -0x18(%rbp),%xmm0
  movsd  %xmm0,-0x10(%rbp)
  movl   $0x0,-0x30(%rbp)
  mov    -0x74(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x28(%rbp)
  movl   $0x1,-0x4c(%rbp)
  jmp    L208
L240:
  pxor   %xmm0,%xmm0
  comisd -0x18(%rbp),%xmm0
  jae    L273
  cmpl   $0x0,-0x44(%rbp)
  jne    L190
  movsd  -0x10(%rbp),%xmm0
  comisd -0x18(%rbp),%xmm0
  jb     L190
  mov    -0x4c(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x44(%rbp)
L190:
  mov    -0x50(%rbp),%eax
  sub    -0x4c(%rbp),%eax
  mov    %eax,-0x34(%rbp)
  mov    -0x4c(%rbp),%eax
  add    %eax,-0x30(%rbp)
  mov    -0x54(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  movsd  D25(%rip),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  mov    -0x4c(%rbp),%eax
  mov    %eax,-0x48(%rbp)
  mov    -0x48(%rbp),%edx
  mov    -0x34(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x3c(%rbp)
  mov    -0x3c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  -0x8(%rbp),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  mov    -0x48(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x70(%rbp),%rax
  add    %rax,%rdx
  mov    -0x3c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    -0x70(%rbp),%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x48(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x20(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x4c(%rbp),%eax
  cmp    -0x74(%rbp),%eax
  jge    L81
  mov    -0x4c(%rbp),%edx
  mov    -0x50(%rbp),%eax
  add    %edx,%eax
  sub    $0x1,%eax
  imul   -0x34(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edx
  mov    -0x30(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x24(%rbp),%eax
  mov    %eax,-0x3c(%rbp)
  mov    -0x30(%rbp),%eax
  mov    %eax,-0x48(%rbp)
  mov    -0x4c(%rbp),%eax
  mov    %eax,-0x40(%rbp)
  jmp    L37
L121:
  mov    -0x40(%rbp),%eax
  add    %eax,-0x48(%rbp)
  addl   $0x1,-0x3c(%rbp)
  mov    -0x48(%rbp),%eax
  cmp    -0x24(%rbp),%eax
  jne    L275
  mov    -0x30(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rax,%rdx
  mov    -0x3c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    -0x68(%rbp),%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x48(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  jmp    L262
L275:
  mov    -0x48(%rbp),%eax
  cmp    -0x24(%rbp),%eax
  jle    L288
  mov    -0x48(%rbp),%edx
  mov    -0x34(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x3c(%rbp)
L288:
  mov    -0x3c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  mov    -0x48(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rax,%rdx
  mov    -0x3c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    -0x68(%rbp),%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
L262:
  mov    -0x40(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x20(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x48(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x8(%rbp),%xmm0
  mulsd  -0x20(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x40(%rbp)
L37:
  mov    -0x40(%rbp),%eax
  cmp    -0x28(%rbp),%eax
  jle    L121
  mov    -0x30(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x34(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  mov    -0x30(%rbp),%eax
  mov    %eax,-0x2c(%rbp)
  movl   $0x0,-0x34(%rbp)
  mov    -0x4c(%rbp),%eax
  mov    %eax,-0x40(%rbp)
  jmp    L155
L205:
  mov    -0x40(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movq   D30(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  mov    -0x2c(%rbp),%eax
  mov    %eax,-0x3c(%rbp)
  addl   $0x1,-0x34(%rbp)
  mov    -0x40(%rbp),%eax
  mov    %eax,-0x38(%rbp)
  jmp    L115
L150:
  mov    -0x38(%rbp),%eax
  add    %eax,-0x3c(%rbp)
  mov    -0x3c(%rbp),%edx
  mov    -0x34(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x48(%rbp)
  mov    -0x48(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x3c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  -0x8(%rbp),%xmm0
  mov    -0x48(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x38(%rbp)
L115:
  mov    -0x38(%rbp),%eax
  cmp    -0x28(%rbp),%eax
  jle    L150
  mov    -0x40(%rbp),%eax
  add    %eax,-0x2c(%rbp)
  mov    -0x2c(%rbp),%edx
  mov    -0x34(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x24(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movq   D4(%rip),%xmm1
  andpd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movsd  -0x20(%rbp),%xmm0
  comisd -0x18(%rbp),%xmm0
  jbe    L68
  movsd  -0x20(%rbp),%xmm0
  movsd  %xmm0,-0x18(%rbp)
  mov    -0x24(%rbp),%eax
  mov    %eax,-0x54(%rbp)
  mov    -0x40(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x50(%rbp)
L68:
  mov    -0x4c(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x24(%rbp),%edx
  mov    -0x34(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x3c(%rbp)
  mov    -0x3c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x24(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  -0x8(%rbp),%xmm0
  mov    -0x3c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x40(%rbp)
L155:
  mov    -0x40(%rbp),%eax
  cmp    -0x28(%rbp),%eax
  jle    L205
  addl   $0x1,-0x4c(%rbp)
L208:
  mov    -0x4c(%rbp),%eax
  cmp    -0x74(%rbp),%eax
  jle    L240
  jmp    L127
L81:
  nop
L127:
  cmpl   $0x0,-0x28(%rbp)
  jg     L58
  cmpl   $0x0,-0x28(%rbp)
  jns    L191
  jmp    L67
L58:
  mov    -0x74(%rbp),%eax
  mov    %eax,-0x40(%rbp)
  movl   $0x2,-0x54(%rbp)
  jmp    L65
L248:
  mov    -0x40(%rbp),%eax
  sub    %eax,-0x30(%rbp)
  subl   $0x1,-0x40(%rbp)
  mov    -0x30(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  movsd  D1(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,-0x48(%rbp)
  mov    -0x40(%rbp),%eax
  mov    %eax,-0x50(%rbp)
  mov    -0x50(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  mov    -0x50(%rbp),%eax
  mov    %eax,-0x3c(%rbp)
  mov    -0x30(%rbp),%eax
  mov    %eax,-0x4c(%rbp)
  mov    -0x40(%rbp),%eax
  mov    %eax,-0x34(%rbp)
  jmp    L149
L153:
  addl   $0x1,-0x3c(%rbp)
  mov    -0x34(%rbp),%eax
  add    %eax,-0x4c(%rbp)
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x3c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  -0x20(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  addl   $0x1,-0x34(%rbp)
L149:
  mov    -0x34(%rbp),%eax
  cmp    -0x28(%rbp),%eax
  jle    L153
  mov    -0x50(%rbp),%edx
  mov    -0x48(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x4c(%rbp)
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x70(%rbp),%rax
  add    %rax,%rdx
  mov    -0x50(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    -0x70(%rbp),%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x20(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x54(%rbp)
L65:
  mov    -0x54(%rbp),%eax
  cmp    -0x74(%rbp),%eax
  jle    L248
  jmp    L200
L191:
  nop
L200:
  mov    -0x44(%rbp),%eax
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: data_label: D4
data_type: qword
name: retrieve_data
arguments: data_label: D25
data_type: f64
name: retrieve_data
arguments: data_label: D30
data_type: f32[2]
name: retrieve_data
arguments: data_label: D1
data_type: f64

tool: D4: 9223372036854775807

tool: D25: 1

tool: {"D30": [0.0,-0.0]}

tool: D1: 0.5

assistant: ```c
int gels(A, R, M, EPS, AUX)
double A[], R[];
int M;
double EPS;
double AUX[];
{
  int I = 0, J = 0, K, L, IER;
  int II, LL, LLD, LR, LT, LST, LLST, LEND;
  double tb, piv, tol, pivi;
  if (M <= 0) {
  fatal:
    IER = -1;
    goto done;
  }
  IER = 0;
  piv = 0.0;
  L = 0;
  for (K = 1; K <= M; K++) {
    L += K;
    tb = fabs(A[L - 1]);
    if (tb > piv) {
      piv = tb;
      I = L;
      J = K;
    }
  }
  tol = EPS * piv;
  LST = 0;
  LEND = M - 1;
  for (K = 1; K <= M; K++) {
    if (piv <= 0.0)
      goto fatal;
    if (IER == 0) {
      if (piv <= tol) {
        IER = K - 1;
      }
    }
    LT = J - K;
    LST += K;
    pivi = 1.0 / A[I - 1];
    L = K;
    LL = L + LT;
    tb = pivi * R[LL - 1];
    R[LL - 1] = R[L - 1];
    R[L - 1] = tb;
    if (K >= M)
      break;
    LR = LST + (LT * (K + J - 1)) / 2;
    LL = LR;
    L = LST;
    for (II = K; II <= LEND; II++) {
      L += II;
      LL += 1;
      if (L == LR) {
        A[LL - 1] = A[LST - 1];
        tb = A[L - 1];
        goto lab13;
      }
      if (L > LR)
        LL = L + LT;
      tb = A[LL - 1];
      A[LL - 1] = A[L - 1];
    lab13:
      AUX[II - 1] = tb;
      A[L - 1] = pivi * tb;
    }
    A[LST - 1] = LT;
    piv = 0.0;
    LLST = LST;
    LT = 0;
    for (II = K; II <= LEND; II++) {
      pivi = -AUX[II - 1];
      LL = LLST;
      LT += 1;
      for (LLD = II; LLD <= LEND; LLD++) {
        LL += LLD;
        L = LL + LT;
        A[L - 1] += pivi * A[LL - 1];
      }
      LLST += II;
      LR = LLST + LT;
      tb = fabs(A[LR - 1]);
      if (tb > piv) {
        piv = tb;
        I = LR;
        J = II + 1;
      }
      LR = K;
      LL = LR + LT;
      R[LL - 1] += pivi * R[LR - 1];
    }
  }
  if (LEND <= 0) {
    if (LEND < 0)
      goto fatal;
    goto done;
  }
  II = M;
  for (I = 2; I <= M; I++) {
    LST -= II;
    II -= 1;
    L = A[LST - 1] + 0.5;
    J = II;
    tb = R[J - 1];
    LL = J;
    K = LST;
    for (LT = II; LT <= LEND; LT++) {
      LL += 1;
      K += LT;
      tb -= A[K - 1] * R[LL - 1];
    }
    K = J + L;
    R[J - 1] = R[K - 1];
    R[K - 1] = tb;
  }
done:
  return (IER);
}
```