user: What is the c source code of the assembly code below:

```asm
<send_t>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x70,%rsp
  mov    %edi,-0x44(%rbp)
  mov    %rsi,-0x50(%rbp)
  mov    %rdx,-0x58(%rbp)
  mov    %rcx,%rax
  mov    %r8,%rcx
  mov    %rcx,%rdx
  mov    %rax,-0x70(%rbp)
  mov    %rdx,-0x68(%rbp)
  mov    %r9d,-0x5c(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0xffffffff,-0x30(%rbp)
  movq   $0x0,-0x28(%rbp)
  movl   $0x0,-0x2c(%rbp)
  mov    -0x68(%rbp),%rax
  test   %rax,%rax
  je     L203
  mov    -0x70(%rbp),%rax
  test   %rax,%rax
  je     L203
  mov    -0x68(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x70(%rbp),%rax
  mov    %rax,-0x20(%rbp)
L109:
  lea    -0x34(%rbp),%rax
  mov    %rax,%rdi
  call   <FD_ZERO@plt>
  lea    -0x34(%rbp),%rdx
  mov    -0x44(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <FD_SET@plt>
  mov    -0x44(%rbp),%eax
  lea    0x1(%rax),%edi
  lea    -0x20(%rbp),%rdx
  lea    -0x34(%rbp),%rax
  mov    %rdx,%r8
  mov    $0x0,%ecx
  mov    %rax,%rdx
  mov    $0x0,%esi
  call   <select@plt>
  mov    %eax,-0x30(%rbp)
  cmpl   $0xffffffff,-0x30(%rbp)
  jne    L228
  mov    D107(%rip),%rax
  mov    (%rax),%rdx
  mov    D86(%rip),%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  jne    L151
  jmp    L109
L151:
  mov    $0xffffffff,%eax
  jmp    L224
L228:
  cmpl   $0x0,-0x30(%rbp)
  jne    L155
  mov    $0x0,%eax
  jmp    L224
L155:
  lea    -0x34(%rbp),%rdx
  mov    -0x44(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <FD_ISSET@plt>
  test   %eax,%eax
  jne    L197
  mov    $0xffffffff,%eax
  jmp    L224
L197:
  mov    D5(%rip),%rax
  mov    (%rax),%eax
  or     -0x5c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x58(%rbp),%rax
  sub    -0x28(%rbp),%rax
  mov    %rax,%rdx
  mov    -0x28(%rbp),%rax
  lea    0x0(,%rax,4),%rsi
  mov    -0x50(%rbp),%rax
  add    %rax,%rsi
  mov    -0x44(%rbp),%eax
  mov    %eax,%edi
  call   <send@plt>
  mov    %eax,-0x2c(%rbp)
  cmpl   $0x0,-0x2c(%rbp)
  jg     L204
  mov    D107(%rip),%rax
  mov    (%rax),%rdx
  mov    D86(%rip),%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  je     L166
  mov    D107(%rip),%rax
  mov    (%rax),%rdx
  mov    D54(%rip),%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  jne    L169
L166:
  mov    $0x64,%edi
  call   <usleep@plt>
  jmp    L181
L169:
  mov    $0xffffffff,%eax
  jmp    L224
L204:
  mov    -0x2c(%rbp),%eax
  cltq
  add    %rax,-0x28(%rbp)
L181:
  mov    -0x28(%rbp),%rax
  cmp    -0x58(%rbp),%rax
  jb     L197
  mov    -0x28(%rbp),%rax
  jmp    L224
L203:
  mov    -0x58(%rbp),%rax
  sub    -0x28(%rbp),%rax
  mov    %rax,%rdx
  mov    -0x28(%rbp),%rax
  lea    0x0(,%rax,4),%rcx
  mov    -0x50(%rbp),%rax
  lea    (%rcx,%rax,1),%rsi
  mov    -0x5c(%rbp),%ecx
  mov    -0x44(%rbp),%eax
  mov    %eax,%edi
  call   <send@plt>
  mov    %eax,-0x2c(%rbp)
  cmpl   $0x0,-0x2c(%rbp)
  jg     L65
  mov    D107(%rip),%rax
  mov    (%rax),%rdx
  mov    D86(%rip),%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  je     L170
  mov    D107(%rip),%rax
  mov    (%rax),%rdx
  mov    D54(%rip),%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  jne    L236
L170:
  mov    $0x64,%edi
  call   <usleep@plt>
  jmp    L209
L236:
  mov    $0xffffffff,%eax
  jmp    L224
L65:
  mov    -0x2c(%rbp),%eax
  cltq
  add    %rax,-0x28(%rbp)
L209:
  mov    -0x28(%rbp),%rax
  cmp    -0x58(%rbp),%rax
  jb     L203
  mov    -0x28(%rbp),%rax
L224:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L55
  call   <__stack_chk_fail@plt>
L55:
  leave
  ret
```

assistant: ```c
int send_t(int sock, uint8_t *buf, size_t buflen, struct timeval wait, int flag) {
  int ret = -1;
  fd_set wset;
  struct timeval tv;
  size_t n = 0;
  int bytes = 0;
  if (wait.tv_sec && wait.tv_usec) {
    tv.tv_sec = wait.tv_sec;
    tv.tv_usec = wait.tv_usec;
  RE_SEND:
    FD_ZERO(&wset);
    FD_SET(sock, &wset);
    ret = select(sock + 1, (fd_set *)0, &wset, (fd_set *)0, &tv);
    if (ret == -1) {
      if (errno == EINTR) {
        goto RE_SEND;
      }
      return -1;
    } else if (ret == 0) {
      return 0;
    }
    if (!FD_ISSET(sock, &wset)) {
      return -1;
    }
    do {
      bytes = send(sock, buf + n, buflen - n, MSG_DONTWAIT | flag);
      if (bytes <= 0) {
        if (errno == EINTR || errno == EAGAIN) {
          usleep(100);
          continue;
        }
        return -1;
      }
      n += bytes;
    } while (n < buflen);
    return n;
  }
  do {
    bytes = send(sock, buf + n, buflen - n, flag);
    if (bytes <= 0) {
      if (errno == EINTR || errno == EAGAIN) {
        usleep(100);
        continue;
      }
      return -1;
    }
    n += bytes;
  } while (n < buflen);
  return n;
}
```