user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<cgdcjpost2l>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdx,%r13
  mov    %rcx,0x30(%rsp)
  movss  %xmm0,0x38(%rsp)
  mov    0x90(%rsp),%edx
  lea    (%rdx,%rdx,2),%ecx
  mov    %ecx,0x3c(%rsp)
  lea    0x0(,%rdx,4),%ecx
  mov    %ecx,0x24(%rsp)
  cvtss2sd %xmm1,%xmm1
  mulsd  D45(%rip),%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm2,%xmm0
  mulsd  %xmm0,%xmm1
  cvtsd2ss %xmm1,%xmm1
  movss  %xmm1,0x28(%rsp)
  movss  D64(%rip),%xmm0
  divss  %xmm2,%xmm0
  movss  %xmm0,0x2c(%rsp)
  cmpl   $0x0,0x88(%rsp)
  jle    L7
  mov    %r9,%rbx
  movslq 0x80(%rsp),%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    %rcx,0x40(%rsp)
  movl   $0x0,-0x68(%rsp)
  mov    %rsi,%rbp
  mov    %r13,%r12
  mov    %r8,%r13
  mov    %rdi,%r11
L17:
  movss  (%r11),%xmm1
  cvttss2si %xmm1,%edi
  movss  0x4(%r11),%xmm2
  cvttss2si %xmm2,%esi
  pxor   %xmm0,%xmm0
  cvtsi2ss %edi,%xmm0
  subss  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2ss %esi,%xmm0
  subss  %xmm0,%xmm2
  lea    (%rdi,%rdi,2),%edx
  mov    0x3c(%rsp),%ecx
  mov    %ecx,%eax
  imul   %esi,%eax
  movss  D64(%rip),%xmm14
  subss  %xmm1,%xmm14
  add    %eax,%ecx
  movss  D64(%rip),%xmm7
  subss  %xmm2,%xmm7
  lea    0x3(%rdx),%r9d
  lea    0x0(,%rdi,4),%r10d
  mov    %esi,%r15d
  mov    0x24(%rsp),%edi
  imul   %edi,%r15d
  mov    %r15d,-0x64(%rsp)
  add    %r15d,%edi
  mov    %edi,0xc(%rsp)
  mov    %r10d,-0x78(%rsp)
  lea    0x4(%r10),%esi
  mov    %esi,0x8(%rsp)
  lea    (%rcx,%r9,1),%r15d
  movslq %r15d,%r15
  lea    0x0(,%r15,4),%r8
  mov    %r8,-0x58(%rsp)
  lea    (%rdx,%rcx,1),%r14d
  movslq %r14d,%r14
  lea    0x0(,%r14,4),%rsi
  mov    %rsi,-0x50(%rsp)
  add    %eax,%r9d
  movslq %r9d,%r9
  lea    0x0(,%r9,4),%rsi
  mov    %rsi,-0x48(%rsp)
  mov    %eax,%esi
  lea    (%rdx,%rax,1),%eax
  cltq
  lea    0x0(,%rax,4),%r8
  mov    %r8,-0x40(%rsp)
  movaps %xmm1,%xmm4
  mulss  0x0(%rbp,%r15,4),%xmm4
  movaps %xmm14,%xmm0
  mulss  0x0(%rbp,%r14,4),%xmm0
  addss  %xmm0,%xmm4
  mulss  %xmm2,%xmm4
  movaps %xmm1,%xmm0
  mulss  0x0(%rbp,%r9,4),%xmm0
  mov    %rax,(%rsp)
  movaps %xmm14,%xmm3
  mulss  0x0(%rbp,%rax,4),%xmm3
  addss  %xmm3,%xmm0
  mulss  %xmm7,%xmm0
  addss  %xmm0,%xmm4
  lea    0x4(%rdx),%r8d
  lea    (%r8,%rcx,1),%eax
  cltq
  mov    %rax,-0x60(%rsp)
  lea    0x0(,%rax,4),%rdi
  mov    %rdi,-0x38(%rsp)
  lea    0x1(%rdx),%edi
  lea    (%rdi,%rcx,1),%eax
  cltq
  mov    %rax,%r10
  shl    $0x2,%rax
  mov    %rax,-0x70(%rsp)
  add    %esi,%r8d
  movslq %r8d,%r8
  lea    0x0(,%r8,4),%rax
  mov    %rax,-0x30(%rsp)
  mov    %esi,-0x74(%rsp)
  add    %esi,%edi
  movslq %edi,%rdi
  lea    0x0(,%rdi,4),%rsi
  mov    %rsi,-0x28(%rsp)
  mov    -0x60(%rsp),%rax
  movaps %xmm1,%xmm3
  mulss  0x0(%rbp,%rax,4),%xmm3
  mov    %r10,0x18(%rsp)
  movaps %xmm14,%xmm0
  mulss  0x0(%rbp,%r10,4),%xmm0
  addss  %xmm0,%xmm3
  mulss  %xmm2,%xmm3
  movaps %xmm1,%xmm0
  mulss  0x0(%rbp,%r8,4),%xmm0
  movaps %xmm14,%xmm5
  mulss  0x0(%rbp,%rdi,4),%xmm5
  addss  %xmm5,%xmm0
  mulss  %xmm7,%xmm0
  addss  %xmm0,%xmm3
  lea    0x5(%rdx),%esi
  lea    (%rsi,%rcx,1),%eax
  cltq
  lea    0x0(,%rax,4),%r10
  mov    %r10,-0x20(%rsp)
  add    $0x2,%edx
  add    %edx,%ecx
  movslq %ecx,%rcx
  lea    0x0(,%rcx,4),%r10
  mov    %r10,-0x18(%rsp)
  add    -0x74(%rsp),%esi
  movslq %esi,%rsi
  lea    0x0(,%rsi,4),%r10
  mov    %r10,-0x10(%rsp)
  add    -0x74(%rsp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%r10
  mov    %r10,-0x8(%rsp)
  movaps %xmm1,%xmm0
  mulss  0x0(%rbp,%rax,4),%xmm0
  movaps %xmm14,%xmm5
  mulss  0x0(%rbp,%rcx,4),%xmm5
  addss  %xmm5,%xmm0
  mulss  %xmm2,%xmm0
  movaps %xmm1,%xmm5
  mulss  0x0(%rbp,%rsi,4),%xmm5
  movaps %xmm14,%xmm6
  mulss  0x0(%rbp,%rdx,4),%xmm6
  addss  %xmm6,%xmm5
  mulss  %xmm7,%xmm5
  addss  %xmm5,%xmm0
  movss  0x28(%rsp),%xmm11
  mulss  %xmm11,%xmm4
  mulss  %xmm11,%xmm3
  movaps %xmm0,%xmm10
  mulss  %xmm11,%xmm10
  movss  %xmm4,0x10(%rsp)
  movaps %xmm4,%xmm13
  addss  0x8(%r11),%xmm13
  movss  %xmm3,0x14(%rsp)
  movaps %xmm3,%xmm12
  addss  0xc(%r11),%xmm12
  movss  %xmm10,0x20(%rsp)
  movaps %xmm10,%xmm4
  addss  0x10(%r11),%xmm4
  movss  %xmm4,-0x74(%rsp)
  movaps %xmm1,%xmm5
  mulss  (%r12,%r15,4),%xmm5
  movaps %xmm14,%xmm0
  mulss  (%r12,%r14,4),%xmm0
  addss  %xmm0,%xmm5
  mulss  %xmm2,%xmm5
  movaps %xmm1,%xmm0
  mulss  (%r12,%r9,4),%xmm0
  mov    (%rsp),%r14
  movaps %xmm14,%xmm3
  mulss  (%r12,%r14,4),%xmm3
  addss  %xmm3,%xmm0
  mulss  %xmm7,%xmm0
  addss  %xmm0,%xmm5
  mulss  %xmm11,%xmm5
  mov    -0x60(%rsp),%r14
  movaps %xmm1,%xmm0
  mulss  (%r12,%r14,4),%xmm0
  mov    0x18(%rsp),%r14
  movaps %xmm14,%xmm3
  mulss  (%r12,%r14,4),%xmm3
  addss  %xmm3,%xmm0
  mulss  %xmm2,%xmm0
  movaps %xmm1,%xmm3
  mulss  (%r12,%r8,4),%xmm3
  movaps %xmm14,%xmm8
  mulss  (%r12,%rdi,4),%xmm8
  addss  %xmm8,%xmm3
  mulss  %xmm7,%xmm3
  addss  %xmm3,%xmm0
  mulss  %xmm11,%xmm0
  movaps %xmm1,%xmm6
  mulss  (%r12,%rax,4),%xmm6
  movaps %xmm14,%xmm3
  mulss  (%r12,%rcx,4),%xmm3
  addss  %xmm3,%xmm6
  mulss  %xmm2,%xmm6
  movaps %xmm1,%xmm3
  mulss  (%r12,%rsi,4),%xmm3
  movaps %xmm14,%xmm8
  mulss  (%r12,%rdx,4),%xmm8
  addss  %xmm8,%xmm3
  movss  %xmm7,(%rsp)
  mulss  %xmm7,%xmm3
  addss  %xmm3,%xmm6
  mulss  %xmm11,%xmm6
  movaps %xmm5,%xmm15
  mulss  %xmm5,%xmm15
  movaps %xmm0,%xmm3
  mulss  %xmm0,%xmm3
  movaps %xmm6,%xmm8
  mulss  %xmm6,%xmm8
  movaps %xmm15,%xmm9
  addss  %xmm3,%xmm9
  movaps %xmm9,%xmm4
  addss  %xmm8,%xmm4
  cvtss2sd %xmm4,%xmm4
  movsd  D84(%rip),%xmm11
  addsd  %xmm4,%xmm11
  movapd %xmm11,%xmm7
  movsd  D56(%rip),%xmm11
  divsd  %xmm7,%xmm11
  cvtsd2ss %xmm11,%xmm11
  movsd  D84(%rip),%xmm9
  subsd  %xmm4,%xmm9
  movapd %xmm9,%xmm7
  mulsd  D45(%rip),%xmm7
  cvtsd2ss %xmm7,%xmm7
  movaps %xmm5,%xmm9
  mulss  %xmm0,%xmm9
  movaps %xmm9,%xmm10
  movaps %xmm5,%xmm9
  mulss  %xmm6,%xmm9
  movss  %xmm9,-0x60(%rsp)
  movaps %xmm0,%xmm9
  mulss  %xmm6,%xmm9
  addss  %xmm7,%xmm15
  mulss  %xmm13,%xmm15
  movaps %xmm6,%xmm4
  addss  %xmm10,%xmm4
  mulss  %xmm12,%xmm4
  addss  %xmm15,%xmm4
  movss  -0x60(%rsp),%xmm15
  subss  %xmm0,%xmm15
  mulss  -0x74(%rsp),%xmm15
  addss  %xmm15,%xmm4
  mulss  %xmm11,%xmm4
  addss  0x10(%rsp),%xmm4
  subss  %xmm6,%xmm10
  mulss  %xmm13,%xmm10
  addss  %xmm7,%xmm3
  mulss  %xmm12,%xmm3
  addss  %xmm10,%xmm3
  movaps %xmm5,%xmm6
  addss  %xmm9,%xmm6
  movss  -0x74(%rsp),%xmm10
  mulss  %xmm10,%xmm6
  addss  %xmm6,%xmm3
  mulss  %xmm11,%xmm3
  addss  0x14(%rsp),%xmm3
  addss  -0x60(%rsp),%xmm0
  mulss  %xmm13,%xmm0
  subss  %xmm5,%xmm9
  mulss  %xmm12,%xmm9
  addss  %xmm9,%xmm0
  addss  %xmm7,%xmm8
  mulss  %xmm10,%xmm8
  addss  %xmm8,%xmm0
  mulss  %xmm11,%xmm0
  addss  0x20(%rsp),%xmm0
  movaps %xmm14,%xmm9
  movss  0x38(%rsp),%xmm6
  mulss  %xmm6,%xmm9
  mulss  %xmm6,%xmm1
  movaps %xmm4,%xmm6
  addss  0x8(%r11),%xmm6
  movaps %xmm6,%xmm7
  mulss  D50(%rip),%xmm7
  movaps %xmm3,%xmm6
  addss  0xc(%r11),%xmm6
  mulss  D50(%rip),%xmm6
  movaps %xmm0,%xmm10
  addss  0x10(%r11),%xmm10
  mulss  D50(%rip),%xmm10
  subss  0x8(%r11),%xmm4
  movss  0x2c(%rsp),%xmm5
  mulss  %xmm5,%xmm4
  subss  0xc(%r11),%xmm3
  mulss  %xmm5,%xmm3
  subss  0x10(%r11),%xmm0
  mulss  %xmm5,%xmm0
  movaps %xmm2,%xmm5
  mulss  %xmm1,%xmm5
  mulss  %xmm9,%xmm2
  movaps %xmm7,%xmm8
  mulss  %xmm7,%xmm8
  movaps %xmm6,%xmm11
  mulss  %xmm6,%xmm11
  subss  %xmm11,%xmm8
  movaps %xmm7,%xmm13
  mulss  %xmm6,%xmm13
  movaps %xmm7,%xmm12
  mulss  %xmm10,%xmm12
  movaps %xmm6,%xmm11
  mulss  %xmm10,%xmm11
  mov    0xc(%rsp),%edi
  mov    %edi,%eax
  add    0x8(%rsp),%eax
  cltq
  lea    (%rbx,%rax,4),%rax
  movaps %xmm5,%xmm14
  mulss  %xmm8,%xmm14
  addss  (%rax),%xmm14
  movss  %xmm14,(%rax)
  mov    -0x78(%rsp),%r10d
  lea    0x5(%r10),%ecx
  lea    (%rcx,%rdi,1),%eax
  cltq
  lea    (%rbx,%rax,4),%rax
  movaps %xmm5,%xmm14
  mulss  %xmm13,%xmm14
  addss  (%rax),%xmm14
  movss  %xmm14,(%rax)
  lea    0x6(%r10),%edx
  lea    (%rdx,%rdi,1),%eax
  cltq
  lea    (%rbx,%rax,4),%rax
  movaps %xmm5,%xmm14
  mulss  %xmm12,%xmm14
  addss  (%rax),%xmm14
  movss  %xmm14,(%rax)
  lea    0x7(%r10),%eax
  lea    (%rax,%rdi,1),%esi
  movslq %esi,%rsi
  lea    (%rbx,%rsi,4),%rsi
  movaps %xmm5,%xmm14
  mulss  %xmm11,%xmm14
  addss  (%rsi),%xmm14
  movss  %xmm14,(%rsi)
  mov    -0x58(%rsp),%r8
  lea    0x0(%r13,%r8,1),%rsi
  movaps %xmm4,%xmm14
  mulss  %xmm5,%xmm14
  addss  (%rsi),%xmm14
  movss  %xmm14,(%rsi)
  mov    -0x38(%rsp),%r9
  lea    0x0(%r13,%r9,1),%rsi
  movaps %xmm3,%xmm14
  mulss  %xmm5,%xmm14
  addss  (%rsi),%xmm14
  movss  %xmm14,(%rsi)
  mov    -0x20(%rsp),%r15
  lea    0x0(%r13,%r15,1),%rsi
  movaps %xmm0,%xmm14
  mulss  %xmm5,%xmm14
  addss  (%rsi),%xmm14
  movss  %xmm14,(%rsi)
  mov    0x30(%rsp),%r14
  add    %r14,%r8
  movaps %xmm7,%xmm14
  mulss  %xmm5,%xmm14
  addss  (%r8),%xmm14
  movss  %xmm14,(%r8)
  add    %r14,%r9
  movaps %xmm6,%xmm14
  mulss  %xmm5,%xmm14
  addss  (%r9),%xmm14
  movss  %xmm14,(%r9)
  mov    %r15,%r8
  add    %r14,%r8
  mulss  %xmm10,%xmm5
  addss  (%r8),%xmm5
  movss  %xmm5,(%r8)
  movss  (%rsp),%xmm15
  mulss  %xmm15,%xmm1
  mov    %edi,%r15d
  mov    -0x78(%rsp),%r10d
  lea    (%r10,%rdi,1),%esi
  movslq %esi,%rsi
  lea    (%rbx,%rsi,4),%rsi
  movaps %xmm2,%xmm5
  mulss  %xmm8,%xmm5
  addss  (%rsi),%xmm5
  movss  %xmm5,(%rsi)
  lea    0x1(%r10),%r8d
  lea    (%r8,%rdi,1),%esi
  movslq %esi,%rsi
  lea    (%rbx,%rsi,4),%rsi
  movaps %xmm2,%xmm5
  mulss  %xmm13,%xmm5
  addss  (%rsi),%xmm5
  movss  %xmm5,(%rsi)
  lea    0x2(%r10),%edi
  lea    (%rdi,%r15,1),%esi
  movslq %esi,%rsi
  lea    (%rbx,%rsi,4),%rsi
  movaps %xmm2,%xmm5
  mulss  %xmm12,%xmm5
  addss  (%rsi),%xmm5
  movss  %xmm5,(%rsi)
  lea    0x3(%r10),%esi
  lea    (%rsi,%r15,1),%r9d
  movslq %r9d,%r9
  lea    (%rbx,%r9,4),%r9
  movaps %xmm2,%xmm5
  mulss  %xmm11,%xmm5
  addss  (%r9),%xmm5
  movss  %xmm5,(%r9)
  mov    -0x50(%rsp),%r15
  mov    %r15,%r9
  add    %r13,%r9
  movaps %xmm4,%xmm5
  mulss  %xmm2,%xmm5
  addss  (%r9),%xmm5
  movss  %xmm5,(%r9)
  mov    -0x70(%rsp),%r9
  add    %r13,%r9
  movaps %xmm3,%xmm5
  mulss  %xmm2,%xmm5
  addss  (%r9),%xmm5
  movss  %xmm5,(%r9)
  mov    -0x18(%rsp),%r10
  lea    0x0(%r13,%r10,1),%r9
  movaps %xmm0,%xmm5
  mulss  %xmm2,%xmm5
  addss  (%r9),%xmm5
  movss  %xmm5,(%r9)
  mov    %r15,%r9
  add    %r14,%r9
  movaps %xmm7,%xmm5
  mulss  %xmm2,%xmm5
  addss  (%r9),%xmm5
  movss  %xmm5,(%r9)
  mov    -0x70(%rsp),%r9
  add    %r14,%r9
  movaps %xmm6,%xmm5
  mulss  %xmm2,%xmm5
  addss  (%r9),%xmm5
  movss  %xmm5,(%r9)
  add    %r14,%r10
  mulss  %xmm10,%xmm2
  addss  (%r10),%xmm2
  movss  %xmm2,(%r10)
  mulss  %xmm15,%xmm9
  mov    0x8(%rsp),%r9d
  mov    -0x64(%rsp),%r15d
  add    %r15d,%r9d
  movslq %r9d,%r9
  lea    (%rbx,%r9,4),%r9
  movaps %xmm8,%xmm2
  mulss  %xmm1,%xmm2
  addss  (%r9),%xmm2
  movss  %xmm2,(%r9)
  add    %r15d,%ecx
  movslq %ecx,%rcx
  lea    (%rbx,%rcx,4),%rcx
  movaps %xmm13,%xmm2
  mulss  %xmm1,%xmm2
  addss  (%rcx),%xmm2
  movss  %xmm2,(%rcx)
  add    %r15d,%edx
  movslq %edx,%rdx
  lea    (%rbx,%rdx,4),%rdx
  movaps %xmm12,%xmm2
  mulss  %xmm1,%xmm2
  addss  (%rdx),%xmm2
  movss  %xmm2,(%rdx)
  mov    %r15d,%edx
  add    %r15d,%eax
  cltq
  lea    (%rbx,%rax,4),%rax
  movaps %xmm11,%xmm2
  mulss  %xmm1,%xmm2
  addss  (%rax),%xmm2
  movss  %xmm2,(%rax)
  mov    -0x48(%rsp),%rcx
  lea    0x0(%r13,%rcx,1),%rax
  movaps %xmm4,%xmm2
  mulss  %xmm1,%xmm2
  addss  (%rax),%xmm2
  movss  %xmm2,(%rax)
  mov    -0x30(%rsp),%r15
  lea    0x0(%r13,%r15,1),%rax
  movaps %xmm3,%xmm2
  mulss  %xmm1,%xmm2
  addss  (%rax),%xmm2
  movss  %xmm2,(%rax)
  mov    -0x10(%rsp),%r10
  lea    0x0(%r13,%r10,1),%rax
  movaps %xmm0,%xmm2
  mulss  %xmm1,%xmm2
  addss  (%rax),%xmm2
  movss  %xmm2,(%rax)
  mov    %rcx,%rax
  add    %r14,%rax
  movaps %xmm7,%xmm2
  mulss  %xmm1,%xmm2
  addss  (%rax),%xmm2
  movss  %xmm2,(%rax)
  mov    %r15,%rax
  add    %r14,%rax
  movaps %xmm6,%xmm2
  mulss  %xmm1,%xmm2
  addss  (%rax),%xmm2
  movss  %xmm2,(%rax)
  mov    %r10,%rax
  add    %r14,%rax
  mulss  %xmm10,%xmm1
  addss  (%rax),%xmm1
  movss  %xmm1,(%rax)
  mov    -0x78(%rsp),%eax
  add    %edx,%eax
  cltq
  lea    (%rbx,%rax,4),%rax
  mulss  %xmm9,%xmm8
  addss  (%rax),%xmm8
  movss  %xmm8,(%rax)
  add    %edx,%r8d
  movslq %r8d,%r8
  lea    (%rbx,%r8,4),%rax
  mulss  %xmm9,%xmm13
  addss  (%rax),%xmm13
  movss  %xmm13,(%rax)
  add    %edx,%edi
  movslq %edi,%rdi
  lea    (%rbx,%rdi,4),%rax
  mulss  %xmm9,%xmm12
  addss  (%rax),%xmm12
  movss  %xmm12,(%rax)
  add    %edx,%esi
  movslq %esi,%rsi
  lea    (%rbx,%rsi,4),%rax
  mulss  %xmm9,%xmm11
  addss  (%rax),%xmm11
  movss  %xmm11,(%rax)
  mov    -0x40(%rsp),%rcx
  lea    0x0(%r13,%rcx,1),%rax
  mulss  %xmm9,%xmm4
  addss  (%rax),%xmm4
  movss  %xmm4,(%rax)
  mov    -0x28(%rsp),%rdx
  lea    0x0(%r13,%rdx,1),%rax
  mulss  %xmm9,%xmm3
  addss  (%rax),%xmm3
  movss  %xmm3,(%rax)
  mov    -0x8(%rsp),%rdi
  lea    0x0(%r13,%rdi,1),%rax
  mulss  %xmm9,%xmm0
  addss  (%rax),%xmm0
  movss  %xmm0,(%rax)
  mov    %rcx,%rax
  add    %r14,%rax
  mulss  %xmm9,%xmm7
  addss  (%rax),%xmm7
  movss  %xmm7,(%rax)
  mov    %rdx,%rax
  add    %r14,%rax
  mulss  %xmm9,%xmm6
  addss  (%rax),%xmm6
  movss  %xmm6,(%rax)
  add    %r14,%rdi
  mulss  %xmm9,%xmm10
  addss  (%rdi),%xmm10
  movss  %xmm10,(%rdi)
  addl   $0x1,-0x68(%rsp)
  mov    -0x68(%rsp),%eax
  add    0x40(%rsp),%r11
  cmp    %eax,0x88(%rsp)
  jne    L17
L7:
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: retrieve_data
arguments: data_tag: D45
type: f64
name: retrieve_data
arguments: data_tag: D64
type: f32
name: retrieve_data
arguments: data_tag: D84
type: byte[8]
name: retrieve_data
arguments: data_tag: D56
type: f64
name: retrieve_data
arguments: data_tag: D50
type: byte[4]

tool: D45: 0.5

tool: D64: 1

tool: {"D84": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

tool: D56: 2

tool: {"D50": [0x00,0x00,0x00,0x3f]}

assistant: ```c
void cgdcjpost2l(float part[], float fxy[], float bxy[], float cu[], float dcu[], float amu[], float qm, float qbm, float dt, int idimp, int nop, int nxv, int nyv) {
  int j, nn, mm, np, mp, nnn, mmm, nnp, mmp, nxv3, nxv4;
  float qtmh, dti, dxp, dyp, amx, amy, dx, dy, dz, ox, oy, oz;
  float acx, acy, acz, omxt, omyt, omzt, omt, anorm;
  float rot1, rot2, rot3, rot4, rot5, rot6, rot7, rot8, rot9;
  float vx, vy, vz, v1, v2, v3, v4;
  nxv3 = 3 * nxv;
  nxv4 = 4 * nxv;
  qtmh = 0.5 * qbm * dt;
  dti = 1.0 / dt;
  for (j = 0; j < nop; j++) {
    nnn = part[idimp * j];
    mmm = part[1 + idimp * j];
    dxp = part[idimp * j] - (float)nnn;
    dyp = part[1 + idimp * j] - (float)mmm;
    nn = 3 * nnn;
    mm = nxv3 * mmm;
    amx = 1.0 - dxp;
    mp = mm + nxv3;
    amy = 1.0 - dyp;
    np = nn + 3;
    nnn = 4 * nnn;
    mmm = nxv4 * mmm;
    mmp = mmm + nxv4;
    nnp = nnn + 4;
    dx = dyp * (dxp * fxy[np + mp] + amx * fxy[nn + mp]) + amy * (dxp * fxy[np + mm] + amx * fxy[nn + mm]);
    dy = dyp * (dxp * fxy[1 + np + mp] + amx * fxy[1 + nn + mp]) + amy * (dxp * fxy[1 + np + mm] + amx * fxy[1 + nn + mm]);
    dz = dyp * (dxp * fxy[2 + np + mp] + amx * fxy[2 + nn + mp]) + amy * (dxp * fxy[2 + np + mm] + amx * fxy[2 + nn + mm]);
    ox = dyp * (dxp * bxy[np + mp] + amx * bxy[nn + mp]) + amy * (dxp * bxy[np + mm] + amx * bxy[nn + mm]);
    oy = dyp * (dxp * bxy[1 + np + mp] + amx * bxy[1 + nn + mp]) + amy * (dxp * bxy[1 + np + mm] + amx * bxy[1 + nn + mm]);
    oz = dyp * (dxp * bxy[2 + np + mp] + amx * bxy[2 + nn + mp]) + amy * (dxp * bxy[2 + np + mm] + amx * bxy[2 + nn + mm]);
    dx *= qtmh;
    dy *= qtmh;
    dz *= qtmh;
    vx = part[2 + idimp * j];
    vy = part[3 + idimp * j];
    vz = part[4 + idimp * j];
    acx = vx + dx;
    acy = vy + dy;
    acz = vz + dz;
    omxt = qtmh * ox;
    omyt = qtmh * oy;
    omzt = qtmh * oz;
    omt = omxt * omxt + omyt * omyt + omzt * omzt;
    anorm = 2.0 / (1.0 + omt);
    omt = 0.5 * (1.0 - omt);
    rot4 = omxt * omyt;
    rot7 = omxt * omzt;
    rot8 = omyt * omzt;
    rot1 = omt + omxt * omxt;
    rot5 = omt + omyt * omyt;
    rot9 = omt + omzt * omzt;
    rot2 = omzt + rot4;
    rot4 -= omzt;
    rot3 = -omyt + rot7;
    rot7 += omyt;
    rot6 = omxt + rot8;
    rot8 -= omxt;
    dx += (rot1 * acx + rot2 * acy + rot3 * acz) * anorm;
    dy += (rot4 * acx + rot5 * acy + rot6 * acz) * anorm;
    dz += (rot7 * acx + rot8 * acy + rot9 * acz) * anorm;
    amx = qm * amx;
    dxp = qm * dxp;
    ox = 0.5 * (dx + vx);
    oy = 0.5 * (dy + vy);
    oz = 0.5 * (dz + vz);
    vx = dti * (dx - vx);
    vy = dti * (dy - vy);
    vz = dti * (dz - vz);
    dx = dxp * dyp;
    dy = amx * dyp;
    v1 = ox * ox - oy * oy;
    v2 = ox * oy;
    v3 = oz * ox;
    v4 = oz * oy;
    amu[nnp + mmp] += v1 * dx;
    amu[1 + nnp + mmp] += v2 * dx;
    amu[2 + nnp + mmp] += v3 * dx;
    amu[3 + nnp + mmp] += v4 * dx;
    dcu[np + mp] += vx * dx;
    dcu[1 + np + mp] += vy * dx;
    dcu[2 + np + mp] += vz * dx;
    cu[np + mp] += ox * dx;
    cu[1 + np + mp] += oy * dx;
    cu[2 + np + mp] += oz * dx;
    dx = dxp * amy;
    amu[nnn + mmp] += v1 * dy;
    amu[1 + nnn + mmp] += v2 * dy;
    amu[2 + nnn + mmp] += v3 * dy;
    amu[3 + nnn + mmp] += v4 * dy;
    dcu[nn + mp] += vx * dy;
    dcu[1 + nn + mp] += vy * dy;
    dcu[2 + nn + mp] += vz * dy;
    cu[nn + mp] += ox * dy;
    cu[1 + nn + mp] += oy * dy;
    cu[2 + nn + mp] += oz * dy;
    dy = amx * amy;
    amu[nnp + mmm] += v1 * dx;
    amu[1 + nnp + mmm] += v2 * dx;
    amu[2 + nnp + mmm] += v3 * dx;
    amu[3 + nnp + mmm] += v4 * dx;
    dcu[np + mm] += vx * dx;
    dcu[1 + np + mm] += vy * dx;
    dcu[2 + np + mm] += vz * dx;
    cu[np + mm] += ox * dx;
    cu[1 + np + mm] += oy * dx;
    cu[2 + np + mm] += oz * dx;
    amu[nnn + mmm] += v1 * dy;
    amu[1 + nnn + mmm] += v2 * dy;
    amu[2 + nnn + mmm] += v3 * dy;
    amu[3 + nnn + mmm] += v4 * dy;
    dcu[nn + mm] += vx * dy;
    dcu[1 + nn + mm] += vy * dy;
    dcu[2 + nn + mm] += vz * dy;
    cu[nn + mm] += ox * dy;
    cu[1 + nn + mm] += oy * dy;
    cu[2 + nn + mm] += oz * dy;
  }
  return;
}
```