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

```asm
<blReadSimplePIR>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %rdi,%r13
  mov    %esi,%r15d
  mov    %rdx,0x8(%rsp)
  lea    0x1(%rsi),%edi
  call   <malloc@plt>
  movl   $0x0,0x4(%rsp)
  test   %rax,%rax
  jne    L15
L223:
  mov    0x4(%rsp),%eax
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L15:
  mov    %rax,%r14
  lea    -0x1(%r15),%ebx
  mov    %r13,%rdx
  mov    %ebx,%esi
  mov    %rax,%rdi
  call   <fgets@plt>
  mov    %r13,%rdx
  mov    %ebx,%esi
  mov    %r14,%rdi
  call   <fgets@plt>
  movl   $0x0,0x4(%rsp)
  mov    $0x0,%r12d
  test   %r15d,%r15d
  jg     L119
  jmp    L174
L160:
  movsbl (%rbx),%edi
  call   <isupper@plt>
  test   %rax,%rax
  je     L178
  movzbl (%rbx),%eax
L72:
  mov    %al,(%rbx)
  add    $0x1,%r12d
L58:
  cmp    %r15d,%r12d
  jge    L220
L119:
  mov    %r13,%rdi
  call   <feof@plt>
  mov    %eax,%ebp
  test   %eax,%eax
  jne    L220
  mov    %r13,%rdi
  call   <fgetc@plt>
  mov    D9(%rip),%rdx
  cmp    %eax,(%rdx)
  je     L220
  movslq %r12d,%rbx
  add    %r14,%rbx
  mov    %al,(%rbx)
  movsbl %al,%edi
  call   <isalpha@plt>
  test   %rax,%rax
  jne    L160
  cmpb   $0x2a,(%rbx)
  jne    L58
  movb   $0x0,(%rbx)
  lea    0x2(%r12),%edi
  call   <malloc@plt>
  mov    %rax,%rdi
  mov    0x4(%rsp),%ebx
  movslq %ebx,%rax
  mov    0x8(%rsp),%rcx
  mov    %rdi,(%rcx,%rax,8)
  test   %rdi,%rdi
  je     L212
  mov    %r14,%rsi
  call   <strcpy@plt>
  add    $0x1,%ebx
  mov    %ebx,0x4(%rsp)
  mov    %ebp,%r12d
  jmp    L119
L178:
  movsbl (%rbx),%edi
  call   <toupper@plt>
  jmp    L72
L220:
  test   %r12d,%r12d
  je     L174
  movslq %r12d,%rax
  movb   $0x0,(%r14,%rax,1)
  lea    0x2(%r12),%edi
  call   <malloc@plt>
  mov    %rax,%rdi
  movslq 0x4(%rsp),%rax
  mov    0x8(%rsp),%rcx
  mov    %rdi,(%rcx,%rax,8)
  test   %rdi,%rdi
  je     L95
  mov    %r14,%rsi
  call   <strcpy@plt>
  addl   $0x1,0x4(%rsp)
L174:
  mov    %r14,%rdi
  call   <free@plt>
  jmp    L223
L95:
  cmpl   $0x0,0x4(%rsp)
  js     L228
  mov    $0x0,%ebx
  jmp    L159
L155:
  add    $0x1,%rbx
  cmp    %ebx,0x4(%rsp)
  jl     L167
L159:
  mov    0x8(%rsp),%rax
  mov    (%rax,%rbx,8),%rdi
  test   %rdi,%rdi
  je     L155
  call   <free@plt>
  jmp    L155
L167:
  movl   $0x0,0x4(%rsp)
  jmp    L223
L212:
  movl   $0xffffffff,0x4(%rsp)
  jmp    L223
L228:
  movl   $0x0,0x4(%rsp)
  jmp    L223
```

assistant: ```c
int blReadSimplePIR(FILE *fp, int maxres, char **seqs) {
  char *buffer;
  int rescount = 0, chain = 0;
  buffer = (char *)malloc((maxres + 1) * sizeof(char));
  if (!buffer)
    return (0);
  fgets(buffer, maxres - 1, fp);
  fgets(buffer, maxres - 1, fp);
  while (rescount < maxres && !feof(fp)) {
    int ch;
    ch = fgetc(fp);
    if (ch == EOF)
      break;
    buffer[rescount] = ch;
    if (isalpha(buffer[rescount])) {
      buffer[rescount] = (isupper(buffer[rescount]) ? buffer[rescount] : toupper(buffer[rescount]));
      rescount++;
    } else if (buffer[rescount] == '*') {
      buffer[rescount] = '\0';
      seqs[chain] = (char *)malloc((rescount + 2) * sizeof(char));
      if (!seqs[chain])
        return (-1);
      strcpy(seqs[chain], buffer);
      chain++;
      rescount = 0;
    }
  }
  if (rescount) {
    buffer[rescount] = '\0';
    seqs[chain] = (char *)malloc((rescount + 2) * sizeof(char));
    if (!seqs[chain]) {
      int i;
      for (i = 0; i <= chain; i++) {
        if (seqs[i])
          free(seqs[i]);
      }
      return (0);
    }
    strcpy(seqs[chain], buffer);
    chain++;
  }
  free(buffer);
  return (chain);
}
```