user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<create_readable_string_for_last_part>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %esi,-0x3c(%rbp)
  lea    -0x3c(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  mov    %rax,-0x10(%rbp)
  movq   $0x4,-0x8(%rbp)
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  and    $0xfff,%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sar    $0xc,%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%rax
  mov    %dl,(%rax)
  mov    -0x8(%rbp),%rax
  mov    %eax,-0x20(%rbp)
  jmp    L66
L13:
  mov    -0x20(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  shr    $0x4,%al
  mov    %al,-0x21(%rbp)
  movzbl -0x21(%rbp),%eax
  mov    %eax,%edi
  call   <base_for_binary@plt>
  mov    %rax,%rcx
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  mov    %ecx,%edx
  mov    %dl,(%rax)
  mov    -0x20(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x20(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x10(%rbp),%rax
  add    %rcx,%rax
  and    $0xf,%edx
  mov    %dl,(%rax)
  movzbl (%rax),%eax
  mov    %al,-0x21(%rbp)
  movzbl -0x21(%rbp),%eax
  mov    %eax,%edi
  call   <base_for_binary@plt>
  mov    %rax,%rcx
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  mov    %ecx,%edx
  mov    %dl,(%rax)
  subl   $0x1,-0x20(%rbp)
L66:
  cmpl   $0x0,-0x20(%rbp)
  jg     L13
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  movb   $0x20,(%rax)
  mov    -0x1c(%rbp),%eax
  sar    $0x8,%eax
  mov    %al,-0x21(%rbp)
  cmpb   $0x1,-0x21(%rbp)
  jne    L26
  mov    $0x31,%ecx
  jmp    L16
L26:
  mov    $0x30,%ecx
L16:
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  mov    %cl,(%rax)
  mov    -0x1c(%rbp),%eax
  sar    $0x4,%eax
  and    $0xf,%eax
  mov    %al,-0x21(%rbp)
  cmpb   $0x1,-0x21(%rbp)
  jne    L54
  mov    $0x31,%ecx
  jmp    L28
L54:
  mov    $0x30,%ecx
L28:
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  mov    %cl,(%rax)
  mov    -0x1c(%rbp),%eax
  and    $0xf,%eax
  mov    %al,-0x21(%rbp)
  cmpb   $0x1,-0x21(%rbp)
  jne    L76
  mov    $0x31,%ecx
  jmp    L56
L76:
  mov    $0x30,%ecx
L56:
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  mov    %cl,(%rax)
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  movb   $0x0,(%rax)
  nop
  leave
  ret
```

assistant: ```c
void create_readable_string_for_last_part(char *str, uint64_t sequence_part) {
  char *ptr = (char *)&sequence_part;
  unsigned char *b = (unsigned char *)ptr;
  size_t size = sizeof(uint32_t);
  uint64_t threeLast = ((*ptr) & 0xFFFUL);
  *ptr >>= 12;
  unsigned char byte;
  for (int i = size; i > 0; i--) {
    byte = b[i] >> 4;
    *str++ = base_for_binary(byte);
    byte = b[i] &= 0xf;
    *str++ = base_for_binary(byte);
  }
  *str++ = ' ';
  byte = threeLast >> 0b1000;
  *str++ = byte == 1 ? '1' : '0';
  byte = (threeLast >> 0b0100) & 0xF;
  *str++ = byte == 1 ? '1' : '0';
  byte = threeLast & 0xF;
  *str++ = byte == 1 ? '1' : '0';
  *str++ = 0;
}
```