#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 /*<<< orphan*/ strcpy(char *, char *);
int main() {
  int item1;
  int item2;
  float price1;
  float price2;
  float tax_percent = 8.5;
  float pretax_cost = 200.0;
  float tax_dollars = (tax_percent / 100.0) * pretax_cost;
  float total_cost = pretax_cost + tax_dollars;
  char name[30];
  int invoicenumber;
  float itemcost1;
  float itemcost2;
  invoicenumber = 6179;
  printf("Enter the quantity of Item 1: ", item1);
  scanf("%d", &item1);
  printf("Enter the price of Item 1: ", price1);
  scanf("%f", &price1);
  printf("Enter the quantity of item 2: ", item2);
  scanf("%d", &item2);
  printf("Enter the price of item 2: ", price2);
  scanf("%f", &price2);
  printf("Enter the tax rate: ", tax_percent);
  scanf("%f", &tax_percent);
  pretax_cost = (item1 * price1) + (item2 * price2);
  tax_dollars = (tax_percent / 100.0) * pretax_cost;
  total_cost = pretax_cost + tax_dollars;
  strcpy(name, "THE_COMAPNY");
  printf("Pretax total is %.2f\n", pretax_cost);
  printf("Tax dollars is %.2f\n", tax_dollars);
  printf("Total_cost is %.2f\n", total_cost);
  printf("%s\n %d\n", "THE COMPANY", invoicenumber);
  itemcost1 = price1 * item1;
  itemcost2 = price2 * item2;
  printf("Item %.2f @ %d Per Item      %.2f\n", price1, item1, itemcost1);
  printf("Item %.2f @ %d Per Item      %.2f\n", price2, item2, itemcost2);
  printf("Tax Rate:                   %.2f\n", tax_percent);
  printf("Tax Dollars:                %.2f\n", tax_dollars);
  printf("Total cost:                 %.2f\n", total_cost);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
movss  0xec5(%rip),%xmm0
movss  %xmm0,-0x18(%rbp)
movss  0xeb4(%rip),%xmm0
movss  %xmm0,-0x1c(%rbp)
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xe96(%rip),%xmm1
divsd  %xmm1,%xmm0
movss  -0x1c(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x20(%rbp)
movss  -0x1c(%rbp),%xmm0
addss  -0x20(%rbp),%xmm0
movss  %xmm0,-0x24(%rbp)
movl   $0x1823,-0x54(%rbp)
mov    -0x8(%rbp),%esi
lea    0xe6c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe7d(%rip),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
movss  -0x10(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe65(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe73(%rip),%rdi
lea    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
mov    -0xc(%rbp),%esi
lea    0xe61(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe31(%rip),%rdi
lea    -0xc(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
movss  -0x14(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe57(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe27(%rip),%rdi
lea    -0x14(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe4a(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xdfe(%rip),%rdi
lea    -0x18(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
cvtsi2ssl -0x8(%rbp),%xmm0
movss  -0x10(%rbp),%xmm2
cvtsi2ssl -0xc(%rbp),%xmm1
mulss  -0x14(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x1c(%rbp)
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd73(%rip),%xmm1
divsd  %xmm1,%xmm0
movss  -0x1c(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x20(%rbp)
movss  -0x1c(%rbp),%xmm0
addss  -0x20(%rbp),%xmm0
movss  %xmm0,-0x24(%rbp)
lea    -0x50(%rbp),%rdi
lea    0xde0(%rip),%rsi
call   1030 <strcpy@plt>
movss  -0x1c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdd7(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movss  -0x20(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdd6(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movss  -0x24(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdd4(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x54(%rbp),%edx
lea    0xdd7(%rip),%rdi
lea    0xdd8(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
movss  -0x10(%rbp),%xmm0
cvtsi2ssl -0x8(%rbp),%xmm1
mulss  %xmm1,%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x14(%rbp),%xmm0
cvtsi2ssl -0xc(%rbp),%xmm1
mulss  %xmm1,%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x10(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x8(%rbp),%esi
movss  -0x58(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xd9b(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
movss  -0x14(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0xc(%rbp),%esi
movss  -0x5c(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xd78(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xd84(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movss  -0x20(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xd8f(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movss  -0x24(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xd9a(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x58,%rsp
movl   $0x41080000,0x4(%rsp)
41
lea    0xeca(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xedb(%rip),%r14
lea    0x14(%rsp),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xec8(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xed6(%rip),%rbx
lea    0x10(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xec3(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc(%rsp),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xec5(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xec4(%rip),%rdi
movsd  0xe30(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0x4(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
cvtsi2ssl 0x14(%rsp),%xmm1
xorps  %xmm0,%xmm0
cvtsi2ssl 0xc(%rsp),%xmm0
mulss  0x8(%rsp),%xmm0
mulss  0x10(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0x4(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
divsd  0xdf1(%rip),%xmm0
cvtss2sd %xmm1,%xmm2
movsd  %xmm2,0x18(%rsp)
mulsd  %xmm2,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0x28(%rsp)
addss  %xmm0,%xmm1
movss  %xmm1,0x20(%rsp)
lea    0xe61(%rip),%rsi
lea    0x30(%rsp),%rdi
call   1030 <strcpy@plt>
lea    0xe5c(%rip),%rdi
movsd  0x18(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
movss  0x28(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,0x28(%rsp)
lea    0xe4e(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movss  0x20(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,0x20(%rsp)
lea    0xe45(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe4b(%rip),%rdi
lea    0xe4c(%rip),%rsi
mov    $0x1823,%edx
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x10(%rsp),%xmm0
mov    0x14(%rsp),%esi
xorps  %xmm1,%xmm1
cvtsi2ss %esi,%xmm1
mulss  %xmm0,%xmm1
xorps  %xmm2,%xmm2
cvtsi2ssl 0xc(%rsp),%xmm2
mulss  0x8(%rsp),%xmm2
movss  %xmm2,0x18(%rsp)
cvtss2sd %xmm0,%xmm0
cvtss2sd %xmm1,%xmm1
lea    0xe13(%rip),%rbx
mov    %rbx,%rdi
mov    $0x2,%al
call   1040 <printf@plt>
movss  0x8(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0xc(%rsp),%esi
movss  0x18(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %rbx,%rdi
mov    $0x2,%al
call   1040 <printf@plt>
movss  0x4(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdf9(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe0d(%rip),%rdi
movsd  0x28(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe1b(%rip),%rdi
movsd  0x20(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [31 x i8] c"Enter the quantity of Item 1: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [28 x i8] c"Enter the price of Item 1: \00"
@.str.3 = [3 x i8] c"%f\00"
@.str.4 = [31 x i8] c"Enter the quantity of item 2: \00"
@.str.5 = [28 x i8] c"Enter the price of item 2: \00"
@.str.6 = [21 x i8] c"Enter the tax rate: \00"
@.str.7 = [12 x i8] c"THE_COMAPNY\00"
@.str.8 = [22 x i8] c"Pretax total is %.2f\0A\00"
@.str.9 = [21 x i8] c"Tax dollars is %.2f\0A\00"
@.str.10 = [20 x i8] c"Total_cost is %.2f\0A\00"
@.str.11 = [8 x i8] c"%s\0A %d\0A\00"
@.str.12 = [12 x i8] c"THE COMPANY\00"
@.str.13 = [35 x i8] c"Item %.2f @ %d Per Item %.2f\0A\00"
@.str.14 = [34 x i8] c"Tax Rate: %.2f\0A\00"
@.str.15 = [34 x i8] c"Tax Dollars: %.2f\0A\00"
@.str.16 = [34 x i8] c"Total cost: %.2f\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca float
%5 = alloca float
%6 = alloca float
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = alloca [30 x i8]
%11 = alloca i32
%12 = alloca float
%13 = alloca float
store i32 0, i32* %1
store float 8.500000e+00, float* %6
store float 2.000000e+02, float* %7
%14 = load float, float* %6
%15 = fpext float %14 to double
%16 = fdiv double %15, 1.000000e+02
%17 = load float, float* %7
%18 = fpext float %17 to double
%19 = fmul double %16, %18
%20 = fptrunc double %19 to float
store float %20, float* %8
%21 = load float, float* %7
%22 = load float, float* %8
%23 = fadd float %21, %22
store float %23, float* %9
store i32 6179, i32* %11
%24 = load i32, i32* %2
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0), i32 %24)
%26 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%27 = load float, float* %4
%28 = fpext float %27 to double
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), double %28)
%30 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %4)
%31 = load i32, i32* %3
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0), i32 %31)
%33 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %3)
%34 = load float, float* %5
%35 = fpext float %34 to double
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), double %35)
%37 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %5)
%38 = load float, float* %6
%39 = fpext float %38 to double
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), double %39)
%41 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %6)
%42 = load i32, i32* %2
%43 = sitofp i32 %42 to float
%44 = load float, float* %4
%45 = load i32, i32* %3
%46 = sitofp i32 %45 to float
%47 = load float, float* %5
%48 = fmul float %46, %47
%49 = call float @llvm.fmuladd.f32(float %43, float %44, float %48)
store float %49, float* %7
%50 = load float, float* %6
%51 = fpext float %50 to double
%52 = fdiv double %51, 1.000000e+02
%53 = load float, float* %7
%54 = fpext float %53 to double
%55 = fmul double %52, %54
%56 = fptrunc double %55 to float
store float %56, float* %8
%57 = load float, float* %7
%58 = load float, float* %8
%59 = fadd float %57, %58
store float %59, float* %9
%60 = getelementptr inbounds [30 x i8], [30 x i8]* %10, i64 0, i64 0
%61 = call i32 @strcpy(i8* %60, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0))
%62 = load float, float* %7
%63 = fpext float %62 to double
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0), double %63)
%65 = load float, float* %8
%66 = fpext float %65 to double
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), double %66)
%68 = load float, float* %9
%69 = fpext float %68 to double
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0), double %69)
%71 = load i32, i32* %11
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 %71)
%73 = load float, float* %4
%74 = load i32, i32* %2
%75 = sitofp i32 %74 to float
%76 = fmul float %73, %75
store float %76, float* %12
%77 = load float, float* %5
%78 = load i32, i32* %3
%79 = sitofp i32 %78 to float
%80 = fmul float %77, %79
store float %80, float* %13
%81 = load float, float* %4
%82 = fpext float %81 to double
%83 = load i32, i32* %2
%84 = load float, float* %12
%85 = fpext float %84 to double
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.13, i64 0, i64 0), double %82, i32 %83, double %85)
%87 = load float, float* %5
%88 = fpext float %87 to double
%89 = load i32, i32* %3
%90 = load float, float* %13
%91 = fpext float %90 to double
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.13, i64 0, i64 0), double %88, i32 %89, double %91)
%93 = load float, float* %6
%94 = fpext float %93 to double
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.14, i64 0, i64 0), double %94)
%96 = load float, float* %8
%97 = fpext float %96 to double
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.15, i64 0, i64 0), double %97)
%99 = load float, float* %9
%100 = fpext float %99 to double
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.16, i64 0, i64 0), double %100)
ret i32 0
}

LLVM IR (-O2):
@.str = [31 x i8] c"Enter the quantity of Item 1: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [28 x i8] c"Enter the price of Item 1: \00"
@.str.3 = [3 x i8] c"%f\00"
@.str.4 = [31 x i8] c"Enter the quantity of item 2: \00"
@.str.5 = [28 x i8] c"Enter the price of item 2: \00"
@.str.6 = [21 x i8] c"Enter the tax rate: \00"
@.str.7 = [12 x i8] c"THE_COMAPNY\00"
@.str.8 = [22 x i8] c"Pretax total is %.2f\0A\00"
@.str.9 = [21 x i8] c"Tax dollars is %.2f\0A\00"
@.str.10 = [20 x i8] c"Total_cost is %.2f\0A\00"
@.str.11 = [8 x i8] c"%s\0A %d\0A\00"
@.str.12 = [12 x i8] c"THE COMPANY\00"
@.str.13 = [35 x i8] c"Item %.2f @ %d Per Item %.2f\0A\00"
@.str.14 = [34 x i8] c"Tax Rate: %.2f\0A\00"
@.str.15 = [34 x i8] c"Tax Dollars: %.2f\0A\00"
@.str.16 = [34 x i8] c"Total cost: %.2f\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca float
%4 = alloca float
%5 = alloca float
%6 = alloca [30 x i8]
%7 = bitcast i32* %1 to i8*
%8 = bitcast i32* %2 to i8*
%9 = bitcast float* %3 to i8*
%10 = bitcast float* %4 to i8*
%11 = bitcast float* %5 to i8*
store float 8.500000e+00, float* %5
%12 = getelementptr inbounds [30 x i8], [30 x i8]* %6, i64 0, i64 0
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0), i32 undef)
%14 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), double undef)
%16 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %3)
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0), i32 undef)
%18 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), double undef)
%20 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %4)
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), double 8.500000e+00)
%22 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %5)
%23 = load i32, i32* %1
%24 = sitofp i32 %23 to float
%25 = load float, float* %3
%26 = load i32, i32* %2
%27 = sitofp i32 %26 to float
%28 = load float, float* %4
%29 = fmul float %28, %27
%30 = call float @llvm.fmuladd.f32(float %24, float %25, float %29)
%31 = load float, float* %5
%32 = fpext float %31 to double
%33 = fdiv double %32, 1.000000e+02
%34 = fpext float %30 to double
%35 = fmul double %33, %34
%36 = fptrunc double %35 to float
%37 = fadd float %30, %36
%38 = call i32 @strcpy(i8* %12, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0))
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0), double %34)
%40 = fpext float %36 to double
%41 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), double %40)
%42 = fpext float %37 to double
%43 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0), double %42)
%44 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 6179)
%45 = load float, float* %3
%46 = load i32, i32* %1
%47 = sitofp i32 %46 to float
%48 = fmul float %45, %47
%49 = load float, float* %4
%50 = load i32, i32* %2
%51 = sitofp i32 %50 to float
%52 = fmul float %49, %51
%53 = fpext float %45 to double
%54 = fpext float %48 to double
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.13, i64 0, i64 0), double %53, i32 %46, double %54)
%56 = load float, float* %4
%57 = fpext float %56 to double
%58 = load i32, i32* %2
%59 = fpext float %52 to double
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.13, i64 0, i64 0), double %57, i32 %58, double %59)
%61 = load float, float* %5
%62 = fpext float %61 to double
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.14, i64 0, i64 0), double %62)
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.15, i64 0, i64 0), double %40)
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.16, i64 0, i64 0), double %42)
ret i32 0
}