user: Translate the below assembly code into C programming language:

```asm
<isScramble>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdi,0x18(%rsp)
  mov    %rsi,%r12
  call   <strlen@plt>
  mov    %rax,%rbx
  mov    %rax,0x28(%rsp)
  mov    %eax,0x3c(%rsp)
  mov    %r12,%rdi
  call   <strlen@plt>
  test   %ebx,%ebx
  je     L114
  cmp    %eax,%ebx
  je     L76
L114:
  mov    $0x0,%r13d
L223:
  mov    %r13d,%eax
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L76:
  movslq %ebx,%r13
  lea    0x0(,%r13,8),%rax
  mov    %rax,0x30(%rsp)
  mov    %rax,%rdi
  call   <malloc@plt>
  mov    %rax,%r15
  test   %ebx,%ebx
  jle    L65
  shl    $0x2,%r13
  mov    %rax,(%rsp)
  lea    -0x1(%rbx),%r14d
  lea    0x8(,%r14,8),%rax
  mov    %rax,0x8(%rsp)
  add    %r15,%rax
  mov    %rax,0x10(%rsp)
L92:
  mov    0x30(%rsp),%rdi
  call   <malloc@plt>
  mov    %rax,%rbp
  mov    (%rsp),%rax
  mov    %rbp,(%rax)
  mov    %rbp,%rbx
  add    0x8(%rsp),%rbp
L207:
  mov    %r13,%rdi
  call   <malloc@plt>
  mov    %rax,(%rbx)
  add    $0x8,%rbx
  cmp    %rbp,%rbx
  jne    L207
  addq   $0x8,(%rsp)
  mov    (%rsp),%rax
  cmp    0x10(%rsp),%rax
  jne    L92
  mov    (%r15),%r8
  mov    $0x0,%edi
L205:
  mov    0x18(%rsp),%rax
  movzbl (%rax,%rdi,1),%esi
  mov    (%r8,%rdi,8),%rcx
  mov    $0x0,%eax
L198:
  cmp    %sil,(%r12,%rax,1)
  sete   %dl
  movzbl %dl,%edx
  mov    %edx,(%rcx,%rax,4)
  mov    %rax,%rdx
  add    $0x1,%rax
  cmp    %r14,%rdx
  jne    L198
  lea    0x1(%rdi),%rax
  cmp    %r14,%rdi
  je     L79
  mov    %rax,%rdi
  jmp    L205
L56:
  add    $0x8,%rcx
  add    $0x1,%eax
  sub    $0x4,%rdx
  cmp    %ebx,%eax
  je     L87
L148:
  mov    (%rcx),%rsi
  mov    (%rsi,%r11,1),%rsi
  cmpl   $0x0,(%rsi,%r9,1)
  je     L25
  movslq %eax,%r8
  lea    (%rax,%rbp,1),%edi
  movslq %edi,%rdi
  mov    -0x8(%r10,%rdx,2),%r12
  mov    0x8(%r12,%r8,8),%r8
  cmpl   $0x0,0x4(%r8,%rdi,4)
  jne    L181
L25:
  cmpl   $0x0,(%rsi,%rdx,1)
  je     L56
  movslq %eax,%rsi
  mov    -0x8(%r10,%rdx,2),%rdi
  mov    0x8(%rdi,%rsi,8),%rsi
  cmpl   $0x0,(%rsi,%r9,1)
  je     L56
L181:
  mov    (%rsp),%r12
  movl   $0x1,(%r12,%r9,1)
L149:
  sub    $0x8,%r10
  add    $0x4,%r9
  add    $0x1,%ebp
  cmp    %r15d,%ebp
  je     L170
L113:
  movl   $0x0,(%r12,%r9,1)
  test   %r13d,%r13d
  jle    L149
  mov    0x10(%rsp),%rax
  lea    (%r9,%rax,1),%rdx
  mov    0x8(%rsp),%eax
  mov    %r14,%rcx
  mov    %r12,(%rsp)
  jmp    L148
L87:
  mov    (%rsp),%r12
  jmp    L149
L170:
  addl   $0x1,0x18(%rsp)
  mov    0x18(%rsp),%eax
  add    $0x8,%r11
  add    $0x1,%ebx
  cmp    0x24(%rsp),%eax
  je     L184
L228:
  cmpl   $0x0,0x24(%rsp)
  jle    L170
  mov    (%r14,%r13,8),%rax
  mov    (%rax,%r11,1),%r12
  mov    0x18(%rsp),%ecx
  mov    %ecx,%eax
  mov    %ecx,0x8(%rsp)
  neg    %ecx
  mov    %ecx,%ebp
  mov    %r14,%r10
  mov    $0x0,%r9d
  mov    0x38(%rsp),%r15d
  sub    %eax,%r15d
  jmp    L113
L184:
  add    $0x1,%r13
  subl   $0x1,0x38(%rsp)
  cmp    %r13d,0x3c(%rsp)
  jle    L95
L282:
  cmpl   $0x0,0x38(%rsp)
  jle    L184
  lea    0x0(,%r13,4),%rbx
  mov    %rbx,0x10(%rsp)
  mov    %r13d,%ebx
  mov    $0x0,%r11d
  movl   $0x0,0x18(%rsp)
  mov    0x28(%rsp),%ecx
  sub    %r13d,%ecx
  mov    %ecx,0x24(%rsp)
  jmp    L228
L95:
  mov    %r14,%r15
  mov    0x30(%rsp),%rax
  mov    -0x8(%r14,%rax,1),%rax
  mov    (%rax),%rax
  mov    (%rax),%r13d
L237:
  mov    %r15,%r12
  mov    $0x0,%r14d
  mov    %r13d,(%rsp)
  mov    0x3c(%rsp),%r13d
L254:
  mov    $0x0,%ebx
L152:
  mov    (%r12),%rbp
  mov    0x0(%rbp,%rbx,8),%rdi
  call   <free@plt>
  add    $0x1,%rbx
  cmp    %ebx,%r13d
  jg     L152
  mov    %rbp,%rdi
  call   <free@plt>
  add    $0x1,%r14d
  add    $0x8,%r12
  cmp    %r14d,%r13d
  jg     L254
  mov    (%rsp),%r13d
L288:
  mov    %r15,%rdi
  call   <free@plt>
  jmp    L223
L263:
  mov    0x30(%rsp),%rax
  mov    -0x8(%r15,%rax,1),%rax
  mov    (%rax),%rax
  mov    (%rax),%r13d
  jmp    L237
L79:
  cmpl   $0x1,0x28(%rsp)
  jle    L263
L187:
  mov    0x28(%rsp),%eax
  sub    $0x1,%eax
  mov    %eax,0x38(%rsp)
  mov    $0x1,%r13d
  mov    %r15,%r14
  jmp    L282
L65:
  cmpl   $0x1,0x28(%rsp)
  jg     L187
  mov    0x30(%rsp),%rax
  mov    -0x8(%r15,%rax,1),%rax
  mov    (%rax),%rax
  mov    (%rax),%r13d
  jmp    L288
```

assistant: ```c
int isScramble(char *s1, char *s2) {
  int l1 = strlen(s1);
  int l2 = strlen(s2);
  if (l1 != l2)
    return 0;
  if (l1 == 0)
    return 0;
  int ***mem = malloc(sizeof(int **) * l1);
  for (int i = 0; i < l1; ++i) {
    mem[i] = malloc(sizeof(int *) * l1);
    for (int j = 0; j < l1; ++j) {
      mem[i][j] = malloc(sizeof(int) * l1);
    }
  }
  for (int i = 0; i < l1; ++i) {
    for (int j = 0; j < l1; ++j) {
      mem[0][i][j] = s1[i] == s2[j];
    }
  }
  for (int n = 1; n < l1; ++n) {
    for (int i = 0; i < l1 - n; ++i) {
      for (int j = 0; j < l1 - n; ++j) {
        mem[n][i][j] = 0;
        for (int k = 0; k < n; ++k) {
          int m = n - k - 1;
          if ((mem[k][i][j] && mem[m][i + k + 1][j + k + 1]) || (mem[k][i][j + m + 1] && mem[m][i + k + 1][j])) {
            mem[n][i][j] = 1;
            break;
          }
        }
      }
    }
  }
  int ret = mem[l1 - 1][0][0];
  for (int i = 0; i < l1; ++i) {
    for (int j = 0; j < l1; ++j) {
      free(mem[i][j]);
    }
    free(mem[i]);
  }
  free(mem);
  return ret;
}
```