user: 请从给定的汇编指令推导出C源代码:

```asm
<main>:
  endbr64
  push   %r15
  lea    D58(%rip),%rdi
  xor    %eax,%eax
  push   %r14
  lea    D78(%rip),%r14
  push   %r13
  lea    D95(%rip),%r13
  push   %r12
  movabs $0x4000000001ffb,%r12
  push   %rbp
  lea    D72(%rip),%rbp
  push   %rbx
  xor    %ebx,%ebx
  sub    $0x8,%rsp
  call   <printf@plt>
  jmp    L4
  nopl   0x0(%rax,%rax,1)
L151:
  lea    -0x2d(%rbx),%eax
  cmp    $0x32,%eax
  ja     L326
  bt     %rax,%r12
  jb     L46
L326:
  mov    %ebx,%esi
  mov    %r13,%rdi
  call   <strchr@plt>
  xor    %esi,%esi
  test   %rax,%rax
  setne  %sil
L33:
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %ebx,%eax
  and    $0xf,%eax
  cmp    $0xf,%eax
  jne    L37
  cmp    $0xff,%ebx
  jne    L222
L37:
  add    $0x1,%ebx
  cmp    $0x100,%ebx
  je     L171
L4:
  mov    %ebx,%eax
  and    $0xffffffdf,%eax
  sub    $0x41,%eax
  cmp    $0x19,%eax
  ja     L151
  mov    $0x1,%esi
  jmp    L33
  nopl   0x0(%rax,%rax,1)
L222:
  mov    %r14,%rdi
  xor    %eax,%eax
  add    $0x1,%ebx
  call   <printf@plt>
  cmp    $0x100,%ebx
  jne    L4
L171:
  lea    D0(%rip),%r14
  xor    %ebx,%ebx
  lea    D78(%rip),%r13
  movabs $0x4000000001ffb,%r12
  mov    %r14,%rdi
  call   <puts@plt>
  lea    D70(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  nopl   (%rax)
L118:
  mov    %ebx,%eax
  and    $0xffffffdf,%eax
  sub    $0x41,%eax
  cmp    $0x19,%eax
  jbe    L42
L106:
  lea    -0x2d(%rbx),%ecx
  cmp    $0x32,%ecx
  ja     L112
  mov    %r12,%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  shr    %cl,%rsi
  and    $0x1,%esi
  call   <printf@plt>
  mov    %ebx,%eax
  and    $0xf,%eax
  cmp    $0xf,%eax
  je     L293
  add    $0x1,%ebx
  mov    %ebx,%eax
  and    $0xffffffdf,%eax
  sub    $0x41,%eax
  cmp    $0x19,%eax
  ja     L106
L42:
  mov    $0x1,%esi
L145:
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %ebx,%eax
  and    $0xf,%eax
  cmp    $0xf,%eax
  jne    L226
  cmp    $0xff,%ebx
  jne    L293
L226:
  add    $0x1,%ebx
  cmp    $0x100,%ebx
  jne    L118
  mov    %r14,%rdi
  mov    $0xffffffdc,%r12d
  xor    %ebx,%ebx
  movabs $0x4000000001ffb,%r13
  call   <puts@plt>
  lea    D60(%rip),%rdi
  xor    %eax,%eax
  lea    D78(%rip),%r14
  call   <printf@plt>
  lea    D54(%rip),%r15
  nopl   0x0(%rax,%rax,1)
L139:
  mov    %ebx,%eax
  mov    $0x1,%esi
  and    $0xffffffdf,%eax
  sub    $0x41,%eax
  cmp    $0x19,%eax
  jbe    L9
  lea    -0x2d(%rbx),%eax
  cmp    $0x32,%eax
  ja     L174
  bt     %rax,%r13
  jb     L140
L174:
  cmp    $0x21,%ebx
  je     L51
  cmp    $0x5a,%r12d
  jbe    L92
  xor    %esi,%esi
  nopl   0x0(%rax)
L9:
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %ebx,%eax
  and    $0xf,%eax
  cmp    $0xf,%eax
  jne    L317
  cmp    $0xff,%ebx
  jne    L248
L32:
  lea    D47(%rip),%rdi
  call   <puts@plt>
  add    $0x8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L46:
  mov    $0x1,%esi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %ebx,%eax
  and    $0xf,%eax
  cmp    $0xf,%eax
  je     L222
  add    $0x1,%ebx
  jmp    L4
  nopl   (%rax)
L317:
  cmp    $0xff,%ebx
  je     L32
L207:
  add    $0x1,%ebx
  add    $0x1,%r12d
  jmp    L139
  nopl   0x0(%rax)
L140:
  mov    $0x1,%esi
L12:
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %ebx,%eax
  and    $0xf,%eax
  cmp    $0xf,%eax
  jne    L207
  cmp    $0xff,%ebx
  je     L207
  nopl   0x0(%rax)
L248:
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L207
  nopl   0x0(%rax)
L293:
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L226
  nopw   0x0(%rax,%rax,1)
L51:
  mov    $0x1,%esi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L207
  nopl   0x0(%rax)
L112:
  xor    %esi,%esi
  jmp    L145
L92:
  mov    %r12d,%eax
  movsbl (%r15,%rax,1),%esi
  jmp    L12
```

tool_calls: name: unpack_data
arguments: data_tag: D58
type: string
name: unpack_data
arguments: data_tag: D78
type: string
name: unpack_data
arguments: data_tag: D95
type: string
name: unpack_data
arguments: data_tag: D72
type: string
name: unpack_data
arguments: data_tag: D0
type: string
name: unpack_data
arguments: data_tag: D70
type: string
name: unpack_data
arguments: data_tag: D60
type: string
name: unpack_data
arguments: data_tag: D54
type: string
name: unpack_data
arguments: data_tag: D47
type: string

tool: D58: static const char HREF_SAFE[] = {
	

tool: D78: 
	

tool: D95: -_.+!*(),%#@?=;:/,+$

tool: D72: %d, 

tool: D0: };


tool: D70: static const char URL_SAFE[] = {
	

tool: D60: static const char URI_SAFE[] = {
	

tool: D54: 

tool: D47: };

assistant: ```c
int main(void) {
  int i;
  printf("static const char HREF_SAFE[] = {\n\t");
  for (i = 0; i < 256; ++i) {
    printf("%d, ", ((((i >= 'a' && i <= 'z') || (i >= 'A' && i <= 'Z') || (i >= '0' && i <= '9')) || i == '-' || i == '_' || i == '.') || strchr("-_.+!*(),%#@?=;:/,+$", i) != NULL));
    if (i % 16 == 15 && i < 255)
      printf("\n\t");
  }
  printf("};\n\n");
  printf("static const char URL_SAFE[] = {\n\t");
  for (i = 0; i < 256; ++i) {
    printf("%d, ", (((i >= 'a' && i <= 'z') || (i >= 'A' && i <= 'Z') || (i >= '0' && i <= '9')) || i == '-' || i == '_' || i == '.'));
    if (i % 16 == 15 && i < 255)
      printf("\n\t");
  }
  printf("};\n\n");
  printf("static const char URI_SAFE[] = {\n\t");
  for (i = 0; i < 256; ++i) {
    printf("%d, ", ((((i >= 'a' && i <= 'z') || (i >= 'A' && i <= 'Z') || (i >= '0' && i <= '9')) || i == '-' || i == '_' || i == '.') || (((i >= 'a' && i <= 'z') || (i >= 'A' && i <= 'Z') || (i >= '0' && i <= '9')) || i == '-' || i == '_' || i == '.' || i == '!' || i == '~' || i == '*' || i == '\'' || i == '(' || i == ')') || (i == ';' || i == '/' || i == '?' || i == ':' || i == '@' || i == '&' || i == '=' || i == '+' || i == '$' || i == ',' || i == '[' || i == ']')));
    if (i % 16 == 15 && i < 255)
      printf("\n\t");
  }
  printf("};\n");
  return 0;
}
```