user: 请从给定的汇编指令推导出C源代码:

```asm
<adjust>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  mov    $0xe5,%edi
  sub    $0x38,%rsp
  mov    %esi,0xc(%rsp)
  lea    0xc(%rsp),%r12
  mov    $0x4,%esi
  lea    0x20(%rsp),%r14
  lea    0x24(%rsp),%r13
  lea    0x1c(%rsp),%rbp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  call   <__CrestCall@plt>
  mov    %r12,%rsi
  mov    $0xe4,%edi
  xor    %eax,%eax
  call   <__CrestStore@plt>
  xor    %edx,%edx
  xor    %esi,%esi
  mov    $0xe6,%edi
  xor    %eax,%eax
  call   <__CrestLoad@plt>
  mov    %r14,%rsi
  mov    $0xe7,%edi
  xor    %eax,%eax
  call   <__CrestStore@plt>
  movslq (%rbx),%rdx
  mov    %rbx,%rsi
  mov    $0xe8,%edi
  xor    %eax,%eax
  movl   $0x0,0x20(%rsp)
  call   <__CrestLoad@plt>
  mov    %r13,%rsi
  mov    $0xe9,%edi
  xor    %eax,%eax
  call   <__CrestStore@plt>
  mov    (%rbx),%eax
  xor    %esi,%esi
  mov    $0x2,%edx
  mov    $0xee,%edi
  mov    %eax,0x24(%rsp)
  xor    %eax,%eax
  call   <__CrestLoad@plt>
  movslq 0x20(%rsp),%rdx
  mov    %r14,%rsi
  xor    %eax,%eax
  mov    $0xed,%edi
  call   <__CrestLoad@plt>
  mov    0x20(%rsp),%eax
  mov    $0x2,%esi
  mov    $0xec,%edi
  lea    (%rax,%rax,1),%edx
  xor    %eax,%eax
  movslq %edx,%rdx
  call   <__CrestApply2@plt>
  xor    %esi,%esi
  mov    $0x1,%edx
  xor    %eax,%eax
  mov    $0xeb,%edi
  call   <__CrestLoad@plt>
  mov    0x20(%rsp),%eax
  xor    %esi,%esi
  mov    $0xea,%edi
  lea    0x1(%rax,%rax,1),%edx
  xor    %eax,%eax
  movslq %edx,%rdx
  call   <__CrestApply2@plt>
  mov    %rbp,%rsi
  mov    $0xef,%edi
  xor    %eax,%eax
  call   <__CrestStore@plt>
  mov    0x20(%rsp),%eax
  mov    %rbp,%rsi
  mov    $0xf4,%edi
  lea    0x1(%rax,%rax,1),%edx
  xor    %eax,%eax
  mov    %edx,0x1c(%rsp)
  movslq %edx,%rdx
  call   <__CrestLoad@plt>
  movslq 0xc(%rsp),%rdx
  xor    %eax,%eax
  mov    %r12,%rsi
  mov    $0xf3,%edi
  call   <__CrestLoad@plt>
  xor    %esi,%esi
  mov    $0x1,%edx
  xor    %eax,%eax
  mov    $0xf2,%edi
  call   <__CrestLoad@plt>
  mov    0xc(%rsp),%eax
  mov    $0x1,%esi
  mov    $0xf1,%edi
  lea    -0x1(%rax),%edx
  xor    %eax,%eax
  movslq %edx,%rdx
  call   <__CrestApply2@plt>
  mov    0x1c(%rsp),%eax
  xor    %edx,%edx
  cmp    %eax,0xc(%rsp)
  setg   %dl
  mov    $0xf,%esi
  mov    $0xf0,%edi
  xor    %eax,%eax
  call   <__CrestApply2@plt>
  mov    0x1c(%rsp),%eax
  cmp    %eax,0xc(%rsp)
  jle    L70
  mov    $0x1,%edx
  mov    $0x4b,%esi
  mov    $0xf5,%edi
  xor    %eax,%eax
  call   <__CrestBranch@plt>
  movslq 0x1c(%rsp),%rdx
  mov    %rbp,%rsi
  xor    %eax,%eax
  mov    $0xfd,%edi
  call   <__CrestLoad@plt>
  xor    %esi,%esi
  mov    $0x1,%edx
  xor    %eax,%eax
  mov    $0xfc,%edi
  call   <__CrestLoad@plt>
  mov    0x1c(%rsp),%eax
  xor    %esi,%esi
  mov    $0xfb,%edi
  lea    0x1(%rax),%edx
  xor    %eax,%eax
  movslq %edx,%rdx
  call   <__CrestApply2@plt>
  movslq 0xc(%rsp),%rdx
  mov    %r12,%rsi
  xor    %eax,%eax
  mov    $0xfa,%edi
  call   <__CrestLoad@plt>
  xor    %esi,%esi
  mov    $0x1,%edx
  xor    %eax,%eax
  mov    $0xf9,%edi
  call   <__CrestLoad@plt>
  mov    0xc(%rsp),%eax
  mov    $0x1,%esi
  mov    $0xf8,%edi
  lea    -0x1(%rax),%edx
  xor    %eax,%eax
  movslq %edx,%rdx
  call   <__CrestApply2@plt>
  mov    0xc(%rsp),%eax
  xor    %edx,%edx
  mov    $0xf,%esi
  mov    $0xf7,%edi
  sub    $0x1,%eax
  cmp    0x1c(%rsp),%eax
  setg   %dl
  xor    %eax,%eax
  call   <__CrestApply2@plt>
  mov    0xc(%rsp),%eax
  sub    $0x1,%eax
  cmp    0x1c(%rsp),%eax
  jg     L112
  xor    %edx,%edx
  mov    $0x51,%esi
  mov    $0xff,%edi
  xor    %eax,%eax
  call   <__CrestBranch@plt>
  mov    0x1c(%rsp),%eax
L65:
  movslq 0x24(%rsp),%rdx
  cltq
  mov    %r13,%rsi
  mov    $0x10b,%edi
  lea    (%rbx,%rax,4),%r15
  xor    %eax,%eax
  call   <__CrestLoad@plt>
  movslq (%r15),%rdx
  mov    %r15,%rsi
  mov    $0x10a,%edi
  xor    %eax,%eax
  call   <__CrestLoad@plt>
  mov    0x24(%rsp),%eax
  xor    %edx,%edx
  cmp    %eax,(%r15)
  setg   %dl
  mov    $0x10,%esi
  mov    $0x109,%edi
  xor    %eax,%eax
  call   <__CrestApply2@plt>
  mov    0x24(%rsp),%eax
  cmp    %eax,(%r15)
  jle    L128
  mov    $0x1,%edx
  mov    $0x55,%esi
  mov    $0x10c,%edi
  xor    %eax,%eax
  call   <__CrestBranch@plt>
  movslq 0x20(%rsp),%rax
  mov    $0x10e,%edi
  lea    (%rbx,%rax,4),%r15
  movslq 0x1c(%rsp),%rax
  lea    (%rbx,%rax,4),%rcx
  xor    %eax,%eax
  movslq (%rcx),%rdx
  mov    %rcx,%rsi
  mov    %rcx,(%rsp)
  call   <__CrestLoad@plt>
  mov    %r15,%rsi
  mov    $0x10f,%edi
  xor    %eax,%eax
  call   <__CrestStore@plt>
  mov    (%rsp),%rcx
  movslq 0x1c(%rsp),%rdx
  mov    %rbp,%rsi
  mov    $0x110,%edi
  mov    (%rcx),%eax
  mov    %eax,(%r15)
  xor    %eax,%eax
  call   <__CrestLoad@plt>
  mov    %r14,%rsi
  mov    $0x111,%edi
  xor    %eax,%eax
  call   <__CrestStore@plt>
  mov    0x1c(%rsp),%eax
  mov    $0x2,%edx
  xor    %esi,%esi
  mov    $0x116,%edi
  mov    %eax,0x20(%rsp)
  xor    %eax,%eax
  call   <__CrestLoad@plt>
  movslq 0x20(%rsp),%rdx
  mov    %r14,%rsi
  xor    %eax,%eax
  mov    $0x115,%edi
  call   <__CrestLoad@plt>
  mov    0x20(%rsp),%eax
  mov    $0x2,%esi
  mov    $0x114,%edi
  lea    (%rax,%rax,1),%edx
  xor    %eax,%eax
  movslq %edx,%rdx
  call   <__CrestApply2@plt>
  mov    $0x1,%edx
  xor    %esi,%esi
  xor    %eax,%eax
  mov    $0x113,%edi
  call   <__CrestLoad@plt>
  mov    0x20(%rsp),%eax
  xor    %esi,%esi
  mov    $0x112,%edi
  lea    0x1(%rax,%rax,1),%edx
  xor    %eax,%eax
  movslq %edx,%rdx
  call   <__CrestApply2@plt>
  mov    %rbp,%rsi
  mov    $0x117,%edi
  xor    %eax,%eax
  call   <__CrestStore@plt>
  mov    0x20(%rsp),%eax
  lea    0x1(%rax,%rax,1),%edx
  mov    %edx,0x1c(%rsp)
  jmp    L48
  nopl   0x0(%rax)
L70:
  xor    %edx,%edx
  mov    $0x57,%esi
  mov    $0xf6,%edi
  xor    %eax,%eax
  call   <__CrestBranch@plt>
  mov    0x1c(%rsp),%edx
L48:
  movslq %edx,%rdx
  mov    %rbp,%rsi
  mov    $0x11e,%edi
  xor    %eax,%eax
  call   <__CrestLoad@plt>
  movslq 0xc(%rsp),%rdx
  mov    %r12,%rsi
  xor    %eax,%eax
  mov    $0x11d,%edi
  call   <__CrestLoad@plt>
  xor    %esi,%esi
  mov    $0x1,%edx
  xor    %eax,%eax
  mov    $0x11c,%edi
  call   <__CrestLoad@plt>
  mov    0xc(%rsp),%eax
  mov    $0x1,%esi
  mov    $0x11b,%edi
  lea    -0x1(%rax),%edx
  xor    %eax,%eax
  movslq %edx,%rdx
  call   <__CrestApply2@plt>
  mov    0x1c(%rsp),%eax
  xor    %edx,%edx
  cmp    %eax,0xc(%rsp)
  setg   %dl
  mov    $0xf,%esi
  mov    $0x11a,%edi
  xor    %eax,%eax
  call   <__CrestApply2@plt>
  mov    0x1c(%rsp),%eax
  cmp    %eax,0xc(%rsp)
  jle    L153
  mov    $0x1,%edx
  mov    $0x59,%esi
  mov    $0x11f,%edi
  xor    %eax,%eax
  call   <__CrestBranch@plt>
  movslq 0x1c(%rsp),%rdx
  mov    %rbp,%rsi
  xor    %eax,%eax
  mov    $0x127,%edi
  call   <__CrestLoad@plt>
  xor    %esi,%esi
  mov    $0x1,%edx
  xor    %eax,%eax
  mov    $0x126,%edi
  call   <__CrestLoad@plt>
  mov    0x1c(%rsp),%eax
  xor    %esi,%esi
  mov    $0x125,%edi
  lea    0x1(%rax),%edx
  xor    %eax,%eax
  movslq %edx,%rdx
  call   <__CrestApply2@plt>
  movslq 0xc(%rsp),%rdx
  mov    %r12,%rsi
  xor    %eax,%eax
  mov    $0x124,%edi
  call   <__CrestLoad@plt>
  xor    %esi,%esi
  mov    $0x1,%edx
  xor    %eax,%eax
  mov    $0x123,%edi
  call   <__CrestLoad@plt>
  mov    0xc(%rsp),%eax
  mov    $0x1,%esi
  mov    $0x122,%edi
  lea    -0x1(%rax),%edx
  xor    %eax,%eax
  movslq %edx,%rdx
  call   <__CrestApply2@plt>
  mov    0xc(%rsp),%eax
  xor    %edx,%edx
  mov    $0xf,%esi
  mov    $0x121,%edi
  sub    $0x1,%eax
  cmp    0x1c(%rsp),%eax
  setg   %dl
  xor    %eax,%eax
  call   <__CrestApply2@plt>
  mov    0xc(%rsp),%eax
  sub    $0x1,%eax
  cmp    0x1c(%rsp),%eax
  jg     L3
  xor    %edx,%edx
  mov    $0x5f,%esi
  mov    $0x129,%edi
  xor    %eax,%eax
  call   <__CrestBranch@plt>
  mov    0x1c(%rsp),%eax
L5:
  movslq 0x24(%rsp),%rdx
  cltq
  mov    %r13,%rsi
  mov    $0x135,%edi
  lea    (%rbx,%rax,4),%r15
  xor    %eax,%eax
  call   <__CrestLoad@plt>
  movslq (%r15),%rdx
  mov    %r15,%rsi
  mov    $0x134,%edi
  xor    %eax,%eax
  call   <__CrestLoad@plt>
  mov    0x24(%rsp),%eax
  xor    %edx,%edx
  cmp    %eax,(%r15)
  setg   %dl
  mov    $0x10,%esi
  mov    $0x133,%edi
  xor    %eax,%eax
  call   <__CrestApply2@plt>
  mov    0x24(%rsp),%eax
  cmp    %eax,(%r15)
  jle    L132
  mov    $0x1,%edx
  mov    $0x63,%esi
  mov    $0x136,%edi
  xor    %eax,%eax
  call   <__CrestBranch@plt>
  movslq 0x20(%rsp),%rax
  mov    $0x138,%edi
  lea    (%rbx,%rax,4),%r15
  movslq 0x1c(%rsp),%rax
  lea    (%rbx,%rax,4),%r12
  xor    %eax,%eax
  movslq (%r12),%rdx
  mov    %r12,%rsi
  call   <__CrestLoad@plt>
  mov    %r15,%rsi
  mov    $0x139,%edi
  xor    %eax,%eax
  call   <__CrestStore@plt>
  mov    (%r12),%eax
  movslq 0x1c(%rsp),%rdx
  mov    %rbp,%rsi
  mov    $0x13a,%edi
  mov    %eax,(%r15)
  xor    %eax,%eax
  call   <__CrestLoad@plt>
  mov    %r14,%rsi
  mov    $0x13b,%edi
  xor    %eax,%eax
  call   <__CrestStore@plt>
  mov    0x1c(%rsp),%eax
  mov    $0x2,%edx
  xor    %esi,%esi
  mov    $0x140,%edi
  mov    %eax,0x20(%rsp)
  xor    %eax,%eax
  call   <__CrestLoad@plt>
  movslq 0x20(%rsp),%rdx
  mov    %r14,%rsi
  xor    %eax,%eax
  mov    $0x13f,%edi
  call   <__CrestLoad@plt>
  mov    0x20(%rsp),%eax
  mov    $0x2,%esi
  mov    $0x13e,%edi
  lea    (%rax,%rax,1),%edx
  xor    %eax,%eax
  movslq %edx,%rdx
  call   <__CrestApply2@plt>
  mov    $0x1,%edx
  xor    %esi,%esi
  xor    %eax,%eax
  mov    $0x13d,%edi
  call   <__CrestLoad@plt>
  mov    0x20(%rsp),%eax
  xor    %esi,%esi
  mov    $0x13c,%edi
  lea    0x1(%rax,%rax,1),%edx
  xor    %eax,%eax
  movslq %edx,%rdx
  call   <__CrestApply2@plt>
  mov    %rbp,%rsi
  mov    $0x141,%edi
  xor    %eax,%eax
  call   <__CrestStore@plt>
  movslq 0x20(%rsp),%rax
  lea    0x1(%rax,%rax,1),%edx
  mov    %edx,0x1c(%rsp)
  jmp    L36
  nopl   (%rax)
L153:
  xor    %edx,%edx
  mov    $0x65,%esi
  mov    $0x120,%edi
  xor    %eax,%eax
  call   <__CrestBranch@plt>
  movslq 0x20(%rsp),%rax
L36:
  movslq 0x24(%rsp),%rdx
  lea    (%rbx,%rax,4),%rbx
  mov    %r13,%rsi
  xor    %eax,%eax
  mov    $0x144,%edi
  call   <__CrestLoad@plt>
  mov    $0x145,%edi
  xor    %eax,%eax
  mov    %rbx,%rsi
  call   <__CrestStore@plt>
  mov    0x24(%rsp),%eax
  mov    $0x146,%edi
  mov    %eax,(%rbx)
  xor    %eax,%eax
  call   <__CrestReturn@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L43
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L3:
  mov    $0x1,%edx
  mov    $0x5a,%esi
  mov    $0x128,%edi
  xor    %eax,%eax
  call   <__CrestBranch@plt>
  movslq 0x1c(%rsp),%rax
  mov    $0x12c,%edi
  shl    $0x2,%rax
  lea    (%rbx,%rax,1),%rcx
  lea    0x4(%rbx,%rax,1),%r15
  xor    %eax,%eax
  movslq (%rcx),%rdx
  mov    %rcx,%rsi
  mov    %rcx,(%rsp)
  call   <__CrestLoad@plt>
  movslq (%r15),%rdx
  mov    %r15,%rsi
  mov    $0x12b,%edi
  xor    %eax,%eax
  call   <__CrestLoad@plt>
  mov    (%rsp),%rcx
  mov    (%r15),%eax
  xor    %edx,%edx
  mov    $0x10,%esi
  mov    $0x12a,%edi
  cmp    %eax,(%rcx)
  setl   %dl
  xor    %eax,%eax
  call   <__CrestApply2@plt>
  mov    (%rsp),%rcx
  mov    (%r15),%eax
  cmp    %eax,(%rcx)
  jge    L115
  mov    $0x1,%edx
  mov    $0x5d,%esi
  mov    $0x12d,%edi
  xor    %eax,%eax
  call   <__CrestBranch@plt>
  movslq 0x1c(%rsp),%rdx
  mov    %rbp,%rsi
  xor    %eax,%eax
  mov    $0x131,%edi
  call   <__CrestLoad@plt>
  mov    $0x1,%edx
  xor    %esi,%esi
  xor    %eax,%eax
  mov    $0x130,%edi
  call   <__CrestLoad@plt>
  mov    0x1c(%rsp),%eax
  xor    %esi,%esi
  mov    $0x12f,%edi
  lea    0x1(%rax),%edx
  xor    %eax,%eax
  movslq %edx,%rdx
  call   <__CrestApply2@plt>
  mov    %rbp,%rsi
  mov    $0x132,%edi
  xor    %eax,%eax
  call   <__CrestStore@plt>
  mov    0x1c(%rsp),%eax
  add    $0x1,%eax
  mov    %eax,0x1c(%rsp)
  jmp    L5
  nopw   0x0(%rax,%rax,1)
L112:
  mov    $0x1,%edx
  mov    $0x4c,%esi
  mov    $0xfe,%edi
  xor    %eax,%eax
  call   <__CrestBranch@plt>
  movslq 0x1c(%rsp),%rax
  mov    $0x102,%edi
  shl    $0x2,%rax
  lea    (%rbx,%rax,1),%rcx
  lea    0x4(%rbx,%rax,1),%r15
  xor    %eax,%eax
  movslq (%rcx),%rdx
  mov    %rcx,%rsi
  mov    %rcx,(%rsp)
  call   <__CrestLoad@plt>
  movslq (%r15),%rdx
  mov    %r15,%rsi
  mov    $0x101,%edi
  xor    %eax,%eax
  call   <__CrestLoad@plt>
  mov    (%rsp),%rcx
  mov    (%r15),%eax
  xor    %edx,%edx
  mov    $0x10,%esi
  mov    $0x100,%edi
  cmp    %eax,(%rcx)
  setl   %dl
  xor    %eax,%eax
  call   <__CrestApply2@plt>
  mov    (%rsp),%rcx
  mov    (%r15),%eax
  cmp    %eax,(%rcx)
  jge    L33
  mov    $0x1,%edx
  mov    $0x4f,%esi
  mov    $0x103,%edi
  xor    %eax,%eax
  call   <__CrestBranch@plt>
  movslq 0x1c(%rsp),%rdx
  mov    %rbp,%rsi
  xor    %eax,%eax
  mov    $0x107,%edi
  call   <__CrestLoad@plt>
  mov    $0x1,%edx
  xor    %esi,%esi
  xor    %eax,%eax
  mov    $0x106,%edi
  call   <__CrestLoad@plt>
  mov    0x1c(%rsp),%eax
  xor    %esi,%esi
  mov    $0x105,%edi
  lea    0x1(%rax),%edx
  xor    %eax,%eax
  movslq %edx,%rdx
  call   <__CrestApply2@plt>
  mov    %rbp,%rsi
  mov    $0x108,%edi
  xor    %eax,%eax
  call   <__CrestStore@plt>
  mov    0x1c(%rsp),%eax
  add    $0x1,%eax
  mov    %eax,0x1c(%rsp)
  jmp    L65
  nopw   0x0(%rax,%rax,1)
L132:
  xor    %edx,%edx
  mov    $0x64,%esi
  mov    $0x137,%edi
  xor    %eax,%eax
  call   <__CrestBranch@plt>
  movslq 0xc(%rsp),%rdx
  mov    %r12,%rsi
  xor    %eax,%eax
  mov    $0x142,%edi
  call   <__CrestLoad@plt>
  mov    %rbp,%rsi
  mov    $0x143,%edi
  xor    %eax,%eax
  call   <__CrestStore@plt>
  mov    0xc(%rsp),%eax
  mov    %eax,0x1c(%rsp)
  movslq 0x20(%rsp),%rax
  jmp    L36
L128:
  xor    %edx,%edx
  mov    $0x56,%esi
  mov    $0x10d,%edi
  xor    %eax,%eax
  call   <__CrestBranch@plt>
  movslq 0xc(%rsp),%rdx
  mov    %r12,%rsi
  xor    %eax,%eax
  mov    $0x118,%edi
  call   <__CrestLoad@plt>
  mov    %rbp,%rsi
  mov    $0x119,%edi
  xor    %eax,%eax
  call   <__CrestStore@plt>
  mov    0xc(%rsp),%edx
  mov    %edx,0x1c(%rsp)
  jmp    L48
  nopl   0x0(%rax,%rax,1)
L33:
  xor    %edx,%edx
  mov    $0x50,%esi
  mov    $0x104,%edi
  xor    %eax,%eax
  call   <__CrestBranch@plt>
  mov    0x1c(%rsp),%eax
  jmp    L65
  nopl   0x0(%rax)
L115:
  xor    %edx,%edx
  mov    $0x5e,%esi
  mov    $0x12e,%edi
  xor    %eax,%eax
  call   <__CrestBranch@plt>
  mov    0x1c(%rsp),%eax
  jmp    L5
L43:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void adjust(int *a, int n) {
  int i;
  int j;
  int item;
  int *mem_6;
  int *mem_7;
  int *mem_8;
  int *mem_9;
  int *mem_10;
  int *mem_11;
  int *mem_12;
  int *mem_13;
  int *mem_14;
  int *mem_15;
  int *mem_16;
  int *mem_17;
  {
    __CrestCall(229, 4);
    __CrestStore(228, (unsigned long)(&n));
    __CrestLoad(230, (unsigned long)0, (long long)0);
    __CrestStore(231, (unsigned long)(&j));
    j = 0;
    mem_6 = a + j;
    __CrestLoad(232, (unsigned long)mem_6, (long long)*mem_6);
    __CrestStore(233, (unsigned long)(&item));
    item = *mem_6;
    __CrestLoad(238, (unsigned long)0, (long long)2);
    __CrestLoad(237, (unsigned long)(&j), (long long)j);
    __CrestApply2(236, 2, (long long)(2 * j));
    __CrestLoad(235, (unsigned long)0, (long long)1);
    __CrestApply2(234, 0, (long long)(2 * j + 1));
    __CrestStore(239, (unsigned long)(&i));
    i = 2 * j + 1;
    {
      {
        __CrestLoad(244, (unsigned long)(&i), (long long)i);
        __CrestLoad(243, (unsigned long)(&n), (long long)n);
        __CrestLoad(242, (unsigned long)0, (long long)1);
        __CrestApply2(241, 1, (long long)(n - 1));
        __CrestApply2(240, 15, (long long)(i <= n - 1));
        if (i <= n - 1) {
          __CrestBranch(245, 75, 1);
          {
            __CrestLoad(253, (unsigned long)(&i), (long long)i);
            __CrestLoad(252, (unsigned long)0, (long long)1);
            __CrestApply2(251, 0, (long long)(i + 1));
            __CrestLoad(250, (unsigned long)(&n), (long long)n);
            __CrestLoad(249, (unsigned long)0, (long long)1);
            __CrestApply2(248, 1, (long long)(n - 1));
            __CrestApply2(247, 15, (long long)(i + 1 <= n - 1));
            if (i + 1 <= n - 1) {
              __CrestBranch(254, 76, 1);
              {
                mem_7 = a + i;
                mem_8 = a + (i + 1);
                {
                  __CrestLoad(258, (unsigned long)mem_7, (long long)*mem_7);
                  __CrestLoad(257, (unsigned long)mem_8, (long long)*mem_8);
                  __CrestApply2(256, 16, (long long)(*mem_7 < *mem_8));
                  if (*mem_7 < *mem_8) {
                    __CrestBranch(259, 79, 1);
                    __CrestLoad(263, (unsigned long)(&i), (long long)i);
                    __CrestLoad(262, (unsigned long)0, (long long)1);
                    __CrestApply2(261, 0, (long long)(i + 1));
                    __CrestStore(264, (unsigned long)(&i));
                    i++;
                  } else {
                    __CrestBranch(260, 80, 0);
                  }
                }
              }
            } else {
              __CrestBranch(255, 81, 0);
            }
          }
          {
            mem_9 = a + i;
            {
              __CrestLoad(267, (unsigned long)(&item), (long long)item);
              __CrestLoad(266, (unsigned long)mem_9, (long long)*mem_9);
              __CrestApply2(265, 16, (long long)(item < *mem_9));
              if (item < *mem_9) {
                __CrestBranch(268, 85, 1);
                mem_10 = a + j;
                mem_11 = a + i;
                __CrestLoad(270, (unsigned long)mem_11, (long long)*mem_11);
                __CrestStore(271, (unsigned long)mem_10);
                *mem_10 = *mem_11;
                __CrestLoad(272, (unsigned long)(&i), (long long)i);
                __CrestStore(273, (unsigned long)(&j));
                j = i;
                __CrestLoad(278, (unsigned long)0, (long long)2);
                __CrestLoad(277, (unsigned long)(&j), (long long)j);
                __CrestApply2(276, 2, (long long)(2 * j));
                __CrestLoad(275, (unsigned long)0, (long long)1);
                __CrestApply2(274, 0, (long long)(2 * j + 1));
                __CrestStore(279, (unsigned long)(&i));
                i = 2 * j + 1;
              } else {
                __CrestBranch(269, 86, 0);
                __CrestLoad(280, (unsigned long)(&n), (long long)n);
                __CrestStore(281, (unsigned long)(&i));
                i = n;
              }
            }
          }
        } else {
          __CrestBranch(246, 87, 0);
        }
      }
      {
        __CrestLoad(286, (unsigned long)(&i), (long long)i);
        __CrestLoad(285, (unsigned long)(&n), (long long)n);
        __CrestLoad(284, (unsigned long)0, (long long)1);
        __CrestApply2(283, 1, (long long)(n - 1));
        __CrestApply2(282, 15, (long long)(i <= n - 1));
        if (i <= n - 1) {
          __CrestBranch(287, 89, 1);
          {
            __CrestLoad(295, (unsigned long)(&i), (long long)i);
            __CrestLoad(294, (unsigned long)0, (long long)1);
            __CrestApply2(293, 0, (long long)(i + 1));
            __CrestLoad(292, (unsigned long)(&n), (long long)n);
            __CrestLoad(291, (unsigned long)0, (long long)1);
            __CrestApply2(290, 1, (long long)(n - 1));
            __CrestApply2(289, 15, (long long)(i + 1 <= n - 1));
            if (i + 1 <= n - 1) {
              __CrestBranch(296, 90, 1);
              {
                mem_12 = a + i;
                mem_13 = a + (i + 1);
                {
                  __CrestLoad(300, (unsigned long)mem_12, (long long)*mem_12);
                  __CrestLoad(299, (unsigned long)mem_13, (long long)*mem_13);
                  __CrestApply2(298, 16, (long long)(*mem_12 < *mem_13));
                  if (*mem_12 < *mem_13) {
                    __CrestBranch(301, 93, 1);
                    __CrestLoad(305, (unsigned long)(&i), (long long)i);
                    __CrestLoad(304, (unsigned long)0, (long long)1);
                    __CrestApply2(303, 0, (long long)(i + 1));
                    __CrestStore(306, (unsigned long)(&i));
                    i++;
                  } else {
                    __CrestBranch(302, 94, 0);
                  }
                }
              }
            } else {
              __CrestBranch(297, 95, 0);
            }
          }
          {
            mem_14 = a + i;
            {
              __CrestLoad(309, (unsigned long)(&item), (long long)item);
              __CrestLoad(308, (unsigned long)mem_14, (long long)*mem_14);
              __CrestApply2(307, 16, (long long)(item < *mem_14));
              if (item < *mem_14) {
                __CrestBranch(310, 99, 1);
                mem_15 = a + j;
                mem_16 = a + i;
                __CrestLoad(312, (unsigned long)mem_16, (long long)*mem_16);
                __CrestStore(313, (unsigned long)mem_15);
                *mem_15 = *mem_16;
                __CrestLoad(314, (unsigned long)(&i), (long long)i);
                __CrestStore(315, (unsigned long)(&j));
                j = i;
                __CrestLoad(320, (unsigned long)0, (long long)2);
                __CrestLoad(319, (unsigned long)(&j), (long long)j);
                __CrestApply2(318, 2, (long long)(2 * j));
                __CrestLoad(317, (unsigned long)0, (long long)1);
                __CrestApply2(316, 0, (long long)(2 * j + 1));
                __CrestStore(321, (unsigned long)(&i));
                i = 2 * j + 1;
              } else {
                __CrestBranch(311, 100, 0);
                __CrestLoad(322, (unsigned long)(&n), (long long)n);
                __CrestStore(323, (unsigned long)(&i));
                i = n;
              }
            }
          }
        } else {
          __CrestBranch(288, 101, 0);
        }
      }
    }
    mem_17 = a + j;
    __CrestLoad(324, (unsigned long)(&item), (long long)item);
    __CrestStore(325, (unsigned long)mem_17);
    *mem_17 = item;
    {
      __CrestReturn(326);
      return;
    }
  }
}
```