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

```asm
<challenge1>:
  endbr64
  push   %rbp
  lea    D52(%rip),%rdi
  mov    %rsp,%rbp
  push   %r14
  push   %r13
  lea    -0x90(%rbp),%r13
  push   %r12
  sub    $0x78,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x28(%rbp)
  xor    %eax,%eax
  call   <puts@plt>
  movdqa D29(%rip),%xmm0
  mov    %r13,%rdi
  movb   $0x0,-0x30(%rbp)
  movaps %xmm0,-0x90(%rbp)
  movdqa D56(%rip),%xmm0
  movaps %xmm0,-0x80(%rbp)
  movdqa D3(%rip),%xmm0
  movaps %xmm0,-0x70(%rbp)
  movdqa D9(%rip),%xmm0
  movaps %xmm0,-0x60(%rbp)
  movdqa D62(%rip),%xmm0
  movaps %xmm0,-0x50(%rbp)
  movdqa D31(%rip),%xmm0
  movaps %xmm0,-0x40(%rbp)
  call   <counthex@plt>
  mov    %rsp,%rcx
  mov    %eax,%r12d
  cltq
  add    $0xf,%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L15
L26:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L26
L15:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L29
L24:
  mov    %rsp,%rsi
  mov    %r13,%rdi
  mov    %rsp,%r14
  call   <str2hex@plt>
  mov    %r12d,%esi
  mov    %rsp,%rdi
  call   <printhex@plt>
  mov    %r12d,%edi
  call   <base64length@plt>
  mov    %rsp,%rcx
  cltq
  add    $0xf,%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L19
L13:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L13
L19:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L79
L78:
  mov    %r12d,%esi
  mov    %r14,%rdi
  mov    %rsp,%rdx
  call   <hex2base64@plt>
  xor    %eax,%eax
  mov    %rsp,%rsi
  lea    D49(%rip),%rdi
  call   <printf@plt>
  mov    -0x28(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L45
  lea    -0x18(%rbp),%rsp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %rbp
  ret
  nop
L29:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L24
  nopl   0x0(%rax,%rax,1)
L79:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L78
L45:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D52
type_infered: string
name: unpack_data
arguments: tag: D29
type_infered: byte[16]
name: unpack_data
arguments: tag: D56
type_infered: byte[16]
name: unpack_data
arguments: tag: D3
type_infered: byte[16]
name: unpack_data
arguments: tag: D9
type_infered: byte[16]
name: unpack_data
arguments: tag: D62
type_infered: byte[16]
name: unpack_data
arguments: tag: D31
type_infered: byte[16]
name: unpack_data
arguments: tag: D49
type_infered: string

tool: D52: challenge 1:

tool: {"D29": [0x34,0x39,0x32,0x37,0x36,0x64,0x32,0x30,0x36,0x62,0x36,0x39,0x36,0x63,0x36,0x63]}

tool: {"D56": [0x36,0x39,0x36,0x65,0x36,0x37,0x32,0x30,0x37,0x39,0x36,0x66,0x37,0x35,0x37,0x32]}

tool: {"D3": [0x32,0x30,0x36,0x32,0x37,0x32,0x36,0x31,0x36,0x39,0x36,0x65,0x32,0x30,0x36,0x63]}

tool: {"D9": [0x36,0x39,0x36,0x62,0x36,0x35,0x32,0x30,0x36,0x31,0x32,0x30,0x37,0x30,0x36,0x66]}

tool: {"D62": [0x36,0x39,0x37,0x33,0x36,0x66,0x36,0x65,0x36,0x66,0x37,0x35,0x37,0x33,0x32,0x30]}

tool: {"D31": [0x36,0x64,0x37,0x35,0x37,0x33,0x36,0x38,0x37,0x32,0x36,0x66,0x36,0x66,0x36,0x64]}

tool: D49: base64 = '%s'


assistant: ```c
void challenge1() {
  printf("challenge 1:\n");
  char in[] = "49276d206b696c6c696e6720796f757220627261696e206c"
              "696b65206120706f69736f6e6f7573206d757368726f6f6d";
  int size = counthex(in);
  unsigned char hexarray[size];
  str2hex(in, hexarray);
  printhex(hexarray, size);
  char base64[base64length(size)];
  hex2base64(hexarray, size, base64);
  printf("base64 = '%s'\n", base64);
}
```