user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<BFS>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  sub    $0x90,%rsp
  mov    %edi,-0x74(%rbp)
  mov    %rsi,-0x80(%rbp)
  mov    %rdx,-0x88(%rbp)
  mov    %ecx,-0x78(%rbp)
  mov    %r8d,-0x8c(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x28(%rbp)
  xor    %eax,%eax
  mov    -0x74(%rbp),%ecx
  movslq %ecx,%rax
  sub    $0x1,%rax
  mov    %rax,-0x50(%rbp)
  movslq %ecx,%rax
  mov    %rax,-0xa0(%rbp)
  movq   $0x0,-0x98(%rbp)
  mov    %rsp,%rax
  mov    %rax,%rdi
  mov    -0x74(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x48(%rbp)
  movslq %eax,%rdx
  mov    %rdx,-0xb0(%rbp)
  movq   $0x0,-0xa8(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r14
  mov    $0x0,%r15d
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rsi
  and    $0xfffffffffffff000,%rsi
  mov    %rsp,%rdx
  sub    %rsi,%rdx
L127:
  cmp    %rdx,%rsp
  je     L113
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L127
L113:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L134
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L134:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x40(%rbp)
  mov    -0x74(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x38(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r12
  mov    $0x0,%r13d
  movslq %eax,%rdx
  mov    %rdx,%r10
  mov    $0x0,%r11d
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rsi
  and    $0xfffffffffffff000,%rsi
  mov    %rsp,%rdx
  sub    %rsi,%rdx
L57:
  cmp    %rdx,%rsp
  je     L23
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L57
L23:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L100
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L100:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x30(%rbp)
  movl   $0xffffffff,-0x64(%rbp)
  movl   $0xffffffff,-0x60(%rbp)
  movl   $0x0,-0x5c(%rbp)
  jmp    L130
L125:
  mov    -0x40(%rbp),%rax
  mov    -0x5c(%rbp),%edx
  movslq %edx,%rdx
  movl   $0x1,(%rax,%rdx,4)
  addl   $0x1,-0x5c(%rbp)
L130:
  mov    -0x5c(%rbp),%eax
  cmp    -0x74(%rbp),%eax
  jl     L125
  addl   $0x1,-0x60(%rbp)
  mov    -0x30(%rbp),%rax
  mov    -0x60(%rbp),%edx
  movslq %edx,%rdx
  mov    -0x78(%rbp),%esi
  mov    %esi,(%rax,%rdx,4)
  mov    -0x40(%rbp),%rax
  mov    -0x78(%rbp),%edx
  movslq %edx,%rdx
  movl   $0x0,(%rax,%rdx,4)
  mov    -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movl   $0xffffffff,(%rax)
  jmp    L67
L69:
  addl   $0x1,-0x64(%rbp)
  mov    -0x30(%rbp),%rax
  mov    -0x64(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%eax
  mov    %eax,-0x54(%rbp)
  movl   $0x0,-0x58(%rbp)
  jmp    L34
L88:
  mov    -0x40(%rbp),%rax
  mov    -0x58(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%eax
  test   %eax,%eax
  je     L47
  mov    -0x54(%rbp),%eax
  movslq %eax,%rdx
  movslq %ecx,%rax
  imul   %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rax,%rdx
  mov    -0x58(%rbp),%eax
  cltq
  mov    (%rdx,%rax,4),%eax
  test   %eax,%eax
  jle    L47
  addl   $0x1,-0x60(%rbp)
  mov    -0x30(%rbp),%rax
  mov    -0x60(%rbp),%edx
  movslq %edx,%rdx
  mov    -0x58(%rbp),%esi
  mov    %esi,(%rax,%rdx,4)
  mov    -0x40(%rbp),%rax
  mov    -0x58(%rbp),%edx
  movslq %edx,%rdx
  movl   $0x0,(%rax,%rdx,4)
  mov    -0x58(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x88(%rbp),%rax
  add    %rax,%rdx
  mov    -0x54(%rbp),%eax
  mov    %eax,(%rdx)
L47:
  addl   $0x1,-0x58(%rbp)
L34:
  mov    -0x58(%rbp),%eax
  cmp    -0x74(%rbp),%eax
  jl     L88
L67:
  mov    -0x64(%rbp),%eax
  cmp    -0x60(%rbp),%eax
  jl     L69
  mov    -0x40(%rbp),%rax
  mov    -0x8c(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%eax
  test   %eax,%eax
  sete   %al
  movzbl %al,%eax
  mov    %rdi,%rsp
  mov    -0x28(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L64
  call   <__stack_chk_fail@plt>
L64:
  lea    -0x20(%rbp),%rsp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

assistant: ```c
int BFS(int n, int rG[n][n], int parent[n], int S, int T) {
  int visited[n], Queue[n], front = -1, rear = -1;
  for (int i = 0; i < n; i++) {
    visited[i] = 1;
  }
  Queue[++rear] = S;
  visited[S] = 0;
  parent[S] = -1;
  while (front < rear) {
    int u = Queue[++front];
    for (int v = 0; v < n; v++) {
      if (visited[v] && rG[u][v] > 0) {
        Queue[++rear] = v;
        visited[v] = 0;
        parent[v] = u;
      }
    }
  }
  return !visited[T];
}
```