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

```asm
<ReadSentence>:
  endbr64
  push   %r15
  mov    %rsi,%r15
  mov    %rcx,%rsi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rcx,%rbp
  push   %rbx
  sub    $0x98,%rsp
  mov    %rdi,0x8(%rsp)
  lea    0x20(%rsp),%r12
  mov    %rdx,0x10(%rsp)
  mov    %r12,%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0x88(%rsp)
  xor    %eax,%eax
  call   <ReadWord@plt>
  mov    %rbp,%rdi
  call   <feof@plt>
  test   %rax,%rax
  je     L38
L53:
  xor    %r13d,%r13d
L139:
  mov    0x88(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L29
  add    $0x98,%rsp
  mov    %r13d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L38:
  mov    %r12,%rdi
  xor    %r14d,%r14d
  xor    %r13d,%r13d
  call   <SearchCategory@plt>
  mov    0x8(%rsp),%rcx
  mov    %eax,(%rcx)
  nopl   (%rax)
L58:
  mov    %r12,%rdi
  mov    %rbp,%rsi
  call   <ReadWord@plt>
  mov    %rbp,%rdi
  mov    %eax,%ebx
  call   <feof@plt>
  test   %rax,%rax
  jne    L53
  mov    %r12,%rdi
  add    $0x1,%r13d
  call   <SearchVocab@plt>
  cmp    $0xffffffff,%eax
  je     L123
  cmp    $0x12b,%r14d
  jg     L123
  movslq %r14d,%rdx
  add    $0x1,%r14d
  mov    %eax,(%r15,%rdx,4)
L123:
  sub    $0x9,%ebx
  cmp    $0x1,%ebx
  ja     L58
  movslq %r14d,%rax
  movl   $0xffffffff,(%r15,%rax,4)
  test   %r14d,%r14d
  je     L75
L130:
  movl   $0x0,0x8(%rsp)
L51:
  movslq 0x8(%rsp),%rax
  mov    0x10(%rsp),%r15
  xor    %r14d,%r14d
  imul   $0x4b4,%rax,%rax
  mov    %rax,0x18(%rsp)
  add    %rax,%r15
  nop
L105:
  mov    %r12,%rdi
  mov    %rbp,%rsi
  call   <ReadWord@plt>
  mov    %rbp,%rdi
  mov    %eax,%ebx
  call   <feof@plt>
  test   %rax,%rax
  jne    L53
  mov    %r12,%rdi
  add    $0x1,%r13d
  call   <SearchVocab@plt>
  cmp    $0xffffffff,%eax
  je     L37
  cmp    $0x12b,%r14d
  jg     L37
  movslq %r14d,%rdx
  add    $0x1,%r14d
  mov    %eax,(%r15,%rdx,4)
L37:
  lea    -0x9(%rbx),%eax
  cmp    $0x1,%eax
  ja     L105
  movslq %r14d,%rax
  movl   $0xffffffff,(%r15,%rax,4)
  test   %r14d,%r14d
  je     L10
  mov    0x8(%rsp),%eax
  cmp    $0x13,%eax
  jg     L10
  add    $0x1,%eax
  mov    0x18(%rsp),%rcx
  mov    %eax,0x8(%rsp)
  mov    0x10(%rsp),%rax
  lea    0x4b4(%rax,%rcx,1),%r15
L10:
  cmp    $0xa,%ebx
  jne    L51
  movl   $0xffffffff,(%r15)
  jmp    L139
  nopw   0x0(%rax,%rax,1)
L75:
  mov    0x8(%rsp),%rax
  movl   $0xffffffff,(%rax)
  jmp    L130
L29:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int ReadSentence(int *category, int *que, int ans[][300 + 1], FILE *fin) {
  char word[100];
  int a = 0, b = 0, c = 0, id = -1, ch;
  ReadWord(word, fin);
  if (feof(fin))
    return 0;
  c = SearchCategory(word);
  *category = c;
  c = 0;
  while (1) {
    ch = ReadWord(word, fin);
    if (feof(fin))
      return 0;
    a++;
    id = SearchVocab(word);
    if (id != -1 && c < 300) {
      que[c] = id;
      c++;
    }
    if (ch == '\t' || ch == '\n')
      break;
  }
  que[c] = -1;
  if (c == 0)
    *category = -1;
  b = 0;
  while (1) {
    c = 0;
    while (1) {
      ch = ReadWord(word, fin);
      if (feof(fin))
        return 0;
      a++;
      id = SearchVocab(word);
      if (id != -1 && c < 300) {
        ans[b][c] = id;
        c++;
      }
      if (ch == '\t' || ch == '\n')
        break;
    }
    ans[b][c] = -1;
    if (c != 0 && b < 20)
      b++;
    if (ch == '\n')
      break;
  }
  ans[b][0] = -1;
  return a;
}
```