user: 这段汇编代码用C语言表示是什么样的:

```asm
<ss_swapmerge>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x480,%rsp
  mov    %rdi,-0x458(%rbp)
  mov    %rsi,-0x460(%rbp)
  mov    %rdx,-0x468(%rbp)
  mov    %rcx,-0x470(%rbp)
  mov    %r8,-0x478(%rbp)
  mov    %r9,-0x480(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x438(%rbp)
  movl   $0x0,-0x43c(%rbp)
L22:
  mov    -0x478(%rbp),%rax
  sub    -0x470(%rbp),%rax
  sar    $0x2,%rax
  mov    %rax,%rdx
  mov    0x10(%rbp),%eax
  cltq
  cmp    %rax,%rdx
  jg     L64
  mov    -0x468(%rbp),%rax
  cmp    -0x470(%rbp),%rax
  jae    L276
  mov    -0x470(%rbp),%rax
  cmp    -0x478(%rbp),%rax
  jae    L276
  mov    -0x480(%rbp),%r9
  mov    -0x478(%rbp),%r8
  mov    -0x470(%rbp),%rcx
  mov    -0x468(%rbp),%rdx
  mov    -0x460(%rbp),%rsi
  mov    -0x458(%rbp),%rax
  sub    $0x8,%rsp
  mov    0x18(%rbp),%edi
  push   %rdi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <ss_mergebackward@plt>
  add    $0x10,%rsp
L276:
  mov    -0x438(%rbp),%eax
  and    $0x1,%eax
  test   %eax,%eax
  jne    L597
  mov    -0x438(%rbp),%eax
  and    $0x2,%eax
  test   %eax,%eax
  je     L409
  mov    -0x468(%rbp),%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x460(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  mov    -0x468(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  test   %eax,%eax
  js     L329
  mov    -0x468(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%rax
  jmp    L105
L329:
  mov    -0x468(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  not    %eax
  cltq
  shl    $0x2,%rax
L105:
  mov    -0x460(%rbp),%rdx
  lea    (%rax,%rdx,1),%rsi
  mov    0x18(%rbp),%edx
  mov    -0x458(%rbp),%rax
  mov    %edx,%ecx
  mov    %rdi,%rdx
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <ss_compare@plt>
  test   %eax,%eax
  jne    L409
L597:
  mov    -0x468(%rbp),%rax
  mov    (%rax),%eax
  not    %eax
  mov    %eax,%edx
  mov    -0x468(%rbp),%rax
  mov    %edx,(%rax)
L409:
  mov    -0x438(%rbp),%eax
  and    $0x4,%eax
  test   %eax,%eax
  je     L128
  mov    -0x478(%rbp),%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x460(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  mov    -0x478(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  test   %eax,%eax
  js     L141
  mov    -0x478(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%rax
  jmp    L78
L141:
  mov    -0x478(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  not    %eax
  cltq
  shl    $0x2,%rax
L78:
  mov    -0x460(%rbp),%rdx
  lea    (%rax,%rdx,1),%rsi
  mov    0x18(%rbp),%edx
  mov    -0x458(%rbp),%rax
  mov    %edx,%ecx
  mov    %rdi,%rdx
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <ss_compare@plt>
  test   %eax,%eax
  jne    L128
  mov    -0x478(%rbp),%rax
  mov    (%rax),%eax
  not    %eax
  mov    %eax,%edx
  mov    -0x478(%rbp),%rax
  mov    %edx,(%rax)
L128:
  mov    -0x43c(%rbp),%eax
  not    %eax
  shr    $0x1f,%eax
  movzbl %al,%eax
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  cmpl   $0x0,-0x43c(%rbp)
  je     L383
  subl   $0x1,-0x43c(%rbp)
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0x410,%rax
  mov    (%rax),%rax
  mov    %rax,-0x468(%rbp)
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0x408,%rax
  mov    (%rax),%rax
  mov    %rax,-0x470(%rbp)
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0x400,%rax
  mov    (%rax),%rax
  mov    %rax,-0x478(%rbp)
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0x3f8,%rax
  mov    (%rax),%eax
  mov    %eax,-0x438(%rbp)
  jmp    L104
L64:
  mov    -0x470(%rbp),%rax
  sub    -0x468(%rbp),%rax
  sar    $0x2,%rax
  mov    %rax,%rdx
  mov    0x10(%rbp),%eax
  cltq
  cmp    %rax,%rdx
  jg     L286
  mov    -0x468(%rbp),%rax
  cmp    -0x470(%rbp),%rax
  jae    L319
  mov    -0x480(%rbp),%r9
  mov    -0x478(%rbp),%r8
  mov    -0x470(%rbp),%rcx
  mov    -0x468(%rbp),%rdx
  mov    -0x460(%rbp),%rsi
  mov    -0x458(%rbp),%rax
  sub    $0x8,%rsp
  mov    0x18(%rbp),%edi
  push   %rdi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <ss_mergeforward@plt>
  add    $0x10,%rsp
L319:
  mov    -0x438(%rbp),%eax
  and    $0x1,%eax
  test   %eax,%eax
  jne    L344
  mov    -0x438(%rbp),%eax
  and    $0x2,%eax
  test   %eax,%eax
  je     L192
  mov    -0x468(%rbp),%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x460(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  mov    -0x468(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  test   %eax,%eax
  js     L222
  mov    -0x468(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%rax
  jmp    L482
L222:
  mov    -0x468(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  not    %eax
  cltq
  shl    $0x2,%rax
L482:
  mov    -0x460(%rbp),%rdx
  lea    (%rax,%rdx,1),%rsi
  mov    0x18(%rbp),%edx
  mov    -0x458(%rbp),%rax
  mov    %edx,%ecx
  mov    %rdi,%rdx
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <ss_compare@plt>
  test   %eax,%eax
  jne    L192
L344:
  mov    -0x468(%rbp),%rax
  mov    (%rax),%eax
  not    %eax
  mov    %eax,%edx
  mov    -0x468(%rbp),%rax
  mov    %edx,(%rax)
L192:
  mov    -0x438(%rbp),%eax
  and    $0x4,%eax
  test   %eax,%eax
  je     L200
  mov    -0x478(%rbp),%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x460(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  mov    -0x478(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  test   %eax,%eax
  js     L151
  mov    -0x478(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%rax
  jmp    L24
L151:
  mov    -0x478(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  not    %eax
  cltq
  shl    $0x2,%rax
L24:
  mov    -0x460(%rbp),%rdx
  lea    (%rax,%rdx,1),%rsi
  mov    0x18(%rbp),%edx
  mov    -0x458(%rbp),%rax
  mov    %edx,%ecx
  mov    %rdi,%rdx
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <ss_compare@plt>
  test   %eax,%eax
  jne    L200
  mov    -0x478(%rbp),%rax
  mov    (%rax),%eax
  not    %eax
  mov    %eax,%edx
  mov    -0x478(%rbp),%rax
  mov    %edx,(%rax)
L200:
  mov    -0x43c(%rbp),%eax
  not    %eax
  shr    $0x1f,%eax
  movzbl %al,%eax
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  cmpl   $0x0,-0x43c(%rbp)
  je     L378
  subl   $0x1,-0x43c(%rbp)
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0x410,%rax
  mov    (%rax),%rax
  mov    %rax,-0x468(%rbp)
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0x408,%rax
  mov    (%rax),%rax
  mov    %rax,-0x470(%rbp)
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0x400,%rax
  mov    (%rax),%rax
  mov    %rax,-0x478(%rbp)
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0x3f8,%rax
  mov    (%rax),%eax
  mov    %eax,-0x438(%rbp)
  jmp    L104
L286:
  movl   $0x0,-0x448(%rbp)
  mov    -0x470(%rbp),%rax
  sub    -0x468(%rbp),%rax
  mov    %rax,%rdx
  mov    -0x478(%rbp),%rax
  sub    -0x470(%rbp),%rax
  cmp    %rax,%rdx
  jge    L166
  mov    -0x470(%rbp),%rax
  sub    -0x468(%rbp),%rax
  sar    $0x2,%rax
  jmp    L311
L166:
  mov    -0x478(%rbp),%rax
  sub    -0x470(%rbp),%rax
  sar    $0x2,%rax
L311:
  mov    %eax,-0x444(%rbp)
  mov    -0x444(%rbp),%eax
  sar    %eax
  mov    %eax,-0x440(%rbp)
  jmp    L446
L190:
  mov    -0x448(%rbp),%eax
  cltq
  shl    $0x2,%rax
  neg    %rax
  mov    %rax,%rdx
  mov    -0x440(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    %rdx,%rax
  sub    %rcx,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x470(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  test   %eax,%eax
  js     L395
  mov    -0x448(%rbp),%eax
  cltq
  shl    $0x2,%rax
  neg    %rax
  mov    %rax,%rdx
  mov    -0x440(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    %rdx,%rax
  sub    %rcx,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x470(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%rax
  jmp    L589
L395:
  mov    -0x448(%rbp),%eax
  cltq
  shl    $0x2,%rax
  neg    %rax
  mov    %rax,%rdx
  mov    -0x440(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    %rdx,%rax
  sub    %rcx,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x470(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  not    %eax
  cltq
  shl    $0x2,%rax
L589:
  mov    -0x460(%rbp),%rdx
  lea    (%rax,%rdx,1),%rdi
  mov    -0x448(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x440(%rbp),%eax
  cltq
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x470(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  test   %eax,%eax
  js     L143
  mov    -0x448(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x440(%rbp),%eax
  cltq
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x470(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%rax
  jmp    L59
L143:
  mov    -0x448(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x440(%rbp),%eax
  cltq
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x470(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  not    %eax
  cltq
  shl    $0x2,%rax
L59:
  mov    -0x460(%rbp),%rdx
  lea    (%rax,%rdx,1),%rsi
  mov    0x18(%rbp),%edx
  mov    -0x458(%rbp),%rax
  mov    %edx,%ecx
  mov    %rdi,%rdx
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <ss_compare@plt>
  test   %eax,%eax
  jns    L97
  mov    -0x440(%rbp),%eax
  add    $0x1,%eax
  add    %eax,-0x448(%rbp)
  mov    -0x444(%rbp),%eax
  and    $0x1,%eax
  test   %eax,%eax
  sete   %al
  movzbl %al,%eax
  sub    %eax,-0x440(%rbp)
L97:
  mov    -0x440(%rbp),%eax
  mov    %eax,-0x444(%rbp)
  sarl   -0x440(%rbp)
L446:
  cmpl   $0x0,-0x444(%rbp)
  jg     L190
  cmpl   $0x0,-0x448(%rbp)
  jle    L440
  mov    -0x448(%rbp),%eax
  cltq
  shl    $0x2,%rax
  neg    %rax
  mov    %rax,%rdx
  mov    -0x470(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x420(%rbp)
  mov    -0x448(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x470(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x418(%rbp)
  mov    -0x448(%rbp),%edx
  mov    -0x470(%rbp),%rcx
  mov    -0x420(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <ss_blockswap@plt>
  mov    -0x470(%rbp),%rax
  mov    %rax,-0x428(%rbp)
  mov    -0x428(%rbp),%rax
  mov    %rax,-0x430(%rbp)
  movl   $0x0,-0x434(%rbp)
  mov    -0x418(%rbp),%rax
  cmp    -0x478(%rbp),%rax
  jae    L149
  mov    -0x418(%rbp),%rax
  mov    (%rax),%eax
  test   %eax,%eax
  jns    L29
  mov    -0x418(%rbp),%rax
  mov    (%rax),%eax
  not    %eax
  mov    %eax,%edx
  mov    -0x418(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x468(%rbp),%rax
  cmp    -0x420(%rbp),%rax
  jae    L271
  nop
L473:
  subq   $0x4,-0x430(%rbp)
  mov    -0x430(%rbp),%rax
  mov    (%rax),%eax
  test   %eax,%eax
  js     L473
  orl    $0x4,-0x434(%rbp)
L271:
  orl    $0x1,-0x434(%rbp)
  jmp    L149
L29:
  mov    -0x468(%rbp),%rax
  cmp    -0x420(%rbp),%rax
  jae    L149
  jmp    L462
L272:
  addq   $0x4,-0x428(%rbp)
L462:
  mov    -0x428(%rbp),%rax
  mov    (%rax),%eax
  test   %eax,%eax
  js     L272
  orl    $0x2,-0x434(%rbp)
L149:
  mov    -0x430(%rbp),%rax
  sub    -0x468(%rbp),%rax
  mov    %rax,%rdx
  mov    -0x478(%rbp),%rax
  sub    -0x428(%rbp),%rax
  cmp    %rax,%rdx
  jg     L1
  cmpl   $0x1f,-0x43c(%rbp)
  setle  %al
  movzbl %al,%eax
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  lea    -0x410(%rax),%rdx
  mov    -0x428(%rbp),%rax
  mov    %rax,(%rdx)
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  lea    -0x408(%rax),%rdx
  mov    -0x418(%rbp),%rax
  mov    %rax,(%rdx)
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  lea    -0x400(%rax),%rdx
  mov    -0x478(%rbp),%rax
  mov    %rax,(%rdx)
  mov    -0x434(%rbp),%eax
  and    $0x3,%eax
  mov    %eax,%esi
  mov    -0x438(%rbp),%eax
  and    $0x4,%eax
  mov    %eax,%ecx
  mov    -0x43c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x43c(%rbp)
  or     %ecx,%esi
  mov    %esi,%edx
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0x3f8,%rax
  mov    %edx,(%rax)
  mov    -0x420(%rbp),%rax
  mov    %rax,-0x470(%rbp)
  mov    -0x430(%rbp),%rax
  mov    %rax,-0x478(%rbp)
  mov    -0x438(%rbp),%eax
  and    $0x3,%eax
  mov    %eax,%edx
  mov    -0x434(%rbp),%eax
  and    $0x4,%eax
  or     %edx,%eax
  mov    %eax,-0x438(%rbp)
  jmp    L22
L1:
  mov    -0x434(%rbp),%eax
  and    $0x2,%eax
  test   %eax,%eax
  je     L655
  mov    -0x428(%rbp),%rax
  cmp    -0x470(%rbp),%rax
  jne    L655
  xorl   $0x6,-0x434(%rbp)
L655:
  cmpl   $0x1f,-0x43c(%rbp)
  setle  %al
  movzbl %al,%eax
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  lea    -0x410(%rax),%rdx
  mov    -0x468(%rbp),%rax
  mov    %rax,(%rdx)
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  lea    -0x408(%rax),%rdx
  mov    -0x420(%rbp),%rax
  mov    %rax,(%rdx)
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  lea    -0x400(%rax),%rdx
  mov    -0x430(%rbp),%rax
  mov    %rax,(%rdx)
  mov    -0x438(%rbp),%eax
  and    $0x3,%eax
  mov    %eax,%esi
  mov    -0x434(%rbp),%eax
  and    $0x4,%eax
  mov    %eax,%ecx
  mov    -0x43c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x43c(%rbp)
  or     %ecx,%esi
  mov    %esi,%edx
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0x3f8,%rax
  mov    %edx,(%rax)
  mov    -0x428(%rbp),%rax
  mov    %rax,-0x468(%rbp)
  mov    -0x418(%rbp),%rax
  mov    %rax,-0x470(%rbp)
  mov    -0x434(%rbp),%eax
  and    $0x3,%eax
  mov    %eax,%edx
  mov    -0x438(%rbp),%eax
  and    $0x4,%eax
  or     %edx,%eax
  mov    %eax,-0x438(%rbp)
  jmp    L22
L440:
  mov    -0x470(%rbp),%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x460(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  mov    -0x470(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  test   %eax,%eax
  js     L645
  mov    -0x470(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%rax
  jmp    L652
L645:
  mov    -0x470(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  not    %eax
  cltq
  shl    $0x2,%rax
L652:
  mov    -0x460(%rbp),%rdx
  lea    (%rax,%rdx,1),%rsi
  mov    0x18(%rbp),%edx
  mov    -0x458(%rbp),%rax
  mov    %edx,%ecx
  mov    %rdi,%rdx
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <ss_compare@plt>
  test   %eax,%eax
  jne    L211
  mov    -0x470(%rbp),%rax
  mov    (%rax),%eax
  not    %eax
  mov    %eax,%edx
  mov    -0x470(%rbp),%rax
  mov    %edx,(%rax)
L211:
  mov    -0x438(%rbp),%eax
  and    $0x1,%eax
  test   %eax,%eax
  jne    L228
  mov    -0x438(%rbp),%eax
  and    $0x2,%eax
  test   %eax,%eax
  je     L352
  mov    -0x468(%rbp),%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x460(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  mov    -0x468(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  test   %eax,%eax
  js     L127
  mov    -0x468(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%rax
  jmp    L427
L127:
  mov    -0x468(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  not    %eax
  cltq
  shl    $0x2,%rax
L427:
  mov    -0x460(%rbp),%rdx
  lea    (%rax,%rdx,1),%rsi
  mov    0x18(%rbp),%edx
  mov    -0x458(%rbp),%rax
  mov    %edx,%ecx
  mov    %rdi,%rdx
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <ss_compare@plt>
  test   %eax,%eax
  jne    L352
L228:
  mov    -0x468(%rbp),%rax
  mov    (%rax),%eax
  not    %eax
  mov    %eax,%edx
  mov    -0x468(%rbp),%rax
  mov    %edx,(%rax)
L352:
  mov    -0x438(%rbp),%eax
  and    $0x4,%eax
  test   %eax,%eax
  je     L158
  mov    -0x478(%rbp),%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x460(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  mov    -0x478(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  test   %eax,%eax
  js     L77
  mov    -0x478(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%rax
  jmp    L255
L77:
  mov    -0x478(%rbp),%rax
  sub    $0x4,%rax
  mov    (%rax),%eax
  not    %eax
  cltq
  shl    $0x2,%rax
L255:
  mov    -0x460(%rbp),%rdx
  lea    (%rax,%rdx,1),%rsi
  mov    0x18(%rbp),%edx
  mov    -0x458(%rbp),%rax
  mov    %edx,%ecx
  mov    %rdi,%rdx
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <ss_compare@plt>
  test   %eax,%eax
  jne    L158
  mov    -0x478(%rbp),%rax
  mov    (%rax),%eax
  not    %eax
  mov    %eax,%edx
  mov    -0x478(%rbp),%rax
  mov    %edx,(%rax)
L158:
  mov    -0x43c(%rbp),%eax
  not    %eax
  shr    $0x1f,%eax
  movzbl %al,%eax
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  cmpl   $0x0,-0x43c(%rbp)
  je     L405
  subl   $0x1,-0x43c(%rbp)
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0x410,%rax
  mov    (%rax),%rax
  mov    %rax,-0x468(%rbp)
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0x408,%rax
  mov    (%rax),%rax
  mov    %rax,-0x470(%rbp)
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0x400,%rax
  mov    (%rax),%rax
  mov    %rax,-0x478(%rbp)
  mov    -0x43c(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0x3f8,%rax
  mov    (%rax),%eax
  mov    %eax,-0x438(%rbp)
L104:
  jmp    L22
L383:
  nop
  jmp    L146
L378:
  nop
  jmp    L146
L405:
  nop
L146:
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L277
  call   <__stack_chk_fail@plt>
L277:
  leave
  ret
```

assistant: ```c
void ss_swapmerge(const unsigned char *T, const int *PA, int *first, int *middle, int *last, int *buf, int bufsize, int depth) {
  struct {
    int *a, *b, *c;
    int d;
  } stack[(32)];
  int *l, *r, *lm, *rm;
  int m, len, half;
  int ssize;
  int check, next;
  for (check = 0, ssize = 0;;) {
    if ((last - middle) <= bufsize) {
      if ((first < middle) && (middle < last)) {
        ss_mergebackward(T, PA, first, middle, last, buf, depth);
      }
      do {
        if (((check)&1) || (((check)&2) && (ss_compare(T, PA + ((0 <= (*((first)-1))) ? (*((first)-1)) : (~(*((first)-1)))), PA + *(first), depth) == 0))) {
          *(first) = ~*(first);
        }
        if (((check)&4) && ((ss_compare(T, PA + ((0 <= (*((last)-1))) ? (*((last)-1)) : (~(*((last)-1)))), PA + *(last), depth) == 0))) {
          *(last) = ~*(last);
        }
      } while (0);
      do {
        assert(0 <= ssize);
        if (ssize == 0) {
          return;
        }
        (first) = stack[--ssize].a, (middle) = stack[ssize].b, (last) = stack[ssize].c, (check) = stack[ssize].d;
      } while (0);
      continue;
    }
    if ((middle - first) <= bufsize) {
      if (first < middle) {
        ss_mergeforward(T, PA, first, middle, last, buf, depth);
      }
      do {
        if (((check)&1) || (((check)&2) && (ss_compare(T, PA + ((0 <= (*((first)-1))) ? (*((first)-1)) : (~(*((first)-1)))), PA + *(first), depth) == 0))) {
          *(first) = ~*(first);
        }
        if (((check)&4) && ((ss_compare(T, PA + ((0 <= (*((last)-1))) ? (*((last)-1)) : (~(*((last)-1)))), PA + *(last), depth) == 0))) {
          *(last) = ~*(last);
        }
      } while (0);
      do {
        assert(0 <= ssize);
        if (ssize == 0) {
          return;
        }
        (first) = stack[--ssize].a, (middle) = stack[ssize].b, (last) = stack[ssize].c, (check) = stack[ssize].d;
      } while (0);
      continue;
    }
    for (m = 0, len = (((middle - first) < (last - middle)) ? (middle - first) : (last - middle)), half = len >> 1; 0 < len; len = half, half >>= 1) {
      if (ss_compare(T, PA + ((0 <= (*(middle + m + half))) ? (*(middle + m + half)) : (~(*(middle + m + half)))), PA + ((0 <= (*(middle - m - half - 1))) ? (*(middle - m - half - 1)) : (~(*(middle - m - half - 1)))), depth) < 0) {
        m += half + 1;
        half -= (len & 1) ^ 1;
      }
    }
    if (0 < m) {
      lm = middle - m, rm = middle + m;
      ss_blockswap(lm, middle, m);
      l = r = middle, next = 0;
      if (rm < last) {
        if (*rm < 0) {
          *rm = ~*rm;
          if (first < lm) {
            for (; *--l < 0;) {
            }
            next |= 4;
          }
          next |= 1;
        } else if (first < lm) {
          for (; *r < 0; ++r) {
          }
          next |= 2;
        }
      }
      if ((l - first) <= (last - r)) {
        do {
          assert(ssize < (32));
          stack[ssize].a = (r), stack[ssize].b = (rm), stack[ssize].c = (last), stack[ssize++].d = ((next & 3) | (check & 4));
        } while (0);
        middle = lm, last = l, check = (check & 3) | (next & 4);
      } else {
        if ((next & 2) && (r == middle)) {
          next ^= 6;
        }
        do {
          assert(ssize < (32));
          stack[ssize].a = (first), stack[ssize].b = (lm), stack[ssize].c = (l), stack[ssize++].d = ((check & 3) | (next & 4));
        } while (0);
        first = r, middle = rm, check = (next & 3) | (check & 4);
      }
    } else {
      if (ss_compare(T, PA + ((0 <= (*(middle - 1))) ? (*(middle - 1)) : (~(*(middle - 1)))), PA + *middle, depth) == 0) {
        *middle = ~*middle;
      }
      do {
        if (((check)&1) || (((check)&2) && (ss_compare(T, PA + ((0 <= (*((first)-1))) ? (*((first)-1)) : (~(*((first)-1)))), PA + *(first), depth) == 0))) {
          *(first) = ~*(first);
        }
        if (((check)&4) && ((ss_compare(T, PA + ((0 <= (*((last)-1))) ? (*((last)-1)) : (~(*((last)-1)))), PA + *(last), depth) == 0))) {
          *(last) = ~*(last);
        }
      } while (0);
      do {
        assert(0 <= ssize);
        if (ssize == 0) {
          return;
        }
        (first) = stack[--ssize].a, (middle) = stack[ssize].b, (last) = stack[ssize].c, (check) = stack[ssize].d;
      } while (0);
    }
  }
}
```