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

```asm
<ft_putnbr_fd>:
  endbr64
  push   %r15
  mov    %esi,%r15d
  push   %r14
  push   %r13
  push   %r12
  mov    %edi,%r12d
  push   %rbp
  movslq %r12d,%r12
  push   %rbx
  movabs $0xcccccccccccccccd,%rbx
  sub    $0x38,%rsp
  test   %r12,%r12
  js     L31
L27:
  cmp    $0x9,%r12
  jle    L41
L88:
  mov    %r12,%rax
  mul    %rbx
  mov    %rdx,%rax
  shr    $0x3,%rax
  mov    %rax,0x8(%rsp)
  cmp    $0x63,%r12
  jle    L91
  mul    %rbx
  mov    %rdx,%rax
  shr    $0x3,%rax
  mov    %rax,0x10(%rsp)
  cmp    $0x3e7,%r12
  jle    L23
  mul    %rbx
  mov    %rdx,%rax
  shr    $0x3,%rax
  mov    %rax,0x18(%rsp)
  cmp    $0x270f,%r12
  jle    L48
  mul    %rbx
  shr    $0x3,%rdx
  mov    %rdx,%r13
  cmp    $0x1869f,%r12
  jle    L37
  mov    %rdx,%rax
  mul    %rbx
  shr    $0x3,%rdx
  mov    %rdx,%rbp
  cmp    $0xf423f,%r12
  jle    L74
  mov    %rdx,%rax
  mul    %rbx
  shr    $0x3,%rdx
  mov    %rdx,(%rsp)
  cmp    $0x98967f,%r12
  jle    L63
  mov    %rdx,%rax
  mul    %rbx
  shr    $0x3,%rdx
  mov    %rdx,%r14
  cmp    $0x5f5e0ff,%r12
  jle    L101
  mov    %rdx,%rax
  mul    %rbx
  mov    %rdx,%rcx
  shr    $0x3,%rcx
  cmp    $0x3b9ac9ff,%r12
  jle    L61
  mov    %rcx,%rax
  mov    %r15d,%esi
  mov    %rcx,0x28(%rsp)
  mul    %rbx
  shr    $0x3,%rdx
  mov    %edx,%edi
  mov    %rdx,0x20(%rsp)
  call   <ft_putnbr_fd>
  mov    0x20(%rsp),%rdx
  mov    0x28(%rsp),%rcx
  lea    (%rdx,%rdx,4),%rax
  add    %rax,%rax
  sub    %rax,%rcx
L61:
  lea    0x30(%rcx),%rdi
  mov    %r15d,%esi
  call   <ft_putchar_fd@plt>
  mov    %r14,%rax
  mul    %rbx
  shr    $0x3,%rdx
  lea    (%rdx,%rdx,4),%rax
  add    %rax,%rax
  sub    %rax,%r14
L101:
  lea    0x30(%r14),%rdi
  mov    %r15d,%esi
  call   <ft_putchar_fd@plt>
  mov    (%rsp),%rax
  mul    %rbx
  shr    $0x3,%rdx
  lea    (%rdx,%rdx,4),%rax
  add    %rax,%rax
  sub    %rax,(%rsp)
L63:
  mov    (%rsp),%rdi
  mov    %r15d,%esi
  add    $0x30,%rdi
  call   <ft_putchar_fd@plt>
  mov    %rbp,%rax
  mul    %rbx
  shr    $0x3,%rdx
  lea    (%rdx,%rdx,4),%rax
  add    %rax,%rax
  sub    %rax,%rbp
L74:
  lea    0x30(%rbp),%rdi
  mov    %r15d,%esi
  call   <ft_putchar_fd@plt>
  mov    %r13,%rax
  mul    %rbx
  shr    $0x3,%rdx
  lea    (%rdx,%rdx,4),%rax
  add    %rax,%rax
  sub    %rax,%r13
L37:
  lea    0x30(%r13),%rdi
  mov    %r15d,%esi
  call   <ft_putchar_fd@plt>
  mov    0x18(%rsp),%rax
  mul    %rbx
  shr    $0x3,%rdx
  lea    (%rdx,%rdx,4),%rax
  add    %rax,%rax
  sub    %rax,0x18(%rsp)
L48:
  mov    0x18(%rsp),%rdi
  mov    %r15d,%esi
  add    $0x30,%rdi
  call   <ft_putchar_fd@plt>
  mov    0x10(%rsp),%rax
  mul    %rbx
  shr    $0x3,%rdx
  lea    (%rdx,%rdx,4),%rax
  add    %rax,%rax
  sub    %rax,0x10(%rsp)
L23:
  mov    0x10(%rsp),%rdi
  mov    %r15d,%esi
  add    $0x30,%rdi
  call   <ft_putchar_fd@plt>
  mov    0x8(%rsp),%rax
  mul    %rbx
  shr    $0x3,%rdx
  lea    (%rdx,%rdx,4),%rax
  add    %rax,%rax
  sub    %rax,0x8(%rsp)
L91:
  mov    0x8(%rsp),%rdi
  mov    %r15d,%esi
  add    $0x30,%rdi
  call   <ft_putchar_fd@plt>
  mov    %r12,%rax
  mul    %rbx
  mov    %rdx,%rax
  shr    $0x3,%rax
  lea    (%rax,%rax,4),%rax
  add    %rax,%rax
  sub    %eax,%r12d
  movslq %r12d,%r12
  test   %r12,%r12
  jns    L27
L31:
  mov    %r15d,%esi
  mov    $0x2d,%edi
  neg    %r12
  call   <ft_putchar_fd@plt>
  cmp    $0x9,%r12
  jg     L88
L41:
  add    $0x38,%rsp
  lea    0x30(%r12),%rdi
  mov    %r15d,%esi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1050 <ft_putchar_fd@plt>
```

assistant: ```c
void ft_putnbr_fd(int n, int fd) {
  long s;
  s = (long)n;
  if (s < 0) {
    ft_putchar_fd('-', fd);
    s = -s;
  }
  if (s >= 10) {
    ft_putnbr_fd((s / 10), fd);
    ft_putnbr_fd((s % 10), fd);
  } else
    ft_putchar_fd((s + '0'), fd);
}
```