user: What is the c source code of the assembly code below:

```asm
<logDetFillFxy>:
  endbr64
  push   %r15
  mov    %rdi,%r10
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x138,%rsp
  movl   $0x0,(%r10)
  mov    0x190(%rsp),%r14d
  movl   $0x0,(%rsi)
  mov    %rsi,0x8(%rsp)
  mov    0x180(%rsp),%rdi
  movl   $0x0,(%rdx)
  mov    0x198(%rsp),%r12d
  mov    0x1a8(%rsp),%r11
  mov    0x1b0(%rsp),%rbp
  test   %r14d,%r14d
  jle    L37
  imul   0x190(%rsp),%r8d
  mov    0x190(%rsp),%ebx
  mov    %rcx,%rax
  mov    %rdx,%r15
  mov    0x170(%rsp),%r11
  imul   %r9d,%ebx
  movslq %r8d,%r9
  movslq 0x1a0(%rsp),%r8
  lea    0x1(%rax,%r9,1),%rdx
  mov    0x190(%rsp),%eax
  lea    (%rcx,%r9,1),%rcx
  movslq %ebx,%rbx
  sub    $0x1,%eax
  lea    (%rdx,%rax,1),%r14
  jmp    L1030
  nopw   0x0(%rax,%rax,1)
L895:
  imul   %r12d,%eax
  add    %esi,%eax
  cltq
  addl   $0x1,(%r11,%rax,4)
  addl   $0x1,(%r10)
L1517:
  add    $0x1,%rcx
  cmp    %r14,%rcx
  je     L1753
L1030:
  mov    %rcx,%rdx
  movsbl (%rcx),%eax
  sub    %r9,%rdx
  movsbl (%rdx,%rbx,1),%esi
  mov    %esi,%edx
  or     %al,%dl
  jns    L895
  cmp    $0xfffffffd,%eax
  jne    L1513
  cmp    $0xfffffffd,%esi
  jne    L1513
  add    $0x1,%rcx
  addl   $0x1,(%r15)
  cmp    %r14,%rcx
  jne    L1030
L1753:
  mov    0x1a8(%rsp),%r11
  mov    (%r15),%edx
L226:
  mov    0x8(%rsp),%rax
  mov    (%r10),%esi
  mov    (%rax),%ecx
  lea    (%rcx,%rsi,1),%eax
  add    %edx,%eax
  cmp    0x190(%rsp),%eax
  jne    L701
  test   %esi,%esi
  je     L1256
  mov    %r12d,%edx
  pxor   %xmm3,%xmm3
  imul   %r12d,%edx
  cvtsi2sd %esi,%xmm3
  test   %edx,%edx
  je     L608
  lea    -0x1(%rdx),%edi
  cmp    $0x2,%edi
  jbe    L666
  mov    %edx,%esi
  movapd %xmm3,%xmm2
  mov    0x170(%rsp),%r8
  xor    %eax,%eax
  shr    $0x2,%esi
  unpcklpd %xmm2,%xmm2
  shl    $0x4,%rsi
  nopl   0x0(%rax)
L880:
  movdqu (%r8,%rax,1),%xmm0
  cvtdq2pd %xmm0,%xmm1
  divpd  %xmm2,%xmm1
  pshufd $0xee,%xmm0,%xmm0
  cvtdq2pd %xmm0,%xmm0
  divpd  %xmm2,%xmm0
  movups %xmm1,(%r11,%rax,2)
  movups %xmm0,0x10(%r11,%rax,2)
  add    $0x10,%rax
  cmp    %rsi,%rax
  jne    L880
  mov    %edx,%eax
  and    $0xfffffffc,%eax
  test   $0x3,%dl
  je     L982
L908:
  mov    0x170(%rsp),%rbx
  movslq %eax,%rsi
  pxor   %xmm0,%xmm0
  lea    0x0(,%rsi,4),%r9
  lea    0x0(,%rsi,8),%r8
  cvtsi2sdl (%rbx,%rsi,4),%xmm0
  divsd  %xmm3,%xmm0
  movsd  %xmm0,(%r11,%rsi,8)
  lea    0x1(%rax),%esi
  cmp    %esi,%edx
  jle    L287
  pxor   %xmm0,%xmm0
  add    $0x2,%eax
  cvtsi2sdl 0x4(%rbx,%r9,1),%xmm0
  divsd  %xmm3,%xmm0
  movsd  %xmm0,0x8(%r11,%r8,1)
  cmp    %edx,%eax
  jge    L1613
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x8(%rbx,%r9,1),%xmm0
  divsd  %xmm3,%xmm0
  movsd  %xmm0,0x10(%r11,%r8,1)
L1613:
  cmp    $0x2,%edi
  jbe    L182
L982:
  mov    %edx,%esi
  mov    0x170(%rsp),%rdi
  xor    %eax,%eax
  shr    $0x2,%esi
  shl    $0x4,%rsi
  nopl   0x0(%rax)
L1716:
  movdqu (%rdi,%rax,1),%xmm0
  cvtdq2pd %xmm0,%xmm1
  pshufd $0xee,%xmm0,%xmm0
  movups %xmm1,0x0(%rbp,%rax,2)
  cvtdq2pd %xmm0,%xmm0
  movups %xmm0,0x10(%rbp,%rax,2)
  add    $0x10,%rax
  cmp    %rsi,%rax
  jne    L1716
  mov    %edx,%eax
  and    $0xfffffffc,%eax
  test   $0x3,%dl
  je     L608
L1127:
  mov    0x170(%rsp),%rbx
  movslq %eax,%rsi
  pxor   %xmm0,%xmm0
  add    $0x1,%eax
  lea    0x0(,%rsi,4),%r8
  lea    0x0(,%rsi,8),%rdi
  cvtsi2sdl (%rbx,%rsi,4),%xmm0
  movsd  %xmm0,0x0(%rbp,%rsi,8)
  cmp    %edx,%eax
  jge    L608
L1491:
  mov    0x170(%rsp),%rbx
  pxor   %xmm0,%xmm0
  add    $0x1,%eax
  cvtsi2sdl 0x4(%rbx,%r8,1),%xmm0
  movsd  %xmm0,0x8(%rbp,%rdi,1)
  cmp    %edx,%eax
  jge    L608
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x8(%rbx,%r8,1),%xmm0
  movsd  %xmm0,0x10(%rbp,%rdi,1)
L608:
  test   %ecx,%ecx
  je     L1534
  mov    0x1a0(%rsp),%r13d
  test   %r13d,%r13d
  jle    L1534
  mov    0x1a0(%rsp),%eax
  mov    %r12d,%esi
  mov    %r12d,%ecx
  mov    %r12d,%ebx
  shr    %ecx
  imul   %r12d,%esi
  and    $0xfffffffe,%ebx
  mov    %r12d,0x4c(%rsp)
  sub    $0x1,%eax
  lea    -0x1(%rcx),%edx
  mov    %ebx,0x70(%rsp)
  movsd  D1(%rip),%xmm3
  mov    %eax,0x48(%rsp)
  add    $0x1,%rdx
  imul   %r12d,%ebx
  movslq 0x1a0(%rsp),%rax
  shl    $0x4,%rdx
  mov    %esi,0xe4(%rsp)
  neg    %esi
  shl    $0x2,%rax
  mov    %rdx,0x60(%rsp)
  mov    %rax,0x110(%rsp)
  mov    0x178(%rsp),%rax
  mov    %ebx,0x74(%rsp)
  mov    %rax,0x20(%rsp)
  movslq %r12d,%rax
  lea    0x0(,%rax,8),%rdi
  shl    $0x4,%rax
  test   %r12d,%r12d
  mov    %ecx,0x11c(%rsp)
  mov    %rax,0x120(%rsp)
  mov    $0x1,%eax
  cmovg  %r12d,%eax
  mov    %esi,0x118(%rsp)
  mov    %rdi,0x78(%rsp)
  mov    %eax,%ebx
  mov    %eax,0x80(%rsp)
  shr    $0x2,%eax
  lea    -0x1(%rax),%edx
  mov    %ebx,%eax
  and    $0xfffffffc,%ebx
  mov    %esi,0xb4(%rsp)
  lea    0x1(%rbx),%ecx
  mov    %ebx,0x84(%rsp)
  add    $0x2,%ebx
  mov    %ebx,0xb0(%rsp)
  mov    %eax,%ebx
  shr    %eax
  and    $0xfffffffe,%ebx
  sub    $0x1,%eax
  mov    %ecx,0x9c(%rsp)
  mov    %ebx,0xe0(%rsp)
  mov    0x1a0(%rsp),%ebx
  add    $0x1,%rax
  mov    %rax,0x100(%rsp)
  lea    -0x1(%r12),%eax
  mov    %rbx,0x28(%rsp)
  mov    0x1b8(%rsp),%rbx
  mov    %rax,0xf0(%rsp)
  add    $0x1,%rax
  add    $0x4,%rbx
  movl   $0x0,0x30(%rsp)
  mov    %rbx,0xf8(%rsp)
  lea    0x1(%rdx),%rbx
  movl   $0x0,0x34(%rsp)
  mov    %rbx,0x108(%rsp)
  mov    %rax,0x128(%rsp)
L1260:
  mov    0x60(%rsp),%rdi
  mov    %rbp,0x18(%rsp)
  pxor   %xmm4,%xmm4
  movslq 0xb4(%rsp),%rax
  mov    0x1b8(%rsp),%rbx
  mov    %r11,0x10(%rsp)
  movsd  D28(%rip),%xmm2
  lea    (%rbx,%rax,4),%rbx
  mov    %rax,%rcx
  add    0xf0(%rsp),%rax
  mov    %rbx,0x38(%rsp)
  mov    0xf8(%rsp),%rbx
  lea    (%rbx,%rax,4),%r10
  movslq 0x30(%rsp),%rax
  mov    %rax,%rsi
  shl    $0x3,%rax
  lea    (%r11,%rax,1),%rbx
  lea    0x8(%r11,%rax,1),%rdx
  add    %rbx,%rdi
  mov    %rbx,0x50(%rsp)
  lea    0x0(%rbp,%rax,1),%rbx
  mov    %rbx,%rax
  mov    %rdi,0x58(%rsp)
  sub    %rdx,%rax
  mov    %rbx,0x68(%rsp)
  cmp    $0x10,%rax
  seta   %dl
  cmp    $0x3,%r12d
  setg   %al
  and    %eax,%edx
  mov    0x108(%rsp),%rax
  mov    %dl,0x9b(%rsp)
  shl    $0x5,%rax
  add    %rbx,%rax
  mov    %rax,0x90(%rsp)
  mov    0x84(%rsp),%eax
  add    %esi,%eax
  cltq
  shl    $0x3,%rax
  lea    0x0(%rbp,%rax,1),%rdi
  add    %r11,%rax
  mov    %rax,0xa8(%rsp)
  mov    0x9c(%rsp),%eax
  mov    %rdi,0xa0(%rsp)
  add    %esi,%eax
  cltq
  shl    $0x3,%rax
  lea    0x0(%rbp,%rax,1),%rdi
  add    %r11,%rax
  mov    %rax,0xb8(%rsp)
  mov    0xb0(%rsp),%eax
  mov    %rdi,0xc0(%rsp)
  add    %esi,%eax
  cltq
  shl    $0x3,%rax
  lea    0x0(%rbp,%rax,1),%rsi
  add    %r11,%rax
  mov    %rax,0xc8(%rsp)
  mov    0xe4(%rsp),%eax
  mov    %rsi,0xd0(%rsp)
  add    %ecx,%eax
  xor    %ecx,%ecx
  cltq
  shl    $0x3,%rax
  lea    0x0(%rbp,%rax,1),%rsi
  add    %r11,%rax
  mov    %rax,0xe8(%rsp)
  mov    0x100(%rsp),%rax
  mov    %rsi,0xd8(%rsp)
  shl    $0x4,%rax
  add    %rbx,%rax
  mov    %rax,0x88(%rsp)
  mov    0x118(%rsp),%eax
  mov    %eax,0x8(%rsp)
  mov    %eax,%r15d
  nopl   0x0(%rax)
L68:
  mov    0x20(%rsp),%rax
  mov    %ecx,%r9d
  mov    %ecx,%ebx
  mov    (%rax,%rcx,4),%esi
  test   %esi,%esi
  je     L1607
  cmp    0x34(%rsp),%r12d
  jle    L1228
  cmp    %ecx,0x48(%rsp)
  je     L1015
  cmp    %ecx,%r12d
  jg     L1376
  movslq %r15d,%r9
  mov    0x4c(%rsp),%r8d
  pxor   %xmm0,%xmm0
  xor    %edi,%edi
  mov    0x1b8(%rsp),%rax
  lea    (%rax,%r9,4),%rdx
  mov    0x30(%rsp),%eax
  nopl   0x0(%rax)
L826:
  mov    (%rdx),%ebx
  test   %ebx,%ebx
  je     L849
  movslq %eax,%rbx
  add    $0x1,%edi
  addsd  (%r11,%rbx,8),%xmm0
L849:
  add    $0x1,%eax
  add    $0x4,%rdx
  cmp    %r8d,%eax
  jne    L826
  movsd  D1(%rip),%xmm1
  comisd %xmm0,%xmm1
  jbe    L1060
  pxor   %xmm0,%xmm0
  movsd  D28(%rip),%xmm1
  cvtsi2sd %edi,%xmm0
  divsd  %xmm0,%xmm1
L1195:
  mov    0x1b8(%rsp),%rax
  mov    0x30(%rsp),%r8d
  lea    (%rax,%r9,4),%rdi
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L930:
  mov    (%rdi,%rax,4),%r9d
  test   %r9d,%r9d
  je     L1252
  pxor   %xmm0,%xmm0
  lea    (%r8,%rax,1),%edx
  cvtsi2sd %esi,%xmm0
  movslq %edx,%rdx
  lea    0x0(%rbp,%rdx,8),%rdx
  mulsd  %xmm1,%xmm0
  addsd  (%rdx),%xmm0
  movsd  %xmm0,(%rdx)
L1252:
  add    $0x1,%rax
  cmp    %eax,%r12d
  jg     L930
  nopw   0x0(%rax,%rax,1)
L1607:
  addq   $0x8,0x18(%rsp)
  add    $0x1,%rcx
  add    %r12d,%r15d
  add    %r12d,0x8(%rsp)
  addq   $0x8,0x10(%rsp)
  cmp    0x28(%rsp),%rcx
  jne    L68
  addl   $0x1,0x34(%rsp)
  mov    0x110(%rsp),%rsi
  add    %r12d,0xb4(%rsp)
  mov    0x34(%rsp),%eax
  add    %rsi,0x20(%rsp)
  add    %r12d,0x4c(%rsp)
  add    %r12d,0x30(%rsp)
  cmp    %eax,0x1a0(%rsp)
  jne    L1260
L1534:
  add    $0x138,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L1513:
  mov    0x1a0(%rsp),%r13d
  xor    %edx,%edx
  test   %r13d,%r13d
  jg     L559
  jmp    L1718
  nopl   0x0(%rax)
L13:
  add    $0x1,%rdx
  cmp    %r8,%rdx
  je     L223
L559:
  mov    %edx,%r13d
  cmp    %eax,(%rdi,%rdx,4)
  jne    L13
  imul   0x1a0(%rsp),%r13d
L1430:
  xor    %eax,%eax
  jmp    L1468
  xchg   %ax,%ax
L681:
  add    $0x1,%rax
  cmp    %r8,%rax
  je     L388
L1468:
  cmp    %esi,(%rdi,%rax,4)
  jne    L681
  mov    0x178(%rsp),%rsi
  lea    (%rax,%r13,1),%eax
  cltq
  lea    (%rsi,%rax,4),%rax
L56:
  addl   $0x1,(%rax)
  mov    0x8(%rsp),%rax
  addl   $0x1,(%rax)
  jmp    L1517
L388:
  mov    0x178(%rsp),%rax
  movslq %r13d,%r13
  lea    (%rax,%r13,4),%rax
  jmp    L56
L223:
  xor    %r13d,%r13d
  jmp    L1430
L701:
  lea    D48(%rip),%rdi
  call   <puts@plt>
  xor    %edi,%edi
  call   <exit@plt>
L1256:
  lea    D52(%rip),%rdi
  call   <puts@plt>
  xor    %edi,%edi
  call   <exit@plt>
  nopl   0x0(%rax)
L1228:
  mov    0x48(%rsp),%edi
  cmp    %edi,0x34(%rsp)
  je     L442
  cmp    %ecx,%r12d
  jg     L1343
  cmp    %ecx,0x48(%rsp)
  je     L106
  test   %r12d,%r12d
  jle    L46
  movslq 0x8(%rsp),%rax
  mov    0x38(%rsp),%r8
  mov    %r12d,%edi
  xor    %r13d,%r13d
  mov    0x1b8(%rsp),%rbx
  pxor   %xmm0,%xmm0
  lea    (%rbx,%rax,4),%rax
  xor    %ebx,%ebx
  mov    %rax,0x40(%rsp)
  jmp    L751
  nopl   0x0(%rax,%rax,1)
L960:
  add    $0x4,%r8
  add    %r12d,%edi
  add    %r12d,%r13d
  cmp    %r10,%r8
  je     L1052
L751:
  mov    (%r8),%eax
  test   %eax,%eax
  je     L960
  mov    0x40(%rsp),%rdx
  mov    %r13d,%eax
  cs nopw 0x0(%rax,%rax,1)
L894:
  mov    (%rdx),%r14d
  test   %r14d,%r14d
  je     L1628
  movslq %eax,%r14
  add    $0x1,%ebx
  addsd  (%r11,%r14,8),%xmm0
L1628:
  add    $0x1,%eax
  add    $0x4,%rdx
  cmp    %edi,%eax
  jne    L894
  add    $0x4,%r8
  add    %r12d,%edi
  add    %r12d,%r13d
  cmp    %r10,%r8
  jne    L751
  xchg   %ax,%ax
L1052:
  comisd %xmm0,%xmm3
  jbe    L1159
  pxor   %xmm0,%xmm0
  movapd %xmm2,%xmm1
  cvtsi2sd %ebx,%xmm0
  divsd  %xmm0,%xmm1
L684:
  cmp    %ecx,%r12d
  jg     L465
  cmp    %ecx,0x48(%rsp)
  je     L193
  test   %r12d,%r12d
  jle    L1607
  mov    0x1b8(%rsp),%rbx
  movslq 0x8(%rsp),%rax
  mov    %r12d,%edi
  mov    0x38(%rsp),%r8
  lea    (%rbx,%rax,4),%r13
  xor    %ebx,%ebx
  jmp    L685
  nopl   0x0(%rax,%rax,1)
L775:
  add    $0x4,%r8
  add    %r12d,%edi
  add    %r12d,%ebx
  cmp    %r10,%r8
  je     L1607
L685:
  mov    (%r8),%eax
  test   %eax,%eax
  je     L775
  mov    %ebx,%eax
  mov    %r13,%rdx
  nopw   0x0(%rax,%rax,1)
L1386:
  mov    (%rdx),%r14d
  test   %r14d,%r14d
  je     L812
  pxor   %xmm0,%xmm0
  movslq %eax,%r9
  cvtsi2sd %esi,%xmm0
  lea    0x0(%rbp,%r9,8),%r9
  mulsd  %xmm1,%xmm0
  addsd  (%r9),%xmm0
  movsd  %xmm0,(%r9)
L812:
  add    $0x1,%eax
  add    $0x4,%rdx
  cmp    %eax,%edi
  jne    L1386
  jmp    L775
  nopl   0x0(%rax,%rax,1)
L442:
  cmp    %ecx,%r12d
  jle    L921
  mov    0x10(%rsp),%rdx
  mov    0x78(%rsp),%rdi
  pxor   %xmm1,%xmm1
  xor    %eax,%eax
  nopl   0x0(%rax)
L379:
  add    $0x1,%eax
  addsd  (%rdx),%xmm1
  add    %rdi,%rdx
  cmp    %eax,%r12d
  jne    L379
  mov    %r12d,%r8d
L722:
  movsd  D1(%rip),%xmm0
  comisd %xmm1,%xmm0
  ja     L914
  cmp    %ecx,%r12d
  jle    L1671
  mov    0x78(%rsp),%rdi
  mov    0x10(%rsp),%rdx
  pxor   %xmm5,%xmm5
  cvtsi2sd %esi,%xmm5
  mov    0x18(%rsp),%rsi
  mov    %rdi,%rax
  add    %rdx,%rax
  cmp    %rsi,%rax
  je     L1500
  cmp    $0x3,%r12d
  jbe    L1500
  movapd %xmm5,%xmm8
  movapd %xmm1,%xmm7
  mov    %rsi,%rax
  xor    %esi,%esi
  mov    0x11c(%rsp),%r9d
  mov    0x120(%rsp),%r8
  unpcklpd %xmm8,%xmm8
  unpcklpd %xmm7,%xmm7
  nopl   0x0(%rax)
L189:
  movsd  (%rdx),%xmm0
  movsd  (%rax),%xmm6
  add    $0x1,%esi
  movhpd (%rdx,%rdi,1),%xmm0
  movhpd (%rax,%rdi,1),%xmm6
  add    %r8,%rdx
  mulpd  %xmm8,%xmm0
  divpd  %xmm7,%xmm0
  addpd  %xmm6,%xmm0
  movlpd %xmm0,(%rax)
  movhpd %xmm0,(%rax,%rdi,1)
  add    %r8,%rax
  cmp    %esi,%r9d
  jne    L189
  cmp    %r12d,0x70(%rsp)
  je     L1607
  add    0x74(%rsp),%ebx
  movslq %ebx,%rbx
  mulsd  (%r11,%rbx,8),%xmm5
  lea    0x0(%rbp,%rbx,8),%rax
  movapd %xmm5,%xmm0
  divsd  %xmm1,%xmm0
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  jmp    L1607
  nopl   0x0(%rax,%rax,1)
L1015:
  cmp    $0x1,%r12d
  je     L142
  mov    0x50(%rsp),%rax
  mov    0x58(%rsp),%rdx
  pxor   %xmm0,%xmm0
  nopl   0x0(%rax,%rax,1)
L294:
  movsd  (%rax),%xmm1
  add    $0x10,%rax
  addsd  %xmm1,%xmm0
  movsd  -0x8(%rax),%xmm1
  addsd  %xmm1,%xmm0
  cmp    %rax,%rdx
  jne    L294
  mov    0x70(%rsp),%eax
  cmp    %r12d,%eax
  je     L1057
L512:
  add    0x30(%rsp),%eax
  cltq
  addsd  (%r11,%rax,8),%xmm0
L1057:
  movsd  D1(%rip),%xmm1
  comisd %xmm0,%xmm1
  ja     L323
L422:
  cmpb   $0x0,0x9b(%rsp)
  je     L86
  movd   %esi,%xmm7
  movapd %xmm0,%xmm6
  mov    0x50(%rsp),%rdx
  mov    0x68(%rsp),%rax
  pshufd $0x0,%xmm7,%xmm8
  mov    0x90(%rsp),%rdi
  unpcklpd %xmm6,%xmm6
  cvtdq2pd %xmm8,%xmm8
  movapd %xmm8,%xmm7
  nopl   (%rax)
L1334:
  movupd 0x10(%rdx),%xmm1
  movupd 0x10(%rax),%xmm5
  add    $0x20,%rax
  add    $0x20,%rdx
  movupd -0x20(%rax),%xmm10
  mulpd  %xmm7,%xmm1
  divpd  %xmm6,%xmm1
  addpd  %xmm5,%xmm1
  movupd -0x20(%rdx),%xmm5
  mulpd  %xmm8,%xmm5
  movups %xmm1,-0x10(%rax)
  divpd  %xmm6,%xmm5
  addpd  %xmm10,%xmm5
  movups %xmm5,-0x20(%rax)
  cmp    %rax,%rdi
  jne    L1334
  mov    0x80(%rsp),%ebx
  cmp    %ebx,0x84(%rsp)
  je     L1607
  pxor   %xmm1,%xmm1
  mov    0xa8(%rsp),%rax
  cvtsi2sd %esi,%xmm1
  movsd  (%rax),%xmm5
  mov    0xa0(%rsp),%rax
  mulsd  %xmm1,%xmm5
  divsd  %xmm0,%xmm5
  addsd  (%rax),%xmm5
  movsd  %xmm5,(%rax)
  cmp    %r12d,0x9c(%rsp)
  jge    L1607
  mov    0xb8(%rsp),%rax
  movsd  (%rax),%xmm5
  mov    0xc0(%rsp),%rax
  mulsd  %xmm1,%xmm5
  divsd  %xmm0,%xmm5
  addsd  (%rax),%xmm5
  movsd  %xmm5,(%rax)
  cmp    %r12d,0xb0(%rsp)
  jge    L1607
  mov    0xc8(%rsp),%rax
  mulsd  (%rax),%xmm1
  mov    0xd0(%rsp),%rax
  divsd  %xmm0,%xmm1
  addsd  (%rax),%xmm1
  movsd  %xmm1,(%rax)
  jmp    L1607
  nopl   0x0(%rax)
L1159:
  cmp    %ecx,%r12d
  jg     L1768
  cmp    %ecx,0x48(%rsp)
  je     L227
  test   %r12d,%r12d
  jle    L1607
  movslq 0x8(%rsp),%rax
  mov    0x1b8(%rsp),%rbx
  mov    %r12d,%edi
  mov    0x38(%rsp),%r8
  lea    (%rbx,%rax,4),%r13
  jmp    L1182
  nopw   0x0(%rax,%rax,1)
L57:
  add    $0x4,%r8
  add    %r12d,%edi
  cmp    %r10,%r8
  je     L1607
L1182:
  mov    (%r8),%ebx
  test   %ebx,%ebx
  je     L57
  mov    %edi,%eax
  mov    %r13,%rdx
  sub    %r12d,%eax
  nop
L1349:
  mov    (%rdx),%r9d
  test   %r9d,%r9d
  je     L1569
  movslq %eax,%rbx
  pxor   %xmm1,%xmm1
  cvtsi2sd %esi,%xmm1
  mulsd  (%r11,%rbx,8),%xmm1
  lea    0x0(%rbp,%rbx,8),%r9
  divsd  %xmm0,%xmm1
  addsd  (%r9),%xmm1
  movsd  %xmm1,(%r9)
L1569:
  add    $0x1,%eax
  add    $0x4,%rdx
  cmp    %edi,%eax
  jne    L1349
  jmp    L57
  nopl   0x0(%rax)
L1060:
  cmp    %ecx,0x48(%rsp)
  je     L422
  cmp    %ecx,%r12d
  jg     L1376
  mov    0x1b8(%rsp),%rax
  mov    0x30(%rsp),%edi
  lea    (%rax,%r9,4),%r8
  xor    %eax,%eax
  nopl   (%rax)
L1184:
  mov    (%r8,%rax,4),%r9d
  test   %r9d,%r9d
  je     L437
  lea    (%rdi,%rax,1),%r9d
  pxor   %xmm1,%xmm1
  movslq %r9d,%r9
  cvtsi2sd %esi,%xmm1
  mulsd  (%r11,%r9,8),%xmm1
  lea    0x0(%rbp,%r9,8),%rdx
  divsd  %xmm0,%xmm1
  addsd  (%rdx),%xmm1
  movsd  %xmm1,(%rdx)
L437:
  add    $0x1,%rax
  cmp    %eax,%r12d
  jg     L1184
  jmp    L1607
  nopl   (%rax)
L1343:
  mov    0x38(%rsp),%rax
  mov    %ecx,%edx
  pxor   %xmm0,%xmm0
  xor    %ebx,%ebx
  nopl   (%rax)
L1737:
  mov    (%rax),%edi
  test   %edi,%edi
  je     L1033
  movslq %edx,%rdi
  add    $0x1,%ebx
  addsd  (%r11,%rdi,8),%xmm0
L1033:
  add    $0x4,%rax
  add    %r12d,%edx
  cmp    %r10,%rax
  jne    L1737
  jmp    L1052
L323:
  pxor   %xmm0,%xmm0
  movsd  D28(%rip),%xmm1
  cvtsi2sd %r12d,%xmm0
  divsd  %xmm0,%xmm1
  cmp    %ecx,0x48(%rsp)
  jne    L1405
  pxor   %xmm0,%xmm0
  cvtsi2sd %esi,%xmm0
  mulsd  %xmm0,%xmm1
  cmp    $0x1,%r12d
  je     L1032
  movapd %xmm1,%xmm5
  mov    0x68(%rsp),%rax
  mov    0x88(%rsp),%rdx
  unpcklpd %xmm5,%xmm5
  nopl   (%rax)
L317:
  movupd (%rax),%xmm0
  add    $0x10,%rax
  addpd  %xmm5,%xmm0
  movups %xmm0,-0x10(%rax)
  cmp    %rdx,%rax
  jne    L317
  mov    0xe0(%rsp),%eax
  cmp    %eax,0x80(%rsp)
  je     L1607
L635:
  add    0x30(%rsp),%eax
  cltq
  lea    0x0(%rbp,%rax,8),%rax
  addsd  (%rax),%xmm1
  movsd  %xmm1,(%rax)
  jmp    L1607
  nopl   0x0(%rax)
L921:
  cmp    %ecx,0x34(%rsp)
  je     L1376
  test   %r12d,%r12d
  jle    L1459
  mov    %esi,0x40(%rsp)
  movslq %r15d,%rax
  xor    %r14d,%r14d
  pxor   %xmm1,%xmm1
  mov    0x1b8(%rsp),%rdi
  xor    %r8d,%r8d
  xor    %r13d,%r13d
  lea    (%rdi,%rax,4),%r9
  mov    %r12d,%edi
  cs nopw 0x0(%rax,%rax,1)
L637:
  mov    %r14d,%eax
  mov    %r9,%rdx
  cs nopw 0x0(%rax,%rax,1)
L85:
  mov    (%rdx),%esi
  test   %esi,%esi
  je     L1704
  movslq %eax,%rsi
  add    $0x1,%r8d
  addsd  (%r11,%rsi,8),%xmm1
L1704:
  add    $0x1,%eax
  add    $0x4,%rdx
  cmp    %eax,%edi
  jne    L85
  add    $0x1,%r13d
  add    %r12d,%edi
  add    %r12d,%r14d
  cmp    %r13d,%r12d
  jne    L637
  mov    0x40(%rsp),%esi
  jmp    L722
  cs nopw 0x0(%rax,%rax,1)
L106:
  test   %r12d,%r12d
  jle    L46
  mov    0x38(%rsp),%rdx
  mov    0x60(%rsp),%r13
  xor    %edi,%edi
  pxor   %xmm0,%xmm0
  mov    0x70(%rsp),%r8d
  xor    %ebx,%ebx
  jmp    L951
  xchg   %ax,%ax
L761:
  add    $0x4,%rdx
  add    %r12d,%edi
  cmp    %r10,%rdx
  je     L1052
L951:
  mov    (%rdx),%eax
  test   %eax,%eax
  je     L761
  cmp    $0x1,%r12d
  je     L1272
  movslq %edi,%rax
  lea    (%r11,%rax,8),%rax
  lea    0x0(%r13,%rax,1),%r14
  nopl   0x0(%rax)
L744:
  movsd  (%rax),%xmm1
  add    $0x10,%rax
  addsd  %xmm1,%xmm0
  movsd  -0x8(%rax),%xmm1
  addsd  %xmm1,%xmm0
  cmp    %r14,%rax
  jne    L744
  mov    %r8d,%eax
  cmp    %r12d,%r8d
  je     L790
L780:
  add    %edi,%eax
  cltq
  addsd  (%r11,%rax,8),%xmm0
L790:
  add    %r12d,%ebx
  jmp    L761
L46:
  movapd %xmm2,%xmm1
  mov    0x48(%rsp),%ebx
  divsd  %xmm4,%xmm1
  cmp    %ebx,0x34(%rsp)
  jne    L684
L1300:
  cmp    %ecx,%r12d
  jle    L1523
  pxor   %xmm0,%xmm0
  mov    0x18(%rsp),%rax
  xor    %edx,%edx
  cvtsi2sd %esi,%xmm0
  mov    0x78(%rsp),%rsi
  mulsd  %xmm1,%xmm0
  nopl   0x0(%rax,%rax,1)
L209:
  movsd  (%rax),%xmm1
  add    $0x1,%edx
  addsd  %xmm0,%xmm1
  movsd  %xmm1,(%rax)
  add    %rsi,%rax
  cmp    %edx,%r12d
  jne    L209
  jmp    L1607
L465:
  mov    0x38(%rsp),%rax
  nopl   0x0(%rax)
L396:
  mov    (%rax),%edx
  test   %edx,%edx
  je     L1634
  pxor   %xmm0,%xmm0
  movslq %r9d,%rdx
  cvtsi2sd %esi,%xmm0
  lea    0x0(%rbp,%rdx,8),%rdx
  mulsd  %xmm1,%xmm0
  addsd  (%rdx),%xmm0
  movsd  %xmm0,(%rdx)
L1634:
  add    $0x4,%rax
  add    %r12d,%r9d
  cmp    %r10,%rax
  jne    L396
  jmp    L1607
L1768:
  mov    0x38(%rsp),%rax
L940:
  mov    (%rax),%r14d
  test   %r14d,%r14d
  je     L300
  movslq %r9d,%rdi
  pxor   %xmm1,%xmm1
  cvtsi2sd %esi,%xmm1
  mulsd  (%r11,%rdi,8),%xmm1
  lea    0x0(%rbp,%rdi,8),%rdx
  divsd  %xmm0,%xmm1
  addsd  (%rdx),%xmm1
  movsd  %xmm1,(%rdx)
L300:
  add    $0x4,%rax
  add    %r12d,%r9d
  cmp    %r10,%rax
  jne    L940
  jmp    L1607
L1671:
  cmp    %ecx,0x34(%rsp)
  je     L1376
  test   %r12d,%r12d
  jle    L1607
  mov    0x1b8(%rsp),%rbx
  movslq %r15d,%rax
  mov    %r12d,%r9d
  xor    %r13d,%r13d
  lea    (%rbx,%rax,4),%r14
  xor    %ebx,%ebx
  nopl   (%rax)
L1322:
  mov    %r13d,%eax
  mov    %r14,%rdx
  xchg   %ax,%ax
L122:
  mov    (%rdx),%edi
  test   %edi,%edi
  je     L1001
  movslq %eax,%r8
  pxor   %xmm0,%xmm0
  cvtsi2sd %esi,%xmm0
  mulsd  (%r11,%r8,8),%xmm0
  lea    0x0(%rbp,%r8,8),%rdi
  divsd  %xmm1,%xmm0
  addsd  (%rdi),%xmm0
  movsd  %xmm0,(%rdi)
L1001:
  add    $0x1,%eax
  add    $0x4,%rdx
  cmp    %eax,%r9d
  jne    L122
  add    $0x1,%ebx
  add    %r12d,%r9d
  add    %r12d,%r13d
  cmp    %ebx,%r12d
  jne    L1322
  jmp    L1607
L1523:
  cmp    %ecx,0x34(%rsp)
  je     L1376
  test   %r12d,%r12d
  jle    L1607
  mov    0x1b8(%rsp),%rbx
  movslq %r15d,%rax
  mov    %r12d,%r8d
  xor    %r9d,%r9d
  lea    (%rbx,%rax,4),%r13
  xor    %ebx,%ebx
  nopl   0x0(%rax)
L676:
  mov    %ebx,%eax
  mov    %r13,%rdx
  nopl   (%rax)
L1224:
  mov    (%rdx),%edi
  test   %edi,%edi
  je     L1726
  pxor   %xmm0,%xmm0
  movslq %eax,%rdi
  cvtsi2sd %esi,%xmm0
  lea    0x0(%rbp,%rdi,8),%rdi
  mulsd  %xmm1,%xmm0
  addsd  (%rdi),%xmm0
  movsd  %xmm0,(%rdi)
L1726:
  add    $0x1,%eax
  add    $0x4,%rdx
  cmp    %r8d,%eax
  jne    L1224
  add    $0x1,%r9d
  add    %r12d,%r8d
  add    %r12d,%ebx
  cmp    %r9d,%r12d
  jne    L676
  jmp    L1607
L193:
  test   %r12d,%r12d
  jle    L1607
  mov    0x38(%rsp),%rdx
  mov    0x60(%rsp),%r9
  xor    %edi,%edi
  mov    0x70(%rsp),%r8d
  jmp    L36
  xchg   %ax,%ax
L872:
  add    $0x4,%rdx
  add    %r12d,%edi
  cmp    %r10,%rdx
  je     L1607
L36:
  mov    (%rdx),%eax
  test   %eax,%eax
  je     L872
  pxor   %xmm5,%xmm5
  cvtsi2sd %esi,%xmm5
  mulsd  %xmm1,%xmm5
  cmp    $0x1,%r12d
  je     L656
  movslq %edi,%rax
  movapd %xmm5,%xmm6
  lea    0x0(%rbp,%rax,8),%rax
  unpcklpd %xmm6,%xmm6
  lea    (%r9,%rax,1),%rbx
L1341:
  movupd (%rax),%xmm0
  add    $0x10,%rax
  addpd  %xmm6,%xmm0
  movups %xmm0,-0x10(%rax)
  cmp    %rbx,%rax
  jne    L1341
  mov    %r8d,%eax
  cmp    %r12d,%r8d
  je     L872
L536:
  add    %edi,%eax
  cltq
  lea    0x0(%rbp,%rax,8),%rax
  addsd  (%rax),%xmm5
  movsd  %xmm5,(%rax)
  jmp    L872
L227:
  test   %r12d,%r12d
  jle    L1607
  movapd %xmm0,%xmm7
  mov    %rcx,0x40(%rsp)
  mov    0x38(%rsp),%rdx
  xor    %edi,%edi
  mov    0x60(%rsp),%rbx
  mov    0x70(%rsp),%r9d
  unpcklpd %xmm7,%xmm7
  jmp    L260
L1251:
  add    $0x4,%rdx
  add    %r12d,%edi
  cmp    %r10,%rdx
  je     L1473
  nopl   0x0(%rax)
L260:
  mov    (%rdx),%r13d
  test   %r13d,%r13d
  je     L1251
  movslq %edi,%r13
  pxor   %xmm5,%xmm5
  cvtsi2sd %esi,%xmm5
  lea    0x0(,%r13,8),%rax
  lea    0x8(%rax),%r8
  lea    0x0(%rbp,%rax,1),%rcx
  lea    (%r11,%r8,1),%r14
  cmp    %r14,%rcx
  je     L1633
  cmp    $0x1,%r12d
  je     L1633
  movapd %xmm5,%xmm6
  add    %r11,%rax
  xor    %r8d,%r8d
  unpcklpd %xmm6,%xmm6
  nopl   (%rax)
L1167:
  movupd (%rax,%r8,1),%xmm1
  movupd (%rcx,%r8,1),%xmm9
  mulpd  %xmm6,%xmm1
  divpd  %xmm7,%xmm1
  addpd  %xmm9,%xmm1
  movups %xmm1,(%rcx,%r8,1)
  add    $0x10,%r8
  cmp    %rbx,%r8
  jne    L1167
  cmp    %r12d,%r9d
  je     L1251
  lea    (%rdi,%r9,1),%ecx
  add    $0x4,%rdx
  add    %r12d,%edi
  movslq %ecx,%rcx
  mulsd  (%r11,%rcx,8),%xmm5
  lea    0x0(%rbp,%rcx,8),%rax
  movapd %xmm5,%xmm1
  divsd  %xmm0,%xmm1
  addsd  (%rax),%xmm1
  movsd  %xmm1,(%rax)
  cmp    %r10,%rdx
  jne    L260
L1473:
  mov    0x40(%rsp),%rcx
  jmp    L1607
L1633:
  mov    0x128(%rsp),%rcx
  add    %r13,%rcx
  shl    $0x3,%rcx
  jmp    L328
  nopl   (%rax)
L588:
  add    $0x8,%r8
L328:
  movsd  (%r11,%rax,1),%xmm1
  mulsd  %xmm5,%xmm1
  divsd  %xmm0,%xmm1
  addsd  0x0(%rbp,%rax,1),%xmm1
  movsd  %xmm1,0x0(%rbp,%rax,1)
  mov    %r8,%rax
  cmp    %rcx,%r8
  jne    L588
  jmp    L1251
L1272:
  xor    %eax,%eax
  jmp    L780
L86:
  pxor   %xmm5,%xmm5
  mov    0xd8(%rsp),%rdx
  xor    %eax,%eax
  cvtsi2sd %esi,%xmm5
  mov    0xe8(%rsp),%rsi
  nopl   0x0(%rax)
L1625:
  movsd  (%rsi,%rax,8),%xmm1
  mulsd  %xmm5,%xmm1
  divsd  %xmm0,%xmm1
  addsd  (%rdx,%rax,8),%xmm1
  movsd  %xmm1,(%rdx,%rax,8)
  add    $0x1,%rax
  cmp    %eax,%r12d
  jg     L1625
  jmp    L1607
L142:
  pxor   %xmm0,%xmm0
  xor    %eax,%eax
  jmp    L512
L1376:
  lea    D74(%rip),%rdi
  call   <puts@plt>
  xor    %edi,%edi
  call   <exit@plt>
L37:
  xor    %edx,%edx
  jmp    L226
L1459:
  pxor   %xmm0,%xmm0
L834:
  movsd  D28(%rip),%xmm1
  divsd  %xmm0,%xmm1
  jmp    L1300
L1032:
  xor    %eax,%eax
  jmp    L635
L656:
  xor    %eax,%eax
  jmp    L536
L1500:
  mov    0x78(%rsp),%rsi
  lea    0x0(,%rcx,8),%rax
  xor    %edx,%edx
  nopl   0x0(%rax)
L1447:
  movsd  (%r11,%rax,1),%xmm0
  add    $0x1,%edx
  mulsd  %xmm5,%xmm0
  divsd  %xmm1,%xmm0
  addsd  0x0(%rbp,%rax,1),%xmm0
  movsd  %xmm0,0x0(%rbp,%rax,1)
  add    %rsi,%rax
  cmp    %edx,%r12d
  jne    L1447
  jmp    L1607
L1718:
  mov    0x178(%rsp),%rax
  jmp    L56
L182:
  mov    0x170(%rsp),%rax
  pxor   %xmm0,%xmm0
  xor    %r8d,%r8d
  xor    %edi,%edi
  cvtsi2sdl (%rax),%xmm0
  mov    $0x1,%eax
  movsd  %xmm0,0x0(%rbp)
  jmp    L1491
L666:
  xor    %eax,%eax
  jmp    L908
L1405:
  cmp    %ecx,%r12d
  jg     L1376
  movslq %r15d,%r9
  jmp    L1195
  nopl   0x0(%rax,%rax,1)
L287:
  cmp    $0x2,%edi
  ja     L982
  xor    %eax,%eax
  jmp    L1127
L914:
  pxor   %xmm0,%xmm0
  cvtsi2sd %r8d,%xmm0
  jmp    L834
```

tool_calls: name: disassemble_data
arguments: label: D1
type_guessed: byte[8]
name: disassemble_data
arguments: label: D28
type_guessed: f64
name: disassemble_data
arguments: label: D48
type_guessed: string
name: disassemble_data
arguments: label: D52
type_guessed: string
name: disassemble_data
arguments: label: D74
type_guessed: string

tool: {"D1": [0x16,0x56,0xe7,0x9e,0xaf,0x03,0xd2,0x3c]}

tool: D28: 1

tool: D48: problem with Fxy

tool: D52: logDetFillFxy().  No unambiguous chars.

tool: D74: error in logDetFillFxy

assistant: ```c
void logDetFillFxy(int *nUnambig, int *nAmbig, int *nDoubleGap, char *seq, int sNum1, int sNum2, int *refUnambigCountMatrix, int *refAmbigCountMatrix, int *allSymbolNums, int nTax, int nChar, int dim, int bigDim, double *normUnambig, double *bigFxy, int *equatesArray) {
  int i, j, i1, j1;
  int firstChar, secondChar, firstIndx, secondIndx;
  int na, nSlots;
  double nUnambigD, fsum, oneOverNSlots;
  int dimSquared = dim * dim;
  nUnambig[0] = 0;
  nAmbig[0] = 0;
  nDoubleGap[0] = 0;
  for (i = 0; i < nChar; i++) {
    firstChar = (int)seq[(sNum1 * nChar) + i];
    secondChar = (int)seq[(sNum2 * nChar) + i];
    if (firstChar >= 0 && secondChar >= 0) {
      refUnambigCountMatrix[(firstChar * dim) + secondChar] += 1;
      nUnambig[0] += 1;
    } else {
      if (firstChar == -3 && secondChar == -3) {
        nDoubleGap[0] += 1;
      } else {
        firstIndx = 0;
        secondIndx = 0;
        for (j1 = 0; j1 < bigDim; j1++) {
          if (allSymbolNums[j1] == firstChar) {
            firstIndx = j1;
            break;
          }
        }
        for (j1 = 0; j1 < bigDim; j1++) {
          if (allSymbolNums[j1] == secondChar) {
            secondIndx = j1;
            break;
          }
        }
        refAmbigCountMatrix[(firstIndx * bigDim) + secondIndx] += 1;
        nAmbig[0] += 1;
      }
    }
  }
  if ((nAmbig[0] + nUnambig[0] + nDoubleGap[0]) != nChar) {
    printf("problem with Fxy\n");
    exit(0);
  }
  if (!nUnambig[0]) {
    printf("logDetFillFxy().  No unambiguous chars.\n");
    exit(0);
  }
  nUnambigD = (double)nUnambig[0];
  for (i = 0; i < dimSquared; i++) {
    normUnambig[i] = refUnambigCountMatrix[i] / nUnambigD;
  }
  if (0) {
    printf("refUnambigCountMatrix = \n");
    for (i = 0; i < dim; i++) {
      for (j = 0; j < dim; j++) {
        printf("%6i", refUnambigCountMatrix[(dim * i) + j]);
      }
      printf("\n");
    }
  }
  if (0) {
    printf("normUnambig = \n");
    for (i = 0; i < dim; i++) {
      for (j = 0; j < dim; j++) {
        printf("%6.2f", normUnambig[(dim * i) + j]);
      }
      printf("\n");
    }
  }
  if (0) {
    printf("refAmbigCountMatrix = \n");
    for (i = 0; i < bigDim; i++) {
      for (j = 0; j < bigDim; j++) {
        printf("%6i", refAmbigCountMatrix[(bigDim * i) + j]);
      }
      printf("\n");
    }
    exit(0);
  }
  for (i = 0; i < dimSquared; i++) {
    bigFxy[i] = (double)refUnambigCountMatrix[i];
  }
  if (nAmbig[0]) {
    for (i = 0; i < bigDim; i++) {
      for (j = 0; j < bigDim; j++) {
        na = refAmbigCountMatrix[(bigDim * i) + j];
        if (na) {
          fsum = 0.0;
          nSlots = 0;
          if (i < dim) {
            if (j == bigDim - 1) {
              for (j1 = 0; j1 < dim; j1++) {
                fsum += normUnambig[(dim * i) + j1];
                nSlots += 1;
              }
            } else if (j >= dim) {
              for (j1 = 0; j1 < dim; j1++) {
                if (equatesArray[(dim * (j - dim)) + j1]) {
                  fsum += normUnambig[(dim * i) + j1];
                  nSlots += 1;
                }
              }
            } else {
              printf("error in logDetFillFxy\n");
              exit(0);
            }
          } else if (i == bigDim - 1) {
            if (j < dim) {
              for (i1 = 0; i1 < dim; i1++) {
                fsum += normUnambig[(dim * i1) + j];
                nSlots += 1;
              }
            } else if (j == bigDim - 1) {
              printf("error in logDetFillFxy\n");
              exit(0);
            } else {
              for (i1 = 0; i1 < dim; i1++) {
                for (j1 = 0; j1 < dim; j1++) {
                  if (equatesArray[(dim * (j - dim)) + j1]) {
                    fsum += normUnambig[(dim * i1) + j1];
                    nSlots += 1;
                  }
                }
              }
            }
          } else {
            if (j < dim) {
              for (i1 = 0; i1 < dim; i1++) {
                if (equatesArray[(dim * (i - dim)) + i1]) {
                  fsum += normUnambig[(dim * i1) + j];
                  nSlots += 1;
                }
              }
            } else if (j == (bigDim - 1)) {
              for (i1 = 0; i1 < dim; i1++) {
                if (equatesArray[(dim * (i - dim)) + i1]) {
                  for (j1 = 0; j1 < dim; j1++) {
                    fsum += normUnambig[(dim * i1) + j1];
                    nSlots += 1;
                  }
                }
              }
            } else {
              for (i1 = 0; i1 < dim; i1++) {
                if (equatesArray[(dim * (i - dim)) + i1]) {
                  for (j1 = 0; j1 < dim; j1++) {
                    if (equatesArray[(dim * (j - dim)) + j1]) {
                      fsum += normUnambig[(dim * i1) + j1];
                      nSlots += 1;
                    }
                  }
                }
              }
            }
          }
          if (fsum < 1.e-15) {
            oneOverNSlots = 1.0 / (double)nSlots;
            if (i < dim) {
              if (j == (bigDim - 1)) {
                for (j1 = 0; j1 < dim; j1++) {
                  bigFxy[(dim * i) + j1] += na * oneOverNSlots;
                }
              } else if (j >= dim) {
                for (j1 = 0; j1 < dim; j1++) {
                  if (equatesArray[(dim * (j - dim)) + j1]) {
                    bigFxy[(dim * i) + j1] += na * oneOverNSlots;
                  }
                }
              } else {
                printf("error in logDetFillFxy\n");
                exit(0);
              }
            } else if (i == (bigDim - 1)) {
              if (j < dim) {
                for (i1 = 0; i1 < dim; i1++) {
                  bigFxy[(dim * i1) + j] += na * oneOverNSlots;
                }
              } else if (j == (bigDim - 1)) {
                printf("error in logDetFillFxy\n");
                exit(0);
              } else {
                for (i1 = 0; i1 < dim; i1++) {
                  for (j1 = 0; j1 < dim; j1++) {
                    if (equatesArray[(dim * (j - dim)) + j1]) {
                      bigFxy[(dim * i1) + j1] += na * oneOverNSlots;
                    }
                  }
                }
              }
            } else {
              if (j < dim) {
                for (i1 = 0; i1 < dim; i1++) {
                  if (equatesArray[(dim * (i - dim)) + i1]) {
                    bigFxy[(dim * i1) + j] += na * oneOverNSlots;
                  }
                }
              } else if (j == (bigDim - 1)) {
                for (i1 = 0; i1 < dim; i1++) {
                  if (equatesArray[(dim * (i - dim)) + i1]) {
                    for (j1 = 0; j1 < dim; j1++) {
                      bigFxy[(dim * i1) + j1] += na * oneOverNSlots;
                    }
                  }
                }
              } else {
                for (i1 = 0; i1 < dim; i1++) {
                  if (equatesArray[(dim * (i - dim)) + i1]) {
                    for (j1 = 0; j1 < dim; j1++) {
                      if (equatesArray[(dim * (j - dim)) + j1]) {
                        bigFxy[(dim * i1) + j1] += na * oneOverNSlots;
                      }
                    }
                  }
                }
              }
            }
          } else {
            if (i < dim) {
              if (j == (bigDim - 1)) {
                for (j1 = 0; j1 < dim; j1++) {
                  bigFxy[(dim * i) + j1] += na * normUnambig[(dim * i) + j1] / fsum;
                }
              } else if (j >= dim) {
                for (j1 = 0; j1 < dim; j1++) {
                  if (equatesArray[(dim * (j - dim)) + j1]) {
                    bigFxy[(dim * i) + j1] += na * normUnambig[(dim * i) + j1] / fsum;
                  }
                }
              } else {
                printf("error in logDetFillFxy\n");
                exit(0);
              }
            } else if (i == (bigDim - 1)) {
              if (j < dim) {
                for (i1 = 0; i1 < dim; i1++) {
                  bigFxy[(dim * i1) + j] += na * normUnambig[(dim * i1) + j] / fsum;
                }
              } else if (j == (bigDim - 1)) {
                printf("error in logDetFillFxy\n");
                exit(0);
              } else {
                for (i1 = 0; i1 < dim; i1++) {
                  for (j1 = 0; j1 < dim; j1++) {
                    if (equatesArray[(dim * (j - dim)) + j1]) {
                      bigFxy[(dim * i1) + j1] += na * normUnambig[(dim * i1) + j1] / fsum;
                    }
                  }
                }
              }
            } else {
              if (j < dim) {
                for (i1 = 0; i1 < dim; i1++) {
                  if (equatesArray[(dim * (i - dim)) + i1]) {
                    bigFxy[(dim * i1) + j] += na * normUnambig[(dim * i1) + j] / fsum;
                  }
                }
              } else if (j == (bigDim - 1)) {
                for (i1 = 0; i1 < dim; i1++) {
                  if (equatesArray[(dim * (i - dim)) + i1]) {
                    for (j1 = 0; j1 < dim; j1++) {
                      bigFxy[(dim * i1) + j1] += na * normUnambig[(dim * i1) + j1] / fsum;
                    }
                  }
                }
              } else {
                for (i1 = 0; i1 < dim; i1++) {
                  if (equatesArray[(dim * (i - dim)) + i1]) {
                    for (j1 = 0; j1 < dim; j1++) {
                      if (equatesArray[(dim * (j - dim)) + j1]) {
                        bigFxy[(dim * i1) + j1] += na * normUnambig[(dim * i1) + j1] / fsum;
                      }
                    }
                  }
                }
              }
            }
          }
          if (0) {
            printf("bigFxy, after partial ambig resolution\n");
            for (i1 = 0; i1 < dim; i1++) {
              for (j1 = 0; j1 < dim; j1++) {
                printf("%7.3f", bigFxy[(dim * i1) + j1]);
              }
              printf("\n");
            }
          }
        }
      }
    }
  }
}
```