user: 下面的汇编指令对应的C源代码是什么：

```asm
<sortints>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x2a8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x298(%rsp)
  xor    %eax,%eax
  cmp    $0x1,%esi
  jle    L398
  mov    $0x1,%r11d
  mov    %esi,%r14d
  mov    %esi,0x18(%rsp)
  mov    %rdi,%r15
  mov    %rdi,0x10(%rsp)
  lea    -0x1(%r11),%r9d
  cmp    $0x9,%r14d
  jle    L578
  nopl   0x0(%rax)
L136:
  movslq %r14d,%rbx
  mov    %r14d,%edx
  mov    (%r15),%eax
  sar    %edx
  lea    0x0(,%rbx,4),%rdi
  mov    %rbx,(%rsp)
  movslq %edx,%rdx
  lea    -0x4(%r15,%rdi,1),%rbp
  lea    0x0(,%rdx,4),%r8
  mov    0x0(%rbp),%esi
  mov    (%r15,%rdx,4),%edx
  cmp    $0x13f,%r14d
  jg     L334
  cmp    %edx,%eax
  jg     L584
  cmp    %esi,%eax
  cmovl  %esi,%eax
  cmp    %esi,%edx
  cmovle %edx,%eax
L144:
  cmp    %rbp,%r15
  ja     L399
  mov    %r15,%rdi
  lea    0x4(%r15),%r10
  mov    %rbp,%rdx
  mov    %r15,%r8
  nopl   0x0(%rax,%rax,1)
L160:
  mov    %rdi,%rcx
  cmp    %eax,(%rdi)
  jg     L297
  jne    L0
  mov    (%r8),%ecx
  add    $0x4,%r8
  mov    %ecx,(%rdi)
  mov    %eax,-0x4(%r8)
L0:
  mov    %r10,%rcx
L658:
  add    $0x4,%rdi
  add    $0x4,%r10
  cmp    %rbp,%rcx
  jbe    L160
L678:
  mov    %r8,%rdi
  mov    %rcx,%r10
  mov    %rdx,%r12
  mov    %rcx,%rsi
  sub    %r8,%r10
  sub    %r15,%rdi
  sar    $0x2,%r10
  sar    $0x2,%rdi
  cmp    %edi,%r10d
  mov    %r10d,0x8(%rsp)
  cmovle %r10d,%edi
  sub    %rbp,%r12
  mov    %r12,%r13
  movslq %edi,%r8
  sar    $0x2,%r13
  lea    0x0(,%r8,4),%rbx
  mov    %r13d,0xc(%rsp)
  sub    %rbx,%rsi
  test   %edi,%edi
  jle    L309
  mov    $0x10,%ebp
  sub    %rbx,%rbp
  add    %rcx,%rbp
  cmp    %rbp,%r15
  lea    0x10(%r15),%rbp
  setae  %r12b
  cmp    %rbp,%rsi
  setae  %bpl
  or     %r12b,%bpl
  je     L552
  cmp    $0x1,%edi
  je     L552
  mov    %edi,%ebp
  cmp    $0x3,%edi
  jle    L404
  movd   %eax,%xmm5
  shr    $0x2,%ebp
  xor    %r8d,%r8d
  pshufd $0x0,%xmm5,%xmm0
  shl    $0x4,%rbp
  nopw   0x0(%rax,%rax,1)
L751:
  movdqu (%rsi,%r8,1),%xmm1
  movups %xmm1,(%r15,%r8,1)
  movups %xmm0,(%rsi,%r8,1)
  add    $0x10,%r8
  cmp    %rbp,%r8
  jne    L751
  mov    %edi,%ebp
  and    $0xfffffffc,%ebp
  mov    %ebp,%r12d
  lea    0x0(,%r12,4),%r8
  add    %r8,%rsi
  add    %r15,%r8
  cmp    %ebp,%edi
  je     L309
  sub    %ebp,%edi
  mov    %edi,%ebp
  cmp    $0x1,%edi
  je     L80
L434:
  lea    (%rcx,%r12,4),%rdi
  movd   %eax,%xmm3
  sub    %rbx,%rdi
  pshufd $0xe0,%xmm3,%xmm0
  mov    (%rdi),%rbx
  mov    %rbx,(%r15,%r12,4)
  mov    %ebp,%ebx
  and    $0xfffffffe,%ebx
  movq   %xmm0,(%rdi)
  mov    %ebx,%edi
  shl    $0x2,%rdi
  add    %rdi,%rsi
  add    %rdi,%r8
  cmp    %ebp,%ebx
  je     L309
L80:
  mov    (%rsi),%edi
  mov    %edi,(%r8)
  mov    %eax,(%rsi)
L309:
  sub    %r15,%rdx
  lea    -0x1(%r14),%esi
  sar    $0x2,%rdx
  sub    %edx,%esi
  mov    %r13d,%edx
  cmp    %r13d,%esi
  cmovle %esi,%edx
  mov    %r14d,%esi
  sub    %edx,%esi
  movslq %esi,%rsi
  lea    (%r15,%rsi,4),%rdi
  test   %edx,%edx
  jle    L577
  mov    (%rsp),%rbx
  movslq %edx,%r8
  lea    0x10(%rcx),%rbp
  sub    %r8,%rbx
  lea    (%r15,%rbx,4),%rsi
  cmp    %rbp,%rsi
  lea    0x10(%r15,%rbx,4),%rbp
  setae  %r12b
  cmp    %rbp,%rcx
  setae  %bpl
  or     %r12b,%bpl
  je     L363
  cmp    $0x1,%edx
  je     L363
  mov    %edx,%ebp
  cmp    $0x3,%edx
  jle    L729
  movd   %eax,%xmm6
  shr    $0x2,%ebp
  xor    %r8d,%r8d
  pshufd $0x0,%xmm6,%xmm0
  shl    $0x4,%rbp
  nopw   0x0(%rax,%rax,1)
L54:
  movdqu (%rcx,%r8,1),%xmm2
  movups %xmm2,(%rsi,%r8,1)
  movups %xmm0,(%rcx,%r8,1)
  add    $0x10,%r8
  cmp    %r8,%rbp
  jne    L54
  mov    %edx,%r12d
  and    $0xfffffffc,%r12d
  mov    %r12d,%r8d
  lea    0x0(,%r8,4),%rsi
  add    %rsi,%rdi
  add    %rcx,%rsi
  cmp    %edx,%r12d
  je     L577
  sub    %r12d,%edx
  mov    %edx,%ebp
  cmp    $0x1,%edx
  je     L747
L258:
  lea    (%rcx,%r8,4),%rdx
  add    %rbx,%r8
  movd   %eax,%xmm4
  mov    (%rdx),%rcx
  pshufd $0xe0,%xmm4,%xmm0
  mov    %rcx,(%r15,%r8,4)
  mov    %ebp,%ecx
  and    $0xfffffffe,%ecx
  movq   %xmm0,(%rdx)
  mov    %ecx,%edx
  shl    $0x2,%rdx
  add    %rdx,%rdi
  add    %rdx,%rsi
  cmp    %ebp,%ecx
  je     L577
L747:
  mov    (%rsi),%edx
  mov    %edx,(%rdi)
  mov    %eax,(%rsi)
L577:
  cmp    %r13d,%r10d
  jle    L283
  cmp    $0x1,%r10d
  jle    L172
  movslq %r9d,%r9
  shl    $0x4,%r9
  mov    %r10d,0x18(%rsp,%r9,1)
  cmp    $0x1,%r13d
  jle    L109
L701:
  sub    %r13d,%r14d
  movslq %r11d,%rax
  movslq %r14d,%rdx
  shl    $0x4,%rax
  mov    %r13d,%r14d
  lea    (%r15,%rdx,4),%rdx
  mov    %r13d,0x18(%rsp,%rax,1)
  mov    %rdx,0x10(%rsp,%rax,1)
  movslq %r11d,%rax
  add    $0x1,%r11d
L566:
  shl    $0x4,%rax
  lea    -0x1(%r11),%r9d
  mov    0x10(%rsp,%rax,1),%r15
  cmp    $0x9,%r14d
  jg     L136
L578:
  cmp    $0x1,%r14d
  jle    L399
  mov    %r15,%rdi
  sub    $0x1,%r14d
  xor    %edx,%edx
  xchg   %ax,%ax
L23:
  mov    %rdi,%rax
  add    $0x4,%rdi
  mov    0x4(%rax),%ecx
  mov    (%rax),%r8d
  mov    %rdi,%rsi
  cmp    %ecx,%r8d
  jle    L587
  mov    %r8d,0x4(%rax)
  test   %edx,%edx
  je     L597
  mov    -0x4(%rax),%esi
  cmp    %esi,%ecx
  jge    L595
  mov    %esi,(%rax)
  cmp    $0x1,%edx
  je     L597
  mov    -0x8(%rax),%r8d
  lea    -0x4(%rax),%rsi
  cmp    %r8d,%ecx
  jge    L587
  mov    %r8d,-0x4(%rax)
  cmp    $0x2,%edx
  je     L597
  mov    -0xc(%rax),%r8d
  lea    -0x8(%rax),%rsi
  cmp    %ecx,%r8d
  jle    L587
  mov    %r8d,-0x8(%rax)
  cmp    $0x3,%edx
  je     L597
  mov    -0x10(%rax),%r8d
  lea    -0xc(%rax),%rsi
  cmp    %ecx,%r8d
  jle    L587
  mov    %r8d,-0xc(%rax)
  cmp    $0x4,%edx
  je     L597
  mov    -0x14(%rax),%r8d
  lea    -0x10(%rax),%rsi
  cmp    %r8d,%ecx
  jge    L587
  mov    %r8d,-0x10(%rax)
  cmp    $0x5,%edx
  je     L597
  mov    -0x18(%rax),%r8d
  lea    -0x14(%rax),%rsi
  cmp    %r8d,%ecx
  jge    L587
  mov    %r8d,-0x14(%rax)
  cmp    $0x6,%edx
  je     L597
  mov    -0x1c(%rax),%r8d
  lea    -0x18(%rax),%rsi
  cmp    %ecx,%r8d
  jle    L587
  mov    %r8d,-0x18(%rax)
  mov    %r15,%rsi
L587:
  add    $0x1,%edx
  mov    %ecx,(%rsi)
  cmp    %r14d,%edx
  jne    L23
L399:
  test   %r9d,%r9d
  je     L398
L707:
  lea    -0x1(%r9),%eax
  mov    %r9d,%r11d
  cltq
  mov    %rax,%rdx
  shl    $0x4,%rdx
  mov    0x18(%rsp,%rdx,1),%r14d
  jmp    L566
  cs nopw 0x0(%rax,%rax,1)
L143:
  jne    L108
  mov    (%rdx),%esi
  sub    $0x4,%rdx
  mov    %esi,0x0(%rbp)
  mov    %eax,0x4(%rdx)
L108:
  sub    $0x4,%rbp
L297:
  cmp    %rbp,%rdi
  ja     L678
  mov    0x0(%rbp),%esi
  cmp    %eax,%esi
  jge    L143
  cmp    %rbp,%rdi
  ja     L678
  mov    (%rdi),%ecx
  sub    $0x4,%rbp
  mov    %esi,(%rdi)
  mov    %ecx,0x4(%rbp)
  mov    %r10,%rcx
  jmp    L658
L283:
  mov    0xc(%rsp),%ebx
  cmp    $0x1,%ebx
  jle    L213
  sub    %ebx,%r14d
  movslq %r9d,%r9
  movslq %r14d,%rax
  shl    $0x4,%r9
  cmpl   $0x1,0x8(%rsp)
  lea    (%r15,%rax,4),%rax
  mov    %ebx,0x18(%rsp,%r9,1)
  mov    %rax,0x10(%rsp,%r9,1)
  jle    L109
L325:
  mov    0x8(%rsp),%ebx
  movslq %r11d,%rax
  shl    $0x4,%rax
  mov    %r15,0x10(%rsp,%rax,1)
  mov    %ebx,%r14d
  mov    %ebx,0x18(%rsp,%rax,1)
  movslq %r11d,%rax
  add    $0x1,%r11d
  jmp    L566
L334:
  mov    0x4(%r15),%ecx
  mov    0x8(%r15),%r10d
  cmp    %eax,%ecx
  jl     L214
  cmp    %eax,%r10d
  cmovge %r10d,%eax
  cmp    %r10d,%ecx
  cmovg  %eax,%ecx
L565:
  mov    -0x4(%r15,%r8,1),%eax
  mov    0x4(%r15,%r8,1),%r8d
  cmp    %edx,%eax
  jg     L177
  cmp    %r8d,%eax
  cmovl  %r8d,%eax
  cmp    %edx,%r8d
  cmovge %edx,%eax
L101:
  mov    -0xc(%r15,%rdi,1),%edx
  mov    -0x8(%r15,%rdi,1),%edi
  cmp    %edi,%edx
  jg     L743
  cmp    %esi,%edx
  cmovl  %esi,%edx
  cmp    %esi,%edi
  cmovle %edi,%edx
L572:
  cmp    %eax,%ecx
  jg     L72
  cmp    %edx,%ecx
  cmovl  %edx,%ecx
  cmp    %edx,%eax
  cmovg  %ecx,%eax
  jmp    L144
  nopw   0x0(%rax,%rax,1)
L597:
  mov    %r15,%rsi
  jmp    L587
L584:
  cmp    %esi,%edx
  cmovl  %esi,%edx
  cmp    %esi,%eax
  cmovg  %edx,%eax
  jmp    L144
L72:
  cmp    %edx,%eax
  cmovl  %edx,%eax
  cmp    %edx,%ecx
  cmovle %ecx,%eax
  jmp    L144
L743:
  cmp    %esi,%edi
  cmovl  %esi,%edi
  cmp    %esi,%edx
  cmovg  %edi,%edx
  jmp    L572
L177:
  cmp    %edx,%r8d
  cmovge %r8d,%edx
  cmp    %r8d,%eax
  cmovg  %edx,%eax
  jmp    L101
L214:
  cmp    %r10d,%ecx
  cmovl  %r10d,%ecx
  cmp    %eax,%r10d
  cmovge %eax,%ecx
  jmp    L565
L109:
  mov    %r11d,%r9d
  jmp    L707
L213:
  cmpl   $0x1,0x8(%rsp)
  jle    L399
  mov    %r9d,%r11d
  jmp    L325
L172:
  cmp    $0x1,%r13d
  jle    L399
  mov    %r9d,%r11d
  jmp    L701
L595:
  mov    %rax,%rsi
  jmp    L587
L398:
  mov    0x298(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L165
  add    $0x2a8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L552:
  xor    %edi,%edi
  nop
L353:
  mov    (%rsi,%rdi,4),%ebx
  mov    %ebx,(%r15,%rdi,4)
  mov    %eax,(%rsi,%rdi,4)
  add    $0x1,%rdi
  cmp    %rdi,%r8
  jne    L353
  jmp    L309
L363:
  xor    %edx,%edx
  nopw   0x0(%rax,%rax,1)
L38:
  mov    (%rcx,%rdx,4),%esi
  mov    %esi,(%rdi,%rdx,4)
  mov    %eax,(%rcx,%rdx,4)
  add    $0x1,%rdx
  cmp    %rdx,%r8
  jne    L38
  jmp    L577
L404:
  mov    %r15,%r8
  xor    %r12d,%r12d
  jmp    L434
L729:
  mov    %rcx,%rsi
  xor    %r8d,%r8d
  jmp    L258
L165:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void sortints(int *x, int n) {
  int i, j;
  int a, d, ba, dc, s, nn;
  int tmp1, v, v1, v2, v3;
  int *x0, *xa, *xb, *xc, *xd, *xh, *xl;
  struct {
    int *addr;
    int len;
  } stack[40];
  int top;
  top = 0;
  if (n > 1) {
    stack[top].addr = x;
    stack[top].len = n;
    ++top;
  }
  while (top > 0) {
    --top;
    x0 = stack[top].addr;
    nn = stack[top].len;
    if (nn < 10) {
      for (i = 1; i < nn; ++i) {
        tmp1 = x0[i];
        for (j = i; x0[j - 1] > tmp1;) {
          x0[j] = x0[j - 1];
          if (--j == 0)
            break;
        }
        x0[j] = tmp1;
      }
      continue;
    }
    if (nn < 320)
      v = ((x0[0]) <= (x0[nn / 2]) ? ((x0[nn / 2]) <= (x0[nn - 1]) ? (x0[nn / 2]) : (x0[nn - 1]) <= (x0[0]) ? (x0[0]) : (x0[nn - 1])) : ((x0[0]) <= (x0[nn - 1]) ? (x0[0]) : (x0[nn - 1]) <= (x0[nn / 2]) ? (x0[nn / 2]) : (x0[nn - 1])));
    else {
      v1 = ((x0[0]) <= (x0[1]) ? ((x0[1]) <= (x0[2]) ? (x0[1]) : (x0[2]) <= (x0[0]) ? (x0[0]) : (x0[2])) : ((x0[0]) <= (x0[2]) ? (x0[0]) : (x0[2]) <= (x0[1]) ? (x0[1]) : (x0[2])));
      v2 = ((x0[nn / 2 - 1]) <= (x0[nn / 2]) ? ((x0[nn / 2]) <= (x0[nn / 2 + 1]) ? (x0[nn / 2]) : (x0[nn / 2 + 1]) <= (x0[nn / 2 - 1]) ? (x0[nn / 2 - 1]) : (x0[nn / 2 + 1])) : ((x0[nn / 2 - 1]) <= (x0[nn / 2 + 1]) ? (x0[nn / 2 - 1]) : (x0[nn / 2 + 1]) <= (x0[nn / 2]) ? (x0[nn / 2]) : (x0[nn / 2 + 1])));
      v3 = ((x0[nn - 3]) <= (x0[nn - 2]) ? ((x0[nn - 2]) <= (x0[nn - 1]) ? (x0[nn - 2]) : (x0[nn - 1]) <= (x0[nn - 3]) ? (x0[nn - 3]) : (x0[nn - 1])) : ((x0[nn - 3]) <= (x0[nn - 1]) ? (x0[nn - 3]) : (x0[nn - 1]) <= (x0[nn - 2]) ? (x0[nn - 2]) : (x0[nn - 1])));
      v = ((v1) <= (v2) ? ((v2) <= (v3) ? (v2) : (v3) <= (v1) ? (v1) : (v3)) : ((v1) <= (v3) ? (v1) : (v3) <= (v2) ? (v2) : (v3)));
    }
    xa = xb = x0;
    xc = xd = x0 + (nn - 1);
    for (;;) {
      while (xb <= xc && *xb <= v) {
        if (*xb == v) {
          *xb = *xa;
          *xa = v;
          ++xa;
        }
        ++xb;
      }
      while (xc >= xb && *xc >= v) {
        if (*xc == v) {
          *xc = *xd;
          *xd = v;
          --xd;
        }
        --xc;
      }
      if (xb > xc)
        break;
      tmp1 = *xb;
      *xb = *xc;
      *xc = tmp1;
      ;
      ++xb;
      --xc;
    }
    a = xa - x0;
    ba = xb - xa;
    if (ba > a)
      s = a;
    else
      s = ba;
    for (xl = x0, xh = xb - s; s > 0; --s) {
      *xl = *xh;
      *xh = v;
      ++xl;
      ++xh;
    }
    d = xd - x0;
    dc = xd - xc;
    if (dc > nn - 1 - d)
      s = nn - 1 - d;
    else
      s = dc;
    for (xl = xb, xh = x0 + (nn - s); s > 0; --s) {
      *xh = *xl;
      *xl = v;
      ++xl;
      ++xh;
    }
    if (ba > dc) {
      if (ba > 1) {
        stack[top].addr = x0;
        stack[top].len = ba;
        ++top;
      }
      if (dc > 1) {
        stack[top].addr = x0 + (nn - dc);
        stack[top].len = dc;
        ++top;
      }
    } else {
      if (dc > 1) {
        stack[top].addr = x0 + (nn - dc);
        stack[top].len = dc;
        ++top;
      }
      if (ba > 1) {
        stack[top].addr = x0;
        stack[top].len = ba;
        ++top;
      }
    }
  }
}
```