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

```asm
<contains>:
  endbr64
  sub    %ecx,%esi
  test   %esi,%esi
  jle    L10
  mov    %ecx,%eax
  push   %r13
  movdqa D8(%rip),%xmm5
  mov    %rdi,%r8
  shr    $0x4,%eax
  push   %r12
  xor    %r11d,%r11d
  lea    -0x1(%rcx),%r12d
  lea    -0x1(%rax),%r10d
  push   %rbp
  pxor   %xmm4,%xmm4
  movslq %esi,%rbp
  push   %rbx
  add    $0x1,%r10
  mov    %ecx,%ebx
  pxor   %xmm3,%xmm3
  shl    $0x4,%r10
  and    $0xfffffff0,%ebx
  nopw   0x0(%rax,%rax,1)
L180:
  mov    %r11d,%edi
  xor    %eax,%eax
  test   %ecx,%ecx
  jle    L81
  cmp    $0xe,%r12d
  jbe    L112
  lea    (%r8,%r11,1),%rsi
  xor    %eax,%eax
  pxor   %xmm1,%xmm1
  nopl   0x0(%rax)
L9:
  movdqu (%rdx,%rax,1),%xmm7
  movdqu (%rsi,%rax,1),%xmm0
  movdqa %xmm4,%xmm6
  add    $0x10,%rax
  pcmpeqb %xmm7,%xmm0
  pand   %xmm5,%xmm0
  pcmpgtb %xmm0,%xmm6
  movdqa %xmm0,%xmm2
  punpcklbw %xmm6,%xmm2
  punpckhbw %xmm6,%xmm0
  movdqa %xmm3,%xmm6
  pcmpgtw %xmm2,%xmm6
  movdqa %xmm2,%xmm7
  punpcklwd %xmm6,%xmm7
  punpckhwd %xmm6,%xmm2
  movdqa %xmm0,%xmm6
  paddd  %xmm7,%xmm1
  paddd  %xmm2,%xmm1
  movdqa %xmm3,%xmm2
  pcmpgtw %xmm0,%xmm2
  punpcklwd %xmm2,%xmm6
  punpckhwd %xmm2,%xmm0
  paddd  %xmm6,%xmm1
  paddd  %xmm0,%xmm1
  cmp    %rax,%r10
  jne    L9
  movdqa %xmm1,%xmm0
  psrldq $0x8,%xmm0
  paddd  %xmm0,%xmm1
  movdqa %xmm1,%xmm0
  psrldq $0x4,%xmm0
  paddd  %xmm0,%xmm1
  movd   %xmm1,%eax
  cmp    %ebx,%ecx
  je     L81
  mov    %ebx,%esi
L101:
  lea    (%rdi,%rsi,1),%r9d
  movslq %esi,%r13
  movslq %r9d,%r9
  movzbl (%rdx,%r13,1),%r13d
  cmp    %r13b,(%r8,%r9,1)
  sete   %r9b
  movzbl %r9b,%r9d
  add    %r9d,%eax
  lea    0x1(%rsi),%r9d
  cmp    %ecx,%r9d
  jge    L81
  movslq %r9d,%r13
  add    %edi,%r9d
  movslq %r9d,%r9
  movzbl (%r8,%r9,1),%r9d
  cmp    %r9b,(%rdx,%r13,1)
  sete   %r9b
  movzbl %r9b,%r9d
  add    %r9d,%eax
  lea    0x2(%rsi),%r9d
  cmp    %ecx,%r9d
  jge    L81
  lea    (%r9,%rdi,1),%r13d
  movslq %r9d,%r9
  movslq %r13d,%r13
  movzbl (%rdx,%r9,1),%r9d
  cmp    %r9b,(%r8,%r13,1)
  sete   %r9b
  movzbl %r9b,%r9d
  add    %r9d,%eax
  lea    0x3(%rsi),%r9d
  cmp    %r9d,%ecx
  jle    L81
  lea    (%rdi,%r9,1),%r13d
  movslq %r9d,%r9
  movslq %r13d,%r13
  movzbl (%rdx,%r9,1),%r9d
  cmp    %r9b,(%r8,%r13,1)
  sete   %r9b
  movzbl %r9b,%r9d
  add    %r9d,%eax
  lea    0x4(%rsi),%r9d
  cmp    %r9d,%ecx
  jle    L81
  lea    (%rdi,%r9,1),%r13d
  movslq %r9d,%r9
  movslq %r13d,%r13
  movzbl (%rdx,%r9,1),%r9d
  cmp    %r9b,(%r8,%r13,1)
  sete   %r9b
  movzbl %r9b,%r9d
  add    %r9d,%eax
  lea    0x5(%rsi),%r9d
  cmp    %r9d,%ecx
  jle    L81
  lea    (%rdi,%r9,1),%r13d
  movslq %r9d,%r9
  movslq %r13d,%r13
  movzbl (%rdx,%r9,1),%r9d
  cmp    %r9b,(%r8,%r13,1)
  sete   %r9b
  movzbl %r9b,%r9d
  add    %r9d,%eax
  lea    0x6(%rsi),%r9d
  cmp    %r9d,%ecx
  jle    L81
  lea    (%rdi,%r9,1),%r13d
  movslq %r9d,%r9
  movslq %r13d,%r13
  movzbl (%rdx,%r9,1),%r9d
  cmp    %r9b,(%r8,%r13,1)
  sete   %r9b
  movzbl %r9b,%r9d
  add    %r9d,%eax
  lea    0x7(%rsi),%r9d
  cmp    %r9d,%ecx
  jle    L81
  lea    (%rdi,%r9,1),%r13d
  movslq %r9d,%r9
  movslq %r13d,%r13
  movzbl (%rdx,%r9,1),%r9d
  cmp    %r9b,(%r8,%r13,1)
  sete   %r9b
  movzbl %r9b,%r9d
  add    %r9d,%eax
  lea    0x8(%rsi),%r9d
  cmp    %r9d,%ecx
  jle    L81
  lea    (%rdi,%r9,1),%r13d
  movslq %r9d,%r9
  movslq %r13d,%r13
  movzbl (%rdx,%r9,1),%r9d
  cmp    %r9b,(%r8,%r13,1)
  sete   %r9b
  movzbl %r9b,%r9d
  add    %r9d,%eax
  lea    0x9(%rsi),%r9d
  cmp    %r9d,%ecx
  jle    L81
  lea    (%rdi,%r9,1),%r13d
  movslq %r9d,%r9
  movslq %r13d,%r13
  movzbl (%rdx,%r9,1),%r9d
  cmp    %r9b,(%r8,%r13,1)
  sete   %r9b
  movzbl %r9b,%r9d
  add    %r9d,%eax
  lea    0xa(%rsi),%r9d
  cmp    %r9d,%ecx
  jle    L81
  lea    (%rdi,%r9,1),%r13d
  movslq %r9d,%r9
  movslq %r13d,%r13
  movzbl (%rdx,%r9,1),%r9d
  cmp    %r9b,(%r8,%r13,1)
  sete   %r9b
  movzbl %r9b,%r9d
  add    %r9d,%eax
  lea    0xb(%rsi),%r9d
  cmp    %r9d,%ecx
  jle    L81
  lea    (%rdi,%r9,1),%r13d
  movslq %r9d,%r9
  movslq %r13d,%r13
  movzbl (%rdx,%r9,1),%r9d
  cmp    %r9b,(%r8,%r13,1)
  sete   %r9b
  movzbl %r9b,%r9d
  add    %r9d,%eax
  lea    0xc(%rsi),%r9d
  cmp    %r9d,%ecx
  jle    L81
  lea    (%rdi,%r9,1),%r13d
  movslq %r9d,%r9
  movslq %r13d,%r13
  movzbl (%rdx,%r9,1),%r9d
  cmp    %r9b,(%r8,%r13,1)
  sete   %r9b
  movzbl %r9b,%r9d
  add    %r9d,%eax
  lea    0xd(%rsi),%r9d
  cmp    %r9d,%ecx
  jle    L81
  lea    (%rdi,%r9,1),%r13d
  movslq %r9d,%r9
  movslq %r13d,%r13
  movzbl (%rdx,%r9,1),%r9d
  cmp    %r9b,(%r8,%r13,1)
  sete   %r9b
  add    $0xe,%esi
  movzbl %r9b,%r9d
  add    %r9d,%eax
  cmp    %esi,%ecx
  jle    L81
  add    %esi,%edi
  movslq %esi,%rsi
  movslq %edi,%rdi
  movzbl (%rdx,%rsi,1),%esi
  cmp    %sil,(%r8,%rdi,1)
  sete   %sil
  movzbl %sil,%esi
  add    %esi,%eax
  nopl   0x0(%rax)
L81:
  cmp    %eax,%ecx
  je     L126
  add    $0x1,%r11
  cmp    %rbp,%r11
  jne    L180
  pop    %rbx
  xor    %eax,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L112:
  xor    %eax,%eax
  xor    %esi,%esi
  jmp    L101
L126:
  pop    %rbx
  mov    $0x1,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L10:
  xor    %eax,%eax
  ret
```

tool_calls: name: retrieve_data
arguments: data_label: D8
type: byte[16]

tool: {"D8": [0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01]}

assistant: ```c
int contains(unsigned char *haystack, int h_length, unsigned char *needle, int n_length) {
  int offset = 0;
  int i;
  while (offset < h_length - n_length) {
    int found = 0;
    for (i = 0; i < n_length; i++) {
      if (haystack[offset + i] == needle[i]) {
        found++;
      }
    }
    if (found == n_length) {
      ;
      return 1;
    }
    offset++;
  }
  return 0;
}
```