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

```asm
<SDF_xml_decode_data>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdx,%rbp
  push   %rbx
  sub    $0x8,%rsp
  test   %esi,%esi
  jle    L137
  mov    %rdi,%rbx
  mov    %esi,%r15d
  lea    D22(%rip),%r12
  lea    D16(%rip),%r13
  jmp    L81
  nop
L48:
  add    $0x1,%rbx
  sub    $0x1,%r15d
L73:
  mov    %r14b,-0x1(%rbp)
  test   %r15d,%r15d
  jle    L137
L81:
  movzbl (%rbx),%r14d
  add    $0x1,%rbp
  cmp    $0x26,%r14b
  jne    L48
  mov    $0x4,%edx
  mov    %r12,%rsi
  mov    %rbx,%rdi
  call   <memcmp@plt>
  test   %rax,%rax
  jne    L98
  mov    $0x3c,%r14d
  sub    $0x4,%r15d
  add    $0x4,%rbx
  mov    %r14b,-0x1(%rbp)
  test   %r15d,%r15d
  jg     L81
L137:
  movb   $0x0,0x0(%rbp)
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  xchg   %ax,%ax
L98:
  mov    $0x4,%edx
  mov    %r13,%rsi
  mov    %rbx,%rdi
  call   <memcmp@plt>
  test   %rax,%rax
  je     L138
  mov    $0x5,%edx
  lea    D37(%rip),%rsi
  mov    %rbx,%rdi
  call   <memcmp@plt>
  test   %rax,%rax
  jne    L126
  add    $0x5,%rbx
  sub    $0x5,%r15d
  jmp    L73
  nopl   0x0(%rax,%rax,1)
L138:
  add    $0x4,%rbx
  sub    $0x4,%r15d
  mov    $0x3e,%r14d
  jmp    L73
  nopl   0x0(%rax,%rax,1)
L126:
  mov    $0x6,%edx
  lea    D17(%rip),%rsi
  mov    %rbx,%rdi
  call   <memcmp@plt>
  test   %rax,%rax
  je     L131
  mov    $0x6,%edx
  lea    D0(%rip),%rsi
  mov    %rbx,%rdi
  call   <memcmp@plt>
  test   %rax,%rax
  je     L30
  movzbl (%rbx),%r14d
  jmp    L48
  nopl   0x0(%rax,%rax,1)
L131:
  add    $0x6,%rbx
  sub    $0x6,%r15d
  mov    $0x27,%r14d
  jmp    L73
L30:
  add    $0x6,%rbx
  sub    $0x6,%r15d
  mov    $0x22,%r14d
  jmp    L73
```

tool_calls: name: parse_data
arguments: label: D22
type_infered: string
name: parse_data
arguments: label: D16
type_infered: string
name: parse_data
arguments: label: D37
type_infered: string
name: parse_data
arguments: label: D17
type_infered: string
name: parse_data
arguments: label: D0
type_infered: string

tool: D22: &lt;

tool: D16: &gt;

tool: D37: &amp;

tool: D17: &apos;

tool: D0: &quot;

assistant: ```c
void SDF_xml_decode_data(char *s, int len, char *t) {
  while (len > 0) {
    if (*s == '&') {
      {
        if (memcmp(s, ("&lt;"), sizeof("&lt;") - 1) == 0) {
          *t++ = ('<');
          s += sizeof("&lt;") - 1;
          len -= sizeof("&lt;") - 1;
          continue;
        }
      }
      {
        if (memcmp(s, ("&gt;"), sizeof("&gt;") - 1) == 0) {
          *t++ = ('>');
          s += sizeof("&gt;") - 1;
          len -= sizeof("&gt;") - 1;
          continue;
        }
      }
      {
        if (memcmp(s, ("&amp;"), sizeof("&amp;") - 1) == 0) {
          *t++ = ('&');
          s += sizeof("&amp;") - 1;
          len -= sizeof("&amp;") - 1;
          continue;
        }
      }
      {
        if (memcmp(s, ("&apos;"), sizeof("&apos;") - 1) == 0) {
          *t++ = ('\'');
          s += sizeof("&apos;") - 1;
          len -= sizeof("&apos;") - 1;
          continue;
        }
      }
      {
        if (memcmp(s, ("&quot;"), sizeof("&quot;") - 1) == 0) {
          *t++ = ('"');
          s += sizeof("&quot;") - 1;
          len -= sizeof("&quot;") - 1;
          continue;
        }
      }
    }
    *t++ = *s++;
    --len;
  }
  *t = '\0';
}
```