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

```asm
<tparam1>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x58,%rsp
  mov    %rdi,-0x58(%rbp)
  mov    %rsi,-0x60(%rbp)
  mov    %edx,-0x64(%rbp)
  mov    %rcx,-0x70(%rbp)
  mov    %r8,-0x78(%rbp)
  mov    %r9,%rbx
  mov    -0x58(%rbp),%r14
  mov    -0x60(%rbp),%r13
  movl   $0x0,-0x4c(%rbp)
  mov    %rbx,-0x38(%rbp)
  movl   $0x0,-0x48(%rbp)
  movl   $0x0,-0x44(%rbp)
  mov    -0x64(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x40(%rbp)
L255:
  lea    0x5(%r13),%rax
  cmp    %rax,-0x40(%rbp)
  ja     L76
  cmpl   $0x0,-0x4c(%rbp)
  jne    L432
  mov    -0x64(%rbp),%eax
  add    $0x28,%eax
  mov    %eax,-0x4c(%rbp)
  mov    -0x4c(%rbp),%eax
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <xmalloc@plt>
  cltq
  mov    %rax,%r12
  addq   $0x28,-0x40(%rbp)
  mov    %r13,%rax
  sub    -0x60(%rbp),%rax
  mov    %rax,%rdx
  mov    -0x60(%rbp),%rax
  mov    %rax,%rsi
  mov    %r12,%rdi
  call   <memcpy@plt>
  jmp    L239
L432:
  mov    -0x4c(%rbp),%eax
  cltq
  add    %rax,-0x40(%rbp)
  shll   -0x4c(%rbp)
  mov    -0x4c(%rbp),%edx
  mov    -0x60(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <xrealloc@plt>
  cltq
  mov    %rax,%r12
L239:
  mov    %r12,%rax
  sub    -0x60(%rbp),%rax
  add    %rax,%r13
  mov    %r12,%rax
  sub    -0x60(%rbp),%rax
  add    %rax,-0x40(%rbp)
  mov    %r12,-0x60(%rbp)
L76:
  mov    %r14,%rax
  lea    0x1(%rax),%r14
  movzbl (%rax),%eax
  movsbl %al,%r15d
  test   %r15d,%r15d
  je     L126
  cmp    $0x25,%r15d
  jne    L149
  mov    %r14,%rax
  lea    0x1(%rax),%r14
  movzbl (%rax),%eax
  movsbl %al,%r15d
  mov    (%rbx),%r12d
  lea    -0x25(%r15),%eax
  cmp    $0x4d,%eax
  ja     L255
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D11(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D11(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  cmp    $0x9,%r12d
  jle    L244
  cmp    $0x63,%r12d
  jle    L203
  cmp    $0x3e7,%r12d
  jle    L77
  movslq %r12d,%rax
  imul   $0x10624dd3,%rax,%rax
  shr    $0x20,%rax
  sar    $0x6,%eax
  mov    %r12d,%edx
  sar    $0x1f,%edx
  sub    %edx,%eax
  lea    0x30(%rax),%edx
  mov    %r13,%rax
  lea    0x1(%rax),%r13
  mov    %dl,(%rax)
  movslq %r12d,%rax
  imul   $0x10624dd3,%rax,%rax
  shr    $0x20,%rax
  sar    $0x6,%eax
  mov    %r12d,%edx
  sar    $0x1f,%edx
  sub    %edx,%eax
  imul   $0x3e8,%eax,%edx
  mov    %r12d,%eax
  sub    %edx,%eax
  mov    %eax,%r12d
L77:
  movslq %r12d,%rax
  imul   $0x51eb851f,%rax,%rax
  shr    $0x20,%rax
  sar    $0x5,%eax
  mov    %r12d,%edx
  sar    $0x1f,%edx
  sub    %edx,%eax
  lea    0x30(%rax),%edx
  mov    %r13,%rax
  lea    0x1(%rax),%r13
  mov    %dl,(%rax)
  jmp    L131
L203:
  nop
L131:
  movslq %r12d,%rax
  imul   $0x51eb851f,%rax,%rax
  shr    $0x20,%rax
  sar    $0x5,%eax
  mov    %r12d,%edx
  sar    $0x1f,%edx
  sub    %edx,%eax
  imul   $0x64,%eax,%edx
  mov    %r12d,%eax
  sub    %edx,%eax
  mov    %eax,%r12d
  movslq %r12d,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    $0x2,%eax
  mov    %r12d,%edx
  sar    $0x1f,%edx
  sub    %edx,%eax
  lea    0x30(%rax),%edx
  mov    %r13,%rax
  lea    0x1(%rax),%r13
  mov    %dl,(%rax)
  jmp    L238
L244:
  nop
L238:
  movslq %r12d,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    $0x2,%eax
  mov    %r12d,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  mov    %r12d,%edx
  sub    %eax,%edx
  mov    %edx,%eax
  lea    0x30(%rax),%edx
  mov    %r13,%rax
  lea    0x1(%rax),%r13
  mov    %dl,(%rax)
  add    $0x4,%rbx
  jmp    L2
  cmp    $0x5f,%r12d
  jle    L86
  movslq %r12d,%rax
  imul   $0x2aaaaaab,%rax,%rax
  shr    $0x20,%rax
  sar    $0x4,%eax
  mov    %r12d,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    %r13,%rax
  lea    0x1(%rax),%r13
  mov    %dl,(%rax)
  movslq %r12d,%rax
  imul   $0x2aaaaaab,%rax,%rax
  shr    $0x20,%rax
  sar    $0x4,%eax
  mov    %r12d,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  shl    $0x5,%eax
  mov    %r12d,%edx
  sub    %eax,%edx
  mov    %edx,%r12d
L86:
  mov    %r14,%rax
  lea    0x1(%rax),%r14
  movzbl (%rax),%eax
  movsbl %al,%eax
  add    %eax,%r12d
  cmpq   $0x0,-0x78(%rbp)
  je     L190
  jmp    L73
L17:
  add    $0x1,%r12d
  cmp    -0x38(%rbp),%rbx
  jne    L49
  addl   $0x1,-0x44(%rbp)
  mov    -0x70(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  neg    %rax
  add    %rax,-0x40(%rbp)
  jmp    L73
L49:
  addl   $0x1,-0x48(%rbp)
  mov    -0x78(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  neg    %rax
  add    %rax,-0x40(%rbp)
L73:
  test   %r12d,%r12d
  je     L17
  cmp    $0xa,%r12d
  je     L17
  cmp    $0x9,%r12d
  je     L17
L190:
  test   %r12d,%r12d
  je     L412
  mov    %r12d,%edx
  jmp    L91
L412:
  mov    $0xffffff80,%edx
L91:
  mov    %r13,%rax
  lea    0x1(%rax),%r13
  mov    %dl,(%rax)
  add    $0x4,%rbx
  jmp    L2
  sub    $0x4,%rbx
  jmp    L2
  mov    0x4(%rbx),%eax
  mov    %eax,(%rbx)
  lea    0x4(%rbx),%rax
  mov    %r12d,(%rax)
  addq   $0x4,-0x38(%rbp)
  jmp    L2
  mov    (%rbx),%edx
  mov    %r14,%rax
  lea    0x1(%rax),%r14
  movzbl (%rax),%eax
  movsbl %al,%eax
  cmp    %eax,%edx
  jle    L168
  mov    (%rbx),%edx
  movzbl (%r14),%eax
  movsbl %al,%eax
  add    %edx,%eax
  mov    %eax,(%rbx)
L168:
  add    $0x1,%r14
  jmp    L2
  lea    0x2(%r14),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  and    $0x7f,%eax
  mov    %eax,%r12d
  lea    0x1(%r14),%rax
  movzbl (%rax),%eax
  cmp    $0x70,%al
  jne    L105
  movslq %r12d,%rax
  shl    $0x2,%rax
  sub    $0x100,%rax
  add    %rbx,%rax
  mov    (%rax),%r12d
L105:
  movzbl (%r14),%eax
  cmp    $0x2d,%al
  jne    L133
  mov    (%rbx),%eax
  sub    %r12d,%eax
  mov    %eax,(%rbx)
  jmp    L188
L133:
  movzbl (%r14),%eax
  cmp    $0x2b,%al
  jne    L439
  mov    (%rbx),%eax
  add    %r12d,%eax
  mov    %eax,(%rbx)
  jmp    L188
L439:
  movzbl (%r14),%eax
  cmp    $0x2a,%al
  jne    L451
  mov    (%rbx),%eax
  imul   %r12d,%eax
  mov    %eax,(%rbx)
  jmp    L188
L451:
  movzbl (%r14),%eax
  cmp    $0x2f,%al
  jne    L395
  mov    (%rbx),%eax
  cltd
  idiv   %r12d
  mov    %eax,(%rbx)
  jmp    L188
L395:
  mov    %r12d,(%rbx)
L188:
  add    $0x3,%r14
  jmp    L2
  mov    (%rbx),%eax
  add    $0x1,%eax
  mov    %eax,(%rbx)
  lea    0x4(%rbx),%rax
  mov    (%rax),%edx
  add    $0x1,%edx
  mov    %edx,(%rax)
  jmp    L2
  mov    (%rbx),%eax
  xor    $0x60,%eax
  mov    %eax,(%rbx)
  lea    0x4(%rbx),%rax
  mov    (%rax),%edx
  lea    0x4(%rbx),%rax
  xor    $0x60,%edx
  mov    %edx,(%rax)
  jmp    L2
  mov    (%rbx),%eax
  xor    $0x7f,%eax
  mov    %eax,(%rbx)
  lea    0x4(%rbx),%rax
  mov    (%rax),%edx
  lea    0x4(%rbx),%rax
  xor    $0x7f,%edx
  mov    %edx,(%rax)
  jmp    L2
  mov    (%rbx),%ecx
  movslq %r12d,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    $0x2,%eax
  mov    %r12d,%esi
  sar    $0x1f,%esi
  sub    %esi,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  add    %eax,%eax
  add    %ecx,%eax
  mov    %eax,(%rbx)
  jmp    L2
  mov    (%rbx),%eax
  mov    %r12d,%edx
  sar    $0x1f,%edx
  mov    %edx,%ecx
  shr    $0x1c,%ecx
  lea    (%r12,%rcx,1),%edx
  and    $0xf,%edx
  sub    %ecx,%edx
  add    %edx,%edx
  sub    %edx,%eax
  mov    %eax,(%rbx)
  jmp    L2
L149:
  nop
  jmp    L205
  nop
L205:
  mov    %r13,%rax
  lea    0x1(%rax),%r13
  mov    %r15d,%edx
  mov    %dl,(%rax)
L2:
  jmp    L255
L126:
  nop
  movb   $0x0,0x0(%r13)
  jmp    L284
L217:
  mov    -0x70(%rbp),%rax
  mov    %rax,%rsi
  mov    %r13,%rdi
  call   <strcat@plt>
L284:
  mov    -0x44(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x44(%rbp)
  test   %eax,%eax
  jg     L217
  jmp    L113
L363:
  mov    -0x78(%rbp),%rax
  mov    %rax,%rsi
  mov    %r13,%rdi
  call   <strcat@plt>
L113:
  mov    -0x48(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x48(%rbp)
  test   %eax,%eax
  jg     L363
  mov    -0x60(%rbp),%rax
  add    $0x58,%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

assistant: ```c
char *tparam1(string, outstring, len, up, left, argp)
char *string;
char *outstring;
int len;
char *up, *left;
register int *argp;
{
  register int c;
  register char *p = string;
  register char *op = outstring;
  char *outend;
  int outlen = 0;
  register int tem;
  int *old_argp = argp;
  int doleft = 0;
  int doup = 0;
  outend = outstring + len;
  while (1) {
    if (op + 5 >= outend) {
      register char *new;
      if (outlen == 0) {
        outlen = len + 40;
        new = (char *)xmalloc(outlen);
        outend += 40;
        memcpy((new), (outstring), (op - outstring));
      } else {
        outend += outlen;
        outlen *= 2;
        new = (char *)xrealloc(outstring, outlen);
      }
      op += new - outstring;
      outend += new - outstring;
      outstring = new;
    }
    c = *p++;
    if (!c)
      break;
    if (c == '%') {
      c = *p++;
      tem = *argp;
      switch (c) {
      case 'd':
        if (tem < 10)
          goto onedigit;
        if (tem < 100)
          goto twodigit;
      case '3':
        if (tem > 999) {
          *op++ = tem / 1000 + '0';
          tem %= 1000;
        }
        *op++ = tem / 100 + '0';
      case '2':
      twodigit:
        tem %= 100;
        *op++ = tem / 10 + '0';
      onedigit:
        *op++ = tem % 10 + '0';
        argp++;
        break;
      case 'C':
        if (tem >= 96) {
          *op++ = tem / 96;
          tem %= 96;
        }
      case '+':
        tem += *p++;
      case '.':
        if (left) {
          while (tem == 0 || tem == '\n' || tem == '\t') {
            tem++;
            if (argp == old_argp)
              doup++, outend -= strlen(up);
            else
              doleft++, outend -= strlen(left);
          }
        }
        *op++ = tem ? tem : 0200;
      case 'f':
        argp++;
        break;
      case 'b':
        argp--;
        break;
      case 'r':
        argp[0] = argp[1];
        argp[1] = tem;
        old_argp++;
        break;
      case '>':
        if (argp[0] > *p++)
          argp[0] += *p;
        p++;
        break;
      case 'a':
        tem = p[2] & 0177;
        if (p[1] == 'p')
          tem = argp[tem - 0100];
        if (p[0] == '-')
          argp[0] -= tem;
        else if (p[0] == '+')
          argp[0] += tem;
        else if (p[0] == '*')
          argp[0] *= tem;
        else if (p[0] == '/')
          argp[0] /= tem;
        else
          argp[0] = tem;
        p += 3;
        break;
      case 'i':
        argp[0]++;
        argp[1]++;
        break;
      case '%':
        goto ordinary;
      case 'n':
        argp[0] ^= 0140;
        argp[1] ^= 0140;
        break;
      case 'm':
        argp[0] ^= 0177;
        argp[1] ^= 0177;
        break;
      case 'B':
        argp[0] += 6 * (tem / 10);
        break;
      case 'D':
        argp[0] -= 2 * (tem % 16);
        break;
      }
    } else
    ordinary:
      *op++ = c;
  }
  *op = 0;
  while (doup-- > 0)
    strcat(op, up);
  while (doleft-- > 0)
    strcat(op, left);
  return outstring;
}
```