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

```asm
<potency_escape_xml>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %rdx,-0x28(%rbp)
  movq   $0x0,-0x10(%rbp)
  movq   $0x0,-0x8(%rbp)
  movq   $0x0,-0x10(%rbp)
  jmp    L68
L77:
  mov    -0x18(%rbp),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x22,%eax
  cmp    $0x1c,%eax
  ja     L24
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D13(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D13(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x26,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x6c,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x74,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x3b,(%rax)
  jmp    L67
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x26,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x67,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x74,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x3b,(%rax)
  jmp    L67
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x26,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x61,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x6d,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x70,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x3b,(%rax)
  jmp    L67
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x26,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x71,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x75,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x6f,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x74,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x3b,(%rax)
  jmp    L67
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x26,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x61,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x70,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x6f,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x73,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rdx,%rax
  movb   $0x3b,(%rax)
  jmp    L67
L24:
  mov    -0x18(%rbp),%rdx
  mov    -0x10(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%rdx
  add    %rax,%rdx
  movzbl (%rcx),%eax
  mov    %al,(%rdx)
L67:
  addq   $0x1,-0x10(%rbp)
L68:
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    %rax,-0x10(%rbp)
  jae    L20
  mov    -0x28(%rbp),%rax
  sub    $0x7,%rax
  cmp    %rax,-0x8(%rbp)
  jb     L77
L20:
  mov    -0x20(%rbp),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x20(%rbp),%rax
  leave
  ret
```

assistant: ```c
char *potency_escape_xml(const char *unescaped, char *escaped, const size_t escapedLength) {
  size_t i = 0;
  size_t j = 0;
  for (i = 0; (i < strlen(unescaped)) && (j < (escapedLength - 7)); i++) {
    switch (unescaped[i]) {
    case '<':
      escaped[j++] = '&';
      escaped[j++] = 'l';
      escaped[j++] = 't';
      escaped[j++] = ';';
      break;
    case '>':
      escaped[j++] = '&';
      escaped[j++] = 'g';
      escaped[j++] = 't';
      escaped[j++] = ';';
      break;
    case '&':
      escaped[j++] = '&';
      escaped[j++] = 'a';
      escaped[j++] = 'm';
      escaped[j++] = 'p';
      escaped[j++] = ';';
      break;
    case '"':
      escaped[j++] = '&';
      escaped[j++] = 'q';
      escaped[j++] = 'u';
      escaped[j++] = 'o';
      escaped[j++] = 't';
      escaped[j++] = ';';
      break;
    case '\'':
      escaped[j++] = '&';
      escaped[j++] = 'a';
      escaped[j++] = 'p';
      escaped[j++] = 'o';
      escaped[j++] = 's';
      escaped[j++] = ';';
      break;
    default:
      escaped[j++] = unescaped[i];
    }
  }
  escaped[j] = 0;
  return escaped;
}
```