user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<GetId3v1>:
  endbr64
  push   %r15
  mov    %rdi,%r15
  mov    $0x80,%edi
  push   %r14
  mov    %rsi,%r14
  push   %r13
  mov    %rdx,%r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  call   <memory_allocation@plt>
  mov    $0x3,%edx
  lea    D54(%rip),%rsi
  mov    %rax,%r12
  mov    %rax,%rdi
  call   <strncat@plt>
  lea    0x3(%r12),%rbp
  test   %r15,%r15
  je     L86
  mov    %r15,%rdi
  call   <strlen@plt>
  mov    %eax,%ebx
  mov    $0x1e,%eax
  sub    %ebx,%eax
  js     L8
  mov    %eax,0xc(%rsp)
  lea    D33(%rip),%rdx
  mov    %rbp,%rdi
  xor    %eax,%eax
  mov    $0x7d,%esi
  mov    %r15,%rcx
  call   <snprintf@plt>
  movslq %ebx,%rdi
  mov    0xc(%rsp),%edx
  xor    %esi,%esi
  add    %rbp,%rdi
  call   <memset@plt>
L26:
  lea    0x21(%r12),%rbp
  test   %r14,%r14
  je     L118
L67:
  mov    %r14,%rdi
  call   <strlen@plt>
  mov    %r14,%rcx
  lea    D33(%rip),%rdx
  mov    %eax,%ebx
  mov    $0x1e,%eax
  sub    %ebx,%eax
  mov    %eax,%r15d
  js     L19
  mov    $0x5f,%esi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <snprintf@plt>
  movslq %ebx,%rdi
  mov    %r15d,%edx
  xor    %esi,%esi
  add    %rbp,%rdi
  call   <memset@plt>
L63:
  lea    0x3f(%r12),%r14
  test   %r13,%r13
  je     L50
L107:
  mov    %r13,%rdi
  call   <strlen@plt>
  mov    %r13,%rcx
  lea    D33(%rip),%rdx
  movslq %eax,%rbx
  mov    $0x1e,%eax
  sub    %ebx,%eax
  mov    %eax,%r15d
  js     L43
  mov    $0x41,%esi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <snprintf@plt>
  lea    (%r14,%rbx,1),%rdi
  mov    %r15d,%edx
  xor    %esi,%esi
  call   <memset@plt>
L64:
  lea    0x5d(%r12),%rdi
  mov    $0x4,%edx
  xor    %esi,%esi
  call   <memset@plt>
  lea    0x61(%r12),%rdi
  lea    D13(%rip),%rdx
  xor    %eax,%eax
  mov    $0x1f,%esi
  call   <snprintf@plt>
  lea    0x7f(%r12),%rdi
  mov    $0x1,%edx
  mov    $0x1,%esi
  call   <memset@plt>
  add    $0x18,%rsp
  mov    %r12,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L8:
  lea    0x6(%r12),%rdi
  mov    %r15,%rcx
  mov    $0x1f,%esi
  xor    %eax,%eax
  lea    D33(%rip),%rdx
  lea    0x21(%r12),%rbp
  call   <snprintf@plt>
  test   %r14,%r14
  jne    L67
L118:
  mov    $0x1e,%edx
  xor    %esi,%esi
  lea    0x3f(%r12),%r14
  mov    %rbp,%rdi
  call   <memset@plt>
  test   %r13,%r13
  jne    L107
L50:
  mov    $0x1e,%edx
  xor    %esi,%esi
  mov    %r14,%rdi
  call   <memset@plt>
  jmp    L64
  nopw   0x0(%rax,%rax,1)
L86:
  mov    $0x1e,%edx
  xor    %esi,%esi
  mov    %rbp,%rdi
  call   <memset@plt>
  jmp    L26
  nopl   0x0(%rax)
L43:
  mov    $0x1f,%esi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <snprintf@plt>
  jmp    L64
  nopl   0x0(%rax)
L19:
  mov    $0x1f,%esi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <snprintf@plt>
  jmp    L63
```

tool_calls: name: parse_data
arguments: data_label: D54
data_type: string
name: parse_data
arguments: data_label: D33
data_type: string
name: parse_data
arguments: data_label: D13
data_type: string

tool: D54: TAG

tool: D33: %s

tool: D13: by cPige http://ed.zehome.com/

assistant: ```c
char *GetId3v1(char *titre, char *artiste, char *radioName) {
  char *chunk;
  char *relativePointer;
  int padding = 0;
  chunk = (char *)memory_allocation(128);
  strncat(chunk, "TAG", 3);
  relativePointer = chunk + 3;
  if (titre) {
    padding = (30 - strlen(titre));
    if (padding < 0) {
      snprintf(relativePointer + 3, 31, "%s", titre);
    } else {
      snprintf(relativePointer, 128 - 3, "%s", titre);
      memset(relativePointer + (30 - padding), 0, padding);
    }
  } else {
    memset(relativePointer, 0, 30);
  }
  relativePointer = relativePointer + 30;
  if (artiste) {
    padding = (30 - strlen(artiste));
    if (padding < 0) {
      snprintf(relativePointer, 31, "%s", artiste);
    } else {
      snprintf(relativePointer, 128 - 33, "%s", artiste);
      memset(relativePointer + (30 - padding), 0, padding);
    }
  } else {
    memset(relativePointer, 0, 30);
  }
  relativePointer = relativePointer + 30;
  if (radioName != NULL) {
    padding = (30 - strlen(radioName));
    if (padding < 0) {
      snprintf(relativePointer, 31, "%s", radioName);
    } else {
      snprintf(relativePointer, 128 - 63, "%s", radioName);
      memset(relativePointer + (30 - padding), 0, padding);
    }
  } else {
    memset(relativePointer, 0, 30);
  }
  relativePointer = relativePointer + 30;
  memset(relativePointer, 0, 4);
  relativePointer = relativePointer + 4;
  snprintf(relativePointer, 31, "by cPige http://ed.zehome.com/");
  relativePointer = relativePointer + 30;
  memset(relativePointer, 1, 1);
  return chunk;
}
```