user: Translate the below assembly code into C programming language:

```asm
<itoa>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  push   %rbx
  mov    %edi,%ebx
  sub    $0x18,%rsp
  test   %edi,%edi
  jns    L26
  movb   $0x2d,(%rsi)
  neg    %ebx
L26:
  mov    %ebx,%ebp
  mov    $0xcccccccd,%r13d
  lea    0x9(%rbx),%eax
  mov    %rbp,%r14
  imul   %r13,%r14
  shr    $0x23,%r14
  cmp    $0x12,%eax
  ja     L112
  test   %r14d,%r14d
  je     L128
  mov    %r14d,%eax
L31:
  xor    %edx,%edx
  mov    $0xcccccccd,%esi
  jmp    L96
L18:
  mov    %eax,%eax
L96:
  imul   %rsi,%rax
  mov    %edx,%ecx
  add    $0x1,%edx
  shr    $0x23,%rax
  test   %eax,%eax
  jne    L18
  add    $0x2,%ecx
  movslq %ecx,%rsi
L10:
  cmpb   $0x2d,(%r12)
  movslq %edx,%rdx
  jne    L45
  add    $0x1,%ecx
  mov    %rsi,%rdx
  movslq %ecx,%rsi
L45:
  mov    $0xcccccccd,%eax
  imul   %rbp,%rax
  shr    $0x23,%rax
  lea    (%rax,%rax,4),%eax
  add    %eax,%eax
  sub    %eax,%ebx
  add    $0x30,%ebx
  mov    %bl,(%r12,%rdx,1)
  movb   $0x0,(%r12,%rsi,1)
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L112:
  mov    %r14d,%eax
  lea    0x9(%r14),%edx
  mov    %rax,%r15
  imul   %r13,%r15
  shr    $0x23,%r15
  cmp    $0x12,%edx
  ja     L14
  test   %r15d,%r15d
  je     L140
  mov    %r15d,%edx
L192:
  xor    %ecx,%ecx
  mov    $0xcccccccd,%edi
  jmp    L193
L9:
  mov    %edx,%edx
L193:
  imul   %rdi,%rdx
  mov    %ecx,%esi
  add    $0x1,%ecx
  shr    $0x23,%rdx
  test   %edx,%edx
  jne    L9
  add    $0x2,%esi
  movslq %esi,%rdi
L46:
  cmpb   $0x2d,(%r12)
  movslq %ecx,%rcx
  jne    L119
  add    $0x1,%esi
  mov    %rdi,%rcx
  movslq %esi,%rdi
L119:
  mov    $0xcccccccd,%edx
  imul   %rax,%rdx
  shr    $0x23,%rdx
  lea    (%rdx,%rdx,4),%edx
  add    %edx,%edx
  sub    %edx,%r14d
  add    $0x30,%r14d
  mov    %r14b,(%r12,%rcx,1)
  movb   $0x0,(%r12,%rdi,1)
  jmp    L31
  nopl   0x0(%rax,%rax,1)
L128:
  xor    %edx,%edx
  mov    $0x1,%esi
  mov    $0x1,%ecx
  jmp    L10
L14:
  mov    %r15d,%edx
  lea    0x9(%r15),%ecx
  imul   %rdx,%r13
  shr    $0x23,%r13
  cmp    $0x12,%ecx
  ja     L107
  test   %r13d,%r13d
  je     L164
L111:
  xor    %ecx,%ecx
  mov    $0xcccccccd,%edi
  nopl   (%rax)
L3:
  mov    %r13d,%r13d
  mov    %ecx,%esi
  add    $0x1,%ecx
  imul   %rdi,%r13
  shr    $0x23,%r13
  test   %r13d,%r13d
  jne    L3
  add    $0x2,%esi
  movslq %esi,%rdi
L136:
  cmpb   $0x2d,(%r12)
  movslq %ecx,%rcx
  jne    L126
  add    $0x1,%esi
  mov    %rdi,%rcx
  movslq %esi,%rdi
L126:
  mov    $0xcccccccd,%esi
  imul   %rdx,%rsi
  shr    $0x23,%rsi
  lea    (%rsi,%rsi,4),%esi
  add    %esi,%esi
  sub    %esi,%r15d
  lea    0x30(%r15),%esi
  mov    %sil,(%r12,%rcx,1)
  movb   $0x0,(%r12,%rdi,1)
  jmp    L192
L140:
  xor    %ecx,%ecx
  mov    $0x1,%edi
  mov    $0x1,%esi
  jmp    L46
L107:
  mov    %r12,%rsi
  mov    %r13d,%edi
  mov    %rdx,0x8(%rsp)
  mov    %rax,(%rsp)
  call   <itoa>
  mov    (%rsp),%rax
  mov    0x8(%rsp),%rdx
  jmp    L111
L164:
  xor    %ecx,%ecx
  mov    $0x1,%edi
  mov    $0x1,%esi
  jmp    L136
```

assistant: ```c
void itoa(int n, char s[]) {
  if (n < 0) {
    s[0] = '-';
    n = -n;
  }
  if (n / 10)
    itoa(n / 10, s);
  int digits = 0;
  int t = n;
  while (t = t / 10)
    digits++;
  if (s[0] == '-')
    digits++;
  s[digits++] = n % 10 + '0';
  s[digits] = '\0';
}
```