user: 请将以下的汇编代码转换成C语言代码：

```asm
<main>:
  endbr64
  push   %r14
  lea    D119(%rip),%rdi
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x70,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rsi
  call   <scanf@plt>
  movzbl (%rsp),%eax
  test   %al,%al
  je     L12
  lea    0x1(%rsp),%r14
  lea    D134(%rip),%rbx
  lea    D40(%rip),%r13
  lea    D65(%rip),%r12
  lea    D44(%rip),%rbp
  nopl   0x0(%rax,%rax,1)
L64:
  sub    $0x30,%eax
  cmp    $0x36,%al
  ja     L150
  movzbl %al,%eax
  movslq (%rbx,%rax,4),%rax
  add    %rbx,%rax
  notrack jmp *%rax
  lea    D3(%rip),%rdi
  call   <printf@plt>
L150:
  movzbl (%r14),%eax
  add    $0x1,%r14
  test   %al,%al
  jne    L64
L12:
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L189
  add    $0x70,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  mov    %r13,%rdi
  call   <printf@plt>
  jmp    L150
  mov    %r12,%rdi
  call   <printf@plt>
  jmp    L150
  mov    %rbp,%rdi
  call   <printf@plt>
  jmp    L150
  lea    D95(%rip),%rdi
  call   <printf@plt>
  jmp    L150
  lea    D45(%rip),%rdi
  call   <printf@plt>
  jmp    L150
  lea    D14(%rip),%rdi
  call   <printf@plt>
  jmp    L150
  lea    D118(%rip),%rdi
  call   <printf@plt>
  jmp    L150
  lea    D131(%rip),%rdi
  call   <printf@plt>
  jmp    L150
  lea    D59(%rip),%rdi
  call   <printf@plt>
  jmp    L150
  lea    D161(%rip),%rdi
  call   <printf@plt>
  jmp    L150
  lea    D163(%rip),%rdi
  call   <printf@plt>
  jmp    L150
  lea    D108(%rip),%rdi
  call   <printf@plt>
  jmp    L150
  lea    D19(%rip),%rdi
  call   <printf@plt>
  jmp    L150
  lea    D78(%rip),%rdi
  call   <printf@plt>
  jmp    L150
  lea    D55(%rip),%rdi
  call   <printf@plt>
  jmp    L150
L189:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D119
type_guessed: string
name: disassemble_data
arguments: tag: D40
type_guessed: string
name: disassemble_data
arguments: tag: D65
type_guessed: string
name: disassemble_data
arguments: tag: D44
type_guessed: string
name: disassemble_data
arguments: tag: D3
type_guessed: string
name: disassemble_data
arguments: tag: D95
type_guessed: string
name: disassemble_data
arguments: tag: D45
type_guessed: string
name: disassemble_data
arguments: tag: D14
type_guessed: string
name: disassemble_data
arguments: tag: D118
type_guessed: string
name: disassemble_data
arguments: tag: D131
type_guessed: string
name: disassemble_data
arguments: tag: D59
type_guessed: string
name: disassemble_data
arguments: tag: D161
type_guessed: string
name: disassemble_data
arguments: tag: D163
type_guessed: string
name: disassemble_data
arguments: tag: D108
type_guessed: string
name: disassemble_data
arguments: tag: D19
type_guessed: string
name: disassemble_data
arguments: tag: D78
type_guessed: string
name: disassemble_data
arguments: tag: D55
type_guessed: string

tool: D119: %s

tool: D40: 1111

tool: D65: 1110

tool: D44: 1101

tool: D3: 0000

tool: D95: 1100

tool: D45: 1011

tool: D14: 1010

tool: D118: 1001

tool: D131: 1000

tool: D59: 0111

tool: D161: 0110

tool: D163: 0101

tool: D108: 0100

tool: D19: 0011

tool: D78: 0010

tool: D55: 0001

assistant: ```c
int main() {
  char hexa[100];
  scanf("%s", &hexa);
  int i = 0;
  while (hexa[i]) {
    switch (hexa[i]) {
    case '0':
      printf("0000");
      break;
    case '1':
      printf("0001");
      break;
    case '2':
      printf("0010");
      break;
    case '3':
      printf("0011");
      break;
    case '4':
      printf("0100");
      break;
    case '5':
      printf("0101");
      break;
    case '6':
      printf("0110");
      break;
    case '7':
      printf("0111");
      break;
    case '8':
      printf("1000");
      break;
    case '9':
      printf("1001");
      break;
    case 'A':
    case 'a':
      printf("1010");
      break;
    case 'B':
    case 'b':
      printf("1011");
      break;
    case 'C':
    case 'c':
      printf("1100");
      break;
    case 'D':
    case 'd':
      printf("1101");
      break;
    case 'E':
    case 'e':
      printf("1110");
      break;
    case 'F':
    case 'f':
      printf("1111");
      break;
    }
    i++;
  }
  return 0;
}
```