user: 提供的汇编代码用C语言表示会是什么样子：

```asm
<tce_sortacc_6_scalar>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x130,%rsp
  mov    %rdi,-0x108(%rbp)
  mov    %rsi,-0x110(%rbp)
  mov    %edx,-0x114(%rbp)
  mov    %ecx,-0x118(%rbp)
  mov    %r8d,-0x11c(%rbp)
  mov    %r9d,-0x120(%rbp)
  movsd  %xmm0,-0x128(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x114(%rbp),%eax
  mov    %eax,-0x40(%rbp)
  mov    -0x118(%rbp),%eax
  mov    %eax,-0x3c(%rbp)
  mov    -0x11c(%rbp),%eax
  mov    %eax,-0x38(%rbp)
  mov    -0x120(%rbp),%eax
  mov    %eax,-0x34(%rbp)
  mov    0x10(%rbp),%eax
  mov    %eax,-0x30(%rbp)
  mov    0x18(%rbp),%eax
  mov    %eax,-0x2c(%rbp)
  mov    -0x118(%rbp),%eax
  imul   -0x11c(%rbp),%eax
  imul   -0x120(%rbp),%eax
  imul   0x10(%rbp),%eax
  imul   0x18(%rbp),%eax
  mov    %eax,-0x20(%rbp)
  mov    -0x11c(%rbp),%eax
  imul   -0x120(%rbp),%eax
  imul   0x10(%rbp),%eax
  imul   0x18(%rbp),%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x120(%rbp),%eax
  imul   0x10(%rbp),%eax
  imul   0x18(%rbp),%eax
  mov    %eax,-0x18(%rbp)
  mov    0x10(%rbp),%eax
  imul   0x18(%rbp),%eax
  mov    %eax,-0x14(%rbp)
  mov    0x18(%rbp),%eax
  mov    %eax,-0x10(%rbp)
  movl   $0x1,-0xc(%rbp)
  mov    0x20(%rbp),%eax
  cltq
  mov    -0x40(%rbp,%rax,4),%eax
  mov    %eax,-0xd0(%rbp)
  mov    0x28(%rbp),%eax
  cltq
  mov    -0x40(%rbp,%rax,4),%eax
  mov    %eax,-0xcc(%rbp)
  mov    0x30(%rbp),%eax
  cltq
  mov    -0x40(%rbp,%rax,4),%eax
  mov    %eax,-0xc8(%rbp)
  mov    0x38(%rbp),%eax
  cltq
  mov    -0x40(%rbp,%rax,4),%eax
  mov    %eax,-0xc4(%rbp)
  mov    0x40(%rbp),%eax
  cltq
  mov    -0x40(%rbp,%rax,4),%eax
  mov    %eax,-0xc0(%rbp)
  mov    0x48(%rbp),%eax
  cltq
  mov    -0x40(%rbp,%rax,4),%eax
  mov    %eax,-0xbc(%rbp)
  mov    0x20(%rbp),%eax
  cltq
  mov    -0x20(%rbp,%rax,4),%eax
  mov    %eax,-0xb8(%rbp)
  mov    0x28(%rbp),%eax
  cltq
  mov    -0x20(%rbp,%rax,4),%eax
  mov    %eax,-0xb4(%rbp)
  mov    0x30(%rbp),%eax
  cltq
  mov    -0x20(%rbp,%rax,4),%eax
  mov    %eax,-0xb0(%rbp)
  mov    0x38(%rbp),%eax
  cltq
  mov    -0x20(%rbp,%rax,4),%eax
  mov    %eax,-0xac(%rbp)
  mov    0x40(%rbp),%eax
  cltq
  mov    -0x20(%rbp,%rax,4),%eax
  mov    %eax,-0xa8(%rbp)
  mov    0x48(%rbp),%eax
  cltq
  mov    -0x20(%rbp,%rax,4),%eax
  mov    %eax,-0xa4(%rbp)
  mov    -0xcc(%rbp),%eax
  imul   -0xc8(%rbp),%eax
  imul   -0xc4(%rbp),%eax
  imul   -0xc0(%rbp),%eax
  mov    -0xbc(%rbp),%edx
  imul   %edx,%eax
  mov    %eax,-0xa0(%rbp)
  mov    -0xc8(%rbp),%eax
  imul   -0xc4(%rbp),%eax
  imul   -0xc0(%rbp),%eax
  mov    -0xbc(%rbp),%edx
  imul   %edx,%eax
  mov    %eax,-0x9c(%rbp)
  mov    -0xc4(%rbp),%eax
  imul   -0xc0(%rbp),%eax
  mov    -0xbc(%rbp),%edx
  imul   %edx,%eax
  mov    %eax,-0x98(%rbp)
  mov    -0xc0(%rbp),%eax
  imul   -0xbc(%rbp),%eax
  mov    %eax,-0x94(%rbp)
  mov    -0xbc(%rbp),%eax
  mov    %eax,-0x90(%rbp)
  movl   $0x1,-0x8c(%rbp)
  cmpl   $0x5,0x48(%rbp)
  jne    L787
  movl   $0x0,-0x100(%rbp)
  jmp    L1183
L508:
  mov    -0x100(%rbp),%eax
  imul   -0xb8(%rbp),%eax
  mov    %eax,-0x88(%rbp)
  mov    -0x100(%rbp),%eax
  imul   -0xa0(%rbp),%eax
  mov    %eax,-0x84(%rbp)
  movl   $0x0,-0xfc(%rbp)
  jmp    L73
L607:
  mov    -0xfc(%rbp),%eax
  imul   -0xb4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x88(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x80(%rbp)
  mov    -0xfc(%rbp),%eax
  imul   -0x9c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x84(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x7c(%rbp)
  movl   $0x0,-0xf8(%rbp)
  jmp    L1156
L458:
  mov    -0xf8(%rbp),%eax
  imul   -0xb0(%rbp),%eax
  mov    %eax,%edx
  mov    -0x80(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x78(%rbp)
  mov    -0xf8(%rbp),%eax
  imul   -0x98(%rbp),%eax
  mov    %eax,%edx
  mov    -0x7c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x74(%rbp)
  movl   $0x0,-0xf4(%rbp)
  jmp    L977
L345:
  mov    -0xf4(%rbp),%eax
  imul   -0xac(%rbp),%eax
  mov    %eax,%edx
  mov    -0x78(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x70(%rbp)
  mov    -0xf4(%rbp),%eax
  imul   -0x94(%rbp),%eax
  mov    %eax,%edx
  mov    -0x74(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x6c(%rbp)
  movl   $0x0,-0xf0(%rbp)
  jmp    L830
L342:
  mov    -0xf0(%rbp),%eax
  imul   -0xa8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x70(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x68(%rbp)
  mov    -0xf0(%rbp),%eax
  imul   -0x90(%rbp),%eax
  mov    %eax,%edx
  mov    -0x6c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x64(%rbp)
  movl   $0x0,-0xec(%rbp)
  jmp    L993
L751:
  mov    -0xec(%rbp),%eax
  imul   -0xa4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x68(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x60(%rbp)
  mov    -0xec(%rbp),%eax
  imul   -0x8c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x64(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x110(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  -0x128(%rbp),%xmm0
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x110(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0xec(%rbp)
L993:
  mov    -0xec(%rbp),%eax
  cmp    -0xbc(%rbp),%eax
  jl     L751
  addl   $0x1,-0xf0(%rbp)
L830:
  mov    -0xf0(%rbp),%eax
  cmp    -0xc0(%rbp),%eax
  jl     L342
  addl   $0x1,-0xf4(%rbp)
L977:
  mov    -0xf4(%rbp),%eax
  cmp    -0xc4(%rbp),%eax
  jl     L345
  addl   $0x1,-0xf8(%rbp)
L1156:
  mov    -0xf8(%rbp),%eax
  cmp    -0xc8(%rbp),%eax
  jl     L458
  addl   $0x1,-0xfc(%rbp)
L73:
  mov    -0xfc(%rbp),%eax
  cmp    -0xcc(%rbp),%eax
  jl     L607
  addl   $0x1,-0x100(%rbp)
L1183:
  mov    -0x100(%rbp),%eax
  cmp    -0xd0(%rbp),%eax
  jl     L508
L787:
  cmpl   $0x5,0x40(%rbp)
  jne    L454
  movl   $0x0,-0x100(%rbp)
  jmp    L1127
L275:
  mov    -0x100(%rbp),%eax
  imul   -0xb8(%rbp),%eax
  mov    %eax,-0x88(%rbp)
  mov    -0x100(%rbp),%eax
  imul   -0xa0(%rbp),%eax
  mov    %eax,-0x84(%rbp)
  movl   $0x0,-0xfc(%rbp)
  jmp    L827
L115:
  mov    -0xfc(%rbp),%eax
  imul   -0xb4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x88(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x80(%rbp)
  mov    -0xfc(%rbp),%eax
  imul   -0x9c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x84(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x7c(%rbp)
  movl   $0x0,-0xf8(%rbp)
  jmp    L948
L164:
  mov    -0xf8(%rbp),%eax
  imul   -0xb0(%rbp),%eax
  mov    %eax,%edx
  mov    -0x80(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x78(%rbp)
  mov    -0xf8(%rbp),%eax
  imul   -0x98(%rbp),%eax
  mov    %eax,%edx
  mov    -0x7c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x74(%rbp)
  movl   $0x0,-0xf4(%rbp)
  jmp    L145
L617:
  mov    -0xf4(%rbp),%eax
  imul   -0xac(%rbp),%eax
  mov    %eax,%edx
  mov    -0x78(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x70(%rbp)
  mov    -0xf4(%rbp),%eax
  imul   -0x94(%rbp),%eax
  mov    %eax,%edx
  mov    -0x74(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x6c(%rbp)
  movl   $0x0,-0xf0(%rbp)
  jmp    L339
L1027:
  movl   $0x0,-0xec(%rbp)
  jmp    L972
L1135:
  mov    -0xf0(%rbp),%eax
  add    $0x7,%eax
  cmp    %eax,-0xc0(%rbp)
  jle    L506
  mov    -0xf0(%rbp),%eax
  add    $0x8,%eax
  jmp    L1083
L506:
  mov    -0xc0(%rbp),%eax
L1083:
  mov    %eax,-0x58(%rbp)
  mov    -0xf0(%rbp),%eax
  mov    %eax,-0xd8(%rbp)
  jmp    L874
L100:
  mov    -0xd8(%rbp),%eax
  imul   -0xa8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x70(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x68(%rbp)
  mov    -0xd8(%rbp),%eax
  imul   -0x90(%rbp),%eax
  mov    %eax,%edx
  mov    -0x6c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x64(%rbp)
  mov    -0xec(%rbp),%eax
  add    $0x7,%eax
  cmp    %eax,-0xbc(%rbp)
  jle    L1176
  mov    -0xec(%rbp),%eax
  add    $0x8,%eax
  jmp    L481
L1176:
  mov    -0xbc(%rbp),%eax
L481:
  mov    %eax,-0x54(%rbp)
  mov    -0xec(%rbp),%eax
  mov    %eax,-0xd4(%rbp)
  jmp    L1013
L420:
  mov    -0xd4(%rbp),%eax
  imul   -0xa4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x68(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x60(%rbp)
  mov    -0xd4(%rbp),%eax
  imul   -0x8c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x64(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x110(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  -0x128(%rbp),%xmm0
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x110(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0xd4(%rbp)
L1013:
  mov    -0xd4(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jl     L420
  addl   $0x1,-0xd8(%rbp)
L874:
  mov    -0xd8(%rbp),%eax
  cmp    -0x58(%rbp),%eax
  jl     L100
  addl   $0x8,-0xec(%rbp)
L972:
  mov    -0xec(%rbp),%eax
  cmp    -0xbc(%rbp),%eax
  jl     L1135
  addl   $0x8,-0xf0(%rbp)
L339:
  mov    -0xf0(%rbp),%eax
  cmp    -0xc0(%rbp),%eax
  jl     L1027
  addl   $0x1,-0xf4(%rbp)
L145:
  mov    -0xf4(%rbp),%eax
  cmp    -0xc4(%rbp),%eax
  jl     L617
  addl   $0x1,-0xf8(%rbp)
L948:
  mov    -0xf8(%rbp),%eax
  cmp    -0xc8(%rbp),%eax
  jl     L164
  addl   $0x1,-0xfc(%rbp)
L827:
  mov    -0xfc(%rbp),%eax
  cmp    -0xcc(%rbp),%eax
  jl     L115
  addl   $0x1,-0x100(%rbp)
L1127:
  mov    -0x100(%rbp),%eax
  cmp    -0xd0(%rbp),%eax
  jl     L275
L454:
  cmpl   $0x5,0x38(%rbp)
  jne    L835
  movl   $0x0,-0x100(%rbp)
  jmp    L911
L28:
  mov    -0x100(%rbp),%eax
  imul   -0xb8(%rbp),%eax
  mov    %eax,-0x88(%rbp)
  mov    -0x100(%rbp),%eax
  imul   -0xa0(%rbp),%eax
  mov    %eax,-0x84(%rbp)
  movl   $0x0,-0xfc(%rbp)
  jmp    L126
L27:
  mov    -0xfc(%rbp),%eax
  imul   -0xb4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x88(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x80(%rbp)
  mov    -0xfc(%rbp),%eax
  imul   -0x9c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x84(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x7c(%rbp)
  movl   $0x0,-0xf8(%rbp)
  jmp    L429
L71:
  mov    -0xf8(%rbp),%eax
  imul   -0xb0(%rbp),%eax
  mov    %eax,%edx
  mov    -0x80(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x78(%rbp)
  mov    -0xf8(%rbp),%eax
  imul   -0x98(%rbp),%eax
  mov    %eax,%edx
  mov    -0x7c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x74(%rbp)
  movl   $0x0,-0xf4(%rbp)
  jmp    L9
L1189:
  movl   $0x0,-0xf0(%rbp)
  jmp    L652
L1157:
  mov    -0xf0(%rbp),%eax
  imul   -0xa8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x78(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x68(%rbp)
  mov    -0xf0(%rbp),%eax
  imul   -0x90(%rbp),%eax
  mov    %eax,%edx
  mov    -0x74(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x64(%rbp)
  movl   $0x0,-0xec(%rbp)
  jmp    L753
L282:
  mov    -0xf4(%rbp),%eax
  add    $0x7,%eax
  cmp    %eax,-0xc4(%rbp)
  jle    L998
  mov    -0xf4(%rbp),%eax
  add    $0x8,%eax
  jmp    L717
L998:
  mov    -0xc4(%rbp),%eax
L717:
  mov    %eax,-0x50(%rbp)
  mov    -0xf4(%rbp),%eax
  mov    %eax,-0xdc(%rbp)
  jmp    L235
L287:
  mov    -0xdc(%rbp),%eax
  imul   -0xac(%rbp),%eax
  mov    %eax,%edx
  mov    -0x68(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x70(%rbp)
  mov    -0xdc(%rbp),%eax
  imul   -0x94(%rbp),%eax
  mov    %eax,%edx
  mov    -0x64(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x6c(%rbp)
  mov    -0xec(%rbp),%eax
  add    $0x7,%eax
  cmp    %eax,-0xbc(%rbp)
  jle    L1177
  mov    -0xec(%rbp),%eax
  add    $0x8,%eax
  jmp    L766
L1177:
  mov    -0xbc(%rbp),%eax
L766:
  mov    %eax,-0x54(%rbp)
  mov    -0xec(%rbp),%eax
  mov    %eax,-0xd4(%rbp)
  jmp    L937
L619:
  mov    -0xd4(%rbp),%eax
  imul   -0xa4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x70(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x60(%rbp)
  mov    -0xd4(%rbp),%eax
  imul   -0x8c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x6c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x110(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  -0x128(%rbp),%xmm0
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x110(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0xd4(%rbp)
L937:
  mov    -0xd4(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jl     L619
  addl   $0x1,-0xdc(%rbp)
L235:
  mov    -0xdc(%rbp),%eax
  cmp    -0x50(%rbp),%eax
  jl     L287
  addl   $0x8,-0xec(%rbp)
L753:
  mov    -0xec(%rbp),%eax
  cmp    -0xbc(%rbp),%eax
  jl     L282
  addl   $0x1,-0xf0(%rbp)
L652:
  mov    -0xf0(%rbp),%eax
  cmp    -0xc0(%rbp),%eax
  jl     L1157
  addl   $0x8,-0xf4(%rbp)
L9:
  mov    -0xf4(%rbp),%eax
  cmp    -0xc4(%rbp),%eax
  jl     L1189
  addl   $0x1,-0xf8(%rbp)
L429:
  mov    -0xf8(%rbp),%eax
  cmp    -0xc8(%rbp),%eax
  jl     L71
  addl   $0x1,-0xfc(%rbp)
L126:
  mov    -0xfc(%rbp),%eax
  cmp    -0xcc(%rbp),%eax
  jl     L27
  addl   $0x1,-0x100(%rbp)
L911:
  mov    -0x100(%rbp),%eax
  cmp    -0xd0(%rbp),%eax
  jl     L28
L835:
  cmpl   $0x5,0x30(%rbp)
  jne    L1073
  movl   $0x0,-0x100(%rbp)
  jmp    L697
L979:
  mov    -0x100(%rbp),%eax
  imul   -0xb8(%rbp),%eax
  mov    %eax,-0x88(%rbp)
  mov    -0x100(%rbp),%eax
  imul   -0xa0(%rbp),%eax
  mov    %eax,-0x84(%rbp)
  movl   $0x0,-0xfc(%rbp)
  jmp    L70
L309:
  mov    -0xfc(%rbp),%eax
  imul   -0xb4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x88(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x80(%rbp)
  mov    -0xfc(%rbp),%eax
  imul   -0x9c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x84(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x7c(%rbp)
  movl   $0x0,-0xf8(%rbp)
  jmp    L406
L775:
  movl   $0x0,-0xf4(%rbp)
  jmp    L551
L894:
  mov    -0xf4(%rbp),%eax
  imul   -0xac(%rbp),%eax
  mov    %eax,%edx
  mov    -0x80(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x70(%rbp)
  mov    -0xf4(%rbp),%eax
  imul   -0x94(%rbp),%eax
  mov    %eax,%edx
  mov    -0x7c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x6c(%rbp)
  movl   $0x0,-0xf0(%rbp)
  jmp    L1015
L1123:
  mov    -0xf0(%rbp),%eax
  imul   -0xa8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x70(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x68(%rbp)
  mov    -0xf0(%rbp),%eax
  imul   -0x90(%rbp),%eax
  mov    %eax,%edx
  mov    -0x6c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x64(%rbp)
  movl   $0x0,-0xec(%rbp)
  jmp    L8
L1111:
  mov    -0xf8(%rbp),%eax
  add    $0x7,%eax
  cmp    %eax,-0xc8(%rbp)
  jle    L466
  mov    -0xf8(%rbp),%eax
  add    $0x8,%eax
  jmp    L678
L466:
  mov    -0xc8(%rbp),%eax
L678:
  mov    %eax,-0x4c(%rbp)
  mov    -0xf8(%rbp),%eax
  mov    %eax,-0xe0(%rbp)
  jmp    L222
L590:
  mov    -0xe0(%rbp),%eax
  imul   -0xb0(%rbp),%eax
  mov    %eax,%edx
  mov    -0x68(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x78(%rbp)
  mov    -0xe0(%rbp),%eax
  imul   -0x98(%rbp),%eax
  mov    %eax,%edx
  mov    -0x64(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x74(%rbp)
  mov    -0xec(%rbp),%eax
  add    $0x7,%eax
  cmp    %eax,-0xbc(%rbp)
  jle    L924
  mov    -0xec(%rbp),%eax
  add    $0x8,%eax
  jmp    L703
L924:
  mov    -0xbc(%rbp),%eax
L703:
  mov    %eax,-0x54(%rbp)
  mov    -0xec(%rbp),%eax
  mov    %eax,-0xd4(%rbp)
  jmp    L1004
L919:
  mov    -0xd4(%rbp),%eax
  imul   -0xa4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x78(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x60(%rbp)
  mov    -0xd4(%rbp),%eax
  imul   -0x8c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x74(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x110(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  -0x128(%rbp),%xmm0
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x110(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0xd4(%rbp)
L1004:
  mov    -0xd4(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jl     L919
  addl   $0x1,-0xe0(%rbp)
L222:
  mov    -0xe0(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jl     L590
  addl   $0x8,-0xec(%rbp)
L8:
  mov    -0xec(%rbp),%eax
  cmp    -0xbc(%rbp),%eax
  jl     L1111
  addl   $0x1,-0xf0(%rbp)
L1015:
  mov    -0xf0(%rbp),%eax
  cmp    -0xc0(%rbp),%eax
  jl     L1123
  addl   $0x1,-0xf4(%rbp)
L551:
  mov    -0xf4(%rbp),%eax
  cmp    -0xc4(%rbp),%eax
  jl     L894
  addl   $0x8,-0xf8(%rbp)
L406:
  mov    -0xf8(%rbp),%eax
  cmp    -0xc8(%rbp),%eax
  jl     L775
  addl   $0x1,-0xfc(%rbp)
L70:
  mov    -0xfc(%rbp),%eax
  cmp    -0xcc(%rbp),%eax
  jl     L309
  addl   $0x1,-0x100(%rbp)
L697:
  mov    -0x100(%rbp),%eax
  cmp    -0xd0(%rbp),%eax
  jl     L979
L1073:
  cmpl   $0x5,0x28(%rbp)
  jne    L394
  movl   $0x0,-0x100(%rbp)
  jmp    L1152
L997:
  mov    -0x100(%rbp),%eax
  imul   -0xb8(%rbp),%eax
  mov    %eax,-0x88(%rbp)
  mov    -0x100(%rbp),%eax
  imul   -0xa0(%rbp),%eax
  mov    %eax,-0x84(%rbp)
  movl   $0x0,-0xfc(%rbp)
  jmp    L241
L884:
  movl   $0x0,-0xf8(%rbp)
  jmp    L496
L679:
  mov    -0xf8(%rbp),%eax
  imul   -0xb0(%rbp),%eax
  mov    %eax,%edx
  mov    -0x88(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x78(%rbp)
  mov    -0xf8(%rbp),%eax
  imul   -0x98(%rbp),%eax
  mov    %eax,%edx
  mov    -0x84(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x74(%rbp)
  movl   $0x0,-0xf4(%rbp)
  jmp    L556
L1033:
  mov    -0xf4(%rbp),%eax
  imul   -0xac(%rbp),%eax
  mov    %eax,%edx
  mov    -0x78(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x70(%rbp)
  mov    -0xf4(%rbp),%eax
  imul   -0x94(%rbp),%eax
  mov    %eax,%edx
  mov    -0x74(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x6c(%rbp)
  movl   $0x0,-0xf0(%rbp)
  jmp    L725
L1059:
  mov    -0xf0(%rbp),%eax
  imul   -0xa8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x70(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x68(%rbp)
  mov    -0xf0(%rbp),%eax
  imul   -0x90(%rbp),%eax
  mov    %eax,%edx
  mov    -0x6c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x64(%rbp)
  movl   $0x0,-0xec(%rbp)
  jmp    L851
L890:
  mov    -0xfc(%rbp),%eax
  add    $0x7,%eax
  cmp    %eax,-0xcc(%rbp)
  jle    L579
  mov    -0xfc(%rbp),%eax
  add    $0x8,%eax
  jmp    L1101
L579:
  mov    -0xcc(%rbp),%eax
L1101:
  mov    %eax,-0x48(%rbp)
  mov    -0xfc(%rbp),%eax
  mov    %eax,-0xe4(%rbp)
  jmp    L774
L66:
  mov    -0xe4(%rbp),%eax
  imul   -0xb4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x68(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x80(%rbp)
  mov    -0xe4(%rbp),%eax
  imul   -0x9c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x64(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x7c(%rbp)
  mov    -0xec(%rbp),%eax
  add    $0x7,%eax
  cmp    %eax,-0xbc(%rbp)
  jle    L416
  mov    -0xec(%rbp),%eax
  add    $0x8,%eax
  jmp    L376
L416:
  mov    -0xbc(%rbp),%eax
L376:
  mov    %eax,-0x54(%rbp)
  mov    -0xec(%rbp),%eax
  mov    %eax,-0xd4(%rbp)
  jmp    L964
L218:
  mov    -0xd4(%rbp),%eax
  imul   -0xa4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x80(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x60(%rbp)
  mov    -0xd4(%rbp),%eax
  imul   -0x8c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x7c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x110(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  -0x128(%rbp),%xmm0
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x110(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0xd4(%rbp)
L964:
  mov    -0xd4(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jl     L218
  addl   $0x1,-0xe4(%rbp)
L774:
  mov    -0xe4(%rbp),%eax
  cmp    -0x48(%rbp),%eax
  jl     L66
  addl   $0x8,-0xec(%rbp)
L851:
  mov    -0xec(%rbp),%eax
  cmp    -0xbc(%rbp),%eax
  jl     L890
  addl   $0x1,-0xf0(%rbp)
L725:
  mov    -0xf0(%rbp),%eax
  cmp    -0xc0(%rbp),%eax
  jl     L1059
  addl   $0x1,-0xf4(%rbp)
L556:
  mov    -0xf4(%rbp),%eax
  cmp    -0xc4(%rbp),%eax
  jl     L1033
  addl   $0x1,-0xf8(%rbp)
L496:
  mov    -0xf8(%rbp),%eax
  cmp    -0xc8(%rbp),%eax
  jl     L679
  addl   $0x8,-0xfc(%rbp)
L241:
  mov    -0xfc(%rbp),%eax
  cmp    -0xcc(%rbp),%eax
  jl     L884
  addl   $0x1,-0x100(%rbp)
L1152:
  mov    -0x100(%rbp),%eax
  cmp    -0xd0(%rbp),%eax
  jl     L997
L394:
  cmpl   $0x5,0x20(%rbp)
  jne    L324
  movl   $0x0,-0x100(%rbp)
  jmp    L144
L1060:
  movl   $0x0,-0xfc(%rbp)
  jmp    L472
L47:
  mov    -0xfc(%rbp),%eax
  imul   -0xb4(%rbp),%eax
  mov    %eax,-0x80(%rbp)
  mov    -0xfc(%rbp),%eax
  imul   -0x9c(%rbp),%eax
  mov    %eax,-0x7c(%rbp)
  movl   $0x0,-0xf8(%rbp)
  jmp    L452
L612:
  mov    -0xf8(%rbp),%eax
  imul   -0xb0(%rbp),%eax
  mov    %eax,%edx
  mov    -0x80(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x78(%rbp)
  mov    -0xf8(%rbp),%eax
  imul   -0x98(%rbp),%eax
  mov    %eax,%edx
  mov    -0x7c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x74(%rbp)
  movl   $0x0,-0xf4(%rbp)
  jmp    L552
L777:
  mov    -0xf4(%rbp),%eax
  imul   -0xac(%rbp),%eax
  mov    %eax,%edx
  mov    -0x78(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x70(%rbp)
  mov    -0xf4(%rbp),%eax
  imul   -0x94(%rbp),%eax
  mov    %eax,%edx
  mov    -0x74(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x6c(%rbp)
  movl   $0x0,-0xf0(%rbp)
  jmp    L86
L768:
  mov    -0xf0(%rbp),%eax
  imul   -0xa8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x70(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x68(%rbp)
  mov    -0xf0(%rbp),%eax
  imul   -0x90(%rbp),%eax
  mov    %eax,%edx
  mov    -0x6c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x64(%rbp)
  movl   $0x0,-0xec(%rbp)
  jmp    L724
L488:
  mov    -0x100(%rbp),%eax
  add    $0x7,%eax
  cmp    %eax,-0xd0(%rbp)
  jle    L1166
  mov    -0x100(%rbp),%eax
  add    $0x8,%eax
  jmp    L778
L1166:
  mov    -0xd0(%rbp),%eax
L778:
  mov    %eax,-0x44(%rbp)
  mov    -0x100(%rbp),%eax
  mov    %eax,-0xe8(%rbp)
  jmp    L549
L806:
  mov    -0xe8(%rbp),%eax
  imul   -0xb8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x68(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x88(%rbp)
  mov    -0xe8(%rbp),%eax
  imul   -0xa0(%rbp),%eax
  mov    %eax,%edx
  mov    -0x64(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x84(%rbp)
  mov    -0xec(%rbp),%eax
  add    $0x7,%eax
  cmp    %eax,-0xbc(%rbp)
  jle    L348
  mov    -0xec(%rbp),%eax
  add    $0x8,%eax
  jmp    L531
L348:
  mov    -0xbc(%rbp),%eax
L531:
  mov    %eax,-0x54(%rbp)
  mov    -0xec(%rbp),%eax
  mov    %eax,-0xd4(%rbp)
  jmp    L269
L1061:
  mov    -0xd4(%rbp),%eax
  imul   -0xa4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x88(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x60(%rbp)
  mov    -0xd4(%rbp),%eax
  imul   -0x8c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x84(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x110(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  -0x128(%rbp),%xmm0
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x110(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0xd4(%rbp)
L269:
  mov    -0xd4(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jl     L1061
  addl   $0x1,-0xe8(%rbp)
L549:
  mov    -0xe8(%rbp),%eax
  cmp    -0x44(%rbp),%eax
  jl     L806
  addl   $0x8,-0xec(%rbp)
L724:
  mov    -0xec(%rbp),%eax
  cmp    -0xbc(%rbp),%eax
  jl     L488
  addl   $0x1,-0xf0(%rbp)
L86:
  mov    -0xf0(%rbp),%eax
  cmp    -0xc0(%rbp),%eax
  jl     L768
  addl   $0x1,-0xf4(%rbp)
L552:
  mov    -0xf4(%rbp),%eax
  cmp    -0xc4(%rbp),%eax
  jl     L777
  addl   $0x1,-0xf8(%rbp)
L452:
  mov    -0xf8(%rbp),%eax
  cmp    -0xc8(%rbp),%eax
  jl     L612
  addl   $0x1,-0xfc(%rbp)
L472:
  mov    -0xfc(%rbp),%eax
  cmp    -0xcc(%rbp),%eax
  jl     L47
  addl   $0x8,-0x100(%rbp)
L144:
  mov    -0x100(%rbp),%eax
  cmp    -0xd0(%rbp),%eax
  jl     L1060
L324:
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L865
  call   <__stack_chk_fail@plt>
L865:
  leave
  ret
```

assistant: ```c
void tce_sortacc_6_scalar(double *unsorted, double *sorted, int a, int b, int c, int d, int e, int f, int i, int j, int k, int l, int m, int n, double factor) {
  int id[6], jd[6], ia, ib, j1, j2, j3, j4, j5, j6;
  int l1, l2, l3, l4, l5, l6;
  int ia1, ia2, ia3, ia4, ia5, ia6;
  int ib1, ib2, ib3, ib4, ib5, ib6;
  int rangea1, rangea2, rangea3, rangea4, rangea5, rangea6;
  int rangeb1, rangeb2, rangeb3, rangeb4, rangeb5, rangeb6;
  int range[6], order[6], order_r[6];
  int jj1, jj2, jj3, jj4, jj5, jj6;
  int jj1_bound, jj2_bound, jj3_bound, jj4_bound, jj5_bound, jj6_bound;
  int N1, N2;
  jd[0] = a;
  jd[1] = b;
  jd[2] = c;
  jd[3] = d;
  jd[4] = e;
  jd[5] = f;
  range[0] = b * c * d * e * f;
  range[1] = c * d * e * f;
  range[2] = d * e * f;
  range[3] = e * f;
  range[4] = f;
  range[5] = 1;
  l1 = jd[i];
  l2 = jd[j];
  l3 = jd[k];
  l4 = jd[l];
  l5 = jd[m];
  l6 = jd[n];
  rangea1 = range[i];
  rangea2 = range[j];
  rangea3 = range[k];
  rangea4 = range[l];
  rangea5 = range[m];
  rangea6 = range[n];
  rangeb1 = l2 * l3 * l4 * l5 * l6;
  rangeb2 = l3 * l4 * l5 * l6;
  rangeb3 = l4 * l5 * l6;
  rangeb4 = l5 * l6;
  rangeb5 = l6;
  rangeb6 = 1;
  if (n == 5) {
    for (j1 = 0; j1 < l1; j1++) {
      ia1 = j1 * rangea1;
      ib1 = j1 * rangeb1;
      for (j2 = 0; j2 < l2; j2++) {
        ia2 = ia1 + j2 * rangea2;
        ib2 = ib1 + j2 * rangeb2;
        for (j3 = 0; j3 < l3; j3++) {
          ia3 = ia2 + j3 * rangea3;
          ib3 = ib2 + j3 * rangeb3;
          for (j4 = 0; j4 < l4; j4++) {
            ia4 = ia3 + j4 * rangea4;
            ib4 = ib3 + j4 * rangeb4;
            for (j5 = 0; j5 < l5; j5++) {
              ia5 = ia4 + j5 * rangea5;
              ib5 = ib4 + j5 * rangeb5;
              for (j6 = 0; j6 < l6; j6++) {
                ia = ia5 + j6 * rangea6;
                ib = ib5 + j6 * rangeb6;
                sorted[ib] += unsorted[ia] * factor;
              }
            }
          }
        }
      }
    }
  }
  if (m == 5) {
    for (j1 = 0; j1 < l1; j1++) {
      ia1 = j1 * rangea1;
      ib1 = j1 * rangeb1;
      for (j2 = 0; j2 < l2; j2++) {
        ia2 = ia1 + j2 * rangea2;
        ib2 = ib1 + j2 * rangeb2;
        for (j3 = 0; j3 < l3; j3++) {
          ia3 = ia2 + j3 * rangea3;
          ib3 = ib2 + j3 * rangeb3;
          for (j4 = 0; j4 < l4; j4++) {
            ia4 = ia3 + j4 * rangea4;
            ib4 = ib3 + j4 * rangeb4;
            for (j5 = 0; j5 < l5; j5 += 8) {
              for (j6 = 0; j6 < l6; j6 += 8) {
                jj5_bound = (j5 + 8 > l5) ? l5 : j5 + 8;
                for (jj5 = j5; jj5 < jj5_bound; jj5++) {
                  ia5 = ia4 + jj5 * rangea5;
                  ib5 = ib4 + jj5 * rangeb5;
                  jj6_bound = (j6 + 8 > l6) ? l6 : j6 + 8;
                  for (jj6 = j6; jj6 < jj6_bound; jj6++) {
                    ia = ia5 + jj6 * rangea6;
                    ib = ib5 + jj6 * rangeb6;
                    sorted[ib] += unsorted[ia] * factor;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (l == 5) {
    for (j1 = 0; j1 < l1; j1++) {
      ia1 = j1 * rangea1;
      ib1 = j1 * rangeb1;
      for (j2 = 0; j2 < l2; j2++) {
        ia2 = ia1 + j2 * rangea2;
        ib2 = ib1 + j2 * rangeb2;
        for (j3 = 0; j3 < l3; j3++) {
          ia3 = ia2 + j3 * rangea3;
          ib3 = ib2 + j3 * rangeb3;
          for (j4 = 0; j4 < l4; j4 += 8) {
            for (j5 = 0; j5 < l5; j5++) {
              ia5 = ia3 + j5 * rangea5;
              ib5 = ib3 + j5 * rangeb5;
              for (j6 = 0; j6 < l6; j6 += 8) {
                jj4_bound = (j4 + 8 > l4) ? l4 : j4 + 8;
                for (jj4 = j4; jj4 < jj4_bound; jj4++) {
                  ia4 = ia5 + jj4 * rangea4;
                  ib4 = ib5 + jj4 * rangeb4;
                  jj6_bound = (j6 + 8 > l6) ? l6 : j6 + 8;
                  for (jj6 = j6; jj6 < jj6_bound; jj6++) {
                    ia = ia4 + jj6 * rangea6;
                    ib = ib4 + jj6 * rangeb6;
                    sorted[ib] += unsorted[ia] * factor;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (k == 5) {
    for (j1 = 0; j1 < l1; j1++) {
      ia1 = j1 * rangea1;
      ib1 = j1 * rangeb1;
      for (j2 = 0; j2 < l2; j2++) {
        ia2 = ia1 + j2 * rangea2;
        ib2 = ib1 + j2 * rangeb2;
        for (j3 = 0; j3 < l3; j3 += 8) {
          for (j4 = 0; j4 < l4; j4++) {
            ia4 = ia2 + j4 * rangea4;
            ib4 = ib2 + j4 * rangeb4;
            for (j5 = 0; j5 < l5; j5++) {
              ia5 = ia4 + j5 * rangea5;
              ib5 = ib4 + j5 * rangeb5;
              for (j6 = 0; j6 < l6; j6 += 8) {
                jj3_bound = (j3 + 8 > l3) ? l3 : j3 + 8;
                for (jj3 = j3; jj3 < jj3_bound; jj3++) {
                  ia3 = ia5 + jj3 * rangea3;
                  ib3 = ib5 + jj3 * rangeb3;
                  jj6_bound = (j6 + 8 > l6) ? l6 : j6 + 8;
                  for (jj6 = j6; jj6 < jj6_bound; jj6++) {
                    ia = ia3 + jj6 * rangea6;
                    ib = ib3 + jj6 * rangeb6;
                    sorted[ib] += unsorted[ia] * factor;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (j == 5) {
    for (j1 = 0; j1 < l1; j1++) {
      ia1 = j1 * rangea1;
      ib1 = j1 * rangeb1;
      for (j2 = 0; j2 < l2; j2 += 8) {
        for (j3 = 0; j3 < l3; j3++) {
          ia3 = ia1 + j3 * rangea3;
          ib3 = ib1 + j3 * rangeb3;
          for (j4 = 0; j4 < l4; j4++) {
            ia4 = ia3 + j4 * rangea4;
            ib4 = ib3 + j4 * rangeb4;
            for (j5 = 0; j5 < l5; j5++) {
              ia5 = ia4 + j5 * rangea5;
              ib5 = ib4 + j5 * rangeb5;
              for (j6 = 0; j6 < l6; j6 += 8) {
                jj2_bound = (j2 + 8 > l2) ? l2 : j2 + 8;
                for (jj2 = j2; jj2 < jj2_bound; jj2++) {
                  ia2 = ia5 + jj2 * rangea2;
                  ib2 = ib5 + jj2 * rangeb2;
                  jj6_bound = (j6 + 8 > l6) ? l6 : j6 + 8;
                  for (jj6 = j6; jj6 < jj6_bound; jj6++) {
                    ia = ia2 + jj6 * rangea6;
                    ib = ib2 + jj6 * rangeb6;
                    sorted[ib] += unsorted[ia] * factor;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  if (i == 5) {
    for (j1 = 0; j1 < l1; j1 += 8) {
      for (j2 = 0; j2 < l2; j2++) {
        ia2 = j2 * rangea2;
        ib2 = j2 * rangeb2;
        for (j3 = 0; j3 < l3; j3++) {
          ia3 = ia2 + j3 * rangea3;
          ib3 = ib2 + j3 * rangeb3;
          for (j4 = 0; j4 < l4; j4++) {
            ia4 = ia3 + j4 * rangea4;
            ib4 = ib3 + j4 * rangeb4;
            for (j5 = 0; j5 < l5; j5++) {
              ia5 = ia4 + j5 * rangea5;
              ib5 = ib4 + j5 * rangeb5;
              for (j6 = 0; j6 < l6; j6 += 8) {
                jj1_bound = (j1 + 8 > l1) ? l1 : j1 + 8;
                for (jj1 = j1; jj1 < jj1_bound; jj1++) {
                  ia1 = ia5 + jj1 * rangea1;
                  ib1 = ib5 + jj1 * rangeb1;
                  jj6_bound = (j6 + 8 > l6) ? l6 : j6 + 8;
                  for (jj6 = j6; jj6 < jj6_bound; jj6++) {
                    ia = ia1 + jj6 * rangea6;
                    ib = ib1 + jj6 * rangeb6;
                    sorted[ib] += unsorted[ia] * factor;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```