#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 *, double *, double *, ...);
int main(void) {
  double totalWet, totalDry, ratio;
  double wet[2];
  double dry[3];
  double *cookie[2] = {wet, dry};
  scanf("%lf%lf", &wet[0], &wet[1]);
  scanf("%lf%lf%lf", &dry[0], &dry[1], &dry[2]);
  printf("DEBUG>> addr of wet: %p\n", wet);
  printf("DEBUG>> addr of dry: %p\n", dry);
  printf("DEBUG>> cookie[0]: %p\n", cookie[0]);
  printf("DEBUG>> cookie[1]: %p\n", cookie[1]);
  printf("DEBUG>>> *cookie[0]: %.2lf\n", *cookie[0]);
  printf("DEBUG>>> *(cookie[0]+1): %.2lf\n", *(cookie[0] + 1));
  printf("DEBUG>>>>wet[0]> **cookie: %.2lf\n", **cookie);
  printf("DEBUG>>>>wet[1]> *(*cookie+1): %.2lf\n", *(*cookie + 1));
  printf("DEBUG>>>>dry[0]> **(cookie+1): %.2lf\n", *(*(cookie + 1)));
  printf("DEBUG>>>>dry[1]> *(*(cookie+1)+1): %.2lf\n", *(*(cookie + 1) + 1));
  printf("DEBUG>>>>dry[2]> *(*(cookie+1)+1): %.2lf\n", *(*(cookie + 1) + 2));
  printf("DEBUG>> *cookie[1]: %.2lf\n", *cookie[1]);
  printf("DEBUG>> *(cookie[1]+1): %.2lf\n", *(cookie[1] + 1));
  totalWet = cookie[0][0] + cookie[0][1];
  printf("Total amount of wet ingredients: %.2lf grams.\n", totalWet);
  totalDry = *cookie[1] + *(cookie[1] + 1) + *(cookie[1] + 2);
  printf("Total amount of dry ingredients: %.2lf grams.\n", totalDry);
  ratio = totalDry / totalWet;
  printf("Ratio of wet to dry ingredients: %.2lf.\n", ratio);
  *(*cookie) = totalWet / 2;
  *(*cookie + 1) = totalWet / 2;
  printf("New water amount: %.2lf grams, new oil amount: %.2lf grams.\n",
         wet[0], wet[1]);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x30(%rbp),%rax
mov    %rax,-0x60(%rbp)
lea    -0x50(%rbp),%rax
mov    %rax,-0x58(%rbp)
lea    -0x30(%rbp),%rsi
lea    -0x30(%rbp),%rdx
add    $0x8,%rdx
lea    0xeb9(%rip),%rdi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    -0x50(%rbp),%rsi
lea    -0x50(%rbp),%rdx
add    $0x8,%rdx
lea    -0x50(%rbp),%rcx
add    $0x10,%rcx
lea    0xe94(%rip),%rdi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    -0x30(%rbp),%rsi
lea    0xe8c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x50(%rbp),%rsi
lea    0xe93(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x60(%rbp),%rsi
lea    0xe9a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x58(%rbp),%rsi
lea    0xe9f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x60(%rbp),%rax
movsd  (%rax),%xmm0
lea    0xea0(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x60(%rbp),%rax
movsd  0x8(%rax),%xmm0
lea    0xea5(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x60(%rbp),%rax
movsd  (%rax),%xmm0
lea    0xeaf(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x60(%rbp),%rax
movsd  0x8(%rax),%xmm0
lea    0xeba(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x58(%rbp),%rax
movsd  (%rax),%xmm0
lea    0xeca(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x58(%rbp),%rax
movsd  0x8(%rax),%xmm0
lea    0xed9(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x58(%rbp),%rax
movsd  0x10(%rax),%xmm0
lea    0xeec(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x58(%rbp),%rax
movsd  (%rax),%xmm0
lea    0xf00(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x58(%rbp),%rax
movsd  0x8(%rax),%xmm0
lea    0xf04(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x60(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x60(%rbp),%rax
addsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
lea    0xefa(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x58(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x58(%rbp),%rax
addsd  0x8(%rax),%xmm0
mov    -0x58(%rbp),%rax
addsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
lea    0xef7(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  -0x18(%rbp),%xmm0
divsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
lea    0xf04(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  -0x10(%rbp),%xmm0
movsd  0xce8(%rip),%xmm1
divsd  %xmm1,%xmm0
mov    -0x60(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x10(%rbp),%xmm0
movsd  0xccf(%rip),%xmm1
divsd  %xmm1,%xmm0
mov    -0x60(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0x30(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
lea    0xee2(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x38,%rsp
lea    0x8(%rsp),%rdx
lea    0xed8(%rip),%rdi
mov    %rsp,%r14
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
lea    0x18(%rsp),%rdx
lea    0x20(%rsp),%rcx
lea    0xeb7(%rip),%rdi
lea    0x10(%rsp),%rbx
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
lea    0xeab(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xeb3(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xebb(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xec1(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
movsd  (%rsp),%xmm0
lea    0xec2(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  0x8(%rsp),%xmm0
lea    0xeca(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  (%rsp),%xmm0
lea    0xed7(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  0x8(%rsp),%xmm0
lea    0xee5(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  0x10(%rsp),%xmm0
lea    0xef7(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  0x18(%rsp),%xmm0
lea    0xf09(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  0x20(%rsp),%xmm0
lea    0xf1f(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  0x10(%rsp),%xmm0
lea    0xf35(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  0x18(%rsp),%xmm0
lea    0xf3c(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  (%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x28(%rsp)
lea    0xf3c(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  0x10(%rsp),%xmm0
addsd  0x18(%rsp),%xmm0
addsd  0x20(%rsp),%xmm0
movsd  %xmm0,0x30(%rsp)
lea    0xf45(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  0x30(%rsp),%xmm0
divsd  0x28(%rsp),%xmm0
lea    0xf5a(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  0x28(%rsp),%xmm0
mulsd  0xd3d(%rip),%xmm0
movsd  %xmm0,(%rsp)
movsd  %xmm0,0x8(%rsp)
lea    0xf5c(%rip),%rdi
movapd %xmm0,%xmm1
mov    $0x2,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [7 x i8] c"%lf%lf\00"
@.str.1 = [10 x i8] c"%lf%lf%lf\00"
@.str.2 = [25 x i8] c"DEBUG>> addr of wet: %p\0A\00"
@.str.3 = [25 x i8] c"DEBUG>> addr of dry: %p\0A\00"
@.str.4 = [23 x i8] c"DEBUG>> cookie[0]: %p\0A\00"
@.str.5 = [23 x i8] c"DEBUG>> cookie[1]: %p\0A\00"
@.str.6 = [28 x i8] c"DEBUG>>> *cookie[0]: %.2lf\0A\00"
@.str.7 = [32 x i8] c"DEBUG>>> *(cookie[0]+1): %.2lf\0A\00"
@.str.8 = [34 x i8] c"DEBUG>>>>wet[0]> **cookie: %.2lf\0A\00"
@.str.9 = [38 x i8] c"DEBUG>>>>wet[1]> *(*cookie+1): %.2lf\0A\00"
@.str.10 = [38 x i8] c"DEBUG>>>>dry[0]> **(cookie+1): %.2lf\0A\00"
@.str.11 = [42 x i8] c"DEBUG>>>>dry[1]> *(*(cookie+1)+1): %.2lf\0A\00"
@.str.12 = [42 x i8] c"DEBUG>>>>dry[2]> *(*(cookie+1)+1): %.2lf\0A\00"
@.str.13 = [27 x i8] c"DEBUG>> *cookie[1]: %.2lf\0A\00"
@.str.14 = [31 x i8] c"DEBUG>> *(cookie[1]+1): %.2lf\0A\00"
@.str.15 = [47 x i8] c"Total amount of wet ingredients: %.2lf grams.\0A\00"
@.str.16 = [47 x i8] c"Total amount of dry ingredients: %.2lf grams.\0A\00"
@.str.17 = [41 x i8] c"Ratio of wet to dry ingredients: %.2lf.\0A\00"
@.str.18 = [61 x i8] c"New water amount: %.2lf grams, new oil amount: %.2lf grams.\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = alloca [2 x double]
%6 = alloca [3 x double]
%7 = alloca [2 x double*]
store i32 0, i32* %1
%8 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 0
%9 = getelementptr inbounds [2 x double], [2 x double]* %5, i64 0, i64 0
store double* %9, double** %8
%10 = getelementptr inbounds double*, double** %8, i64 1
%11 = getelementptr inbounds [3 x double], [3 x double]* %6, i64 0, i64 0
store double* %11, double** %10
%12 = getelementptr inbounds [2 x double], [2 x double]* %5, i64 0, i64 0
%13 = getelementptr inbounds [2 x double], [2 x double]* %5, i64 0, i64 1
%14 = call i32 (i8*, double*, double*, ...) @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), double* %12, double* %13)
%15 = getelementptr inbounds [3 x double], [3 x double]* %6, i64 0, i64 0
%16 = getelementptr inbounds [3 x double], [3 x double]* %6, i64 0, i64 1
%17 = getelementptr inbounds [3 x double], [3 x double]* %6, i64 0, i64 2
%18 = call i32 (i8*, double*, double*, ...) @scanf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), double* %15, double* %16, double* %17)
%19 = getelementptr inbounds [2 x double], [2 x double]* %5, i64 0, i64 0
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0), double* %19)
%21 = getelementptr inbounds [3 x double], [3 x double]* %6, i64 0, i64 0
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0), double* %21)
%23 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 0
%24 = load double*, double** %23
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0), double* %24)
%26 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 1
%27 = load double*, double** %26
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), double* %27)
%29 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 0
%30 = load double*, double** %29
%31 = load double, double* %30
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.6, i64 0, i64 0), double %31)
%33 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 0
%34 = load double*, double** %33
%35 = getelementptr inbounds double, double* %34, i64 1
%36 = load double, double* %35
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0), double %36)
%38 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 0
%39 = load double*, double** %38
%40 = load double, double* %39
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.8, i64 0, i64 0), double %40)
%42 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 0
%43 = load double*, double** %42
%44 = getelementptr inbounds double, double* %43, i64 1
%45 = load double, double* %44
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.9, i64 0, i64 0), double %45)
%47 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 0
%48 = getelementptr inbounds double*, double** %47, i64 1
%49 = load double*, double** %48
%50 = load double, double* %49
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.10, i64 0, i64 0), double %50)
%52 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 0
%53 = getelementptr inbounds double*, double** %52, i64 1
%54 = load double*, double** %53
%55 = getelementptr inbounds double, double* %54, i64 1
%56 = load double, double* %55
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.11, i64 0, i64 0), double %56)
%58 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 0
%59 = getelementptr inbounds double*, double** %58, i64 1
%60 = load double*, double** %59
%61 = getelementptr inbounds double, double* %60, i64 2
%62 = load double, double* %61
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.12, i64 0, i64 0), double %62)
%64 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 1
%65 = load double*, double** %64
%66 = load double, double* %65
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i64 0, i64 0), double %66)
%68 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 1
%69 = load double*, double** %68
%70 = getelementptr inbounds double, double* %69, i64 1
%71 = load double, double* %70
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.14, i64 0, i64 0), double %71)
%73 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 0
%74 = load double*, double** %73
%75 = getelementptr inbounds double, double* %74, i64 0
%76 = load double, double* %75
%77 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 0
%78 = load double*, double** %77
%79 = getelementptr inbounds double, double* %78, i64 1
%80 = load double, double* %79
%81 = fadd double %76, %80
store double %81, double* %2
%82 = load double, double* %2
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.15, i64 0, i64 0), double %82)
%84 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 1
%85 = load double*, double** %84
%86 = load double, double* %85
%87 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 1
%88 = load double*, double** %87
%89 = getelementptr inbounds double, double* %88, i64 1
%90 = load double, double* %89
%91 = fadd double %86, %90
%92 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 1
%93 = load double*, double** %92
%94 = getelementptr inbounds double, double* %93, i64 2
%95 = load double, double* %94
%96 = fadd double %91, %95
store double %96, double* %3
%97 = load double, double* %3
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.16, i64 0, i64 0), double %97)
%99 = load double, double* %3
%100 = load double, double* %2
%101 = fdiv double %99, %100
store double %101, double* %4
%102 = load double, double* %4
%103 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.17, i64 0, i64 0), double %102)
%104 = load double, double* %2
%105 = fdiv double %104, 2.000000e+00
%106 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 0
%107 = load double*, double** %106
store double %105, double* %107
%108 = load double, double* %2
%109 = fdiv double %108, 2.000000e+00
%110 = getelementptr inbounds [2 x double*], [2 x double*]* %7, i64 0, i64 0
%111 = load double*, double** %110
%112 = getelementptr inbounds double, double* %111, i64 1
store double %109, double* %112
%113 = getelementptr inbounds [2 x double], [2 x double]* %5, i64 0, i64 0
%114 = load double, double* %113
%115 = getelementptr inbounds [2 x double], [2 x double]* %5, i64 0, i64 1
%116 = load double, double* %115
%117 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.18, i64 0, i64 0), double %114, double %116)
ret i32 0
}

LLVM IR (-O2):
@.str = [7 x i8] c"%lf%lf\00"
@.str.1 = [10 x i8] c"%lf%lf%lf\00"
@.str.2 = [25 x i8] c"DEBUG>> addr of wet: %p\0A\00"
@.str.3 = [25 x i8] c"DEBUG>> addr of dry: %p\0A\00"
@.str.4 = [23 x i8] c"DEBUG>> cookie[0]: %p\0A\00"
@.str.5 = [23 x i8] c"DEBUG>> cookie[1]: %p\0A\00"
@.str.6 = [28 x i8] c"DEBUG>>> *cookie[0]: %.2lf\0A\00"
@.str.7 = [32 x i8] c"DEBUG>>> *(cookie[0]+1): %.2lf\0A\00"
@.str.8 = [34 x i8] c"DEBUG>>>>wet[0]> **cookie: %.2lf\0A\00"
@.str.9 = [38 x i8] c"DEBUG>>>>wet[1]> *(*cookie+1): %.2lf\0A\00"
@.str.10 = [38 x i8] c"DEBUG>>>>dry[0]> **(cookie+1): %.2lf\0A\00"
@.str.11 = [42 x i8] c"DEBUG>>>>dry[1]> *(*(cookie+1)+1): %.2lf\0A\00"
@.str.12 = [42 x i8] c"DEBUG>>>>dry[2]> *(*(cookie+1)+1): %.2lf\0A\00"
@.str.13 = [27 x i8] c"DEBUG>> *cookie[1]: %.2lf\0A\00"
@.str.14 = [31 x i8] c"DEBUG>> *(cookie[1]+1): %.2lf\0A\00"
@.str.15 = [47 x i8] c"Total amount of wet ingredients: %.2lf grams.\0A\00"
@.str.16 = [47 x i8] c"Total amount of dry ingredients: %.2lf grams.\0A\00"
@.str.17 = [41 x i8] c"Ratio of wet to dry ingredients: %.2lf.\0A\00"
@.str.18 = [61 x i8] c"New water amount: %.2lf grams, new oil amount: %.2lf grams.\0A\00"
define i32 @main() {
%1 = alloca [2 x double]
%2 = alloca [3 x double]
%3 = bitcast [2 x double]* %1 to i8*
%4 = bitcast [3 x double]* %2 to i8*
%5 = getelementptr inbounds [2 x double], [2 x double]* %1, i64 0, i64 0
%6 = getelementptr inbounds [3 x double], [3 x double]* %2, i64 0, i64 0
%7 = getelementptr inbounds [2 x double], [2 x double]* %1, i64 0, i64 1
%8 = call i32 (i8*, double*, double*, ...) @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), double* %5, double* %7)
%9 = getelementptr inbounds [3 x double], [3 x double]* %2, i64 0, i64 1
%10 = getelementptr inbounds [3 x double], [3 x double]* %2, i64 0, i64 2
%11 = call i32 (i8*, double*, double*, ...) @scanf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), double* %6, double* %9, double* %10)
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0), double* %5)
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0), double* %6)
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0), double* %5)
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), double* %6)
%16 = load double, double* %5
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.6, i64 0, i64 0), double %16)
%18 = load double, double* %7
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0), double %18)
%20 = load double, double* %5
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.8, i64 0, i64 0), double %20)
%22 = load double, double* %7
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.9, i64 0, i64 0), double %22)
%24 = load double, double* %6
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.10, i64 0, i64 0), double %24)
%26 = load double, double* %9
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.11, i64 0, i64 0), double %26)
%28 = load double, double* %10
%29 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.12, i64 0, i64 0), double %28)
%30 = load double, double* %6
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i64 0, i64 0), double %30)
%32 = load double, double* %9
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.14, i64 0, i64 0), double %32)
%34 = load double, double* %5
%35 = load double, double* %7
%36 = fadd double %34, %35
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @.str.15, i64 0, i64 0), double %36)
%38 = load double, double* %6
%39 = load double, double* %9
%40 = fadd double %38, %39
%41 = load double, double* %10
%42 = fadd double %40, %41
%43 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @.str.16, i64 0, i64 0), double %42)
%44 = fdiv double %42, %36
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.17, i64 0, i64 0), double %44)
%46 = fmul double %36, 5.000000e-01
store double %46, double* %5
store double %46, double* %7
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str.18, i64 0, i64 0), double %46, double %46)
ret i32 0
}