user: What would the C source look like for the assembly code provided here?

```asm
<ft_putnbr>:
  endbr64
  push   %r15
  mov    %edi,%r15d
  push   %r14
  mov    $0xcccccccd,%r14d
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x68,%rsp
  test   %r15d,%r15d
  js     L14
L16:
  cmp    $0x9,%r15d
  jle    L80
L32:
  mov    %r15d,%eax
  mov    %rax,0x48(%rsp)
  imul   %r14,%rax
  shr    $0x23,%rax
  mov    %eax,0x20(%rsp)
  cmp    $0x63,%r15d
  jle    L69
  mov    %eax,%eax
  mov    %rax,0x28(%rsp)
  imul   %r14,%rax
  shr    $0x23,%rax
  mov    %eax,0x24(%rsp)
  cmp    $0x3e7,%r15d
  jle    L66
  mov    %eax,%eax
  mov    %rax,0x30(%rsp)
  imul   %r14,%rax
  shr    $0x23,%rax
  mov    %eax,0x50(%rsp)
  cmp    $0x270f,%r15d
  jle    L18
  mov    %eax,%eax
  mov    %rax,0x38(%rsp)
  imul   %r14,%rax
  mov    %rax,%r12
  shr    $0x23,%r12
  cmp    $0x1869f,%r15d
  jle    L34
  mov    %r12d,%ebx
  mov    %rbx,%rbp
  imul   %r14,%rbp
  shr    $0x23,%rbp
  cmp    $0xf423f,%r15d
  jle    L52
  mov    %ebp,%eax
  mov    %rax,%r13
  mov    %rax,0x18(%rsp)
  imul   %r14,%r13
  shr    $0x23,%r13
  mov    %r13d,0x14(%rsp)
  cmp    $0x98967f,%r15d
  jle    L42
  mov    %r13d,%eax
  mov    %rax,0x40(%rsp)
  imul   %r14,%rax
  mov    %rax,%rcx
  shr    $0x23,%rcx
  mov    %rcx,%r13
  cmp    $0x5f5e0ff,%r15d
  jle    L7
  mov    %ecx,%edx
  mov    %rdx,%rax
  imul   %r14,%rax
  shr    $0x23,%rax
  cmp    $0x3b9ac9ff,%r15d
  jle    L83
  mov    %eax,%esi
  mov    %rdx,0x58(%rsp)
  imul   %r14,%rsi
  mov    %eax,0x54(%rsp)
  shr    $0x23,%rsi
  mov    %esi,%edi
  mov    %esi,0x8(%rsp)
  call   <ft_putnbr>
  mov    0x8(%rsp),%esi
  mov    0x54(%rsp),%eax
  mov    0x58(%rsp),%rdx
  lea    (%rsi,%rsi,4),%esi
  add    %esi,%esi
  sub    %esi,%eax
L83:
  lea    0x30(%rax),%edi
  mov    %rdx,0x8(%rsp)
  call   <ft_putchar@plt>
  mov    0x8(%rsp),%rdx
  imul   %r14,%rdx
  shr    $0x23,%rdx
  lea    (%rdx,%rdx,4),%eax
  add    %eax,%eax
  sub    %eax,%r13d
L7:
  lea    0x30(%r13),%edi
  call   <ft_putchar@plt>
  mov    0x40(%rsp),%rax
  imul   %r14,%rax
  shr    $0x23,%rax
  lea    (%rax,%rax,4),%eax
  add    %eax,%eax
  sub    %eax,0x14(%rsp)
L42:
  mov    0x14(%rsp),%edi
  add    $0x30,%edi
  call   <ft_putchar@plt>
  mov    0x18(%rsp),%rax
  imul   %r14,%rax
  shr    $0x23,%rax
  lea    (%rax,%rax,4),%eax
  add    %eax,%eax
  sub    %eax,%ebp
L52:
  imul   %r14,%rbx
  lea    0x30(%rbp),%edi
  call   <ft_putchar@plt>
  shr    $0x23,%rbx
  lea    (%rbx,%rbx,4),%eax
  add    %eax,%eax
  sub    %eax,%r12d
L34:
  lea    0x30(%r12),%edi
  call   <ft_putchar@plt>
  mov    0x38(%rsp),%rax
  imul   %r14,%rax
  shr    $0x23,%rax
  lea    (%rax,%rax,4),%eax
  add    %eax,%eax
  sub    %eax,0x50(%rsp)
L18:
  mov    0x50(%rsp),%edi
  add    $0x30,%edi
  call   <ft_putchar@plt>
  mov    0x30(%rsp),%rax
  imul   %r14,%rax
  shr    $0x23,%rax
  lea    (%rax,%rax,4),%eax
  add    %eax,%eax
  sub    %eax,0x24(%rsp)
L66:
  mov    0x24(%rsp),%edi
  add    $0x30,%edi
  call   <ft_putchar@plt>
  mov    0x28(%rsp),%rax
  imul   %r14,%rax
  shr    $0x23,%rax
  lea    (%rax,%rax,4),%eax
  add    %eax,%eax
  sub    %eax,0x20(%rsp)
L69:
  mov    0x20(%rsp),%edi
  add    $0x30,%edi
  call   <ft_putchar@plt>
  mov    0x48(%rsp),%rax
  imul   %r14,%rax
  shr    $0x23,%rax
  lea    (%rax,%rax,4),%eax
  add    %eax,%eax
  sub    %eax,%r15d
  test   %r15d,%r15d
  jns    L16
L14:
  mov    $0x2d,%edi
  neg    %r15d
  call   <ft_putchar@plt>
  cmp    $0x9,%r15d
  jg     L32
L80:
  add    $0x68,%rsp
  lea    0x30(%r15),%edi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1050 <ft_putchar@plt>
```

assistant: ```c
void ft_putnbr(int nb) {
  if (nb < 0) {
    ft_putchar('-');
    nb = nb * -1;
  }
  if (nb >= 10) {
    ft_putnbr(nb / 10);
    ft_putnbr(nb % 10);
  } else
    ft_putchar(nb + '0');
}
```