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

```asm
<pred_comp>:
  endbr64
  push   %r15
  movslq %edx,%r10
  mov    %r8d,%r15d
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rsi,%rbp
  mov    %ecx,%esi
  push   %rbx
  sub    $0x140,%rsp
  mov    0x188(%rsp),%edx
  mov    0x178(%rsp),%eax
  mov    %r8d,-0x6c(%rsp)
  mov    0x180(%rsp),%ecx
  mov    0x190(%rsp),%r11d
  mov    %edx,%ebx
  sar    %edx
  and    $0x1,%ebx
  add    %eax,%edx
  imul   %r10d,%edx
  mov    %ebx,%r8d
  mov    %ecx,%ebx
  imul   %r10d,%eax
  sar    %ebx
  add    %r9d,%ebx
  movslq %r9d,%r9
  movslq %edx,%rdx
  movslq %ebx,%rbx
  cltq
  add    %rbx,%rdx
  add    %r9,%rax
  add    %rdi,%rdx
  add    %rbp,%rax
  and    $0x1,%ecx
  je     L1070
  test   %r8d,%r8d
  jne    L30
  test   %r11d,%r11d
  jne    L112
  mov    -0x6c(%rsp),%r9d
  test   %r9d,%r9d
  jle    L1342
  movslq %r10d,%rcx
  test   %esi,%esi
  jle    L1342
  lea    -0x1(%rsi),%ebx
  mov    %esi,%edi
  mov    %esi,%r11d
  xor    %r10d,%r10d
  mov    %ebx,-0x68(%rsp)
  mov    %esi,%ebx
  shr    $0x4,%edi
  and    $0xfffffff0,%r11d
  and    $0xf,%ebx
  lea    -0x1(%rdi),%r8d
  mov    %esi,%r13d
  mov    %ebx,-0x60(%rsp)
  sub    $0x1,%ebx
  add    $0x1,%r8
  mov    %ebx,-0x50(%rsp)
  shl    $0x4,%r8
  nopl   (%rax)
L1375:
  lea    0x1(%rdx),%r9
  mov    %rax,%rdi
  sub    %r9,%rdi
  cmp    $0xf,%rdi
  jbe    L571
  cmpl   $0x6,-0x68(%rsp)
  jbe    L571
  cmpl   $0xe,-0x68(%rsp)
  jbe    L1047
  xor    %edi,%edi
  nopl   0x0(%rax)
L788:
  movdqu (%rdx,%rdi,1),%xmm0
  movdqu 0x1(%rdx,%rdi,1),%xmm4
  pavgb  %xmm4,%xmm0
  movups %xmm0,(%rax,%rdi,1)
  add    $0x10,%rdi
  cmp    %rdi,%r8
  jne    L788
  cmp    %r11d,%esi
  je     L385
  cmpl   $0x6,-0x50(%rsp)
  mov    -0x60(%rsp),%ebx
  jbe    L1491
  mov    %r11d,%r9d
  mov    %r11d,%edi
L707:
  movq   (%rdx,%r9,1),%xmm0
  movq   0x1(%rdx,%r9,1),%xmm1
  pavgb  %xmm1,%xmm0
  movq   %xmm0,(%rax,%r9,1)
  mov    %ebx,%r9d
  and    $0xfffffff8,%r9d
  add    %r9d,%edi
  cmp    %r9d,%ebx
  je     L385
L993:
  lea    0x1(%rdi),%ebx
  movslq %edi,%r9
  movslq %ebx,%rbp
  movzbl (%rdx,%r9,1),%r15d
  lea    (%rdx,%rbp,1),%r12
  movzbl (%r12),%r14d
  lea    0x1(%r15,%r14,1),%r14d
  shr    %r14d
  mov    %r14b,(%rax,%r9,1)
  cmp    %ebx,%esi
  jle    L385
  lea    0x2(%rdi),%r9d
  movzbl (%r12),%r15d
  movslq %r9d,%rbx
  lea    (%rdx,%rbx,1),%r14
  movzbl (%r14),%r12d
  lea    0x1(%r15,%r12,1),%r12d
  shr    %r12d
  mov    %r12b,(%rax,%rbp,1)
  cmp    %r9d,%esi
  jle    L385
  lea    0x3(%rdi),%r9d
  movzbl (%r14),%r15d
  movslq %r9d,%rbp
  lea    (%rdx,%rbp,1),%r12
  movzbl (%r12),%r14d
  lea    0x1(%r15,%r14,1),%r14d
  shr    %r14d
  mov    %r14b,(%rax,%rbx,1)
  cmp    %r9d,%esi
  jle    L385
  lea    0x4(%rdi),%r9d
  movzbl (%r12),%r15d
  movslq %r9d,%rbx
  lea    (%rdx,%rbx,1),%r14
  movzbl (%r14),%r12d
  lea    0x1(%r15,%r12,1),%r12d
  shr    %r12d
  mov    %r12b,(%rax,%rbp,1)
  cmp    %r9d,%esi
  jle    L385
  lea    0x5(%rdi),%r9d
  movzbl (%r14),%r15d
  movslq %r9d,%rbp
  lea    (%rdx,%rbp,1),%r12
  movzbl (%r12),%r14d
  lea    0x1(%r15,%r14,1),%r14d
  shr    %r14d
  mov    %r14b,(%rax,%rbx,1)
  cmp    %r9d,%esi
  jle    L385
  lea    0x6(%rdi),%r9d
  movzbl (%r12),%r15d
  movslq %r9d,%rbx
  lea    (%rdx,%rbx,1),%r14
  movzbl (%r14),%r12d
  lea    0x1(%r15,%r12,1),%r12d
  shr    %r12d
  mov    %r12b,(%rax,%rbp,1)
  cmp    %r9d,%esi
  jle    L385
  add    $0x7,%edi
  movzbl (%r14),%r9d
  movslq %edi,%rdi
  movzbl (%rdx,%rdi,1),%edi
  lea    0x1(%rdi,%r9,1),%edi
  shr    %edi
  mov    %dil,(%rax,%rbx,1)
L385:
  add    %rcx,%rdx
  add    %rcx,%rax
  add    $0x1,%r10d
  cmp    %r10d,-0x6c(%rsp)
  jne    L1375
  jmp    L1342
L30:
  test   %r11d,%r11d
  je     L938
  mov    -0x6c(%rsp),%ecx
  test   %ecx,%ecx
  jle    L1342
  test   %esi,%esi
  jle    L1342
  mov    %esi,%r14d
  mov    %esi,%ecx
  movdqa D37(%rip),%xmm5
  xor    %ebp,%ebp
  and    $0xfffffff0,%r14d
  shr    $0x4,%ecx
  lea    0x1(%rdx,%r10,1),%r11
  lea    (%rdx,%r10,1),%r9
  mov    %r14d,%edi
  lea    -0x1(%rcx),%ebx
  add    $0x1,%rdx
  mov    %esi,%r12d
  mov    %rdi,-0x68(%rsp)
  add    $0x1,%rbx
  lea    -0x1(%rsi),%r13d
  movdqa D16(%rip),%xmm4
  movdqa D5(%rip),%xmm3
  shl    $0x4,%rbx
  pxor   %xmm2,%xmm2
  nopl   0x0(%rax)
L761:
  mov    %rax,%rcx
  lea    -0x1(%rdx),%rdi
  sub    %r11,%rcx
  cmp    $0xf,%rcx
  mov    %rax,%rcx
  seta   %r8b
  sub    %rdx,%rcx
  cmp    $0xf,%rcx
  seta   %cl
  test   %cl,%r8b
  je     L1453
  xor    %ecx,%ecx
  cmp    $0xe,%r13d
  jbe    L1453
  nopl   0x0(%rax)
L628:
  movdqu (%rdi,%rcx,1),%xmm9
  movdqu 0x1(%rdi,%rcx,1),%xmm0
  movdqu (%r9,%rcx,1),%xmm8
  movdqu (%r11,%rcx,1),%xmm7
  movdqa %xmm9,%xmm10
  movdqa %xmm0,%xmm1
  movdqu (%rax,%rcx,1),%xmm6
  punpckhbw %xmm2,%xmm9
  punpcklbw %xmm2,%xmm10
  punpcklbw %xmm2,%xmm1
  movdqa %xmm8,%xmm11
  paddw  %xmm10,%xmm1
  movdqa %xmm7,%xmm10
  punpcklbw %xmm2,%xmm11
  punpcklbw %xmm2,%xmm10
  punpckhbw %xmm2,%xmm0
  punpckhbw %xmm2,%xmm8
  punpckhbw %xmm2,%xmm7
  paddw  %xmm11,%xmm10
  paddw  %xmm9,%xmm0
  paddw  %xmm8,%xmm7
  paddw  %xmm10,%xmm1
  movdqa %xmm6,%xmm10
  paddw  %xmm7,%xmm0
  paddw  %xmm5,%xmm1
  punpcklbw %xmm2,%xmm10
  paddw  %xmm5,%xmm0
  punpckhbw %xmm2,%xmm6
  paddw  %xmm4,%xmm10
  psrlw  $0x2,%xmm1
  psrlw  $0x2,%xmm0
  paddw  %xmm4,%xmm6
  paddw  %xmm10,%xmm1
  paddw  %xmm6,%xmm0
  psrlw  $0x1,%xmm1
  psrlw  $0x1,%xmm0
  pand   %xmm3,%xmm1
  pand   %xmm3,%xmm0
  packuswb %xmm0,%xmm1
  movups %xmm1,(%rax,%rcx,1)
  add    $0x10,%rcx
  cmp    %rcx,%rbx
  jne    L628
  cmp    %r14d,%esi
  je     L1614
  mov    -0x68(%rsp),%rcx
  nopl   (%rax)
L698:
  movzbl 0x1(%rdi,%rcx,1),%r15d
  movzbl (%rdi,%rcx,1),%r8d
  add    %r15d,%r8d
  movzbl (%r9,%rcx,1),%r15d
  add    %r15d,%r8d
  movzbl 0x1(%r9,%rcx,1),%r15d
  lea    0x2(%r8,%r15,1),%r8d
  movzbl (%rax,%rcx,1),%r15d
  shr    $0x2,%r8d
  lea    0x1(%r8,%r15,1),%r8d
  shr    %r8d
  mov    %r8b,(%rax,%rcx,1)
  add    $0x1,%rcx
  cmp    %ecx,%esi
  jg     L698
L1614:
  add    %r10,%rax
  add    $0x1,%ebp
  add    %r10,%r11
  add    %r10,%r9
  add    %r10,%rdx
  cmp    %ebp,-0x6c(%rsp)
  jne    L761
  jmp    L1342
  nopl   0x0(%rax)
L1070:
  test   %r8d,%r8d
  jne    L424
  test   %r11d,%r11d
  je     L1434
  test   %r15d,%r15d
  jle    L1342
  movslq %r10d,%rcx
  test   %esi,%esi
  jle    L1342
  mov    %esi,%edi
  mov    %esi,%r13d
  lea    0x1(%rdx),%r8
  mov    %esi,%ebx
  shr    $0x4,%edi
  and    $0xf,%r13d
  lea    -0x1(%rsi),%r12d
  and    $0xfffffff0,%ebx
  lea    -0x1(%rdi),%r9d
  mov    %rax,%rdi
  mov    %r13d,-0x6c(%rsp)
  lea    -0x1(%r13),%r14d
  add    $0x1,%r9
  sub    %r8,%rdi
  xor    %r11d,%r11d
  mov    %esi,%ebp
  shl    $0x4,%r9
  mov    %r15d,%r13d
  cmp    $0xe,%rdi
  jbe    L1391
  nopl   0x0(%rax)
L1454:
  cmp    $0x6,%r12d
  jbe    L1391
  cmp    $0xe,%r12d
  jbe    L1537
  xor    %edi,%edi
  xchg   %ax,%ax
L101:
  movdqu (%rax,%rdi,1),%xmm0
  movdqu (%rdx,%rdi,1),%xmm4
  pavgb  %xmm4,%xmm0
  movups %xmm0,(%rax,%rdi,1)
  add    $0x10,%rdi
  cmp    %rdi,%r9
  jne    L101
  cmp    %ebx,%esi
  je     L17
  mov    -0x6c(%rsp),%r10d
  cmp    $0x6,%r14d
  jbe    L629
  mov    %ebx,%r8d
  mov    %ebx,%edi
L306:
  lea    (%rax,%r8,1),%r15
  movq   (%rdx,%r8,1),%xmm1
  mov    %r10d,%r8d
  movq   (%r15),%xmm0
  and    $0xfffffff8,%r8d
  add    %r8d,%edi
  pavgb  %xmm1,%xmm0
  movq   %xmm0,(%r15)
  cmp    %r10d,%r8d
  je     L17
L216:
  movslq %edi,%r10
  lea    (%rax,%r10,1),%r8
  movzbl (%rdx,%r10,1),%r15d
  movzbl (%r8),%r10d
  lea    0x1(%r15,%r10,1),%r10d
  shr    %r10d
  mov    %r10b,(%r8)
  lea    0x1(%rdi),%r8d
  cmp    %r8d,%esi
  jle    L17
  movslq %r8d,%r10
  lea    (%rax,%r10,1),%r8
  movzbl (%rdx,%r10,1),%r15d
  movzbl (%r8),%r10d
  lea    0x1(%r15,%r10,1),%r10d
  shr    %r10d
  mov    %r10b,(%r8)
  lea    0x2(%rdi),%r8d
  cmp    %r8d,%esi
  jle    L17
  movslq %r8d,%r10
  lea    (%rax,%r10,1),%r8
  movzbl (%rdx,%r10,1),%r15d
  movzbl (%r8),%r10d
  lea    0x1(%r15,%r10,1),%r10d
  shr    %r10d
  mov    %r10b,(%r8)
  lea    0x3(%rdi),%r8d
  cmp    %r8d,%esi
  jle    L17
  movslq %r8d,%r10
  lea    (%rax,%r10,1),%r8
  movzbl (%rdx,%r10,1),%r15d
  movzbl (%r8),%r10d
  lea    0x1(%r15,%r10,1),%r10d
  shr    %r10d
  mov    %r10b,(%r8)
  lea    0x4(%rdi),%r8d
  cmp    %r8d,%esi
  jle    L17
  movslq %r8d,%r10
  lea    (%rax,%r10,1),%r8
  movzbl (%rdx,%r10,1),%r15d
  movzbl (%r8),%r10d
  lea    0x1(%r15,%r10,1),%r10d
  shr    %r10d
  mov    %r10b,(%r8)
  lea    0x5(%rdi),%r8d
  cmp    %r8d,%esi
  jle    L17
  movslq %r8d,%r10
  add    $0x6,%edi
  lea    (%rax,%r10,1),%r8
  movzbl (%rdx,%r10,1),%r15d
  movzbl (%r8),%r10d
  lea    0x1(%r15,%r10,1),%r10d
  shr    %r10d
  mov    %r10b,(%r8)
  cmp    %edi,%esi
  jle    L17
  movslq %edi,%rdi
  lea    (%rax,%rdi,1),%r8
  movzbl (%rdx,%rdi,1),%r10d
  movzbl (%r8),%edi
  lea    0x1(%r10,%rdi,1),%edi
  shr    %edi
  mov    %dil,(%r8)
L17:
  add    $0x1,%r11d
  add    %rcx,%rdx
  add    %rcx,%rax
  cmp    %r11d,%r13d
  je     L1342
  lea    0x1(%rdx),%r8
  mov    %rax,%rdi
  sub    %r8,%rdi
  cmp    $0xe,%rdi
  ja     L1454
L1391:
  xor    %edi,%edi
  nopw   0x0(%rax,%rax,1)
L606:
  movzbl (%rax,%rdi,1),%r10d
  movzbl (%rdx,%rdi,1),%r8d
  lea    0x1(%r10,%r8,1),%r8d
  shr    %r8d
  mov    %r8b,(%rax,%rdi,1)
  add    $0x1,%rdi
  cmp    %rbp,%rdi
  jne    L606
  jmp    L17
  nopl   0x0(%rax)
L424:
  test   %r11d,%r11d
  je     L191
  mov    -0x6c(%rsp),%r11d
  test   %r11d,%r11d
  jle    L1342
  movslq %r10d,%r11
  test   %esi,%esi
  jle    L1342
  lea    -0x1(%rsi),%ebx
  mov    %esi,%ecx
  lea    (%rdx,%r11,1),%r13
  mov    %esi,%r14d
  mov    %ebx,-0x68(%rsp)
  mov    %esi,%ebx
  shr    $0x4,%ecx
  mov    %r13,%r8
  and    $0xf,%ebx
  lea    -0x1(%rcx),%r9d
  and    $0xfffffff0,%r14d
  xor    %r12d,%r12d
  mov    %ebx,-0x60(%rsp)
  sub    $0x1,%ebx
  add    $0x1,%r9
  mov    %esi,%r15d
  mov    %ebx,-0x50(%rsp)
  shl    $0x4,%r9
  cs nopw 0x0(%rax,%rax,1)
L522:
  lea    0x1(%r8),%rdi
  mov    %rax,%rcx
  sub    %rdi,%rcx
  cmp    $0xe,%rcx
  seta   %dil
  cmpl   $0x6,-0x68(%rsp)
  seta   %cl
  test   %cl,%dil
  je     L1356
  lea    0x1(%rdx),%rdi
  mov    %rax,%rcx
  sub    %rdi,%rcx
  cmp    $0xe,%rcx
  jbe    L1356
  cmpl   $0xe,-0x68(%rsp)
  jbe    L1336
  xor    %ecx,%ecx
  nopl   0x0(%rax)
L1186:
  movdqu (%rdx,%rcx,1),%xmm0
  movdqu (%r8,%rcx,1),%xmm4
  movdqu (%rax,%rcx,1),%xmm5
  pavgb  %xmm4,%xmm0
  pavgb  %xmm5,%xmm0
  movups %xmm0,(%rax,%rcx,1)
  add    $0x10,%rcx
  cmp    %r9,%rcx
  jne    L1186
  cmp    %esi,%r14d
  je     L342
  cmpl   $0x6,-0x50(%rsp)
  mov    -0x60(%rsp),%ebp
  mov    %r14d,%ecx
  mov    %r14d,%edi
  jbe    L1490
L679:
  movq   (%rdx,%rdi,1),%xmm0
  lea    (%rax,%rdi,1),%rbx
  add    %rdx,%rdi
  movq   (%rdi,%r11,1),%xmm1
  mov    %ebp,%edi
  and    $0xfffffff8,%edi
  pavgb  %xmm1,%xmm0
  movq   (%rbx),%xmm1
  add    %edi,%ecx
  pavgb  %xmm1,%xmm0
  movq   %xmm0,(%rbx)
  cmp    %ebp,%edi
  je     L342
L1490:
  lea    (%r10,%rcx,1),%edi
  movslq %ecx,%rbp
  movslq %edi,%rdi
  lea    (%rax,%rbp,1),%rbx
  movzbl (%rdx,%rbp,1),%ebp
  movzbl (%rdx,%rdi,1),%edi
  lea    0x1(%rdi,%rbp,1),%edi
  movzbl (%rbx),%ebp
  shr    %edi
  lea    0x1(%rdi,%rbp,1),%edi
  shr    %edi
  mov    %dil,(%rbx)
  lea    0x1(%rcx),%edi
  cmp    %esi,%edi
  jge    L342
  movslq %edi,%rbp
  add    %r10d,%edi
  movslq %edi,%rdi
  lea    (%rax,%rbp,1),%rbx
  movzbl (%rdx,%rbp,1),%ebp
  movzbl (%rdx,%rdi,1),%edi
  lea    0x1(%rdi,%rbp,1),%edi
  movzbl (%rbx),%ebp
  shr    %edi
  lea    0x1(%rdi,%rbp,1),%edi
  shr    %edi
  mov    %dil,(%rbx)
  lea    0x2(%rcx),%edi
  cmp    %esi,%edi
  jge    L342
  movslq %edi,%rbp
  add    %r10d,%edi
  movslq %edi,%rdi
  lea    (%rax,%rbp,1),%rbx
  movzbl (%rdx,%rbp,1),%ebp
  movzbl (%rdx,%rdi,1),%edi
  lea    0x1(%rdi,%rbp,1),%edi
  movzbl (%rbx),%ebp
  shr    %edi
  lea    0x1(%rdi,%rbp,1),%edi
  shr    %edi
  mov    %dil,(%rbx)
  lea    0x3(%rcx),%edi
  cmp    %esi,%edi
  jge    L342
  movslq %edi,%rbp
  add    %r10d,%edi
  movslq %edi,%rdi
  lea    (%rax,%rbp,1),%rbx
  movzbl (%rdx,%rbp,1),%ebp
  movzbl (%rdx,%rdi,1),%edi
  lea    0x1(%rdi,%rbp,1),%edi
  movzbl (%rbx),%ebp
  shr    %edi
  lea    0x1(%rdi,%rbp,1),%edi
  shr    %edi
  mov    %dil,(%rbx)
  lea    0x4(%rcx),%edi
  cmp    %esi,%edi
  jge    L342
  movslq %edi,%rbp
  add    %r10d,%edi
  movslq %edi,%rdi
  lea    (%rax,%rbp,1),%rbx
  movzbl (%rdx,%rbp,1),%ebp
  movzbl (%rdx,%rdi,1),%edi
  lea    0x1(%rdi,%rbp,1),%edi
  movzbl (%rbx),%ebp
  shr    %edi
  lea    0x1(%rdi,%rbp,1),%edi
  shr    %edi
  mov    %dil,(%rbx)
  lea    0x5(%rcx),%edi
  cmp    %esi,%edi
  jge    L342
  movslq %edi,%rbp
  add    %r10d,%edi
  add    $0x6,%ecx
  movslq %edi,%rdi
  lea    (%rax,%rbp,1),%rbx
  movzbl (%rdx,%rbp,1),%ebp
  movzbl (%rdx,%rdi,1),%edi
  lea    0x1(%rdi,%rbp,1),%edi
  movzbl (%rbx),%ebp
  shr    %edi
  lea    0x1(%rdi,%rbp,1),%edi
  shr    %edi
  mov    %dil,(%rbx)
  cmp    %esi,%ecx
  jge    L342
  movslq %ecx,%rbx
  add    %r10d,%ecx
  movslq %ecx,%rcx
  lea    (%rax,%rbx,1),%rdi
  movzbl (%rdx,%rcx,1),%ecx
  movzbl (%rdx,%rbx,1),%edx
  lea    0x1(%rcx,%rdx,1),%edx
  movzbl (%rdi),%ecx
  shr    %edx
  lea    0x1(%rdx,%rcx,1),%edx
  shr    %edx
  mov    %dl,(%rdi)
L342:
  mov    %r13,%rdx
  add    %r11,%rax
  add    $0x1,%r12d
  add    %r11,%r8
  cmp    %r12d,-0x6c(%rsp)
  je     L1342
  add    %r11,%r13
  jmp    L522
  nopl   0x0(%rax,%rax,1)
L1434:
  test   %r15d,%r15d
  jle    L1342
  movslq %r10d,%rcx
  test   %esi,%esi
  jle    L1342
  mov    %esi,%edi
  mov    %esi,%ebp
  mov    %esi,%r10d
  xor    %r9d,%r9d
  shr    $0x4,%edi
  and    $0xf,%ebp
  lea    -0x1(%rsi),%ebx
  and    $0xfffffff0,%r10d
  lea    -0x1(%rdi),%r8d
  lea    -0x1(%rbp),%r12d
  mov    %esi,%r11d
  mov    %r15d,%r13d
  add    $0x1,%r8
  shl    $0x4,%r8
  nopl   0x0(%rax)
L873:
  lea    0x1(%rdx),%r14
  mov    %rax,%rdi
  sub    %r14,%rdi
  cmp    $0xe,%rdi
  jbe    L1402
  cmp    $0x6,%ebx
  jbe    L1402
  cmp    $0xe,%ebx
  jbe    L236
  xor    %edi,%edi
  nopl   0x0(%rax,%rax,1)
L1281:
  movdqu (%rdx,%rdi,1),%xmm5
  movups %xmm5,(%rax,%rdi,1)
  add    $0x10,%rdi
  cmp    %r8,%rdi
  jne    L1281
  cmp    %r10d,%esi
  je     L392
  mov    %ebp,%r15d
  cmp    $0x6,%r12d
  jbe    L1175
  mov    %r10d,%r14d
  mov    %r10d,%edi
L513:
  movq   (%rdx,%r14,1),%xmm0
  movq   %xmm0,(%rax,%r14,1)
  mov    %r15d,%r14d
  and    $0xfffffff8,%r14d
  add    %r14d,%edi
  cmp    %r15d,%r14d
  je     L392
L802:
  movslq %edi,%r14
  movzbl (%rdx,%r14,1),%r15d
  mov    %r15b,(%rax,%r14,1)
  lea    0x1(%rdi),%r14d
  cmp    %r14d,%esi
  jle    L392
  movslq %r14d,%r14
  movzbl (%rdx,%r14,1),%r15d
  mov    %r15b,(%rax,%r14,1)
  lea    0x2(%rdi),%r14d
  cmp    %r14d,%esi
  jle    L392
  movslq %r14d,%r14
  movzbl (%rdx,%r14,1),%r15d
  mov    %r15b,(%rax,%r14,1)
  lea    0x3(%rdi),%r14d
  cmp    %r14d,%esi
  jle    L392
  movslq %r14d,%r14
  movzbl (%rdx,%r14,1),%r15d
  mov    %r15b,(%rax,%r14,1)
  lea    0x4(%rdi),%r14d
  cmp    %r14d,%esi
  jle    L392
  movslq %r14d,%r14
  movzbl (%rdx,%r14,1),%r15d
  mov    %r15b,(%rax,%r14,1)
  lea    0x5(%rdi),%r14d
  cmp    %r14d,%esi
  jle    L392
  movslq %r14d,%r14
  add    $0x6,%edi
  movzbl (%rdx,%r14,1),%r15d
  mov    %r15b,(%rax,%r14,1)
  cmp    %edi,%esi
  jle    L392
  movslq %edi,%rdi
  movzbl (%rdx,%rdi,1),%r14d
  mov    %r14b,(%rax,%rdi,1)
L392:
  add    $0x1,%r9d
  add    %rcx,%rdx
  add    %rcx,%rax
  cmp    %r9d,%r13d
  jne    L873
L1342:
  add    $0x140,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L938:
  mov    -0x6c(%rsp),%edi
  test   %edi,%edi
  jle    L1342
  movslq %r10d,%rbx
  test   %esi,%esi
  jle    L1342
  mov    %esi,%ecx
  lea    (%rdx,%rbx,1),%rbp
  pxor   %xmm2,%xmm2
  mov    %esi,%r12d
  and    $0xfffffff0,%r12d
  shr    $0x4,%ecx
  mov    %rbp,%rdi
  lea    -0x1(%rcx),%r9d
  lea    (%r10,%r12,1),%ecx
  mov    %r12d,%r13d
  movslq %ecx,%r8
  add    $0x1,%ecx
  lea    0x1(%r12),%r15d
  add    $0x1,%r9
  movslq %ecx,%rcx
  mov    %r8,-0x38(%rsp)
  shl    $0x4,%r9
  mov    %rcx,-0x40(%rsp)
  lea    0x2(%r12),%ecx
  mov    %rcx,%r8
  mov    %ecx,-0x24(%rsp)
  mov    %rcx,0x130(%rsp)
  lea    (%r15,%r10,1),%ecx
  movslq %ecx,%r14
  add    $0x1,%ecx
  mov    %r15d,-0x28(%rsp)
  mov    %r14,-0x18(%rsp)
  movslq %ecx,%r14
  lea    0x3(%r12),%ecx
  mov    %r14,-0x20(%rsp)
  mov    %rcx,%r14
  mov    %ecx,0x10(%rsp)
  mov    %rcx,-0x68(%rsp)
  lea    (%r8,%r10,1),%ecx
  movslq %ecx,%r8
  add    $0x1,%ecx
  mov    %r8,-0x8(%rsp)
  movslq %ecx,%r8
  lea    0x4(%r12),%ecx
  mov    %r8,(%rsp)
  mov    %rcx,%r8
  mov    %ecx,0x14(%rsp)
  mov    %rcx,-0x60(%rsp)
  lea    (%r14,%r10,1),%ecx
  movslq %ecx,%r14
  add    $0x1,%ecx
  mov    %r14,0x20(%rsp)
  movslq %ecx,%r14
  lea    0x5(%r12),%ecx
  mov    %r14,0x18(%rsp)
  mov    %rcx,%r14
  mov    %ecx,0x48(%rsp)
  mov    %rcx,-0x58(%rsp)
  lea    (%r8,%r10,1),%ecx
  movslq %ecx,%r8
  add    $0x1,%ecx
  mov    %r8,0x38(%rsp)
  movslq %ecx,%r8
  lea    0x6(%r12),%ecx
  mov    %r8,0x30(%rsp)
  mov    %rcx,%r8
  mov    %ecx,0x4c(%rsp)
  mov    %rcx,-0x48(%rsp)
  lea    (%r14,%r10,1),%ecx
  movslq %ecx,%r14
  add    $0x1,%ecx
  mov    %r14,0x58(%rsp)
  movslq %ecx,%r14
  lea    0x7(%r12),%ecx
  mov    %r14,0x50(%rsp)
  mov    %rcx,%r14
  mov    %ecx,0x80(%rsp)
  mov    %rcx,-0x30(%rsp)
  lea    (%r8,%r10,1),%ecx
  movslq %ecx,%r8
  add    $0x1,%ecx
  mov    %r8,0x70(%rsp)
  movslq %ecx,%r8
  lea    0x8(%r12),%ecx
  mov    %r8,0x68(%rsp)
  mov    %rcx,%r8
  mov    %ecx,0x84(%rsp)
  mov    %rcx,-0x10(%rsp)
  lea    (%r14,%r10,1),%ecx
  movslq %ecx,%r14
  add    $0x1,%ecx
  mov    %r14,0x90(%rsp)
  movslq %ecx,%r14
  lea    0x9(%r12),%ecx
  mov    %r14,0x88(%rsp)
  mov    %rcx,%r14
  mov    %ecx,0xb8(%rsp)
  mov    %rcx,0x8(%rsp)
  lea    (%r8,%r10,1),%ecx
  movdqa D37(%rip),%xmm5
  movslq %ecx,%r8
  add    $0x1,%ecx
  mov    %r12d,-0x4c(%rsp)
  movdqa D5(%rip),%xmm4
  mov    %r8,0xa0(%rsp)
  movslq %ecx,%r8
  lea    0xa(%r12),%ecx
  mov    %r8,0xa8(%rsp)
  mov    %rcx,%r8
  mov    %ecx,0xbc(%rsp)
  mov    %rcx,0x28(%rsp)
  lea    (%r14,%r10,1),%ecx
  movslq %ecx,%r14
  add    $0x1,%ecx
  mov    %r14,0xb0(%rsp)
  movslq %ecx,%r14
  lea    0xb(%r12),%ecx
  mov    %r14,0xc0(%rsp)
  mov    %rcx,%r14
  mov    %ecx,0xd8(%rsp)
  mov    %rcx,0x40(%rsp)
  lea    (%r10,%r8,1),%ecx
  movslq %ecx,%r8
  add    $0x1,%ecx
  mov    %r8,0xc8(%rsp)
  movslq %ecx,%r8
  lea    0xc(%r12),%ecx
  mov    %r8,0xd0(%rsp)
  mov    %rcx,%r8
  mov    %ecx,0xdc(%rsp)
  mov    %rcx,0x60(%rsp)
  lea    (%r10,%r14,1),%ecx
  movslq %ecx,%r14
  add    $0x1,%ecx
  mov    %r14,0xe0(%rsp)
  movslq %ecx,%r14
  lea    0xd(%r12),%ecx
  mov    %r14,0xe8(%rsp)
  mov    %rcx,%r14
  mov    %ecx,0x100(%rsp)
  mov    %rcx,0x78(%rsp)
  lea    (%r10,%r8,1),%ecx
  movslq %ecx,%r8
  add    $0x1,%ecx
  mov    %r8,0xf0(%rsp)
  movslq %ecx,%r8
  lea    0xe(%r12),%ecx
  mov    %r8,0xf8(%rsp)
  mov    %rcx,%r8
  mov    %ecx,0x104(%rsp)
  mov    %rcx,0x98(%rsp)
  lea    (%r10,%r14,1),%ecx
  movslq %ecx,%r14
  add    $0x1,%ecx
  mov    %r14,0x108(%rsp)
  movslq %ecx,%r14
  lea    (%r10,%r8,1),%ecx
  movslq %ecx,%r10
  mov    %r14,0x110(%rsp)
  add    $0x1,%ecx
  lea    0xf(%r12),%r14d
  mov    %r10,0x120(%rsp)
  movslq %ecx,%r10
  mov    0x130(%rsp),%r12
  mov    %r14,0x118(%rsp)
  mov    %r10,0x128(%rsp)
  lea    -0x1(%rsi),%r10d
  mov    %r10d,-0x50(%rsp)
  mov    %esi,%r10d
  nopl   0x0(%rax,%rax,1)
L442:
  cmpl   $0xe,-0x50(%rsp)
  lea    0x1(%rdi),%r8
  mov    %rax,%rcx
  seta   %r14b
  sub    %r8,%rcx
  cmp    $0xf,%rcx
  seta   %cl
  test   %cl,%r14b
  je     L626
  lea    0x1(%rdx),%rcx
  mov    %rax,%r14
  sub    %rcx,%r14
  xor    %ecx,%ecx
  cmp    $0xf,%r14
  jbe    L626
  nopl   0x0(%rax)
L818:
  movdqu (%rdx,%rcx,1),%xmm7
  movdqu 0x1(%rdx,%rcx,1),%xmm0
  movdqu (%rdi,%rcx,1),%xmm6
  movdqu (%r8,%rcx,1),%xmm3
  movdqa %xmm7,%xmm8
  movdqa %xmm0,%xmm1
  punpckhbw %xmm2,%xmm7
  punpcklbw %xmm2,%xmm8
  punpcklbw %xmm2,%xmm1
  movdqa %xmm6,%xmm9
  paddw  %xmm8,%xmm1
  movdqa %xmm3,%xmm8
  punpcklbw %xmm2,%xmm9
  punpcklbw %xmm2,%xmm8
  punpckhbw %xmm2,%xmm0
  punpckhbw %xmm2,%xmm6
  punpckhbw %xmm2,%xmm3
  paddw  %xmm9,%xmm8
  paddw  %xmm7,%xmm0
  paddw  %xmm6,%xmm3
  paddw  %xmm8,%xmm1
  paddw  %xmm3,%xmm0
  paddw  %xmm5,%xmm1
  paddw  %xmm5,%xmm0
  psrlw  $0x2,%xmm1
  psrlw  $0x2,%xmm0
  pand   %xmm4,%xmm1
  pand   %xmm4,%xmm0
  packuswb %xmm0,%xmm1
  movups %xmm1,(%rax,%rcx,1)
  add    $0x10,%rcx
  cmp    %rcx,%r9
  jne    L818
  cmp    -0x4c(%rsp),%esi
  je     L77
  lea    (%rdx,%r15,1),%r8
  movzbl (%rdx,%r13,1),%ecx
  movzbl (%r8),%r14d
  add    %ecx,%r14d
  mov    -0x38(%rsp),%rcx
  movzbl (%rdx,%rcx,1),%ecx
  add    %r14d,%ecx
  mov    -0x40(%rsp),%r14
  movzbl (%rdx,%r14,1),%r14d
  lea    0x2(%rcx,%r14,1),%ecx
  shr    $0x2,%ecx
  mov    %cl,(%rax,%r13,1)
  cmp    -0x28(%rsp),%esi
  jle    L77
  lea    (%rdx,%r12,1),%r14
  movzbl (%r8),%r8d
  movzbl (%r14),%ecx
  add    %ecx,%r8d
  mov    -0x18(%rsp),%rcx
  movzbl (%rdx,%rcx,1),%ecx
  add    %r8d,%ecx
  mov    -0x20(%rsp),%r8
  movzbl (%rdx,%r8,1),%r8d
  lea    0x2(%rcx,%r8,1),%ecx
  shr    $0x2,%ecx
  mov    %cl,(%rax,%r15,1)
  cmp    -0x24(%rsp),%esi
  jle    L77
  mov    -0x68(%rsp),%rcx
  movzbl (%r14),%r14d
  lea    (%rdx,%rcx,1),%r8
  movzbl (%r8),%ecx
  add    %ecx,%r14d
  mov    -0x8(%rsp),%rcx
  movzbl (%rdx,%rcx,1),%ecx
  add    %r14d,%ecx
  mov    (%rsp),%r14
  movzbl (%rdx,%r14,1),%r14d
  lea    0x2(%rcx,%r14,1),%ecx
  shr    $0x2,%ecx
  mov    %cl,(%rax,%r12,1)
  cmp    0x10(%rsp),%esi
  jle    L77
  mov    -0x60(%rsp),%r14
  movzbl (%r8),%r8d
  add    %rdx,%r14
  movzbl (%r14),%ecx
  add    %ecx,%r8d
  mov    0x20(%rsp),%rcx
  movzbl (%rdx,%rcx,1),%ecx
  add    %r8d,%ecx
  mov    0x18(%rsp),%r8
  movzbl (%rdx,%r8,1),%r8d
  lea    0x2(%rcx,%r8,1),%ecx
  mov    -0x68(%rsp),%r8
  shr    $0x2,%ecx
  mov    %cl,(%rax,%r8,1)
  cmp    0x14(%rsp),%esi
  jle    L77
  mov    -0x58(%rsp),%rcx
  movzbl (%r14),%r14d
  lea    (%rdx,%rcx,1),%r8
  movzbl (%r8),%ecx
  add    %ecx,%r14d
  mov    0x38(%rsp),%rcx
  movzbl (%rdx,%rcx,1),%ecx
  add    %r14d,%ecx
  mov    0x30(%rsp),%r14
  movzbl (%rdx,%r14,1),%r14d
  lea    0x2(%rcx,%r14,1),%ecx
  mov    -0x60(%rsp),%r14
  shr    $0x2,%ecx
  mov    %cl,(%rax,%r14,1)
  cmp    0x48(%rsp),%esi
  jle    L77
  mov    -0x48(%rsp),%r14
  movzbl (%r8),%r8d
  add    %rdx,%r14
  movzbl (%r14),%ecx
  add    %ecx,%r8d
  mov    0x58(%rsp),%rcx
  movzbl (%rdx,%rcx,1),%ecx
  add    %r8d,%ecx
  mov    0x50(%rsp),%r8
  movzbl (%rdx,%r8,1),%r8d
  lea    0x2(%rcx,%r8,1),%ecx
  mov    -0x58(%rsp),%r8
  shr    $0x2,%ecx
  mov    %cl,(%rax,%r8,1)
  cmp    0x4c(%rsp),%esi
  jle    L77
  mov    -0x30(%rsp),%rcx
  movzbl (%r14),%r14d
  lea    (%rdx,%rcx,1),%r8
  movzbl (%r8),%ecx
  add    %ecx,%r14d
  mov    0x70(%rsp),%rcx
  movzbl (%rdx,%rcx,1),%ecx
  add    %r14d,%ecx
  mov    0x68(%rsp),%r14
  movzbl (%rdx,%r14,1),%r14d
  lea    0x2(%rcx,%r14,1),%ecx
  mov    -0x48(%rsp),%r14
  shr    $0x2,%ecx
  mov    %cl,(%rax,%r14,1)
  cmp    0x80(%rsp),%esi
  jle    L77
  mov    -0x10(%rsp),%r14
  movzbl (%r8),%r8d
  add    %rdx,%r14
  movzbl (%r14),%ecx
  add    %ecx,%r8d
  mov    0x90(%rsp),%rcx
  movzbl (%rdx,%rcx,1),%ecx
  add    %r8d,%ecx
  mov    0x88(%rsp),%r8
  movzbl (%rdx,%r8,1),%r8d
  lea    0x2(%rcx,%r8,1),%ecx
  mov    -0x30(%rsp),%r8
  shr    $0x2,%ecx
  mov    %cl,(%rax,%r8,1)
  cmp    0x84(%rsp),%esi
  jle    L77
  mov    0x8(%rsp),%rcx
  movzbl (%r14),%r14d
  lea    (%rdx,%rcx,1),%r8
  movzbl (%r8),%ecx
  add    %ecx,%r14d
  mov    0xa0(%rsp),%rcx
  movzbl (%rdx,%rcx,1),%ecx
  add    %r14d,%ecx
  mov    0xa8(%rsp),%r14
  movzbl (%rdx,%r14,1),%r14d
  lea    0x2(%rcx,%r14,1),%ecx
  mov    -0x10(%rsp),%r14
  shr    $0x2,%ecx
  mov    %cl,(%rax,%r14,1)
  cmp    %esi,0xb8(%rsp)
  jge    L77
  mov    0x28(%rsp),%r14
  movzbl (%r8),%r8d
  add    %rdx,%r14
  movzbl (%r14),%ecx
  add    %ecx,%r8d
  mov    0xb0(%rsp),%rcx
  movzbl (%rdx,%rcx,1),%ecx
  add    %r8d,%ecx
  mov    0xc0(%rsp),%r8
  movzbl (%rdx,%r8,1),%r8d
  lea    0x2(%rcx,%r8,1),%ecx
  mov    0x8(%rsp),%r8
  shr    $0x2,%ecx
  mov    %cl,(%rax,%r8,1)
  cmp    0xbc(%rsp),%esi
  jle    L77
  mov    0x40(%rsp),%rcx
  lea    (%rdx,%rcx,1),%r8
  movzbl (%r14),%ecx
  movzbl (%r8),%r14d
  add    %ecx,%r14d
  mov    0xc8(%rsp),%rcx
  movzbl (%rdx,%rcx,1),%ecx
  add    %r14d,%ecx
  mov    0xd0(%rsp),%r14
  movzbl (%rdx,%r14,1),%r14d
  lea    0x2(%rcx,%r14,1),%ecx
  mov    0x28(%rsp),%r14
  shr    $0x2,%ecx
  mov    %cl,(%rax,%r14,1)
  cmp    0xd8(%rsp),%esi
  jle    L77
  mov    0x60(%rsp),%r14
  movzbl (%r8),%ecx
  add    %rdx,%r14
  movzbl (%r14),%r8d
  add    %ecx,%r8d
  mov    0xe0(%rsp),%rcx
  movzbl (%rdx,%rcx,1),%ecx
  add    %r8d,%ecx
  mov    0xe8(%rsp),%r8
  movzbl (%rdx,%r8,1),%r8d
  lea    0x2(%rcx,%r8,1),%ecx
  mov    0x40(%rsp),%r8
  shr    $0x2,%ecx
  mov    %cl,(%rax,%r8,1)
  cmp    0xdc(%rsp),%esi
  jle    L77
  mov    0x78(%rsp),%rcx
  lea    (%rdx,%rcx,1),%r8
  movzbl (%r14),%ecx
  movzbl (%r8),%r14d
  add    %ecx,%r14d
  mov    0xf0(%rsp),%rcx
  movzbl (%rdx,%rcx,1),%ecx
  add    %r14d,%ecx
  mov    0xf8(%rsp),%r14
  movzbl (%rdx,%r14,1),%r14d
  lea    0x2(%rcx,%r14,1),%ecx
  mov    0x60(%rsp),%r14
  shr    $0x2,%ecx
  mov    %cl,(%rax,%r14,1)
  cmp    0x100(%rsp),%esi
  jle    L77
  mov    0x98(%rsp),%r14
  movzbl (%r8),%ecx
  add    %rdx,%r14
  movzbl (%r14),%r8d
  add    %ecx,%r8d
  mov    0x108(%rsp),%rcx
  movzbl (%rdx,%rcx,1),%ecx
  add    %r8d,%ecx
  mov    0x110(%rsp),%r8
  movzbl (%rdx,%r8,1),%r8d
  lea    0x2(%rcx,%r8,1),%ecx
  mov    0x78(%rsp),%r8
  shr    $0x2,%ecx
  mov    %cl,(%rax,%r8,1)
  cmp    0x104(%rsp),%esi
  jle    L77
  mov    0x118(%rsp),%rcx
  movzbl (%r14),%r8d
  mov    0x98(%rsp),%r14
  movzbl (%rdx,%rcx,1),%ecx
  add    %ecx,%r8d
  mov    0x120(%rsp),%rcx
  movzbl (%rdx,%rcx,1),%ecx
  add    %r8d,%ecx
  mov    0x128(%rsp),%r8
  movzbl (%rdx,%r8,1),%edx
  lea    0x2(%rcx,%rdx,1),%edx
  shr    $0x2,%edx
  mov    %dl,(%rax,%r14,1)
  nopw   0x0(%rax,%rax,1)
L77:
  mov    %rbp,%rdx
  add    %rbx,%rax
  add    $0x1,%r11d
  add    %rbx,%rdi
  cmp    %r11d,-0x6c(%rsp)
  je     L1342
  add    %rbx,%rbp
  jmp    L442
L191:
  mov    -0x6c(%rsp),%ebx
  test   %ebx,%ebx
  jle    L1342
  movslq %r10d,%rbx
  test   %esi,%esi
  jle    L1342
  lea    -0x1(%rsi),%ecx
  lea    (%rdx,%rbx,1),%r9
  mov    %esi,%r12d
  xor    %ebp,%ebp
  mov    %ecx,-0x68(%rsp)
  mov    %esi,%ecx
  mov    %r9,%rdi
  and    $0xfffffff0,%r12d
  shr    $0x4,%ecx
  mov    %esi,%r15d
  lea    -0x1(%rcx),%r8d
  mov    %esi,%ecx
  and    $0xf,%ecx
  add    $0x1,%r8
  mov    %ecx,-0x60(%rsp)
  sub    $0x1,%ecx
  shl    $0x4,%r8
  mov    %ecx,-0x50(%rsp)
  nopw   0x0(%rax,%rax,1)
L351:
  lea    0x1(%rdi),%r11
  mov    %rax,%rcx
  sub    %r11,%rcx
  cmp    $0xe,%rcx
  seta   %r11b
  cmpl   $0x6,-0x68(%rsp)
  seta   %cl
  test   %cl,%r11b
  je     L1165
  lea    0x1(%rdx),%r11
  mov    %rax,%rcx
  sub    %r11,%rcx
  cmp    $0xe,%rcx
  jbe    L1165
  cmpl   $0xe,-0x68(%rsp)
  jbe    L1279
  xor    %ecx,%ecx
  nopl   0x0(%rax)
L1073:
  movdqu (%rdx,%rcx,1),%xmm0
  movdqu (%rdi,%rcx,1),%xmm4
  pavgb  %xmm4,%xmm0
  movups %xmm0,(%rax,%rcx,1)
  add    $0x10,%rcx
  cmp    %rcx,%r8
  jne    L1073
  cmp    %esi,%r12d
  je     L374
  cmpl   $0x6,-0x50(%rsp)
  mov    -0x60(%rsp),%r13d
  mov    %r12d,%ecx
  mov    %r12d,%r11d
  jbe    L1380
L1190:
  movq   (%rdx,%r11,1),%xmm0
  movq   (%r9,%r11,1),%xmm1
  pavgb  %xmm1,%xmm0
  movq   %xmm0,(%rax,%r11,1)
  mov    %r13d,%r11d
  and    $0xfffffff8,%r11d
  add    %r11d,%ecx
  cmp    %r13d,%r11d
  je     L374
L1380:
  lea    (%r10,%rcx,1),%r13d
  movslq %ecx,%r11
  movslq %r13d,%r13
  movzbl (%rdx,%r13,1),%r14d
  movzbl (%rdx,%r11,1),%r13d
  lea    0x1(%r14,%r13,1),%r13d
  shr    %r13d
  mov    %r13b,(%rax,%r11,1)
  lea    0x1(%rcx),%r13d
  cmp    %r13d,%esi
  jle    L374
  movslq %r13d,%r11
  add    %r10d,%r13d
  movslq %r13d,%r13
  movzbl (%rdx,%r13,1),%r14d
  movzbl (%rdx,%r11,1),%r13d
  lea    0x1(%r14,%r13,1),%r13d
  shr    %r13d
  mov    %r13b,(%rax,%r11,1)
  lea    0x2(%rcx),%r13d
  cmp    %r13d,%esi
  jle    L374
  movslq %r13d,%r11
  add    %r10d,%r13d
  movslq %r13d,%r13
  movzbl (%rdx,%r13,1),%r14d
  movzbl (%rdx,%r11,1),%r13d
  lea    0x1(%r14,%r13,1),%r13d
  shr    %r13d
  mov    %r13b,(%rax,%r11,1)
  lea    0x3(%rcx),%r13d
  cmp    %r13d,%esi
  jle    L374
  movslq %r13d,%r11
  add    %r10d,%r13d
  movslq %r13d,%r13
  movzbl (%rdx,%r13,1),%r14d
  movzbl (%rdx,%r11,1),%r13d
  lea    0x1(%r14,%r13,1),%r13d
  shr    %r13d
  mov    %r13b,(%rax,%r11,1)
  lea    0x4(%rcx),%r13d
  cmp    %r13d,%esi
  jle    L374
  movslq %r13d,%r11
  add    %r10d,%r13d
  movslq %r13d,%r13
  movzbl (%rdx,%r13,1),%r14d
  movzbl (%rdx,%r11,1),%r13d
  lea    0x1(%r14,%r13,1),%r13d
  shr    %r13d
  mov    %r13b,(%rax,%r11,1)
  lea    0x5(%rcx),%r13d
  cmp    %esi,%r13d
  jge    L374
  movslq %r13d,%r11
  add    %r10d,%r13d
  add    $0x6,%ecx
  movslq %r13d,%r13
  movzbl (%rdx,%r13,1),%r14d
  movzbl (%rdx,%r11,1),%r13d
  lea    0x1(%r14,%r13,1),%r13d
  shr    %r13d
  mov    %r13b,(%rax,%r11,1)
  cmp    %ecx,%esi
  jle    L374
  movslq %ecx,%r11
  add    %r10d,%ecx
  movslq %ecx,%rcx
  movzbl (%rdx,%rcx,1),%ecx
  movzbl (%rdx,%r11,1),%edx
  lea    0x1(%rcx,%rdx,1),%edx
  shr    %edx
  mov    %dl,(%rax,%r11,1)
L374:
  mov    %r9,%rdx
  add    %rbx,%rax
  add    $0x1,%ebp
  add    %rbx,%rdi
  cmp    %ebp,-0x6c(%rsp)
  je     L1342
  add    %rbx,%r9
  jmp    L351
  nopl   0x0(%rax)
L1402:
  xor    %edi,%edi
  nopw   0x0(%rax,%rax,1)
L1193:
  movzbl (%rdx,%rdi,1),%r14d
  mov    %r14b,(%rax,%rdi,1)
  add    $0x1,%rdi
  cmp    %r11,%rdi
  jne    L1193
  jmp    L392
  nopw   0x0(%rax,%rax,1)
L1453:
  xor    %ecx,%ecx
  nopw   0x0(%rax,%rax,1)
L270:
  movzbl 0x1(%rdi,%rcx,1),%r15d
  movzbl (%rdi,%rcx,1),%r8d
  add    %r15d,%r8d
  movzbl (%r9,%rcx,1),%r15d
  add    %r15d,%r8d
  movzbl 0x1(%r9,%rcx,1),%r15d
  lea    0x2(%r8,%r15,1),%r8d
  movzbl (%rax,%rcx,1),%r15d
  shr    $0x2,%r8d
  lea    0x1(%r8,%r15,1),%r8d
  shr    %r8d
  mov    %r8b,(%rax,%rcx,1)
  add    $0x1,%rcx
  cmp    %r12,%rcx
  jne    L270
  jmp    L1614
  nopl   0x0(%rax)
L626:
  xor    %ecx,%ecx
  nopw   0x0(%rax,%rax,1)
L255:
  movzbl 0x1(%rdx,%rcx,1),%r14d
  movzbl (%rdx,%rcx,1),%r8d
  add    %r14d,%r8d
  movzbl (%rdi,%rcx,1),%r14d
  add    %r14d,%r8d
  movzbl 0x1(%rdi,%rcx,1),%r14d
  lea    0x2(%r8,%r14,1),%r8d
  shr    $0x2,%r8d
  mov    %r8b,(%rax,%rcx,1)
  add    $0x1,%rcx
  cmp    %r10,%rcx
  jne    L255
  jmp    L77
  nop
L1165:
  xor    %ecx,%ecx
  nopw   0x0(%rax,%rax,1)
L517:
  movzbl (%rdi,%rcx,1),%r13d
  movzbl (%rdx,%rcx,1),%r11d
  lea    0x1(%r13,%r11,1),%r11d
  shr    %r11d
  mov    %r11b,(%rax,%rcx,1)
  add    $0x1,%rcx
  cmp    %r15,%rcx
  jne    L517
  jmp    L374
  nopl   0x0(%rax)
L1356:
  xor    %ecx,%ecx
  nopw   0x0(%rax,%rax,1)
L746:
  movzbl (%r8,%rcx,1),%ebx
  movzbl (%rdx,%rcx,1),%edi
  lea    0x1(%rbx,%rdi,1),%edi
  movzbl (%rax,%rcx,1),%ebx
  shr    %edi
  lea    0x1(%rdi,%rbx,1),%edi
  shr    %edi
  mov    %dil,(%rax,%rcx,1)
  add    $0x1,%rcx
  cmp    %rcx,%r15
  jne    L746
  jmp    L342
L571:
  xor    %edi,%edi
  nopl   (%rax)
L1112:
  movzbl (%rdx,%rdi,1),%ebx
  movzbl 0x1(%rdx,%rdi,1),%r9d
  lea    0x1(%rbx,%r9,1),%r9d
  shr    %r9d
  mov    %r9b,(%rax,%rdi,1)
  add    $0x1,%rdi
  cmp    %r13,%rdi
  jne    L1112
  jmp    L385
L1537:
  mov    %esi,%r10d
  xor    %edi,%edi
  xor    %r8d,%r8d
  jmp    L306
L236:
  mov    %esi,%r15d
  xor    %edi,%edi
  xor    %r14d,%r14d
  jmp    L513
L1175:
  mov    %r10d,%edi
  jmp    L802
L629:
  mov    %ebx,%edi
  jmp    L216
L112:
  mov    -0x6c(%rsp),%r8d
  test   %r8d,%r8d
  jle    L1342
  movslq %r10d,%rcx
  test   %esi,%esi
  jle    L1342
  mov    %esi,%edi
  lea    -0x1(%rsi),%ebx
  mov    %esi,%r10d
  mov    %esi,%r15d
  shr    $0x4,%edi
  mov    %ebx,-0x68(%rsp)
  and    $0xfffffff0,%r10d
  xor    %ebx,%ebx
  lea    -0x1(%rdi),%r8d
  mov    %esi,%edi
  and    $0xf,%edi
  add    $0x1,%r8
  mov    %edi,-0x60(%rsp)
  sub    $0x1,%edi
  shl    $0x4,%r8
  mov    %edi,-0x50(%rsp)
  nopw   0x0(%rax,%rax,1)
L1370:
  lea    0x1(%rdx),%r9
  mov    %rax,%rdi
  sub    %r9,%rdi
  cmp    $0xf,%rdi
  jbe    L869
  cmpl   $0x6,-0x68(%rsp)
  jbe    L869
  cmpl   $0xe,-0x68(%rsp)
  jbe    L901
  xor    %edi,%edi
  nopl   0x0(%rax)
L1168:
  movdqu 0x1(%rdx,%rdi,1),%xmm5
  movdqu (%rdx,%rdi,1),%xmm0
  pavgb  %xmm5,%xmm0
  movdqu (%rax,%rdi,1),%xmm5
  pavgb  %xmm5,%xmm0
  movups %xmm0,(%rax,%rdi,1)
  add    $0x10,%rdi
  cmp    %rdi,%r8
  jne    L1168
  cmp    %r10d,%esi
  je     L633
  cmpl   $0x6,-0x50(%rsp)
  mov    -0x60(%rsp),%r11d
  jbe    L1017
  mov    %r10d,%r9d
  mov    %r10d,%edi
L238:
  movq   0x1(%rdx,%r9,1),%xmm1
  movq   (%rdx,%r9,1),%xmm0
  lea    (%rax,%r9,1),%rbp
  mov    %r11d,%r9d
  and    $0xfffffff8,%r9d
  pavgb  %xmm1,%xmm0
  movq   0x0(%rbp),%xmm1
  add    %r9d,%edi
  pavgb  %xmm1,%xmm0
  movq   %xmm0,0x0(%rbp)
  cmp    %r11d,%r9d
  je     L633
L1469:
  lea    0x1(%rdi),%ebp
  movslq %edi,%r11
  movslq %ebp,%r9
  movzbl (%rdx,%r11,1),%r14d
  lea    (%rax,%r11,1),%r12
  lea    (%rdx,%r9,1),%r13
  movzbl 0x0(%r13),%r11d
  lea    0x1(%r14,%r11,1),%r11d
  movzbl (%r12),%r14d
  shr    %r11d
  lea    0x1(%r11,%r14,1),%r11d
  shr    %r11d
  mov    %r11b,(%r12)
  cmp    %ebp,%esi
  jle    L633
  lea    0x2(%rdi),%r12d
  movzbl 0x0(%r13),%r13d
  add    %rax,%r9
  movslq %r12d,%r11
  lea    (%rdx,%r11,1),%r14
  movzbl (%r14),%ebp
  lea    0x1(%r13,%rbp,1),%ebp
  movzbl (%r9),%r13d
  shr    %ebp
  lea    0x1(%rbp,%r13,1),%ebp
  shr    %ebp
  mov    %bpl,(%r9)
  cmp    %r12d,%esi
  jle    L633
  lea    0x3(%rdi),%r13d
  movzbl (%r14),%r14d
  add    %rax,%r11
  movslq %r13d,%r9
  lea    (%rdx,%r9,1),%r12
  movzbl (%r12),%ebp
  lea    0x1(%r14,%rbp,1),%ebp
  movzbl (%r11),%r14d
  shr    %ebp
  lea    0x1(%rbp,%r14,1),%ebp
  shr    %ebp
  mov    %bpl,(%r11)
  cmp    %r13d,%esi
  jle    L633
  lea    0x4(%rdi),%r13d
  movzbl (%r12),%r12d
  add    %rax,%r9
  movslq %r13d,%r11
  lea    (%rdx,%r11,1),%r14
  movzbl (%r14),%ebp
  lea    0x1(%r12,%rbp,1),%ebp
  movzbl (%r9),%r12d
  shr    %ebp
  lea    0x1(%rbp,%r12,1),%ebp
  shr    %ebp
  mov    %bpl,(%r9)
  cmp    %r13d,%esi
  jle    L633
  lea    0x5(%rdi),%r12d
  movzbl (%r14),%r14d
  add    %rax,%r11
  movslq %r12d,%r9
  lea    (%rdx,%r9,1),%r13
  movzbl 0x0(%r13),%ebp
  lea    0x1(%r14,%rbp,1),%ebp
  movzbl (%r11),%r14d
  shr    %ebp
  lea    0x1(%rbp,%r14,1),%ebp
  shr    %ebp
  mov    %bpl,(%r11)
  cmp    %r12d,%esi
  jle    L633
  lea    0x6(%rdi),%r12d
  movzbl 0x0(%r13),%r13d
  add    %rax,%r9
  movslq %r12d,%r11
  lea    (%rdx,%r11,1),%r14
  movzbl (%r14),%ebp
  lea    0x1(%r13,%rbp,1),%ebp
  movzbl (%r9),%r13d
  shr    %ebp
  lea    0x1(%rbp,%r13,1),%ebp
  shr    %ebp
  mov    %bpl,(%r9)
  cmp    %r12d,%esi
  jle    L633
  add    $0x7,%edi
  movzbl (%r14),%r9d
  add    %rax,%r11
  movslq %edi,%rdi
  movzbl (%rdx,%rdi,1),%edi
  lea    0x1(%rdi,%r9,1),%edi
  movzbl (%r11),%r9d
  shr    %edi
  lea    0x1(%rdi,%r9,1),%edi
  shr    %edi
  mov    %dil,(%r11)
L633:
  add    %rcx,%rdx
  add    %rcx,%rax
  add    $0x1,%ebx
  cmp    %ebx,-0x6c(%rsp)
  jne    L1370
  jmp    L1342
L869:
  xor    %edi,%edi
  nop
L1213:
  movzbl (%rdx,%rdi,1),%r11d
  movzbl 0x1(%rdx,%rdi,1),%r9d
  lea    0x1(%r11,%r9,1),%r9d
  movzbl (%rax,%rdi,1),%r11d
  shr    %r9d
  lea    0x1(%r9,%r11,1),%r9d
  shr    %r9d
  mov    %r9b,(%rax,%rdi,1)
  add    $0x1,%rdi
  cmp    %rdi,%r15
  jne    L1213
  jmp    L633
L1279:
  xor    %ecx,%ecx
  mov    %esi,%r13d
  xor    %r11d,%r11d
  jmp    L1190
L1336:
  xor    %ecx,%ecx
  mov    %esi,%ebp
  xor    %edi,%edi
  jmp    L679
L1047:
  mov    %esi,%ebx
  xor    %edi,%edi
  xor    %r9d,%r9d
  jmp    L707
L901:
  mov    %esi,%r11d
  xor    %edi,%edi
  xor    %r9d,%r9d
  jmp    L238
L1017:
  mov    %r10d,%edi
  jmp    L1469
L1491:
  mov    %r11d,%edi
  jmp    L993
```

tool_calls: name: retrieve_data
arguments: label: D37
type: byte[16]
name: retrieve_data
arguments: label: D16
type: byte[16]
name: retrieve_data
arguments: label: D5
type: byte[16]

tool: {"D37": [0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00]}

tool: {"D16": [0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00]}

tool: {"D5": [0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00]}

assistant: ```c
void pred_comp(unsigned char *src, unsigned char *dst, signed int lx, signed int w, signed int h, signed int x, signed int y, signed int dx, signed int dy, signed int addflag) {
  signed int xint;
  signed int xh;
  signed int yint;
  signed int yh;
  signed int i;
  signed int j;
  unsigned char *s;
  unsigned char *d;
  xint = dx >> 1;
  xh = dx & 1;
  yint = dy >> 1;
  yh = dy & 1;
  s = src + (signed long int)(lx * (y + yint)) + (signed long int)(x + xint);
  d = dst + (signed long int)(lx * y) + (signed long int)x;
  if (xh == 0) {
    if (yh != 0)
      goto __CPROVER_DUMP_L10;
    if (!(addflag == 0)) {
      j = 0;
      while (!(j >= h)) {
        i = 0;
        while (!(i >= w)) {
          d[(signed long int)i] = (unsigned char)((unsigned int)((signed int)d[(signed long int)i] + (signed int)s[(signed long int)i] + 1) >> 1);
          i = i + 1;
        }
        s = s + (signed long int)lx;
        d = d + (signed long int)lx;
        j = j + 1;
      }
    } else {
      j = 0;
      while (!(j >= h)) {
        i = 0;
        while (!(i >= w)) {
          d[(signed long int)i] = s[(signed long int)i];
          i = i + 1;
        }
        s = s + (signed long int)lx;
        d = d + (signed long int)lx;
        j = j + 1;
      }
    }
  } else {
  __CPROVER_DUMP_L10:;
    if (xh == 0) {
      if (yh == 0)
        goto __CPROVER_DUMP_L20;
      if (!(addflag == 0)) {
        j = 0;
        while (!(j >= h)) {
          i = 0;
          while (!(i >= w)) {
            d[(signed long int)i] = (unsigned char)((unsigned int)d[(signed long int)i] + ((unsigned int)((signed int)s[(signed long int)i] + (signed int)s[(signed long int)(i + lx)] + 1) >> 1) + (unsigned int)1 >> 1);
            i = i + 1;
          }
          s = s + (signed long int)lx;
          d = d + (signed long int)lx;
          j = j + 1;
        }
      } else {
        j = 0;
        while (!(j >= h)) {
          i = 0;
          while (!(i >= w)) {
            d[(signed long int)i] = (unsigned char)((unsigned int)((signed int)s[(signed long int)i] + (signed int)s[(signed long int)(i + lx)] + 1) >> 1);
            i = i + 1;
          }
          s = s + (signed long int)lx;
          d = d + (signed long int)lx;
          j = j + 1;
        }
      }
    } else {
    __CPROVER_DUMP_L20:;
      if (!(xh == 0)) {
        if (yh != 0)
          goto __CPROVER_DUMP_L30;
        if (!(addflag == 0)) {
          j = 0;
          while (!(j >= h)) {
            i = 0;
            while (!(i >= w)) {
              d[(signed long int)i] = (unsigned char)((unsigned int)d[(signed long int)i] + ((unsigned int)((signed int)s[(signed long int)i] + (signed int)s[(signed long int)(i + 1)] + 1) >> 1) + (unsigned int)1 >> 1);
              i = i + 1;
            }
            s = s + (signed long int)lx;
            d = d + (signed long int)lx;
            j = j + 1;
          }
        } else {
          j = 0;
          while (!(j >= h)) {
            i = 0;
            while (!(i >= w)) {
              d[(signed long int)i] = (unsigned char)((unsigned int)((signed int)s[(signed long int)i] + (signed int)s[(signed long int)(i + 1)] + 1) >> 1);
              i = i + 1;
            }
            s = s + (signed long int)lx;
            d = d + (signed long int)lx;
            j = j + 1;
          }
        }
      } else {
      __CPROVER_DUMP_L30:;
        if (!(addflag == 0)) {
          j = 0;
          while (!(j >= h)) {
            i = 0;
            while (!(i >= w)) {
              d[(signed long int)i] = (unsigned char)((unsigned int)d[(signed long int)i] + ((unsigned int)((signed int)s[(signed long int)i] + (signed int)s[(signed long int)(i + 1)] + (signed int)s[(signed long int)(i + lx)] + (signed int)s[(signed long int)(i + lx + 1)] + 2) >> 2) + (unsigned int)1 >> 1);
              i = i + 1;
            }
            s = s + (signed long int)lx;
            d = d + (signed long int)lx;
            j = j + 1;
          }
        } else {
          j = 0;
          while (!(j >= h)) {
            i = 0;
            while (!(i >= w)) {
              d[(signed long int)i] = (unsigned char)((unsigned int)((signed int)s[(signed long int)i] + (signed int)s[(signed long int)(i + 1)] + (signed int)s[(signed long int)(i + lx)] + (signed int)s[(signed long int)(i + lx + 1)] + 2) >> 2);
              i = i + 1;
            }
            s = s + (signed long int)lx;
            d = d + (signed long int)lx;
            j = j + 1;
          }
        }
      }
    }
  }
}
```