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

```asm
<isScramble>:
  endbr64
  push   %r15
  mov    %rsi,%r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %rdi,0x28(%rsp)
  call   <strlen@plt>
  mov    %r15,%rdi
  mov    %rax,%r13
  mov    %eax,0x44(%rsp)
  call   <strlen@plt>
  test   %r13d,%r13d
  je     L346
  cmp    %eax,%r13d
  je     L267
L346:
  xor    %r12d,%r12d
L394:
  add    $0x58,%rsp
  mov    %r12d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L267:
  movslq %r13d,%rbx
  lea    0x0(,%rbx,8),%rax
  mov    %rax,%rdi
  mov    %rax,0x30(%rsp)
  call   <malloc@plt>
  mov    %rax,%r14
  test   %r13d,%r13d
  jle    L283
  mov    %rax,(%rsp)
  lea    -0x1(%r13),%eax
  shl    $0x2,%rbx
  mov    %eax,0x48(%rsp)
  mov    %rax,0x18(%rsp)
  lea    0x8(,%rax,8),%rax
  mov    %rax,0x8(%rsp)
  add    %r14,%rax
  mov    %r13d,0x10(%rsp)
  mov    %rax,0x20(%rsp)
L47:
  mov    0x30(%rsp),%rdi
  call   <malloc@plt>
  mov    %rax,%rdx
  mov    (%rsp),%rax
  mov    %rdx,%r12
  mov    %rdx,(%rax)
  mov    0x8(%rsp),%rax
  lea    (%rdx,%rax,1),%rbp
L25:
  mov    %rbx,%rdi
  add    $0x8,%r12
  call   <malloc@plt>
  mov    %rax,-0x8(%r12)
  cmp    %rbp,%r12
  jne    L25
  addq   $0x8,(%rsp)
  mov    (%rsp),%rax
  cmp    0x20(%rsp),%rax
  jne    L47
  mov    %r13d,%eax
  mov    %r13d,%r9d
  mov    (%r14),%r11
  mov    0x44(%rsp),%r8d
  shr    $0x4,%eax
  and    $0xfffffff0,%r9d
  pxor   %xmm4,%xmm4
  xor    %edi,%edi
  sub    $0x1,%eax
  movdqa D6(%rip),%xmm6
  pxor   %xmm2,%xmm2
  add    $0x1,%rax
  shl    $0x6,%rax
  mov    %rax,%rbx
L29:
  mov    0x28(%rsp),%rax
  cmpl   $0xe,0x48(%rsp)
  mov    (%r11,%rdi,8),%rdx
  movzbl (%rax,%rdi,1),%ecx
  jbe    L216
  movd   %ecx,%xmm0
  mov    %rdx,%rax
  lea    (%rbx,%rdx,1),%r10
  mov    %r15,%rsi
  punpcklbw %xmm0,%xmm0
  punpcklwd %xmm0,%xmm0
  pshufd $0x0,%xmm0,%xmm3
L310:
  movdqu (%rsi),%xmm0
  add    $0x40,%rax
  add    $0x10,%rsi
  pcmpeqb %xmm3,%xmm0
  pand   %xmm6,%xmm0
  movdqa %xmm0,%xmm1
  punpckhbw %xmm4,%xmm0
  punpcklbw %xmm4,%xmm1
  movdqa %xmm1,%xmm5
  punpckhwd %xmm2,%xmm1
  movups %xmm1,-0x30(%rax)
  movdqa %xmm0,%xmm1
  punpcklwd %xmm2,%xmm5
  punpckhwd %xmm2,%xmm0
  punpcklwd %xmm2,%xmm1
  movups %xmm5,-0x40(%rax)
  movups %xmm1,-0x20(%rax)
  movups %xmm0,-0x10(%rax)
  cmp    %r10,%rax
  jne    L310
  cmp    0x10(%rsp),%r9d
  je     L260
  mov    %r9d,%eax
L191:
  movslq %eax,%r10
  xor    %ebp,%ebp
  cmp    %cl,(%r15,%r10,1)
  lea    0x0(,%r10,4),%rsi
  sete   %bpl
  mov    %ebp,(%rdx,%r10,4)
  lea    0x1(%rax),%r10d
  cmp    %r10d,%r8d
  jle    L260
  movslq %r10d,%r10
  cmp    %cl,(%r15,%r10,1)
  sete   %r10b
  movzbl %r10b,%r10d
  mov    %r10d,0x4(%rdx,%rsi,1)
  lea    0x2(%rax),%r10d
  cmp    %r10d,%r8d
  jle    L260
  movslq %r10d,%r10
  cmp    %cl,(%r15,%r10,1)
  sete   %r10b
  movzbl %r10b,%r10d
  mov    %r10d,0x8(%rdx,%rsi,1)
  lea    0x3(%rax),%r10d
  cmp    %r10d,%r8d
  jle    L260
  movslq %r10d,%r10
  cmp    %cl,(%r15,%r10,1)
  sete   %r10b
  movzbl %r10b,%r10d
  mov    %r10d,0xc(%rdx,%rsi,1)
  lea    0x4(%rax),%r10d
  cmp    %r10d,%r8d
  jle    L260
  movslq %r10d,%r10
  cmp    %cl,(%r15,%r10,1)
  sete   %r10b
  movzbl %r10b,%r10d
  mov    %r10d,0x10(%rdx,%rsi,1)
  lea    0x5(%rax),%r10d
  cmp    %r10d,%r8d
  jle    L260
  movslq %r10d,%r10
  cmp    %cl,(%r15,%r10,1)
  sete   %r10b
  movzbl %r10b,%r10d
  mov    %r10d,0x14(%rdx,%rsi,1)
  lea    0x6(%rax),%r10d
  cmp    %r10d,%r8d
  jle    L260
  movslq %r10d,%r10
  cmp    %cl,(%r15,%r10,1)
  sete   %r10b
  movzbl %r10b,%r10d
  mov    %r10d,0x18(%rdx,%rsi,1)
  lea    0x7(%rax),%r10d
  cmp    %r8d,%r10d
  jge    L260
  movslq %r10d,%r10
  cmp    %cl,(%r15,%r10,1)
  sete   %r10b
  movzbl %r10b,%r10d
  mov    %r10d,0x1c(%rdx,%rsi,1)
  lea    0x8(%rax),%r10d
  cmp    %r10d,%r8d
  jle    L260
  movslq %r10d,%r10
  cmp    %cl,(%r15,%r10,1)
  sete   %r10b
  movzbl %r10b,%r10d
  mov    %r10d,0x20(%rdx,%rsi,1)
  lea    0x9(%rax),%r10d
  cmp    %r8d,%r10d
  jge    L260
  movslq %r10d,%r10
  cmp    %cl,(%r15,%r10,1)
  sete   %r10b
  movzbl %r10b,%r10d
  mov    %r10d,0x24(%rdx,%rsi,1)
  lea    0xa(%rax),%r10d
  cmp    %r8d,%r10d
  jge    L260
  movslq %r10d,%r10
  cmp    %cl,(%r15,%r10,1)
  sete   %r10b
  movzbl %r10b,%r10d
  mov    %r10d,0x28(%rdx,%rsi,1)
  lea    0xb(%rax),%r10d
  cmp    %r10d,%r8d
  jle    L260
  movslq %r10d,%r10
  cmp    %cl,(%r15,%r10,1)
  sete   %r10b
  movzbl %r10b,%r10d
  mov    %r10d,0x2c(%rdx,%rsi,1)
  lea    0xc(%rax),%r10d
  cmp    %r10d,%r8d
  jle    L260
  movslq %r10d,%r10
  cmp    %cl,(%r15,%r10,1)
  sete   %r10b
  movzbl %r10b,%r10d
  mov    %r10d,0x30(%rdx,%rsi,1)
  lea    0xd(%rax),%r10d
  cmp    %r10d,%r8d
  jle    L260
  movslq %r10d,%r10
  cmp    %cl,(%r15,%r10,1)
  sete   %r10b
  add    $0xe,%eax
  movzbl %r10b,%r10d
  mov    %r10d,0x34(%rdx,%rsi,1)
  cmp    %eax,%r8d
  jle    L260
  cltq
  cmp    %cl,(%r15,%rax,1)
  sete   %al
  movzbl %al,%eax
  mov    %eax,0x38(%rdx,%rsi,1)
L260:
  lea    0x1(%rdi),%rax
  cmp    0x18(%rsp),%rdi
  je     L219
  mov    %rax,%rdi
  jmp    L29
L219:
  mov    0x30(%rsp),%rax
  mov    -0x8(%r14,%rax,1),%rax
  mov    (%rax),%rax
  cmp    $0x1,%r13d
  je     L146
  movq   $0x1,0x38(%rsp)
  mov    %r13d,0x4c(%rsp)
L235:
  movq   $0x0,0x10(%rsp)
  mov    0x38(%rsp),%rax
  mov    (%r14,%rax,8),%rbx
  lea    0x0(,%rax,4),%r15
  mov    %rbx,0x18(%rsp)
  mov    0x48(%rsp),%ebx
  sub    %eax,%ebx
  mov    %rbx,0x20(%rsp)
  mov    %eax,%ebx
  mov    0x4c(%rsp),%eax
  sub    %ebx,%eax
  mov    %eax,0x28(%rsp)
  mov    0x10(%rsp),%rax
L74:
  mov    0x18(%rsp),%rcx
  mov    %eax,%r13d
  mov    %eax,%ebp
  mov    %r14,%r10
  lea    0x0(,%rax,8),%r11
  neg    %ebp
  xor    %r9d,%r9d
  mov    (%rcx,%rax,8),%r12
  mov    0x28(%rsp),%eax
  sub    %r13d,%eax
  mov    %eax,0x8(%rsp)
  nopw   0x0(%rax,%rax,1)
L313:
  mov    %r12,(%rsp)
  lea    (%r9,%r15,1),%rdx
  mov    %r13d,%eax
  mov    %r14,%rcx
  movl   $0x0,(%r12,%r9,1)
  cs nopw 0x0(%rax,%rax,1)
L224:
  mov    (%rcx),%rsi
  mov    (%rsi,%r11,1),%rsi
  mov    (%rsi,%r9,1),%r12d
  test   %r12d,%r12d
  je     L408
  mov    -0x8(%r10,%rdx,2),%r12
  movslq %eax,%r8
  lea    (%rax,%rbp,1),%edi
  movslq %edi,%rdi
  mov    0x8(%r12,%r8,8),%r8
  mov    0x4(%r8,%rdi,4),%r8d
  test   %r8d,%r8d
  jne    L222
L408:
  mov    (%rsi,%rdx,1),%edi
  test   %edi,%edi
  je     L385
  mov    -0x8(%r10,%rdx,2),%rdi
  movslq %eax,%rsi
  mov    0x8(%rdi,%rsi,8),%rsi
  mov    (%rsi,%r9,1),%esi
  test   %esi,%esi
  jne    L222
L385:
  add    $0x1,%eax
  add    $0x8,%rcx
  sub    $0x4,%rdx
  cmp    %ebx,%eax
  jne    L224
  mov    (%rsp),%r12
L396:
  sub    $0x8,%r10
  add    $0x4,%r9
  add    $0x1,%ebp
  cmp    0x8(%rsp),%ebp
  jne    L313
  mov    0x10(%rsp),%rcx
  add    $0x1,%ebx
  lea    0x1(%rcx),%rax
  cmp    0x20(%rsp),%rcx
  je     L84
  mov    %rax,0x10(%rsp)
  jmp    L74
  xchg   %ax,%ax
L222:
  mov    (%rsp),%r12
  movl   $0x1,(%r12,%r9,1)
  jmp    L396
L84:
  addq   $0x1,0x38(%rsp)
  mov    0x38(%rsp),%rax
  cmp    %eax,0x44(%rsp)
  jg     L235
  mov    0x30(%rsp),%rax
  mov    -0x8(%r14,%rax,1),%rax
  mov    (%rax),%rax
  mov    (%rax),%r12d
L24:
  mov    0x44(%rsp),%r13d
  xor    %ebp,%ebp
L312:
  mov    (%r14,%rbp,8),%r15
  xor    %ebx,%ebx
L244:
  mov    (%r15,%rbx,8),%rdi
  add    $0x1,%rbx
  call   <free@plt>
  cmp    %ebx,%r13d
  jg     L244
  mov    %r15,%rdi
  add    $0x1,%rbp
  call   <free@plt>
  cmp    %ebp,%r13d
  jg     L312
L279:
  mov    %r14,%rdi
  call   <free@plt>
  jmp    L394
L216:
  xor    %eax,%eax
  jmp    L191
L283:
  mov    0x30(%rsp),%rax
  mov    -0x8(%r14,%rax,1),%rax
  mov    (%rax),%rax
  mov    (%rax),%r12d
  jmp    L279
L146:
  mov    (%rax),%r12d
  jmp    L24
```

tool_calls: name: disassemble_data
arguments: tag: D6
type_infered: byte[16]

tool: {"D6": [0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01]}

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;
}
```