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

```asm
<_Print>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %rsi,-0x50(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    $0x0,%r12d
  mov    -0x50(%rbp),%rax
  lea    0x4(%rax),%rdx
  mov    %rdx,-0x50(%rbp)
  mov    (%rax),%eax
  cltq
  mov    %rax,%rbx
  jmp    L287
L49:
  movzbl (%rbx),%eax
  cmp    $0x25,%al
  jne    L104
  add    $0x1,%rbx
  mov    $0x0,%r14d
  mov    %r14d,%r13d
  movzbl (%rbx),%eax
  test   %al,%al
  je     L17
  movzbl (%rbx),%eax
  cmp    $0x25,%al
  je     L81
  movzbl (%rbx),%eax
  cmp    $0x2d,%al
  jne    L215
  add    $0x1,%rbx
  mov    $0x1,%r14d
  jmp    L215
L90:
  add    $0x1,%rbx
  or     $0x2,%r14d
L215:
  movzbl (%rbx),%eax
  cmp    $0x30,%al
  je     L90
  jmp    L64
L283:
  mov    %r13d,%eax
  shl    $0x2,%eax
  add    %r13d,%eax
  add    %eax,%eax
  mov    %eax,%r13d
  movzbl (%rbx),%eax
  movsbl %al,%eax
  sub    $0x30,%eax
  add    %eax,%r13d
  add    $0x1,%rbx
L64:
  movzbl (%rbx),%eax
  cmp    $0x2f,%al
  jle    L149
  movzbl (%rbx),%eax
  cmp    $0x39,%al
  jle    L283
L149:
  movzbl (%rbx),%eax
  cmp    $0x73,%al
  jne    L70
  mov    -0x50(%rbp),%rax
  lea    0x4(%rax),%rdx
  mov    %rdx,-0x50(%rbp)
  mov    (%rax),%r15
  test   %r15,%r15
  je     L170
  mov    %r15,%rsi
  jmp    L335
L170:
  lea    D4(%rip),%rsi
L335:
  mov    -0x48(%rbp),%rax
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %rax,%rdi
  call   <_Print_s@plt>
  mov    %eax,%edx
  mov    %r12d,%eax
  add    %edx,%eax
  mov    %eax,%r12d
  jmp    L349
L70:
  movzbl (%rbx),%eax
  cmp    $0x64,%al
  jne    L145
  mov    -0x50(%rbp),%rax
  lea    0x4(%rax),%rdx
  mov    %rdx,-0x50(%rbp)
  mov    (%rax),%esi
  mov    -0x48(%rbp),%rax
  sub    $0x8,%rsp
  push   $0x61
  mov    %r14d,%r9d
  mov    %r13d,%r8d
  mov    $0x1,%ecx
  mov    $0xa,%edx
  mov    %rax,%rdi
  call   <_Print_i@plt>
  add    $0x10,%rsp
  mov    %eax,%edx
  mov    %r12d,%eax
  add    %edx,%eax
  mov    %eax,%r12d
  jmp    L349
L145:
  movzbl (%rbx),%eax
  cmp    $0x78,%al
  jne    L112
  mov    -0x50(%rbp),%rax
  lea    0x4(%rax),%rdx
  mov    %rdx,-0x50(%rbp)
  mov    (%rax),%esi
  mov    -0x48(%rbp),%rax
  sub    $0x8,%rsp
  push   $0x61
  mov    %r14d,%r9d
  mov    %r13d,%r8d
  mov    $0x0,%ecx
  mov    $0x10,%edx
  mov    %rax,%rdi
  call   <_Print_i@plt>
  add    $0x10,%rsp
  mov    %eax,%edx
  mov    %r12d,%eax
  add    %edx,%eax
  mov    %eax,%r12d
  jmp    L349
L112:
  movzbl (%rbx),%eax
  cmp    $0x58,%al
  jne    L247
  mov    -0x50(%rbp),%rax
  lea    0x4(%rax),%rdx
  mov    %rdx,-0x50(%rbp)
  mov    (%rax),%esi
  mov    -0x48(%rbp),%rax
  sub    $0x8,%rsp
  push   $0x41
  mov    %r14d,%r9d
  mov    %r13d,%r8d
  mov    $0x0,%ecx
  mov    $0x10,%edx
  mov    %rax,%rdi
  call   <_Print_i@plt>
  add    $0x10,%rsp
  mov    %eax,%edx
  mov    %r12d,%eax
  add    %edx,%eax
  mov    %eax,%r12d
  jmp    L349
L247:
  movzbl (%rbx),%eax
  cmp    $0x41,%al
  jne    L202
  addq   $0x4,-0x50(%rbp)
  mov    -0x50(%rbp),%rax
  mov    (%rax),%eax
  test   %eax,%eax
  jne    L174
  subq   $0x4,-0x50(%rbp)
  mov    -0x50(%rbp),%rax
  mov    (%rax),%esi
  mov    -0x48(%rbp),%rax
  sub    $0x8,%rsp
  push   $0x41
  mov    %r14d,%r9d
  mov    %r13d,%r8d
  mov    $0x1,%ecx
  mov    $0x10,%edx
  mov    %rax,%rdi
  call   <_Print_i@plt>
  add    $0x10,%rsp
  mov    %eax,%edx
  mov    %r12d,%eax
  add    %edx,%eax
  mov    %eax,%r12d
  addq   $0x4,-0x50(%rbp)
  addq   $0x4,-0x50(%rbp)
  jmp    L349
L174:
  cmp    $0x8,%r13d
  jle    L285
  sub    $0x8,%r13d
  jmp    L251
L285:
  mov    $0x0,%r13d
L251:
  mov    -0x50(%rbp),%rax
  lea    -0x4(%rax),%rdx
  mov    %rdx,-0x50(%rbp)
  mov    (%rax),%esi
  mov    -0x48(%rbp),%rax
  sub    $0x8,%rsp
  push   $0x41
  mov    %r14d,%r9d
  mov    %r13d,%r8d
  mov    $0x1,%ecx
  mov    $0x10,%edx
  mov    %rax,%rdi
  call   <_Print_i@plt>
  add    $0x10,%rsp
  mov    %eax,%edx
  mov    %r12d,%eax
  add    %edx,%eax
  mov    %eax,%r12d
  mov    -0x50(%rbp),%rax
  lea    0x4(%rax),%rdx
  mov    %rdx,-0x50(%rbp)
  mov    (%rax),%esi
  mov    -0x48(%rbp),%rax
  sub    $0x8,%rsp
  push   $0x41
  mov    $0x2,%r9d
  mov    $0x8,%r8d
  mov    $0x1,%ecx
  mov    $0x10,%edx
  mov    %rax,%rdi
  call   <_Print_i@plt>
  add    $0x10,%rsp
  mov    %eax,%edx
  mov    %r12d,%eax
  add    %edx,%eax
  mov    %eax,%r12d
  addq   $0x4,-0x50(%rbp)
  jmp    L349
L202:
  movzbl (%rbx),%eax
  cmp    $0x75,%al
  jne    L243
  mov    -0x50(%rbp),%rax
  lea    0x4(%rax),%rdx
  mov    %rdx,-0x50(%rbp)
  mov    (%rax),%esi
  mov    -0x48(%rbp),%rax
  sub    $0x8,%rsp
  push   $0x61
  mov    %r14d,%r9d
  mov    %r13d,%r8d
  mov    $0x0,%ecx
  mov    $0xa,%edx
  mov    %rax,%rdi
  call   <_Print_i@plt>
  add    $0x10,%rsp
  mov    %eax,%edx
  mov    %r12d,%eax
  add    %edx,%eax
  mov    %eax,%r12d
  jmp    L349
L243:
  movzbl (%rbx),%eax
  cmp    $0x63,%al
  jne    L349
  mov    -0x50(%rbp),%rax
  lea    0x4(%rax),%rdx
  mov    %rdx,-0x50(%rbp)
  mov    (%rax),%eax
  mov    %al,-0x3a(%rbp)
  movb   $0x0,-0x39(%rbp)
  lea    -0x3a(%rbp),%rsi
  mov    -0x48(%rbp),%rax
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %rax,%rdi
  call   <_Print_s@plt>
  mov    %eax,%edx
  mov    %r12d,%eax
  add    %edx,%eax
  mov    %eax,%r12d
  jmp    L349
L104:
  nop
  jmp    L136
L81:
  nop
L136:
  movzbl (%rbx),%eax
  movsbl %al,%edx
  mov    -0x48(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <_PrintChar@plt>
  add    $0x1,%r12d
L349:
  add    $0x1,%rbx
L287:
  movzbl (%rbx),%eax
  test   %al,%al
  jne    L49
  jmp    L78
L17:
  nop
L78:
  cmpq   $0x0,-0x48(%rbp)
  je     L307
  mov    -0x48(%rbp),%rax
  mov    (%rax),%rax
  movb   $0x0,(%rax)
L307:
  mov    %r12d,%eax
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L229
  call   <__stack_chk_fail@plt>
L229:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D4
datatype: string

tool: D4: (null)

assistant: ```c
int _Print(char **out, int *varg) {
  register int width, pad;
  register int pc = 0;
  register char *format = (char *)(*varg++);
  char scr[2];
  for (; *format != 0; ++format) {
    if (*format == '%') {
      ++format;
      width = pad = 0;
      if (*format == '\0')
        break;
      if (*format == '%')
        goto out;
      if (*format == '-') {
        ++format;
        pad = 1;
      }
      while (*format == '0') {
        ++format;
        pad |= 2;
      }
      for (; *format >= '0' && *format <= '9'; ++format) {
        width *= 10;
        width += *format - '0';
      }
      if (*format == 's') {
        register char *s = *((char **)varg++);
        pc += _Print_s(out, s ? s : "(null)", width, pad);
        continue;
      }
      if (*format == 'd') {
        pc += _Print_i(out, *varg++, 10, 1, width, pad, 'a');
        continue;
      }
      if (*format == 'x') {
        pc += _Print_i(out, *varg++, 16, 0, width, pad, 'a');
        continue;
      }
      if (*format == 'X') {
        pc += _Print_i(out, *varg++, 16, 0, width, pad, 'A');
        continue;
      }
      if (*format == 'A') {
        if (*(++varg) == 0) {
          pc += _Print_i(out, *(--varg), 16, 1, width, pad, 'A');
          ++varg;
          ++varg;
        } else {
          if (width > 8)
            width -= 8;
          else
            width = 0;
          pc += _Print_i(out, *(varg--), 16, 1, width, pad, 'A');
          pc += _Print_i(out, *(varg++), 16, 1, 8, 2, 'A');
          ++varg;
        }
        continue;
      }
      if (*format == 'u') {
        pc += _Print_i(out, *varg++, 10, 0, width, pad, 'a');
        continue;
      }
      if (*format == 'c') {
        scr[0] = *varg++;
        scr[1] = '\0';
        pc += _Print_s(out, scr, width, pad);
        continue;
      }
    } else {
    out:
      _PrintChar(out, *format);
      ++pc;
    }
  }
  if (out)
    **out = '\0';
  return pc;
}
```