user: 这段汇编代码用C语言表示是什么样的：

```asm
<tcbwtsortstrinsert>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %esi,-0x4c(%rbp)
  mov    %edx,-0x50(%rbp)
  mov    %ecx,-0x54(%rbp)
  cmpq   $0x0,-0x48(%rbp)
  je     L3
  cmpl   $0x0,-0x4c(%rbp)
  js     L3
  cmpl   $0x0,-0x50(%rbp)
  js     L3
  mov    $0x1,%eax
  jmp    L158
L3:
  mov    $0x0,%eax
L158:
  mov    %eax,%edi
  call   <assert@plt>
  movl   $0x1,-0x40(%rbp)
  jmp    L159
L174:
  movl   $0x0,-0x3c(%rbp)
  mov    -0x40(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x28(%rbp)
  mov    -0x40(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x20(%rbp)
  mov    -0x54(%rbp),%eax
  mov    %eax,-0x38(%rbp)
  jmp    L177
L124:
  mov    -0x38(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x38(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  cmp    %al,%dl
  je     L118
  mov    -0x38(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    -0x38(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x20(%rbp),%rdx
  add    %rcx,%rdx
  movzbl (%rdx),%edx
  movzbl %dl,%edx
  sub    %edx,%eax
  mov    %eax,-0x3c(%rbp)
  jmp    L35
L118:
  addl   $0x1,-0x38(%rbp)
L177:
  mov    -0x38(%rbp),%eax
  cmp    -0x50(%rbp),%eax
  jl     L124
L35:
  cmpl   $0x0,-0x3c(%rbp)
  jle    L73
  mov    -0x40(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x40(%rbp),%eax
  mov    %eax,-0x34(%rbp)
  jmp    L182
L163:
  movl   $0x0,-0x30(%rbp)
  mov    -0x34(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x18(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x54(%rbp),%eax
  mov    %eax,-0x2c(%rbp)
  jmp    L60
L37:
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x8(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  cmp    %al,%dl
  je     L18
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    -0x2c(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x8(%rbp),%rdx
  add    %rcx,%rdx
  movzbl (%rdx),%edx
  movzbl %dl,%edx
  sub    %edx,%eax
  mov    %eax,-0x30(%rbp)
  jmp    L53
L18:
  addl   $0x1,-0x2c(%rbp)
L60:
  mov    -0x2c(%rbp),%eax
  cmp    -0x50(%rbp),%eax
  jl     L37
L53:
  cmpl   $0x0,-0x30(%rbp)
  js     L47
  mov    -0x34(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    -0x34(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x48(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%rax
  mov    %rax,(%rdx)
  subl   $0x1,-0x34(%rbp)
L182:
  cmpl   $0x0,-0x34(%rbp)
  jg     L163
  jmp    L143
L47:
  nop
L143:
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  mov    -0x18(%rbp),%rax
  mov    %rax,(%rdx)
L73:
  addl   $0x1,-0x40(%rbp)
L159:
  mov    -0x40(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jl     L174
  nop
  nop
  leave
  ret
```

assistant: ```c
void tcbwtsortstrinsert(const char **arrays, int anum, int len, int skip) {
  assert(arrays && anum >= 0 && len >= 0);
  for (int i = 1; i < anum; i++) {
    int cmp = 0;
    const unsigned char *ap = (unsigned char *)arrays[i - 1];
    const unsigned char *bp = (unsigned char *)arrays[i];
    for (int j = skip; j < len; j++) {
      if (ap[j] != bp[j]) {
        cmp = ap[j] - bp[j];
        break;
      }
    }
    if (cmp > 0) {
      const char *swap = arrays[i];
      int j;
      for (j = i; j > 0; j--) {
        int cmp = 0;
        const unsigned char *ap = (unsigned char *)arrays[j - 1];
        const unsigned char *bp = (unsigned char *)swap;
        for (int k = skip; k < len; k++) {
          if (ap[k] != bp[k]) {
            cmp = ap[k] - bp[k];
            break;
          }
        }
        if (cmp < 0)
          break;
        arrays[j] = arrays[j - 1];
      }
      arrays[j] = swap;
    }
  }
}
```