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

```asm
<bitonicSortSB>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %ecx,0x4(%rsp)
  cmp    $0x1,%edx
  je     L11
  mov    %edx,%r12d
  mov    %rdi,%r13
  mov    %esi,%ebp
  mov    %edx,%r8d
  shr    $0x1f,%r12d
  add    %edx,%r12d
  sar    %r12d
  cmp    $0x1,%r12d
  je     L173
  test   %edx,%edx
  lea    0x3(%rdx),%r14d
  cmovns %edx,%r14d
  sar    $0x2,%r14d
  cmp    $0x1,%r14d
  je     L21
  lea    0x7(%rdx),%eax
  test   %edx,%edx
  mov    %eax,%r15d
  mov    %eax,0x8(%rsp)
  cmovns %edx,%r15d
  sar    $0x3,%r15d
  cmp    $0x1,%r15d
  je     L118
  lea    0xf(%rdx),%eax
  test   %edx,%edx
  mov    %eax,%ebx
  mov    %eax,0xc(%rsp)
  cmovns %edx,%ebx
  sar    $0x4,%ebx
  cmp    $0x1,%ebx
  je     L42
  lea    0x1f(%rdx),%eax
  test   %edx,%edx
  mov    %eax,%r9d
  mov    %eax,0x10(%rsp)
  cmovns %edx,%r9d
  sar    $0x5,%r9d
  cmp    $0x1,%r9d
  je     L180
  test   %r8d,%r8d
  lea    0x3f(%rdx),%edx
  mov    %r9d,0x1c(%rsp)
  cmovns %r8d,%edx
  mov    %r8d,0x18(%rsp)
  sar    $0x6,%edx
  mov    %edx,0x14(%rsp)
  call   <bitonicSortSB>
  mov    0x14(%rsp),%edx
  mov    0x18(%rsp),%r8d
  mov    0x1c(%rsp),%r9d
  cmpl   $0x1,0x4(%rsp)
  mov    %r8d,0x14(%rsp)
  lea    0x0(%rbp,%rdx,1),%esi
  mov    %r9d,0x18(%rsp)
  je     L112
  mov    $0x1,%ecx
  mov    %r13,%rdi
  call   <bitonicSortSB>
  mov    0x18(%rsp),%r9d
  mov    0x14(%rsp),%r8d
L35:
  mov    0x4(%rsp),%ecx
  mov    %r9d,%edx
  mov    %ebp,%esi
  mov    %r13,%rdi
  mov    %r8d,0x18(%rsp)
  mov    %r9d,0x14(%rsp)
  call   <mergeSB@plt>
  mov    0x18(%rsp),%r8d
  mov    0x14(%rsp),%r9d
L180:
  cmpl   $0x1,0x4(%rsp)
  lea    0x0(%rbp,%r9,1),%esi
  je     L182
  mov    %r9d,%edx
  lea    0x0(%rbp,%rbx,1),%eax
  mov    $0x1,%ecx
  mov    %r13,%rdi
  mov    %r8d,0x1c(%rsp)
  mov    %r9d,0x18(%rsp)
  mov    %eax,0x14(%rsp)
  call   <bitonicSortSB>
  mov    0x4(%rsp),%ecx
  mov    %ebx,%edx
  mov    %ebp,%esi
  mov    %r13,%rdi
  call   <mergeSB@plt>
  mov    0x18(%rsp),%edx
  lea    0x0(%rbp,%rbx,1),%esi
  mov    %r13,%rdi
  mov    $0x1,%ecx
  call   <bitonicSortSB>
  mov    0x18(%rsp),%r9d
  lea    0x0(%rbp,%rbx,1),%eax
  xor    %ecx,%ecx
  mov    %r13,%rdi
  lea    (%r9,%rax,1),%esi
  mov    %r9d,%edx
  call   <bitonicSortSB>
  mov    0x14(%rsp),%esi
  mov    $0x1,%ecx
  mov    %ebx,%edx
  mov    %r13,%rdi
  call   <mergeSB@plt>
  mov    0x4(%rsp),%ecx
  mov    %r15d,%edx
  mov    %ebp,%esi
  mov    %r13,%rdi
  call   <mergeSB@plt>
  mov    0x1c(%rsp),%r8d
  mov    0x10(%rsp),%edx
  mov    %r13,%rdi
  lea    0x0(%rbp,%r15,1),%r9d
  mov    $0x1,%ecx
  test   %r8d,%r8d
  mov    %r9d,%esi
  mov    %r8d,0x18(%rsp)
  cmovns %r8d,%edx
  mov    %r9d,0x10(%rsp)
  sar    $0x5,%edx
  mov    %edx,0x14(%rsp)
  call   <bitonicSortSB>
  mov    0x10(%rsp),%r9d
  mov    0x14(%rsp),%edx
  xor    %ecx,%ecx
  mov    %r13,%rdi
  lea    (%rdx,%r9,1),%esi
  call   <bitonicSortSB>
  mov    0x10(%rsp),%esi
  mov    $0x1,%ecx
  mov    %ebx,%edx
  mov    %r13,%rdi
  call   <mergeSB@plt>
  mov    0x18(%rsp),%r8d
  mov    0x10(%rsp),%r9d
L175:
  lea    (%rbx,%r9,1),%esi
  xor    %ecx,%ecx
  mov    %ebx,%edx
  mov    %r13,%rdi
  mov    %r8d,0x14(%rsp)
  lea    0x0(%rbp,%r14,1),%ebx
  mov    %r9d,0x10(%rsp)
  call   <bitonicSortSB>
  mov    0x10(%rsp),%esi
  mov    %r15d,%edx
  mov    %r13,%rdi
  mov    $0x1,%ecx
  call   <mergeSB@plt>
  mov    0x4(%rsp),%ecx
  mov    %r14d,%edx
  mov    %ebp,%esi
  mov    %r13,%rdi
  call   <mergeSB@plt>
  mov    0x14(%rsp),%r8d
  mov    0xc(%rsp),%r9d
  test   %r8d,%r8d
  cmovns %r8d,%r9d
  sar    $0x4,%r9d
  cmp    $0x1,%r9d
  je     L158
  test   %r8d,%r8d
  lea    0x1f(%r8),%edx
  mov    $0x1,%ecx
  mov    %ebx,%esi
  cmovns %r8d,%edx
  mov    %r13,%rdi
  mov    %r8d,0x10(%rsp)
  mov    %r9d,0x14(%rsp)
  sar    $0x5,%edx
  mov    %edx,0xc(%rsp)
  call   <bitonicSortSB>
  mov    0xc(%rsp),%edx
  xor    %ecx,%ecx
  mov    %r13,%rdi
  lea    (%rdx,%rbx,1),%esi
  call   <bitonicSortSB>
  mov    0x14(%rsp),%r9d
  mov    %ebx,%esi
  mov    %r13,%rdi
  mov    $0x1,%ecx
  mov    %r9d,%edx
  mov    %r9d,0xc(%rsp)
  call   <mergeSB@plt>
  mov    0x10(%rsp),%r8d
  mov    0xc(%rsp),%r9d
L158:
  lea    (%r9,%rbx,1),%esi
  mov    %r9d,%edx
  xor    %ecx,%ecx
  mov    %r13,%rdi
  mov    %r8d,0xc(%rsp)
  call   <bitonicSortSB>
  mov    $0x1,%ecx
  mov    %r15d,%edx
  mov    %ebx,%esi
  mov    %r13,%rdi
  call   <mergeSB@plt>
  mov    0xc(%rsp),%r8d
  jmp    L37
  xchg   %ax,%ax
L118:
  cmpl   $0x1,0x4(%rsp)
  je     L152
  mov    0x4(%rsp),%ecx
  mov    %edx,0xc(%rsp)
  mov    %r14d,%edx
  lea    0x0(%rbp,%r14,1),%ebx
  call   <mergeSB@plt>
  mov    0xc(%rsp),%r8d
L37:
  lea    (%r15,%rbx,1),%esi
  xor    %ecx,%ecx
  mov    %r15d,%edx
  mov    %r13,%rdi
  mov    %r8d,0xc(%rsp)
  lea    (%r12,%rbp,1),%r15d
  call   <bitonicSortSB>
  mov    %ebx,%esi
  mov    $0x1,%ecx
  mov    %r14d,%edx
  mov    %r13,%rdi
  call   <mergeSB@plt>
  mov    0x4(%rsp),%ebx
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r13,%rdi
  mov    %ebx,%ecx
  call   <mergeSB@plt>
  cmp    $0x1,%ebx
  mov    0xc(%rsp),%r8d
  je     L168
  mov    0x8(%rsp),%ebx
  test   %r8d,%r8d
  cmovns %r8d,%ebx
  sar    $0x3,%ebx
  cmp    $0x1,%ebx
  je     L3
  test   %r8d,%r8d
  lea    0xf(%r8),%r9d
  cmovns %r8d,%r9d
  sar    $0x4,%r9d
  cmp    $0x1,%r9d
  je     L159
  test   %r8d,%r8d
  lea    0x1f(%r8),%edx
  mov    $0x1,%ecx
  mov    %r15d,%esi
  cmovns %r8d,%edx
  mov    %r13,%rdi
  mov    %r8d,0xc(%rsp)
  mov    %r9d,0x10(%rsp)
  sar    $0x5,%edx
  mov    %edx,0x8(%rsp)
  call   <bitonicSortSB>
  mov    0x8(%rsp),%edx
  xor    %ecx,%ecx
  mov    %r13,%rdi
  lea    (%r15,%rdx,1),%esi
  call   <bitonicSortSB>
  mov    0x10(%rsp),%r9d
  mov    %r15d,%esi
  mov    %r13,%rdi
  mov    $0x1,%ecx
  mov    %r9d,%edx
  mov    %r9d,0x8(%rsp)
  call   <mergeSB@plt>
  mov    0xc(%rsp),%r8d
  mov    0x8(%rsp),%r9d
L159:
  lea    (%r15,%r9,1),%esi
  mov    %r9d,%edx
  xor    %ecx,%ecx
  mov    %r13,%rdi
  mov    %r8d,0x8(%rsp)
  call   <bitonicSortSB>
  mov    $0x1,%ecx
  mov    %ebx,%edx
  mov    %r15d,%esi
  mov    %r13,%rdi
  call   <mergeSB@plt>
  mov    0x8(%rsp),%r8d
L3:
  lea    (%rbx,%r15,1),%esi
  xor    %ecx,%ecx
  mov    %ebx,%edx
  mov    %r13,%rdi
  mov    %r8d,0x8(%rsp)
  call   <bitonicSortSB>
  mov    $0x1,%ecx
  mov    %r14d,%edx
  mov    %r15d,%esi
  mov    %r13,%rdi
  call   <mergeSB@plt>
  mov    0x8(%rsp),%r8d
L71:
  xor    %ecx,%ecx
  lea    (%r15,%r14,1),%esi
  mov    %r14d,%edx
  mov    %r13,%rdi
  mov    %r8d,0x8(%rsp)
  call   <bitonicSortSB>
  mov    $0x1,%ecx
L86:
  mov    %r12d,%edx
  mov    %r15d,%esi
  mov    %r13,%rdi
  call   <mergeSB@plt>
  mov    0x8(%rsp),%r8d
L173:
  mov    0x4(%rsp),%ecx
  add    $0x28,%rsp
  mov    %ebp,%esi
  mov    %r13,%rdi
  pop    %rbx
  mov    %r8d,%edx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1050 <mergeSB@plt>
  nopw   0x0(%rax,%rax,1)
L11:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L21:
  cmpl   $0x1,0x4(%rsp)
  je     L200
  mov    0x4(%rsp),%ecx
  mov    %edx,0x8(%rsp)
  mov    %r12d,%edx
  lea    (%r12,%rbp,1),%r15d
  call   <mergeSB@plt>
  mov    0x8(%rsp),%r8d
  jmp    L71
  nopl   0x0(%rax)
L182:
  mov    %r9d,%edx
  xor    %ecx,%ecx
  mov    %r13,%rdi
  mov    %r8d,0xc(%rsp)
  call   <bitonicSortSB>
  mov    $0x1,%ecx
  mov    %ebx,%edx
  mov    %ebp,%esi
  mov    %r13,%rdi
  call   <mergeSB@plt>
  mov    0xc(%rsp),%r8d
L163:
  lea    0x0(%rbp,%rbx,1),%esi
  xor    %ecx,%ecx
  mov    %ebx,%edx
  mov    %r13,%rdi
  mov    %r8d,0xc(%rsp)
  call   <bitonicSortSB>
  mov    $0x1,%ecx
  mov    %r15d,%edx
  mov    %ebp,%esi
  mov    %r13,%rdi
  call   <mergeSB@plt>
  mov    0xc(%rsp),%r8d
L152:
  lea    0x0(%rbp,%r15,1),%esi
  mov    %r15d,%edx
  xor    %ecx,%ecx
  mov    %r13,%rdi
  mov    %r8d,0x10(%rsp)
  lea    0x0(%rbp,%r14,1),%ebx
  call   <bitonicSortSB>
  mov    $0x1,%ecx
  mov    %r14d,%edx
  mov    %ebp,%esi
  mov    %r13,%rdi
  call   <mergeSB@plt>
  lea    (%r15,%rbx,1),%r9d
  mov    %r15d,%edx
  xor    %ecx,%ecx
  mov    %ebx,%esi
  mov    %r13,%rdi
  mov    %r9d,0xc(%rsp)
  call   <bitonicSortSB>
  mov    0xc(%rsp),%esi
  mov    %r15d,%edx
  mov    %r13,%rdi
  mov    $0x1,%ecx
  lea    (%r12,%rbp,1),%r15d
  call   <bitonicSortSB>
  xor    %ecx,%ecx
  mov    %r14d,%edx
  mov    %ebx,%esi
  mov    %r13,%rdi
  call   <mergeSB@plt>
  mov    $0x1,%ecx
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r13,%rdi
  call   <mergeSB@plt>
  mov    0x10(%rsp),%r8d
L168:
  mov    0x8(%rsp),%ebx
  test   %r8d,%r8d
  mov    %r15d,%esi
  mov    %r13,%rdi
  mov    %r8d,0x8(%rsp)
  cmovns %r8d,%ebx
  xor    %ecx,%ecx
  sar    $0x3,%ebx
  mov    %ebx,%edx
  call   <bitonicSortSB>
  lea    (%rbx,%r15,1),%esi
  mov    $0x1,%ecx
  mov    %ebx,%edx
  mov    %r13,%rdi
  call   <bitonicSortSB>
  xor    %ecx,%ecx
  mov    %r14d,%edx
  mov    %r15d,%esi
  mov    %r13,%rdi
  call   <mergeSB@plt>
  mov    0x8(%rsp),%r8d
L38:
  mov    $0x1,%ecx
  lea    (%r14,%r15,1),%esi
  mov    %r14d,%edx
  mov    %r13,%rdi
  mov    %r8d,0x8(%rsp)
  call   <bitonicSortSB>
  xor    %ecx,%ecx
  jmp    L86
  nopw   0x0(%rax,%rax,1)
L42:
  cmpl   $0x1,0x4(%rsp)
  je     L163
  mov    0x4(%rsp),%ecx
  mov    %edx,0x10(%rsp)
  mov    %r15d,%edx
  call   <mergeSB@plt>
  mov    0x10(%rsp),%r8d
  lea    0x0(%rbp,%r15,1),%r9d
  jmp    L175
  nopw   0x0(%rax,%rax,1)
L200:
  mov    %edx,0x8(%rsp)
  mov    $0x1,%ecx
  mov    %r12d,%edx
  lea    (%r12,%rbp,1),%r15d
  call   <mergeSB@plt>
  mov    0x8(%rsp),%r8d
  jmp    L38
  nopl   0x0(%rax)
L112:
  xor    %ecx,%ecx
  mov    %r13,%rdi
  call   <bitonicSortSB>
  mov    0x14(%rsp),%r8d
  mov    0x18(%rsp),%r9d
  jmp    L35
```

assistant: ```c
void bitonicSortSB(int *dataSB, int startIndexSB, int sizeSB, int dirSB) {
  if (sizeSB == 1) {
    return;
  } else {
    bitonicSortSB(dataSB, startIndexSB, sizeSB / 2, dirSB);
    if (dirSB == 1) {
      bitonicSortSB(dataSB, startIndexSB + (sizeSB / 2), sizeSB / 2, 0);
    } else {
      bitonicSortSB(dataSB, startIndexSB + (sizeSB / 2), sizeSB / 2, 1);
    }
    mergeSB(dataSB, startIndexSB, sizeSB, dirSB);
  }
  return;
}
```