user: Demonstrate the C code that generates the assembly output below:

```asm
<print_results>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %rdx,-0x28(%rbp)
  mov    %rcx,-0x30(%rbp)
  mov    %r8,-0x38(%rbp)
  mov    %r9,-0x40(%rbp)
  lea    D166(%rip),%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x18(%rbp),%rax
  mov    %rax,%rsi
  lea    D61(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%esi
  lea    D242(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x38(%rbp),%rax
  mov    (%rax),%ecx
  mov    -0x30(%rbp),%rax
  mov    (%rax),%edx
  mov    -0x28(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%esi
  lea    D115(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x40(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%esi
  lea    D204(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x20(%rbp),%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  lea    D54(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x18(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%esi
  lea    D190(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpq   $0x0,0x10(%rbp)
  je     L27
  mov    0x10(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%esi
  lea    D23(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L27:
  mov    0x28(%rbp),%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  lea    D47(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x28(%rbp),%rax
  movsd  (%rax),%xmm0
  mov    0x18(%rbp),%rax
  mov    (%rax),%eax
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  cvtss2sd %xmm1,%xmm1
  divsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  lea    D29(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x30(%rbp),%rax
  mov    %rax,%rsi
  lea    D272(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x38(%rbp),%rax
  mov    (%rax),%eax
  test   %eax,%eax
  je     L28
  lea    D51(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  jmp    L18
L28:
  lea    D293(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
L18:
  mov    0x40(%rbp),%rax
  mov    %rax,%rsi
  lea    D7(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x48(%rbp),%rax
  mov    %rax,%rsi
  lea    D200(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D156(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    0x50(%rbp),%rax
  mov    %rax,%rsi
  lea    D306(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x58(%rbp),%rax
  mov    %rax,%rsi
  lea    D244(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x60(%rbp),%rax
  mov    %rax,%rsi
  lea    D275(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x68(%rbp),%rax
  mov    %rax,%rsi
  lea    D53(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x70(%rbp),%rax
  mov    %rax,%rsi
  lea    D252(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x78(%rbp),%rax
  mov    %rax,%rsi
  lea    D169(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D284(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D221(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D162(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D192(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D16(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D56(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D202(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D106(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  nop
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D166
datatype: string
name: extract_symbolic_data
arguments: label: D61
datatype: string
name: extract_symbolic_data
arguments: label: D242
datatype: string
name: extract_symbolic_data
arguments: label: D115
datatype: string
name: extract_symbolic_data
arguments: label: D204
datatype: string
name: extract_symbolic_data
arguments: label: D54
datatype: string
name: extract_symbolic_data
arguments: label: D190
datatype: string
name: extract_symbolic_data
arguments: label: D23
datatype: string
name: extract_symbolic_data
arguments: label: D47
datatype: string
name: extract_symbolic_data
arguments: label: D29
datatype: string
name: extract_symbolic_data
arguments: label: D272
datatype: string
name: extract_symbolic_data
arguments: label: D51
datatype: string
name: extract_symbolic_data
arguments: label: D293
datatype: string
name: extract_symbolic_data
arguments: label: D7
datatype: string
name: extract_symbolic_data
arguments: label: D200
datatype: string
name: extract_symbolic_data
arguments: label: D156
datatype: string
name: extract_symbolic_data
arguments: label: D306
datatype: string
name: extract_symbolic_data
arguments: label: D244
datatype: string
name: extract_symbolic_data
arguments: label: D275
datatype: string
name: extract_symbolic_data
arguments: label: D53
datatype: string
name: extract_symbolic_data
arguments: label: D252
datatype: string
name: extract_symbolic_data
arguments: label: D169
datatype: string
name: extract_symbolic_data
arguments: label: D284
datatype: string
name: extract_symbolic_data
arguments: label: D1
datatype: string
name: extract_symbolic_data
arguments: label: D221
datatype: string
name: extract_symbolic_data
arguments: label: D162
datatype: string
name: extract_symbolic_data
arguments: label: D192
datatype: string
name: extract_symbolic_data
arguments: label: D16
datatype: string
name: extract_symbolic_data
arguments: label: D56
datatype: string
name: extract_symbolic_data
arguments: label: D202
datatype: string
name: extract_symbolic_data
arguments: label: D106
datatype: string

tool: D166: 1000

tool: D61: 

 %s Benchmark Completed


tool: D242:  Class           =                        %c


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


tool: D204:  Iterations      =             %12d


tool: D54:  Time in seconds =             %12.2f


tool: D190:  Total processes =             %12d


tool: D23:  Compiled procs  =             %12d


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


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


tool: D272:  Operation type  = %24s


tool: D51:  Verification    =               SUCCESSFUL

tool: D293:  Verification    =             UNSUCCESSFUL

tool: D7:  Version         =             %12s


tool: D200:  Compile date    =             %12s


tool: D156: 
 Compile options:

tool: D306:     MPICC        = %s


tool: D244:     CLINK        = %s


tool: D275:     CMPI_LIB     = %s


tool: D53:     CMPI_INC     = %s


tool: D252:     CFLAGS       = %s


tool: D169:     CLINKFLAGS   = %s


tool: D284: 


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


tool: D221:  NPB Development Team

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

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


tool: D16:  MS T27A-1

tool: D56:  NASA Ames Research Center

tool: D202:  Moffett Field, CA  94035-1000


tool: D106:  Fax: 650-604-3957


assistant: ```c
void 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_);
  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");
}
```