user: 请将以下的汇编代码转换成C语言代码:

```asm
<isMatchDP>:
  endbr64
  push   %r15
  mov    %edx,%eax
  push   %r14
  imul   %r8d,%eax
  push   %r13
  push   %r12
  push   %rbp
  add    %r9d,%eax
  push   %rbx
  cltq
  sub    $0x18,%rsp
  mov    0x50(%rsp),%r15
  lea    (%r15,%rax,4),%r14
  mov    (%r14),%eax
  cmp    $0xffffffff,%eax
  jne    L159
  movslq %edx,%rax
  mov    %rcx,%r13
  mov    %edx,%r12d
  mov    %r9d,%ebx
  movzbl (%rdi,%rax,1),%ecx
  movslq %r9d,%rax
  movzbl 0x0(%r13,%rax,1),%edx
  test   %cl,%cl
  jne    L63
  test   %dl,%dl
  je     L138
  cmpb   $0x2a,0x1(%r13,%rax,1)
  je     L67
L140:
  movl   $0x0,(%r14)
  xor    %eax,%eax
L159:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L63:
  test   %dl,%dl
  je     L140
  movzbl 0x1(%r13,%rax,1),%eax
  cmp    %dl,%cl
  je     L45
  cmp    $0x2e,%dl
  je     L45
  cmp    $0x2a,%al
  jne    L140
L67:
  sub    $0x8,%rsp
  mov    %r13,%rcx
  lea    0x2(%rbx),%r9d
  mov    %r12d,%edx
  push   %r15
  call   <isMatchDP>
  mov    %eax,(%r14)
  pop    %rdx
  pop    %rcx
  jmp    L159
  nopl   0x0(%rax,%rax,1)
L138:
  movl   $0x1,(%r14)
  mov    $0x1,%eax
  jmp    L159
  cs nopw 0x0(%rax,%rax,1)
L45:
  cmp    $0x2a,%al
  je     L96
  sub    $0x8,%rsp
  lea    0x1(%r12),%edx
  lea    0x1(%rbx),%r9d
  mov    %r13,%rcx
  push   %r15
  call   <isMatchDP>
  mov    %eax,(%r14)
  pop    %rsi
  pop    %rdi
  jmp    L159
  nopl   (%rax)
L96:
  sub    $0x8,%rsp
  lea    0x2(%rbx),%ebp
  mov    %r13,%rcx
  mov    %r12d,%edx
  push   %r15
  mov    %ebp,%r9d
  mov    %r8d,0x1c(%rsp)
  mov    %esi,0x18(%rsp)
  mov    %rdi,0x10(%rsp)
  call   <isMatchDP>
  pop    %rdx
  pop    %rcx
  test   %eax,%eax
  mov    (%rsp),%rdi
  mov    0x8(%rsp),%esi
  mov    0xc(%rsp),%r8d
  je     L40
L60:
  mov    $0x1,%eax
L158:
  mov    %eax,(%r14)
  jmp    L159
  nopl   (%rax)
L40:
  sub    $0x8,%rsp
  add    $0x1,%r12d
  mov    %ebx,%r9d
  mov    %r13,%rcx
  push   %r15
  mov    %r12d,%edx
  mov    %r8d,0x1c(%rsp)
  mov    %esi,0x18(%rsp)
  mov    %rdi,0x10(%rsp)
  call   <isMatchDP>
  pop    %r10
  pop    %r11
  test   %eax,%eax
  mov    (%rsp),%rdi
  mov    0x8(%rsp),%esi
  mov    0xc(%rsp),%r8d
  jne    L60
  sub    $0x8,%rsp
  mov    %ebp,%r9d
  mov    %r13,%rcx
  mov    %r12d,%edx
  push   %r15
  call   <isMatchDP>
  pop    %r8
  pop    %r9
  test   %eax,%eax
  setne  %al
  movzbl %al,%eax
  jmp    L158
```

assistant: ```c
bool isMatchDP(char *s, int sLen, int sIndex, char *p, int pLen, int pIndex, int *isMatchTable) {
  if (isMatchTable[sIndex * pLen + pIndex] != -1)
    return isMatchTable[sIndex * pLen + pIndex];
  if (*(s + sIndex) == '\0') {
    if (*(p + pIndex) == '\0') {
      isMatchTable[sIndex * pLen + pIndex] = 1;
      return 1;
    } else if (*(p + pIndex + 1) == '*') {
      isMatchTable[sIndex * pLen + pIndex] = isMatchDP(s, sLen, sIndex, p, pLen, pIndex + 2, isMatchTable);
      return isMatchTable[sIndex * pLen + pIndex];
    } else {
      isMatchTable[sIndex * pLen + pIndex] = 0;
      return 0;
    }
  } else if (*(p + pIndex) == '\0') {
    isMatchTable[sIndex * pLen + pIndex] = 0;
    return 0;
  } else {
    if (*(s + sIndex) == *(p + pIndex) || *(p + pIndex) == '.') {
      if (*(p + pIndex + 1) == '*') {
        isMatchTable[sIndex * pLen + pIndex] = isMatchDP(s, sLen, sIndex, p, pLen, pIndex + 2, isMatchTable) || isMatchDP(s, sLen, sIndex + 1, p, pLen, pIndex, isMatchTable) || isMatchDP(s, sLen, sIndex + 1, p, pLen, pIndex + 2, isMatchTable);
        return isMatchTable[sIndex * pLen + pIndex];
      } else {
        isMatchTable[sIndex * pLen + pIndex] = isMatchDP(s, sLen, sIndex + 1, p, pLen, pIndex + 1, isMatchTable);
        return isMatchTable[sIndex * pLen + pIndex];
      }
    } else if (*(p + pIndex + 1) == '*') {
      isMatchTable[sIndex * pLen + pIndex] = isMatchDP(s, sLen, sIndex, p, pLen, pIndex + 2, isMatchTable);
      return isMatchTable[sIndex * pLen + pIndex];
    } else {
      isMatchTable[sIndex * pLen + pIndex] = 0;
      return 0;
    }
  }
}
```