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

```asm
<_glp_qmd_qmdmrg>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x8,%rsp
  mov    %rdi,-0x58(%rbp)
  mov    %rsi,-0x60(%rbp)
  mov    %rdx,-0x68(%rbp)
  mov    %rcx,-0x70(%rbp)
  mov    %r8,-0x78(%rbp)
  mov    %r9,-0x80(%rbp)
  mov    0x18(%rbp),%rax
  mov    (%rax),%eax
  test   %eax,%eax
  jle    L169
  movl   $0x1,-0x3c(%rbp)
  jmp    L172
L246:
  mov    -0x3c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movl   $0x0,(%rax)
  addl   $0x1,-0x3c(%rbp)
L172:
  mov    0x18(%rbp),%rax
  mov    (%rax),%eax
  cmp    %eax,-0x3c(%rbp)
  jle    L246
  movl   $0x1,-0x3c(%rbp)
  jmp    L176
L72:
  mov    -0x3c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movl   $0xffffffff,(%rax)
  movl   $0x0,-0x20(%rbp)
  movl   $0x0,-0x24(%rbp)
  movl   $0x0,-0x44(%rbp)
L259:
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x18(%rbp)
  mov    -0x1c(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  sub    $0x1,%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x18(%rbp),%eax
  mov    %eax,-0x30(%rbp)
  jmp    L245
L37:
  mov    -0x30(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x10(%rbp)
  mov    -0x10(%rbp),%eax
  neg    %eax
  mov    %eax,-0x1c(%rbp)
  cmpl   $0x0,-0x10(%rbp)
  jns    L88
  jmp    L259
L88:
  cmpl   $0x0,-0x10(%rbp)
  je     L99
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0xc(%rbp)
  cmpl   $0x0,-0xc(%rbp)
  jne    L252
  addl   $0x1,-0x20(%rbp)
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x10(%rbp),%eax
  mov    %eax,(%rdx)
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %eax,-0x44(%rbp)
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movl   $0x1,(%rax)
  jmp    L206
L252:
  cmpl   $0x1,-0xc(%rbp)
  jne    L206
  addl   $0x1,-0x24(%rbp)
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x30(%rbp),%rax
  add    %rax,%rdx
  mov    -0x10(%rbp),%eax
  mov    %eax,(%rdx)
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movl   $0x2,(%rax)
L206:
  addl   $0x1,-0x30(%rbp)
L245:
  mov    -0x30(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jle    L37
  jmp    L58
L99:
  nop
L58:
  movl   $0x0,-0x40(%rbp)
  movl   $0x0,-0x28(%rbp)
  movl   $0x1,-0x38(%rbp)
  jmp    L22
L265:
  mov    -0x38(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x18(%rbp)
  mov    -0x8(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  sub    $0x1,%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x18(%rbp),%eax
  mov    %eax,-0x30(%rbp)
  jmp    L96
L42:
  mov    -0x30(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x10(%rbp)
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  test   %eax,%eax
  jne    L26
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movl   $0x1,(%rax)
  jmp    L128
L26:
  addl   $0x1,-0x30(%rbp)
L96:
  mov    -0x30(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jle    L42
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %eax,-0x28(%rbp)
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movl   $0xffffffff,(%rax)
  mov    -0x8(%rbp),%eax
  mov    %eax,-0x2c(%rbp)
L194:
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x4(%rbp)
  cmpl   $0x0,-0x4(%rbp)
  jle    L34
  mov    -0x4(%rbp),%eax
  mov    %eax,-0x2c(%rbp)
  jmp    L194
L34:
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x78(%rbp),%rax
  add    %rax,%rdx
  mov    -0x40(%rbp),%eax
  mov    %eax,(%rdx)
  mov    -0x8(%rbp),%eax
  mov    %eax,-0x40(%rbp)
L128:
  addl   $0x1,-0x38(%rbp)
L22:
  mov    -0x38(%rbp),%eax
  cmp    -0x24(%rbp),%eax
  jle    L265
  cmpl   $0x0,-0x40(%rbp)
  jle    L164
  mov    -0x40(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x70(%rbp),%rax
  add    %rax,%rdx
  mov    -0x28(%rbp),%eax
  mov    %eax,(%rdx)
  mov    0x10(%rbp),%rax
  mov    (%rax),%edx
  mov    -0x44(%rbp),%eax
  add    %eax,%edx
  mov    -0x40(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x68(%rbp),%rax
  add    %rcx,%rax
  sub    $0x1,%edx
  mov    %edx,(%rax)
  mov    -0x40(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movl   $0x2,(%rax)
L164:
  mov    -0x3c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movl   $0x0,(%rax)
  cmpl   $0x0,-0x20(%rbp)
  jle    L74
  movl   $0x1,-0x34(%rbp)
  jmp    L214
L102:
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movl   $0x0,(%rax)
  addl   $0x1,-0x34(%rbp)
L214:
  mov    -0x34(%rbp),%eax
  cmp    -0x20(%rbp),%eax
  jle    L102
L74:
  addl   $0x1,-0x3c(%rbp)
L176:
  mov    0x18(%rbp),%rax
  mov    (%rax),%eax
  cmp    %eax,-0x3c(%rbp)
  jle    L72
  jmp    L25
L169:
  nop
L25:
  leave
  ret
```

assistant: ```c
void _glp_qmd_qmdmrg(int xadj[], int adjncy[], int deg[], int qsize[], int qlink[], int marker[], int *_deg0, int *_nhdsze, int nbrhd[], int rchset[], int ovrlp[]) {
  int deg1, head, inhd, iov, irch, j, jstop, jstrt, link, lnode, mark, mrgsze, nabor, node, novrlp, rchsze, root;
  if ((*_nhdsze) <= 0)
    return;
  for (inhd = 1; inhd <= (*_nhdsze); inhd++) {
    root = nbrhd[inhd];
    marker[root] = 0;
  }
  for (inhd = 1; inhd <= (*_nhdsze); inhd++) {
    root = nbrhd[inhd];
    marker[root] = -1;
    rchsze = 0;
    novrlp = 0;
    deg1 = 0;
  s200:
    jstrt = xadj[root];
    jstop = xadj[root + 1] - 1;
    for (j = jstrt; j <= jstop; j++) {
      nabor = adjncy[j];
      root = -nabor;
      if (nabor < 0)
        goto s200;
      if (nabor == 0)
        break;
      mark = marker[nabor];
      if (mark == 0) {
        rchsze++;
        rchset[rchsze] = nabor;
        deg1 += qsize[nabor];
        marker[nabor] = 1;
      } else if (mark == 1) {
        novrlp++;
        ovrlp[novrlp] = nabor;
        marker[nabor] = 2;
      }
    }
    head = 0;
    mrgsze = 0;
    for (iov = 1; iov <= novrlp; iov++) {
      node = ovrlp[iov];
      jstrt = xadj[node];
      jstop = xadj[node + 1] - 1;
      for (j = jstrt; j <= jstop; j++) {
        nabor = adjncy[j];
        if (marker[nabor] == 0) {
          marker[node] = 1;
          goto s1100;
        }
      }
      mrgsze += qsize[node];
      marker[node] = -1;
      lnode = node;
    s900:
      link = qlink[lnode];
      if (link > 0) {
        lnode = link;
        goto s900;
      }
      qlink[lnode] = head;
      head = node;
    s1100:;
    }
    if (head > 0) {
      qsize[head] = mrgsze;
      deg[head] = (*_deg0) + deg1 - 1;
      marker[head] = 2;
    }
    root = nbrhd[inhd];
    marker[root] = 0;
    if (rchsze > 0) {
      for (irch = 1; irch <= rchsze; irch++) {
        node = rchset[irch];
        marker[node] = 0;
      }
    }
  }
  return;
}
```