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

```asm
<tmpmysortstringint>:
  endbr64
  push   %r15
  lea    0x1(%rsi),%eax
  push   %r14
  push   %r13
  movslq %edi,%r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %esi,0x18(%rsp)
  mov    %eax,0x1c(%rsp)
  cmp    $0x1,%r13d
  jle    L113
  mov    %rdx,%r12
  mov    %rcx,%r15
  movslq %esi,%r14
L64:
  xor    %eax,%eax
  lea    -0x1(%r13),%ebx
  call   <rand@plt>
  mov    (%r15),%ecx
  lea    0x4(%r15),%r10
  mov    %ebx,%ebp
  cltd
  mov    $0x1,%esi
  mov    $0x2,%r11d
  mov    $0x1,%r9d
  idiv   %r13d
  movslq %edx,%rdx
  lea    (%r15,%rdx,4),%rax
  mov    (%rax),%edx
  mov    %edx,(%r15)
  mov    %ecx,(%rax)
  movslq (%r15),%rax
  mov    (%r12,%rax,8),%rax
  movsbl (%rax,%r14,1),%edi
  cs nopw 0x0(%rax,%rax,1)
L90:
  movslq (%r10),%rax
  mov    %rax,%rdx
  mov    (%r12,%rax,8),%rax
  movsbl (%rax,%r14,1),%eax
  sub    %edi,%eax
  test   %eax,%eax
  jle    L117
  movslq %ebx,%rax
  mov    %esi,0x8(%rsp)
  lea    (%r15,%rax,4),%rax
  jmp    L138
  cs nopw 0x0(%rax,%rax,1)
L25:
  jne    L92
  movslq %ebp,%rcx
  sub    $0x1,%ebp
  lea    (%r15,%rcx,4),%rcx
  mov    (%rcx),%r8d
  mov    %r8d,(%rax)
  mov    %edx,(%rcx)
L92:
  sub    $0x1,%ebx
  sub    $0x4,%rax
  cmp    %esi,%ebx
  jl     L40
L138:
  movslq (%rax),%rcx
  mov    %rcx,%rdx
  mov    (%r12,%rcx,8),%rcx
  movsbl (%rcx,%r14,1),%ecx
  cmp    %edi,%ecx
  jns    L25
  mov    (%r10),%ecx
  mov    %edx,(%r10)
  mov    %r11d,%r8d
  sub    $0x1,%ebx
  mov    %ecx,(%rax)
L95:
  add    $0x4,%r10
  add    $0x1,%r11d
  add    $0x1,%esi
  cmp    %r8d,%ebx
  jge    L90
L21:
  mov    %r8d,%r10d
  mov    %r9d,%edx
  mov    %r8d,%esi
  mov    %r15,%rcx
  sub    %r9d,%r10d
  mov    %r9d,0x14(%rsp)
  cmp    %r9d,%r10d
  mov    %r10d,0x10(%rsp)
  cmovle %r10d,%edx
  xor    %edi,%edi
  mov    %r8d,0x8(%rsp)
  sub    %edx,%esi
  call   <tmpvecswap@plt>
  mov    %r13d,%edx
  mov    %ebp,%r11d
  mov    0x8(%rsp),%edi
  sub    %ebp,%edx
  sub    %ebx,%r11d
  mov    %r13d,%esi
  mov    %r15,%rcx
  sub    $0x1,%edx
  mov    %r11d,0xc(%rsp)
  cmp    %r11d,%edx
  cmovg  %r11d,%edx
  sub    %edx,%esi
  call   <tmpvecswap@plt>
  mov    0x10(%rsp),%r10d
  mov    %r15,%rcx
  mov    %r12,%rdx
  mov    0x18(%rsp),%esi
  mov    %r10d,%edi
  mov    %r10d,0x8(%rsp)
  call   <tmpmysortstringint>
  movslq 0x8(%rsp),%r10
  mov    0xc(%rsp),%r11d
  mov    0x14(%rsp),%r9d
  lea    (%r15,%r10,4),%rcx
  movslq (%rcx),%rax
  mov    (%r12,%rax,8),%rax
  cmpb   $0x0,(%rax,%r14,1)
  jne    L100
L134:
  movslq %r11d,%rax
  sub    %rax,%r13
  lea    (%r15,%r13,4),%r15
  cmp    $0x1,%r11d
  jle    L113
  movslq %r11d,%r13
  jmp    L64
  cs nopw 0x0(%rax,%rax,1)
L40:
  mov    0x8(%rsp),%r8d
  jmp    L21
  nopw   0x0(%rax,%rax,1)
L117:
  jne    L136
  movslq %r9d,%rax
  add    $0x1,%r9d
  lea    (%r15,%rax,4),%rax
  mov    (%rax),%ecx
  mov    %edx,(%rax)
  mov    %ecx,(%r10)
L136:
  mov    %r11d,%r8d
  jmp    L95
L113:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L100:
  lea    0x0(%r13,%r9,1),%edi
  mov    0x1c(%rsp),%esi
  mov    %r12,%rdx
  mov    %r11d,0x8(%rsp)
  sub    %ebp,%edi
  sub    $0x1,%edi
  call   <tmpmysortstringint>
  mov    0x8(%rsp),%r11d
  jmp    L134
```

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