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

```asm
<addParity>:
  endbr64
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  mov    %esi,%ebx
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  call   <strlen@plt>
  movslq %eax,%rdi
  test   %edi,%edi
  jle    L92
  lea    -0x1(%rdi),%eax
  cmp    $0xe,%eax
  jbe    L132
  mov    %edi,%edx
  pxor   %xmm1,%xmm1
  pxor   %xmm6,%xmm6
  mov    %rbp,%rax
  shr    $0x4,%edx
  movdqa D11(%rip),%xmm5
  pxor   %xmm4,%xmm4
  sub    $0x1,%edx
  shl    $0x4,%rdx
  lea    0x10(%rbp,%rdx,1),%rdx
  nopl   0x0(%rax,%rax,1)
L134:
  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    %rdx,%rax
  jne    L134
  movdqa %xmm1,%xmm0
  mov    %edi,%edx
  psrldq $0x8,%xmm0
  and    $0xfffffff0,%edx
  paddd  %xmm0,%xmm1
  movdqa %xmm1,%xmm0
  psrldq $0x4,%xmm0
  paddd  %xmm0,%xmm1
  movd   %xmm1,%eax
  test   $0xf,%dil
  je     L104
L18:
  movslq %edx,%rcx
  movsbl 0x0(%rbp,%rcx,1),%ecx
  lea    -0x30(%rax,%rcx,1),%eax
  lea    0x1(%rdx),%ecx
  cmp    %ecx,%edi
  jle    L104
  movslq %ecx,%rcx
  movsbl 0x0(%rbp,%rcx,1),%ecx
  lea    -0x30(%rax,%rcx,1),%eax
  lea    0x2(%rdx),%ecx
  cmp    %ecx,%edi
  jle    L104
  movslq %ecx,%rcx
  movsbl 0x0(%rbp,%rcx,1),%ecx
  lea    -0x30(%rax,%rcx,1),%eax
  lea    0x3(%rdx),%ecx
  cmp    %ecx,%edi
  jle    L104
  movslq %ecx,%rcx
  movsbl 0x0(%rbp,%rcx,1),%ecx
  lea    -0x30(%rax,%rcx,1),%eax
  lea    0x4(%rdx),%ecx
  cmp    %ecx,%edi
  jle    L104
  movslq %ecx,%rcx
  movsbl 0x0(%rbp,%rcx,1),%ecx
  lea    -0x30(%rax,%rcx,1),%eax
  lea    0x5(%rdx),%ecx
  cmp    %ecx,%edi
  jle    L104
  movslq %ecx,%rcx
  movsbl 0x0(%rbp,%rcx,1),%ecx
  lea    -0x30(%rax,%rcx,1),%eax
  lea    0x6(%rdx),%ecx
  cmp    %ecx,%edi
  jle    L104
  movslq %ecx,%rcx
  movsbl 0x0(%rbp,%rcx,1),%ecx
  lea    -0x30(%rax,%rcx,1),%eax
  lea    0x7(%rdx),%ecx
  cmp    %ecx,%edi
  jle    L104
  movslq %ecx,%rcx
  movsbl 0x0(%rbp,%rcx,1),%ecx
  lea    -0x30(%rax,%rcx,1),%eax
  lea    0x8(%rdx),%ecx
  cmp    %ecx,%edi
  jle    L104
  movslq %ecx,%rcx
  movsbl 0x0(%rbp,%rcx,1),%ecx
  lea    -0x30(%rax,%rcx,1),%eax
  lea    0x9(%rdx),%ecx
  cmp    %ecx,%edi
  jle    L104
  movslq %ecx,%rcx
  movsbl 0x0(%rbp,%rcx,1),%ecx
  lea    -0x30(%rax,%rcx,1),%eax
  lea    0xa(%rdx),%ecx
  cmp    %ecx,%edi
  jle    L104
  movslq %ecx,%rcx
  movsbl 0x0(%rbp,%rcx,1),%ecx
  lea    -0x30(%rax,%rcx,1),%eax
  lea    0xb(%rdx),%ecx
  cmp    %ecx,%edi
  jle    L104
  movslq %ecx,%rcx
  movsbl 0x0(%rbp,%rcx,1),%ecx
  lea    -0x30(%rax,%rcx,1),%eax
  lea    0xc(%rdx),%ecx
  cmp    %ecx,%edi
  jle    L104
  movslq %ecx,%rcx
  movsbl 0x0(%rbp,%rcx,1),%ecx
  lea    -0x30(%rax,%rcx,1),%eax
  lea    0xd(%rdx),%ecx
  cmp    %ecx,%edi
  jle    L104
  movslq %ecx,%rcx
  add    $0xe,%edx
  movsbl 0x0(%rbp,%rcx,1),%ecx
  lea    -0x30(%rax,%rcx,1),%eax
  cmp    %edx,%edi
  jle    L104
  movslq %edx,%rdx
  movsbl 0x0(%rbp,%rdx,1),%edx
  lea    -0x30(%rax,%rdx,1),%eax
  nopl   0x0(%rax)
L104:
  movb   $0x0,0x7(%rsp)
  cmp    $0x1,%ebx
  jne    L205
  add    $0x1,%eax
L205:
  mov    %eax,%edx
  add    %rbp,%rdi
  lea    0x6(%rsp),%rsi
  shr    $0x1f,%edx
  add    %edx,%eax
  and    $0x1,%eax
  sub    %edx,%eax
  mov    $0x2,%edx
  add    $0x30,%eax
  mov    %al,0x6(%rsp)
  call   <memcpy@plt>
  mov    %rbp,%rsi
  lea    D9(%rip),%rdi
  call   <printf@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L190
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  ret
  nopl   0x0(%rax,%rax,1)
L92:
  xor    %eax,%eax
  jmp    L104
L132:
  xor    %eax,%eax
  xor    %edx,%edx
  jmp    L18
L190:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D11
type: byte[16]
name: unpack_data
arguments: data_label: D9
type: string

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

tool: D9: 
Modified Data :%s


assistant: ```c
void addParity(char *data, int oddparity) {
  int n = strlen(data);
  int i;
  int sum = 0;
  for (i = 0; i < n; i++)
    sum += data[i] - '0';
  char parity[2];
  parity[1] = '\0';
  if (oddparity == 1) {
    parity[0] = (1 + sum) % 2 + '0';
  } else
    parity[0] = sum % 2 + '0';
  memcpy(data + n, parity, 2);
  printf("\nModified Data :%s\n", data);
}
```