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

```asm
<c_print_results>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %esi,%eax
  mov    %edx,-0x20(%rbp)
  mov    %ecx,-0x24(%rbp)
  mov    %r8d,-0x28(%rbp)
  mov    %r9d,-0x2c(%rbp)
  movsd  %xmm0,-0x38(%rbp)
  movsd  %xmm1,-0x40(%rbp)
  mov    %al,-0x1c(%rbp)
  lea    D266(%rip),%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x18(%rbp),%rax
  mov    %rax,%rsi
  lea    D293(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movsbl -0x1c(%rbp),%eax
  mov    %eax,%esi
  lea    D5(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpl   $0x0,-0x28(%rbp)
  jne    L4
  mov    -0x20(%rbp),%eax
  cltq
  mov    %rax,-0x10(%rbp)
  cmpl   $0x0,-0x24(%rbp)
  je     L34
  mov    -0x24(%rbp),%eax
  cltq
  mov    -0x10(%rbp),%rdx
  imul   %rdx,%rax
  mov    %rax,-0x10(%rbp)
L34:
  mov    -0x10(%rbp),%rax
  mov    %rax,%rsi
  lea    D88(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L36
L4:
  mov    -0x28(%rbp),%ecx
  mov    -0x24(%rbp),%edx
  mov    -0x20(%rbp),%eax
  mov    %eax,%esi
  lea    D4(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L36:
  mov    -0x2c(%rbp),%eax
  mov    %eax,%esi
  lea    D287(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x38(%rbp),%rax
  movq   %rax,%xmm0
  lea    D242(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x18(%rbp),%eax
  mov    %eax,%esi
  lea    D301(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpl   $0x0,0x10(%rbp)
  je     L13
  mov    0x10(%rbp),%esi
  lea    D20(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L13:
  mov    -0x40(%rbp),%rax
  movq   %rax,%xmm0
  lea    D203(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  cvtsi2ssl 0x18(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movsd  -0x40(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x20(%rbp),%rax
  mov    %rax,%rsi
  lea    D69(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpl   $0x0,0x28(%rbp)
  je     L56
  lea    D237(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  jmp    L35
L56:
  lea    D223(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
L35:
  mov    0x30(%rbp),%rax
  mov    %rax,%rsi
  lea    D44(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x38(%rbp),%rax
  mov    %rax,%rsi
  lea    D241(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D210(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    0x40(%rbp),%rax
  mov    %rax,%rsi
  lea    D61(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x48(%rbp),%rax
  mov    %rax,%rsi
  lea    D63(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x50(%rbp),%rax
  mov    %rax,%rsi
  lea    D154(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x58(%rbp),%rax
  mov    %rax,%rsi
  lea    D40(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x60(%rbp),%rax
  mov    %rax,%rsi
  lea    D53(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x68(%rbp),%rax
  mov    %rax,%rsi
  lea    D263(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D73(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D91(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D239(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D93(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D18(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D235(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D302(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D9(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D259(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  nop
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D266
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D293
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D5
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D88
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D4
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D287
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D242
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D301
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D20
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D203
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D14
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D69
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D237
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D223
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D44
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D241
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D210
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D61
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D63
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D154
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D40
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D53
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D263
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D73
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D91
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D239
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D93
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D18
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D235
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D302
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D9
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D259
type_guessed: string

tool: D266: 1000

tool: D293: 

 %s Benchmark Completed


tool: D5:  Class           =                        %c


tool: D88:  Size            =             %12ld


tool: D4:  Size            =              %3dx %3dx %3d


tool: D287:  Iterations      =             %12d


tool: D242:  Time in seconds =             %12.2f


tool: D301:  Total processes =             %12d


tool: D20:  Compiled procs  =             %12d


tool: D203:  Mop/s total     =             %12.2f


tool: D14:  Mop/s/process   =             %12.2f


tool: D69:  Operation type  = %24s


tool: D237:  Verification    =               SUCCESSFUL

tool: D223:  Verification    =             UNSUCCESSFUL

tool: D44:  Version         =             %12s


tool: D241:  Compile date    =             %12s


tool: D210: 
 Compile options:

tool: D61:     MPICC        = %s


tool: D63:     CLINK        = %s


tool: D154:     CMPI_LIB     = %s


tool: D40:     CMPI_INC     = %s


tool: D53:     CFLAGS       = %s


tool: D263:     CLINKFLAGS   = %s


tool: D73: 


tool: D91:  Please send the results of this run to:


tool: D239:  NPB Development Team

tool: D93:  Internet: npb@nas.nasa.gov
 

tool: D18:  If email is not available, send this to:


tool: D235:  MS T27A-1

tool: D302:  NASA Ames Research Center

tool: D9:  Moffett Field, CA  94035-1000


tool: D259:  Fax: 650-604-3957


assistant: ```c
void c_print_results(char *name, char class, int n1, int n2, int n3, int niter, int nprocs_compiled, int nprocs_total, double t, double mops, char *optype, int passed_verification, char *npbversion, char *compiletime, char *mpicc, char *clink, char *cmpi_lib, char *cmpi_inc, char *cflags, char *clinkflags) {
  char *evalue = "1000";
  printf("\n\n %s Benchmark Completed\n", name);
  printf(" Class           =                        %c\n", class);
  if (n3 == 0) {
    long nn = n1;
    if (n2 != 0)
      nn *= n2;
    printf(" Size            =             %12ld\n", nn);
  } else
    printf(" Size            =              %3dx %3dx %3d\n", n1, n2, n3);
  printf(" Iterations      =             %12d\n", niter);
  printf(" Time in seconds =             %12.2f\n", t);
  printf(" Total processes =             %12d\n", nprocs_total);
  if (nprocs_compiled != 0)
    printf(" Compiled procs  =             %12d\n", nprocs_compiled);
  printf(" Mop/s total     =             %12.2f\n", mops);
  printf(" Mop/s/process   =             %12.2f\n", mops / ((float)nprocs_total));
  printf(" Operation type  = %24s\n", optype);
  if (passed_verification)
    printf(" Verification    =               SUCCESSFUL\n");
  else
    printf(" Verification    =             UNSUCCESSFUL\n");
  printf(" Version         =             %12s\n", npbversion);
  printf(" Compile date    =             %12s\n", compiletime);
  printf("\n Compile options:\n");
  printf("    MPICC        = %s\n", mpicc);
  printf("    CLINK        = %s\n", clink);
  printf("    CMPI_LIB     = %s\n", cmpi_lib);
  printf("    CMPI_INC     = %s\n", cmpi_inc);
  printf("    CFLAGS       = %s\n", cflags);
  printf("    CLINKFLAGS   = %s\n", clinkflags);
  printf("\n\n");
  printf(" Please send the results of this run to:\n\n");
  printf(" NPB Development Team\n");
  printf(" Internet: npb@nas.nasa.gov\n \n");
  printf(" If email is not available, send this to:\n\n");
  printf(" MS T27A-1\n");
  printf(" NASA Ames Research Center\n");
  printf(" Moffett Field, CA  94035-1000\n\n");
  printf(" Fax: 650-604-3957\n\n");
}
```