user: 这段汇编代码用C语言表示是什么样的：

```asm
<ReadTextInfoFrame>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  movl   $0x0,0xc(%rsp)
  movb   $0x0,0x10(%rsp)
  movl   $0x0,0x11(%rsp)
  movw   $0x0,0x15(%rsp)
  movb   $0x0,0x17(%rsp)
  test   %rdi,%rdi
  je     L126
  call   <ftell@plt>
  mov    %rax,%r12
  mov    $0x0,%ebp
  test   %rax,%rax
  js     L35
  lea    0xc(%rsp),%rdi
  mov    %rbx,%rcx
  mov    $0x1,%edx
  mov    $0x4,%esi
  call   <fread@plt>
  cmp    $0x1,%eax
  jne    L35
  lea    0x11(%rsp),%rdi
  mov    %rbx,%rcx
  mov    $0x1,%edx
  mov    $0x7,%esi
  call   <fread@plt>
  cmp    $0x1,%eax
  jne    L35
  lea    0xc(%rsp),%rdi
  call   <IsTextInfoID3FrameID@plt>
  test   %eax,%eax
  je     L79
  movsbl 0x16(%rsp),%eax
  test   $0xc0,%al
  jne    L79
  cmpb   $0x0,0x17(%rsp)
  jne    L79
  movsbq 0x11(%rsp),%r13
  shl    $0x18,%r13
  movsbq 0x12(%rsp),%rax
  shl    $0x10,%rax
  or     %rax,%r13
  movsbq 0x14(%rsp),%rax
  or     %rax,%r13
  movsbq 0x13(%rsp),%rax
  shl    $0x8,%rax
  or     %rax,%r13
  cmp    $0x2710,%r13
  setbe  %dil
  movzbl %dil,%edi
  call   <assert@plt>
  cmp    $0x1,%r13
  jbe    L70
  mov    %r13,%rdi
  call   <malloc@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L155
  lea    -0x1(%r13),%rsi
  mov    %rbx,%rcx
  mov    $0x1,%edx
  mov    %rax,%rdi
  call   <fread@plt>
  cmp    $0x1,%eax
  jne    L67
  movb   $0x0,-0x1(%rbp,%r13,1)
  jmp    L35
L79:
  mov    D35(%rip),%rax
  mov    (%rax),%edx
  mov    %r12,%rsi
  mov    %rbx,%rdi
  call   <fseek@plt>
  mov    $0x0,%ebp
  jmp    L35
L70:
  mov    D35(%rip),%rax
  mov    (%rax),%edx
  mov    %r12,%rsi
  mov    %rbx,%rdi
  call   <fseek@plt>
  mov    $0x0,%ebp
  jmp    L35
L155:
  mov    D35(%rip),%rax
  mov    (%rax),%edx
  mov    %r12,%rsi
  mov    %rbx,%rdi
  call   <fseek@plt>
  jmp    L35
L67:
  mov    D35(%rip),%rax
  mov    (%rax),%edx
  mov    %r12,%rsi
  mov    %rbx,%rdi
  call   <fseek@plt>
  mov    %rbp,%rdi
  call   <free@plt>
  mov    $0x0,%ebp
  jmp    L35
L126:
  mov    %rdi,%rbp
L35:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L136
  mov    %rbp,%rax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L136:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
char *ReadTextInfoFrame(FILE *inf) {
  long originalpos = 0;
  char buffer[5] = {0};
  char buffer2[7] = {0};
  char *string = NULL;
  unsigned long framesize = 0;
  if (inf == NULL)
    return NULL;
  originalpos = ftell(inf);
  if (originalpos < 0)
    return NULL;
  if (fread(buffer, 4, 1, inf) != 1)
    return NULL;
  if (fread(buffer2, 7, 1, inf) != 1)
    return NULL;
  if (!IsTextInfoID3FrameID(buffer) || ((buffer2[5] & 192) != 0) || (buffer2[6] != 0)) {
    (void)fseek(inf, originalpos, SEEK_SET);
    return NULL;
  }
  framesize = ((unsigned long)buffer2[0] << 24) | ((unsigned long)buffer2[1] << 16) | ((unsigned long)buffer2[2] << 8) | ((unsigned long)buffer2[3]);
  assert(framesize <= 10000);
  if (framesize < 2) {
    (void)fseek(inf, originalpos, SEEK_SET);
    return NULL;
  }
  string = malloc((size_t)framesize);
  if (!string) {
    (void)fseek(inf, originalpos, SEEK_SET);
    return NULL;
  }
  if (fread(string, (size_t)framesize - 1, 1, inf) != 1) {
    (void)fseek(inf, originalpos, SEEK_SET);
    free(string);
    return NULL;
  }
  string[framesize - 1] = '\0';
  return string;
}
```