user: 下面的汇编指令对应的C源代码是什么：

```asm
<ns_format_ttl>:
  endbr64
  movslq %edi,%rax
  push   %r15
  imul   $0xffffffff88888889,%rax,%rax
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  shr    $0x20,%rax
  push   %rbx
  add    %edi,%eax
  mov    %rsi,%rbx
  sar    $0x5,%eax
  mov    %eax,%ebp
  sub    $0x28,%rsp
  mov    %rdx,0x10(%rsp)
  mov    %edi,%edx
  sar    $0x1f,%edx
  mov    %rsi,0x18(%rsp)
  sub    %edx,%eax
  sub    %edx,%ebp
  movslq %eax,%rdx
  imul   $0x3c,%ebp,%ecx
  imul   $0xffffffff88888889,%rdx,%rdx
  sub    %ecx,%edi
  mov    %eax,%ecx
  shr    $0x20,%rdx
  sar    $0x1f,%ecx
  mov    %edi,%ebp
  add    %eax,%edx
  sar    $0x5,%edx
  mov    %edx,%r12d
  sub    %ecx,%r12d
  imul   $0x3c,%r12d,%esi
  sub    %esi,%eax
  mov    %eax,%r12d
  mov    %edx,%eax
  sub    %ecx,%eax
  movslq %eax,%r13
  cltd
  imul   $0x2aaaaaab,%r13,%r13
  sar    $0x22,%r13
  sub    %edx,%r13d
  lea    0x0(%r13,%r13,2),%ecx
  mov    %r13d,%edx
  shl    $0x3,%ecx
  sub    %ecx,%eax
  mov    %edx,%ecx
  mov    %eax,%r13d
  movslq %edx,%rax
  sar    $0x1f,%ecx
  imul   $0xffffffff92492493,%rax,%rax
  shr    $0x20,%rax
  add    %edx,%eax
  sar    $0x2,%eax
  mov    %eax,%r14d
  sub    %ecx,%r14d
  lea    0x0(,%r14,8),%esi
  sub    %r14d,%esi
  sub    %esi,%edx
  sub    %ecx,%eax
  mov    %eax,0x4(%rsp)
  mov    %edx,%r14d
  jne    L81
  xor    %eax,%eax
  mov    $0x3,%r10d
  mov    $0x2,%r9d
  mov    $0x1,%r15d
  test   %r14d,%r14d
  jne    L228
L0:
  test   %r13d,%r13d
  jne    L134
L30:
  test   %r12d,%r12d
  jne    L47
L17:
  test   %ebp,%ebp
  jne    L66
  mov    0x4(%rsp),%r8d
  or     %r14d,%r8d
  or     %r13d,%r8d
  jne    L110
L66:
  lea    0x10(%rsp),%rcx
  lea    0x18(%rsp),%rdx
  mov    $0x53,%esi
  mov    %ebp,%edi
  call   <fmt1@plt>
  test   %rax,%rax
  js     L174
L184:
  cmp    $0x1,%r15d
  jle    L155
L82:
  movsbl (%rbx),%ebp
  test   %ebp,%ebp
  je     L155
  mov    %rbx,%r12
  jmp    L61
L173:
  movsbl 0x1(%r12),%ebp
  add    $0x1,%r12
  test   %ebp,%ebp
  je     L155
L61:
  mov    %ebp,%edi
  call   <isascii@plt>
  test   %rax,%rax
  je     L173
  mov    %ebp,%edi
  call   <isupper@plt>
  test   %rax,%rax
  je     L173
  mov    %ebp,%edi
  add    $0x1,%r12
  call   <tolower@plt>
  mov    %al,-0x1(%r12)
  movsbl (%r12),%ebp
  test   %ebp,%ebp
  jne    L61
  nop
L155:
  mov    0x18(%rsp),%eax
  sub    %ebx,%eax
L123:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L81:
  lea    0x10(%rsp),%rcx
  lea    0x18(%rsp),%rdx
  mov    $0x57,%esi
  mov    %eax,%edi
  call   <fmt1@plt>
  test   %rax,%rax
  js     L174
  mov    $0x4,%r10d
  mov    $0x3,%r9d
  mov    $0x2,%r15d
  mov    $0x1,%eax
  test   %r14d,%r14d
  je     L0
L228:
  lea    0x10(%rsp),%rcx
  lea    0x18(%rsp),%rdx
  mov    $0x44,%esi
  mov    %r14d,%edi
  mov    %r10d,0xc(%rsp)
  mov    %r9d,0x8(%rsp)
  call   <fmt1@plt>
  test   %rax,%rax
  js     L174
  mov    %r15d,%eax
  mov    0xc(%rsp),%r9d
  mov    0x8(%rsp),%r15d
  test   %r13d,%r13d
  je     L30
L134:
  lea    0x10(%rsp),%rcx
  lea    0x18(%rsp),%rdx
  mov    $0x48,%esi
  mov    %r13d,%edi
  mov    %r9d,0x8(%rsp)
  call   <fmt1@plt>
  test   %rax,%rax
  js     L174
  mov    %r15d,%eax
  mov    0x8(%rsp),%r15d
  test   %r12d,%r12d
  je     L17
L47:
  lea    0x10(%rsp),%r14
  lea    0x18(%rsp),%r13
  mov    $0x4d,%esi
  mov    %r12d,%edi
  mov    %r14,%rcx
  mov    %r13,%rdx
  call   <fmt1@plt>
  test   %rax,%rax
  js     L174
  test   %ebp,%ebp
  je     L184
  mov    %r14,%rcx
  mov    %r13,%rdx
  mov    $0x53,%esi
  mov    %ebp,%edi
  call   <fmt1@plt>
  test   %rax,%rax
  jns    L82
L174:
  mov    $0xffffffff,%eax
  jmp    L123
  nopl   0x0(%rax,%rax,1)
L110:
  mov    %eax,%r15d
  jmp    L184
```

assistant: ```c
int ns_format_ttl(u_long src, char *dst, size_t dstlen) {
  char *odst = dst;
  int secs, mins, hours, days, weeks, x;
  char *p;
  secs = (int)(src % 60);
  src /= 60;
  mins = (int)(src % 60);
  src /= 60;
  hours = (int)(src % 24);
  src /= 24;
  days = (int)(src % 7);
  src /= 7;
  weeks = (int)src;
  src = 0;
  x = 0;
  if (weeks) {
    if ((fmt1(weeks, 'W', &dst, &dstlen)) < 0)
      return (-1);
    else
      (void)NULL;
    x++;
  }
  if (days) {
    if ((fmt1(days, 'D', &dst, &dstlen)) < 0)
      return (-1);
    else
      (void)NULL;
    x++;
  }
  if (hours) {
    if ((fmt1(hours, 'H', &dst, &dstlen)) < 0)
      return (-1);
    else
      (void)NULL;
    x++;
  }
  if (mins) {
    if ((fmt1(mins, 'M', &dst, &dstlen)) < 0)
      return (-1);
    else
      (void)NULL;
    x++;
  }
  if (secs || !(weeks || days || hours || mins)) {
    if ((fmt1(secs, 'S', &dst, &dstlen)) < 0)
      return (-1);
    else
      (void)NULL;
    x++;
  }
  if (x > 1) {
    int ch;
    for (p = odst; (ch = *p) != '\0'; p++)
      if (isascii(ch) && isupper(ch))
        *p = (char)(tolower(ch));
  }
  return ((int)(dst - odst));
}
```