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

```asm
<checkParity>:
  endbr64
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  mov    %esi,%ebx
  sub    $0x8,%rsp
  call   <strlen@plt>
  movslq %eax,%rdx
  test   %edx,%edx
  jle    L161
  lea    -0x1(%rdx),%eax
  cmp    $0xe,%eax
  jbe    L20
  mov    %edx,%ecx
  pxor   %xmm1,%xmm1
  pxor   %xmm6,%xmm6
  mov    %rbp,%rax
  shr    $0x4,%ecx
  movdqa D4(%rip),%xmm5
  pxor   %xmm4,%xmm4
  sub    $0x1,%ecx
  shl    $0x4,%rcx
  lea    0x10(%rbp,%rcx,1),%rcx
  nopl   0x0(%rax,%rax,1)
L99:
  movdqu (%rax),%xmm0
  movdqa %xmm6,%xmm3
  add    $0x10,%rax
  pcmpgtb %xmm0,%xmm3
  movdqa %xmm0,%xmm2
  punpcklbw %xmm3,%xmm2
  punpckhbw %xmm3,%xmm0
  movdqa %xmm4,%xmm3
  paddw  %xmm5,%xmm2
  paddw  %xmm5,%xmm0
  pcmpgtw %xmm2,%xmm3
  movdqa %xmm2,%xmm7
  punpcklwd %xmm3,%xmm7
  punpckhwd %xmm3,%xmm2
  movdqa %xmm0,%xmm3
  paddd  %xmm7,%xmm1
  paddd  %xmm2,%xmm1
  movdqa %xmm4,%xmm2
  pcmpgtw %xmm0,%xmm2
  punpcklwd %xmm2,%xmm3
  punpckhwd %xmm2,%xmm0
  paddd  %xmm3,%xmm1
  paddd  %xmm0,%xmm1
  cmp    %rcx,%rax
  jne    L99
  movdqa %xmm1,%xmm0
  mov    %edx,%ecx
  psrldq $0x8,%xmm0
  and    $0xfffffff0,%ecx
  paddd  %xmm0,%xmm1
  movdqa %xmm1,%xmm0
  psrldq $0x4,%xmm0
  paddd  %xmm0,%xmm1
  movd   %xmm1,%eax
  test   $0xf,%dl
  je     L92
L16:
  movslq %ecx,%rsi
  movsbl 0x0(%rbp,%rsi,1),%esi
  lea    -0x30(%rax,%rsi,1),%eax
  lea    0x1(%rcx),%esi
  cmp    %esi,%edx
  jle    L92
  movslq %esi,%rsi
  movsbl 0x0(%rbp,%rsi,1),%esi
  lea    -0x30(%rax,%rsi,1),%eax
  lea    0x2(%rcx),%esi
  cmp    %edx,%esi
  jge    L92
  movslq %esi,%rsi
  movsbl 0x0(%rbp,%rsi,1),%esi
  lea    -0x30(%rax,%rsi,1),%eax
  lea    0x3(%rcx),%esi
  cmp    %esi,%edx
  jle    L92
  movslq %esi,%rsi
  movsbl 0x0(%rbp,%rsi,1),%esi
  lea    -0x30(%rax,%rsi,1),%eax
  lea    0x4(%rcx),%esi
  cmp    %esi,%edx
  jle    L92
  movslq %esi,%rsi
  movsbl 0x0(%rbp,%rsi,1),%esi
  lea    -0x30(%rax,%rsi,1),%eax
  lea    0x5(%rcx),%esi
  cmp    %esi,%edx
  jle    L92
  movslq %esi,%rsi
  movsbl 0x0(%rbp,%rsi,1),%esi
  lea    -0x30(%rax,%rsi,1),%eax
  lea    0x6(%rcx),%esi
  cmp    %esi,%edx
  jle    L92
  movslq %esi,%rsi
  movsbl 0x0(%rbp,%rsi,1),%esi
  lea    -0x30(%rax,%rsi,1),%eax
  lea    0x7(%rcx),%esi
  cmp    %esi,%edx
  jle    L92
  movslq %esi,%rsi
  movsbl 0x0(%rbp,%rsi,1),%esi
  lea    -0x30(%rax,%rsi,1),%eax
  lea    0x8(%rcx),%esi
  cmp    %esi,%edx
  jle    L92
  movslq %esi,%rsi
  movsbl 0x0(%rbp,%rsi,1),%esi
  lea    -0x30(%rax,%rsi,1),%eax
  lea    0x9(%rcx),%esi
  cmp    %esi,%edx
  jle    L92
  movslq %esi,%rsi
  movsbl 0x0(%rbp,%rsi,1),%esi
  lea    -0x30(%rax,%rsi,1),%eax
  lea    0xa(%rcx),%esi
  cmp    %esi,%edx
  jle    L92
  movslq %esi,%rsi
  movsbl 0x0(%rbp,%rsi,1),%esi
  lea    -0x30(%rax,%rsi,1),%eax
  lea    0xb(%rcx),%esi
  cmp    %esi,%edx
  jle    L92
  movslq %esi,%rsi
  movsbl 0x0(%rbp,%rsi,1),%esi
  lea    -0x30(%rax,%rsi,1),%eax
  lea    0xc(%rcx),%esi
  cmp    %esi,%edx
  jle    L92
  movslq %esi,%rsi
  movsbl 0x0(%rbp,%rsi,1),%esi
  lea    -0x30(%rax,%rsi,1),%eax
  lea    0xd(%rcx),%esi
  cmp    %esi,%edx
  jle    L92
  movslq %esi,%rsi
  add    $0xe,%ecx
  movsbl 0x0(%rbp,%rsi,1),%esi
  lea    -0x30(%rax,%rsi,1),%eax
  cmp    %ecx,%edx
  jle    L92
  movslq %ecx,%rcx
  movsbl 0x0(%rbp,%rcx,1),%ecx
  lea    -0x30(%rax,%rcx,1),%eax
  nopl   0x0(%rax,%rax,1)
L92:
  cmp    $0x1,%ebx
  je     L201
  test   %ebx,%ebx
  jne    L188
  lea    -0x1(%rbp,%rdx,1),%rcx
  test   $0x1,%al
  je     L19
  movb   $0x0,(%rcx)
L210:
  add    $0x8,%rsp
  lea    D18(%rip),%rdi
  pop    %rbx
  pop    %rbp
  jmp    1070 <puts@plt>
  nopw   0x0(%rax,%rax,1)
L201:
  test   $0x1,%al
  jne    L175
L188:
  movb   $0x0,-0x1(%rbp,%rdx,1)
  jmp    L210
  nopl   0x0(%rax,%rax,1)
L161:
  cmp    $0x1,%ebx
  je     L188
  movslq %edx,%rax
  lea    -0x1(%rbp,%rax,1),%rcx
  test   %ebx,%ebx
  jne    L188
L19:
  movb   $0x0,(%rcx)
L31:
  add    $0x8,%rsp
  mov    %rbp,%rsi
  lea    D1(%rip),%rdi
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  jmp    1090 <printf@plt>
  nopl   0x0(%rax,%rax,1)
L175:
  movb   $0x0,-0x1(%rbp,%rdx,1)
  jmp    L31
L20:
  xor    %eax,%eax
  xor    %ecx,%ecx
  jmp    L16
```

tool_calls: name: parse_data
arguments: tag: D4
datatype: byte[16]
name: parse_data
arguments: tag: D18
datatype: string
name: parse_data
arguments: tag: D1
datatype: string

tool: {"D4": [0xd0,0xff,0xd0,0xff,0xd0,0xff,0xd0,0xff,0xd0,0xff,0xd0,0xff,0xd0,0xff,0xd0,0xff]}

tool: D18: 
Data Discarded

tool: D1: 
Data Verified Success :%s


assistant: ```c
void checkParity(char *data, int oddparity) {
  int n = strlen(data);
  int i;
  int sum = 0;
  int check = 0;
  for (i = 0; i < n; i++)
    sum += data[i] - '0';
  if (oddparity == 1 && sum & 1)
    check = 1;
  else if (oddparity == 0 && !(sum & 1))
    check = 1;
  data[n - 1] = '\0';
  if (check)
    printf("\nData Verified Success :%s\n", data);
  else
    printf("\nData Discarded\n");
}
```