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

```asm
<pc1_256>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %edx,-0x4(%rsp)
  mov    %ecx,-0x2c(%rsp)
  test   %edx,%edx
  jle    L11
  mov    %edx,%eax
  mov    %rsi,-0x48(%rsp)
  mov    %rdi,%rbp
  xor    %r15d,%r15d
  sub    $0x1,%eax
  xor    %r10d,%r10d
  lea    0x20(%rdi),%r14
  lea    0x1(%rsi,%rax,1),%rax
  mov    %rax,-0x10(%rsp)
  nop
L13:
  mov    -0x48(%rsp),%rax
  movzbl 0x1(%rbp),%esi
  imul   $0x4e35,%r15w,%r15w
  movzbl 0x3(%rbp),%edi
  movzbl (%rax),%eax
  mov    %ax,-0x40(%rsp)
  mov    %eax,%ecx
  movzbl 0x0(%rbp),%eax
  mov    %eax,%edx
  shl    $0x8,%edx
  add    %esi,%edx
  imul   $0x15a,%dx,%si
  imul   $0x4e35,%dx,%dx
  add    %esi,%r10d
  lea    0x1(%rdx),%r9d
  movzbl 0x2(%rbp),%edx
  add    %r10d,%r15d
  lea    0x1(%r15),%r8d
  mov    %r9w,-0x28(%rsp)
  shl    $0x8,%edx
  imul   $0x4e35,%r8w,%r8w
  mov    %r15w,-0x6(%rsp)
  add    %edi,%edx
  xor    %r9d,%edx
  imul   $0x15a,%dx,%di
  imul   $0x4e35,%dx,%dx
  add    %edi,%esi
  lea    0x1(%rdx),%ebx
  movzbl 0x4(%rbp),%edx
  lea    (%r8,%rsi,1),%r11d
  movzbl 0x5(%rbp),%esi
  lea    0x2(%r11),%r8d
  mov    %bx,-0x2e(%rsp)
  shl    $0x8,%edx
  imul   $0x4e35,%r8w,%r8w
  mov    %r11w,-0x8(%rsp)
  add    %esi,%edx
  xor    %ebx,%edx
  imul   $0x15a,%dx,%si
  imul   $0x4e35,%dx,%dx
  add    %esi,%edi
  lea    (%r8,%rdi,1),%r10d
  lea    0x1(%rdx),%r8d
  movzbl 0x6(%rbp),%edx
  movzbl 0x7(%rbp),%edi
  mov    %r8w,-0x30(%rsp)
  shl    $0x8,%edx
  mov    %r10w,-0x12(%rsp)
  add    %edi,%edx
  xor    %r8d,%edx
  lea    0x3(%r10),%r8d
  imul   $0x15a,%dx,%di
  imul   $0x4e35,%dx,%dx
  imul   $0x4e35,%r8w,%r8w
  add    %edi,%esi
  lea    0x1(%rdx),%r13d
  movzbl 0x8(%rbp),%edx
  lea    (%r8,%rsi,1),%r12d
  movzbl 0x9(%rbp),%esi
  mov    %r13w,-0x32(%rsp)
  shl    $0x8,%edx
  lea    0x4(%r12),%r8d
  mov    %r12w,-0x14(%rsp)
  add    %esi,%edx
  xor    %r13d,%edx
  imul   $0x15a,%dx,%si
  imul   $0x4e35,%r8w,%r8w
  imul   $0x4e35,%dx,%dx
  add    %esi,%edi
  add    %r8d,%edi
  mov    %edi,%r9d
  lea    0x1(%rdx),%edi
  movzbl 0xa(%rbp),%edx
  mov    %edi,%r8d
  movzbl 0xb(%rbp),%edi
  mov    %r9w,-0x16(%rsp)
  shl    $0x8,%edx
  mov    %r8w,-0x34(%rsp)
  add    %edi,%edx
  xor    %r8d,%edx
  lea    0x5(%r9),%r8d
  imul   $0x15a,%dx,%di
  imul   $0x4e35,%r8w,%r8w
  imul   $0x4e35,%dx,%dx
  add    %edi,%esi
  add    %r8d,%esi
  mov    %esi,%r13d
  lea    0x1(%rdx),%esi
  movzbl 0xc(%rbp),%edx
  mov    %esi,%ebx
  movzbl 0xd(%rbp),%esi
  lea    0x6(%r13),%r8d
  mov    %r13w,-0x18(%rsp)
  shl    $0x8,%edx
  imul   $0x4e35,%r8w,%r8w
  mov    %bx,-0x36(%rsp)
  add    %esi,%edx
  xor    %ebx,%edx
  imul   $0x15a,%dx,%si
  imul   $0x4e35,%dx,%dx
  add    %esi,%edi
  add    %r8d,%edi
  mov    %edi,%r15d
  lea    0x1(%rdx),%edi
  movzbl 0xe(%rbp),%edx
  mov    %edi,%r11d
  movzbl 0xf(%rbp),%edi
  lea    0x7(%r15),%r8d
  shl    $0x8,%edx
  imul   $0x4e35,%r8w,%r8w
  mov    %r11w,-0x38(%rsp)
  add    %edi,%edx
  mov    %r15w,-0x1a(%rsp)
  movzbl 0x16(%rbp),%r9d
  xor    %r11d,%edx
  movzbl 0x12(%rbp),%r11d
  imul   $0x15a,%dx,%di
  imul   $0x4e35,%dx,%dx
  add    %edi,%esi
  add    %r8d,%esi
  mov    %esi,%r10d
  lea    0x1(%rdx),%esi
  movzbl 0x11(%rbp),%edx
  mov    %esi,%r8d
  movzbl 0x10(%rbp),%esi
  mov    %r10w,-0x1c(%rsp)
  mov    %r8w,-0x3a(%rsp)
  shl    $0x8,%esi
  add    %edx,%esi
  xor    %r8d,%esi
  lea    0x8(%r10),%r8d
  imul   $0x15a,%si,%dx
  imul   $0x4e35,%r8w,%r8w
  shl    $0x8,%r11d
  shl    $0x8,%r9d
  imul   $0x4e35,%si,%si
  add    %edx,%edi
  add    %r8d,%edi
  mov    %edi,%r12d
  lea    0x1(%rsi),%edi
  movzbl 0x13(%rbp),%esi
  mov    %di,-0x3c(%rsp)
  add    %esi,%r11d
  mov    %r12d,%esi
  mov    %r12w,-0x1e(%rsp)
  xor    %edi,%r11d
  add    $0x9,%esi
  imul   $0x15a,%r11w,%di
  imul   $0x4e35,%si,%si
  imul   $0x4e35,%r11w,%r11w
  add    %edi,%edx
  add    %edx,%esi
  movzbl 0x15(%rbp),%edx
  mov    %esi,%ebx
  movzbl 0x14(%rbp),%esi
  add    $0x1,%r11d
  lea    0xa(%rbx),%r8d
  mov    %bx,-0x20(%rsp)
  movzbl 0x1e(%rbp),%ebx
  shl    $0x8,%esi
  imul   $0x4e35,%r8w,%r8w
  add    %edx,%esi
  xor    %r11d,%esi
  imul   $0x15a,%si,%dx
  imul   $0x4e35,%si,%si
  add    %edx,%edi
  add    $0x1,%esi
  add    %r8d,%edi
  mov    %esi,%r8d
  movzbl 0x17(%rbp),%esi
  mov    %di,-0x22(%rsp)
  add    $0xb,%edi
  imul   $0x4e35,%di,%di
  mov    %r8w,-0x3e(%rsp)
  add    %esi,%r9d
  xor    %r8d,%r9d
  movzbl 0x18(%rbp),%r8d
  imul   $0x15a,%r9w,%si
  imul   $0x4e35,%r9w,%r9w
  add    %esi,%edx
  add    %edi,%edx
  add    $0x1,%r9d
  shl    $0x8,%r8d
  mov    %edx,%edi
  movzbl 0x19(%rbp),%edx
  shl    $0x8,%ebx
  mov    %di,-0x24(%rsp)
  add    $0xc,%edi
  add    %edx,%r8d
  imul   $0x4e35,%di,%di
  xor    %r9d,%r8d
  imul   $0x15a,%r8w,%dx
  imul   $0x4e35,%r8w,%r8w
  add    %edx,%esi
  add    %edi,%esi
  movzbl 0x1a(%rbp),%edi
  add    $0x1,%r8d
  mov    %esi,%r12d
  movzbl 0x1b(%rbp),%esi
  shl    $0x8,%edi
  mov    %r12w,-0x26(%rsp)
  add    %esi,%edi
  mov    %r12d,%esi
  xor    %r8d,%edi
  lea    0xd(%rsi),%r13d
  movzbl 0x1c(%rbp),%esi
  imul   $0x15a,%di,%r10w
  imul   $0x4e35,%r13w,%r13w
  shl    $0x8,%esi
  imul   $0x4e35,%di,%di
  add    %r10d,%edx
  add    %edx,%r13d
  movzbl 0x1d(%rbp),%edx
  add    $0x1,%edi
  lea    0xe(%r13),%r12d
  add    %edx,%esi
  imul   $0x4e35,%r12w,%r12w
  xor    %edi,%esi
  imul   $0x15a,%si,%dx
  imul   $0x4e35,%si,%si
  add    %edx,%r10d
  add    %r10d,%r12d
  movzbl 0x1f(%rbp),%r10d
  add    $0x1,%esi
  lea    0xf(%r12),%r15d
  add    %r10d,%ebx
  xor    %esi,%ebx
  imul   $0x15a,%bx,%r10w
  imul   $0x4e35,%r15w,%r15w
  imul   $0x4e35,%bx,%bx
  add    %r10d,%edx
  add    %edx,%r15d
  movzwl -0x2e(%rsp),%edx
  xor    -0x28(%rsp),%dx
  xor    -0x30(%rsp),%dx
  xor    -0x32(%rsp),%dx
  add    $0x1,%ebx
  xor    -0x34(%rsp),%dx
  xor    -0x36(%rsp),%dx
  xor    -0x38(%rsp),%dx
  xor    -0x3a(%rsp),%dx
  xor    -0x3c(%rsp),%dx
  xor    %r11d,%edx
  xor    -0x3e(%rsp),%dx
  xor    %r9d,%edx
  xor    %r8d,%edx
  xor    %edi,%edx
  xor    %esi,%edx
  xor    %ebx,%edx
  xor    -0x6(%rsp),%dx
  xor    -0x8(%rsp),%dx
  xor    -0x12(%rsp),%dx
  xor    -0x14(%rsp),%dx
  xor    -0x16(%rsp),%dx
  xor    -0x18(%rsp),%dx
  xor    -0x1a(%rsp),%dx
  xor    -0x1c(%rsp),%dx
  xor    -0x1e(%rsp),%dx
  xor    -0x20(%rsp),%dx
  xor    -0x22(%rsp),%dx
  xor    -0x24(%rsp),%dx
  xor    -0x26(%rsp),%dx
  xor    %r13d,%edx
  xor    %r12d,%edx
  xor    %r15d,%edx
  mov    %edx,%edi
  movzbl %dl,%esi
  mov    -0x2c(%rsp),%edx
  shr    $0x8,%di
  test   %edx,%edx
  jne    L20
  mov    %edi,%edx
  xor    %esi,%edx
  xor    %dx,-0x40(%rsp)
  movzwl -0x40(%rsp),%ebx
  mov    %ebx,%ecx
L20:
  mov    %rbp,%rdx
  jmp    L40
  xchg   %ax,%ax
L25:
  movzbl (%rdx),%eax
L40:
  xor    %ecx,%eax
  add    $0x1,%rdx
  mov    %al,-0x1(%rdx)
  cmp    %rdx,%r14
  jne    L25
  mov    -0x2c(%rsp),%eax
  xor    %esi,%edi
  xor    -0x40(%rsp),%di
  test   %eax,%eax
  mov    -0x48(%rsp),%rax
  cmovne %edi,%ecx
  add    $0x1,%rax
  mov    %cl,-0x1(%rax)
  mov    %rax,-0x48(%rsp)
  cmp    -0x10(%rsp),%rax
  jne    L13
L11:
  mov    -0x4(%rsp),%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
int pc1_256(unsigned char *cle, unsigned char *data, int size, int decenc) {
  unsigned short ax, bx, cx, dx, si, tmp, x1a2, x1a0[16], res, i, inter, cfc, cfd, compte;
  short c;
  inline void pc1_256_code(void) {
    dx = x1a2 + i;
    ax = x1a0[i];
    cx = 0x015a;
    bx = 0x4e35;
    tmp = ax;
    ax = si;
    si = tmp;
    tmp = ax;
    ax = dx;
    dx = tmp;
    if (ax != 0) {
      ax = ax * bx;
    }
    tmp = ax;
    ax = cx;
    cx = tmp;
    if (ax != 0) {
      ax = ax * si;
      cx = ax + cx;
    }
    tmp = ax;
    ax = si;
    si = tmp;
    ax = ax * bx;
    dx = cx + dx;
    ax = ax + 1;
    x1a2 = dx;
    x1a0[i] = ax;
    res = ax ^ dx;
    i = i + 1;
  }
  inline void pc1_256_assemble(void) {
    x1a0[0] = (cle[0] * 256) + cle[1];
    pc1_256_code();
    inter = res;
    x1a0[1] = x1a0[0] ^ ((cle[2] * 256) + cle[3]);
    pc1_256_code();
    inter = inter ^ res;
    x1a0[2] = x1a0[1] ^ ((cle[4] * 256) + cle[5]);
    pc1_256_code();
    inter = inter ^ res;
    x1a0[3] = x1a0[2] ^ ((cle[6] * 256) + cle[7]);
    pc1_256_code();
    inter = inter ^ res;
    x1a0[4] = x1a0[3] ^ ((cle[8] * 256) + cle[9]);
    pc1_256_code();
    inter = inter ^ res;
    x1a0[5] = x1a0[4] ^ ((cle[10] * 256) + cle[11]);
    pc1_256_code();
    inter = inter ^ res;
    x1a0[6] = x1a0[5] ^ ((cle[12] * 256) + cle[13]);
    pc1_256_code();
    inter = inter ^ res;
    x1a0[7] = x1a0[6] ^ ((cle[14] * 256) + cle[15]);
    pc1_256_code();
    inter = inter ^ res;
    x1a0[8] = x1a0[7] ^ ((cle[16] * 256) + cle[17]);
    pc1_256_code();
    inter = inter ^ res;
    x1a0[9] = x1a0[8] ^ ((cle[18] * 256) + cle[19]);
    pc1_256_code();
    inter = inter ^ res;
    x1a0[10] = x1a0[9] ^ ((cle[20] * 256) + cle[21]);
    pc1_256_code();
    inter = inter ^ res;
    x1a0[11] = x1a0[10] ^ ((cle[22] * 256) + cle[23]);
    pc1_256_code();
    inter = inter ^ res;
    x1a0[12] = x1a0[11] ^ ((cle[24] * 256) + cle[25]);
    pc1_256_code();
    inter = inter ^ res;
    x1a0[13] = x1a0[12] ^ ((cle[26] * 256) + cle[27]);
    pc1_256_code();
    inter = inter ^ res;
    x1a0[14] = x1a0[13] ^ ((cle[28] * 256) + cle[29]);
    pc1_256_code();
    inter = inter ^ res;
    x1a0[15] = x1a0[14] ^ ((cle[30] * 256) + cle[31]);
    pc1_256_code();
    inter = inter ^ res;
    i = 0;
  }
  si = 0;
  x1a2 = 0;
  i = 0;
  int cnt;
  for (cnt = 0; cnt < size; cnt++) {
    c = data[cnt];
    pc1_256_assemble();
    cfc = inter >> 8;
    cfd = inter & 255;
    if (!decenc)
      c = c ^ (cfc ^ cfd);
    for (compte = 0; compte <= 31; compte++) {
      cle[compte] = cle[compte] ^ c;
    }
    if (decenc)
      c = c ^ (cfc ^ cfd);
    data[cnt] = c;
  }
  return (size);
}
```