#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) {
  float weeksProfit;
  char F_Name[21] = "";
  char L_Name[21] = "";
  int IDNum;
  int years;
  float salesAmt;
  float commission;
  float bonus;
  float grossSal;
  float retirement;
  float stateTax;
  float fedTax;
  float totalDed;
  float netSalary;
  printf("\nEnter profit for the week: ");
  scanf("%f", &weeksProfit);
  printf("Enter information for the employee:\n");
  printf("Enter First Name: ");
  scanf("%s", F_Name);
  printf("Enter Last Name: ");
  scanf("%s", L_Name);
  printf("Enter ID Number: ");
  scanf("%d", &IDNum);
  printf("Enter Years of Experience: ");
  scanf("%d", &years);
  printf("Enter Sales amount: ");
  scanf("%f", &salesAmt);
  commission = salesAmt * (12.5 / 100);
  bonus = ((float)years * (weeksProfit * (0.5 / 100))) + 50;
  grossSal = commission + bonus;
  retirement = grossSal * (8.0 / 100);
  stateTax = grossSal * (10.0 / 100);
  fedTax = grossSal * (25.0 / 100);
  totalDed = retirement + stateTax + fedTax;
  netSalary = grossSal - totalDed;
  printf("\n\nPayroll report for %s %s, Id number %d:", F_Name, L_Name, IDNum);
  printf("\nSales:\t\t\t$ %10.2f", salesAmt);
  printf("\nCommission:\t\t$ %10.2f", commission);
  printf("\nBonus:\t\t\t$ %10.2f", bonus);
  printf("\nGross Salary:\t\t$ %10.2f", grossSal);
  printf("\nRetirement:\t\t$ %10.2f", retirement);
  printf("\nState Tax:\t\t$ %10.2f", stateTax);
  printf("\nFederal Tax:\t\t$ %10.2f", fedTax);
  printf("\nTotal Deductions:\t$ %10.2f", totalDed);
  printf("\nNet Salary:\t\t$ %10.2f\n\n", netSalary);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x20(%rbp),%rdi
xor    %esi,%esi
mov    $0x15,%edx
call   1040 <memset@plt>
lea    -0x40(%rbp),%rdi
xor    %esi,%esi
mov    $0x15,%edx
call   1040 <memset@plt>
lea    0xeca(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xed9(%rip),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
lea    0xeca(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x20(%rbp),%rsi
lea    0xee2(%rip),%rdi
mov    $0x0,%al
call   1050 <scanf@plt>
lea    0xed7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x40(%rbp),%rsi
lea    0xec2(%rip),%rdi
mov    $0x0,%al
call   1050 <scanf@plt>
lea    0xec9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xecd(%rip),%rdi
lea    -0x44(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
lea    0xebe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xead(%rip),%rdi
lea    -0x48(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
lea    0xeba(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe2b(%rip),%rdi
lea    -0x4c(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
movss  -0x4c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xdea(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x50(%rbp)
cvtsi2ssl -0x48(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x8(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xdbb(%rip),%xmm2
mulsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xda3(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x54(%rbp)
movss  -0x50(%rbp),%xmm0
addss  -0x54(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x58(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd6e(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x58(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd48(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x58(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd22(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x64(%rbp)
movss  -0x5c(%rbp),%xmm0
addss  -0x60(%rbp),%xmm0
addss  -0x64(%rbp),%xmm0
movss  %xmm0,-0x68(%rbp)
movss  -0x58(%rbp),%xmm0
subss  -0x68(%rbp),%xmm0
movss  %xmm0,-0x6c(%rbp)
lea    -0x20(%rbp),%rsi
lea    -0x40(%rbp),%rdx
mov    -0x44(%rbp),%ecx
lea    0xdc3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0x4c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdd6(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0x50(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdd2(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0x54(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdd2(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0x58(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdce(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0x5c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdd0(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0x60(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdd0(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0x64(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdcf(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0x68(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdd0(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0x6c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdd5(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0xa8,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x40(%rsp)
movq   $0x0,0x4d(%rsp)
movaps %xmm0,0x20(%rsp)
movq   $0x0,0x2d(%rsp)
lea    0xecc(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xedb(%rip),%r12
lea    0x1c(%rsp),%rsi
mov    %r12,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0x1030(%rip),%rdi
call   1030 <puts@plt>
lea    0xebc(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec1(%rip),%rbx
lea    0x40(%rsp),%r14
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xeab(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x20(%rsp),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xe9d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xea1(%rip),%rbx
lea    0x18(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xe8e(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x14(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xe8d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rsp,%rsi
mov    %r12,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
movss  (%rsp),%xmm2
xorps  %xmm0,%xmm0
cvtsi2ssl 0x14(%rsp),%xmm0
mulss  0xdba(%rip),%xmm2
movss  %xmm2,0x4(%rsp)
cvtss2sd %xmm0,%xmm0
movss  0x1c(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  0xda6(%rip),%xmm1
mulsd  %xmm0,%xmm1
addsd  0xda2(%rip),%xmm1
cvtsd2ss %xmm1,%xmm1
movss  %xmm1,0x8(%rsp)
movaps %xmm2,%xmm0
addss  %xmm1,%xmm0
xorps  %xmm2,%xmm2
cvtss2sd %xmm0,%xmm2
movaps %xmm2,0x70(%rsp)
movaps %xmm0,%xmm1
movaps %xmm2,%xmm0
movlhps %xmm2,%xmm0
mulpd  0xd84(%rip),%xmm0
cvtpd2ps %xmm0,%xmm0
movapd %xmm0,0x60(%rsp)
movss  0xd56(%rip),%xmm2
mulss  %xmm1,%xmm2
movss  %xmm2,0xc(%rsp)
movapd %xmm0,%xmm3
shufps $0x55,%xmm0,%xmm3
movaps %xmm3,0x80(%rsp)
addss  %xmm3,%xmm0
addss  %xmm2,%xmm0
movaps %xmm0,0x90(%rsp)
subss  %xmm0,%xmm1
movss  %xmm1,0x10(%rsp)
mov    0x18(%rsp),%ecx
lea    0xdd1(%rip),%rdi
mov    %r14,%rsi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
movss  (%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdde(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movss  0x4(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdd9(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movss  0x8(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdd8(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xddd(%rip),%rdi
movaps 0x70(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
movaps 0x60(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdda(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movaps 0x80(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdd7(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movss  0xc(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdd5(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movaps 0x90(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdd3(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movss  0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdd7(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0xa8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [29 x i8] c"\0AEnter profit for the week: \00"
@.str.1 = [3 x i8] c"%f\00"
@.str.2 = [37 x i8] c"Enter information for the employee:\0A\00"
@.str.3 = [19 x i8] c"Enter First Name: \00"
@.str.4 = [3 x i8] c"%s\00"
@.str.5 = [18 x i8] c"Enter Last Name: \00"
@.str.6 = [18 x i8] c"Enter ID Number: \00"
@.str.7 = [3 x i8] c"%d\00"
@.str.8 = [28 x i8] c"Enter Years of Experience: \00"
@.str.9 = [21 x i8] c"Enter Sales amount: \00"
@.str.10 = [42 x i8] c"\0A\0APayroll report for %s %s, Id number %d:\00"
@.str.11 = [19 x i8] c"\0ASales:\09\09\09$ %10.2f\00"
@.str.12 = [23 x i8] c"\0ACommission:\09\09$ %10.2f\00"
@.str.13 = [19 x i8] c"\0ABonus:\09\09\09$ %10.2f\00"
@.str.14 = [25 x i8] c"\0AGross Salary:\09\09$ %10.2f\00"
@.str.15 = [23 x i8] c"\0ARetirement:\09\09$ %10.2f\00"
@.str.16 = [22 x i8] c"\0AState Tax:\09\09$ %10.2f\00"
@.str.17 = [24 x i8] c"\0AFederal Tax:\09\09$ %10.2f\00"
@.str.18 = [28 x i8] c"\0ATotal Deductions:\09$ %10.2f\00"
@.str.19 = [25 x i8] c"\0ANet Salary:\09\09$ %10.2f\0A\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca float
%3 = alloca [21 x i8]
%4 = alloca [21 x i8]
%5 = alloca i32
%6 = alloca i32
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = alloca float
%11 = alloca float
%12 = alloca float
%13 = alloca float
%14 = alloca float
%15 = alloca float
store i32 0, i32* %1
%16 = bitcast [21 x i8]* %3 to i8*
%17 = bitcast [21 x i8]* %4 to i8*
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0))
%19 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %2)
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%22 = getelementptr inbounds [21 x i8], [21 x i8]* %3, i64 0, i64 0
%23 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %22)
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
%25 = getelementptr inbounds [21 x i8], [21 x i8]* %4, i64 0, i64 0
%26 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %25)
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0))
%28 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32* %5)
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.8, i64 0, i64 0))
%30 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32* %6)
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0))
%32 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %7)
%33 = load float, float* %7
%34 = fpext float %33 to double
%35 = fmul double %34, 1.250000e-01
%36 = fptrunc double %35 to float
store float %36, float* %8
%37 = load i32, i32* %6
%38 = sitofp i32 %37 to float
%39 = fpext float %38 to double
%40 = load float, float* %2
%41 = fpext float %40 to double
%42 = fmul double %41, 5.000000e-03
%43 = call double @llvm.fmuladd.f64(double %39, double %42, double 5.000000e+01)
%44 = fptrunc double %43 to float
store float %44, float* %9
%45 = load float, float* %8
%46 = load float, float* %9
%47 = fadd float %45, %46
store float %47, float* %10
%48 = load float, float* %10
%49 = fpext float %48 to double
%50 = fmul double %49, 8.000000e-02
%51 = fptrunc double %50 to float
store float %51, float* %11
%52 = load float, float* %10
%53 = fpext float %52 to double
%54 = fmul double %53, 1.000000e-01
%55 = fptrunc double %54 to float
store float %55, float* %12
%56 = load float, float* %10
%57 = fpext float %56 to double
%58 = fmul double %57, 2.500000e-01
%59 = fptrunc double %58 to float
store float %59, float* %13
%60 = load float, float* %11
%61 = load float, float* %12
%62 = fadd float %60, %61
%63 = load float, float* %13
%64 = fadd float %62, %63
store float %64, float* %14
%65 = load float, float* %10
%66 = load float, float* %14
%67 = fsub float %65, %66
store float %67, float* %15
%68 = getelementptr inbounds [21 x i8], [21 x i8]* %3, i64 0, i64 0
%69 = getelementptr inbounds [21 x i8], [21 x i8]* %4, i64 0, i64 0
%70 = load i32, i32* %5
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.10, i64 0, i64 0), i8* %68, i8* %69, i32 %70)
%72 = load float, float* %7
%73 = fpext float %72 to double
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.11, i64 0, i64 0), double %73)
%75 = load float, float* %8
%76 = fpext float %75 to double
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.12, i64 0, i64 0), double %76)
%78 = load float, float* %9
%79 = fpext float %78 to double
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.13, i64 0, i64 0), double %79)
%81 = load float, float* %10
%82 = fpext float %81 to double
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.14, i64 0, i64 0), double %82)
%84 = load float, float* %11
%85 = fpext float %84 to double
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.15, i64 0, i64 0), double %85)
%87 = load float, float* %12
%88 = fpext float %87 to double
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.16, i64 0, i64 0), double %88)
%90 = load float, float* %13
%91 = fpext float %90 to double
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.17, i64 0, i64 0), double %91)
%93 = load float, float* %14
%94 = fpext float %93 to double
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.18, i64 0, i64 0), double %94)
%96 = load float, float* %15
%97 = fpext float %96 to double
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.19, i64 0, i64 0), double %97)
ret i32 0
}

LLVM IR (-O2):
@.str = [29 x i8] c"\0AEnter profit for the week: \00"
@.str.1 = [3 x i8] c"%f\00"
@.str.3 = [19 x i8] c"Enter First Name: \00"
@.str.4 = [3 x i8] c"%s\00"
@.str.5 = [18 x i8] c"Enter Last Name: \00"
@.str.6 = [18 x i8] c"Enter ID Number: \00"
@.str.7 = [3 x i8] c"%d\00"
@.str.8 = [28 x i8] c"Enter Years of Experience: \00"
@.str.9 = [21 x i8] c"Enter Sales amount: \00"
@.str.10 = [42 x i8] c"\0A\0APayroll report for %s %s, Id number %d:\00"
@.str.11 = [19 x i8] c"\0ASales:\09\09\09$ %10.2f\00"
@.str.12 = [23 x i8] c"\0ACommission:\09\09$ %10.2f\00"
@.str.13 = [19 x i8] c"\0ABonus:\09\09\09$ %10.2f\00"
@.str.14 = [25 x i8] c"\0AGross Salary:\09\09$ %10.2f\00"
@.str.15 = [23 x i8] c"\0ARetirement:\09\09$ %10.2f\00"
@.str.16 = [22 x i8] c"\0AState Tax:\09\09$ %10.2f\00"
@.str.17 = [24 x i8] c"\0AFederal Tax:\09\09$ %10.2f\00"
@.str.18 = [28 x i8] c"\0ATotal Deductions:\09$ %10.2f\00"
@.str.19 = [25 x i8] c"\0ANet Salary:\09\09$ %10.2f\0A\0A\00"
@str = [36 x i8] c"Enter information for the employee:\00"
define i32 @main() {
%1 = alloca float
%2 = alloca [21 x i8]
%3 = alloca [21 x i8]
%4 = alloca i32
%5 = alloca i32
%6 = alloca float
%7 = bitcast float* %1 to i8*
%8 = getelementptr inbounds [21 x i8], [21 x i8]* %2, i64 0, i64 0
%9 = getelementptr inbounds [21 x i8], [21 x i8]* %3, i64 0, i64 0
%10 = bitcast i32* %4 to i8*
%11 = bitcast i32* %5 to i8*
%12 = bitcast float* %6 to i8*
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0))
%14 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %1)
%15 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%17 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %8)
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
%19 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %9)
%20 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0))
%21 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32* %4)
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.8, i64 0, i64 0))
%23 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32* %5)
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0))
%25 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %6)
%26 = load float, float* %6
%27 = fmul float %26, 1.250000e-01
%28 = load i32, i32* %5
%29 = sitofp i32 %28 to float
%30 = fpext float %29 to double
%31 = load float, float* %1
%32 = fpext float %31 to double
%33 = fmul double %32, 5.000000e-03
%34 = call double @llvm.fmuladd.f64(double %30, double %33, double 5.000000e+01)
%35 = fptrunc double %34 to float
%36 = fadd float %27, %35
%37 = fpext float %36 to double
%38 = insertelement <2 x double> poison, double %37, i64 0
%39 = shufflevector <2 x double> %38, <2 x double> poison, <2 x i32> zeroinitializer
%40 = fmul <2 x double> %39, <double 8.000000e-02, double 1.000000e-01>
%41 = fptrunc <2 x double> %40 to <2 x float>
%42 = fmul float %36, 2.500000e-01
%43 = extractelement <2 x float> %41, i64 0
%44 = extractelement <2 x float> %41, i64 1
%45 = fadd float %43, %44
%46 = fadd float %42, %45
%47 = fsub float %36, %46
%48 = load i32, i32* %4
%49 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.10, i64 0, i64 0), i8* %8, i8* %9, i32 %48)
%50 = load float, float* %6
%51 = fpext float %50 to double
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.11, i64 0, i64 0), double %51)
%53 = fpext float %27 to double
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.12, i64 0, i64 0), double %53)
%55 = fpext float %35 to double
%56 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.13, i64 0, i64 0), double %55)
%57 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.14, i64 0, i64 0), double %37)
%58 = fpext float %43 to double
%59 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.15, i64 0, i64 0), double %58)
%60 = fpext float %44 to double
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.16, i64 0, i64 0), double %60)
%62 = fpext float %42 to double
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.17, i64 0, i64 0), double %62)
%64 = fpext float %46 to double
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.18, i64 0, i64 0), double %64)
%66 = fpext float %47 to double
%67 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.19, i64 0, i64 0), double %66)
ret i32 0
}