user: Please show me the C implementation that matches the assembly code listed below:

```asm
<copy_out>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  movl   $0x0,-0xc(%rbp)
  jmp    L26
L16:
  movl   $0x0,-0x8(%rbp)
  jmp    L30
L27:
  mov    -0xc(%rbp),%eax
  shl    $0x4,%eax
  mov    %eax,%edx
  mov    -0x8(%rbp),%eax
  add    %edx,%eax
  shl    $0x3,%eax
  cltq
  lea    0x7(%rax),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  shl    $0x8,%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  shl    $0x4,%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%eax
  add    %ecx,%eax
  shl    $0x3,%eax
  cltq
  lea    0x6(%rax),%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  or     %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  shl    $0x8,%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  shl    $0x4,%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%eax
  add    %ecx,%eax
  shl    $0x3,%eax
  cltq
  lea    0x5(%rax),%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  or     %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  shl    $0x8,%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  shl    $0x4,%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%eax
  add    %ecx,%eax
  shl    $0x3,%eax
  cltq
  lea    0x4(%rax),%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  or     %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  shl    $0x8,%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  shl    $0x4,%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%eax
  add    %ecx,%eax
  shl    $0x3,%eax
  cltq
  lea    0x3(%rax),%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  or     %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  shl    $0x8,%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  shl    $0x4,%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%eax
  add    %ecx,%eax
  shl    $0x3,%eax
  cltq
  lea    0x2(%rax),%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  or     %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  shl    $0x8,%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  shl    $0x4,%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%eax
  add    %ecx,%eax
  shl    $0x3,%eax
  cltq
  lea    0x1(%rax),%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  or     %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  shl    $0x8,%eax
  mov    %eax,%ecx
  mov    -0xc(%rbp),%eax
  shl    $0x4,%eax
  mov    %eax,%edx
  mov    -0x8(%rbp),%eax
  add    %edx,%eax
  shl    $0x3,%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  or     %ecx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0xc(%rbp),%eax
  shl    $0x4,%eax
  mov    %eax,%edx
  mov    -0x8(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x4(%rbp),%eax
  mov    %eax,(%rdx)
  addl   $0x1,-0x8(%rbp)
L30:
  cmpl   $0xf,-0x8(%rbp)
  jle    L27
  addl   $0x1,-0xc(%rbp)
L26:
  cmpl   $0x7,-0xc(%rbp)
  jle    L16
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void copy_out(uint64_t *large_E, char *part_buf_E) {
  int i, j;
  for (i = 0; i < ((512) / (64)); i++) {
    for (j = 0; j < 16; j++) {
#pragma HLS PIPELINE
      uint64_t curr = part_buf_E[i * 128 + j * 8 + 7];
      curr = (curr << 8) | part_buf_E[i * 128 + j * 8 + 6];
      curr = (curr << 8) | part_buf_E[i * 128 + j * 8 + 5];
      curr = (curr << 8) | part_buf_E[i * 128 + j * 8 + 4];
      curr = (curr << 8) | part_buf_E[i * 128 + j * 8 + 3];
      curr = (curr << 8) | part_buf_E[i * 128 + j * 8 + 2];
      curr = (curr << 8) | part_buf_E[i * 128 + j * 8 + 1];
      curr = (curr << 8) | part_buf_E[i * 128 + j * 8 + 0];
      large_E[i * 16 + j] = curr;
    }
  }
}
```