user: 请将以下的汇编代码转换成C语言代码：

```asm
<push_relabel_max_flow>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  mov    %edi,%r12d
  push   %rbp
  push   %rbx
  mov    %r9d,%ebx
  sub    $0xc8,%rsp
  mov    0x100(%rsp),%rax
  mov    %rdx,0x80(%rsp)
  lea    0xb0(%rsp),%rbp
  mov    %rcx,0x48(%rsp)
  mov    %r8d,0x90(%rsp)
  mov    %edi,0x50(%rsp)
  mov    %rax,0x20(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0xb8(%rsp)
  xor    %eax,%eax
  movslq %edi,%rax
  mov    %rsi,0x68(%rsp)
  lea    0x2(%rdi),%edi
  mov    (%rsi,%rax,4),%r14d
  mov    %rbp,%rsi
  xor    %eax,%eax
  mov    %r14d,0x94(%rsp)
  call   <u_alloc@plt>
  mov    %r14d,%edi
  mov    %rbp,%rsi
  cltq
  mov    %rax,0x60(%rsp)
  xor    %eax,%eax
  call   <u_alloc@plt>
  mov    %rbp,%rsi
  movslq %eax,%rdi
  xor    %eax,%eax
  mov    %rdi,0x70(%rsp)
  mov    %r14d,%edi
  call   <u_alloc@plt>
  mov    %rbp,%rsi
  mov    %r12d,%edi
  movslq %eax,%r14
  xor    %eax,%eax
  mov    %r14,0x88(%rsp)
  call   <u_alloc@plt>
  mov    %rbp,%rsi
  mov    %r12d,%edi
  movslq %eax,%r14
  xor    %eax,%eax
  call   <u_alloc@plt>
  mov    %rbp,%rsi
  mov    %r12d,%edi
  movslq %eax,%r15
  xor    %eax,%eax
  mov    %r15,0x58(%rsp)
  call   <u_alloc@plt>
  mov    %rbp,%rsi
  mov    %r12d,%edi
  movslq %eax,%r10
  xor    %eax,%eax
  mov    %r10,0x10(%rsp)
  call   <u_alloc@plt>
  mov    %rbp,%rsi
  mov    %r12d,%edi
  movslq %eax,%r15
  xor    %eax,%eax
  mov    %r15,0x78(%rsp)
  call   <u_alloc@plt>
  mov    %rbp,%rsi
  mov    %r12d,%edi
  movslq %eax,%r13
  xor    %eax,%eax
  call   <u_alloc@plt>
  mov    %rbp,%rsi
  mov    %r12d,%edi
  movslq %eax,%r15
  xor    %eax,%eax
  call   <u_alloc@plt>
  mov    %rbp,%rsi
  mov    %r12d,%edi
  movslq %eax,%r11
  xor    %eax,%eax
  mov    %r11,0x8(%rsp)
  call   <u_alloc@plt>
  mov    0x88(%rsp),%r9
  mov    %r12d,%edi
  mov    0x70(%rsp),%r8
  mov    0x60(%rsp),%rcx
  mov    0x80(%rsp),%rdx
  movslq %eax,%r11
  xor    %eax,%eax
  mov    0x68(%rsp),%rsi
  mov    %r11,0x28(%rsp)
  call   <graph_reverse_map@plt>
  test   %r12d,%r12d
  mov    0x10(%rsp),%r10
  jle    L408
  mov    0x50(%rsp),%r12d
  mov    0x58(%rsp),%rbp
  mov    0x20(%rsp),%rax
  mov    0x8(%rsp),%r8
  shl    $0x2,%r12
  lea    (%r12,%r13,1),%rsi
  lea    (%r14,%r12,1),%rcx
  cmp    %r14,%rsi
  lea    (%r12,%rbp,1),%rdi
  lea    (%rax,%r12,1),%r11
  setbe  %dl
  cmp    %rcx,%r13
  lea    (%r12,%r8,1),%r9
  setae  %al
  or     %eax,%edx
  cmp    %rdi,%r14
  setae  %al
  cmp    %rcx,%rbp
  setae  %r8b
  or     %r8d,%eax
  and    %edx,%eax
  cmp    %r14,%r9
  setbe  %dl
  cmp    %rcx,0x8(%rsp)
  setae  %r8b
  or     %r8d,%edx
  and    %eax,%edx
  cmp    %rcx,0x20(%rsp)
  setae  %al
  cmp    %r14,%r11
  setbe  %r8b
  or     %r8d,%eax
  and    %edx,%eax
  cmp    %rbp,%rsi
  setbe  %dl
  cmp    %rdi,%r13
  setae  %r8b
  or     %r8d,%edx
  and    %eax,%edx
  cmp    %rbp,%r9
  setbe  %al
  cmp    %rdi,0x8(%rsp)
  setae  %r8b
  or     %r8d,%eax
  mov    0x8(%rsp),%r8
  and    %edx,%eax
  cmp    %rdi,0x20(%rsp)
  setae  %dl
  cmp    %rbp,%r11
  setbe  %dil
  or     %edi,%edx
  and    %eax,%edx
  cmp    %r13,%r9
  setbe  %al
  cmp    %rsi,%r8
  setae  %dil
  or     %edi,%eax
  mov    0x20(%rsp),%rdi
  and    %edx,%eax
  cmp    %rsi,%rdi
  setae  %dl
  cmp    %r13,%r11
  setbe  %sil
  or     %esi,%edx
  test   %dl,%al
  je     L354
  cmp    %r9,%rdi
  setae  %al
  cmp    %r8,%r11
  setbe  %dl
  or     %dl,%al
  je     L354
  mov    %r12,%rdx
  xor    %esi,%esi
  mov    %r10,0x10(%rsp)
  call   <memset@plt>
  mov    %r12,%rdx
  xor    %esi,%esi
  mov    %r14,%rdi
  call   <memset@plt>
  mov    %r12,%rdx
  xor    %esi,%esi
  mov    %rbp,%rdi
  call   <memset@plt>
  mov    %r12,%rdx
  mov    $0xff,%esi
  mov    %r13,%rdi
  call   <memset@plt>
  mov    0x8(%rsp),%rdi
  mov    %r12,%rdx
  mov    $0xff,%esi
  call   <memset@plt>
  mov    0x10(%rsp),%r10
L408:
  movslq 0x90(%rsp),%r8
  mov    0x50(%rsp),%eax
  mov    %eax,(%r14,%r8,4)
  mov    0x68(%rsp),%rax
  lea    0x0(,%r8,4),%rcx
  lea    0x4(%rcx),%rsi
  add    0x58(%rsp),%rcx
  mov    (%rax,%r8,4),%edx
  lea    (%rax,%rsi,1),%rdi
  movslq %edx,%rax
  cmp    (%rdi),%edx
  jge    L357
  mov    0x58(%rsp),%r11
  mov    0x48(%rsp),%r9
  mov    %rsi,0x10(%rsp)
  mov    0x80(%rsp),%r12
  mov    0x20(%rsp),%rbp
  nopl   (%rax)
L244:
  movslq (%r12,%rax,4),%rdx
  mov    (%r9,%rax,4),%esi
  add    %esi,0x0(%rbp,%rax,4)
  mov    (%r9,%rax,4),%esi
  add    %esi,(%r11,%rdx,4)
  mov    (%r9,%rax,4),%edx
  add    $0x1,%rax
  sub    %edx,(%rcx)
  cmp    %eax,(%rdi)
  jg     L244
  mov    0x10(%rsp),%rsi
L357:
  mov    0x60(%rsp),%rax
  mov    0x70(%rsp),%rcx
  mov    (%rax,%r8,4),%edx
  mov    0x88(%rsp),%r8
  lea    (%rax,%rsi,1),%rdi
  movslq %edx,%rax
  sub    %rcx,%r8
  lea    (%rcx,%rax,4),%rax
  cmp    (%rdi),%edx
  jge    L350
  mov    0x58(%rsp),%r11
  mov    0x20(%rsp),%rsi
  nopl   0x0(%rax)
L263:
  movslq (%rax),%r9
  movslq (%r8,%rax,1),%rcx
  add    $0x1,%edx
  add    $0x4,%rax
  mov    (%r11,%r9,4),%r9d
  sub    %r9d,(%rsi,%rcx,4)
  cmp    %edx,(%rdi)
  jg     L263
L350:
  mov    0x50(%rsp),%r9d
  xor    %edx,%edx
  xor    %eax,%eax
  test   %r9d,%r9d
  jle    L191
  mov    0x78(%rsp),%r8
  mov    0x50(%rsp),%ecx
  mov    0x90(%rsp),%esi
  nopl   0x0(%rax)
L44:
  cmp    %eax,%esi
  je     L102
  cmp    %eax,%ebx
  je     L102
  lea    0x1(%rdx),%edi
  mov    %edi,0xac(%rsp)
  mov    %eax,(%r8,%rdx,4)
  movslq 0xac(%rsp),%rdx
L102:
  add    $0x1,%eax
  cmp    %eax,%ecx
  jne    L44
  mov    0x78(%rsp),%rax
  lea    (%rax,%rdx,4),%rax
L329:
  movl   $0xffffffff,(%rax)
  mov    0x78(%rsp),%rax
  movl   $0x0,0xac(%rsp)
  mov    (%rax),%r12d
  mov    0x88(%rsp),%rax
  sub    0x70(%rsp),%rax
  mov    %rax,0x18(%rsp)
  test   %r12d,%r12d
  js     L70
  mov    %r14,%r11
  mov    0x28(%rsp),%r14
  mov    %r10,%rbp
  nopl   (%rax)
L344:
  movslq %r12d,%r10
  mov    0x68(%rsp),%rsi
  lea    0x0(,%r10,4),%rax
  lea    (%r11,%rax,1),%rdi
  lea    0x4(%rax),%r9
  mov    %rax,0x38(%rsp)
  movslq (%rsi,%r10,4),%rdx
  mov    %rdi,0x10(%rsp)
  mov    (%rdi),%edi
  lea    (%rsi,%r9,1),%r8
  mov    %edi,0x54(%rsp)
  cmp    (%r8),%edx
  jge    L117
  mov    0x80(%rsp),%rsi
  mov    %r12d,%eax
  nopl   0x0(%rax)
L123:
  movslq (%rsi,%rdx,4),%rbx
  movslq %eax,%rcx
  mov    %r12d,0x0(%r13,%rbx,4)
  mov    %rbx,%rax
  lea    0x0(,%rbx,4),%rdi
  mov    %edx,(%r15,%rbx,4)
  add    $0x1,%rdx
  mov    %ebx,0x0(%rbp,%rcx,4)
  cmp    %edx,(%r8)
  jg     L123
L114:
  mov    0x60(%rsp),%rcx
  add    %rcx,%r9
  mov    (%rcx,%r10,4),%r8d
  cmp    (%r9),%r8d
  jge    L209
  mov    0x70(%rsp),%rdi
  movslq %r8d,%rdx
  lea    (%rdi,%rdx,4),%rsi
  nopl   (%rax)
L66:
  mov    0x18(%rsp),%rdi
  movslq (%rsi),%rdx
  mov    0x8(%rsp),%rbx
  mov    (%rdi,%rsi,1),%r10d
  lea    0x0(,%rdx,4),%rdi
  mov    %r12d,(%rbx,%rdx,4)
  mov    %r10d,(%r14,%rdx,4)
  lea    0x0(,%rax,4),%r10
  cmp    %r12d,0x0(%r13,%rdx,4)
  je     L157
  mov    %edx,0x0(%rbp,%rax,4)
  add    $0x1,%r8d
  add    $0x4,%rsi
  cmp    (%r9),%r8d
  jge    L209
  mov    %rdx,%rax
  jmp    L66
  xchg   %ax,%ax
L157:
  add    $0x1,%r8d
  add    $0x4,%rsi
  cmp    %r8d,(%r9)
  jg     L66
  mov    %r10,%rdi
L209:
  mov    %r12d,0x0(%rbp,%rdi,1)
  mov    0x38(%rsp),%rdi
  lea    0x0(%rbp,%rdi,1),%rax
  mov    %rax,0x40(%rsp)
  mov    (%rax),%ebx
  mov    0x58(%rsp),%rax
  add    %rdi,%rax
  mov    %rax,0x30(%rsp)
  mov    (%rax),%edi
L215:
  test   %edi,%edi
  jle    L120
L26:
  cmp    %ebx,%r12d
  je     L6
  movslq %ebx,%r10
  mov    0x10(%rsp),%rsi
  mov    (%r11,%r10,4),%eax
  add    $0x1,%eax
  cmp    %eax,(%rsi)
  jne    L26
  cmp    %r12d,(%r15,%r10,4)
  je     L88
  cmp    %r12d,(%r14,%r10,4)
  jne    L26
  mov    0x20(%rsp),%rax
  mov    0x38(%rsp),%rsi
  mov    (%rax,%rsi,1),%esi
  test   %esi,%esi
  jle    L26
  xor    %eax,%eax
  mov    %r11,0x28(%rsp)
  call   <u_min@plt>
  sub    $0x8,%rsp
  mov    %r15,%r9
  mov    %r13,%r8
  push   %rbx
  mov    %eax,%esi
  mov    %r12d,%edx
  xor    %eax,%eax
  push   %r14
  push   0x20(%rsp)
  mov    0x78(%rsp),%rdi
  mov    0x40(%rsp),%rcx
  call   <push@plt>
  mov    0x50(%rsp),%rax
  add    $0x20,%rsp
  mov    0x28(%rsp),%r11
  mov    (%rax),%edi
  test   %edi,%edi
  jg     L26
  nopl   (%rax)
L120:
  mov    0x10(%rsp),%rax
  mov    0x54(%rsp),%ecx
  cmp    %ecx,(%rax)
  jg     L306
  mov    0xac(%rsp),%eax
  mov    0x78(%rsp),%rcx
  add    $0x1,%eax
  mov    %eax,0xac(%rsp)
  cltq
  mov    (%rcx,%rax,4),%r12d
  test   %r12d,%r12d
  jns    L344
L70:
  mov    0x94(%rsp),%r8d
  test   %r8d,%r8d
  jle    L118
  mov    0x94(%rsp),%edi
  mov    0x20(%rsp),%rbx
  lea    -0x1(%rdi),%edx
  mov    %rbx,%rax
  lea    0x4(%rbx,%rdx,4),%rdx
  nopw   0x0(%rax,%rax,1)
L107:
  mov    (%rax),%ecx
  test   %ecx,%ecx
  jns    L158
  movl   $0x0,(%rax)
L158:
  add    $0x4,%rax
  cmp    %rax,%rdx
  jne    L107
L118:
  sub    $0x8,%rsp
  mov    0x98(%rsp),%eax
  push   %rax
  mov    0x30(%rsp),%r9
  xor    %eax,%eax
  mov    0x98(%rsp),%r8
  mov    0x80(%rsp),%rcx
  mov    0x70(%rsp),%rdx
  mov    0x90(%rsp),%rsi
  mov    0x78(%rsp),%rdi
  call   <compute_max_flow@plt>
  pop    %rsi
  pop    %rdi
  mov    0xb8(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L314
  add    $0xc8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L6:
  sub    $0x8,%rsp
  mov    %r11,%r9
  mov    %r13,%rdi
  mov    %r14,%rdx
  push   %rbp
  mov    0x60(%rsp),%eax
  mov    %r15,%rsi
  push   %rax
  xor    %eax,%eax
  push   %r12
  mov    0x40(%rsp),%r8
  mov    0x68(%rsp),%rcx
  mov    %r11,0x48(%rsp)
  call   <relabel@plt>
  mov    0x60(%rsp),%rax
  mov    (%rax),%ebx
  mov    0x50(%rsp),%rax
  add    $0x20,%rsp
  mov    0x28(%rsp),%r11
  mov    (%rax),%edi
  jmp    L215
  nopw   0x0(%rax,%rax,1)
L88:
  mov    0x48(%rsp),%rcx
  mov    0x38(%rsp),%rax
  mov    (%rcx,%rax,1),%esi
  mov    0x20(%rsp),%rcx
  mov    (%rcx,%rax,1),%eax
  cmp    %eax,%esi
  jle    L26
  sub    %eax,%esi
  xor    %eax,%eax
  mov    %r10,0x28(%rsp)
  mov    %r11,0x98(%rsp)
  call   <u_min@plt>
  sub    $0x8,%rsp
  mov    %r15,%r9
  mov    %r13,%r8
  push   %rbx
  mov    %eax,%esi
  mov    %r12d,%edx
  xor    %eax,%eax
  push   %r14
  push   0x20(%rsp)
  mov    0x78(%rsp),%rdi
  mov    0x40(%rsp),%rcx
  call   <push@plt>
  mov    0x48(%rsp),%r10
  mov    0x50(%rsp),%rax
  add    $0x20,%rsp
  mov    0x98(%rsp),%r11
  mov    0x0(%rbp,%r10,4),%ebx
  mov    (%rax),%edi
  jmp    L215
  nopl   0x0(%rax)
L306:
  mov    0x78(%rsp),%rbx
  mov    %r12d,%edx
  xor    %eax,%eax
  mov    %r11,0x10(%rsp)
  lea    0xac(%rsp),%rsi
  mov    %rbx,%rdi
  call   <move_to_front@plt>
  mov    0xac(%rsp),%eax
  mov    0x10(%rsp),%r11
  add    $0x1,%eax
  mov    %eax,0xac(%rsp)
  cltq
  mov    (%rbx,%rax,4),%r12d
  test   %r12d,%r12d
  jns    L344
  jmp    L70
  nopl   0x0(%rax)
L117:
  mov    %rax,%rdi
  movslq %r12d,%rax
  jmp    L114
L191:
  mov    0x78(%rsp),%rax
  jmp    L329
L354:
  mov    0x20(%rsp),%r8
  mov    0x58(%rsp),%rdi
  mov    %r13,%rsi
  mov    %r14,%rax
  mov    0x8(%rsp),%rdx
  sub    %r14,%rsi
  sub    %r14,%r8
  sub    %r14,%rdi
  sub    %r14,%rdx
  xchg   %ax,%ax
L241:
  movl   $0x0,(%r8,%rax,1)
  movl   $0x0,(%rax)
  movl   $0x0,(%rdi,%rax,1)
  movl   $0xffffffff,(%rsi,%rax,1)
  movl   $0xffffffff,(%rdx,%rax,1)
  add    $0x4,%rax
  cmp    %rax,%rcx
  jne    L241
  jmp    L408
L314:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int push_relabel_max_flow(int n, int *xadj, int *adj, int *wgt, int s, int t, int *flow, int *aux) {
  int *oxadj = xadj;
  int *oadj = adj;
  int *owgt = wgt;
  int *auxptr;
  int nnz = xadj[n];
  int *ixadj = u_alloc(n + 2, &auxptr);
  int *iadj = u_alloc(nnz, &auxptr);
  int *imap = u_alloc(nnz, &auxptr);
  int *H = u_alloc(n, &auxptr);
  int *E = u_alloc(n, &auxptr);
  int *next = u_alloc(n, &auxptr);
  int *L = u_alloc(n, &auxptr);
  int *iv = u_alloc(n, &auxptr);
  int *ie = u_alloc(n, &auxptr);
  int *ov = u_alloc(n, &auxptr);
  int *oe = u_alloc(n, &auxptr);
  graph_reverse_map(n, xadj, adj, ixadj, iadj, imap);
  for (int v = 0; v < n; v++) {
    flow[v] = 0;
    H[v] = 0;
    E[v] = 0;
    iv[v] = -1;
    ov[v] = -1;
  }
  H[s] = n;
  for (int j = oxadj[s]; j < oxadj[s + 1]; j++) {
    int w = oadj[j];
    flow[j] += wgt[j];
    E[w] += wgt[j];
    E[s] -= wgt[j];
  }
  for (int rj = ixadj[s]; rj < ixadj[s + 1]; rj++) {
    int w = iadj[rj];
    int j = imap[rj];
    flow[j] -= E[w];
  }
  int lptr = 0;
  for (int v = 0; v < n; v++) {
    if (v != s && v != t) {
      L[lptr++] = v;
    }
  }
  L[lptr] = -1;
  lptr = 0;
  int u = L[lptr];
  while (u >= 0) {
    int height = H[u];
    int v = u;
    for (int j = oxadj[u]; j < oxadj[u + 1]; j++) {
      int w = oadj[j];
      iv[w] = u;
      ie[w] = j;
      next[v] = w;
      v = w;
    }
    for (int rj = ixadj[u]; rj < ixadj[u + 1]; rj++) {
      int w = iadj[rj];
      int j = imap[rj];
      ov[w] = u;
      oe[w] = j;
      if (iv[w] != u) {
        next[v] = w;
        v = w;
      }
    }
    next[v] = u;
    v = next[u];
    while (E[u] > 0) {
      if (v == u) {
        relabel(iv, ie, oe, wgt, flow, H, u, n, next);
        v = next[u];
      } else {
        if (H[u] == H[v] + 1) {
          if (ie[v] == u) {
            int j = ie[v];
            if (wgt[j] > flow[j]) {
              int df = u_min(E[u], wgt[j] - flow[j]);
              push(E, df, u, flow, iv, ie, ov, oe, v);
              v = next[v];
            }
            continue;
          }
          if (oe[v] == u) {
            int j = oe[v];
            if (flow[j] > 0) {
              int df = u_min(E[u], flow[j]);
              push(E, df, u, flow, iv, ie, ov, oe, v);
            }
            continue;
          }
        }
      }
    }
    if (H[u] > height) {
      move_to_front(L, &lptr, u);
    }
    lptr++;
    u = L[lptr];
  }
  for (int j = 0; j < nnz; j++) {
    if (flow[j] < 0) {
      flow[j] = 0;
    }
  }
  return compute_max_flow(oxadj, oadj, ixadj, iadj, imap, flow, s);
}
```