user: Translate the below assembly code into C programming language:

```asm
<make_local_snk_block>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xa8,%rsp
  mov    0x118(%rsp),%eax
  mov    %rdi,0x60(%rsp)
  mov    %rsi,0x68(%rsp)
  mov    0x130(%rsp),%r15d
  mov    %rdx,0x30(%rsp)
  mov    %rcx,0x28(%rsp)
  mov    %r8,0x90(%rsp)
  mov    %r9,0x98(%rsp)
  test   %eax,%eax
  jle    L107
  mov    %r15d,0x130(%rsp)
  xor    %r13d,%r13d
L348:
  mov    0xf8(%rsp),%r9d
  xor    %r15d,%r15d
  test   %r9d,%r9d
  jle    L205
  mov    %r13d,0x14(%rsp)
L91:
  mov    0x100(%rsp),%r10d
  xor    %r14d,%r14d
  test   %r10d,%r10d
  jle    L71
L63:
  xor    %ebp,%ebp
L295:
  xor    %r12d,%r12d
  mov    %ebp,%r13d
L37:
  mov    0x108(%rsp),%r11d
  xor    %ebx,%ebx
  mov    %r12d,%ebp
  test   %r11d,%r11d
  jle    L4
L288:
  movl   $0x0,0xc(%rsp)
  mov    %ebp,%r12d
  mov    %ebx,%ebp
L51:
  movl   $0x0,0x10(%rsp)
  mov    %r12d,%ebx
  mov    %ebp,%r12d
L36:
  mov    0x130(%rsp),%eax
  xor    %ebp,%ebp
  test   %eax,%eax
  jle    L231
  mov    %ebx,%eax
  mov    %ebp,%ebx
  mov    %eax,%ebp
  nopl   0x0(%rax,%rax,1)
L20:
  sub    $0x8,%rsp
  mov    %r12d,%r9d
  mov    %ebp,%r8d
  mov    %r13d,%ecx
  mov    0x138(%rsp),%eax
  mov    %r15d,%esi
  push   %rax
  mov    0x118(%rsp),%eax
  push   %rax
  mov    0x118(%rsp),%eax
  push   %rax
  mov    0x118(%rsp),%eax
  push   %rax
  push   %rbx
  mov    0x40(%rsp),%eax
  push   %rax
  mov    0x44(%rsp),%edx
  push   %rdx
  mov    0x54(%rsp),%edi
  mov    %r14d,%edx
  call   <Blocal_index@plt>
  mov    0xa0(%rsp),%rcx
  add    $0x38,%rsp
  mov    %r12d,%r9d
  mov    0x138(%rsp),%esi
  mov    %ebp,%r8d
  movq   $0x0,(%rcx,%rax,8)
  push   %rsi
  mov    0x118(%rsp),%ecx
  push   %rcx
  mov    0x118(%rsp),%esi
  push   %rsi
  mov    0x118(%rsp),%ecx
  mov    %r15d,%esi
  push   %rcx
  mov    %r13d,%ecx
  push   %rbx
  mov    0x40(%rsp),%eax
  add    $0x1,%ebx
  push   %rax
  mov    0x44(%rsp),%edx
  push   %rdx
  mov    0x54(%rsp),%edi
  mov    %r14d,%edx
  call   <Blocal_index@plt>
  mov    0xa8(%rsp),%rdx
  add    $0x40,%rsp
  movq   $0x0,(%rdx,%rax,8)
  cmp    %ebx,0x130(%rsp)
  jne    L20
  mov    %ebp,%ebx
L231:
  addl   $0x1,0x10(%rsp)
  mov    0x10(%rsp),%eax
  cmp    %eax,0x100(%rsp)
  jne    L36
  addl   $0x1,0xc(%rsp)
  mov    %r12d,%ebp
  mov    0xc(%rsp),%eax
  mov    %ebx,%r12d
  cmp    %eax,0xf8(%rsp)
  jne    L51
  mov    %ebp,%ebx
  mov    %r12d,%ebp
  add    $0x1,%ebx
  cmp    %ebx,0x108(%rsp)
  jne    L288
L4:
  lea    0x1(%r12),%eax
  cmp    %eax,0x100(%rsp)
  je     L86
  mov    %eax,%r12d
  jmp    L37
L71:
  add    $0x1,%r15d
  cmp    %r15d,0xf8(%rsp)
  jne    L91
  mov    0x14(%rsp),%r13d
L205:
  add    $0x1,%r13d
  cmp    %r13d,0x118(%rsp)
  jne    L348
  mov    0x130(%rsp),%r15d
L107:
  mov    0x120(%rsp),%r8d
  test   %r8d,%r8d
  jle    L340
  movslq 0x120(%rsp),%rax
  movq   $0x0,0x80(%rsp)
  mov    %rax,0x88(%rsp)
L211:
  mov    0x80(%rsp),%ebp
  mov    0x128(%rsp),%edx
  xor    %esi,%esi
  mov    %ebp,%edi
  call   <index_2d@plt>
  mov    0x128(%rsp),%edx
  xor    %esi,%esi
  mov    %ebp,%edi
  mov    0x90(%rsp),%rbx
  mov    (%rbx,%rax,4),%eax
  mov    %eax,0x70(%rsp)
  call   <index_2d@plt>
  mov    0x98(%rsp),%r14
  mov    0x128(%rsp),%edx
  mov    %ebp,%edi
  mov    $0x1,%esi
  mov    (%r14,%rax,4),%eax
  mov    %eax,0x74(%rsp)
  call   <index_2d@plt>
  mov    0x128(%rsp),%edx
  mov    $0x1,%esi
  mov    %ebp,%edi
  mov    (%rbx,%rax,4),%eax
  mov    %eax,0xc(%rsp)
  call   <index_2d@plt>
  mov    0x128(%rsp),%edx
  mov    $0x2,%esi
  mov    %ebp,%edi
  mov    (%r14,%rax,4),%eax
  mov    %eax,0x10(%rsp)
  call   <index_2d@plt>
  mov    0x128(%rsp),%edx
  mov    %ebp,%edi
  mov    $0x2,%esi
  mov    (%rbx,%rax,4),%eax
  mov    %eax,0x78(%rsp)
  call   <index_2d@plt>
  mov    0x118(%rsp),%edi
  mov    (%r14,%rax,4),%eax
  xor    %r14d,%r14d
  mov    %eax,0x7c(%rsp)
  test   %edi,%edi
  jle    L318
L234:
  mov    0xf8(%rsp),%eax
  movl   $0x0,0x48(%rsp)
  test   %eax,%eax
  jle    L46
L27:
  mov    0x100(%rsp),%edx
  movl   $0x0,0x54(%rsp)
  test   %edx,%edx
  jle    L210
L28:
  movl   $0x0,0x4c(%rsp)
L42:
  movl   $0x0,0x50(%rsp)
L257:
  mov    0x108(%rsp),%ecx
  movl   $0x0,0x14(%rsp)
  test   %ecx,%ecx
  jle    L93
L298:
  mov    0x110(%rsp),%esi
  xor    %ebp,%ebp
  test   %esi,%esi
  jle    L41
L291:
  mov    0xe0(%rsp),%rsi
  mov    0x80(%rsp),%rax
  sub    $0x8,%rsp
  xor    %edi,%edi
  movsd  (%rsi,%rax,8),%xmm6
  movsd  %xmm6,0x20(%rsp)
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%edx
  push   %rdx
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%edx
  mov    %r14d,%esi
  push   %rdx
  push   %rbp
  mov    0x4c(%rsp),%ebx
  push   %rbx
  mov    0x88(%rsp),%r12d
  mov    0x94(%rsp),%r9d
  mov    0xb4(%rsp),%ecx
  mov    0xb0(%rsp),%edx
  mov    %r12d,%r8d
  call   <prop_index@plt>
  mov    0x70(%rsp),%r13
  mov    $0x2,%edi
  movsd  0x0(%r13,%rax,8),%xmm0
  movsd  %xmm0,0x60(%rsp)
  mov    0x158(%rsp),%esi
  add    $0x38,%rsp
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    %r14d,%esi
  push   %rbp
  push   %rbx
  mov    0x8c(%rsp),%r8d
  mov    0x90(%rsp),%r9d
  mov    0xbc(%rsp),%ecx
  mov    0xb8(%rsp),%edx
  call   <prop_index@plt>
  movsd  0x60(%rsp),%xmm0
  mov    %r12d,%r8d
  xor    %edi,%edi
  mulsd  0x0(%r13,%rax,8),%xmm0
  movsd  %xmm0,0x78(%rsp)
  mov    0x158(%rsp),%esi
  add    $0x38,%rsp
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    %r14d,%esi
  push   %rbp
  push   %rbx
  mov    0x94(%rsp),%r9d
  mov    0xb4(%rsp),%ecx
  mov    0xb0(%rsp),%edx
  mov    %r12d,0x88(%rsp)
  call   <prop_index@plt>
  mov    0x68(%rsp),%r12
  mov    $0x2,%edi
  movsd  (%r12,%rax,8),%xmm1
  movsd  %xmm1,0x60(%rsp)
  mov    0x158(%rsp),%esi
  add    $0x38,%rsp
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    %r14d,%esi
  push   %rbp
  push   %rbx
  mov    0x90(%rsp),%r9d
  mov    0x8c(%rsp),%r8d
  mov    0xbc(%rsp),%ecx
  mov    0xb8(%rsp),%edx
  call   <prop_index@plt>
  movsd  0x60(%rsp),%xmm1
  movsd  0x78(%rsp),%xmm0
  xor    %edi,%edi
  mulsd  (%r12,%rax,8),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,0x80(%rsp)
  mov    0x158(%rsp),%esi
  add    $0x38,%rsp
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    %r14d,%esi
  push   %rbp
  push   %rbx
  mov    0x90(%rsp),%r9d
  mov    0x8c(%rsp),%r8d
  mov    0xb4(%rsp),%ecx
  mov    0xb0(%rsp),%edx
  call   <prop_index@plt>
  mov    $0x2,%edi
  movsd  0x0(%r13,%rax,8),%xmm1
  movsd  %xmm1,0x60(%rsp)
  mov    0x158(%rsp),%esi
  add    $0x38,%rsp
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    %r14d,%esi
  push   %rbp
  push   %rbx
  mov    0x94(%rsp),%r9d
  mov    0x88(%rsp),%r8d
  mov    0xbc(%rsp),%ecx
  mov    0xb8(%rsp),%edx
  call   <prop_index@plt>
  movsd  0x60(%rsp),%xmm1
  xor    %edi,%edi
  mulsd  0x0(%r13,%rax,8),%xmm1
  movsd  %xmm1,0x78(%rsp)
  mov    0x158(%rsp),%esi
  add    $0x38,%rsp
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    %r14d,%esi
  push   %rbp
  push   %rbx
  mov    0x90(%rsp),%r9d
  mov    0x8c(%rsp),%r8d
  mov    0xb4(%rsp),%ecx
  mov    0xb0(%rsp),%edx
  call   <prop_index@plt>
  mov    $0x2,%edi
  movsd  (%r12,%rax,8),%xmm2
  movsd  %xmm2,0x60(%rsp)
  mov    0x158(%rsp),%esi
  add    $0x38,%rsp
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    0x120(%rsp),%esi
  push   %rsi
  mov    %r14d,%esi
  push   %rbp
  push   %rbx
  mov    0x94(%rsp),%r9d
  mov    0x88(%rsp),%r8d
  mov    0xbc(%rsp),%ecx
  mov    0xb8(%rsp),%edx
  call   <prop_index@plt>
  movsd  0x60(%rsp),%xmm2
  movsd  0x78(%rsp),%xmm1
  mov    %r14d,%esi
  mulsd  (%r12,%rax,8),%xmm2
  mov    0x120(%rsp),%rdi
  mov    %r12,0x68(%rsp)
  mov    %ebx,%r12d
  movsd  0x80(%rsp),%xmm0
  mov    0xc0(%rsp),%rax
  movsd  (%rdi,%rax,8),%xmm7
  xor    %edi,%edi
  subsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  mulsd  0x58(%rsp),%xmm0
  movsd  %xmm7,0x58(%rsp)
  movsd  %xmm0,0x78(%rsp)
  mov    0x158(%rsp),%eax
  add    $0x38,%rsp
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  push   %rbp
  push   %rbx
  mov    0x94(%rsp),%r9d
  mov    0x88(%rsp),%r8d
  mov    0xb4(%rsp),%ecx
  mov    0xb0(%rsp),%edx
  call   <prop_index@plt>
  add    $0x38,%rsp
  mov    %r14d,%esi
  mov    $0x2,%edi
  mov    0x0(%r13,%rax,8),%rbx
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  push   %rbp
  push   %r12
  mov    0x90(%rsp),%r9d
  mov    0x8c(%rsp),%r8d
  mov    0xbc(%rsp),%ecx
  mov    0xb8(%rsp),%edx
  call   <prop_index@plt>
  mov    0x68(%rsp),%rsi
  movq   %rbx,%xmm4
  xor    %edi,%edi
  mov    %r12d,%ebx
  mulsd  (%rsi,%rax,8),%xmm4
  mov    %r14d,%esi
  movsd  %xmm4,0x60(%rsp)
  mov    0x158(%rsp),%eax
  add    $0x38,%rsp
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  push   %rbp
  push   %r12
  mov    0x94(%rsp),%r9d
  mov    0x88(%rsp),%r8d
  mov    0xb4(%rsp),%ecx
  mov    0xb0(%rsp),%edx
  call   <prop_index@plt>
  mov    0x68(%rsp),%r12
  mov    %r14d,%esi
  mov    $0x2,%edi
  movsd  (%r12,%rax,8),%xmm0
  movsd  %xmm0,0x80(%rsp)
  mov    0x158(%rsp),%eax
  add    $0x38,%rsp
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  push   %rbp
  push   %rbx
  mov    0x90(%rsp),%r9d
  mov    0x8c(%rsp),%r8d
  mov    0xbc(%rsp),%ecx
  mov    0xb8(%rsp),%edx
  call   <prop_index@plt>
  mov    %r14d,%esi
  xor    %edi,%edi
  movsd  0x80(%rsp),%xmm0
  mulsd  0x0(%r13,%rax,8),%xmm0
  addsd  0x60(%rsp),%xmm0
  movsd  %xmm0,0x98(%rsp)
  mov    0x158(%rsp),%eax
  add    $0x38,%rsp
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  push   %rbp
  push   %rbx
  mov    0x90(%rsp),%r9d
  mov    0x8c(%rsp),%r8d
  mov    0xb4(%rsp),%ecx
  mov    0xb0(%rsp),%edx
  call   <prop_index@plt>
  mov    %r14d,%esi
  mov    $0x2,%edi
  movsd  0x0(%r13,%rax,8),%xmm1
  movsd  %xmm1,0x60(%rsp)
  mov    0x158(%rsp),%eax
  add    $0x38,%rsp
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  push   %rbp
  push   %rbx
  mov    0x94(%rsp),%r9d
  mov    0x88(%rsp),%r8d
  mov    0xbc(%rsp),%ecx
  mov    0xb8(%rsp),%edx
  call   <prop_index@plt>
  movsd  0x60(%rsp),%xmm1
  mov    %r14d,%esi
  xor    %edi,%edi
  mulsd  (%r12,%rax,8),%xmm1
  movsd  %xmm1,0x60(%rsp)
  mov    0x158(%rsp),%eax
  add    $0x38,%rsp
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  push   %rbp
  push   %rbx
  mov    0x90(%rsp),%r9d
  mov    0x8c(%rsp),%r8d
  mov    0xb4(%rsp),%ecx
  mov    0xb0(%rsp),%edx
  call   <prop_index@plt>
  mov    %r14d,%esi
  mov    $0x2,%edi
  movsd  (%r12,%rax,8),%xmm1
  xor    %r12d,%r12d
  movsd  %xmm1,0x80(%rsp)
  mov    0x158(%rsp),%eax
  add    $0x38,%rsp
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  push   %rbp
  push   %rbx
  mov    0x94(%rsp),%r9d
  mov    0x88(%rsp),%r8d
  mov    0xbc(%rsp),%ecx
  mov    0xb8(%rsp),%edx
  call   <prop_index@plt>
  movsd  0x80(%rsp),%xmm1
  movsd  0x98(%rsp),%xmm0
  mulsd  0x0(%r13,%rax,8),%xmm1
  addsd  0x60(%rsp),%xmm1
  subsd  %xmm1,%xmm0
  mulsd  0x58(%rsp),%xmm0
  movsd  %xmm0,0x80(%rsp)
  add    $0x40,%rsp
  nopl   0x0(%rax)
L281:
  xor    %ebx,%ebx
  nopw   0x0(%rax,%rax,1)
L206:
  sub    $0x8,%rsp
  mov    %ebx,%r9d
  mov    %r12d,%r8d
  mov    %r14d,%esi
  mov    0x120(%rsp),%eax
  mov    $0x1,%edi
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  push   %rbp
  mov    0x4c(%rsp),%r13d
  push   %r13
  mov    0x50(%rsp),%ecx
  mov    0x4c(%rsp),%edx
  call   <prop_index@plt>
  mov    0x70(%rsp),%rsi
  mov    %ebx,%r9d
  mov    %r12d,%r8d
  movsd  0x78(%rsp),%xmm1
  mov    $0x1,%edi
  mulsd  (%rsi,%rax,8),%xmm1
  mov    %r14d,%esi
  movsd  %xmm1,0x58(%rsp)
  mov    0x158(%rsp),%eax
  add    $0x38,%rsp
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  push   %rbp
  push   %r13
  mov    0x50(%rsp),%ecx
  mov    0x4c(%rsp),%edx
  call   <prop_index@plt>
  mov    0x68(%rsp),%rdi
  mov    %ebx,%r9d
  mov    %r12d,%r8d
  movsd  0x80(%rsp),%xmm0
  movsd  0x58(%rsp),%xmm1
  mov    %r14d,%esi
  mulsd  (%rdi,%rax,8),%xmm0
  mov    $0x1,%edi
  movapd %xmm1,%xmm3
  subsd  %xmm0,%xmm3
  movsd  %xmm3,0x58(%rsp)
  mov    0x158(%rsp),%eax
  add    $0x38,%rsp
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  push   %rbp
  push   %r13
  mov    0x50(%rsp),%ecx
  mov    0x4c(%rsp),%edx
  call   <prop_index@plt>
  mov    0x68(%rsp),%rdi
  mov    %ebx,%r9d
  mov    %r12d,%r8d
  movsd  0x78(%rsp),%xmm1
  mov    %r14d,%esi
  mulsd  (%rdi,%rax,8),%xmm1
  mov    $0x1,%edi
  movsd  %xmm1,0x60(%rsp)
  mov    0x158(%rsp),%eax
  add    $0x38,%rsp
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  mov    0x120(%rsp),%eax
  push   %rax
  push   %rbp
  push   %r13
  mov    0x50(%rsp),%ecx
  mov    0x4c(%rsp),%edx
  call   <prop_index@plt>
  mov    0x70(%rsp),%rcx
  movsd  0x80(%rsp),%xmm0
  mulsd  (%rcx,%rax,8),%xmm0
  addsd  0x60(%rsp),%xmm0
  movsd  %xmm0,0x60(%rsp)
  add    $0x40,%rsp
  test   %r15d,%r15d
  jle    L66
  xor    %r13d,%r13d
  nop
L197:
  mov    %r13d,%esi
  mov    %r15d,%edx
  mov    %ebp,%edi
  call   <index_2d@plt>
  movsd  0x18(%rsp),%xmm0
  mov    %r13d,%esi
  mov    %ebp,%edi
  mov    0xe8(%rsp),%rcx
  mov    %r15d,%edx
  mulsd  (%rcx,%rax,8),%xmm0
  movsd  %xmm0,0x58(%rsp)
  call   <index_2d@plt>
  mov    0xf0(%rsp),%rdx
  sub    $0x8,%rsp
  mov    %r14d,%edi
  movsd  0x28(%rsp),%xmm1
  movsd  0x60(%rsp),%xmm0
  mulsd  (%rdx,%rax,8),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,0x60(%rsp)
  push   %r15
  mov    0x118(%rsp),%eax
  push   %rax
  mov    0x118(%rsp),%eax
  push   %rax
  mov    0x118(%rsp),%eax
  push   %rax
  push   %r13
  push   %rbx
  push   %r12
  mov    0x54(%rsp),%r9d
  mov    0x90(%rsp),%r8d
  mov    0x8c(%rsp),%ecx
  mov    0x94(%rsp),%edx
  mov    0x88(%rsp),%esi
  call   <Blocal_index@plt>
  mov    0xa0(%rsp),%rdi
  mov    %r13d,%esi
  mov    %r15d,%edx
  movsd  0x98(%rsp),%xmm0
  add    $0x40,%rsp
  lea    (%rdi,%rax,8),%rax
  mov    %ebp,%edi
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  call   <index_2d@plt>
  mov    0xe8(%rsp),%rdi
  mov    %r13d,%esi
  mov    %r15d,%edx
  movsd  0x20(%rsp),%xmm1
  mulsd  (%rdi,%rax,8),%xmm1
  mov    %ebp,%edi
  movsd  %xmm1,0x58(%rsp)
  call   <index_2d@plt>
  mov    0xf0(%rsp),%rdi
  movsd  0x18(%rsp),%xmm0
  mulsd  (%rdi,%rax,8),%xmm0
  mov    %r14d,%edi
  addsd  0x58(%rsp),%xmm0
  movsd  %xmm0,0x58(%rsp)
  sub    $0x8,%rsp
  push   %r15
  mov    0x118(%rsp),%eax
  push   %rax
  mov    0x118(%rsp),%eax
  push   %rax
  mov    0x118(%rsp),%eax
  push   %rax
  push   %r13
  add    $0x1,%r13d
  push   %rbx
  push   %r12
  mov    0x8c(%rsp),%ecx
  mov    0x54(%rsp),%r9d
  mov    0x90(%rsp),%r8d
  mov    0x94(%rsp),%edx
  mov    0x88(%rsp),%esi
  call   <Blocal_index@plt>
  mov    0xa8(%rsp),%rcx
  movsd  0x98(%rsp),%xmm0
  add    $0x40,%rsp
  lea    (%rcx,%rax,8),%rax
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  cmp    %r13d,%r15d
  jne    L197
L66:
  add    $0x1,%ebx
  cmp    %ebx,0x100(%rsp)
  jne    L206
  add    $0x1,%r12d
  cmp    %r12d,0xf8(%rsp)
  jne    L281
  add    $0x1,%ebp
  cmp    %ebp,0x110(%rsp)
  jne    L291
L41:
  addl   $0x1,0x14(%rsp)
  mov    0x14(%rsp),%eax
  cmp    %eax,0x108(%rsp)
  jne    L298
L93:
  mov    0x50(%rsp),%eax
  add    $0x1,%eax
  cmp    %eax,0x100(%rsp)
  je     L238
  mov    %eax,0x50(%rsp)
  jmp    L257
L210:
  addl   $0x1,0x48(%rsp)
  mov    0x48(%rsp),%eax
  cmp    %eax,0xf8(%rsp)
  jne    L27
L46:
  add    $0x1,%r14d
  cmp    %r14d,0x118(%rsp)
  jne    L234
L318:
  addq   $0x1,0x80(%rsp)
  mov    0x80(%rsp),%rax
  cmp    %rax,0x88(%rsp)
  jne    L211
L340:
  add    $0xa8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L238:
  addl   $0x1,0x4c(%rsp)
  mov    0x4c(%rsp),%eax
  cmp    %eax,0xf8(%rsp)
  jne    L42
  mov    0x54(%rsp),%esi
  lea    0x1(%rsi),%eax
  cmp    0x50(%rsp),%esi
  je     L210
  mov    %eax,0x54(%rsp)
  jmp    L28
L86:
  mov    %r13d,%ebp
  add    $0x1,%ebp
  cmp    %ebp,0xf8(%rsp)
  jne    L295
  lea    0x1(%r14),%eax
  cmp    %r12d,%r14d
  je     L71
  mov    %eax,%r14d
  jmp    L63
```

assistant: ```c
void make_local_snk_block(double *Blocal_re, double *Blocal_im, const double *prop_re, const double *prop_im, const int *color_weights, const int *spin_weights, const double *weights, const double *psi_re, const double *psi_im, const int Nc, const int Ns, const int Vsrc, const int Vsnk, const int Nt, const int Nw, const int Nq, const int Nsnk) {
  int iCprime, iSprime, jCprime, jSprime, kCprime, kSprime, iC, iS, jC, jS, kC, kS, x, t, y, wnum, n;
  double prop_prod_02_re;
  double prop_prod_02_im;
  double prop_prod_re;
  double prop_prod_im;
  for (t = 0; t < Nt; t++) {
    for (iCprime = 0; iCprime < Nc; iCprime++) {
      for (iSprime = 0; iSprime < Ns; iSprime++) {
        for (kCprime = 0; kCprime < Nc; kCprime++) {
          for (kSprime = 0; kSprime < Ns; kSprime++) {
            for (y = 0; y < Vsrc; y++) {
              for (jCprime = 0; jCprime < Nc; jCprime++) {
                for (jSprime = 0; jSprime < Ns; jSprime++) {
                  for (n = 0; n < Nsnk; n++) {
                    Blocal_re[Blocal_index(t, iCprime, iSprime, kCprime, kSprime, y, jCprime, jSprime, n, Nc, Ns, Vsrc, Nsnk)] = 0.0;
                    Blocal_im[Blocal_index(t, iCprime, iSprime, kCprime, kSprime, y, jCprime, jSprime, n, Nc, Ns, Vsrc, Nsnk)] = 0.0;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  for (wnum = 0; wnum < Nw; wnum++) {
    iC = color_weights[index_2d(wnum, 0, Nq)];
    iS = spin_weights[index_2d(wnum, 0, Nq)];
    jC = color_weights[index_2d(wnum, 1, Nq)];
    jS = spin_weights[index_2d(wnum, 1, Nq)];
    kC = color_weights[index_2d(wnum, 2, Nq)];
    kS = spin_weights[index_2d(wnum, 2, Nq)];
    for (t = 0; t < Nt; t++) {
      for (iCprime = 0; iCprime < Nc; iCprime++) {
        for (iSprime = 0; iSprime < Ns; iSprime++) {
          for (kCprime = 0; kCprime < Nc; kCprime++) {
            for (kSprime = 0; kSprime < Ns; kSprime++) {
              for (y = 0; y < Vsrc; y++) {
                for (x = 0; x < Vsnk; x++) {
                  prop_prod_02_re = weights[wnum] * ((prop_re[prop_index(0, t, iC, iS, iCprime, iSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)] * prop_re[prop_index(2, t, kC, kS, kCprime, kSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)] - prop_im[prop_index(0, t, iC, iS, iCprime, iSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)] * prop_im[prop_index(2, t, kC, kS, kCprime, kSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)]) - (prop_re[prop_index(0, t, iC, iS, kCprime, kSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)] * prop_re[prop_index(2, t, kC, kS, iCprime, iSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)] - prop_im[prop_index(0, t, iC, iS, kCprime, kSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)] * prop_im[prop_index(2, t, kC, kS, iCprime, iSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)]));
                  prop_prod_02_im = weights[wnum] * ((prop_re[prop_index(0, t, iC, iS, iCprime, iSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)] * prop_im[prop_index(2, t, kC, kS, kCprime, kSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)] + prop_im[prop_index(0, t, iC, iS, iCprime, iSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)] * prop_re[prop_index(2, t, kC, kS, kCprime, kSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)]) - (prop_re[prop_index(0, t, iC, iS, kCprime, kSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)] * prop_im[prop_index(2, t, kC, kS, iCprime, iSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)] + prop_im[prop_index(0, t, iC, iS, kCprime, kSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)] * prop_re[prop_index(2, t, kC, kS, iCprime, iSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)]));
                  for (jCprime = 0; jCprime < Nc; jCprime++) {
                    for (jSprime = 0; jSprime < Ns; jSprime++) {
                      prop_prod_re = prop_prod_02_re * prop_re[prop_index(1, t, jC, jS, jCprime, jSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)] - prop_prod_02_im * prop_im[prop_index(1, t, jC, jS, jCprime, jSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)];
                      prop_prod_im = prop_prod_02_re * prop_im[prop_index(1, t, jC, jS, jCprime, jSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)] + prop_prod_02_im * prop_re[prop_index(1, t, jC, jS, jCprime, jSprime, y, x, Nc, Ns, Vsrc, Vsnk, Nt)];
                      for (n = 0; n < Nsnk; n++) {
                        Blocal_re[Blocal_index(t, iCprime, iSprime, kCprime, kSprime, y, jCprime, jSprime, n, Nc, Ns, Vsrc, Nsnk)] += psi_re[index_2d(x, n, Nsnk)] * prop_prod_re - psi_im[index_2d(x, n, Nsnk)] * prop_prod_im;
                        Blocal_im[Blocal_index(t, iCprime, iSprime, kCprime, kSprime, y, jCprime, jSprime, n, Nc, Ns, Vsrc, Nsnk)] += psi_re[index_2d(x, n, Nsnk)] * prop_prod_im + psi_im[index_2d(x, n, Nsnk)] * prop_prod_re;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```