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

```asm
<quickSort_parallel_internal_i_d>:
  endbr64
  push   %r15
  mov    %edx,%r11d
  push   %r14
  push   %r13
  mov    %rsi,%r13
  push   %r12
  mov    %ecx,%r12d
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %r8d,0xc(%rsp)
L37:
  lea    (%r11,%r12,1),%edx
  mov    %r12d,%ecx
  mov    %r11d,%ebx
  mov    %edx,%eax
  shr    $0x1f,%eax
  add    %edx,%eax
  sar    %eax
  cltq
  mov    0x0(%rbp,%rax,4),%r9d
L80:
  cmp    %ecx,%ebx
  jg     L101
  movslq %ebx,%rdi
  lea    0x0(,%rdi,4),%rdx
  lea    0x0(%rbp,%rdx,1),%rsi
  mov    (%rsi),%r8d
  cmp    %r9d,%r8d
  jge    L38
  lea    0x1(%rbx),%eax
  lea    0x4(%rbp,%rdx,1),%rdx
  cltq
  nopl   0x0(%rax,%rax,1)
L70:
  mov    (%rdx),%r8d
  mov    %rax,%rdi
  mov    %eax,%ebx
  mov    %rdx,%rsi
  lea    0x1(%rdi),%rax
  lea    0x4(%rdx),%rdx
  cmp    %r9d,%r8d
  jl     L70
  movslq %ecx,%r14
  lea    0x0(%rbp,%r14,4),%r15
  mov    (%r15),%r10d
  cmp    %r9d,%r10d
  jle    L110
L68:
  lea    -0x1(%rcx),%eax
  lea    -0x4(%rbp,%r14,4),%rdx
  cltq
  nopw   0x0(%rax,%rax,1)
L28:
  mov    (%rdx),%r10d
  mov    %eax,%ecx
  mov    %rdx,%r15
  mov    %rax,%r14
  sub    $0x4,%rdx
  sub    $0x1,%rax
  cmp    %r9d,%r10d
  jg     L28
L110:
  cmp    %ecx,%ebx
  jle    L71
L101:
  mov    %r12d,%eax
  sub    %r11d,%eax
  cmp    0xc(%rsp),%eax
  jge    L30
  cmp    %r11d,%ecx
  jg     L139
L85:
  cmp    %r12d,%ebx
  jge    L54
L128:
  mov    %ebx,%r11d
  jmp    L37
  nopw   0x0(%rax,%rax,1)
L38:
  movslq %ecx,%r14
  lea    0x0(%rbp,%r14,4),%r15
  mov    (%r15),%r10d
  cmp    %r10d,%r9d
  jl     L68
L71:
  lea    0x0(%r13,%rdi,8),%rdx
  lea    0x0(%r13,%r14,8),%rax
  mov    %r10d,(%rsi)
  add    $0x1,%ebx
  movsd  (%rdx),%xmm0
  movsd  (%rax),%xmm1
  mov    %r8d,(%r15)
  sub    $0x1,%ecx
  movsd  %xmm1,(%rdx)
  movsd  %xmm0,(%rax)
  jmp    L80
L54:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L139:
  mov    0xc(%rsp),%r8d
  mov    %r11d,%edx
  mov    %r13,%rsi
  mov    %rbp,%rdi
  call   <quickSort_parallel_internal_i_d>
  jmp    L85
L30:
  mov    0xc(%rsp),%r8d
  mov    %r11d,%edx
  mov    %r13,%rsi
  mov    %rbp,%rdi
  call   <quickSort_parallel_internal_i_d>
  jmp    L128
```

assistant: ```c
void quickSort_parallel_internal_i_d(int *key, double *value, int left, int right, int cutoff) {
  int i = left, j = right;
  int tmp;
  int pivot = key[(left + right) / 2];
  {
    while (i <= j) {
      while (key[i] < pivot)
        i++;
      while (key[j] > pivot)
        j--;
      if (i <= j) {
        tmp = key[i];
        key[i] = key[j];
        key[j] = tmp;
        double tmp_v = value[i];
        value[i] = value[j];
        value[j] = tmp_v;
        i++;
        j--;
      }
    }
  }
  if (((right - left) < cutoff)) {
    if (left < j) {
      quickSort_parallel_internal_i_d(key, value, left, j, cutoff);
    }
    if (i < right) {
      quickSort_parallel_internal_i_d(key, value, i, right, cutoff);
    }
  } else {
#pragma omp task
    { quickSort_parallel_internal_i_d(key, value, left, j, cutoff); }
#pragma omp task
    { quickSort_parallel_internal_i_d(key, value, i, right, cutoff); }
  }
}
```