#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,
                     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 feedbacks and/or the results of this run to:\n\n");
  printf(" NPB Development Team\n");
  printf(" npb@nas.nasa.gov\n\n\n");
}


x86 assembly (clang, -O0):
<c_print_results>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %sil,%al
mov    0x68(%rbp),%rsi
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),%esi
mov    0x20(%rbp),%rsi
mov    0x18(%rbp),%esi
mov    0x10(%rbp),%esi
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    0xe92(%rip),%rax
mov    %rax,-0x38(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xe88(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsbl -0x9(%rbp),%esi
lea    0xe91(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,-0x18(%rbp)
jne    11d6 <c_print_results+0xc6>
movslq -0x10(%rbp),%rax
mov    %rax,-0x40(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     11bf <c_print_results+0xaf>
movslq -0x14(%rbp),%rax
imul   -0x40(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x40(%rbp),%rsi
lea    0xe84(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    11ed <c_print_results+0xdd>
mov    -0x10(%rbp),%esi
mov    -0x14(%rbp),%edx
mov    -0x18(%rbp),%ecx
lea    0xe8e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
lea    0xeaa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x28(%rbp),%xmm0
lea    0xebc(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    0x18(%rbp),%esi
lea    0xed2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,0x10(%rbp)
je     123d <c_print_results+0x12d>
mov    0x10(%rbp),%esi
lea    0xedc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x30(%rbp),%xmm0
lea    0xeee(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  -0x30(%rbp),%xmm0
cvtsi2ssl 0x18(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
divsd  %xmm1,%xmm0
lea    0xef5(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    0x20(%rbp),%rsi
lea    0xf0a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,0x28(%rbp)
je     129f <c_print_results+0x18f>
lea    0xf0b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12ad <c_print_results+0x19d>
lea    0xf25(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x30(%rbp),%rsi
lea    0xf40(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x38(%rbp),%rsi
lea    0xf53(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf6a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x40(%rbp),%rsi
lea    0xf6c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x48(%rbp),%rsi
lea    0xf71(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x50(%rbp),%rsi
lea    0xf76(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x58(%rbp),%rsi
lea    0xf7b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x60(%rbp),%rsi
lea    0xf80(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x68(%rbp),%rsi
lea    0xf85(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf80(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<c_print_results>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
movsd  %xmm1,0x10(%rsp)
movsd  %xmm0,0x18(%rsp)
mov    %r9d,0x8(%rsp)
mov    %r8d,%r15d
mov    %ecx,%r14d
mov    %edx,%r12d
mov    %esi,%ebp
mov    %rdi,%rsi
mov    0xf8(%rsp),%rax
mov    %rax,0x60(%rsp)
mov    0xf0(%rsp),%rax
mov    %rax,0x58(%rsp)
mov    0xe8(%rsp),%rax
mov    %rax,0x50(%rsp)
mov    0xe0(%rsp),%rax
mov    %rax,0x48(%rsp)
mov    0xd8(%rsp),%rax
mov    %rax,0x40(%rsp)
mov    0xd0(%rsp),%rax
mov    %rax,0x38(%rsp)
mov    0xc8(%rsp),%rax
mov    %rax,0x30(%rsp)
mov    0xc0(%rsp),%rax
mov    %rax,0x28(%rsp)
mov    0xb8(%rsp),%eax
mov    %eax,0xc(%rsp)
mov    0xb0(%rsp),%rax
mov    %rax,0x20(%rsp)
mov    0xa8(%rsp),%r13d
mov    0xa0(%rsp),%ebx
lea    0xe1d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe2a(%rip),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
test   %r15d,%r15d
je     1218 <c_print_results+0xf8>
lea    0xe69(%rip),%rdi
mov    %r12d,%esi
mov    %r14d,%edx
mov    %r15d,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    123c <c_print_results+0x11c>
movslq %r12d,%rax
test   %r14d,%r14d
mov    $0x1,%ecx
cmovne %r14d,%ecx
movslq %ecx,%rsi
imul   %rax,%rsi
lea    0xe14(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe59(%rip),%rdi
mov    0x8(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe6c(%rip),%rdi
movsd  0x18(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe7f(%rip),%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
test   %ebx,%ebx
je     1287 <c_print_results+0x167>
lea    0xe8f(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xea4(%rip),%rdi
movsd  0x10(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %r13d,%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0x10(%rsp),%xmm0
divsd  %xmm1,%xmm0
lea    0xea1(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xeba(%rip),%rdi
mov    0x20(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0xc(%rsp)
lea    0xf8f(%rip),%rax
lea    0x102c(%rip),%rdi
cmove  %rax,%rdi
call   1030 <puts@plt>
lea    0xea4(%rip),%rdi
mov    0x28(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeb6(%rip),%rdi
mov    0x30(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf7e(%rip),%rdi
call   1030 <puts@plt>
lea    0xebc(%rip),%rdi
mov    0x38(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec0(%rip),%rdi
mov    0x40(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec4(%rip),%rdi
mov    0x48(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec8(%rip),%rdi
mov    0x50(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xecc(%rip),%rdi
mov    0x58(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xed0(%rip),%rdi
mov    0x60(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf76(%rip),%rdi
call   1030 <puts@plt>
lea    0xf07(%rip),%rdi
call   1030 <puts@plt>
lea    0xf36(%rip),%rdi
call   1030 <puts@plt>
lea    0xf40(%rip),%rdi
add    $0x68,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <puts@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 = [46 x i8] c" Class = %c\0A\00"
@.str.3 = [38 x i8] c" Size = %12ld\0A\00"
@.str.4 = [45 x i8] c" Size = %3dx %3dx %3d\0A\00"
@.str.5 = [37 x i8] c" Iterations = %12d\0A\00"
@.str.6 = [39 x i8] c" Time in seconds = %12.2f\0A\00"
@.str.7 = [37 x i8] c" Total processes = %12d\0A\00"
@.str.8 = [37 x i8] c" Compiled procs = %12d\0A\00"
@.str.9 = [39 x i8] c" Mop/s total = %12.2f\0A\00"
@.str.10 = [39 x i8] c" Mop/s/process = %12.2f\0A\00"
@.str.11 = [25 x i8] c" Operation type = %24s\0A\00"
@.str.12 = [45 x i8] c" Verification = SUCCESSFUL\0A\00"
@.str.13 = [45 x i8] c" Verification = UNSUCCESSFUL\0A\00"
@.str.14 = [37 x i8] c" Version = %12s\0A\00"
@.str.15 = [37 x i8] c" Compile date = %12s\0A\00"
@.str.16 = [20 x i8] c"\0A Compile options:\0A\00"
@.str.17 = [23 x i8] c" MPICC = %s\0A\00"
@.str.18 = [23 x i8] c" CLINK = %s\0A\00"
@.str.19 = [23 x i8] c" CMPI_LIB = %s\0A\00"
@.str.20 = [23 x i8] c" CMPI_INC = %s\0A\00"
@.str.21 = [23 x i8] c" CFLAGS = %s\0A\00"
@.str.22 = [23 x i8] c" CLINKFLAGS = %s\0A\00"
@.str.23 = [3 x i8] c"\0A\0A\00"
@.str.24 = [60 x i8] c" Please send feedbacks and/or the results of this run to:\0A\0A\00"
@.str.25 = [23 x i8] c" NPB Development Team\0A\00"
@.str.26 = [21 x i8] c" npb@nas.nasa.gov\0A\0A\0A\00"
define void @c_print_results(i8* %0, i8 signext %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7, double %8, double %9, i8* %10, i32 %11, i8* %12, i8* %13, i8* %14, i8* %15, i8* %16, i8* %17, i8* %18, i8* %19) {
%21 = alloca i8*
%22 = alloca i8
%23 = alloca i32
%24 = alloca i32
%25 = alloca i32
%26 = alloca i32
%27 = alloca i32
%28 = alloca i32
%29 = alloca double
%30 = alloca double
%31 = alloca i8*
%32 = alloca i32
%33 = alloca i8*
%34 = alloca i8*
%35 = alloca i8*
%36 = alloca i8*
%37 = alloca i8*
%38 = alloca i8*
%39 = alloca i8*
%40 = alloca i8*
%41 = alloca i8*
%42 = alloca i64
store i8* %0, i8** %21
store i8 %1, i8* %22
store i32 %2, i32* %23
store i32 %3, i32* %24
store i32 %4, i32* %25
store i32 %5, i32* %26
store i32 %6, i32* %27
store i32 %7, i32* %28
store double %8, double* %29
store double %9, double* %30
store i8* %10, i8** %31
store i32 %11, i32* %32
store i8* %12, i8** %33
store i8* %13, i8** %34
store i8* %14, i8** %35
store i8* %15, i8** %36
store i8* %16, i8** %37
store i8* %17, i8** %38
store i8* %18, i8** %39
store i8* %19, i8** %40
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8** %41
%43 = load i8*, i8** %21
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i8* %43)
%45 = load i8, i8* %22
%46 = sext i8 %45 to i32
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 %46)
%48 = load i32, i32* %25
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %63
50: ; preds = %20
%51 = load i32, i32* %23
%52 = sext i32 %51 to i64
store i64 %52, i64* %42
%53 = load i32, i32* %24
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %60
55: ; preds = %50
%56 = load i32, i32* %24
%57 = sext i32 %56 to i64
%58 = load i64, i64* %42
%59 = mul nsw i64 %58, %57
store i64 %59, i64* %42
br label %60
60: ; preds = %55, %50
%61 = load i64, i64* %42
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.3, i64 0, i64 0), i64 %61)
br label %68
63: ; preds = %20
%64 = load i32, i32* %23
%65 = load i32, i32* %24
%66 = load i32, i32* %25
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0), i32 %64, i32 %65, i32 %66)
br label %68
68: ; preds = %63, %60
%69 = load i32, i32* %26
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i32 %69)
%71 = load double, double* %29
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), double %71)
%73 = load i32, i32* %28
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0), i32 %73)
%75 = load i32, i32* %27
%76 = icmp ne i32 %75, 0
br i1 %76, label %77, label %80
77: ; preds = %68
%78 = load i32, i32* %27
%79 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0), i32 %78)
br label %80
80: ; preds = %77, %68
%81 = load double, double* %30
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.9, i64 0, i64 0), double %81)
%83 = load double, double* %30
%84 = load i32, i32* %28
%85 = sitofp i32 %84 to float
%86 = fpext float %85 to double
%87 = fdiv double %83, %86
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.10, i64 0, i64 0), double %87)
%89 = load i8*, i8** %31
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0), i8* %89)
%91 = load i32, i32* %32
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %95
93: ; preds = %80
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.12, i64 0, i64 0))
br label %97
95: ; preds = %80
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.13, i64 0, i64 0))
br label %97
97: ; preds = %95, %93
%98 = load i8*, i8** %33
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.14, i64 0, i64 0), i8* %98)
%100 = load i8*, i8** %34
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.15, i64 0, i64 0), i8* %100)
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.16, i64 0, i64 0))
%103 = load i8*, i8** %35
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.17, i64 0, i64 0), i8* %103)
%105 = load i8*, i8** %36
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.18, i64 0, i64 0), i8* %105)
%107 = load i8*, i8** %37
%108 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.19, i64 0, i64 0), i8* %107)
%109 = load i8*, i8** %38
%110 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.20, i64 0, i64 0), i8* %109)
%111 = load i8*, i8** %39
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.21, i64 0, i64 0), i8* %111)
%113 = load i8*, i8** %40
%114 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.22, i64 0, i64 0), i8* %113)
%115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0))
%116 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.24, i64 0, i64 0))
%117 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.25, i64 0, i64 0))
%118 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.26, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [27 x i8] c"\0A\0A %s Benchmark Completed\0A\00"
@.str.2 = [46 x i8] c" Class = %c\0A\00"
@.str.3 = [38 x i8] c" Size = %12ld\0A\00"
@.str.4 = [45 x i8] c" Size = %3dx %3dx %3d\0A\00"
@.str.5 = [37 x i8] c" Iterations = %12d\0A\00"
@.str.6 = [39 x i8] c" Time in seconds = %12.2f\0A\00"
@.str.7 = [37 x i8] c" Total processes = %12d\0A\00"
@.str.8 = [37 x i8] c" Compiled procs = %12d\0A\00"
@.str.9 = [39 x i8] c" Mop/s total = %12.2f\0A\00"
@.str.10 = [39 x i8] c" Mop/s/process = %12.2f\0A\00"
@.str.11 = [25 x i8] c" Operation type = %24s\0A\00"
@.str.14 = [37 x i8] c" Version = %12s\0A\00"
@.str.15 = [37 x i8] c" Compile date = %12s\0A\00"
@.str.17 = [23 x i8] c" MPICC = %s\0A\00"
@.str.18 = [23 x i8] c" CLINK = %s\0A\00"
@.str.19 = [23 x i8] c" CMPI_LIB = %s\0A\00"
@.str.20 = [23 x i8] c" CMPI_INC = %s\0A\00"
@.str.21 = [23 x i8] c" CFLAGS = %s\0A\00"
@.str.22 = [23 x i8] c" CLINKFLAGS = %s\0A\00"
@str = [44 x i8] c" Verification = UNSUCCESSFUL\00"
@str.27 = [19 x i8] c"\0A Compile options:\00"
@str.28 = [2 x i8] c"\0A\00"
@str.29 = [59 x i8] c" Please send feedbacks and/or the results of this run to:\0A\00"
@str.30 = [22 x i8] c" NPB Development Team\00"
@str.31 = [20 x i8] c" npb@nas.nasa.gov\0A\0A\00"
@str.32 = [44 x i8] c" Verification = SUCCESSFUL\00"
define void @c_print_results(i8* %0, i8 signext %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7, double %8, double %9, i8* %10, i32 %11, i8* %12, i8* %13, i8* %14, i8* %15, i8* %16, i8* %17, i8* %18, i8* %19) {
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i8* %0)
%22 = sext i8 %1 to i32
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 %22)
%24 = icmp eq i32 %4, 0
br i1 %24, label %25, label %32
25: ; preds = %20
%26 = sext i32 %2 to i64
%27 = icmp eq i32 %3, 0
%28 = select i1 %27, i32 1, i32 %3
%29 = sext i32 %28 to i64
%30 = mul nsw i64 %29, %26
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.3, i64 0, i64 0), i64 %30)
br label %34
32: ; preds = %20
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0), i32 %2, i32 %3, i32 %4)
br label %34
34: ; preds = %32, %25
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i32 %5)
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), double %8)
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0), i32 %7)
%38 = icmp eq i32 %6, 0
br i1 %38, label %41, label %39
39: ; preds = %34
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0), i32 %6)
br label %41
41: ; preds = %39, %34
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.9, i64 0, i64 0), double %9)
%43 = sitofp i32 %7 to float
%44 = fpext float %43 to double
%45 = fdiv double %9, %44
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.10, i64 0, i64 0), double %45)
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0), i8* %10)
%48 = icmp eq i32 %11, 0
%49 = select i1 %48, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @str, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @str.32, i64 0, i64 0)
%50 = tail call i32 @puts(i8* dereferenceable(1) %49)
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.14, i64 0, i64 0), i8* %12)
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.15, i64 0, i64 0), i8* %13)
%53 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.27, i64 0, i64 0))
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.17, i64 0, i64 0), i8* %14)
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.18, i64 0, i64 0), i8* %15)
%56 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.19, i64 0, i64 0), i8* %16)
%57 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.20, i64 0, i64 0), i8* %17)
%58 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.21, i64 0, i64 0), i8* %18)
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.22, i64 0, i64 0), i8* %19)
%60 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.28, i64 0, i64 0))
%61 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.29, i64 0, i64 0))
%62 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.30, i64 0, i64 0))
%63 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.31, i64 0, i64 0))
ret void
}