user: 请将以下的汇编代码转换成C语言代码：

```asm
<pet_c_oplem_dda_att>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %esi,%ebp
  push   %rbx
  sub    $0xf8,%rsp
  mov    0x130(%rsp),%rax
  mov    %rdi,0x78(%rsp)
  mov    0x178(%rsp),%edi
  mov    0x168(%rsp),%ebx
  mov    %rdx,0x80(%rsp)
  xor    %edx,%edx
  mov    %rax,0x90(%rsp)
  mov    0x140(%rsp),%rax
  mov    %edi,%r15d
  mov    0x180(%rsp),%rsi
  mov    %edi,0x58(%rsp)
  mov    %rax,0x98(%rsp)
  mov    0x150(%rsp),%rax
  mov    %rsi,0xb0(%rsp)
  mov    0x1a0(%rsp),%rsi
  mov    %rax,0xa0(%rsp)
  mov    0x170(%rsp),%eax
  mov    %rsi,0xa8(%rsp)
  mov    0x1c0(%rsp),%esi
  imul   %eax,%r15d
  cmp    %ebx,%eax
  mov    %r8,0x88(%rsp)
  mov    0x160(%rsp),%r13
  cmovl  %ebx,%edx
  mov    %esi,0xd0(%rsp)
  cmp    %edi,%edx
  cmovl  %edi,%edx
  imul   %r15d,%ebx
  movslq %edx,%rax
  mov    %edx,%ecx
  imul   $0x55555556,%rax,%rax
  sar    $0x1f,%ecx
  shr    $0x20,%rax
  sub    %ecx,%eax
  lea    (%rax,%rdx,1),%edi
  movslq %edi,%rdi
  shl    $0x2,%rdi
  call   <malloc@plt>
  mov    %ebx,0xc0(%rsp)
  mov    %rax,0x40(%rsp)
  lea    0x0(,%rbx,4),%eax
  mov    %rax,%rdi
  mov    %rax,0xc8(%rsp)
  call   <malloc@plt>
  mov    %rax,0x70(%rsp)
  test   %ebx,%ebx
  jle    L36
  mov    0xc0(%rsp),%ebx
  lea    -0x1(%rbx),%eax
  cmp    $0x2,%eax
  jbe    L122
  shr    $0x2,%ebx
  mov    0xb0(%rsp),%rdi
  movaps D87(%rip),%xmm1
  mov    %ebx,%edx
  sub    $0x1,%edx
  mov    %rdi,%rax
  shl    $0x4,%rdx
  lea    0x10(%rdi,%rdx,1),%rdx
L458:
  movups (%rax),%xmm3
  movaps %xmm1,%xmm0
  add    $0x10,%rax
  divps  %xmm3,%xmm0
  movups %xmm0,-0x10(%rax)
  cmp    %rax,%rdx
  jne    L458
  mov    0xc0(%rsp),%ebx
  mov    %ebx,%eax
  and    $0xfffffffc,%eax
  and    $0x3,%ebx
  je     L36
L222:
  mov    0xb0(%rsp),%rbx
  movslq %eax,%rdx
  movss  D87(%rip),%xmm0
  shl    $0x2,%rdx
  mov    0xc0(%rsp),%edi
  lea    (%rbx,%rdx,1),%rcx
  movaps %xmm0,%xmm1
  divss  (%rcx),%xmm1
  movss  %xmm1,(%rcx)
  lea    0x1(%rax),%ecx
  cmp    %ecx,%edi
  jle    L36
  lea    0x4(%rbx,%rdx,1),%rcx
  add    $0x2,%eax
  movaps %xmm0,%xmm1
  divss  (%rcx),%xmm1
  movss  %xmm1,(%rcx)
  cmp    %eax,%edi
  jle    L36
  lea    0x8(%rbx,%rdx,1),%rax
  divss  (%rax),%xmm0
  movss  %xmm0,(%rax)
L36:
  mov    0xd0(%rsp),%edx
  test   %edx,%edx
  jle    L152
  pxor   %xmm1,%xmm1
  pxor   %xmm0,%xmm0
  pxor   %xmm3,%xmm3
  mov    0xb0(%rsp),%rax
  cvtsi2ss %ebp,%xmm1
  mov    0xc0(%rsp),%ebx
  mov    %r15d,0xdc(%rsp)
  cvtsi2ssl 0xd0(%rsp),%xmm0
  lea    0x4(%rax),%rdx
  mov    %r13,%rax
  sub    %rdx,%rax
  cmp    $0x8,%rax
  seta   %dl
  cmp    $0x1,%ebx
  divss  %xmm0,%xmm1
  setne  %al
  and    %eax,%edx
  lea    -0x1(%rbx),%eax
  mov    %eax,0xe0(%rsp)
  mov    %ebx,%eax
  and    $0xfffffffc,%ebx
  shr    $0x2,%eax
  mov    %dl,0xdb(%rsp)
  sub    $0x1,%eax
  mov    %ebx,0xe4(%rsp)
  add    $0x1,%rax
  shl    $0x4,%rax
  mov    %rax,0xe8(%rsp)
  xor    %eax,%eax
  cvtsi2ss %eax,%xmm3
  mov    %eax,0xbc(%rsp)
  movss  %xmm3,0xc4(%rsp)
  movd   %r15d,%xmm3
  mov    %r13,%r15
  pshufd $0x0,%xmm3,%xmm3
  movdqa %xmm3,%xmm4
  psrlq  $0x20,%xmm4
  movss  %xmm1,0xd4(%rsp)
  nop
L304:
  movss  0xc4(%rsp),%xmm0
  movaps %xmm4,0x10(%rsp)
  xor    %esi,%esi
  movss  0xd4(%rsp),%xmm4
  addl   $0x1,0xbc(%rsp)
  mov    0xbc(%rsp),%eax
  mulss  %xmm4,%xmm0
  mov    0xc8(%rsp),%rdx
  mov    0x70(%rsp),%rdi
  movaps %xmm3,(%rsp)
  addss  D20(%rip),%xmm0
  cvttss2si %xmm0,%r13d
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  %xmm0,0xc4(%rsp)
  mulss  %xmm4,%xmm0
  addss  D20(%rip),%xmm0
  cvttss2si %xmm0,%eax
  mov    %eax,%ebx
  mov    %eax,0x5c(%rsp)
  call   <memset@plt>
  cmp    %ebx,%r13d
  movdqa (%rsp),%xmm3
  movdqa 0x10(%rsp),%xmm4
  jge    L101
  mov    %r15,%rax
  movslq %r13d,%r13
  movss  D51(%rip),%xmm10
  mov    0xdc(%rsp),%r14d
  mov    %rax,(%rsp)
  pxor   %xmm11,%xmm11
  mov    %r13,%r15
  nopl   (%rax)
L29:
  mov    0x88(%rsp),%rbx
  pxor   %xmm2,%xmm2
  pxor   %xmm1,%xmm1
  pxor   %xmm0,%xmm0
  mov    0x78(%rsp),%rax
  movzwl (%rbx,%r15,2),%edx
  mov    0x90(%rsp),%rbx
  movzwl (%rax,%r15,2),%ecx
  mov    0x80(%rsp),%rax
  movzwl (%rbx,%r15,2),%r8d
  mov    0x98(%rsp),%rbx
  movzwl (%rax,%r15,2),%eax
  movzwl (%rbx,%r15,2),%edi
  mov    0xa0(%rsp),%rbx
  sub    %ecx,%r8d
  mov    %r8d,%r9d
  movzwl (%rbx,%r15,2),%esi
  sub    %eax,%edi
  sub    %edx,%esi
  neg    %r9d
  cmovs  %r8d,%r9d
  cvtsi2ss %r9d,%xmm2
  mov    %esi,%r9d
  neg    %r9d
  cmovs  %esi,%r9d
  cvtsi2ss %r9d,%xmm1
  mov    %edi,%r9d
  neg    %r9d
  cmovs  %edi,%r9d
  cvtsi2ss %r9d,%xmm0
  cvttss2si %xmm0,%r9d
  pxor   %xmm0,%xmm0
  cvtsi2ss %r9d,%xmm0
  comiss %xmm0,%xmm2
  jbe    L16
  cvttss2si %xmm2,%r9d
  pxor   %xmm0,%xmm0
  cvtsi2ss %r9d,%xmm0
L16:
  comiss %xmm0,%xmm1
  jbe    L189
  cvttss2si %xmm1,%r9d
  pxor   %xmm0,%xmm0
  cvtsi2ss %r9d,%xmm0
L189:
  movss  D87(%rip),%xmm1
  shl    $0x17,%ecx
  shl    $0x17,%eax
  shl    $0x17,%edx
  divss  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2ss %r8d,%xmm0
  mulss  %xmm1,%xmm0
  mulss  %xmm10,%xmm0
  cvttss2si %xmm0,%r12d
  pxor   %xmm0,%xmm0
  cvtsi2ss %edi,%xmm0
  mulss  %xmm1,%xmm0
  mulss  %xmm10,%xmm0
  cvttss2si %xmm0,%ebx
  pxor   %xmm0,%xmm0
  cvtsi2ss %esi,%xmm0
  mulss  %xmm1,%xmm0
  mulss  %xmm10,%xmm0
  cvttss2si %xmm0,%ebp
  test   %r9d,%r9d
  je     L441
  lea    -0x1(%r9),%edi
  cmpl   $0x1,0x58(%rsp)
  mov    %edi,0xb8(%rsp)
  jne    L79
  cmp    $0x2,%edi
  jbe    L85
  lea    (%r12,%rcx,1),%esi
  movd   %ecx,%xmm7
  mov    0x40(%rsp),%r13
  lea    (%r12,%rsi,1),%edi
  movd   %esi,%xmm5
  mov    %esi,0x10(%rsp)
  lea    0x0(,%r12,4),%esi
  lea    (%r12,%rdi,1),%r8d
  movd   %edi,%xmm0
  lea    (%rbx,%rax,1),%edi
  movd   %r8d,%xmm6
  punpckldq %xmm5,%xmm7
  lea    (%rbx,%rdi,1),%r8d
  punpckldq %xmm6,%xmm0
  lea    (%rbx,%r8,1),%r10d
  movd   %edi,%xmm5
  punpcklqdq %xmm0,%xmm7
  movd   %r8d,%xmm0
  lea    0x0(%rbp,%rdx,1),%r8d
  movd   %r10d,%xmm6
  lea    0x0(%rbp,%r8,1),%r10d
  movd   %esi,%xmm12
  punpckldq %xmm6,%xmm0
  lea    0x0(%rbp,%r10,1),%r11d
  movd   %eax,%xmm6
  punpckldq %xmm5,%xmm6
  movd   %r11d,%xmm5
  mov    %r9d,%r11d
  shr    $0x2,%r11d
  lea    0x0(,%rbx,4),%esi
  punpcklqdq %xmm0,%xmm6
  sub    $0x1,%r11d
  movd   %r10d,%xmm0
  movd   %esi,%xmm9
  mov    %r13,%r10
  punpckldq %xmm5,%xmm0
  lea    0x0(,%rbp,4),%esi
  movd   %edx,%xmm5
  shl    $0x4,%r11
  movd   %r8d,%xmm2
  movd   %esi,%xmm8
  mov    0x10(%rsp),%esi
  lea    0x10(%r13,%r11,1),%r11
  punpckldq %xmm2,%xmm5
  mov    (%rsp),%r13
  pshufd $0x0,%xmm12,%xmm12
  pshufd $0x0,%xmm9,%xmm9
  punpcklqdq %xmm0,%xmm5
  pshufd $0x0,%xmm8,%xmm8
  nopl   0x0(%rax)
L453:
  movdqa %xmm5,%xmm0
  movdqa %xmm6,%xmm2
  movdqa %xmm7,%xmm1
  add    $0x10,%r10
  psrad  $0x17,%xmm0
  psrad  $0x17,%xmm2
  paddd  %xmm8,%xmm5
  movdqa %xmm0,%xmm13
  psrlq  $0x20,%xmm0
  paddd  %xmm9,%xmm6
  pmuludq %xmm3,%xmm13
  pmuludq %xmm4,%xmm0
  paddd  %xmm12,%xmm7
  psrad  $0x17,%xmm1
  pshufd $0x8,%xmm13,%xmm13
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm0,%xmm13
  paddd  %xmm13,%xmm2
  paddd  %xmm2,%xmm1
  movups %xmm1,-0x10(%r10)
  cmp    %r10,%r11
  jne    L453
  mov    %r9d,%r11d
  mov    %esi,0x10(%rsp)
  and    $0xfffffffc,%r11d
  mov    %r13,(%rsp)
  mov    %r11d,%r10d
  mov    %r11d,0x20(%rsp)
  imul   %r12d,%r10d
  lea    (%r10,%rcx,1),%esi
  mov    %r11d,%r10d
  imul   %ebx,%r10d
  mov    %esi,0x50(%rsp)
  lea    (%r10,%rax,1),%esi
  mov    %r11d,%r10d
  imul   %ebp,%r11d
  mov    %esi,0x30(%rsp)
  lea    (%r11,%rdx,1),%esi
  mov    %esi,0x4c(%rsp)
  cmp    %r10d,%r9d
  je     L198
L418:
  mov    0x4c(%rsp),%r13d
  movslq 0x20(%rsp),%r11
  mov    0x30(%rsp),%r10d
  sar    $0x17,%r13d
  lea    0x0(,%r11,4),%rsi
  mov    %r11,0x60(%rsp)
  imul   %r14d,%r13d
  sar    $0x17,%r10d
  mov    %rsi,0x68(%rsp)
  mov    0x50(%rsp),%esi
  add    %r10d,%r13d
  mov    %r13d,%r11d
  mov    %esi,%r13d
  sar    $0x17,%r13d
  mov    %r13d,%r10d
  mov    %r11d,%r13d
  mov    0x60(%rsp),%r11
  add    %r10d,%r13d
  mov    0x40(%rsp),%r10
  mov    %r13d,(%r10,%r11,4)
  mov    %esi,%r13d
  mov    0x4c(%rsp),%r11d
  add    %r12d,%r13d
  mov    0x30(%rsp),%r10d
  mov    %r13d,%esi
  mov    0x20(%rsp),%r13d
  add    %ebp,%r11d
  mov    %r11d,0x30(%rsp)
  add    %ebx,%r10d
  lea    0x1(%r13),%r11d
  cmp    %r9d,%r11d
  jge    L198
  mov    0x30(%rsp),%r13d
  mov    %r10d,%r11d
  mov    %esi,0x4c(%rsp)
  add    %ebx,%r10d
  sar    $0x17,%r11d
  sar    $0x17,%r13d
  imul   %r14d,%r13d
  add    %r11d,%r13d
  mov    %r13d,0x50(%rsp)
  mov    %esi,%r13d
  mov    0x68(%rsp),%rsi
  sar    $0x17,%r13d
  mov    %r13d,%r11d
  mov    0x50(%rsp),%r13d
  add    %r11d,%r13d
  mov    0x40(%rsp),%r11
  mov    %r13d,0x4(%r11,%rsi,1)
  mov    0x4c(%rsp),%r13d
  mov    0x30(%rsp),%r11d
  add    %r12d,%r13d
  mov    %r13d,0x4c(%rsp)
  mov    0x20(%rsp),%r13d
  add    %ebp,%r11d
  add    $0x2,%r13d
  cmp    %r13d,%r9d
  jle    L198
  sar    $0x17,%r11d
  sar    $0x17,%r10d
  imul   %r14d,%r11d
  add    %r11d,%r10d
  mov    0x4c(%rsp),%r11d
  sar    $0x17,%r11d
  add    %r11d,%r10d
  mov    0x40(%rsp),%r11
  mov    %r10d,0x8(%r11,%rsi,1)
L198:
  mov    %ecx,0x20(%rsp)
  mov    (%rsp),%r13
  mov    %edx,%ecx
  movaps %xmm11,%xmm2
  mov    0x10(%rsp),%esi
  mov    0x20(%rsp),%edx
  movaps %xmm11,%xmm0
  movaps %xmm11,%xmm1
  mov    0xa8(%rsp),%r11
  xor    %r10d,%r10d
  jmp    L411
  nopw   0x0(%rax,%rax,1)
L69:
  add    %r12d,%esi
  add    %ebx,%edi
  add    %ebp,%r8d
L411:
  sar    $0x17,%ecx
  sar    $0x17,%eax
  add    $0x1,%r10d
  imul   %r14d,%ecx
  sar    $0x17,%edx
  add    %eax,%ecx
  mov    %edi,%eax
  add    %edx,%ecx
  mov    %esi,%edx
  movslq %ecx,%rcx
  addss  0x0(%r13,%rcx,4),%xmm1
  subss  (%r11,%rcx,4),%xmm0
  mov    %r8d,%ecx
  cmp    %r10d,%r9d
  jne    L69
  mov    %r13,(%rsp)
L10:
  ucomiss %xmm2,%xmm1
  jp     L156
  jne    L156
L441:
  add    $0x1,%r15
  cmp    %r15d,0x5c(%rsp)
  jg     L29
  mov    (%rsp),%r15
L101:
  mov    0xc0(%rsp),%eax
  test   %eax,%eax
  jle    L149
  cmpb   $0x0,0xdb(%rsp)
  je     L341
  cmpl   $0x2,0xe0(%rsp)
  jbe    L428
  mov    0x70(%rsp),%rdx
  mov    0xe8(%rsp),%rcx
  xor    %eax,%eax
  mov    0xb0(%rsp),%rsi
  nopl   0x0(%rax)
L37:
  movups (%r15,%rax,1),%xmm7
  movups (%rdx,%rax,1),%xmm0
  mulps  %xmm7,%xmm0
  movups (%rsi,%rax,1),%xmm7
  mulps  %xmm7,%xmm0
  movups %xmm0,(%r15,%rax,1)
  add    $0x10,%rax
  cmp    %rax,%rcx
  jne    L37
  mov    0xe4(%rsp),%eax
  mov    0xc0(%rsp),%ecx
  cmp    %ecx,%eax
  je     L149
  mov    %eax,%edx
  sub    %edx,%ecx
  cmp    $0x1,%ecx
  je     L24
L265:
  mov    0x70(%rsp),%rbx
  lea    (%r15,%rdx,4),%rsi
  movq   (%rsi),%xmm0
  movq   (%rbx,%rdx,4),%xmm1
  mov    0xb0(%rsp),%rbx
  mulps  %xmm1,%xmm0
  movq   (%rbx,%rdx,4),%xmm1
  mov    %ecx,%edx
  and    $0xfffffffe,%edx
  add    %edx,%eax
  mulps  %xmm1,%xmm0
  movlps %xmm0,(%rsi)
  cmp    %ecx,%edx
  je     L149
L24:
  mov    0x70(%rsp),%rbx
  cltq
  lea    (%r15,%rax,4),%rdx
  movss  (%rbx,%rax,4),%xmm0
  mov    0xb0(%rsp),%rbx
  mulss  (%rdx),%xmm0
  mulss  (%rbx,%rax,4),%xmm0
  movss  %xmm0,(%rdx)
L149:
  mov    0xd0(%rsp),%ebx
  cmp    %ebx,0xbc(%rsp)
  jne    L304
L152:
  mov    0x40(%rsp),%rdi
  call   <free@plt>
  mov    0x70(%rsp),%rdi
  add    $0xf8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1080 <free@plt>
  nopl   (%rax)
L156:
  mulss  D2(%rip),%xmm0
  movaps %xmm4,0x30(%rsp)
  movaps %xmm3,0x20(%rsp)
  movss  %xmm1,0x10(%rsp)
  cvtss2sd %xmm0,%xmm0
  call   <exp@plt>
  movss  0x10(%rsp),%xmm1
  movss  D87(%rip),%xmm2
  mov    0x40(%rsp),%rbx
  mov    0xb8(%rsp),%edx
  pxor   %xmm11,%xmm11
  cvtss2sd %xmm1,%xmm1
  mulsd  %xmm0,%xmm1
  mov    (%rsp),%r13
  mov    0x70(%rsp),%rsi
  movdqa 0x20(%rsp),%xmm3
  movdqa 0x30(%rsp),%xmm4
  mov    %rbx,%rax
  lea    0x4(%rbx,%rdx,4),%rcx
  movss  D51(%rip),%xmm10
  cvtsd2ss %xmm1,%xmm1
  divss  %xmm1,%xmm2
  xchg   %ax,%ax
L325:
  movslq (%rax),%rdx
  add    $0x4,%rax
  lea    (%rsi,%rdx,4),%rdx
  movss  (%rdx),%xmm0
  addss  %xmm2,%xmm0
  movss  %xmm0,(%rdx)
  cmp    %rax,%rcx
  jne    L325
  mov    %r13,(%rsp)
  jmp    L441
  nopl   (%rax)
L79:
  cmp    $0x2,%edi
  jbe    L120
  lea    (%r12,%rcx,1),%esi
  movd   %ecx,%xmm8
  mov    (%rsp),%r13
  lea    (%r12,%rsi,1),%edi
  mov    %esi,0x10(%rsp)
  lea    (%r12,%rdi,1),%r8d
  movd   %edi,%xmm0
  lea    0x0(,%r12,4),%edi
  movd   %r8d,%xmm7
  movd   %edi,%xmm13
  lea    (%rbx,%rax,1),%edi
  punpckldq %xmm7,%xmm0
  lea    (%rbx,%rdi,1),%r8d
  movd   %esi,%xmm7
  lea    (%rbx,%r8,1),%r10d
  punpckldq %xmm7,%xmm8
  movd   %edi,%xmm6
  movd   %r10d,%xmm7
  punpcklqdq %xmm0,%xmm8
  movd   %r8d,%xmm0
  lea    0x0(%rbp,%rdx,1),%r8d
  punpckldq %xmm7,%xmm0
  movd   %eax,%xmm7
  lea    0x0(%rbp,%r8,1),%r10d
  punpckldq %xmm6,%xmm7
  movd   %r8d,%xmm5
  lea    0x0(%rbp,%r10,1),%r11d
  punpcklqdq %xmm0,%xmm7
  movd   %r10d,%xmm0
  movd   %r11d,%xmm6
  lea    0x0(,%rbx,4),%esi
  mov    %r9d,%r11d
  punpckldq %xmm6,%xmm0
  movd   %edx,%xmm6
  shr    $0x2,%r11d
  movd   %esi,%xmm12
  punpckldq %xmm5,%xmm6
  movd   0x58(%rsp),%xmm5
  sub    $0x1,%r11d
  lea    0x0(,%rbp,4),%esi
  movd   %esi,%xmm9
  mov    0x40(%rsp),%rsi
  shl    $0x4,%r11
  pshufd $0x0,%xmm13,%xmm13
  pshufd $0x0,%xmm5,%xmm14
  pshufd $0x0,%xmm12,%xmm12
  punpcklqdq %xmm0,%xmm6
  mov    %rsi,%r10
  lea    0x10(%rsi,%r11,1),%r11
  mov    0x10(%rsp),%esi
  movdqa %xmm14,%xmm15
  pshufd $0x0,%xmm9,%xmm9
  psrlq  $0x20,%xmm15
  nopw   0x0(%rax,%rax,1)
L286:
  movdqa %xmm6,%xmm2
  movdqa %xmm7,%xmm0
  movdqa %xmm8,%xmm5
  add    $0x10,%r10
  psrad  $0x17,%xmm2
  psrad  $0x17,%xmm0
  paddd  %xmm9,%xmm6
  movdqa %xmm2,%xmm1
  psrlq  $0x20,%xmm2
  paddd  %xmm12,%xmm7
  pmuludq %xmm3,%xmm1
  pmuludq %xmm4,%xmm2
  paddd  %xmm13,%xmm8
  psrad  $0x17,%xmm5
  pshufd $0x8,%xmm2,%xmm2
  pshufd $0x8,%xmm1,%xmm1
  punpckldq %xmm2,%xmm1
  movdqa %xmm0,%xmm2
  psrlq  $0x20,%xmm0
  pmuludq %xmm14,%xmm2
  pmuludq %xmm15,%xmm0
  pshufd $0x8,%xmm2,%xmm2
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm0,%xmm2
  paddd  %xmm2,%xmm1
  paddd  %xmm5,%xmm1
  movups %xmm1,-0x10(%r10)
  cmp    %r10,%r11
  jne    L286
  mov    %r9d,%r10d
  mov    %r12d,%r11d
  mov    %esi,0x10(%rsp)
  and    $0xfffffffc,%r10d
  mov    %r13,(%rsp)
  imul   %r10d,%r11d
  mov    %r10d,%r13d
  mov    %r10d,0x20(%rsp)
  lea    (%r11,%rcx,1),%esi
  mov    %ebx,%r11d
  imul   %r10d,%r11d
  mov    %esi,0x30(%rsp)
  lea    (%r11,%rax,1),%esi
  mov    %ebp,%r11d
  imul   %r10d,%r11d
  mov    %esi,0x4c(%rsp)
  lea    (%r11,%rdx,1),%esi
  mov    %esi,%r10d
  cmp    %r13d,%r9d
  je     L27
L354:
  movslq 0x20(%rsp),%rsi
  lea    0x0(,%rsi,4),%r11
  mov    %rsi,0x60(%rsp)
  mov    %r10d,%esi
  mov    %r11,0x50(%rsp)
  mov    0x4c(%rsp),%r11d
  add    %ebp,%esi
  sar    $0x17,%r11d
  imul   0x58(%rsp),%r11d
  mov    %r11d,%r13d
  mov    %r10d,%r11d
  mov    0x30(%rsp),%r10d
  sar    $0x17,%r11d
  imul   %r14d,%r11d
  sar    $0x17,%r10d
  add    %r13d,%r11d
  mov    0x60(%rsp),%r13
  add    %r10d,%r11d
  mov    0x40(%rsp),%r10
  mov    %r11d,(%r10,%r13,4)
  mov    0x20(%rsp),%r11d
  mov    0x30(%rsp),%r13d
  mov    0x4c(%rsp),%r10d
  add    $0x1,%r11d
  add    %r12d,%r13d
  add    %ebx,%r10d
  cmp    %r11d,%r9d
  jle    L27
  mov    %r10d,%r11d
  mov    %r10d,0x30(%rsp)
  sar    $0x17,%r11d
  imul   0x58(%rsp),%r11d
  mov    %r13d,0x4c(%rsp)
  mov    %r11d,%r10d
  mov    %esi,%r11d
  add    %ebp,%esi
  sar    $0x17,%r11d
  imul   %r14d,%r11d
  add    %r10d,%r11d
  mov    %r13d,%r10d
  mov    0x50(%rsp),%r13
  sar    $0x17,%r10d
  add    %r10d,%r11d
  mov    0x40(%rsp),%r10
  mov    %r11d,0x4(%r10,%r13,1)
  mov    0x20(%rsp),%r10d
  mov    0x4c(%rsp),%r13d
  mov    0x30(%rsp),%r11d
  add    $0x2,%r10d
  add    %r12d,%r13d
  add    %ebx,%r11d
  cmp    %r10d,%r9d
  jle    L27
  sar    $0x17,%esi
  sar    $0x17,%r11d
  imul   0x58(%rsp),%r11d
  mov    %esi,%r10d
  sar    $0x17,%r13d
  mov    0x40(%rsp),%rsi
  imul   %r14d,%r10d
  add    %r11d,%r10d
  add    %r13d,%r10d
  mov    0x50(%rsp),%r13
  mov    %r10d,0x8(%rsi,%r13,1)
L27:
  pxor   %xmm2,%xmm2
  mov    %r15,0x20(%rsp)
  mov    (%rsp),%r13
  xor    %r10d,%r10d
  mov    0x58(%rsp),%r15d
  mov    0x10(%rsp),%esi
  movaps %xmm2,%xmm0
  movaps %xmm2,%xmm1
  mov    0xa8(%rsp),%r11
  jmp    L392
L164:
  add    %r12d,%esi
  add    %ebx,%edi
  add    %ebp,%r8d
L392:
  sar    $0x17,%edx
  sar    $0x17,%eax
  add    $0x1,%r10d
  imul   %r14d,%edx
  sar    $0x17,%ecx
  imul   %r15d,%eax
  add    %edx,%eax
  mov    %r8d,%edx
  add    %eax,%ecx
  mov    %edi,%eax
  movslq %ecx,%rcx
  addss  0x0(%r13,%rcx,4),%xmm1
  subss  (%r11,%rcx,4),%xmm0
  mov    %esi,%ecx
  cmp    %r10d,%r9d
  jne    L164
  mov    %r13,(%rsp)
  mov    0x20(%rsp),%r15
  jmp    L10
L85:
  lea    (%r12,%rcx,1),%edi
  mov    %edx,0x4c(%rsp)
  lea    0x0(%rbp,%rdx,1),%r8d
  mov    %edi,0x10(%rsp)
  lea    (%rbx,%rax,1),%edi
  mov    %eax,0x30(%rsp)
  mov    %ecx,0x50(%rsp)
  movl   $0x0,0x20(%rsp)
  jmp    L418
L341:
  mov    0xe0(%rsp),%edx
  mov    0x70(%rsp),%rsi
  xor    %eax,%eax
  mov    0xb0(%rsp),%rdi
  nopw   0x0(%rax,%rax,1)
L68:
  movss  (%rsi,%rax,4),%xmm0
  mulss  (%r15,%rax,4),%xmm0
  mov    %rax,%rcx
  mulss  (%rdi,%rax,4),%xmm0
  movss  %xmm0,(%r15,%rax,4)
  add    $0x1,%rax
  cmp    %rcx,%rdx
  jne    L68
  jmp    L149
L120:
  lea    (%r12,%rcx,1),%edi
  mov    %eax,0x4c(%rsp)
  mov    %edx,%r10d
  lea    0x0(%rbp,%rdx,1),%r8d
  mov    %edi,0x10(%rsp)
  lea    (%rbx,%rax,1),%edi
  mov    %ecx,0x30(%rsp)
  movl   $0x0,0x20(%rsp)
  jmp    L354
L428:
  mov    0xc0(%rsp),%ecx
  xor    %eax,%eax
  xor    %edx,%edx
  jmp    L265
L122:
  xor    %eax,%eax
  jmp    L222
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D87
type_infered: byte[16]
name: extract_symbolic_data
arguments: data_label: D20
type_infered: byte[4]
name: extract_symbolic_data
arguments: data_label: D51
type_infered: byte[4]
name: extract_symbolic_data
arguments: data_label: D2
type_infered: byte[4]

tool: {"D87": [0x00,0x00,0x80,0x3f,0x00,0x00,0x80,0x3f,0x00,0x00,0x80,0x3f,0x00,0x00,0x80,0x3f]}

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

tool: {"D51": [0x00,0x00,0x00,0x4b]}

tool: {"D2": [0x4c,0xa6,0xaa,0x3e]}

assistant: ```c
void pet_c_oplem_dda_att(unsigned short int *X1, int nx1, unsigned short int *Y1, int ny1, unsigned short int *Z1, int nz1, unsigned short int *X2, int nx2, unsigned short int *Y2, int ny2, unsigned short int *Z2, int nz2, float *im, int nim1, int nim2, int nim3, float *NM, int nm1, int nm2, int nm3, float *AM, int am1, int am2, int am3, int nsub) {
  int length, lengthy, lengthz, ilor, n;
  float flength, Qi, Ai;
  float lx, ly, lz;
  int fxinc, fyinc, fzinc, fx, fy, fz;
  int x1, y1, z1, x2, y2, z2, diffx, diffy, diffz;
  int step = nim2 * nim3;
  int ndata, ind;
  if (nim1 > nim2) {
    ndata = nim1;
  }
  if (nim3 > ndata) {
    ndata = nim3;
  }
  ndata += ndata / 3;
  int *buf = (int *)malloc(ndata * sizeof(int));
  step = nim2 * nim3;
  int lor_start, lor_stop, nlor, isub;
  int nvox = step * nim1;
  unsigned int mem_size_F = nvox * sizeof(float);
  float *F = (float *)malloc(mem_size_F);
  for (n = 0; n < nvox; ++n) {
    NM[n] = 1.0f / NM[n];
  }
  for (isub = 0; isub < nsub; ++isub) {
    lor_start = (int)((float)nx1 / nsub * isub + 0.5f);
    lor_stop = (int)((float)nx1 / nsub * (isub + 1) + 0.5f);
    nlor = lor_stop - lor_start;
    memset(F, 0, mem_size_F);
    for (ilor = lor_start; ilor < lor_stop; ++ilor) {
      Qi = 0.0f;
      Ai = 0.0f;
      x1 = X1[ilor];
      x2 = X2[ilor];
      y1 = Y1[ilor];
      y2 = Y2[ilor];
      z1 = Z1[ilor];
      z2 = Z2[ilor];
      diffx = x2 - x1;
      diffy = y2 - y1;
      diffz = z2 - z1;
      lx = abs(diffx);
      ly = abs(diffy);
      lz = abs(diffz);
      length = ly;
      if (lx > length) {
        length = lx;
      }
      if (lz > length) {
        length = lz;
      }
      flength = 1.0f / (float)length;
      fxinc = ((int)diffx * flength * (int)(pow(2, 23)));
      fyinc = ((int)diffy * flength * (int)(pow(2, 23)));
      fzinc = ((int)diffz * flength * (int)(pow(2, 23)));
      fx = ((int)x1 * (int)(pow(2, 23)));
      fy = ((int)y1 * (int)(pow(2, 23)));
      fz = ((int)z1 * (int)(pow(2, 23)));
      for (n = 0; n < length; ++n) {
        ind = (fz >> 23) * step + (fy >> 23) * nim3 + (fx >> 23);
        buf[n] = ind;
        Qi += im[ind];
        Ai -= AM[ind];
        fx = fx + fxinc;
        fy = fy + fyinc;
        fz = fz + fzinc;
      }
      if (Qi == 0.0f) {
        continue;
      }
      Qi = Qi * exp(Ai * 0.3333f);
      Qi = 1.0f / Qi;
      for (n = 0; n < length; ++n) {
        F[buf[n]] += Qi;
      }
    }
    for (n = 0; n < nvox; ++n) {
      im[n] = im[n] * F[n] * NM[n];
    }
  }
  free(buf);
  free(F);
}
```