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

```asm
<itoa>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %edi,-0x34(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movabs $0x3736353433323130,%rax
  mov    %rax,-0x13(%rbp)
  movw   $0x3938,-0xb(%rbp)
  movb   $0x0,-0x9(%rbp)
  movl   $0x0,-0x2c(%rbp)
  movl   $0x0,-0x28(%rbp)
  mov    -0x34(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  movl   $0x0,-0x1c(%rbp)
  movl   $0x0,-0x20(%rbp)
  cmpq   $0x0,-0x40(%rbp)
  jne    L29
  mov    $0x0,%eax
  jmp    L21
L29:
  cmpl   $0x0,-0x34(%rbp)
  jns    L62
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movb   $0x2d,(%rax)
  negl   -0x24(%rbp)
  addl   $0x1,-0x2c(%rbp)
  jmp    L62
L59:
  addl   $0x1,-0x28(%rbp)
L62:
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x24(%rbp),%xmm2
  movsd  %xmm2,-0x48(%rbp)
  mov    -0x28(%rbp),%eax
  test   %rax,%rax
  js     L19
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L116
L19:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L116:
  mov    D9(%rip),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <pow@plt>
  movapd %xmm0,%xmm1
  movsd  -0x48(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm1,%xmm0
  ja     L59
  jmp    L74
L32:
  pxor   %xmm3,%xmm3
  cvtsi2sdl -0x24(%rbp),%xmm3
  movsd  %xmm3,-0x48(%rbp)
  mov    -0x28(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,%eax
  test   %rax,%rax
  js     L45
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L0
L45:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L0:
  mov    D9(%rip),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <pow@plt>
  movsd  -0x48(%rbp),%xmm1
  divsd  %xmm0,%xmm1
  cvttsd2si %xmm1,%eax
  mov    %eax,-0x18(%rbp)
  mov    -0x20(%rbp),%eax
  imul   $0xfffffff6,%eax,%edx
  mov    -0x18(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x40(%rbp),%rax
  add    %rax,%rdx
  mov    -0x1c(%rbp),%eax
  cltq
  movzbl -0x13(%rbp,%rax,1),%eax
  mov    %al,(%rdx)
  mov    -0x18(%rbp),%eax
  mov    %eax,-0x20(%rbp)
  addl   $0x1,-0x2c(%rbp)
  subl   $0x1,-0x28(%rbp)
L74:
  cmpl   $0x0,-0x28(%rbp)
  jne    L32
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x40(%rbp),%rax
L21:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L2
  call   <__stack_chk_fail@plt>
L2:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D9
datatype: byte[8]

tool: {"D9": [0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40]}

assistant: ```c
char *itoa(int value, char *destination) {
  const char digit_ascii_table[] = "0123456789";
  int destination_index = 0;
  unsigned int value_char_size = 0;
  int absolute_value = value;
  int current_digit = 0;
  int previous_leading_number = 0;
  if (!destination) {
    return ((void *)0);
  }
  if (value < 0) {
    destination[destination_index] = '-';
    absolute_value *= (-1);
    ++destination_index;
  }
  while (absolute_value / pow(10, value_char_size) > 0) {
    ++value_char_size;
  }
  while (value_char_size > 0) {
    int current_leading_number = absolute_value / pow(10, value_char_size - 1);
    current_digit = current_leading_number - (previous_leading_number * 10);
    destination[destination_index] = digit_ascii_table[current_digit];
    previous_leading_number = current_leading_number;
    ++destination_index;
    --value_char_size;
  }
  destination[destination_index] = '\0';
  return destination;
}
```