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

```asm
<round_for_all>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x18(%rbp)
  lea    D39(%rip),%rax
  mov    %rax,%rdi
  call   <mpfr_printf@plt>
  mov    -0x18(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L60
L2:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <putchar@plt>
  mov    -0x8(%rbp),%rax
  sub    -0x18(%rbp),%rax
  mov    %rax,%rcx
  movabs $0x8888888888888889,%rdx
  mov    %rcx,%rax
  imul   %rdx
  lea    (%rdx,%rcx,1),%rax
  sar    $0x5,%rax
  mov    %rcx,%rsi
  sar    $0x3f,%rsi
  sub    %rsi,%rax
  mov    %rax,%rdx
  mov    %rdx,%rax
  shl    $0x4,%rax
  sub    %rdx,%rax
  shl    $0x2,%rax
  sub    %rax,%rcx
  mov    %rcx,%rdx
  cmp    $0x3b,%rdx
  jne    L65
  mov    -0x8(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L65
  lea    D24(%rip),%rax
  mov    %rax,%rdi
  call   <mpfr_printf@plt>
L65:
  addq   $0x1,-0x8(%rbp)
L60:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L2
  lea    D46(%rip),%rax
  mov    %rax,%rdi
  call   <mpfr_printf@plt>
  movl   $0x0,-0xc(%rbp)
  jmp    L17
L16:
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  lea    D37(%rip),%rax
  mov    (%rdx,%rax,1),%r8d
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  lea    D70(%rip),%rax
  mov    (%rdx,%rax,1),%edi
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  lea    D91(%rip),%rax
  mov    (%rdx,%rax,1),%ecx
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  lea    D97(%rip),%rax
  mov    (%rdx,%rax,1),%edx
  mov    -0xc(%rbp),%eax
  movslq %eax,%rsi
  mov    %rsi,%rax
  add    %rax,%rax
  add    %rsi,%rax
  shl    $0x3,%rax
  mov    %rax,%rsi
  lea    D30(%rip),%rax
  mov    (%rsi,%rax,1),%rsi
  mov    -0x18(%rbp),%rax
  mov    %r8d,%r9d
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <round_str@plt>
  cmpl   $0x5,-0xc(%rbp)
  jg     L55
  lea    D34(%rip),%rax
  mov    %rax,%rdi
  call   <mpfr_printf@plt>
L55:
  addl   $0x1,-0xc(%rbp)
L17:
  cmpl   $0x6,-0xc(%rbp)
  jle    L16
  lea    D31(%rip),%rax
  mov    %rax,%rdi
  call   <mpfr_printf@plt>
  nop
  leave
  ret
```

tool_calls: name: read_data
arguments: tag: D39
type_infered: string
name: read_data
arguments: tag: D24
type_infered: string
name: read_data
arguments: tag: D46
type_infered: string
name: read_data
arguments: tag: D34
type_infered: string
name: read_data
arguments: tag: D31
type_infered: string

tool: D39:   TEST ("

tool: D24: "
	"

tool: D46: ",


tool: D34: ,


tool: D31: ),


assistant: ```c
void round_for_all(const char *s) {
  static const struct fmt {
    const char *suffix;
    int prec;
    int emin;
    int emax;
    bool need_exact;
  } formats[7] = {
      {"f", 24, -148, 128, false}, {"", 53, -1073, 1024, false}, {"L", 53, -1073, 1024, false}, {"L", 64, -16444, 16384, false}, {"L", 64, -16445, 16384, false}, {"L", 106, -1073, 1024, true}, {"L", 113, -16493, 16384, false},
  };
  mpfr_printf("  TEST (\"");
  const char *p;
  for (p = s; *p; p++) {
    putchar(*p);
    if ((p - s) % 60 == 59 && p[1])
      mpfr_printf("\"\n\t\"");
  }
  mpfr_printf("\",\n");
  int i;
  for (i = 0; i < 7; i++) {
    round_str(s, formats[i].suffix, formats[i].prec, formats[i].emin, formats[i].emax, formats[i].need_exact);
    if (i < 6)
      mpfr_printf(",\n");
  }
  mpfr_printf("),\n");
}
```