#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 *, ...);
int /*<<< orphan*/ scanf(char *, ...);
int main(void) {
  int num = 4;
  int ssn[num];
  char yn[num];
  float average[num];
  float quiz_avg, lab_avg, exam1, exam2, final_exam;
  int i = 0;
  scanf("\n%*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s \n");
  for (i = 0; i < num; i++) {
    scanf("%*s %*s %*s %*d%*c%*d%*c%d %*d%*c%*d%*c%*d %c %f %f %f %f %f",
          &ssn[i], &yn[i], &quiz_avg, &lab_avg, &exam1, &exam2, &final_exam);
    average[i] = quiz_avg * 0.07 + lab_avg * 0.24 + exam1 * 0.185 +
                 exam2 * 0.185 + final_exam * 0.32;
  }
  printf("\n\n%3s|%4s   |%10s   |%6s | \n", "", "SSN", "Average", "263?");
  printf("   ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐\n");
  for (i = 0; i < num; i++) {
    printf("%d  | %04d  |%9.3f%%   |%4c   |\n", i, ssn[i], average[i], yn[i]);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x4,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x10(%rbp)
lea    0xf(,%rax,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x58(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%eax
mov    %rax,%rdx
add    $0xf,%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x50(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x20(%rbp)
mov    -0x8(%rbp),%eax
lea    0xf(,%rax,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x48(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x28(%rbp)
movl   $0x0,-0x40(%rbp)
lea    0xe76(%rip),%rdi
mov    $0x0,%al
call   1040 <scanf@plt>
movl   $0x0,-0x40(%rbp)
mov    -0x40(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    12a9 <main+0x189>
mov    -0x50(%rbp),%rdx
mov    -0x58(%rbp),%rsi
movslq -0x40(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
movslq -0x40(%rbp),%rax
add    %rax,%rdx
lea    0xe6e(%rip),%rdi
lea    -0x2c(%rbp),%rcx
lea    -0x30(%rbp),%r8
lea    -0x34(%rbp),%r9
lea    -0x38(%rbp),%r10
lea    -0x3c(%rbp),%rax
sub    $0x10,%rsp
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
mov    $0x0,%al
call   1040 <scanf@plt>
add    $0x10,%rsp
mov    -0x48(%rbp),%rax
movss  -0x2c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movss  -0x30(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xde9(%rip),%xmm2
mulsd  %xmm2,%xmm0
movsd  0xdd5(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movss  -0x34(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xdb4(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movss  -0x38(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xd9b(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movss  -0x3c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd7a(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movslq -0x40(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    11b8 <main+0x98>
lea    0xde0(%rip),%rdi
lea    0xd9b(%rip),%rsi
lea    0xdef(%rip),%rdx
lea    0xdec(%rip),%rcx
lea    0xded(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xde4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x40(%rbp)
mov    -0x40(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    133b <main+0x21b>
mov    -0x50(%rbp),%rax
mov    -0x48(%rbp),%rcx
mov    -0x58(%rbp),%rdx
mov    -0x40(%rbp),%esi
movslq -0x40(%rbp),%rdi
mov    (%rdx,%rdi,4),%edx
movslq -0x40(%rbp),%rdi
movss  (%rcx,%rdi,4),%xmm0
cvtss2sd %xmm0,%xmm0
movslq -0x40(%rbp),%rcx
movsbl (%rax,%rcx,1),%ecx
lea    0xdfa(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    12e8 <main+0x1c8>
movl   $0x0,-0x4(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
lea    0xedb(%rip),%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xc(%rsp),%rbp
lea    0x10(%rsp),%r13
lea    0xef6(%rip),%rbx
lea    0x20(%rsp),%rsi
mov    %rsp,%rdx
lea    0x1c(%rsp),%r14
lea    0x18(%rsp),%r15
lea    0x14(%rsp),%r12
mov    %rbx,%rdi
mov    %r14,%rcx
mov    %r15,%r8
mov    %r12,%r9
xor    %eax,%eax
push   %rbp
push   %r13
call   1050 <scanf@plt>
add    $0x10,%rsp
movss  0x1c(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x18(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  0xe56(%rip),%xmm1
mulsd  0xe56(%rip),%xmm0
addsd  %xmm1,%xmm0
movss  0x14(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xe48(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movss  0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movss  0xc(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  0xe24(%rip),%xmm1
addsd  %xmm0,%xmm1
xorps  %xmm0,%xmm0
cvtsd2ss %xmm1,%xmm0
movss  %xmm0,0x44(%rsp)
lea    0x24(%rsp),%rsi
lea    0x1(%rsp),%rdx
mov    %rbx,%rdi
mov    %r14,%rcx
mov    %r15,%r8
mov    %r12,%r9
xor    %eax,%eax
push   %rbp
push   %r13
call   1050 <scanf@plt>
add    $0x10,%rsp
movss  0x1c(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x18(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  0xdbb(%rip),%xmm1
mulsd  0xdbb(%rip),%xmm0
addsd  %xmm1,%xmm0
movss  0x14(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xdad(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movss  0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movss  0xc(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  0xd89(%rip),%xmm1
addsd  %xmm0,%xmm1
xorps  %xmm0,%xmm0
cvtsd2ss %xmm1,%xmm0
movss  %xmm0,0x40(%rsp)
lea    0x28(%rsp),%rsi
lea    0x2(%rsp),%rdx
mov    %rbx,%rdi
mov    %r14,%rcx
mov    %r15,%r8
mov    %r12,%r9
xor    %eax,%eax
push   %rbp
push   %r13
call   1050 <scanf@plt>
add    $0x10,%rsp
movss  0x1c(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x18(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  0xd20(%rip),%xmm1
mulsd  0xd20(%rip),%xmm0
addsd  %xmm1,%xmm0
movss  0x14(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xd12(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movss  0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movss  0xc(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  0xcee(%rip),%xmm1
addsd  %xmm0,%xmm1
xorps  %xmm0,%xmm0
cvtsd2ss %xmm1,%xmm0
movss  %xmm0,0x3c(%rsp)
lea    0x2c(%rsp),%rsi
lea    0x3(%rsp),%rdx
mov    %rbx,%rdi
mov    %r14,%rcx
mov    %r15,%r8
mov    %r12,%r9
xor    %eax,%eax
push   %rbp
push   %r13
call   1050 <scanf@plt>
add    $0x10,%rsp
movss  0x1c(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x18(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  0xc85(%rip),%xmm1
mulsd  0xc85(%rip),%xmm0
addsd  %xmm1,%xmm0
movss  0x14(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xc77(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movss  0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movss  0xc(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  0xc53(%rip),%xmm1
addsd  %xmm0,%xmm1
xorps  %xmm0,%xmm0
cvtsd2ss %xmm1,%xmm0
movss  %xmm0,0x38(%rsp)
lea    0xcb3(%rip),%rdi
lea    0xc6e(%rip),%rsi
lea    0xcc2(%rip),%rdx
lea    0xcbf(%rip),%rcx
lea    0xcc0(%rip),%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xcd8(%rip),%rdi
call   1030 <puts@plt>
mov    0x20(%rsp),%edx
movss  0x44(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsbl (%rsp),%ecx
lea    0xc99(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x24(%rsp),%edx
movss  0x40(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsbl 0x1(%rsp),%ecx
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x28(%rsp),%edx
movss  0x3c(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsbl 0x2(%rsp),%ecx
mov    %rbx,%rdi
mov    $0x2,%esi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x2c(%rsp),%edx
movss  0x38(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsbl 0x3(%rsp),%ecx
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x1,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [51 x i8] c"\0A%*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s \0A\00"
@.str.1 = [61 x i8] c"%*s %*s %*s %*d%*c%*d%*c%d %*d%*c%*d%*c%*d %c %f %f %f %f %f\00"
@.str.2 = [29 x i8] c"\0A\0A%3s|%4s |%10s |%6s | \0A\00"
@.str.3 = [1 x i8] zeroinitializer
@.str.4 = [4 x i8] c"SSN\00"
@.str.5 = [8 x i8] c"Average\00"
@.str.6 = [5 x i8] c"263?\00"
@.str.7 = [98 x i8] c" \E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\0A\00"
@.str.8 = [33 x i8] c"%d | %04d |%9.3f%% |%4c |\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i8*
%4 = alloca i64
%5 = alloca i64
%6 = alloca i64
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = alloca float
%11 = alloca float
%12 = alloca i32
store i32 0, i32* %1
store i32 4, i32* %2
%13 = load i32, i32* %2
%14 = zext i32 %13 to i64
%15 = call i8* @llvm.stacksave()
store i8* %15, i8** %3
%16 = alloca i32, i64 %14
store i64 %14, i64* %4
%17 = load i32, i32* %2
%18 = zext i32 %17 to i64
%19 = alloca i8, i64 %18
store i64 %18, i64* %5
%20 = load i32, i32* %2
%21 = zext i32 %20 to i64
%22 = alloca float, i64 %21
store i64 %21, i64* %6
store i32 0, i32* %12
%23 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %12
br label %24
24: ; preds = %55, %0
%25 = load i32, i32* %12
%26 = load i32, i32* %2
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %58
28: ; preds = %24
%29 = load i32, i32* %12
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, i32* %16, i64 %30
%32 = load i32, i32* %12
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, i8* %19, i64 %33
%35 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.1, i64 0, i64 0), i32* %31, i8* %34, float* %7, float* %8, float* %9, float* %10, float* %11)
%36 = load float, float* %7
%37 = fpext float %36 to double
%38 = load float, float* %8
%39 = fpext float %38 to double
%40 = fmul double %39, 2.400000e-01
%41 = call double @llvm.fmuladd.f64(double %37, double 7.000000e-02, double %40)
%42 = load float, float* %9
%43 = fpext float %42 to double
%44 = call double @llvm.fmuladd.f64(double %43, double 1.850000e-01, double %41)
%45 = load float, float* %10
%46 = fpext float %45 to double
%47 = call double @llvm.fmuladd.f64(double %46, double 1.850000e-01, double %44)
%48 = load float, float* %11
%49 = fpext float %48 to double
%50 = call double @llvm.fmuladd.f64(double %49, double 3.200000e-01, double %47)
%51 = fptrunc double %50 to float
%52 = load i32, i32* %12
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds float, float* %22, i64 %53
store float %51, float* %54
br label %55
55: ; preds = %28
%56 = load i32, i32* %12
%57 = add nsw i32 %56, 1
store i32 %57, i32* %12
br label %24
58: ; preds = %24
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([98 x i8], [98 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %12
br label %61
61: ; preds = %82, %58
%62 = load i32, i32* %12
%63 = load i32, i32* %2
%64 = icmp slt i32 %62, %63
br i1 %64, label %65, label %85
65: ; preds = %61
%66 = load i32, i32* %12
%67 = load i32, i32* %12
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, i32* %16, i64 %68
%70 = load i32, i32* %69
%71 = load i32, i32* %12
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds float, float* %22, i64 %72
%74 = load float, float* %73
%75 = fpext float %74 to double
%76 = load i32, i32* %12
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, i8* %19, i64 %77
%79 = load i8, i8* %78
%80 = sext i8 %79 to i32
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.8, i64 0, i64 0), i32 %66, i32 %70, double %75, i32 %80)
br label %82
82: ; preds = %65
%83 = load i32, i32* %12
%84 = add nsw i32 %83, 1
store i32 %84, i32* %12
br label %61
85: ; preds = %61
store i32 0, i32* %1
%86 = load i8*, i8** %3
%87 = load i32, i32* %1
ret i32 %87
}

LLVM IR (-O2):
@.str = [51 x i8] c"\0A%*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s \0A\00"
@.str.1 = [61 x i8] c"%*s %*s %*s %*d%*c%*d%*c%d %*d%*c%*d%*c%*d %c %f %f %f %f %f\00"
@.str.2 = [29 x i8] c"\0A\0A%3s|%4s |%10s |%6s | \0A\00"
@.str.3 = [1 x i8] zeroinitializer
@.str.4 = [4 x i8] c"SSN\00"
@.str.5 = [8 x i8] c"Average\00"
@.str.6 = [5 x i8] c"263?\00"
@.str.8 = [33 x i8] c"%d | %04d |%9.3f%% |%4c |\0A\00"
@str = [97 x i8] c" \E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\E2\80\90\00"
define i32 @main() {
%1 = alloca float
%2 = alloca float
%3 = alloca float
%4 = alloca float
%5 = alloca float
%6 = alloca [4 x i32]
%7 = alloca [4 x i8]
%8 = bitcast float* %1 to i8*
%9 = bitcast float* %2 to i8*
%10 = bitcast float* %3 to i8*
%11 = bitcast float* %4 to i8*
%12 = bitcast float* %5 to i8*
%13 = tail call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str, i64 0, i64 0))
%14 = getelementptr inbounds [4 x i32], [4 x i32]* %6, i64 0, i64 0
%15 = getelementptr inbounds [4 x i8], [4 x i8]* %7, i64 0, i64 0
%16 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.1, i64 0, i64 0), i32* %14, i8* %15, float* %1, float* %2, float* %3, float* %4, float* %5)
%17 = load float, float* %1
%18 = fpext float %17 to double
%19 = load float, float* %2
%20 = fpext float %19 to double
%21 = fmul double %20, 2.400000e-01
%22 = call double @llvm.fmuladd.f64(double %18, double 7.000000e-02, double %21)
%23 = load float, float* %3
%24 = fpext float %23 to double
%25 = call double @llvm.fmuladd.f64(double %24, double 1.850000e-01, double %22)
%26 = load float, float* %4
%27 = fpext float %26 to double
%28 = call double @llvm.fmuladd.f64(double %27, double 1.850000e-01, double %25)
%29 = load float, float* %5
%30 = fpext float %29 to double
%31 = call double @llvm.fmuladd.f64(double %30, double 3.200000e-01, double %28)
%32 = fptrunc double %31 to float
%33 = getelementptr inbounds [4 x i32], [4 x i32]* %6, i64 0, i64 1
%34 = getelementptr inbounds [4 x i8], [4 x i8]* %7, i64 0, i64 1
%35 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.1, i64 0, i64 0), i32* %33, i8* %34, float* %1, float* %2, float* %3, float* %4, float* %5)
%36 = load float, float* %1
%37 = fpext float %36 to double
%38 = load float, float* %2
%39 = fpext float %38 to double
%40 = fmul double %39, 2.400000e-01
%41 = call double @llvm.fmuladd.f64(double %37, double 7.000000e-02, double %40)
%42 = load float, float* %3
%43 = fpext float %42 to double
%44 = call double @llvm.fmuladd.f64(double %43, double 1.850000e-01, double %41)
%45 = load float, float* %4
%46 = fpext float %45 to double
%47 = call double @llvm.fmuladd.f64(double %46, double 1.850000e-01, double %44)
%48 = load float, float* %5
%49 = fpext float %48 to double
%50 = call double @llvm.fmuladd.f64(double %49, double 3.200000e-01, double %47)
%51 = fptrunc double %50 to float
%52 = getelementptr inbounds [4 x i32], [4 x i32]* %6, i64 0, i64 2
%53 = getelementptr inbounds [4 x i8], [4 x i8]* %7, i64 0, i64 2
%54 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.1, i64 0, i64 0), i32* %52, i8* %53, float* %1, float* %2, float* %3, float* %4, float* %5)
%55 = load float, float* %1
%56 = fpext float %55 to double
%57 = load float, float* %2
%58 = fpext float %57 to double
%59 = fmul double %58, 2.400000e-01
%60 = call double @llvm.fmuladd.f64(double %56, double 7.000000e-02, double %59)
%61 = load float, float* %3
%62 = fpext float %61 to double
%63 = call double @llvm.fmuladd.f64(double %62, double 1.850000e-01, double %60)
%64 = load float, float* %4
%65 = fpext float %64 to double
%66 = call double @llvm.fmuladd.f64(double %65, double 1.850000e-01, double %63)
%67 = load float, float* %5
%68 = fpext float %67 to double
%69 = call double @llvm.fmuladd.f64(double %68, double 3.200000e-01, double %66)
%70 = fptrunc double %69 to float
%71 = getelementptr inbounds [4 x i32], [4 x i32]* %6, i64 0, i64 3
%72 = getelementptr inbounds [4 x i8], [4 x i8]* %7, i64 0, i64 3
%73 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.1, i64 0, i64 0), i32* %71, i8* %72, float* %1, float* %2, float* %3, float* %4, float* %5)
%74 = load float, float* %1
%75 = fpext float %74 to double
%76 = load float, float* %2
%77 = fpext float %76 to double
%78 = fmul double %77, 2.400000e-01
%79 = call double @llvm.fmuladd.f64(double %75, double 7.000000e-02, double %78)
%80 = load float, float* %3
%81 = fpext float %80 to double
%82 = call double @llvm.fmuladd.f64(double %81, double 1.850000e-01, double %79)
%83 = load float, float* %4
%84 = fpext float %83 to double
%85 = call double @llvm.fmuladd.f64(double %84, double 1.850000e-01, double %82)
%86 = load float, float* %5
%87 = fpext float %86 to double
%88 = call double @llvm.fmuladd.f64(double %87, double 3.200000e-01, double %85)
%89 = fptrunc double %88 to float
%90 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%91 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([97 x i8], [97 x i8]* @str, i64 0, i64 0))
%92 = load i32, i32* %14
%93 = fpext float %32 to double
%94 = load i8, i8* %15
%95 = sext i8 %94 to i32
%96 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.8, i64 0, i64 0), i32 0, i32 %92, double %93, i32 %95)
%97 = load i32, i32* %33
%98 = fpext float %51 to double
%99 = load i8, i8* %34
%100 = sext i8 %99 to i32
%101 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.8, i64 0, i64 0), i32 1, i32 %97, double %98, i32 %100)
%102 = load i32, i32* %52
%103 = fpext float %70 to double
%104 = load i8, i8* %53
%105 = sext i8 %104 to i32
%106 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.8, i64 0, i64 0), i32 2, i32 %102, double %103, i32 %105)
%107 = load i32, i32* %71
%108 = fpext float %89 to double
%109 = load i8, i8* %72
%110 = sext i8 %109 to i32
%111 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.8, i64 0, i64 0), i32 3, i32 %107, double %108, i32 %110)
ret i32 0
}