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

```asm
<ArraySort_String>:
  endbr64
  push   %r15
  xor    %r15d,%r15d
  push   %r14
  push   %r13
  mov    %rdx,%r13
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  push   %rbx
  sub    $0x198,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x188(%rsp)
  xor    %eax,%eax
  lea    -0x1(%rdi),%eax
  movl   $0x0,0x20(%rsp)
  mov    %eax,0x1c(%rsp)
  mov    %eax,%ecx
  movl   $0x1,0x24(%rsp)
L87:
  mov    %ecx,%eax
  sub    %r15d,%eax
  cmp    $0x6,%eax
  jg     L191
L98:
  movslq 0x24(%rsp),%rbx
  mov    %r15d,(%rsp)
  lea    0x120(%rsp),%rbp
  cmp    %ebx,%ecx
  jl     L183
  nopl   0x0(%rax)
L37:
  mov    (%r12,%rbx,8),%rsi
  mov    %rbp,%rdi
  call   <strcpy@plt>
  mov    0x0(%r13,%rbx,4),%eax
  movslq (%rsp),%r14
  mov    %eax,0x8(%rsp)
  cmp    %r14d,%r15d
  jle    L19
  jmp    L190
  nopl   0x0(%rax,%rax,1)
L172:
  mov    (%r12,%r14,8),%rsi
  mov    0x8(%r12,%r14,8),%rdi
  call   <strcpy@plt>
  mov    0x0(%r13,%r14,4),%eax
  mov    %eax,0x4(%r13,%r14,4)
  lea    -0x1(%r14),%eax
  sub    $0x1,%r14
  cmp    %r14d,%r15d
  jg     L20
L19:
  mov    (%r12,%r14,8),%rdi
  mov    %rbp,%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  jg     L172
L193:
  lea    0x1(%r14),%rdx
  mov    %rbp,%rsi
  add    $0x1,%rbx
  mov    (%r12,%rdx,8),%rdi
  mov    %rdx,0x10(%rsp)
  call   <strcpy@plt>
  mov    0x8(%rsp),%eax
  mov    0x10(%rsp),%rdx
  addl   $0x1,(%rsp)
  mov    %eax,0x0(%r13,%rdx,4)
  cmp    %ebx,0x1c(%rsp)
  jge    L37
L183:
  mov    0x20(%rsp),%eax
  test   %eax,%eax
  je     L3
  movslq 0x20(%rsp),%rdx
  lea    -0x1(%rdx),%eax
  mov    %rdx,%rcx
  mov    0x50(%rsp,%rdx,4),%edx
  cltq
  sub    $0x2,%ecx
  mov    0x50(%rsp,%rax,4),%r15d
  mov    %ecx,0x20(%rsp)
  mov    %edx,%ecx
  mov    %edx,0x1c(%rsp)
  lea    0x1(%r15),%eax
  mov    %eax,0x24(%rsp)
  mov    %ecx,%eax
  sub    %r15d,%eax
  cmp    $0x6,%eax
  jle    L98
L191:
  movslq %ecx,%r14
  mov    0x24(%rsp),%edx
  mov    %r12,%rdi
  lea    (%r14,%r15,1),%ebx
  sar    %ebx
  mov    %ebx,%esi
  movslq %ebx,%rbx
  call   <s_swap@plt>
  movslq %r15d,%rax
  lea    0x0(%r13,%rbx,4),%rdx
  lea    (%r12,%r14,8),%r8
  lea    0x4(,%rax,4),%rbx
  mov    (%rdx),%esi
  shl    $0x3,%rax
  mov    %r8,0x8(%rsp)
  lea    0x0(%r13,%rbx,1),%rcx
  lea    (%r12,%rax,1),%rbp
  mov    %r14d,0x1c(%rsp)
  mov    (%rcx),%edi
  mov    %rcx,0x38(%rsp)
  mov    %rax,(%rsp)
  mov    %edi,(%rdx)
  mov    0x0(%rbp),%rdi
  mov    %esi,(%rcx)
  mov    (%r8),%rsi
  call   <strcmp@plt>
  mov    0x8(%rsp),%r8
  test   %rax,%rax
  jle    L171
  mov    0x1c(%rsp),%edx
  mov    %r15d,%esi
  mov    %r12,%rdi
  call   <s_swap@plt>
  lea    -0x4(%r13,%rbx,1),%rdx
  lea    0x0(%r13,%r14,4),%rax
  mov    0x8(%rsp),%r8
  mov    (%rdx),%esi
  mov    (%rax),%edi
  mov    %edi,(%rdx)
  mov    %esi,(%rax)
L171:
  mov    (%rsp),%rax
  mov    (%r8),%rsi
  lea    0x8(%r12,%rax,1),%rax
  mov    (%rax),%rdi
  mov    %rax,0x30(%rsp)
  call   <strcmp@plt>
  test   %rax,%rax
  jle    L113
  mov    0x1c(%rsp),%edx
  mov    0x24(%rsp),%esi
  mov    %r12,%rdi
  call   <s_swap@plt>
  mov    0x38(%rsp),%rcx
  lea    0x0(%r13,%r14,4),%rax
  mov    (%rax),%esi
  mov    (%rcx),%edx
  mov    %esi,(%rcx)
  mov    %edx,(%rax)
L113:
  mov    0x30(%rsp),%rax
  mov    0x0(%rbp),%rdi
  mov    (%rax),%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  jle    L189
  mov    0x24(%rsp),%edx
  mov    %r15d,%esi
  mov    %r12,%rdi
  call   <s_swap@plt>
  rolq   $0x20,-0x4(%r13,%rbx,1)
L189:
  mov    0x30(%rsp),%rax
  lea    0x120(%rsp),%rbp
  lea    0x2(%r15),%r14d
  mov    %rbp,%rdi
  mov    (%rax),%rsi
  call   <strcpy@plt>
  mov    0x38(%rsp),%rax
  mov    %r15d,0x48(%rsp)
  mov    %r12,0x8(%rsp)
  movslq 0x1c(%rsp),%rbx
  mov    (%rax),%eax
  mov    %r13,0x28(%rsp)
  mov    %eax,0x40(%rsp)
  movslq %r14d,%rax
  mov    %rax,%r13
  nopw   0x0(%rax,%rax,1)
L66:
  mov    0x8(%rsp),%r15
  mov    %rbp,%rsi
  mov    %r13d,(%rsp)
  mov    (%r15,%r13,8),%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  js     L2
  lea    -0x1(%rbx),%edx
  lea    -0x8(%r15,%rbx,8),%r12
  mov    %r13,0x10(%rsp)
  movslq %edx,%r14
  mov    %r12,%r13
  nopl   (%rax)
L184:
  mov    0x0(%r13),%rdi
  mov    %rbp,%rsi
  mov    %r14d,%r15d
  movslq %r14d,%rbx
  mov    %r13,%r12
  sub    $0x8,%r13
  call   <strcmp@plt>
  mov    %r14,%rsi
  sub    $0x1,%r14
  test   %rax,%rax
  jg     L184
  mov    0x28(%rsp),%r14
  mov    0x10(%rsp),%r13
  mov    %r12,%rax
  lea    (%r14,%rsi,4),%r8
  cmp    %r13d,%ebx
  jl     L176
  mov    (%rsp),%esi
  mov    0x8(%rsp),%rdi
  mov    %ebx,%edx
  mov    %r8,0x10(%rsp)
  call   <s_swap@plt>
  mov    0x10(%rsp),%r8
  mov    (%r14,%r13,4),%eax
  mov    (%r8),%edx
  mov    %edx,(%r14,%r13,4)
  mov    %eax,(%r8)
L2:
  add    $0x1,%r13
  jmp    L66
  nopl   0x0(%rax,%rax,1)
L20:
  movslq %eax,%r14
  jmp    L193
L190:
  lea    -0x1(%rbx),%r14
  jmp    L193
L176:
  mov    (%rax),%rsi
  movd   0x1c(%rsp),%xmm2
  mov    %ebx,0x10(%rsp)
  mov    %rax,%rbx
  mov    0x30(%rsp),%rax
  movd   (%rsp),%xmm1
  mov    %r15d,0x44(%rsp)
  mov    %r14,%r13
  mov    0x48(%rsp),%r15d
  mov    0x8(%rsp),%r12
  mov    %r8,0x48(%rsp)
  mov    (%rax),%rdi
  punpckldq %xmm2,%xmm1
  movq   %xmm1,%r14
  call   <strcpy@plt>
  mov    (%rbx),%rdi
  mov    %rbp,%rsi
  call   <strcpy@plt>
  mov    0x48(%rsp),%r8
  mov    0x38(%rsp),%rcx
  mov    (%r8),%eax
  mov    %eax,(%rcx)
  mov    0x40(%rsp),%eax
  mov    %eax,(%r8)
  mov    0x20(%rsp),%eax
  lea    0x2(%rax),%ebp
  cmp    $0x32,%ebp
  jg     L225
L14:
  mov    0x44(%rsp),%eax
  mov    0x20(%rsp),%edx
  movd   %r15d,%xmm0
  mov    0x10(%rsp),%ebx
  mov    0x1c(%rsp),%esi
  sub    $0x1,%eax
  sub    (%rsp),%esi
  add    $0x1,%edx
  movd   %eax,%xmm3
  add    $0x1,%esi
  sub    %r15d,%ebx
  movslq %edx,%rdx
  punpckldq %xmm3,%xmm0
  cmp    %ebx,%esi
  jl     L233
  mov    %r14,0x50(%rsp,%rdx,4)
  mov    %eax,%ecx
  mov    %ebp,0x20(%rsp)
  mov    %eax,0x1c(%rsp)
  jmp    L87
L3:
  mov    0x188(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L12
  add    $0x198,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L233:
  mov    (%rsp),%r15d
  mov    0x1c(%rsp),%ecx
  mov    %ebp,0x20(%rsp)
  movq   %xmm0,0x50(%rsp,%rdx,4)
  lea    0x1(%r15),%eax
  mov    %eax,0x24(%rsp)
  jmp    L87
L225:
  lea    D0(%rip),%rdi
  call   <printf@plt>
  xor    %edi,%edi
  call   <exit@plt>
  jmp    L14
L12:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: tag: D0
data_type: string

tool: D0: Stack error: NSTACK too small


assistant: ```c
void ArraySort_String(int n, char **Pair_Name, int *brr) {
  int i, ir = n - 1, j, k, m = 0, jstack = 0, b, NSTACK = 50, istack[NSTACK];
  int temp, MIN = 7;
  char p[100];
  for (;;) {
    if (ir - m < MIN) {
      for (j = m + 1; j <= ir; j++) {
        strcpy(p, Pair_Name[j]);
        b = brr[j];
        for (i = j - 1; i >= m; i--) {
          if (strcmp(Pair_Name[i], p) <= 0)
            break;
          strcpy(Pair_Name[i + 1], Pair_Name[i]);
          brr[i + 1] = brr[i];
        }
        strcpy(Pair_Name[i + 1], p);
        brr[i + 1] = b;
      }
      if (!jstack)
        return;
      ir = istack[jstack--];
      m = istack[jstack--];
    } else {
      k = (m + ir) >> 1;
      s_swap(Pair_Name, k, m + 1);
      temp = (brr[k]);
      (brr[k]) = brr[m + 1];
      (brr[m + 1]) = temp;
      ;
      if (strcmp(Pair_Name[m], Pair_Name[ir]) > 0) {
        s_swap(Pair_Name, m, ir);
        temp = (brr[m]);
        (brr[m]) = brr[ir];
        (brr[ir]) = temp;
        ;
      }
      if (strcmp(Pair_Name[m + 1], Pair_Name[ir]) > 0) {
        s_swap(Pair_Name, m + 1, ir);
        temp = (brr[m + 1]);
        (brr[m + 1]) = brr[ir];
        (brr[ir]) = temp;
        ;
      }
      if (strcmp(Pair_Name[m], Pair_Name[m + 1]) > 0) {
        s_swap(Pair_Name, m, m + 1);
        temp = (brr[m]);
        (brr[m]) = brr[m + 1];
        (brr[m + 1]) = temp;
        ;
      }
      i = m + 1;
      j = ir;
      strcpy(p, Pair_Name[m + 1]);
      b = brr[m + 1];
      for (;;) {
        do
          i++;
        while (strcmp(Pair_Name[i], p) < 0);
        do
          j--;
        while (strcmp(Pair_Name[j], p) > 0);
        if (j < i)
          break;
        s_swap(Pair_Name, i, j);
        temp = (brr[i]);
        (brr[i]) = brr[j];
        (brr[j]) = temp;
        ;
      }
      strcpy(Pair_Name[m + 1], Pair_Name[j]);
      strcpy(Pair_Name[j], p);
      brr[m + 1] = brr[j];
      brr[j] = b;
      jstack += 2;
      if (jstack > NSTACK) {
        printf("Stack error: NSTACK too small\n");
        exit(0);
      }
      if (ir - i + 1 >= j - m) {
        istack[jstack] = ir;
        istack[jstack - 1] = i;
        ir = j - 1;
      } else {
        istack[jstack] = j - 1;
        istack[jstack - 1] = m;
        m = i;
      }
    }
  }
}
```