user: Demonstrate the C code that generates the assembly output below:

```asm
<lm_deshash>:
  endbr64
  push   %r15
  push   %r14
  mov    %rdx,%r14
  push   %r13
  push   %r12
  mov    %rdi,%r12
  mov    %rdx,%rdi
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%r15
  call   <strlen@plt>
  mov    %r14,%rsi
  mov    %r15,%rdi
  mov    %rax,%rbx
  mov    $0x8,%eax
  cmp    %rax,%rbx
  cmovbe %rbx,%rax
  mov    %rax,%rdx
  mov    %rax,%r13
  call   <memcpy@plt>
  cmp    $0x7,%rbx
  ja     L10
  mov    $0x8,%edx
  lea    (%r15,%r13,1),%rdi
  xor    %esi,%esi
  sub    %r13d,%edx
  call   <memset@plt>
L10:
  mov    0x8(%rsp),%rdx
  movzbl 0x10(%rsp),%eax
  lea    0x8(%rsp),%r14
  lea    0x7(%rsp),%r13
  mov    %r14,%rdi
  mov    %al,(%rdx)
  movzbl 0x11(%rsp),%edx
  shl    $0x7,%eax
  shr    %dl
  or     %edx,%eax
  mov    0x8(%rsp),%rdx
  mov    %al,0x1(%rdx)
  movzbl 0x12(%rsp),%eax
  movzbl 0x11(%rsp),%edx
  shr    $0x2,%al
  shl    $0x6,%edx
  or     %edx,%eax
  mov    0x8(%rsp),%rdx
  mov    %al,0x2(%rdx)
  movzbl 0x13(%rsp),%eax
  movzbl 0x12(%rsp),%edx
  shr    $0x3,%al
  shl    $0x5,%edx
  or     %edx,%eax
  mov    0x8(%rsp),%rdx
  mov    %al,0x3(%rdx)
  movzbl 0x14(%rsp),%eax
  movzbl 0x13(%rsp),%edx
  shr    $0x4,%al
  shl    $0x4,%edx
  or     %edx,%eax
  mov    0x8(%rsp),%rdx
  mov    %al,0x4(%rdx)
  movzbl 0x15(%rsp),%eax
  movzbl 0x14(%rsp),%edx
  shr    $0x5,%al
  shl    $0x3,%edx
  or     %edx,%eax
  mov    0x8(%rsp),%rdx
  mov    %al,0x5(%rdx)
  movzbl 0x16(%rsp),%eax
  movzbl 0x15(%rsp),%edx
  shr    $0x6,%al
  shl    $0x2,%edx
  or     %edx,%eax
  mov    0x8(%rsp),%rdx
  mov    %al,0x6(%rdx)
  movzbl 0x16(%rsp),%eax
  mov    0x8(%rsp),%rdx
  add    %eax,%eax
  mov    %al,0x7(%rdx)
  call   <DES_set_odd_parity@plt>
  mov    %r13,%rsi
  mov    %r14,%rdi
  call   <DES_set_key@plt>
  mov    %r13,%rdx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  mov    D0(%rip),%rax
  mov    (%rax),%ecx
  call   <DES_ecb_encrypt@plt>
  mov    0x8(%rsp),%rdi
  xor    %esi,%esi
  mov    $0x8,%edx
  call   <memset@plt>
  xor    %esi,%esi
  mov    $0x1,%edx
  mov    %r13,%rdi
  call   <memset@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L15
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L15:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void lm_deshash(void *result, const_DES_cblock *iv, const void *secret) {
  DES_cblock key;
  DES_key_schedule ks;
  unsigned char key_56[8];
  size_t len;
  len = strlen(secret);
  if (len > sizeof key_56)
    len = sizeof key_56;
  memcpy(key_56, secret, len);
  if (sizeof key_56 - len > 0)
    memset(key_56 + len, 0, sizeof key_56 - len);
  key[0] = key_56[0];
  key[1] = (key_56[0] << 7) | (key_56[1] >> 1);
  key[2] = (key_56[1] << 6) | (key_56[2] >> 2);
  key[3] = (key_56[2] << 5) | (key_56[3] >> 3);
  key[4] = (key_56[3] << 4) | (key_56[4] >> 4);
  key[5] = (key_56[4] << 3) | (key_56[5] >> 5);
  key[6] = (key_56[5] << 2) | (key_56[6] >> 6);
  key[7] = (key_56[6] << 1);
  DES_set_odd_parity(&key);
  DES_set_key(&key, &ks);
  DES_ecb_encrypt(iv, result, &ks, DES_ENCRYPT);
  memset(key, 0, sizeof key);
  memset(&ks, 0, sizeof ks);
}
```