user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<tmpmysortstringint>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %edi,-0x24(%rbp)
  mov    %esi,-0x28(%rbp)
  mov    %rdx,-0x30(%rbp)
  mov    %rcx,-0x38(%rbp)
  cmpl   $0x1,-0x24(%rbp)
  jle    L19
  mov    $0x0,%eax
  call   <rand@plt>
  cltd
  idivl  -0x24(%rbp)
  mov    %edx,-0x1c(%rbp)
  mov    -0x38(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0xc(%rbp)
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x38(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rax,%rdx
  mov    -0xc(%rbp),%eax
  mov    %eax,(%rdx)
  mov    -0x38(%rbp),%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x8(%rbp)
  movl   $0x1,-0x18(%rbp)
  mov    -0x18(%rbp),%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x24(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x10(%rbp)
  mov    -0x10(%rbp),%eax
  mov    %eax,-0x14(%rbp)
  jmp    L18
L3:
  cmpl   $0x0,-0x4(%rbp)
  jne    L120
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0xc(%rbp)
  mov    -0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    -0x1c(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x38(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    -0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rax,%rdx
  mov    -0xc(%rbp),%eax
  mov    %eax,(%rdx)
  addl   $0x1,-0x1c(%rbp)
L120:
  addl   $0x1,-0x18(%rbp)
L18:
  mov    -0x18(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jg     L75
  mov    -0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    -0x8(%rbp),%eax
  mov    %eax,-0x4(%rbp)
  cmpl   $0x0,-0x4(%rbp)
  jle    L3
  jmp    L75
L98:
  cmpl   $0x0,-0x4(%rbp)
  jne    L61
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0xc(%rbp)
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    -0x14(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x38(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rax,%rdx
  mov    -0xc(%rbp),%eax
  mov    %eax,(%rdx)
  subl   $0x1,-0x10(%rbp)
L61:
  subl   $0x1,-0x14(%rbp)
L75:
  mov    -0x18(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jg     L27
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    -0x8(%rbp),%eax
  mov    %eax,-0x4(%rbp)
  cmpl   $0x0,-0x4(%rbp)
  jns    L98
L27:
  mov    -0x18(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jg     L72
  mov    -0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0xc(%rbp)
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    -0x18(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x38(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rax,%rdx
  mov    -0xc(%rbp),%eax
  mov    %eax,(%rdx)
  addl   $0x1,-0x18(%rbp)
  subl   $0x1,-0x14(%rbp)
  jmp    L18
L72:
  nop
  mov    -0x18(%rbp),%eax
  sub    -0x1c(%rbp),%eax
  mov    -0x1c(%rbp),%edx
  cmp    %eax,%edx
  cmovle %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x18(%rbp),%eax
  sub    -0x4(%rbp),%eax
  mov    -0x38(%rbp),%rcx
  mov    -0x4(%rbp),%edx
  mov    %eax,%esi
  mov    $0x0,%edi
  call   <tmpvecswap@plt>
  mov    -0x24(%rbp),%eax
  sub    -0x10(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x10(%rbp),%eax
  sub    -0x14(%rbp),%eax
  cmp    %eax,%edx
  cmovle %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x24(%rbp),%eax
  sub    -0x4(%rbp),%eax
  mov    %eax,%esi
  mov    -0x38(%rbp),%rcx
  mov    -0x4(%rbp),%edx
  mov    -0x18(%rbp),%eax
  mov    %eax,%edi
  call   <tmpvecswap@plt>
  mov    -0x18(%rbp),%eax
  sub    -0x1c(%rbp),%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x38(%rbp),%rcx
  mov    -0x30(%rbp),%rdx
  mov    -0x28(%rbp),%esi
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <tmpmysortstringint>
  mov    -0x4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L43
  mov    -0x4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rax,%rdx
  mov    -0x28(%rbp),%eax
  lea    0x1(%rax),%esi
  mov    -0x1c(%rbp),%ecx
  mov    -0x24(%rbp),%eax
  add    %ecx,%eax
  sub    -0x10(%rbp),%eax
  lea    -0x1(%rax),%edi
  mov    -0x30(%rbp),%rax
  mov    %rdx,%rcx
  mov    %rax,%rdx
  call   <tmpmysortstringint>
L43:
  mov    -0x10(%rbp),%eax
  sub    -0x14(%rbp),%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x24(%rbp),%eax
  cltq
  mov    -0x4(%rbp),%edx
  movslq %edx,%rdx
  sub    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x30(%rbp),%rdx
  mov    -0x28(%rbp),%esi
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <tmpmysortstringint>
  jmp    L54
L19:
  nop
L54:
  leave
  ret
```

assistant: ```c
void tmpmysortstringint(int N, int depth, char **data1, int *data2) {
  int a, b, c, d, r, v, t;
  if (N <= 1)
    return;
  a = rand() % N;
  t = data2[0];
  data2[0] = data2[a];
  data2[a] = t;
  v = data1[data2[0]][depth];
  a = b = 1;
  c = d = N - 1;
  for (;;) {
    while (b <= c && (r = data1[data2[b]][depth] - v) <= 0) {
      if (r == 0) {
        t = data2[a];
        data2[a] = data2[b];
        data2[b] = t;
        a++;
      }
      b++;
    }
    while (b <= c && (r = data1[data2[c]][depth] - v) >= 0) {
      if (r == 0) {
        t = data2[c];
        data2[c] = data2[d];
        data2[d] = t;
        d--;
      }
      c--;
    }
    if (b > c)
      break;
    t = data2[b];
    data2[b] = data2[c];
    data2[c] = t;
    b++;
    c--;
  }
  r = (a < (b - a) ? a : (b - a));
  tmpvecswap(0, b - r, r, data2);
  r = ((d - c) < (N - d - 1) ? (d - c) : (N - d - 1));
  tmpvecswap(b, N - r, r, data2);
  r = b - a;
  tmpmysortstringint(r, depth, data1, data2);
  if (data1[data2[r]][depth] != 0)
    tmpmysortstringint(a + N - d - 1, depth + 1, data1, data2 + r);
  r = d - c;
  tmpmysortstringint(r, depth, data1, data2 + N - r);
}
```