user: 请将以下的汇编代码转换成C语言代码：

```asm
<c_print_results>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %esi,%r12d
  mov    %edx,%ebp
  mov    %ecx,%r13d
  mov    %r8d,%r14d
  mov    %r9d,%r15d
  mov    0x50(%rsp),%ebx
  movsd  %xmm0,0x8(%rsp)
  movsd  %xmm1,(%rsp)
  mov    %rdi,%rsi
  lea    D118(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movsbl %r12b,%esi
  lea    D19(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  test   %r14d,%r14d
  jne    L39
  movslq %ebp,%rsi
  test   %r13d,%r13d
  je     L18
  movslq %r13d,%r13
  imul   %r13,%rsi
L18:
  lea    D231(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L27:
  mov    %r15d,%esi
  lea    D241(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movsd  0x8(%rsp),%xmm0
  lea    D254(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x58(%rsp),%esi
  lea    D131(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  test   %ebx,%ebx
  jne    L30
L31:
  movsd  (%rsp),%xmm0
  lea    D75(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm1,%xmm1
  cvtsi2ssl 0x58(%rsp),%xmm1
  cvtss2sd %xmm1,%xmm1
  movsd  (%rsp),%xmm0
  divsd  %xmm1,%xmm0
  lea    D87(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x60(%rsp),%rsi
  lea    D174(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpl   $0x0,0x68(%rsp)
  je     L35
  lea    D143(%rip),%rdi
  call   <puts@plt>
L14:
  mov    0x70(%rsp),%rsi
  lea    D7(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x78(%rsp),%rsi
  lea    D58(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D76(%rip),%rdi
  call   <puts@plt>
  mov    0x80(%rsp),%rsi
  lea    D91(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x88(%rsp),%rsi
  lea    D28(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x90(%rsp),%rsi
  lea    D96(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x98(%rsp),%rsi
  lea    D41(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0xa0(%rsp),%rsi
  lea    D286(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0xa8(%rsp),%rsi
  lea    D260(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D276(%rip),%rdi
  call   <puts@plt>
  lea    D237(%rip),%rdi
  call   <puts@plt>
  lea    D247(%rip),%rdi
  call   <puts@plt>
  lea    D34(%rip),%rdi
  call   <puts@plt>
  lea    D293(%rip),%rdi
  call   <puts@plt>
  lea    D233(%rip),%rdi
  call   <puts@plt>
  lea    D191(%rip),%rdi
  call   <puts@plt>
  lea    D201(%rip),%rdi
  call   <puts@plt>
  lea    D285(%rip),%rdi
  call   <puts@plt>
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L39:
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %ebp,%esi
  lea    D297(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L27
L30:
  mov    %ebx,%esi
  lea    D156(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L31
L35:
  lea    D206(%rip),%rdi
  call   <puts@plt>
  jmp    L14
```

tool_calls: name: unpack_data
arguments: data_label: D118
datatype: string
name: unpack_data
arguments: data_label: D19
datatype: string
name: unpack_data
arguments: data_label: D231
datatype: string
name: unpack_data
arguments: data_label: D241
datatype: string
name: unpack_data
arguments: data_label: D254
datatype: string
name: unpack_data
arguments: data_label: D131
datatype: string
name: unpack_data
arguments: data_label: D75
datatype: string
name: unpack_data
arguments: data_label: D87
datatype: string
name: unpack_data
arguments: data_label: D174
datatype: string
name: unpack_data
arguments: data_label: D143
datatype: string
name: unpack_data
arguments: data_label: D7
datatype: string
name: unpack_data
arguments: data_label: D58
datatype: string
name: unpack_data
arguments: data_label: D76
datatype: string
name: unpack_data
arguments: data_label: D91
datatype: string
name: unpack_data
arguments: data_label: D28
datatype: string
name: unpack_data
arguments: data_label: D96
datatype: string
name: unpack_data
arguments: data_label: D41
datatype: string
name: unpack_data
arguments: data_label: D286
datatype: string
name: unpack_data
arguments: data_label: D260
datatype: string
name: unpack_data
arguments: data_label: D276
datatype: string
name: unpack_data
arguments: data_label: D237
datatype: string
name: unpack_data
arguments: data_label: D247
datatype: string
name: unpack_data
arguments: data_label: D34
datatype: string
name: unpack_data
arguments: data_label: D293
datatype: string
name: unpack_data
arguments: data_label: D233
datatype: string
name: unpack_data
arguments: data_label: D191
datatype: string
name: unpack_data
arguments: data_label: D201
datatype: string
name: unpack_data
arguments: data_label: D285
datatype: string
name: unpack_data
arguments: data_label: D297
datatype: string
name: unpack_data
arguments: data_label: D156
datatype: string
name: unpack_data
arguments: data_label: D206
datatype: string

tool: D118: 

 %s Benchmark Completed


tool: D19:  Class           =                        %c


tool: D231:  Size            =             %12ld


tool: D241:  Iterations      =             %12d


tool: D254:  Time in seconds =             %12.2f


tool: D131:  Total processes =             %12d


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


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


tool: D174:  Operation type  = %24s


tool: D143:  Verification    =               SUCCESSFUL

tool: D7:  Version         =             %12s


tool: D58:  Compile date    =             %12s


tool: D76: 
 Compile options:

tool: D91:     MPICC        = %s


tool: D28:     CLINK        = %s


tool: D96:     CMPI_LIB     = %s


tool: D41:     CMPI_INC     = %s


tool: D286:     CFLAGS       = %s


tool: D260:     CLINKFLAGS   = %s


tool: D276: 


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


tool: D247:  NPB Development Team

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

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


tool: D233:  MS T27A-1

tool: D191:  NASA Ames Research Center

tool: D201:  Moffett Field, CA  94035-1000


tool: D285:  Fax: 650-604-3957


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


tool: D156:  Compiled procs  =             %12d


tool: D206:  Verification    =             UNSUCCESSFUL

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");
}
```