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

```asm
<number>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xc8,%rsp
  mov    %rdx,%r10
  mov    %r8d,(%rsp)
  mov    %r9d,0x4(%rsp)
  mov    0x100(%rsp),%ebx
  mov    %fs:0x28,%rax
  mov    %rax,0xb8(%rsp)
  xor    %eax,%eax
  movabs $0x3736353433323130,%rax
  movabs $0x6665646362613938,%rdx
  mov    %rax,0x10(%rsp)
  mov    %rdx,0x18(%rsp)
  movabs $0x6e6d6c6b6a696867,%rax
  movabs $0x767574737271706f,%rdx
  mov    %rax,0x20(%rsp)
  mov    %rdx,0x28(%rsp)
  movl   $0x7a797877,0x30(%rsp)
  movb   $0x0,0x34(%rsp)
  movabs $0x3736353433323130,%rax
  movabs $0x4645444342413938,%rdx
  mov    %rax,0x40(%rsp)
  mov    %rdx,0x48(%rsp)
  movabs $0x4e4d4c4b4a494847,%rax
  movabs $0x565554535251504f,%rdx
  mov    %rax,0x50(%rsp)
  mov    %rdx,0x58(%rsp)
  movl   $0x5a595857,0x60(%rsp)
  movb   $0x0,0x64(%rsp)
  lea    0x10(%rsp),%rax
  lea    0x40(%rsp),%r12
  test   $0x40,%bl
  cmove  %rax,%r12
  mov    %ebx,%eax
  and    $0xfffffffe,%eax
  test   $0x10,%bl
  cmovne %eax,%ebx
  lea    -0x2(%rcx),%eax
  cmp    $0x22,%eax
  ja     L202
  mov    %ecx,%r13d
  mov    %ebx,%eax
  and    $0x1,%eax
  cmp    $0x1,%eax
  sbb    %r14d,%r14d
  and    $0xfffffff0,%r14d
  add    $0x30,%r14d
  test   $0x2,%bl
  je     L321
  test   %r10,%r10
  js     L138
  test   $0x4,%bl
  je     L544
  subl   $0x1,(%rsp)
  movb   $0x2b,0xb(%rsp)
  jmp    L455
L138:
  neg    %r10
  sub    $0x1,%r8d
  mov    %r8d,(%rsp)
  mov    %ebx,%eax
  and    $0x20,%eax
  mov    %eax,0xc(%rsp)
  jne    L351
  movb   $0x2d,0xb(%rsp)
L210:
  mov    $0x1,%r8d
  mov    %r13d,%ecx
  lea    0x6f(%rsp),%r15
L426:
  mov    %r10,%rbp
  mov    %r10,%rax
  mov    $0x0,%edx
  div    %rcx
  mov    %rax,%r9
  mov    %rax,%r10
  mov    %r8d,%r11d
  mov    %rbp,%rax
  mov    $0x0,%edx
  div    %rcx
  movslq %edx,%rdx
  movzbl (%r12,%rdx,1),%eax
  mov    %al,(%r15,%r8,1)
  add    $0x1,%r8
  test   %r9,%r9
  jne    L426
  jmp    L274
L544:
  movb   $0x0,0xb(%rsp)
  test   $0x8,%bl
  je     L455
  subl   $0x1,(%rsp)
  movb   $0x20,0xb(%rsp)
  jmp    L455
L321:
  movb   $0x0,0xb(%rsp)
L455:
  mov    %ebx,%eax
  and    $0x20,%eax
  mov    %eax,0xc(%rsp)
  je     L421
L290:
  cmp    $0x10,%r13d
  je     L254
  cmp    $0x8,%r13d
  sete   %al
  movzbl %al,%eax
  sub    %eax,(%rsp)
L421:
  test   %r10,%r10
  jne    L210
  movb   $0x30,0x70(%rsp)
  mov    $0x1,%r11d
L274:
  mov    0x4(%rsp),%eax
  cmp    %eax,%r11d
  mov    %eax,%edx
  cmovge %r11d,%edx
  mov    (%rsp),%ecx
  sub    %edx,%ecx
  test   $0x11,%bl
  jne    L410
  lea    -0x1(%rcx),%eax
  test   %ecx,%ecx
  jle    L477
  mov    %ecx,%r8d
  add    %rdi,%r8
  mov    %rdi,%rax
  jmp    L407
L351:
  movb   $0x2d,0xb(%rsp)
  jmp    L290
L254:
  subl   $0x2,(%rsp)
  jmp    L421
L109:
  add    $0x1,%rax
  cmp    %r8,%rax
  je     L432
L407:
  cmp    %rax,%rsi
  jb     L109
  movb   $0x20,(%rax)
  jmp    L109
L432:
  mov    %ecx,%ecx
  add    %rcx,%rdi
  mov    $0xffffffff,%ecx
L410:
  movzbl 0xb(%rsp),%eax
  test   %al,%al
  je     L295
  cmp    %rsi,%rdi
  ja     L420
  mov    %al,(%rdi)
L420:
  add    $0x1,%rdi
L295:
  cmpl   $0x0,0xc(%rsp)
  je     L542
  cmp    $0x8,%r13d
  je     L280
  cmp    $0x10,%r13d
  je     L474
L542:
  test   $0x10,%bl
  jne    L66
  lea    -0x1(%rcx),%eax
  test   %ecx,%ecx
  jle    L7
  mov    %ecx,%r8d
  add    %rdi,%r8
  mov    %rdi,%rax
  jmp    L87
L477:
  mov    %eax,%ecx
  jmp    L410
L280:
  cmp    %rsi,%rdi
  ja     L104
  movb   $0x30,(%rdi)
L104:
  add    $0x1,%rdi
  jmp    L542
L474:
  cmp    %rsi,%rdi
  ja     L213
  movb   $0x30,(%rdi)
L213:
  lea    0x1(%rdi),%rax
  cmp    %rax,%rsi
  jb     L537
  movzbl 0x21(%r12),%eax
  mov    %al,0x1(%rdi)
L537:
  add    $0x2,%rdi
  jmp    L542
L59:
  add    $0x1,%rax
  cmp    %r8,%rax
  je     L525
L87:
  cmp    %rax,%rsi
  jb     L59
  mov    %r14b,(%rax)
  jmp    L59
L525:
  mov    %ecx,%ecx
  add    %rcx,%rdi
  mov    $0xffffffff,%ecx
L66:
  cmp    %r11d,%edx
  jle    L425
  sub    %r11d,%edx
  lea    -0x1(%rdx),%eax
  lea    0x1(%rdi,%rax,1),%r8
  jmp    L362
L147:
  add    $0x1,%rdi
  cmp    %r8,%rdi
  je     L257
L362:
  cmp    %rdi,%rsi
  jb     L147
  movb   $0x30,(%rdi)
  jmp    L147
L7:
  mov    %eax,%ecx
  jmp    L66
L425:
  mov    %rdi,%r8
L257:
  test   %r11d,%r11d
  jle    L52
  movslq %r11d,%rax
  lea    0x70(%rsp,%rax,1),%rdx
  mov    %r11d,%edi
  add    %r8,%rdi
  mov    %r8,%rax
  jmp    L43
L215:
  add    $0x1,%rax
  sub    $0x1,%rdx
  cmp    %rdi,%rax
  je     L298
L43:
  cmp    %rax,%rsi
  jb     L215
  movzbl -0x1(%rdx),%r9d
  mov    %r9b,(%rax)
  jmp    L215
L298:
  mov    %r11d,%r11d
  add    %r11,%r8
L52:
  test   %ecx,%ecx
  jle    L113
  mov    %ecx,%edx
  add    %r8,%rdx
  mov    %r8,%rax
  jmp    L176
L341:
  add    $0x1,%rax
  cmp    %rdx,%rax
  je     L391
L176:
  cmp    %rax,%rsi
  jb     L341
  movb   $0x20,(%rax)
  jmp    L341
L391:
  mov    %ecx,%ecx
  add    %rcx,%r8
L113:
  mov    0xb8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L345
  mov    %r8,%rax
  add    $0xc8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L202:
  mov    $0x0,%r8d
  jmp    L113
L345:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
char *number(char *buf, char *end, long long num, int base, int size, int precision, int type) {
  char c, sign, tmp[66];
  const char *digits;
  const char small_digits[] = "0123456789abcdefghijklmnopqrstuvwxyz";
  const char large_digits[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  int i;
  digits = (type & 64) ? large_digits : small_digits;
  if (type & 16)
    type &= ~1;
  if (base < 2 || base > 36)
    return 0;
  c = (type & 1) ? '0' : ' ';
  sign = 0;
  if (type & 2) {
    if (num < 0) {
      sign = '-';
      num = -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[({
        int __res;
        __res = ((unsigned long)num) % (unsigned int)base;
        num = ((unsigned long)num) / (unsigned int)base;
        __res;
      })];
  if (i > precision)
    precision = i;
  size -= precision;
  if (!(type & (1 + 16))) {
    while (size-- > 0) {
      if (buf <= end)
        *buf = ' ';
      ++buf;
    }
  }
  if (sign) {
    if (buf <= end)
      *buf = sign;
    ++buf;
  }
  if (type & 32) {
    if (base == 8) {
      if (buf <= end)
        *buf = '0';
      ++buf;
    } else if (base == 16) {
      if (buf <= end)
        *buf = '0';
      ++buf;
      if (buf <= end)
        *buf = digits[33];
      ++buf;
    }
  }
  if (!(type & 16)) {
    while (size-- > 0) {
      if (buf <= end)
        *buf = c;
      ++buf;
    }
  }
  while (i < precision--) {
    if (buf <= end)
      *buf = '0';
    ++buf;
  }
  while (i-- > 0) {
    if (buf <= end)
      *buf = tmp[i];
    ++buf;
  }
  while (size-- > 0) {
    if (buf <= end)
      *buf = ' ';
    ++buf;
  }
  return buf;
}
```