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

```asm
<number>:
  endbr64
  push   %r15
  lea    D11(%rip),%r11
  push   %r14
  mov    %edx,%r14d
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  mov    %r9d,%edi
  push   %rbx
  sub    $0x88,%rsp
  mov    %rsi,0x28(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x78(%rsp)
  xor    %eax,%eax
  test   $0x40,%r9b
  lea    D0(%rip),%rax
  cmove  %r11,%rax
  and    $0x10,%edi
  mov    %edi,0x1c(%rsp)
  mov    %rax,%r15
  lea    -0x2(%rdx),%eax
  je     L43
  and    $0xfffffffe,%r9d
  cmp    $0x22,%eax
  ja     L295
  mov    %edi,0x20(%rsp)
  mov    %r9d,%edi
  mov    %rsi,%rax
  and    $0x20,%edi
  movb   $0x20,0x27(%rsp)
  mov    %edi,0x10(%rsp)
  test   $0x2,%r9b
  je     L187
L57:
  test   %rax,%rax
  js     L198
  test   $0x4,%r9b
  jne    L232
  and    $0x8,%r9d
  movb   $0x0,0x26(%rsp)
  je     L333
  movb   $0x20,0x26(%rsp)
  sub    $0x1,%ecx
  jmp    L333
  nopl   0x0(%rax)
L43:
  cmp    $0x22,%eax
  ja     L295
  mov    %r9d,%eax
  mov    %r9d,%edi
  and    $0x11,%eax
  mov    %eax,0x20(%rsp)
  mov    %r9d,%eax
  and    $0x1,%eax
  cmp    $0x1,%eax
  sbb    %eax,%eax
  and    $0x20,%edi
  and    $0xfffffff0,%eax
  mov    %edi,0x10(%rsp)
  add    $0x30,%eax
  mov    %al,0x27(%rsp)
  mov    %rsi,%rax
  test   $0x2,%r9b
  jne    L57
L187:
  movb   $0x0,0x26(%rsp)
L333:
  mov    0x10(%rsp),%edi
  test   %edi,%edi
  je     L72
L288:
  cmp    $0x10,%r14d
  je     L132
  xor    %edx,%edx
  cmp    $0x8,%r14d
  sete   %dl
  sub    %edx,%ecx
L72:
  test   %rax,%rax
  jne    L364
  movb   $0x30,0x30(%rsp)
  xor    %r13d,%r13d
  mov    $0x1,%r9d
  lea    0x30(%rsp),%rbx
L175:
  cmp    %r8d,%r9d
  mov    0x20(%rsp),%esi
  cmovge %r9d,%r8d
  mov    %r8d,%r12d
  sub    %r8d,%ecx
  test   %esi,%esi
  jne    L189
  lea    -0x1(%rcx),%edx
  test   %ecx,%ecx
  jle    L353
  add    $0x1,%rdx
  mov    %rbp,%rdi
  mov    $0x20,%esi
  mov    %r9d,0x14(%rsp)
  mov    %rdx,0x8(%rsp)
  call   <memset@plt>
  mov    0x8(%rsp),%rdx
  mov    0x14(%rsp),%r9d
  mov    $0xffffffff,%ecx
  add    %rdx,%rbp
L189:
  movzbl 0x26(%rsp),%eax
  test   %al,%al
  je     L161
  mov    %al,0x0(%rbp)
  add    $0x1,%rbp
L161:
  mov    0x10(%rsp),%edx
  test   %edx,%edx
  je     L131
  cmp    $0x8,%r14d
  je     L92
  cmp    $0x10,%r14d
  je     L263
L131:
  mov    0x1c(%rsp),%eax
  test   %eax,%eax
  jne    L97
  lea    -0x1(%rcx),%r15d
  test   %ecx,%ecx
  jle    L3
  add    $0x1,%r15
  movsbl 0x27(%rsp),%esi
  mov    %rbp,%rdi
  mov    %r9d,0x10(%rsp)
  mov    %r15,%rdx
  add    %r15,%rbp
  call   <memset@plt>
  mov    0x10(%rsp),%r9d
  mov    $0xffffffff,%ecx
L97:
  cmp    %r12d,%r9d
  jge    L218
  mov    %r12d,%r8d
  mov    %rbp,%rdi
  mov    $0x30,%esi
  mov    %ecx,0x10(%rsp)
  sub    %r9d,%r8d
  lea    -0x1(%r8),%r12d
  add    $0x1,%r12
  mov    %r12,%rdx
  add    %r12,%rbp
  call   <memset@plt>
  mov    0x10(%rsp),%ecx
L218:
  movslq %r13d,%rax
  mov    %rbp,%rdx
  mov    $0x1,%esi
  add    %rax,%rbx
  nopl   0x0(%rax,%rax,1)
L347:
  movzbl (%rbx),%eax
  add    $0x1,%rdx
  sub    $0x1,%rbx
  mov    %al,-0x1(%rdx)
  mov    %esi,%eax
  sub    %edx,%eax
  add    %r13d,%eax
  add    %ebp,%eax
  test   %eax,%eax
  jg     L347
  add    $0x1,%r13d
  movslq %r13d,%r13
  add    %rbp,%r13
  test   %ecx,%ecx
  jle    L160
  movslq %ecx,%rbx
  mov    %r13,%rdi
  mov    $0x20,%esi
  mov    %rbx,%rdx
  add    %rbx,%r13
  call   <memset@plt>
L160:
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L318
  add    $0x88,%rsp
  mov    %r13,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L198:
  neg    %rax
  movb   $0x2d,0x26(%rsp)
  sub    $0x1,%ecx
  mov    %rax,0x28(%rsp)
  test   %edi,%edi
  jne    L288
L364:
  xor    %r12d,%r12d
  lea    0x30(%rsp),%rbx
  lea    0x28(%rsp),%rdi
L359:
  mov    %rax,%rsi
  mov    %r12d,%r13d
  shr    $0x20,%rsi
  jne    L320
L41:
  xor    %edx,%edx
  mov    %eax,%esi
  lea    0x1(%r12),%r9d
  div    %r14d
  mov    %edx,%edx
  mov    %rax,0x28(%rsp)
  movzbl (%r15,%rdx,1),%edx
  mov    %dl,(%rbx,%r12,1)
  add    $0x1,%r12
  cmp    %r14d,%esi
  jb     L175
  mov    %rax,%rsi
  mov    %r12d,%r13d
  shr    $0x20,%rsi
  je     L41
L320:
  xor    %eax,%eax
  mov    %r14d,%esi
  mov    %r8d,0x18(%rsp)
  mov    %ecx,0x14(%rsp)
  mov    %rdi,0x8(%rsp)
  call   <__div64_32@plt>
  lea    0x1(%r12),%r9d
  mov    0x8(%rsp),%rdi
  mov    0x14(%rsp),%ecx
  mov    %eax,%edx
  mov    0x28(%rsp),%rax
  mov    0x18(%rsp),%r8d
  movzbl (%r15,%rdx,1),%edx
  mov    %dl,(%rbx,%r12,1)
  add    $0x1,%r12
  test   %rax,%rax
  jne    L359
  jmp    L175
  nopl   0x0(%rax,%rax,1)
L232:
  movb   $0x2b,0x26(%rsp)
  sub    $0x1,%ecx
  jmp    L333
  nopl   (%rax)
L263:
  movzbl 0x21(%r15),%eax
  movb   $0x30,0x0(%rbp)
  add    $0x2,%rbp
  mov    %al,-0x1(%rbp)
  jmp    L131
  nopl   (%rax)
L295:
  xor    %r13d,%r13d
  jmp    L160
  nopl   0x0(%rax,%rax,1)
L132:
  sub    $0x2,%ecx
  jmp    L72
  nopl   0x0(%rax,%rax,1)
L92:
  movb   $0x30,0x0(%rbp)
  add    $0x1,%rbp
  jmp    L131
L353:
  mov    %edx,%ecx
  jmp    L189
L3:
  mov    %r15d,%ecx
  jmp    L97
L318:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D11
type_infered: string
name: unpack_data
arguments: label: D0
type_infered: string

tool: D11: 0123456789abcdefghijklmnopqrstuvwxyz

tool: D0: 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ

assistant: ```c
char *number(char *str, unsigned long long num, int base, int size, int precision, int type) {
  char c, sign, tmp[66];
  const char *digits = "0123456789abcdefghijklmnopqrstuvwxyz";
  int i;
  if (type & 64)
    digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  if (type & 16)
    type &= ~1;
  if (base < 2 || base > 36)
    return 0;
  c = (type & 1) ? '0' : ' ';
  sign = 0;
  if (type & 2) {
    if ((signed long long)num < 0) {
      sign = '-';
      num = -(signed long long)num;
      size--;
    } else if (type & 4) {
      sign = '+';
      size--;
    } else if (type & 8) {
      sign = ' ';
      size--;
    }
  }
  if (type & 32) {
    if (base == 16)
      size -= 2;
    else if (base == 8)
      size--;
  }
  i = 0;
  if (num == 0)
    tmp[i++] = '0';
  else
    while (num != 0) {
      tmp[i++] = digits[({
        unsigned int __base = (base);
        unsigned int __rem;
        (void)(((typeof((num)) *)0) == ((unsigned long long *)0));
        if (((num) >> 32) == 0) {
          __rem = (unsigned int)(num) % __base;
          (num) = (unsigned int)(num) / __base;
        } else
          __rem = __div64_32(&(num), __base);
        __rem;
      })];
    }
  if (i > precision)
    precision = i;
  size -= precision;
  if (!(type & (1 + 16)))
    while (size-- > 0)
      *str++ = ' ';
  if (sign)
    *str++ = sign;
  if (type & 32) {
    if (base == 8)
      *str++ = '0';
    else if (base == 16) {
      *str++ = '0';
      *str++ = digits[33];
    }
  }
  if (!(type & 16))
    while (size-- > 0)
      *str++ = c;
  while (i < precision--)
    *str++ = '0';
  while (i-- > 0)
    *str++ = tmp[i];
  while (size-- > 0)
    *str++ = ' ';
  return str;
}
```