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

```asm
<MessageExpansion256>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %rdx,%r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x58,%rsp
  mov    %rsi,0x10(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  lea    0x40(%rdi),%rax
  movl   $0x20,0x4(%rsp)
  mov    %rax,0x8(%rsp)
  lea    0x10(%rsi),%rax
  mov    %rax,0x18(%rsp)
L67:
  mov    0x4(%rsp),%eax
  mov    0x8(%rsp),%r14
  lea    0x30(%rsp),%r12
  lea    0x20(%rsp),%rbp
  lea    -0x10(%rax),%r15d
  cmp    %eax,%r15d
  jl     L48
  jmp    L31
  nopl   0x0(%rax,%rax,1)
L42:
  add    $0x8,%r15d
  add    $0x20,%r14
  cmp    0x4(%rsp),%r15d
  jge    L31
L48:
  movdqu -0x40(%r14),%xmm2
  mov    0x10(%rsp),%rdx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  pshufd $0x39,%xmm2,%xmm0
  movaps %xmm0,0x20(%rsp)
  call   <roundAESkeyfirst@plt>
  mov    0x30(%rsp),%eax
  xor    -0x10(%r14),%eax
  mov    %eax,(%r14)
  mov    0x34(%rsp),%eax
  xor    -0xc(%r14),%eax
  mov    %eax,0x4(%r14)
  mov    0x38(%rsp),%eax
  xor    -0x8(%r14),%eax
  mov    %eax,0x8(%r14)
  mov    0x3c(%rsp),%eax
  xor    -0x4(%r14),%eax
  mov    %eax,0xc(%r14)
  cmp    $0x10,%r15d
  jne    L5
  mov    0x0(%r13),%eax
  xor    %eax,0x40(%rbx)
  mov    0x4(%r13),%eax
  xor    %eax,0x44(%rbx)
L5:
  movdqu -0x30(%r14),%xmm3
  mov    0x18(%rsp),%rdx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  pshufd $0x39,%xmm3,%xmm0
  movaps %xmm0,0x20(%rsp)
  call   <roundAESkeyfirst@plt>
  mov    0x30(%rsp),%eax
  xor    (%r14),%eax
  mov    %eax,0x10(%r14)
  mov    0x34(%rsp),%eax
  xor    0x4(%r14),%eax
  mov    %eax,0x14(%r14)
  mov    0x38(%rsp),%eax
  xor    0x8(%r14),%eax
  mov    %eax,0x18(%r14)
  mov    0x3c(%rsp),%eax
  xor    0xc(%r14),%eax
  mov    %eax,0x1c(%r14)
  cmp    $0x78,%r15d
  jne    L42
  mov    0x0(%r13),%eax
  xor    %eax,0x1f0(%rbx)
  mov    0x4(%r13),%eax
  xor    %eax,0x1fc(%rbx)
L31:
  mov    0x4(%rsp),%edi
  mov    0x8(%rsp),%rax
  lea    0xf(%rdi),%esi
  lea    0x34(%rax),%rcx
  lea    0x40(%rax),%rdx
  xor    %eax,%eax
  cmp    %edi,%esi
  jl     L11
  nopl   (%rax)
L54:
  mov    0x8(%rsp),%rdi
  movq   (%rcx,%rax,8),%xmm0
  movq   (%rdi,%rax,8),%xmm1
  pxor   %xmm1,%xmm0
  movq   %xmm0,(%rdx,%rax,8)
  add    $0x1,%rax
  cmp    $0x8,%rax
  jne    L54
L11:
  addl   $0x20,0x4(%rsp)
  mov    0x4(%rsp),%eax
  subq   $0xffffffffffffff80,0x8(%rsp)
  cmp    $0xa0,%eax
  jne    L67
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L7
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L7:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void MessageExpansion256(uint32_t rk[(12 * 4 * (3))], uint32_t salt[8], uint32_t counter[2]) {
  int i, j, k;
  uint32_t input[4], output[4];
  for (k = 0; k < 4; k++) {
    for (i = 16 + 32 * k; i < 32 + 32 * k;) {
      input[0] = rk[i - 15];
      input[1] = rk[i - 14];
      input[2] = rk[i - 13];
      input[3] = rk[i - 16];
      roundAESkeyfirst(input, output, salt);
      for (j = 0; j < 4; j++)
        rk[i + j] = output[j] ^ rk[i + j - 4];
      if (i == 16) {
        rk[16] ^= counter[0];
        rk[17] ^= counter[1];
      }
      if (i == 84) {
        rk[86] ^= counter[1];
        rk[87] ^= counter[0];
      }
      i += 4;
      input[0] = rk[i - 15];
      input[1] = rk[i - 14];
      input[2] = rk[i - 13];
      input[3] = rk[i - 16];
      roundAESkeyfirst(input, output, salt + 4);
      for (j = 0; j < 4; j++)
        rk[i + j] = output[j] ^ rk[i + j - 4];
      if (i == 56) {
        rk[57] ^= counter[1];
        rk[58] ^= counter[0];
      }
      if (i == 124) {
        rk[124] ^= counter[0];
        rk[127] ^= counter[1];
      }
      i += 4;
    }
    for (i = 32 + 32 * k; i < 48 + 32 * k; i++)
      rk[i] = rk[i - 16] ^ rk[i - 3];
  }
  return;
}
```