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

```asm
<HexToBytes>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    $0x2,%edi
  call   <malloc@plt>
  mov    %rax,-0x10(%rbp)
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cltq
  shr    %rax
  add    $0x1,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x8(%rbp)
  movl   $0x0,-0x14(%rbp)
  jmp    L17
L96:
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x10(%rbp),%rax
  mov    %dl,(%rax)
  addl   $0x1,-0x14(%rbp)
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    %eax,-0x14(%rbp)
  jne    L12
  mov    -0x10(%rbp),%rax
  add    $0x1,%rax
  movb   $0x30,(%rax)
  jmp    L27
L12:
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    -0x10(%rbp),%rdx
  add    $0x1,%rdx
  movzbl (%rax),%eax
  mov    %al,(%rdx)
L27:
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x30,%eax
  cmp    $0x36,%eax
  ja     L97
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D32(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D32(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  mov    %eax,-0x1c(%rbp)
  jmp    L3
  movl   $0x64,-0x1c(%rbp)
  jmp    L3
  movl   $0x6e,-0x1c(%rbp)
  jmp    L3
  movl   $0x78,-0x1c(%rbp)
  jmp    L3
  movl   $0x82,-0x1c(%rbp)
  jmp    L3
  movl   $0x8c,-0x1c(%rbp)
  jmp    L3
  movl   $0x96,-0x1c(%rbp)
  jmp    L3
L97:
  movl   $0x0,-0x1c(%rbp)
  nop
L3:
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x30,%eax
  cmp    $0x36,%eax
  ja     L74
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D36(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D36(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x18(%rbp)
  jmp    L48
  movl   $0xa,-0x18(%rbp)
  jmp    L48
  movl   $0xb,-0x18(%rbp)
  jmp    L48
  movl   $0xc,-0x18(%rbp)
  jmp    L48
  movl   $0xd,-0x18(%rbp)
  jmp    L48
  movl   $0xe,-0x18(%rbp)
  jmp    L48
  movl   $0xf,-0x18(%rbp)
  jmp    L48
L74:
  movl   $0x0,-0x18(%rbp)
  nop
L48:
  mov    -0x18(%rbp),%eax
  mov    %eax,%esi
  mov    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x14(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  movslq %eax,%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  lea    (%rsi,%rcx,1),%edx
  mov    %dl,(%rax)
  addl   $0x1,-0x14(%rbp)
L17:
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    %eax,-0x14(%rbp)
  jl     L96
  mov    -0x10(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x8(%rbp),%rax
  leave
  ret
```

assistant: ```c
char *HexToBytes(char *inputStr) {
  char *miniChunk = (char *)malloc(sizeof(char) * 2);
  unsigned char *maxiChunk = (char *)malloc(sizeof(char) * strlen(inputStr) / 2 + 1);
  int tens, ones;
  for (int i = 0; i < strlen(inputStr); i++) {
    miniChunk[0] = inputStr[i];
    i++;
    if (i == strlen(inputStr)) {
      miniChunk[1] = '0';
    } else {
      miniChunk[1] = inputStr[i];
    }
    switch (miniChunk[0]) {
    case '0':
    case '1':
    case '2':
    case '3':
    case '4':
    case '5':
    case '6':
    case '7':
    case '9':
      tens = 10 * (int)miniChunk[0];
      break;
    case 'A':
    case 'a':
      tens = 100;
      break;
    case 'B':
    case 'b':
      tens = 110;
      break;
    case 'C':
    case 'c':
      tens = 120;
      break;
    case 'D':
    case 'd':
      tens = 130;
      break;
    case 'E':
    case 'e':
      tens = 140;
      break;
    case 'F':
    case 'f':
      tens = 150;
      break;
    default:
      tens = 0;
      break;
    }
    switch (miniChunk[0]) {
    case '0':
    case '1':
    case '2':
    case '3':
    case '4':
    case '5':
    case '6':
    case '7':
    case '9':
      ones = (int)miniChunk[0];
      break;
    case 'A':
    case 'a':
      ones = 10;
      break;
    case 'B':
    case 'b':
      ones = 11;
      break;
    case 'C':
    case 'c':
      ones = 12;
      break;
    case 'D':
    case 'd':
      ones = 13;
      break;
    case 'E':
    case 'e':
      ones = 14;
      break;
    case 'F':
    case 'f':
      ones = 15;
      break;
    default:
      ones = 0;
      break;
    }
    maxiChunk[i / 2] = (unsigned char)(ones + tens);
  }
  free(miniChunk);
  return maxiChunk;
}
```