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

```asm
<asn1_string_canon>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    -0x30(%rbp),%rax
  mov    0x10(%rax),%eax
  mov    %eax,%edi
  call   <ASN1_tag2bit@plt>
  mov    %eax,%edx
  mov    D17(%rip),%rax
  mov    (%rax),%ecx
  mov    D23(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%ecx
  mov    D62(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%ecx
  mov    D1(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%ecx
  mov    D13(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%ecx
  mov    D53(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%ecx
  mov    D41(%rip),%rax
  mov    (%rax),%eax
  or     %ecx,%eax
  and    %edx,%eax
  test   %eax,%eax
  jne    L112
  mov    -0x30(%rbp),%rdx
  mov    -0x28(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <ASN1_STRING_copy@plt>
  test   %eax,%eax
  jne    L181
  mov    $0x0,%eax
  jmp    L17
L181:
  mov    $0x1,%eax
  jmp    L17
L112:
  mov    D50(%rip),%rax
  mov    (%rax),%edx
  mov    -0x28(%rbp),%rax
  mov    %edx,0x10(%rax)
  mov    -0x28(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    -0x30(%rbp),%rax
  mov    %rax,%rsi
  mov    %rdx,%rdi
  call   <ASN1_STRING_to_UTF8@plt>
  mov    -0x28(%rbp),%rdx
  mov    %eax,(%rdx)
  mov    -0x28(%rbp),%rax
  mov    (%rax),%eax
  cmp    $0xffffffff,%eax
  jne    L28
  mov    $0x0,%eax
  jmp    L17
L28:
  mov    -0x28(%rbp),%rax
  mov    0x8(%rax),%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x28(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0x18(%rbp)
  jmp    L103
L18:
  addq   $0x1,-0x8(%rbp)
  subl   $0x1,-0x18(%rbp)
L103:
  cmpl   $0x0,-0x18(%rbp)
  jle    L148
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  js     L148
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L18
L148:
  mov    -0x18(%rbp),%eax
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x10(%rbp)
  jmp    L11
L160:
  subq   $0x1,-0x10(%rbp)
  subl   $0x1,-0x18(%rbp)
L11:
  cmpl   $0x0,-0x18(%rbp)
  jle    L205
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  js     L205
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L160
L205:
  mov    -0x28(%rbp),%rax
  mov    0x8(%rax),%rax
  mov    %rax,-0x10(%rbp)
  movl   $0x0,-0x14(%rbp)
  jmp    L155
L167:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jns    L33
  mov    -0x8(%rbp),%rdx
  lea    0x1(%rdx),%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x10(%rbp),%rax
  lea    0x1(%rax),%rcx
  mov    %rcx,-0x10(%rbp)
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  addl   $0x1,-0x14(%rbp)
  jmp    L155
L33:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  je     L163
  mov    -0x10(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x10(%rbp)
  movb   $0x20,(%rax)
L129:
  addq   $0x1,-0x8(%rbp)
  addl   $0x1,-0x14(%rbp)
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  js     L155
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L129
  jmp    L155
L163:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,%edi
  call   <tolower@plt>
  mov    %eax,%ecx
  mov    -0x10(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x10(%rbp)
  mov    %ecx,%edx
  mov    %dl,(%rax)
  addq   $0x1,-0x8(%rbp)
  addl   $0x1,-0x14(%rbp)
L155:
  mov    -0x14(%rbp),%eax
  cmp    -0x18(%rbp),%eax
  jl     L167
  mov    -0x28(%rbp),%rax
  mov    0x8(%rax),%rdx
  mov    -0x10(%rbp),%rax
  sub    %rdx,%rax
  mov    %eax,%edx
  mov    -0x28(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x1,%eax
L17:
  leave
  ret
```

assistant: ```c
int asn1_string_canon(ASN1_STRING *out, ASN1_STRING *in) {
  unsigned char *to, *from;
  int len, i;
  if (!(ASN1_tag2bit(in->type) & (B_ASN1_UTF8STRING | B_ASN1_BMPSTRING | B_ASN1_UNIVERSALSTRING | B_ASN1_PRINTABLESTRING | B_ASN1_T61STRING | B_ASN1_IA5STRING | B_ASN1_VISIBLESTRING))) {
    if (!ASN1_STRING_copy(out, in))
      return 0;
    return 1;
  }
  out->type = V_ASN1_UTF8STRING;
  out->length = ASN1_STRING_to_UTF8(&out->data, in);
  if (out->length == -1)
    return 0;
  to = out->data;
  from = to;
  len = out->length;
  while ((len > 0) && !(*from & 0x80) && isspace(*from)) {
    from++;
    len--;
  }
  to = from + len - 1;
  while ((len > 0) && !(*to & 0x80) && isspace(*to)) {
    to--;
    len--;
  }
  to = out->data;
  i = 0;
  while (i < len) {
    if (*from & 0x80) {
      *to++ = *from++;
      i++;
    } else if (isspace(*from)) {
      *to++ = ' ';
      do {
        from++;
        i++;
      } while (!(*from & 0x80) && isspace(*from));
    } else {
      *to++ = tolower(*from);
      from++;
      i++;
    }
  }
  out->length = to - out->data;
  return 1;
}
```