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

```asm
<derive_first_word>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %edi,%r12d
  mov    %rsi,%rbx
  mov    %rdx,%rbp
  mov    %rcx,%r13
  test   %rsi,%rsi
  setne  %dil
  movzbl %dil,%edi
  call   <assert@plt>
  cmp    $0x1,%r12d
  jle    L5
  mov    $0x1,%edi
  call   <assert@plt>
  test   %r13,%r13
  setne  %dil
  movzbl %dil,%edi
  call   <assert@plt>
  cmpl   $0x4,0x0(%rbp)
  setg   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  movsbl (%rbx),%edi
  call   <vowel_Q@plt>
  mov    %eax,%edi
  cmp    $0x1,%eax
  jne    L37
L123:
  call   <assert@plt>
  movsbl (%rbx),%edi
  call   <vowel_Q@plt>
  movl   $0x0,0x4(%rsp)
  cmp    $0x1,%eax
  je     L124
L79:
  movslq 0x4(%rsp),%r14
  lea    (%rbx,%r14,1),%r15
  movsbl (%r15),%edi
  call   <consonant_Q@plt>
  cmp    $0x1,%eax
  je     L135
L42:
  cmp    %r12d,0x0(%rbp)
  jle    L120
  movl   $0x0,0x0(%rbp)
  jmp    L120
L5:
  movl   $0x0,0x0(%rbp)
L120:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L37:
  movsbl (%rbx),%edi
  call   <consonant_Q@plt>
  cmp    $0x1,%eax
  sete   %dil
  movzbl %dil,%edi
  jmp    L123
L124:
  movsbl 0x1(%rbx),%edi
  call   <consonant_Q@plt>
  test   %eax,%eax
  jne    L150
L35:
  movl   $0x0,0x0(%rbp)
  jmp    L120
L150:
  movsbl 0x2(%rbx),%edi
  call   <consonant_Q@plt>
  test   %eax,%eax
  je     L35
  movsbl 0x1(%rbx),%edi
  call   <consonant_Q@plt>
  cmp    $0x1,%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  movsbl 0x2(%rbx),%edi
  call   <consonant_Q@plt>
  cmp    $0x1,%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  movl   $0x2,0x4(%rsp)
  jmp    L79
L135:
  lea    0x1(%rbx,%r14,1),%rax
  mov    %rax,0x8(%rsp)
  movsbl (%rax),%edi
  call   <consonant_Q@plt>
  cmp    $0x1,%eax
  je     L15
  mov    0x8(%rsp),%rax
  movsbl (%rax),%edi
  call   <vowel_Q@plt>
  cmp    $0x1,%eax
  jne    L42
  movsbl 0x2(%rbx,%r14,1),%edi
  call   <tone_Q@plt>
  cmp    $0x1,%eax
  je     L188
  mov    0x4(%rsp),%edi
  add    $0x2,%edi
  mov    %r13,%rdx
  mov    %r15,%rsi
  call   <text_copy@plt>
  movl   $0x2,0x0(%rbp)
  jmp    L120
L15:
  lea    0x2(%rbx,%r14,1),%rax
  mov    %rax,0x8(%rsp)
  movsbl (%rax),%edi
  call   <vowel_Q@plt>
  test   %eax,%eax
  jne    L162
  movl   $0x0,0x0(%rbp)
  jmp    L120
L162:
  mov    0x8(%rsp),%rax
  movsbl (%rax),%edi
  call   <vowel_Q@plt>
  cmp    $0x1,%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  lea    0x3(%rbx,%r14,1),%rax
  mov    %rax,0x8(%rsp)
  movsbl (%rax),%edi
  call   <tone_Q@plt>
  cmp    $0x1,%eax
  je     L100
  mov    0x8(%rsp),%rax
  movsbl (%rax),%edi
  call   <consonant_Q@plt>
  test   %eax,%eax
  jne    L118
  movl   $0x0,0x0(%rbp)
  jmp    L120
L100:
  lea    0x4(%rbx,%r14,1),%rbx
  movsbl (%rbx),%edi
  call   <consonant_Q@plt>
  test   %eax,%eax
  jne    L69
  movl   $0x0,0x0(%rbp)
  jmp    L120
L69:
  movsbl (%rbx),%edi
  call   <consonant_Q@plt>
  cmp    $0x1,%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    0x4(%rsp),%edi
  add    $0x5,%edi
  mov    %r13,%rdx
  mov    %r15,%rsi
  call   <text_copy@plt>
  movl   $0x5,0x0(%rbp)
  jmp    L42
L118:
  mov    0x8(%rsp),%rax
  movsbl (%rax),%edi
  call   <consonant_Q@plt>
  cmp    $0x1,%eax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    0x4(%rsp),%edi
  add    $0x4,%edi
  mov    %r13,%rdx
  mov    %r15,%rsi
  call   <text_copy@plt>
  movl   $0x4,0x0(%rbp)
  jmp    L42
L188:
  mov    0x4(%rsp),%edi
  add    $0x3,%edi
  mov    %r13,%rdx
  mov    %r15,%rsi
  call   <text_copy@plt>
  movl   $0x3,0x0(%rbp)
  jmp    L42
```

assistant: ```c
void derive_first_word(const uint8_t ACC_GEN_size, const char *restrict ACC_independentClause, uint8_t *restrict DAT_GEN_size, char *restrict DAT_word) {
  uint8_t start = 0;
  assert(ACC_independentClause != NULL);
  if (ACC_GEN_size < 2) {
    *DAT_GEN_size = (uint8_t)0;
    return;
    ;
  }
  assert(ACC_GEN_size > 1);
  assert(DAT_word != NULL);
  assert(*DAT_GEN_size >= 0x05);
  assert(vowel_Q(ACC_independentClause[start + 0]) == 1 || consonant_Q(ACC_independentClause[start + 0]) == 1);
  if (vowel_Q(ACC_independentClause[start]) == 1) {
    if (consonant_Q(ACC_independentClause[start + 1]) == 0 || consonant_Q(ACC_independentClause[start + 2]) == 0) {
      *DAT_GEN_size = (uint8_t)0;
      return;
      ;
    }
    assert(consonant_Q(ACC_independentClause[start + 1]) == 1);
    assert(consonant_Q(ACC_independentClause[start + 2]) == 1);
    start = 2;
  }
  if (consonant_Q(ACC_independentClause[start]) == 1) {
    if (consonant_Q(ACC_independentClause[start + 1]) == 1) {
      if (vowel_Q(ACC_independentClause[start + 2]) == 0) {
        *DAT_GEN_size = (uint8_t)0;
        return;
        ;
      }
      assert(vowel_Q(ACC_independentClause[start + 2]) == 1);
      if (tone_Q(ACC_independentClause[start + 3]) == 1) {
        if (consonant_Q(ACC_independentClause[start + 4]) == 0) {
          *DAT_GEN_size = (uint8_t)0;
          return;
          ;
        }
        assert(consonant_Q(ACC_independentClause[start + 4]) == 1);
        text_copy((uint8_t)(start + 5), ACC_independentClause + start, DAT_word);
        *DAT_GEN_size = (uint8_t)5;
      } else {
        if (consonant_Q(ACC_independentClause[start + 3]) == 0) {
          *DAT_GEN_size = (uint8_t)0;
          return;
          ;
        }
        assert(consonant_Q(ACC_independentClause[start + 3]) == 1);
        text_copy((uint8_t)(start + 4), ACC_independentClause + start, DAT_word);
        *DAT_GEN_size = (uint8_t)4;
      }
    } else if (vowel_Q(ACC_independentClause[start + 1]) == 1) {
      if (tone_Q(ACC_independentClause[start + 2]) == 1) {
        text_copy((uint8_t)(start + 3), ACC_independentClause + start, DAT_word);
        *DAT_GEN_size = (uint8_t)3;
      } else {
        text_copy((uint8_t)(start + 2), ACC_independentClause + start, DAT_word);
        *DAT_GEN_size = (uint8_t)2;
      }
    }
  }
  if (ACC_GEN_size < *DAT_GEN_size) {
    *DAT_GEN_size = 0;
  }
}
```