user: 这段汇编代码用C语言表示是什么样的：

```asm
<bridge>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  sub    $0x50,%rsp
  mov    %rdi,-0x68(%rbp)
  mov    %esi,-0x6c(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x28(%rbp)
  xor    %eax,%eax
  lea    -0x5c(%rbp),%rdx
  lea    -0x48(%rbp),%rcx
  mov    -0x68(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <init_fs@plt>
  mov    $0x0,%eax
  call   <init_tty@plt>
  mov    -0x6c(%rbp),%eax
  mov    %eax,%edi
  call   <init_epoll@plt>
  mov    %eax,-0x50(%rbp)
  mov    -0x48(%rbp),%rax
  mov    -0x50(%rbp),%edx
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <open_fifo@plt>
  mov    %eax,-0x58(%rbp)
  movq   $0x40,-0x40(%rbp)
  mov    -0x40(%rbp),%rax
  sub    $0x1,%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x40(%rbp),%rax
  mov    %rax,%r14
  mov    $0x0,%r15d
  mov    -0x40(%rbp),%rax
  mov    %rax,%r12
  mov    $0x0,%r13d
  mov    -0x40(%rbp),%rax
  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,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L77:
  cmp    %rdx,%rsp
  je     L3
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L77
L3:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L6
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L6:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x30(%rbp)
L44:
  mov    -0x40(%rbp),%rdx
  mov    -0x30(%rbp),%rsi
  mov    -0x50(%rbp),%eax
  mov    $0xffffffff,%ecx
  mov    %eax,%edi
  call   <epoll_wait@plt>
  mov    %eax,-0x4c(%rbp)
  cmpl   $0xffffffff,-0x4c(%rbp)
  jne    L47
  lea    D7(%rip),%rax
  mov    %rax,%rdi
  call   <fatal@plt>
L47:
  movl   $0x0,-0x54(%rbp)
  jmp    L39
L49:
  mov    -0x5c(%rbp),%ecx
  mov    -0x54(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x30(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  mov    -0x58(%rbp),%edx
  mov    -0x6c(%rbp),%eax
  mov    %eax,%esi
  call   <handle@plt>
  test   %rax,%rax
  je     L54
  mov    -0x58(%rbp),%eax
  mov    %eax,%edi
  call   <close@plt>
  mov    -0x48(%rbp),%rax
  mov    -0x50(%rbp),%edx
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <open_fifo@plt>
  mov    %eax,-0x58(%rbp)
L54:
  addl   $0x1,-0x54(%rbp)
L39:
  mov    -0x54(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jl     L49
  jmp    L44
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D7
data_type: string

tool: D7: epoll_wait failed

assistant: ```c
void bridge(char *dir, int cmdfd) {
  int in_fd, out_fd;
  char *in_path;
  init_fs(dir, &in_path, &out_fd);
  init_tty();
  int epfd = init_epoll(cmdfd);
  in_fd = open_fifo(in_path, epfd);
  const size_t kMaxEvents = 64;
  struct epoll_event events[kMaxEvents];
  while (1) {
    int count = epoll_wait(epfd, events, kMaxEvents, -1);
    if (count == -1) {
      fatal("epoll_wait failed");
    }
    for (int i = 0; i < count; i++) {
      if (handle(&events[i], cmdfd, in_fd, out_fd)) {
        close(in_fd);
        in_fd = open_fifo(in_path, epfd);
      }
    }
  }
  free(in_path);
}
```