user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<backspaceCompare>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x78,%rsp
  mov    %rdi,-0x78(%rbp)
  mov    %rsi,-0x80(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%rbx
  mov    -0x78(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x60(%rbp)
  mov    -0x80(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x5c(%rbp)
  mov    -0x60(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x58(%rbp)
  movslq %eax,%rdx
  mov    %rdx,-0x90(%rbp)
  movq   $0x0,-0x88(%rbp)
  movslq %eax,%rdx
  mov    %rdx,-0xa0(%rbp)
  movq   $0x0,-0x98(%rbp)
  cltq
  mov    $0x10,%edx
  sub    $0x1,%rdx
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L212:
  cmp    %rdx,%rsp
  je     L205
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L212
L205:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L161
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L161:
  mov    %rsp,%rax
  add    $0x0,%rax
  mov    %rax,-0x50(%rbp)
  mov    -0x5c(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x48(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r14
  mov    $0x0,%r15d
  movslq %eax,%rdx
  mov    %rdx,%r12
  mov    $0x0,%r13d
  cltq
  mov    $0x10,%edx
  sub    $0x1,%rdx
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L173:
  cmp    %rdx,%rsp
  je     L82
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L173
L82:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L20
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L20:
  mov    %rsp,%rax
  add    $0x0,%rax
  mov    %rax,-0x40(%rbp)
  mov    -0x78(%rbp),%rdx
  mov    -0x50(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  mov    -0x80(%rbp),%rdx
  mov    -0x40(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  movl   $0x0,-0x70(%rbp)
  movl   $0x0,-0x68(%rbp)
  mov    -0x60(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x6c(%rbp)
  jmp    L188
L47:
  mov    -0x6c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x23,%al
  jne    L1
  addl   $0x1,-0x70(%rbp)
  jmp    L178
L1:
  cmpl   $0x0,-0x70(%rbp)
  jle    L195
  subl   $0x1,-0x70(%rbp)
  jmp    L178
L195:
  mov    -0x6c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%ecx
  mov    -0x50(%rbp),%rdx
  mov    -0x68(%rbp),%eax
  cltq
  mov    %cl,(%rdx,%rax,1)
  addl   $0x1,-0x68(%rbp)
L178:
  subl   $0x1,-0x6c(%rbp)
L188:
  cmpl   $0x0,-0x6c(%rbp)
  jns    L47
  mov    -0x50(%rbp),%rdx
  mov    -0x68(%rbp),%eax
  cltq
  movb   $0x0,(%rdx,%rax,1)
  movl   $0x0,-0x64(%rbp)
  mov    -0x5c(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x6c(%rbp)
  movl   $0x0,-0x70(%rbp)
  jmp    L216
L57:
  mov    -0x6c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x23,%al
  jne    L96
  addl   $0x1,-0x70(%rbp)
  jmp    L175
L96:
  cmpl   $0x0,-0x70(%rbp)
  jle    L31
  subl   $0x1,-0x70(%rbp)
  jmp    L175
L31:
  mov    -0x6c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%ecx
  mov    -0x40(%rbp),%rdx
  mov    -0x64(%rbp),%eax
  cltq
  mov    %cl,(%rdx,%rax,1)
  addl   $0x1,-0x64(%rbp)
L175:
  subl   $0x1,-0x6c(%rbp)
L216:
  cmpl   $0x0,-0x6c(%rbp)
  jns    L57
  mov    -0x40(%rbp),%rdx
  mov    -0x64(%rbp),%eax
  cltq
  movb   $0x0,(%rdx,%rax,1)
  mov    -0x68(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jne    L28
  mov    -0x40(%rbp),%rdx
  mov    -0x50(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L28
  mov    $0x1,%eax
  jmp    L116
L28:
  mov    $0x0,%eax
L116:
  mov    %rbx,%rsp
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L3
  call   <__stack_chk_fail@plt>
L3:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

assistant: ```c
int backspaceCompare(char *S, char *T) {
  int s_len = strlen(S);
  int t_len = strlen(T);
  char s_cache[s_len];
  char t_cache[t_len];
  strcpy(s_cache, S);
  strcpy(t_cache, T);
  int del_count = 0;
  int i;
  int s_size = 0;
  i = s_len - 1;
  for (; i >= 0; i--) {
    if ('#' == S[i]) {
      del_count++;
    } else {
      if (del_count > 0) {
        del_count--;
      } else {
        s_cache[s_size] = S[i];
        s_size++;
      }
    }
  }
  s_cache[s_size] = '\0';
  int t_size = 0;
  i = t_len - 1;
  del_count = 0;
  for (; i >= 0; i--) {
    if ('#' == T[i]) {
      del_count++;
    } else {
      if (del_count > 0) {
        del_count--;
      } else {
        t_cache[t_size] = T[i];
        t_size++;
      }
    }
  }
  t_cache[t_size] = '\0';
  return s_size == t_size && strcmp(s_cache, t_cache) == 0;
}
```