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

```asm
<match_types>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %esi,%r13d
  push   %r12
  mov    %rdx,%r12
  push   %rbp
  movslq %edi,%rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rcx,0x8(%rsp)
  mov    %r8,0x10(%rsp)
  test   %esi,%esi
  je     L64
  test   %ebp,%ebp
  jle    L54
  lea    -0x1(%rbp),%eax
  mov    0x8(%rsp),%r15
  mov    %rdx,%rbx
  mov    %eax,0x1c(%rsp)
  lea    (%rax,%rax,4),%rax
  lea    0x5(%rdx,%rax,1),%r14
  jmp    L10
  nop
L214:
  add    $0x5,%rbx
  add    $0x5,%r15
  cmp    %r14,%rbx
  je     L54
L10:
  mov    $0x5,%edx
  mov    %r15,%rsi
  mov    %rbx,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  je     L214
  cmpb   $0x2a,(%r15)
  je     L214
L177:
  cmp    $0x1,%ebp
  jle    L183
  mov    0x10(%rsp),%rax
  cmpl   $0xffffffff,(%rax)
  je     L183
  test   %r13d,%r13d
  je     L196
  lea    -0x5(%rbp,%rbp,4),%rax
  mov    0x8(%rsp),%rbx
  add    %rax,%r12
  mov    0x1c(%rsp),%eax
  lea    (%rax,%rax,4),%rax
  lea    0x5(%rbx,%rax,1),%rbp
  jmp    L60
L152:
  add    $0x5,%rbx
  sub    $0x5,%r12
  cmp    %rbx,%rbp
  je     L187
L60:
  mov    $0x5,%edx
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  je     L152
  cmpb   $0x2a,(%rbx)
  je     L152
L183:
  xor    %eax,%eax
L207:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L64:
  test   %ebp,%ebp
  jle    L54
  lea    -0x1(%rbp),%eax
  mov    0x8(%rsp),%rbx
  mov    %rdx,%r15
  mov    %eax,0x1c(%rsp)
  lea    (%rax,%rax,4),%rax
  lea    0x5(%rdx,%rax,1),%r14
  jmp    L75
  xchg   %ax,%ax
L53:
  add    $0x5,%r15
  add    $0x5,%rbx
  cmp    %r14,%r15
  je     L54
L75:
  mov    $0x5,%edx
  mov    %rbx,%rsi
  mov    %r15,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L177
  jmp    L53
  nopl   0x0(%rax,%rax,1)
L54:
  mov    0x10(%rsp),%rax
  movl   $0x0,(%rax)
  add    $0x28,%rsp
  mov    $0x1,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L196:
  mov    0x1c(%rsp),%eax
  mov    0x8(%rsp),%rbx
  lea    -0x5(%rbp,%rbp,4),%rbp
  add    %r12,%rbp
  lea    (%rax,%rax,4),%rax
  lea    0x5(%rbx,%rax,1),%r12
  jmp    L25
  nopl   0x0(%rax)
L109:
  add    $0x5,%rbx
  sub    $0x5,%rbp
  cmp    %rbx,%r12
  je     L187
L25:
  mov    $0x5,%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  je     L109
  xor    %eax,%eax
  jmp    L207
L187:
  mov    0x10(%rsp),%rax
  movl   $0x1,(%rax)
  add    $0x28,%rsp
  mov    $0x1,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
int match_types(int n, int wildcard, char types1[][5], char types2[][5], int *backwards_ptr) {
  int k, match;
  if (wildcard == 0) {
    k = 0;
    match = 1;
    while (match && (k < n)) {
      if (strncmp(types1[k], types2[k], 5) == 0)
        k++;
      else
        match = 0;
    }
  } else {
    k = 0;
    match = 1;
    while (match && (k < n)) {
      if ((strncmp(types1[k], types2[k], 5) == 0) || (types2[k][0] == '*'))
        k++;
      else
        match = 0;
    }
  }
  if (match) {
    *backwards_ptr = 0;
    return 1;
  }
  if ((n < 2) || (*backwards_ptr == -1))
    return 0;
  if (wildcard == 0) {
    k = 0;
    match = 1;
    while (match && (k < n)) {
      if (strncmp(types1[n - k - 1], types2[k], 5) == 0)
        k++;
      else
        match = 0;
    }
  } else {
    k = 0;
    match = 1;
    while (match && (k < n)) {
      if ((strncmp(types1[n - k - 1], types2[k], 5) == 0) || (types2[k][0] == '*'))
        k++;
      else
        match = 0;
    }
  }
  if (match) {
    *backwards_ptr = 1;
    return 1;
  } else
    return 0;
}
```