user: Demonstrate the C code that generates the assembly output below:

```asm
<qsortUpInts>:
  endbr64
  push   %r15
  push   %r14
  mov    %rdx,%r14
  push   %r13
  lea    -0x1(%rdi),%r13d
  push   %r12
  xor    %r12d,%r12d
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    $0x2,%ebx
  mov    %edi,-0xc(%rsp)
  nopl   0x0(%rax)
L30:
  mov    %r13d,%eax
  sub    %r12d,%eax
  cmp    $0xa,%eax
  jg     L42
  lea    -0x1(%rbx),%eax
  sub    $0x2,%ebx
  cltq
  mov    (%r14,%rax,4),%r13d
  mov    -0x4(%r14,%rax,4),%r12d
  test   %ebx,%ebx
  jg     L30
  mov    -0xc(%rsp),%edi
  mov    %rbp,%rsi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1050 <insertUpInts@plt>
  xchg   %ax,%ax
L42:
  movslq %r12d,%rdx
  movslq %r13d,%rcx
  sar    %eax
  lea    0x0(%rbp,%rdx,4),%r8
  lea    0x0(%rbp,%rcx,4),%r15
  add    %r12d,%eax
  mov    (%r8),%edx
  mov    (%r15),%esi
  cmp    %esi,%edx
  jle    L11
  mov    %esi,(%r8)
  mov    %edx,%esi
  mov    %edx,(%r15)
  mov    (%r8),%edx
L11:
  cltq
  lea    0x0(%rbp,%rax,4),%rcx
  mov    (%rcx),%eax
  cmp    %edx,%eax
  jge    L87
  mov    %eax,(%r8)
  mov    %edx,%eax
  mov    %edx,(%rcx)
  mov    (%r15),%esi
L87:
  cmp    %eax,%esi
  jle    L93
  mov    %esi,(%rcx)
  mov    %eax,%esi
  mov    %eax,(%r15)
L93:
  lea    -0x1(%r12),%r11d
  mov    %r13d,%edx
  nopl   0x0(%rax)
L55:
  mov    (%r8),%r10d
  lea    0x1(%r11),%r9d
  cmp    %esi,%r10d
  jl     L101
  movslq %edx,%rax
  lea    -0x4(%rbp,%rax,4),%rax
  nopl   0x0(%rax)
L1:
  mov    %rax,%rdi
  mov    (%rax),%ecx
  sub    $0x4,%rax
  sub    $0x1,%edx
  cmp    %esi,%ecx
  jg     L1
  cmp    %edx,%r9d
  jge    L49
  mov    %ecx,(%r8)
  mov    %r10d,(%rdi)
L101:
  add    $0x4,%r8
  mov    %r9d,%r11d
  jmp    L55
  nopl   0x0(%rax)
L49:
  mov    %r9d,%edi
  mov    %r13d,%esi
  movslq %ebx,%rax
  mov    (%r15),%ecx
  sub    %r12d,%edi
  sub    %r9d,%esi
  lea    (%r14,%rax,4),%rdx
  add    $0x2,%ebx
  lea    0x2(%r11),%eax
  cmp    %esi,%edi
  jg     L46
  mov    %r13d,%esi
  mov    %r11d,%r13d
  mov    %esi,%r11d
L83:
  movd   %eax,%xmm0
  movd   %r11d,%xmm1
  mov    %ecx,(%r8)
  punpckldq %xmm1,%xmm0
  mov    %r10d,(%r15)
  movq   %xmm0,(%rdx)
  jmp    L30
L46:
  mov    %r12d,%esi
  mov    %eax,%r12d
  mov    %esi,%eax
  jmp    L83
```

assistant: ```c
void qsortUpInts(int n, int *array, int *stack) {
  register int i, j;
  int t, l, m, r, p;
  l = 0;
  r = n - 1;
  p = 2;
  while (p > 0)
    if ((r - l) > 10) {
      m = l + ((r - l) >> 1);
      if (array[l] > array[r]) {
        (t) = (array[l]);
        (array[l]) = (array[r]);
        (array[r]) = (t);
      };
      if (array[l] > array[m]) {
        (t) = (array[l]);
        (array[l]) = (array[m]);
        (array[m]) = (t);
      };
      if (array[r] > array[m]) {
        (t) = (array[m]);
        (array[m]) = (array[r]);
        (array[r]) = (t);
      };
      m = array[r];
      i = l - 1;
      j = r;
      for (;;) {
        while (array[++i] < m)
          ;
        while (array[--j] > m)
          ;
        if (i >= j)
          break;
        {
          (t) = (array[i]);
          (array[i]) = (array[j]);
          (array[j]) = (t);
        };
      }
      {
        (t) = (array[i]);
        (array[i]) = (array[r]);
        (array[r]) = (t);
      };
      if ((i - l) > (r - i)) {
        stack[p++] = l;
        stack[p++] = i - 1;
        l = i + 1;
      } else {
        stack[p++] = i + 1;
        stack[p++] = r;
        r = i - 1;
      }
    } else {
      r = stack[--p];
      l = stack[--p];
    }
  if (10 > 0)
    insertUpInts(n, array);
}
```