#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
void c_print_results(char *name, char class, int n1, int n2, int n3, int niter,
                     double t, double mops, char *optype,
                     int passed_verification, char *npbversion,
                     char *compiletime, char *cc, char *clink, char *c_lib,
                     char *c_inc, char *cflags, char *clinkflags, char *rand) {
  char *evalue = "1000";
  printf("\n\n %s Benchmark Completed\n", name);
  printf(" Time in seconds =             %12.2f\n", t);
}


x86 assembly (clang, -O0):
<c_print_results>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %sil,%al
mov    0x60(%rbp),%rsi
mov    0x58(%rbp),%rsi
mov    0x50(%rbp),%rsi
mov    0x48(%rbp),%rsi
mov    0x40(%rbp),%rsi
mov    0x38(%rbp),%rsi
mov    0x30(%rbp),%rsi
mov    0x28(%rbp),%rsi
mov    0x20(%rbp),%rsi
mov    0x18(%rbp),%esi
mov    0x10(%rbp),%rsi
mov    %rdi,-0x8(%rbp)
mov    %al,-0x9(%rbp)
mov    %edx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
mov    %r8d,-0x18(%rbp)
mov    %r9d,-0x1c(%rbp)
movsd  %xmm0,-0x28(%rbp)
movsd  %xmm1,-0x30(%rbp)
lea    0xe94(%rip),%rax
mov    %rax,-0x38(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xe8a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x28(%rbp),%xmm0
lea    0xe92(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<c_print_results>:
push   %rax
movsd  %xmm0,(%rsp)
mov    %rdi,%rsi
lea    0xee0(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xeed(%rip),%rdi
movsd  (%rsp),%xmm0
mov    $0x1,%al
pop    %rcx
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [5 x i8] c"1000\00"
@.str.1 = [27 x i8] c"\0A\0A %s Benchmark Completed\0A\00"
@.str.2 = [39 x i8] c" Time in seconds = %12.2f\0A\00"
define void @c_print_results(i8* %0, i8 signext %1, i32 %2, i32 %3, i32 %4, i32 %5, double %6, double %7, i8* %8, i32 %9, i8* %10, i8* %11, i8* %12, i8* %13, i8* %14, i8* %15, i8* %16, i8* %17, i8* %18) {
%20 = alloca i8*
%21 = alloca i8
%22 = alloca i32
%23 = alloca i32
%24 = alloca i32
%25 = alloca i32
%26 = alloca double
%27 = alloca double
%28 = alloca i8*
%29 = alloca i32
%30 = alloca i8*
%31 = alloca i8*
%32 = alloca i8*
%33 = alloca i8*
%34 = alloca i8*
%35 = alloca i8*
%36 = alloca i8*
%37 = alloca i8*
%38 = alloca i8*
%39 = alloca i8*
store i8* %0, i8** %20
store i8 %1, i8* %21
store i32 %2, i32* %22
store i32 %3, i32* %23
store i32 %4, i32* %24
store i32 %5, i32* %25
store double %6, double* %26
store double %7, double* %27
store i8* %8, i8** %28
store i32 %9, i32* %29
store i8* %10, i8** %30
store i8* %11, i8** %31
store i8* %12, i8** %32
store i8* %13, i8** %33
store i8* %14, i8** %34
store i8* %15, i8** %35
store i8* %16, i8** %36
store i8* %17, i8** %37
store i8* %18, i8** %38
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8** %39
%40 = load i8*, i8** %20
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i8* %40)
%42 = load double, double* %26
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.2, i64 0, i64 0), double %42)
ret void
}

LLVM IR (-O2):
@.str.1 = [27 x i8] c"\0A\0A %s Benchmark Completed\0A\00"
@.str.2 = [39 x i8] c" Time in seconds = %12.2f\0A\00"
define void @c_print_results(i8* %0, i8 signext %1, i32 %2, i32 %3, i32 %4, i32 %5, double %6, double %7, i8* nocapture readnone %8, i32 %9, i8* nocapture readnone %10, i8* nocapture readnone %11, i8* nocapture readnone %12, i8* nocapture readnone %13, i8* nocapture readnone %14, i8* nocapture readnone %15, i8* nocapture readnone %16, i8* nocapture readnone %17, i8* nocapture readnone %18) {
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i8* %0)
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.2, i64 0, i64 0), double %6)
ret void
}