user: Translate the below assembly code into C programming language:

```asm
<mergeSortFitnessWithinBounds>:
  endbr64
  cmp    %r9d,%r8d
  jl     L11
  ret
  nopw   0x0(%rax,%rax,1)
L11:
  lea    (%r8,%r9,1),%eax
  push   %r15
  mov    %rdx,%r15
  push   %r14
  mov    %rsi,%r14
  push   %r13
  mov    %rdi,%r13
  push   %r12
  mov    %eax,%r12d
  push   %rbp
  shr    $0x1f,%r12d
  mov    %r9d,%ebp
  push   %rbx
  add    %eax,%r12d
  mov    %r8d,%ebx
  sar    %r12d
  sub    $0x18,%rsp
  cmp    %r12d,%r8d
  jl     L23
  add    $0x1,%r12d
  cmp    %ebp,%r12d
  jl     L103
L109:
  sub    $0x8,%rsp
  mov    %r12d,%r9d
  mov    %ebx,%r8d
  mov    %r15,%rdx
  push   %rbp
  mov    %r14,%rsi
  mov    %r13,%rdi
  call   <mergeSortFitnessMerge@plt>
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L23:
  lea    (%r8,%r12,1),%eax
  mov    %eax,%r10d
  shr    $0x1f,%r10d
  add    %eax,%r10d
  sar    %r10d
  cmp    %r10d,%r8d
  jl     L79
L84:
  add    $0x1,%r10d
  cmp    %r10d,%r12d
  jg     L107
L42:
  sub    $0x8,%rsp
  mov    %r10d,%r9d
  mov    %ebx,%r8d
  mov    %r15,%rdx
  push   %r12
  mov    %r14,%rsi
  mov    %r13,%rdi
  add    $0x1,%r12d
  mov    %rcx,0x10(%rsp)
  call   <mergeSortFitnessMerge@plt>
  pop    %r9
  pop    %r10
  mov    (%rsp),%rcx
  cmp    %ebp,%r12d
  jge    L109
L103:
  lea    (%r12,%rbp,1),%eax
  mov    %eax,%r10d
  shr    $0x1f,%r10d
  add    %eax,%r10d
  sar    %r10d
  cmp    %r10d,%r12d
  jl     L74
L77:
  add    $0x1,%r10d
  cmp    %r10d,%ebp
  jg     L54
L101:
  sub    $0x8,%rsp
  mov    %r15,%rdx
  mov    %r10d,%r9d
  mov    %r12d,%r8d
  push   %rbp
  mov    %r14,%rsi
  mov    %r13,%rdi
  mov    %rcx,0x10(%rsp)
  call   <mergeSortFitnessMerge@plt>
  pop    %rax
  pop    %rdx
  mov    (%rsp),%rcx
  jmp    L109
  nopl   0x0(%rax,%rax,1)
L79:
  lea    (%r8,%r10,1),%eax
  mov    %r10d,0xc(%rsp)
  mov    %eax,%r8d
  mov    %rcx,(%rsp)
  shr    $0x1f,%r8d
  add    %eax,%r8d
  mov    %r8d,%r9d
  mov    %ebx,%r8d
  sar    %r9d
  mov    %r9d,0x8(%rsp)
  call   <mergeSortFitnessWithinBounds>
  mov    0x8(%rsp),%r9d
  mov    %r15,%rdx
  mov    %r14,%rsi
  mov    0xc(%rsp),%r10d
  mov    (%rsp),%rcx
  mov    %r13,%rdi
  lea    0x1(%r9),%r8d
  mov    %r10d,%r9d
  mov    %r8d,0xc(%rsp)
  mov    %r10d,0x8(%rsp)
  call   <mergeSortFitnessWithinBounds>
  sub    $0x8,%rsp
  mov    %r15,%rdx
  mov    %ebx,%r8d
  mov    0x10(%rsp),%r10d
  mov    %r14,%rsi
  mov    %r13,%rdi
  push   %r10
  mov    0x10(%rsp),%rcx
  mov    0x1c(%rsp),%r9d
  mov    %r10d,0x18(%rsp)
  call   <mergeSortFitnessMerge@plt>
  pop    %rax
  pop    %rdx
  mov    0x8(%rsp),%r10d
  mov    (%rsp),%rcx
  jmp    L84
  nopw   0x0(%rax,%rax,1)
L54:
  lea    0x0(%rbp,%r10,1),%eax
  mov    %r15,%rdx
  mov    %r14,%rsi
  mov    %r13,%rdi
  mov    %eax,%r8d
  mov    %r10d,0xc(%rsp)
  shr    $0x1f,%r8d
  mov    %rcx,(%rsp)
  add    %eax,%r8d
  mov    %r8d,%r9d
  mov    %r10d,%r8d
  sar    %r9d
  mov    %r9d,0x8(%rsp)
  call   <mergeSortFitnessWithinBounds>
  mov    0x8(%rsp),%r9d
  mov    %r15,%rdx
  mov    %r14,%rsi
  mov    (%rsp),%rcx
  mov    %r13,%rdi
  lea    0x1(%r9),%r8d
  mov    %ebp,%r9d
  mov    %r8d,0x8(%rsp)
  call   <mergeSortFitnessWithinBounds>
  sub    $0x8,%rsp
  mov    %r14,%rsi
  mov    %r15,%rdx
  push   %rbp
  mov    0x1c(%rsp),%r10d
  mov    %r13,%rdi
  mov    0x18(%rsp),%r9d
  mov    0x10(%rsp),%rcx
  mov    %r10d,%r8d
  mov    %r10d,0x18(%rsp)
  call   <mergeSortFitnessMerge@plt>
  pop    %rcx
  pop    %rsi
  mov    0x8(%rsp),%r10d
  mov    (%rsp),%rcx
  jmp    L101
  nopl   0x0(%rax)
L74:
  lea    (%r12,%r10,1),%eax
  mov    %r15,%rdx
  mov    %r14,%rsi
  mov    %r13,%rdi
  mov    %eax,%r8d
  mov    %r10d,0xc(%rsp)
  shr    $0x1f,%r8d
  mov    %rcx,(%rsp)
  add    %eax,%r8d
  mov    %r8d,%r9d
  mov    %r12d,%r8d
  sar    %r9d
  mov    %r9d,0x8(%rsp)
  call   <mergeSortFitnessWithinBounds>
  mov    0x8(%rsp),%r9d
  mov    %r15,%rdx
  mov    %r14,%rsi
  mov    0xc(%rsp),%r10d
  mov    (%rsp),%rcx
  mov    %r13,%rdi
  lea    0x1(%r9),%r8d
  mov    %r10d,%r9d
  mov    %r8d,0xc(%rsp)
  mov    %r10d,0x8(%rsp)
  call   <mergeSortFitnessWithinBounds>
  sub    $0x8,%rsp
  mov    %r12d,%r8d
  mov    %r13,%rdi
  mov    0x10(%rsp),%r10d
  mov    %r15,%rdx
  mov    %r14,%rsi
  push   %r10
  mov    0x10(%rsp),%rcx
  mov    0x1c(%rsp),%r9d
  mov    %r10d,0x18(%rsp)
  call   <mergeSortFitnessMerge@plt>
  pop    %rdi
  pop    %r8
  mov    0x8(%rsp),%r10d
  mov    (%rsp),%rcx
  jmp    L77
  nopl   0x0(%rax)
L107:
  lea    (%r12,%r10,1),%eax
  mov    %r15,%rdx
  mov    %r14,%rsi
  mov    %r13,%rdi
  mov    %eax,%r8d
  mov    %r10d,0xc(%rsp)
  shr    $0x1f,%r8d
  mov    %rcx,(%rsp)
  add    %eax,%r8d
  mov    %r8d,%r9d
  mov    %r10d,%r8d
  sar    %r9d
  mov    %r9d,0x8(%rsp)
  call   <mergeSortFitnessWithinBounds>
  mov    0x8(%rsp),%r9d
  mov    %r15,%rdx
  mov    %r14,%rsi
  mov    (%rsp),%rcx
  mov    %r13,%rdi
  lea    0x1(%r9),%r8d
  mov    %r12d,%r9d
  mov    %r8d,0x8(%rsp)
  call   <mergeSortFitnessWithinBounds>
  sub    $0x8,%rsp
  mov    %r15,%rdx
  mov    %r14,%rsi
  push   %r12
  mov    0x1c(%rsp),%r10d
  mov    %r13,%rdi
  mov    0x18(%rsp),%r9d
  mov    0x10(%rsp),%rcx
  mov    %r10d,%r8d
  mov    %r10d,0x18(%rsp)
  call   <mergeSortFitnessMerge@plt>
  pop    %r11
  pop    %rax
  mov    0x8(%rsp),%r10d
  mov    (%rsp),%rcx
  jmp    L42
```

assistant: ```c
void mergeSortFitnessWithinBounds(double *objectives, double *constraints, int *sorted, int *tosort, int p, int q) {
  int r;
  if (p < q) {
    r = (p + q) / 2;
    mergeSortFitnessWithinBounds(objectives, constraints, sorted, tosort, p, r);
    mergeSortFitnessWithinBounds(objectives, constraints, sorted, tosort, r + 1, q);
    mergeSortFitnessMerge(objectives, constraints, sorted, tosort, p, r + 1, q);
  }
}
```